 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326517 -2.783731)', '2026-07-20 06:54:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326576 -2.783833)'), GeomFromEWKT('SRID=4674;POINT (-40.326517 -2.783731)'))) / (select extract(epoch from '2026-07-20 06:54:20'::timestamp) - extract(epoch from '2026-07-20 06:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326576 -2.783833)'), GeomFromEWKT('SRID=4674;POINT (-40.326517 -2.783731)'))) / (select extract(epoch from '2026-07-20 06:54:20'::timestamp) - extract(epoch from '2026-07-20 06:54: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'), 47645, 'SRID=4674;POINT (-40.32655 -2.783627)', '2026-07-20 06:54:26', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326517 -2.783731)'), GeomFromEWKT('SRID=4674;POINT (-40.32655 -2.783627)'))) / (select extract(epoch from '2026-07-20 06:54:26'::timestamp) - extract(epoch from '2026-07-20 06:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326517 -2.783731)'), GeomFromEWKT('SRID=4674;POINT (-40.32655 -2.783627)'))) / (select extract(epoch from '2026-07-20 06:54:26'::timestamp) - extract(epoch from '2026-07-20 06:54: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'), 47645, 'SRID=4674;POINT (-40.326605 -2.783499)', '2026-07-20 06:54:33', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32655 -2.783627)'), GeomFromEWKT('SRID=4674;POINT (-40.326605 -2.783499)'))) / (select extract(epoch from '2026-07-20 06:54:33'::timestamp) - extract(epoch from '2026-07-20 06:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32655 -2.783627)'), GeomFromEWKT('SRID=4674;POINT (-40.326605 -2.783499)'))) / (select extract(epoch from '2026-07-20 06:54:33'::timestamp) - extract(epoch from '2026-07-20 06:54: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'), 47645, 'SRID=4674;POINT (-40.326642 -2.783364)', '2026-07-20 06:54:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326605 -2.783499)'), GeomFromEWKT('SRID=4674;POINT (-40.326642 -2.783364)'))) / (select extract(epoch from '2026-07-20 06:54:40'::timestamp) - extract(epoch from '2026-07-20 06:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326605 -2.783499)'), GeomFromEWKT('SRID=4674;POINT (-40.326642 -2.783364)'))) / (select extract(epoch from '2026-07-20 06:54:40'::timestamp) - extract(epoch from '2026-07-20 06:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.32673 -2.783329)', '2026-07-20 06:54:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326642 -2.783364)'), GeomFromEWKT('SRID=4674;POINT (-40.32673 -2.783329)'))) / (select extract(epoch from '2026-07-20 06:54:46'::timestamp) - extract(epoch from '2026-07-20 06:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326642 -2.783364)'), GeomFromEWKT('SRID=4674;POINT (-40.32673 -2.783329)'))) / (select extract(epoch from '2026-07-20 06:54:46'::timestamp) - extract(epoch from '2026-07-20 06:54: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'), 47645, 'SRID=4674;POINT (-40.326784 -2.783365)', '2026-07-20 06:54:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32673 -2.783329)'), GeomFromEWKT('SRID=4674;POINT (-40.326784 -2.783365)'))) / (select extract(epoch from '2026-07-20 06:54:50'::timestamp) - extract(epoch from '2026-07-20 06:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32673 -2.783329)'), GeomFromEWKT('SRID=4674;POINT (-40.326784 -2.783365)'))) / (select extract(epoch from '2026-07-20 06:54:50'::timestamp) - extract(epoch from '2026-07-20 06:54: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'), 47645, 'SRID=4674;POINT (-40.326801 -2.78342)', '2026-07-20 06:54:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326784 -2.783365)'), GeomFromEWKT('SRID=4674;POINT (-40.326801 -2.78342)'))) / (select extract(epoch from '2026-07-20 06:54:55'::timestamp) - extract(epoch from '2026-07-20 06:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326784 -2.783365)'), GeomFromEWKT('SRID=4674;POINT (-40.326801 -2.78342)'))) / (select extract(epoch from '2026-07-20 06:54:55'::timestamp) - extract(epoch from '2026-07-20 06:54: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'), 47645, 'SRID=4674;POINT (-40.326808 -2.783483)', '2026-07-20 06:55:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326801 -2.78342)'), GeomFromEWKT('SRID=4674;POINT (-40.326808 -2.783483)'))) / (select extract(epoch from '2026-07-20 06:55:01'::timestamp) - extract(epoch from '2026-07-20 06:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326801 -2.78342)'), GeomFromEWKT('SRID=4674;POINT (-40.326808 -2.783483)'))) / (select extract(epoch from '2026-07-20 06:55:01'::timestamp) - extract(epoch from '2026-07-20 06:54: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'), 47645, 'SRID=4674;POINT (-40.326804 -2.783491)', '2026-07-20 06:55:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326808 -2.783483)'), GeomFromEWKT('SRID=4674;POINT (-40.326804 -2.783491)'))) / (select extract(epoch from '2026-07-20 06:55:02'::timestamp) - extract(epoch from '2026-07-20 06:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326808 -2.783483)'), GeomFromEWKT('SRID=4674;POINT (-40.326804 -2.783491)'))) / (select extract(epoch from '2026-07-20 06:55:02'::timestamp) - extract(epoch from '2026-07-20 06:55:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326772 -2.783503)', '2026-07-20 06:55:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326804 -2.783491)'), GeomFromEWKT('SRID=4674;POINT (-40.326772 -2.783503)'))) / (select extract(epoch from '2026-07-20 06:55:10'::timestamp) - extract(epoch from '2026-07-20 06:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326804 -2.783491)'), GeomFromEWKT('SRID=4674;POINT (-40.326772 -2.783503)'))) / (select extract(epoch from '2026-07-20 06:55:10'::timestamp) - extract(epoch from '2026-07-20 06:55: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'), 47645, 'SRID=4674;POINT (-40.32677 -2.783483)', '2026-07-20 06:55:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326772 -2.783503)'), GeomFromEWKT('SRID=4674;POINT (-40.32677 -2.783483)'))) / (select extract(epoch from '2026-07-20 06:55:16'::timestamp) - extract(epoch from '2026-07-20 06:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326772 -2.783503)'), GeomFromEWKT('SRID=4674;POINT (-40.32677 -2.783483)'))) / (select extract(epoch from '2026-07-20 06:55:16'::timestamp) - extract(epoch from '2026-07-20 06:55:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.32674 -2.783437)', '2026-07-20 06:55:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32677 -2.783483)'), GeomFromEWKT('SRID=4674;POINT (-40.32674 -2.783437)'))) / (select extract(epoch from '2026-07-20 06:55:30'::timestamp) - extract(epoch from '2026-07-20 06:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32677 -2.783483)'), GeomFromEWKT('SRID=4674;POINT (-40.32674 -2.783437)'))) / (select extract(epoch from '2026-07-20 06:55:30'::timestamp) - extract(epoch from '2026-07-20 06:55: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'), 47645, 'SRID=4674;POINT (-40.326723 -2.78343)', '2026-07-20 06:55:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32674 -2.783437)'), GeomFromEWKT('SRID=4674;POINT (-40.326723 -2.78343)'))) / (select extract(epoch from '2026-07-20 06:55:46'::timestamp) - extract(epoch from '2026-07-20 06:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32674 -2.783437)'), GeomFromEWKT('SRID=4674;POINT (-40.326723 -2.78343)'))) / (select extract(epoch from '2026-07-20 06:55:46'::timestamp) - extract(epoch from '2026-07-20 06:55: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'), 47645, 'SRID=4674;POINT (-40.326733 -2.783442)', '2026-07-20 06:55:58', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326723 -2.78343)'), GeomFromEWKT('SRID=4674;POINT (-40.326733 -2.783442)'))) / (select extract(epoch from '2026-07-20 06:55:58'::timestamp) - extract(epoch from '2026-07-20 06:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326723 -2.78343)'), GeomFromEWKT('SRID=4674;POINT (-40.326733 -2.783442)'))) / (select extract(epoch from '2026-07-20 06:55:58'::timestamp) - extract(epoch from '2026-07-20 06:55:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326732 -2.783462)', '2026-07-20 06:56:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326733 -2.783442)'), GeomFromEWKT('SRID=4674;POINT (-40.326732 -2.783462)'))) / (select extract(epoch from '2026-07-20 06:56:07'::timestamp) - extract(epoch from '2026-07-20 06:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326733 -2.783442)'), GeomFromEWKT('SRID=4674;POINT (-40.326732 -2.783462)'))) / (select extract(epoch from '2026-07-20 06:56:07'::timestamp) - extract(epoch from '2026-07-20 06:55:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326703 -2.78346)', '2026-07-20 06:56:22', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326732 -2.783462)'), GeomFromEWKT('SRID=4674;POINT (-40.326703 -2.78346)'))) / (select extract(epoch from '2026-07-20 06:56:22'::timestamp) - extract(epoch from '2026-07-20 06:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326732 -2.783462)'), GeomFromEWKT('SRID=4674;POINT (-40.326703 -2.78346)'))) / (select extract(epoch from '2026-07-20 06:56:22'::timestamp) - extract(epoch from '2026-07-20 06:56: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'), 47645, 'SRID=4674;POINT (-40.326707 -2.783475)', '2026-07-20 06:56:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326703 -2.78346)'), GeomFromEWKT('SRID=4674;POINT (-40.326707 -2.783475)'))) / (select extract(epoch from '2026-07-20 06:56:39'::timestamp) - extract(epoch from '2026-07-20 06:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326703 -2.78346)'), GeomFromEWKT('SRID=4674;POINT (-40.326707 -2.783475)'))) / (select extract(epoch from '2026-07-20 06:56:39'::timestamp) - extract(epoch from '2026-07-20 06:56: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'), 47645, 'SRID=4674;POINT (-40.326713 -2.783482)', '2026-07-20 06:56:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326707 -2.783475)'), GeomFromEWKT('SRID=4674;POINT (-40.326713 -2.783482)'))) / (select extract(epoch from '2026-07-20 06:56:50'::timestamp) - extract(epoch from '2026-07-20 06:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326707 -2.783475)'), GeomFromEWKT('SRID=4674;POINT (-40.326713 -2.783482)'))) / (select extract(epoch from '2026-07-20 06:56:50'::timestamp) - extract(epoch from '2026-07-20 06:56: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'), 47645, 'SRID=4674;POINT (-40.326711 -2.783485)', '2026-07-20 06:57:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326713 -2.783482)'), GeomFromEWKT('SRID=4674;POINT (-40.326711 -2.783485)'))) / (select extract(epoch from '2026-07-20 06:57:03'::timestamp) - extract(epoch from '2026-07-20 06:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326713 -2.783482)'), GeomFromEWKT('SRID=4674;POINT (-40.326711 -2.783485)'))) / (select extract(epoch from '2026-07-20 06:57:03'::timestamp) - extract(epoch from '2026-07-20 06:56: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'), 47645, 'SRID=4674;POINT (-40.326715 -2.783488)', '2026-07-20 06:57:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326711 -2.783485)'), GeomFromEWKT('SRID=4674;POINT (-40.326715 -2.783488)'))) / (select extract(epoch from '2026-07-20 06:57:16'::timestamp) - extract(epoch from '2026-07-20 06:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326711 -2.783485)'), GeomFromEWKT('SRID=4674;POINT (-40.326715 -2.783488)'))) / (select extract(epoch from '2026-07-20 06:57:16'::timestamp) - extract(epoch from '2026-07-20 06:57: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'), 47645, 'SRID=4674;POINT (-40.326713 -2.783487)', '2026-07-20 06:57:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326715 -2.783488)'), GeomFromEWKT('SRID=4674;POINT (-40.326713 -2.783487)'))) / (select extract(epoch from '2026-07-20 06:57:37'::timestamp) - extract(epoch from '2026-07-20 06:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326715 -2.783488)'), GeomFromEWKT('SRID=4674;POINT (-40.326713 -2.783487)'))) / (select extract(epoch from '2026-07-20 06:57:37'::timestamp) - extract(epoch from '2026-07-20 06:57: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'), 47645, 'SRID=4674;POINT (-40.326692 -2.783502)', '2026-07-20 06:57:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326713 -2.783487)'), GeomFromEWKT('SRID=4674;POINT (-40.326692 -2.783502)'))) / (select extract(epoch from '2026-07-20 06:57:47'::timestamp) - extract(epoch from '2026-07-20 06:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326713 -2.783487)'), GeomFromEWKT('SRID=4674;POINT (-40.326692 -2.783502)'))) / (select extract(epoch from '2026-07-20 06:57:47'::timestamp) - extract(epoch from '2026-07-20 06:57: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'), 47645, 'SRID=4674;POINT (-40.326619 -2.783529)', '2026-07-20 06:57:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326692 -2.783502)'), GeomFromEWKT('SRID=4674;POINT (-40.326619 -2.783529)'))) / (select extract(epoch from '2026-07-20 06:57:59'::timestamp) - extract(epoch from '2026-07-20 06:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326692 -2.783502)'), GeomFromEWKT('SRID=4674;POINT (-40.326619 -2.783529)'))) / (select extract(epoch from '2026-07-20 06:57:59'::timestamp) - extract(epoch from '2026-07-20 06:57: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'), 47645, 'SRID=4674;POINT (-40.326526 -2.783558)', '2026-07-20 06:58:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326619 -2.783529)'), GeomFromEWKT('SRID=4674;POINT (-40.326526 -2.783558)'))) / (select extract(epoch from '2026-07-20 06:58:16'::timestamp) - extract(epoch from '2026-07-20 06:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326619 -2.783529)'), GeomFromEWKT('SRID=4674;POINT (-40.326526 -2.783558)'))) / (select extract(epoch from '2026-07-20 06:58:16'::timestamp) - extract(epoch from '2026-07-20 06:57: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'), 47645, 'SRID=4674;POINT (-40.326484 -2.783591)', '2026-07-20 06:58:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326526 -2.783558)'), GeomFromEWKT('SRID=4674;POINT (-40.326484 -2.783591)'))) / (select extract(epoch from '2026-07-20 06:58:30'::timestamp) - extract(epoch from '2026-07-20 06:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326526 -2.783558)'), GeomFromEWKT('SRID=4674;POINT (-40.326484 -2.783591)'))) / (select extract(epoch from '2026-07-20 06:58:30'::timestamp) - extract(epoch from '2026-07-20 06: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'), 47645, 'SRID=4674;POINT (-40.326489 -2.783619)', '2026-07-20 06:58:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326484 -2.783591)'), GeomFromEWKT('SRID=4674;POINT (-40.326489 -2.783619)'))) / (select extract(epoch from '2026-07-20 06:58:42'::timestamp) - extract(epoch from '2026-07-20 06:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326484 -2.783591)'), GeomFromEWKT('SRID=4674;POINT (-40.326489 -2.783619)'))) / (select extract(epoch from '2026-07-20 06:58:42'::timestamp) - extract(epoch from '2026-07-20 06:58: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'), 47645, 'SRID=4674;POINT (-40.326501 -2.783627)', '2026-07-20 06:59:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326489 -2.783619)'), GeomFromEWKT('SRID=4674;POINT (-40.326501 -2.783627)'))) / (select extract(epoch from '2026-07-20 06:59:02'::timestamp) - extract(epoch from '2026-07-20 06:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326489 -2.783619)'), GeomFromEWKT('SRID=4674;POINT (-40.326501 -2.783627)'))) / (select extract(epoch from '2026-07-20 06:59:02'::timestamp) - extract(epoch from '2026-07-20 06:58: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'), 47645, 'SRID=4674;POINT (-40.326502 -2.783628)', '2026-07-20 06:59:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326501 -2.783627)'), GeomFromEWKT('SRID=4674;POINT (-40.326502 -2.783628)'))) / (select extract(epoch from '2026-07-20 06:59:17'::timestamp) - extract(epoch from '2026-07-20 06:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326501 -2.783627)'), GeomFromEWKT('SRID=4674;POINT (-40.326502 -2.783628)'))) / (select extract(epoch from '2026-07-20 06:59:17'::timestamp) - extract(epoch from '2026-07-20 06:59:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326517 -2.78363)', '2026-07-20 06:59:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326502 -2.783628)'), GeomFromEWKT('SRID=4674;POINT (-40.326517 -2.78363)'))) / (select extract(epoch from '2026-07-20 06:59:30'::timestamp) - extract(epoch from '2026-07-20 06:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326502 -2.783628)'), GeomFromEWKT('SRID=4674;POINT (-40.326517 -2.78363)'))) / (select extract(epoch from '2026-07-20 06:59:30'::timestamp) - extract(epoch from '2026-07-20 06:59:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326568 -2.78361)', '2026-07-20 06:59:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326517 -2.78363)'), GeomFromEWKT('SRID=4674;POINT (-40.326568 -2.78361)'))) / (select extract(epoch from '2026-07-20 06:59:44'::timestamp) - extract(epoch from '2026-07-20 06:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326517 -2.78363)'), GeomFromEWKT('SRID=4674;POINT (-40.326568 -2.78361)'))) / (select extract(epoch from '2026-07-20 06:59:44'::timestamp) - extract(epoch from '2026-07-20 06:59: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'), 47645, 'SRID=4674;POINT (-40.32661 -2.783582)', '2026-07-20 06:59:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326568 -2.78361)'), GeomFromEWKT('SRID=4674;POINT (-40.32661 -2.783582)'))) / (select extract(epoch from '2026-07-20 06:59:55'::timestamp) - extract(epoch from '2026-07-20 06:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326568 -2.78361)'), GeomFromEWKT('SRID=4674;POINT (-40.32661 -2.783582)'))) / (select extract(epoch from '2026-07-20 06:59:55'::timestamp) - extract(epoch from '2026-07-20 06:59: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'), 47645, 'SRID=4674;POINT (-40.326638 -2.783565)', '2026-07-20 07:00:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32661 -2.783582)'), GeomFromEWKT('SRID=4674;POINT (-40.326638 -2.783565)'))) / (select extract(epoch from '2026-07-20 07:00:05'::timestamp) - extract(epoch from '2026-07-20 06:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32661 -2.783582)'), GeomFromEWKT('SRID=4674;POINT (-40.326638 -2.783565)'))) / (select extract(epoch from '2026-07-20 07:00:05'::timestamp) - extract(epoch from '2026-07-20 06:59: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'), 47645, 'SRID=4674;POINT (-40.326692 -2.78355)', '2026-07-20 07:00:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326638 -2.783565)'), GeomFromEWKT('SRID=4674;POINT (-40.326692 -2.78355)'))) / (select extract(epoch from '2026-07-20 07:00:16'::timestamp) - extract(epoch from '2026-07-20 07:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326638 -2.783565)'), GeomFromEWKT('SRID=4674;POINT (-40.326692 -2.78355)'))) / (select extract(epoch from '2026-07-20 07:00:16'::timestamp) - extract(epoch from '2026-07-20 07:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326755 -2.783537)', '2026-07-20 07:00:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326692 -2.78355)'), GeomFromEWKT('SRID=4674;POINT (-40.326755 -2.783537)'))) / (select extract(epoch from '2026-07-20 07:00:32'::timestamp) - extract(epoch from '2026-07-20 07:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326692 -2.78355)'), GeomFromEWKT('SRID=4674;POINT (-40.326755 -2.783537)'))) / (select extract(epoch from '2026-07-20 07:00:32'::timestamp) - extract(epoch from '2026-07-20 07:00: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'), 47645, 'SRID=4674;POINT (-40.326788 -2.783519)', '2026-07-20 07:00:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326755 -2.783537)'), GeomFromEWKT('SRID=4674;POINT (-40.326788 -2.783519)'))) / (select extract(epoch from '2026-07-20 07:00:43'::timestamp) - extract(epoch from '2026-07-20 07:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326755 -2.783537)'), GeomFromEWKT('SRID=4674;POINT (-40.326788 -2.783519)'))) / (select extract(epoch from '2026-07-20 07:00:43'::timestamp) - extract(epoch from '2026-07-20 07:00:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326851 -2.783494)', '2026-07-20 07:00:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326788 -2.783519)'), GeomFromEWKT('SRID=4674;POINT (-40.326851 -2.783494)'))) / (select extract(epoch from '2026-07-20 07:00:59'::timestamp) - extract(epoch from '2026-07-20 07:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326788 -2.783519)'), GeomFromEWKT('SRID=4674;POINT (-40.326851 -2.783494)'))) / (select extract(epoch from '2026-07-20 07:00:59'::timestamp) - extract(epoch from '2026-07-20 07:00: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'), 47645, 'SRID=4674;POINT (-40.326922 -2.783477)', '2026-07-20 07:01:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326851 -2.783494)'), GeomFromEWKT('SRID=4674;POINT (-40.326922 -2.783477)'))) / (select extract(epoch from '2026-07-20 07:01:13'::timestamp) - extract(epoch from '2026-07-20 07:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326851 -2.783494)'), GeomFromEWKT('SRID=4674;POINT (-40.326922 -2.783477)'))) / (select extract(epoch from '2026-07-20 07:01:13'::timestamp) - extract(epoch from '2026-07-20 07:00: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'), 47645, 'SRID=4674;POINT (-40.326982 -2.783464)', '2026-07-20 07:01:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326922 -2.783477)'), GeomFromEWKT('SRID=4674;POINT (-40.326982 -2.783464)'))) / (select extract(epoch from '2026-07-20 07:01:28'::timestamp) - extract(epoch from '2026-07-20 07:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326922 -2.783477)'), GeomFromEWKT('SRID=4674;POINT (-40.326982 -2.783464)'))) / (select extract(epoch from '2026-07-20 07:01:28'::timestamp) - extract(epoch from '2026-07-20 07:01:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.327037 -2.783438)', '2026-07-20 07:01:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326982 -2.783464)'), GeomFromEWKT('SRID=4674;POINT (-40.327037 -2.783438)'))) / (select extract(epoch from '2026-07-20 07:01:40'::timestamp) - extract(epoch from '2026-07-20 07:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326982 -2.783464)'), GeomFromEWKT('SRID=4674;POINT (-40.327037 -2.783438)'))) / (select extract(epoch from '2026-07-20 07:01:40'::timestamp) - extract(epoch from '2026-07-20 07:01: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'), 47645, 'SRID=4674;POINT (-40.327076 -2.783432)', '2026-07-20 07:01:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327037 -2.783438)'), GeomFromEWKT('SRID=4674;POINT (-40.327076 -2.783432)'))) / (select extract(epoch from '2026-07-20 07:01:51'::timestamp) - extract(epoch from '2026-07-20 07:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327037 -2.783438)'), GeomFromEWKT('SRID=4674;POINT (-40.327076 -2.783432)'))) / (select extract(epoch from '2026-07-20 07:01:51'::timestamp) - extract(epoch from '2026-07-20 07:01: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'), 47645, 'SRID=4674;POINT (-40.327117 -2.783419)', '2026-07-20 07:02:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327076 -2.783432)'), GeomFromEWKT('SRID=4674;POINT (-40.327117 -2.783419)'))) / (select extract(epoch from '2026-07-20 07:02:08'::timestamp) - extract(epoch from '2026-07-20 07:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327076 -2.783432)'), GeomFromEWKT('SRID=4674;POINT (-40.327117 -2.783419)'))) / (select extract(epoch from '2026-07-20 07:02:08'::timestamp) - extract(epoch from '2026-07-20 07:01: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'), 47645, 'SRID=4674;POINT (-40.327179 -2.783426)', '2026-07-20 07:02:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327117 -2.783419)'), GeomFromEWKT('SRID=4674;POINT (-40.327179 -2.783426)'))) / (select extract(epoch from '2026-07-20 07:02:22'::timestamp) - extract(epoch from '2026-07-20 07:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327117 -2.783419)'), GeomFromEWKT('SRID=4674;POINT (-40.327179 -2.783426)'))) / (select extract(epoch from '2026-07-20 07:02:22'::timestamp) - extract(epoch from '2026-07-20 07:02: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'), 47645, 'SRID=4674;POINT (-40.327269 -2.783424)', '2026-07-20 07:02:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327179 -2.783426)'), GeomFromEWKT('SRID=4674;POINT (-40.327269 -2.783424)'))) / (select extract(epoch from '2026-07-20 07:02:39'::timestamp) - extract(epoch from '2026-07-20 07:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327179 -2.783426)'), GeomFromEWKT('SRID=4674;POINT (-40.327269 -2.783424)'))) / (select extract(epoch from '2026-07-20 07:02:39'::timestamp) - extract(epoch from '2026-07-20 07:02: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'), 47645, 'SRID=4674;POINT (-40.327335 -2.783447)', '2026-07-20 07:02:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327269 -2.783424)'), GeomFromEWKT('SRID=4674;POINT (-40.327335 -2.783447)'))) / (select extract(epoch from '2026-07-20 07:02:51'::timestamp) - extract(epoch from '2026-07-20 07:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327269 -2.783424)'), GeomFromEWKT('SRID=4674;POINT (-40.327335 -2.783447)'))) / (select extract(epoch from '2026-07-20 07:02:51'::timestamp) - extract(epoch from '2026-07-20 07:02:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.327338 -2.783541)', '2026-07-20 07:03:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327335 -2.783447)'), GeomFromEWKT('SRID=4674;POINT (-40.327338 -2.783541)'))) / (select extract(epoch from '2026-07-20 07:03:00'::timestamp) - extract(epoch from '2026-07-20 07:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327335 -2.783447)'), GeomFromEWKT('SRID=4674;POINT (-40.327338 -2.783541)'))) / (select extract(epoch from '2026-07-20 07:03:00'::timestamp) - extract(epoch from '2026-07-20 07:02:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.327274 -2.78366)', '2026-07-20 07:03:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327338 -2.783541)'), GeomFromEWKT('SRID=4674;POINT (-40.327274 -2.78366)'))) / (select extract(epoch from '2026-07-20 07:03:09'::timestamp) - extract(epoch from '2026-07-20 07:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327338 -2.783541)'), GeomFromEWKT('SRID=4674;POINT (-40.327274 -2.78366)'))) / (select extract(epoch from '2026-07-20 07:03:09'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.327252 -2.783777)', '2026-07-20 07:03:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327274 -2.78366)'), GeomFromEWKT('SRID=4674;POINT (-40.327252 -2.783777)'))) / (select extract(epoch from '2026-07-20 07:03:15'::timestamp) - extract(epoch from '2026-07-20 07:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327274 -2.78366)'), GeomFromEWKT('SRID=4674;POINT (-40.327252 -2.783777)'))) / (select extract(epoch from '2026-07-20 07:03:15'::timestamp) - extract(epoch from '2026-07-20 07:03: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'), 47645, 'SRID=4674;POINT (-40.32719 -2.78389)', '2026-07-20 07:03:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327252 -2.783777)'), GeomFromEWKT('SRID=4674;POINT (-40.32719 -2.78389)'))) / (select extract(epoch from '2026-07-20 07:03:22'::timestamp) - extract(epoch from '2026-07-20 07:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327252 -2.783777)'), GeomFromEWKT('SRID=4674;POINT (-40.32719 -2.78389)'))) / (select extract(epoch from '2026-07-20 07:03:22'::timestamp) - extract(epoch from '2026-07-20 07:03:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.327111 -2.78404)', '2026-07-20 07:03:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32719 -2.78389)'), GeomFromEWKT('SRID=4674;POINT (-40.327111 -2.78404)'))) / (select extract(epoch from '2026-07-20 07:03:31'::timestamp) - extract(epoch from '2026-07-20 07:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32719 -2.78389)'), GeomFromEWKT('SRID=4674;POINT (-40.327111 -2.78404)'))) / (select extract(epoch from '2026-07-20 07:03:31'::timestamp) - extract(epoch from '2026-07-20 07:03:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.327057 -2.784194)', '2026-07-20 07:03:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327111 -2.78404)'), GeomFromEWKT('SRID=4674;POINT (-40.327057 -2.784194)'))) / (select extract(epoch from '2026-07-20 07:03:40'::timestamp) - extract(epoch from '2026-07-20 07:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327111 -2.78404)'), GeomFromEWKT('SRID=4674;POINT (-40.327057 -2.784194)'))) / (select extract(epoch from '2026-07-20 07:03:40'::timestamp) - extract(epoch from '2026-07-20 07:03: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'), 47645, 'SRID=4674;POINT (-40.326991 -2.784312)', '2026-07-20 07:03:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327057 -2.784194)'), GeomFromEWKT('SRID=4674;POINT (-40.326991 -2.784312)'))) / (select extract(epoch from '2026-07-20 07:03:48'::timestamp) - extract(epoch from '2026-07-20 07:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327057 -2.784194)'), GeomFromEWKT('SRID=4674;POINT (-40.326991 -2.784312)'))) / (select extract(epoch from '2026-07-20 07:03:48'::timestamp) - extract(epoch from '2026-07-20 07:03:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326933 -2.784416)', '2026-07-20 07:03:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326991 -2.784312)'), GeomFromEWKT('SRID=4674;POINT (-40.326933 -2.784416)'))) / (select extract(epoch from '2026-07-20 07:03:55'::timestamp) - extract(epoch from '2026-07-20 07:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326991 -2.784312)'), GeomFromEWKT('SRID=4674;POINT (-40.326933 -2.784416)'))) / (select extract(epoch from '2026-07-20 07:03:55'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.326912 -2.784501)', '2026-07-20 07:04:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326933 -2.784416)'), GeomFromEWKT('SRID=4674;POINT (-40.326912 -2.784501)'))) / (select extract(epoch from '2026-07-20 07:04:00'::timestamp) - extract(epoch from '2026-07-20 07:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326933 -2.784416)'), GeomFromEWKT('SRID=4674;POINT (-40.326912 -2.784501)'))) / (select extract(epoch from '2026-07-20 07:04:00'::timestamp) - extract(epoch from '2026-07-20 07:03: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'), 47645, 'SRID=4674;POINT (-40.32691 -2.784627)', '2026-07-20 07:04:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326912 -2.784501)'), GeomFromEWKT('SRID=4674;POINT (-40.32691 -2.784627)'))) / (select extract(epoch from '2026-07-20 07:04:07'::timestamp) - extract(epoch from '2026-07-20 07:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326912 -2.784501)'), GeomFromEWKT('SRID=4674;POINT (-40.32691 -2.784627)'))) / (select extract(epoch from '2026-07-20 07:04:07'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.326886 -2.784754)', '2026-07-20 07:04:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32691 -2.784627)'), GeomFromEWKT('SRID=4674;POINT (-40.326886 -2.784754)'))) / (select extract(epoch from '2026-07-20 07:04:14'::timestamp) - extract(epoch from '2026-07-20 07:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32691 -2.784627)'), GeomFromEWKT('SRID=4674;POINT (-40.326886 -2.784754)'))) / (select extract(epoch from '2026-07-20 07:04:14'::timestamp) - extract(epoch from '2026-07-20 07:04: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'), 47645, 'SRID=4674;POINT (-40.326856 -2.78484)', '2026-07-20 07:04:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326886 -2.784754)'), GeomFromEWKT('SRID=4674;POINT (-40.326856 -2.78484)'))) / (select extract(epoch from '2026-07-20 07:04:19'::timestamp) - extract(epoch from '2026-07-20 07:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326886 -2.784754)'), GeomFromEWKT('SRID=4674;POINT (-40.326856 -2.78484)'))) / (select extract(epoch from '2026-07-20 07:04:19'::timestamp) - extract(epoch from '2026-07-20 07:04:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326825 -2.784966)', '2026-07-20 07:04:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326856 -2.78484)'), GeomFromEWKT('SRID=4674;POINT (-40.326825 -2.784966)'))) / (select extract(epoch from '2026-07-20 07:04:26'::timestamp) - extract(epoch from '2026-07-20 07:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326856 -2.78484)'), GeomFromEWKT('SRID=4674;POINT (-40.326825 -2.784966)'))) / (select extract(epoch from '2026-07-20 07:04:26'::timestamp) - extract(epoch from '2026-07-20 07:04:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326779 -2.785091)', '2026-07-20 07:04:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326825 -2.784966)'), GeomFromEWKT('SRID=4674;POINT (-40.326779 -2.785091)'))) / (select extract(epoch from '2026-07-20 07:04:33'::timestamp) - extract(epoch from '2026-07-20 07:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326825 -2.784966)'), GeomFromEWKT('SRID=4674;POINT (-40.326779 -2.785091)'))) / (select extract(epoch from '2026-07-20 07:04:33'::timestamp) - extract(epoch from '2026-07-20 07:04: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'), 47645, 'SRID=4674;POINT (-40.32675 -2.785215)', '2026-07-20 07:04:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326779 -2.785091)'), GeomFromEWKT('SRID=4674;POINT (-40.32675 -2.785215)'))) / (select extract(epoch from '2026-07-20 07:04:40'::timestamp) - extract(epoch from '2026-07-20 07:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326779 -2.785091)'), GeomFromEWKT('SRID=4674;POINT (-40.32675 -2.785215)'))) / (select extract(epoch from '2026-07-20 07:04:40'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.326709 -2.785342)', '2026-07-20 07:04:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32675 -2.785215)'), GeomFromEWKT('SRID=4674;POINT (-40.326709 -2.785342)'))) / (select extract(epoch from '2026-07-20 07:04:47'::timestamp) - extract(epoch from '2026-07-20 07:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32675 -2.785215)'), GeomFromEWKT('SRID=4674;POINT (-40.326709 -2.785342)'))) / (select extract(epoch from '2026-07-20 07:04:47'::timestamp) - extract(epoch from '2026-07-20 07:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326703 -2.785455)', '2026-07-20 07:04:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326709 -2.785342)'), GeomFromEWKT('SRID=4674;POINT (-40.326703 -2.785455)'))) / (select extract(epoch from '2026-07-20 07:04:53'::timestamp) - extract(epoch from '2026-07-20 07:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326709 -2.785342)'), GeomFromEWKT('SRID=4674;POINT (-40.326703 -2.785455)'))) / (select extract(epoch from '2026-07-20 07:04:53'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.326714 -2.785605)', '2026-07-20 07:05:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326703 -2.785455)'), GeomFromEWKT('SRID=4674;POINT (-40.326714 -2.785605)'))) / (select extract(epoch from '2026-07-20 07:05:00'::timestamp) - extract(epoch from '2026-07-20 07:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326703 -2.785455)'), GeomFromEWKT('SRID=4674;POINT (-40.326714 -2.785605)'))) / (select extract(epoch from '2026-07-20 07:05:00'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.326734 -2.785713)', '2026-07-20 07:05:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326714 -2.785605)'), GeomFromEWKT('SRID=4674;POINT (-40.326734 -2.785713)'))) / (select extract(epoch from '2026-07-20 07:05:05'::timestamp) - extract(epoch from '2026-07-20 07:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326714 -2.785605)'), GeomFromEWKT('SRID=4674;POINT (-40.326734 -2.785713)'))) / (select extract(epoch from '2026-07-20 07:05:05'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.326746 -2.78587)', '2026-07-20 07:05:13', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326734 -2.785713)'), GeomFromEWKT('SRID=4674;POINT (-40.326746 -2.78587)'))) / (select extract(epoch from '2026-07-20 07:05:13'::timestamp) - extract(epoch from '2026-07-20 07:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326734 -2.785713)'), GeomFromEWKT('SRID=4674;POINT (-40.326746 -2.78587)'))) / (select extract(epoch from '2026-07-20 07:05:13'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.326753 -2.786007)', '2026-07-20 07:05:20', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326746 -2.78587)'), GeomFromEWKT('SRID=4674;POINT (-40.326753 -2.786007)'))) / (select extract(epoch from '2026-07-20 07:05:20'::timestamp) - extract(epoch from '2026-07-20 07:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326746 -2.78587)'), GeomFromEWKT('SRID=4674;POINT (-40.326753 -2.786007)'))) / (select extract(epoch from '2026-07-20 07:05:20'::timestamp) - extract(epoch from '2026-07-20 07:05: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'), 47645, 'SRID=4674;POINT (-40.326756 -2.786143)', '2026-07-20 07:05:27', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326753 -2.786007)'), GeomFromEWKT('SRID=4674;POINT (-40.326756 -2.786143)'))) / (select extract(epoch from '2026-07-20 07:05:27'::timestamp) - extract(epoch from '2026-07-20 07:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326753 -2.786007)'), GeomFromEWKT('SRID=4674;POINT (-40.326756 -2.786143)'))) / (select extract(epoch from '2026-07-20 07:05:27'::timestamp) - extract(epoch from '2026-07-20 07:05:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326709 -2.786178)', '2026-07-20 07:05:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326756 -2.786143)'), GeomFromEWKT('SRID=4674;POINT (-40.326709 -2.786178)'))) / (select extract(epoch from '2026-07-20 07:05:34'::timestamp) - extract(epoch from '2026-07-20 07:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326756 -2.786143)'), GeomFromEWKT('SRID=4674;POINT (-40.326709 -2.786178)'))) / (select extract(epoch from '2026-07-20 07:05:34'::timestamp) - extract(epoch from '2026-07-20 07:05: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'), 47645, 'SRID=4674;POINT (-40.3267 -2.786162)', '2026-07-20 07:05:45', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326709 -2.786178)'), GeomFromEWKT('SRID=4674;POINT (-40.3267 -2.786162)'))) / (select extract(epoch from '2026-07-20 07:05:45'::timestamp) - extract(epoch from '2026-07-20 07:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326709 -2.786178)'), GeomFromEWKT('SRID=4674;POINT (-40.3267 -2.786162)'))) / (select extract(epoch from '2026-07-20 07:05:45'::timestamp) - extract(epoch from '2026-07-20 07:05: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'), 47645, 'SRID=4674;POINT (-40.326746 -2.786156)', '2026-07-20 07:05:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3267 -2.786162)'), GeomFromEWKT('SRID=4674;POINT (-40.326746 -2.786156)'))) / (select extract(epoch from '2026-07-20 07:05:57'::timestamp) - extract(epoch from '2026-07-20 07:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3267 -2.786162)'), GeomFromEWKT('SRID=4674;POINT (-40.326746 -2.786156)'))) / (select extract(epoch from '2026-07-20 07:05:57'::timestamp) - extract(epoch from '2026-07-20 07:05: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'), 47645, 'SRID=4674;POINT (-40.326797 -2.786147)', '2026-07-20 07:06:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326746 -2.786156)'), GeomFromEWKT('SRID=4674;POINT (-40.326797 -2.786147)'))) / (select extract(epoch from '2026-07-20 07:06:08'::timestamp) - extract(epoch from '2026-07-20 07:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326746 -2.786156)'), GeomFromEWKT('SRID=4674;POINT (-40.326797 -2.786147)'))) / (select extract(epoch from '2026-07-20 07:06:08'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.326854 -2.786144)', '2026-07-20 07:06:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326797 -2.786147)'), GeomFromEWKT('SRID=4674;POINT (-40.326854 -2.786144)'))) / (select extract(epoch from '2026-07-20 07:06:21'::timestamp) - extract(epoch from '2026-07-20 07:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326797 -2.786147)'), GeomFromEWKT('SRID=4674;POINT (-40.326854 -2.786144)'))) / (select extract(epoch from '2026-07-20 07:06:21'::timestamp) - extract(epoch from '2026-07-20 07:06:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326891 -2.786139)', '2026-07-20 07:06:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326854 -2.786144)'), GeomFromEWKT('SRID=4674;POINT (-40.326891 -2.786139)'))) / (select extract(epoch from '2026-07-20 07:06:35'::timestamp) - extract(epoch from '2026-07-20 07:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326854 -2.786144)'), GeomFromEWKT('SRID=4674;POINT (-40.326891 -2.786139)'))) / (select extract(epoch from '2026-07-20 07:06:35'::timestamp) - extract(epoch from '2026-07-20 07:06: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'), 47645, 'SRID=4674;POINT (-40.326913 -2.786137)', '2026-07-20 07:06:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326891 -2.786139)'), GeomFromEWKT('SRID=4674;POINT (-40.326913 -2.786137)'))) / (select extract(epoch from '2026-07-20 07:06:45'::timestamp) - extract(epoch from '2026-07-20 07:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326891 -2.786139)'), GeomFromEWKT('SRID=4674;POINT (-40.326913 -2.786137)'))) / (select extract(epoch from '2026-07-20 07:06:45'::timestamp) - extract(epoch from '2026-07-20 07:06:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326969 -2.786138)', '2026-07-20 07:06:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326913 -2.786137)'), GeomFromEWKT('SRID=4674;POINT (-40.326969 -2.786138)'))) / (select extract(epoch from '2026-07-20 07:06:58'::timestamp) - extract(epoch from '2026-07-20 07:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326913 -2.786137)'), GeomFromEWKT('SRID=4674;POINT (-40.326969 -2.786138)'))) / (select extract(epoch from '2026-07-20 07:06:58'::timestamp) - extract(epoch from '2026-07-20 07:06: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'), 47645, 'SRID=4674;POINT (-40.327002 -2.786143)', '2026-07-20 07:07:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326969 -2.786138)'), GeomFromEWKT('SRID=4674;POINT (-40.327002 -2.786143)'))) / (select extract(epoch from '2026-07-20 07:07:07'::timestamp) - extract(epoch from '2026-07-20 07:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326969 -2.786138)'), GeomFromEWKT('SRID=4674;POINT (-40.327002 -2.786143)'))) / (select extract(epoch from '2026-07-20 07:07:07'::timestamp) - extract(epoch from '2026-07-20 07:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.327037 -2.786144)', '2026-07-20 07:07:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327002 -2.786143)'), GeomFromEWKT('SRID=4674;POINT (-40.327037 -2.786144)'))) / (select extract(epoch from '2026-07-20 07:07:16'::timestamp) - extract(epoch from '2026-07-20 07:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327002 -2.786143)'), GeomFromEWKT('SRID=4674;POINT (-40.327037 -2.786144)'))) / (select extract(epoch from '2026-07-20 07:07:16'::timestamp) - extract(epoch from '2026-07-20 07:07: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'), 47645, 'SRID=4674;POINT (-40.327086 -2.786138)', '2026-07-20 07:07:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327037 -2.786144)'), GeomFromEWKT('SRID=4674;POINT (-40.327086 -2.786138)'))) / (select extract(epoch from '2026-07-20 07:07:26'::timestamp) - extract(epoch from '2026-07-20 07:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327037 -2.786144)'), GeomFromEWKT('SRID=4674;POINT (-40.327086 -2.786138)'))) / (select extract(epoch from '2026-07-20 07:07:26'::timestamp) - extract(epoch from '2026-07-20 07:07:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.32714 -2.786139)', '2026-07-20 07:07:37', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327086 -2.786138)'), GeomFromEWKT('SRID=4674;POINT (-40.32714 -2.786139)'))) / (select extract(epoch from '2026-07-20 07:07:37'::timestamp) - extract(epoch from '2026-07-20 07:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327086 -2.786138)'), GeomFromEWKT('SRID=4674;POINT (-40.32714 -2.786139)'))) / (select extract(epoch from '2026-07-20 07:07:37'::timestamp) - extract(epoch from '2026-07-20 07:07:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.327185 -2.786139)', '2026-07-20 07:07:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32714 -2.786139)'), GeomFromEWKT('SRID=4674;POINT (-40.327185 -2.786139)'))) / (select extract(epoch from '2026-07-20 07:07:50'::timestamp) - extract(epoch from '2026-07-20 07:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32714 -2.786139)'), GeomFromEWKT('SRID=4674;POINT (-40.327185 -2.786139)'))) / (select extract(epoch from '2026-07-20 07:07:50'::timestamp) - extract(epoch from '2026-07-20 07:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.327219 -2.786151)', '2026-07-20 07:08:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327185 -2.786139)'), GeomFromEWKT('SRID=4674;POINT (-40.327219 -2.786151)'))) / (select extract(epoch from '2026-07-20 07:08:03'::timestamp) - extract(epoch from '2026-07-20 07:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327185 -2.786139)'), GeomFromEWKT('SRID=4674;POINT (-40.327219 -2.786151)'))) / (select extract(epoch from '2026-07-20 07:08:03'::timestamp) - extract(epoch from '2026-07-20 07:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.327238 -2.78617)', '2026-07-20 07:08:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327219 -2.786151)'), GeomFromEWKT('SRID=4674;POINT (-40.327238 -2.78617)'))) / (select extract(epoch from '2026-07-20 07:08:13'::timestamp) - extract(epoch from '2026-07-20 07:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327219 -2.786151)'), GeomFromEWKT('SRID=4674;POINT (-40.327238 -2.78617)'))) / (select extract(epoch from '2026-07-20 07:08:13'::timestamp) - extract(epoch from '2026-07-20 07:08: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'), 47645, 'SRID=4674;POINT (-40.32728 -2.78617)', '2026-07-20 07:08:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327238 -2.78617)'), GeomFromEWKT('SRID=4674;POINT (-40.32728 -2.78617)'))) / (select extract(epoch from '2026-07-20 07:08:25'::timestamp) - extract(epoch from '2026-07-20 07:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327238 -2.78617)'), GeomFromEWKT('SRID=4674;POINT (-40.32728 -2.78617)'))) / (select extract(epoch from '2026-07-20 07:08:25'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.327343 -2.786178)', '2026-07-20 07:08:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32728 -2.78617)'), GeomFromEWKT('SRID=4674;POINT (-40.327343 -2.786178)'))) / (select extract(epoch from '2026-07-20 07:08:38'::timestamp) - extract(epoch from '2026-07-20 07:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32728 -2.78617)'), GeomFromEWKT('SRID=4674;POINT (-40.327343 -2.786178)'))) / (select extract(epoch from '2026-07-20 07:08:38'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.327364 -2.786129)', '2026-07-20 07:08:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327343 -2.786178)'), GeomFromEWKT('SRID=4674;POINT (-40.327364 -2.786129)'))) / (select extract(epoch from '2026-07-20 07:08:46'::timestamp) - extract(epoch from '2026-07-20 07:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327343 -2.786178)'), GeomFromEWKT('SRID=4674;POINT (-40.327364 -2.786129)'))) / (select extract(epoch from '2026-07-20 07:08:46'::timestamp) - extract(epoch from '2026-07-20 07:08:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.327319 -2.786029)', '2026-07-20 07:08:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327364 -2.786129)'), GeomFromEWKT('SRID=4674;POINT (-40.327319 -2.786029)'))) / (select extract(epoch from '2026-07-20 07:08:54'::timestamp) - extract(epoch from '2026-07-20 07:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327364 -2.786129)'), GeomFromEWKT('SRID=4674;POINT (-40.327319 -2.786029)'))) / (select extract(epoch from '2026-07-20 07:08:54'::timestamp) - extract(epoch from '2026-07-20 07:08: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'), 47645, 'SRID=4674;POINT (-40.32722 -2.78598)', '2026-07-20 07:09:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327319 -2.786029)'), GeomFromEWKT('SRID=4674;POINT (-40.32722 -2.78598)'))) / (select extract(epoch from '2026-07-20 07:09:01'::timestamp) - extract(epoch from '2026-07-20 07:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327319 -2.786029)'), GeomFromEWKT('SRID=4674;POINT (-40.32722 -2.78598)'))) / (select extract(epoch from '2026-07-20 07:09:01'::timestamp) - extract(epoch from '2026-07-20 07:08: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'), 47645, 'SRID=4674;POINT (-40.327065 -2.785957)', '2026-07-20 07:09:10', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32722 -2.78598)'), GeomFromEWKT('SRID=4674;POINT (-40.327065 -2.785957)'))) / (select extract(epoch from '2026-07-20 07:09:10'::timestamp) - extract(epoch from '2026-07-20 07:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32722 -2.78598)'), GeomFromEWKT('SRID=4674;POINT (-40.327065 -2.785957)'))) / (select extract(epoch from '2026-07-20 07:09:10'::timestamp) - extract(epoch from '2026-07-20 07:09:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326909 -2.785959)', '2026-07-20 07:09:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327065 -2.785957)'), GeomFromEWKT('SRID=4674;POINT (-40.326909 -2.785959)'))) / (select extract(epoch from '2026-07-20 07:09:18'::timestamp) - extract(epoch from '2026-07-20 07:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327065 -2.785957)'), GeomFromEWKT('SRID=4674;POINT (-40.326909 -2.785959)'))) / (select extract(epoch from '2026-07-20 07:09:18'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.326773 -2.786032)', '2026-07-20 07:09:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326909 -2.785959)'), GeomFromEWKT('SRID=4674;POINT (-40.326773 -2.786032)'))) / (select extract(epoch from '2026-07-20 07:09:26'::timestamp) - extract(epoch from '2026-07-20 07:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326909 -2.785959)'), GeomFromEWKT('SRID=4674;POINT (-40.326773 -2.786032)'))) / (select extract(epoch from '2026-07-20 07:09:26'::timestamp) - extract(epoch from '2026-07-20 07:09:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326648 -2.786105)', '2026-07-20 07:09:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326773 -2.786032)'), GeomFromEWKT('SRID=4674;POINT (-40.326648 -2.786105)'))) / (select extract(epoch from '2026-07-20 07:09:34'::timestamp) - extract(epoch from '2026-07-20 07:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326773 -2.786032)'), GeomFromEWKT('SRID=4674;POINT (-40.326648 -2.786105)'))) / (select extract(epoch from '2026-07-20 07:09:34'::timestamp) - extract(epoch from '2026-07-20 07:09: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'), 47645, 'SRID=4674;POINT (-40.326538 -2.786131)', '2026-07-20 07:09:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326648 -2.786105)'), GeomFromEWKT('SRID=4674;POINT (-40.326538 -2.786131)'))) / (select extract(epoch from '2026-07-20 07:09:41'::timestamp) - extract(epoch from '2026-07-20 07:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326648 -2.786105)'), GeomFromEWKT('SRID=4674;POINT (-40.326538 -2.786131)'))) / (select extract(epoch from '2026-07-20 07:09:41'::timestamp) - extract(epoch from '2026-07-20 07:09:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326437 -2.786164)', '2026-07-20 07:09:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326538 -2.786131)'), GeomFromEWKT('SRID=4674;POINT (-40.326437 -2.786164)'))) / (select extract(epoch from '2026-07-20 07:09:47'::timestamp) - extract(epoch from '2026-07-20 07:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326538 -2.786131)'), GeomFromEWKT('SRID=4674;POINT (-40.326437 -2.786164)'))) / (select extract(epoch from '2026-07-20 07:09:47'::timestamp) - extract(epoch from '2026-07-20 07:09: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'), 47645, 'SRID=4674;POINT (-40.326306 -2.786226)', '2026-07-20 07:09:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326437 -2.786164)'), GeomFromEWKT('SRID=4674;POINT (-40.326306 -2.786226)'))) / (select extract(epoch from '2026-07-20 07:09:55'::timestamp) - extract(epoch from '2026-07-20 07:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326437 -2.786164)'), GeomFromEWKT('SRID=4674;POINT (-40.326306 -2.786226)'))) / (select extract(epoch from '2026-07-20 07:09:55'::timestamp) - extract(epoch from '2026-07-20 07:09:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326163 -2.786287)', '2026-07-20 07:10:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326306 -2.786226)'), GeomFromEWKT('SRID=4674;POINT (-40.326163 -2.786287)'))) / (select extract(epoch from '2026-07-20 07:10:03'::timestamp) - extract(epoch from '2026-07-20 07:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326306 -2.786226)'), GeomFromEWKT('SRID=4674;POINT (-40.326163 -2.786287)'))) / (select extract(epoch from '2026-07-20 07:10:03'::timestamp) - extract(epoch from '2026-07-20 07:09: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'), 47645, 'SRID=4674;POINT (-40.326002 -2.786352)', '2026-07-20 07:10:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326163 -2.786287)'), GeomFromEWKT('SRID=4674;POINT (-40.326002 -2.786352)'))) / (select extract(epoch from '2026-07-20 07:10:12'::timestamp) - extract(epoch from '2026-07-20 07:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326163 -2.786287)'), GeomFromEWKT('SRID=4674;POINT (-40.326002 -2.786352)'))) / (select extract(epoch from '2026-07-20 07:10:12'::timestamp) - extract(epoch from '2026-07-20 07:10:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.325889 -2.786384)', '2026-07-20 07:10:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326002 -2.786352)'), GeomFromEWKT('SRID=4674;POINT (-40.325889 -2.786384)'))) / (select extract(epoch from '2026-07-20 07:10:19'::timestamp) - extract(epoch from '2026-07-20 07:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326002 -2.786352)'), GeomFromEWKT('SRID=4674;POINT (-40.325889 -2.786384)'))) / (select extract(epoch from '2026-07-20 07:10:19'::timestamp) - extract(epoch from '2026-07-20 07:10:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.325756 -2.786414)', '2026-07-20 07:10:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325889 -2.786384)'), GeomFromEWKT('SRID=4674;POINT (-40.325756 -2.786414)'))) / (select extract(epoch from '2026-07-20 07:10:26'::timestamp) - extract(epoch from '2026-07-20 07:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325889 -2.786384)'), GeomFromEWKT('SRID=4674;POINT (-40.325756 -2.786414)'))) / (select extract(epoch from '2026-07-20 07:10:26'::timestamp) - extract(epoch from '2026-07-20 07:10:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.325619 -2.786445)', '2026-07-20 07:10:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325756 -2.786414)'), GeomFromEWKT('SRID=4674;POINT (-40.325619 -2.786445)'))) / (select extract(epoch from '2026-07-20 07:10:33'::timestamp) - extract(epoch from '2026-07-20 07:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325756 -2.786414)'), GeomFromEWKT('SRID=4674;POINT (-40.325619 -2.786445)'))) / (select extract(epoch from '2026-07-20 07:10:33'::timestamp) - extract(epoch from '2026-07-20 07:10:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.325499 -2.786483)', '2026-07-20 07:10:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325619 -2.786445)'), GeomFromEWKT('SRID=4674;POINT (-40.325499 -2.786483)'))) / (select extract(epoch from '2026-07-20 07:10:40'::timestamp) - extract(epoch from '2026-07-20 07:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325619 -2.786445)'), GeomFromEWKT('SRID=4674;POINT (-40.325499 -2.786483)'))) / (select extract(epoch from '2026-07-20 07:10:40'::timestamp) - extract(epoch from '2026-07-20 07:10:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.325408 -2.786518)', '2026-07-20 07:10:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325499 -2.786483)'), GeomFromEWKT('SRID=4674;POINT (-40.325408 -2.786518)'))) / (select extract(epoch from '2026-07-20 07:10:46'::timestamp) - extract(epoch from '2026-07-20 07:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325499 -2.786483)'), GeomFromEWKT('SRID=4674;POINT (-40.325408 -2.786518)'))) / (select extract(epoch from '2026-07-20 07:10:46'::timestamp) - extract(epoch from '2026-07-20 07:10:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.325301 -2.78657)', '2026-07-20 07:10:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325408 -2.786518)'), GeomFromEWKT('SRID=4674;POINT (-40.325301 -2.78657)'))) / (select extract(epoch from '2026-07-20 07:10:53'::timestamp) - extract(epoch from '2026-07-20 07:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325408 -2.786518)'), GeomFromEWKT('SRID=4674;POINT (-40.325301 -2.78657)'))) / (select extract(epoch from '2026-07-20 07:10:53'::timestamp) - extract(epoch from '2026-07-20 07:10:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.325206 -2.786588)', '2026-07-20 07:10:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325301 -2.78657)'), GeomFromEWKT('SRID=4674;POINT (-40.325206 -2.786588)'))) / (select extract(epoch from '2026-07-20 07:10:59'::timestamp) - extract(epoch from '2026-07-20 07:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325301 -2.78657)'), GeomFromEWKT('SRID=4674;POINT (-40.325206 -2.786588)'))) / (select extract(epoch from '2026-07-20 07:10:59'::timestamp) - extract(epoch from '2026-07-20 07:10: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'), 47645, 'SRID=4674;POINT (-40.325083 -2.786606)', '2026-07-20 07:11:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325206 -2.786588)'), GeomFromEWKT('SRID=4674;POINT (-40.325083 -2.786606)'))) / (select extract(epoch from '2026-07-20 07:11:06'::timestamp) - extract(epoch from '2026-07-20 07:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325206 -2.786588)'), GeomFromEWKT('SRID=4674;POINT (-40.325083 -2.786606)'))) / (select extract(epoch from '2026-07-20 07:11:06'::timestamp) - extract(epoch from '2026-07-20 07:10: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'), 47645, 'SRID=4674;POINT (-40.324946 -2.786626)', '2026-07-20 07:11:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325083 -2.786606)'), GeomFromEWKT('SRID=4674;POINT (-40.324946 -2.786626)'))) / (select extract(epoch from '2026-07-20 07:11:14'::timestamp) - extract(epoch from '2026-07-20 07:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325083 -2.786606)'), GeomFromEWKT('SRID=4674;POINT (-40.324946 -2.786626)'))) / (select extract(epoch from '2026-07-20 07:11:14'::timestamp) - extract(epoch from '2026-07-20 07:11:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.324837 -2.786672)', '2026-07-20 07:11:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324946 -2.786626)'), GeomFromEWKT('SRID=4674;POINT (-40.324837 -2.786672)'))) / (select extract(epoch from '2026-07-20 07:11:21'::timestamp) - extract(epoch from '2026-07-20 07:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324946 -2.786626)'), GeomFromEWKT('SRID=4674;POINT (-40.324837 -2.786672)'))) / (select extract(epoch from '2026-07-20 07:11:21'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.324713 -2.786708)', '2026-07-20 07:11:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324837 -2.786672)'), GeomFromEWKT('SRID=4674;POINT (-40.324713 -2.786708)'))) / (select extract(epoch from '2026-07-20 07:11:28'::timestamp) - extract(epoch from '2026-07-20 07:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324837 -2.786672)'), GeomFromEWKT('SRID=4674;POINT (-40.324713 -2.786708)'))) / (select extract(epoch from '2026-07-20 07:11:28'::timestamp) - extract(epoch from '2026-07-20 07:11: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'), 47645, 'SRID=4674;POINT (-40.324569 -2.78676)', '2026-07-20 07:11:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324713 -2.786708)'), GeomFromEWKT('SRID=4674;POINT (-40.324569 -2.78676)'))) / (select extract(epoch from '2026-07-20 07:11:37'::timestamp) - extract(epoch from '2026-07-20 07:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324713 -2.786708)'), GeomFromEWKT('SRID=4674;POINT (-40.324569 -2.78676)'))) / (select extract(epoch from '2026-07-20 07:11:37'::timestamp) - extract(epoch from '2026-07-20 07:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.32446 -2.786797)', '2026-07-20 07:11:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324569 -2.78676)'), GeomFromEWKT('SRID=4674;POINT (-40.32446 -2.786797)'))) / (select extract(epoch from '2026-07-20 07:11:44'::timestamp) - extract(epoch from '2026-07-20 07:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324569 -2.78676)'), GeomFromEWKT('SRID=4674;POINT (-40.32446 -2.786797)'))) / (select extract(epoch from '2026-07-20 07:11:44'::timestamp) - extract(epoch from '2026-07-20 07:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.324323 -2.786819)', '2026-07-20 07:11:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32446 -2.786797)'), GeomFromEWKT('SRID=4674;POINT (-40.324323 -2.786819)'))) / (select extract(epoch from '2026-07-20 07:11:52'::timestamp) - extract(epoch from '2026-07-20 07:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32446 -2.786797)'), GeomFromEWKT('SRID=4674;POINT (-40.324323 -2.786819)'))) / (select extract(epoch from '2026-07-20 07:11:52'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.324198 -2.786848)', '2026-07-20 07:11:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324323 -2.786819)'), GeomFromEWKT('SRID=4674;POINT (-40.324198 -2.786848)'))) / (select extract(epoch from '2026-07-20 07:11:59'::timestamp) - extract(epoch from '2026-07-20 07:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324323 -2.786819)'), GeomFromEWKT('SRID=4674;POINT (-40.324198 -2.786848)'))) / (select extract(epoch from '2026-07-20 07:11:59'::timestamp) - extract(epoch from '2026-07-20 07:11: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'), 47645, 'SRID=4674;POINT (-40.324116 -2.786893)', '2026-07-20 07:12:05', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324198 -2.786848)'), GeomFromEWKT('SRID=4674;POINT (-40.324116 -2.786893)'))) / (select extract(epoch from '2026-07-20 07:12:05'::timestamp) - extract(epoch from '2026-07-20 07:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324198 -2.786848)'), GeomFromEWKT('SRID=4674;POINT (-40.324116 -2.786893)'))) / (select extract(epoch from '2026-07-20 07:12:05'::timestamp) - extract(epoch from '2026-07-20 07:11: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'), 47645, 'SRID=4674;POINT (-40.324012 -2.786951)', '2026-07-20 07:12:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324116 -2.786893)'), GeomFromEWKT('SRID=4674;POINT (-40.324012 -2.786951)'))) / (select extract(epoch from '2026-07-20 07:12:12'::timestamp) - extract(epoch from '2026-07-20 07:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324116 -2.786893)'), GeomFromEWKT('SRID=4674;POINT (-40.324012 -2.786951)'))) / (select extract(epoch from '2026-07-20 07:12:12'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.323931 -2.787012)', '2026-07-20 07:12:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324012 -2.786951)'), GeomFromEWKT('SRID=4674;POINT (-40.323931 -2.787012)'))) / (select extract(epoch from '2026-07-20 07:12:18'::timestamp) - extract(epoch from '2026-07-20 07:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324012 -2.786951)'), GeomFromEWKT('SRID=4674;POINT (-40.323931 -2.787012)'))) / (select extract(epoch from '2026-07-20 07:12:18'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.323825 -2.787063)', '2026-07-20 07:12:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323931 -2.787012)'), GeomFromEWKT('SRID=4674;POINT (-40.323825 -2.787063)'))) / (select extract(epoch from '2026-07-20 07:12:25'::timestamp) - extract(epoch from '2026-07-20 07:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323931 -2.787012)'), GeomFromEWKT('SRID=4674;POINT (-40.323825 -2.787063)'))) / (select extract(epoch from '2026-07-20 07:12:25'::timestamp) - extract(epoch from '2026-07-20 07:12:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.323719 -2.787131)', '2026-07-20 07:12:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323825 -2.787063)'), GeomFromEWKT('SRID=4674;POINT (-40.323719 -2.787131)'))) / (select extract(epoch from '2026-07-20 07:12:32'::timestamp) - extract(epoch from '2026-07-20 07:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323825 -2.787063)'), GeomFromEWKT('SRID=4674;POINT (-40.323719 -2.787131)'))) / (select extract(epoch from '2026-07-20 07:12:32'::timestamp) - extract(epoch from '2026-07-20 07:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.32361 -2.787191)', '2026-07-20 07:12:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323719 -2.787131)'), GeomFromEWKT('SRID=4674;POINT (-40.32361 -2.787191)'))) / (select extract(epoch from '2026-07-20 07:12:39'::timestamp) - extract(epoch from '2026-07-20 07:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323719 -2.787131)'), GeomFromEWKT('SRID=4674;POINT (-40.32361 -2.787191)'))) / (select extract(epoch from '2026-07-20 07:12:39'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.323484 -2.787276)', '2026-07-20 07:12:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32361 -2.787191)'), GeomFromEWKT('SRID=4674;POINT (-40.323484 -2.787276)'))) / (select extract(epoch from '2026-07-20 07:12:47'::timestamp) - extract(epoch from '2026-07-20 07:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32361 -2.787191)'), GeomFromEWKT('SRID=4674;POINT (-40.323484 -2.787276)'))) / (select extract(epoch from '2026-07-20 07:12:47'::timestamp) - extract(epoch from '2026-07-20 07:12: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'), 47645, 'SRID=4674;POINT (-40.323342 -2.787393)', '2026-07-20 07:12:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323484 -2.787276)'), GeomFromEWKT('SRID=4674;POINT (-40.323342 -2.787393)'))) / (select extract(epoch from '2026-07-20 07:12:56'::timestamp) - extract(epoch from '2026-07-20 07:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323484 -2.787276)'), GeomFromEWKT('SRID=4674;POINT (-40.323342 -2.787393)'))) / (select extract(epoch from '2026-07-20 07:12:56'::timestamp) - extract(epoch from '2026-07-20 07:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.323224 -2.787453)', '2026-07-20 07:13:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323342 -2.787393)'), GeomFromEWKT('SRID=4674;POINT (-40.323224 -2.787453)'))) / (select extract(epoch from '2026-07-20 07:13:03'::timestamp) - extract(epoch from '2026-07-20 07:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323342 -2.787393)'), GeomFromEWKT('SRID=4674;POINT (-40.323224 -2.787453)'))) / (select extract(epoch from '2026-07-20 07:13:03'::timestamp) - extract(epoch from '2026-07-20 07:12:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.323121 -2.787525)', '2026-07-20 07:13:09', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323224 -2.787453)'), GeomFromEWKT('SRID=4674;POINT (-40.323121 -2.787525)'))) / (select extract(epoch from '2026-07-20 07:13:09'::timestamp) - extract(epoch from '2026-07-20 07:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323224 -2.787453)'), GeomFromEWKT('SRID=4674;POINT (-40.323121 -2.787525)'))) / (select extract(epoch from '2026-07-20 07:13:09'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.322996 -2.787595)', '2026-07-20 07:13:17', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323121 -2.787525)'), GeomFromEWKT('SRID=4674;POINT (-40.322996 -2.787595)'))) / (select extract(epoch from '2026-07-20 07:13:17'::timestamp) - extract(epoch from '2026-07-20 07:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323121 -2.787525)'), GeomFromEWKT('SRID=4674;POINT (-40.322996 -2.787595)'))) / (select extract(epoch from '2026-07-20 07:13:17'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.322915 -2.787669)', '2026-07-20 07:13:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322996 -2.787595)'), GeomFromEWKT('SRID=4674;POINT (-40.322915 -2.787669)'))) / (select extract(epoch from '2026-07-20 07:13:24'::timestamp) - extract(epoch from '2026-07-20 07:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322996 -2.787595)'), GeomFromEWKT('SRID=4674;POINT (-40.322915 -2.787669)'))) / (select extract(epoch from '2026-07-20 07:13:24'::timestamp) - extract(epoch from '2026-07-20 07:13: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'), 47645, 'SRID=4674;POINT (-40.322858 -2.787737)', '2026-07-20 07:13:29', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322915 -2.787669)'), GeomFromEWKT('SRID=4674;POINT (-40.322858 -2.787737)'))) / (select extract(epoch from '2026-07-20 07:13:29'::timestamp) - extract(epoch from '2026-07-20 07:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322915 -2.787669)'), GeomFromEWKT('SRID=4674;POINT (-40.322858 -2.787737)'))) / (select extract(epoch from '2026-07-20 07:13:29'::timestamp) - extract(epoch from '2026-07-20 07:13:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.322747 -2.787834)', '2026-07-20 07:13:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322858 -2.787737)'), GeomFromEWKT('SRID=4674;POINT (-40.322747 -2.787834)'))) / (select extract(epoch from '2026-07-20 07:13:37'::timestamp) - extract(epoch from '2026-07-20 07:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322858 -2.787737)'), GeomFromEWKT('SRID=4674;POINT (-40.322747 -2.787834)'))) / (select extract(epoch from '2026-07-20 07:13:37'::timestamp) - extract(epoch from '2026-07-20 07:13:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.322684 -2.787914)', '2026-07-20 07:13:43', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322747 -2.787834)'), GeomFromEWKT('SRID=4674;POINT (-40.322684 -2.787914)'))) / (select extract(epoch from '2026-07-20 07:13:43'::timestamp) - extract(epoch from '2026-07-20 07:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322747 -2.787834)'), GeomFromEWKT('SRID=4674;POINT (-40.322684 -2.787914)'))) / (select extract(epoch from '2026-07-20 07:13:43'::timestamp) - extract(epoch from '2026-07-20 07:13: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'), 47645, 'SRID=4674;POINT (-40.322606 -2.788017)', '2026-07-20 07:13:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322684 -2.787914)'), GeomFromEWKT('SRID=4674;POINT (-40.322606 -2.788017)'))) / (select extract(epoch from '2026-07-20 07:13:50'::timestamp) - extract(epoch from '2026-07-20 07:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322684 -2.787914)'), GeomFromEWKT('SRID=4674;POINT (-40.322606 -2.788017)'))) / (select extract(epoch from '2026-07-20 07:13:50'::timestamp) - extract(epoch from '2026-07-20 07:13: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'), 47645, 'SRID=4674;POINT (-40.322536 -2.788089)', '2026-07-20 07:13:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322606 -2.788017)'), GeomFromEWKT('SRID=4674;POINT (-40.322536 -2.788089)'))) / (select extract(epoch from '2026-07-20 07:13:57'::timestamp) - extract(epoch from '2026-07-20 07:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322606 -2.788017)'), GeomFromEWKT('SRID=4674;POINT (-40.322536 -2.788089)'))) / (select extract(epoch from '2026-07-20 07:13:57'::timestamp) - extract(epoch from '2026-07-20 07:13: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'), 47645, 'SRID=4674;POINT (-40.322492 -2.788186)', '2026-07-20 07:14:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322536 -2.788089)'), GeomFromEWKT('SRID=4674;POINT (-40.322492 -2.788186)'))) / (select extract(epoch from '2026-07-20 07:14:03'::timestamp) - extract(epoch from '2026-07-20 07:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322536 -2.788089)'), GeomFromEWKT('SRID=4674;POINT (-40.322492 -2.788186)'))) / (select extract(epoch from '2026-07-20 07:14:03'::timestamp) - extract(epoch from '2026-07-20 07:13:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.322407 -2.788282)', '2026-07-20 07:14:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322492 -2.788186)'), GeomFromEWKT('SRID=4674;POINT (-40.322407 -2.788282)'))) / (select extract(epoch from '2026-07-20 07:14:10'::timestamp) - extract(epoch from '2026-07-20 07:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322492 -2.788186)'), GeomFromEWKT('SRID=4674;POINT (-40.322407 -2.788282)'))) / (select extract(epoch from '2026-07-20 07:14:10'::timestamp) - extract(epoch from '2026-07-20 07:14: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'), 47645, 'SRID=4674;POINT (-40.322267 -2.788388)', '2026-07-20 07:14:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322407 -2.788282)'), GeomFromEWKT('SRID=4674;POINT (-40.322267 -2.788388)'))) / (select extract(epoch from '2026-07-20 07:14:18'::timestamp) - extract(epoch from '2026-07-20 07:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322407 -2.788282)'), GeomFromEWKT('SRID=4674;POINT (-40.322267 -2.788388)'))) / (select extract(epoch from '2026-07-20 07:14:18'::timestamp) - extract(epoch from '2026-07-20 07:14:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.322129 -2.788462)', '2026-07-20 07:14:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322267 -2.788388)'), GeomFromEWKT('SRID=4674;POINT (-40.322129 -2.788462)'))) / (select extract(epoch from '2026-07-20 07:14:26'::timestamp) - extract(epoch from '2026-07-20 07:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322267 -2.788388)'), GeomFromEWKT('SRID=4674;POINT (-40.322129 -2.788462)'))) / (select extract(epoch from '2026-07-20 07:14:26'::timestamp) - extract(epoch from '2026-07-20 07:14:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.321994 -2.788519)', '2026-07-20 07:14:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322129 -2.788462)'), GeomFromEWKT('SRID=4674;POINT (-40.321994 -2.788519)'))) / (select extract(epoch from '2026-07-20 07:14:34'::timestamp) - extract(epoch from '2026-07-20 07:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322129 -2.788462)'), GeomFromEWKT('SRID=4674;POINT (-40.321994 -2.788519)'))) / (select extract(epoch from '2026-07-20 07:14:34'::timestamp) - extract(epoch from '2026-07-20 07:14: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'), 47645, 'SRID=4674;POINT (-40.321902 -2.788545)', '2026-07-20 07:14:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321994 -2.788519)'), GeomFromEWKT('SRID=4674;POINT (-40.321902 -2.788545)'))) / (select extract(epoch from '2026-07-20 07:14:40'::timestamp) - extract(epoch from '2026-07-20 07:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321994 -2.788519)'), GeomFromEWKT('SRID=4674;POINT (-40.321902 -2.788545)'))) / (select extract(epoch from '2026-07-20 07:14:40'::timestamp) - extract(epoch from '2026-07-20 07:14:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.321785 -2.788591)', '2026-07-20 07:14:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321902 -2.788545)'), GeomFromEWKT('SRID=4674;POINT (-40.321785 -2.788591)'))) / (select extract(epoch from '2026-07-20 07:14:48'::timestamp) - extract(epoch from '2026-07-20 07:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321902 -2.788545)'), GeomFromEWKT('SRID=4674;POINT (-40.321785 -2.788591)'))) / (select extract(epoch from '2026-07-20 07:14:48'::timestamp) - extract(epoch from '2026-07-20 07:14: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'), 47645, 'SRID=4674;POINT (-40.321677 -2.788645)', '2026-07-20 07:14:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321785 -2.788591)'), GeomFromEWKT('SRID=4674;POINT (-40.321677 -2.788645)'))) / (select extract(epoch from '2026-07-20 07:14:55'::timestamp) - extract(epoch from '2026-07-20 07:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321785 -2.788591)'), GeomFromEWKT('SRID=4674;POINT (-40.321677 -2.788645)'))) / (select extract(epoch from '2026-07-20 07:14:55'::timestamp) - extract(epoch from '2026-07-20 07:14:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.321559 -2.788706)', '2026-07-20 07:15:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321677 -2.788645)'), GeomFromEWKT('SRID=4674;POINT (-40.321559 -2.788706)'))) / (select extract(epoch from '2026-07-20 07:15:02'::timestamp) - extract(epoch from '2026-07-20 07:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321677 -2.788645)'), GeomFromEWKT('SRID=4674;POINT (-40.321559 -2.788706)'))) / (select extract(epoch from '2026-07-20 07:15:02'::timestamp) - extract(epoch from '2026-07-20 07:14: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'), 47645, 'SRID=4674;POINT (-40.321474 -2.788742)', '2026-07-20 07:15:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321559 -2.788706)'), GeomFromEWKT('SRID=4674;POINT (-40.321474 -2.788742)'))) / (select extract(epoch from '2026-07-20 07:15:08'::timestamp) - extract(epoch from '2026-07-20 07:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321559 -2.788706)'), GeomFromEWKT('SRID=4674;POINT (-40.321474 -2.788742)'))) / (select extract(epoch from '2026-07-20 07:15:08'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.321372 -2.788784)', '2026-07-20 07:15:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321474 -2.788742)'), GeomFromEWKT('SRID=4674;POINT (-40.321372 -2.788784)'))) / (select extract(epoch from '2026-07-20 07:15:15'::timestamp) - extract(epoch from '2026-07-20 07:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321474 -2.788742)'), GeomFromEWKT('SRID=4674;POINT (-40.321372 -2.788784)'))) / (select extract(epoch from '2026-07-20 07:15:15'::timestamp) - extract(epoch from '2026-07-20 07:15:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.321227 -2.78886)', '2026-07-20 07:15:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321372 -2.788784)'), GeomFromEWKT('SRID=4674;POINT (-40.321227 -2.78886)'))) / (select extract(epoch from '2026-07-20 07:15:24'::timestamp) - extract(epoch from '2026-07-20 07:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321372 -2.788784)'), GeomFromEWKT('SRID=4674;POINT (-40.321227 -2.78886)'))) / (select extract(epoch from '2026-07-20 07:15:24'::timestamp) - extract(epoch from '2026-07-20 07:15: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'), 47645, 'SRID=4674;POINT (-40.321096 -2.788877)', '2026-07-20 07:15:31', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321227 -2.78886)'), GeomFromEWKT('SRID=4674;POINT (-40.321096 -2.788877)'))) / (select extract(epoch from '2026-07-20 07:15:31'::timestamp) - extract(epoch from '2026-07-20 07:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321227 -2.78886)'), GeomFromEWKT('SRID=4674;POINT (-40.321096 -2.788877)'))) / (select extract(epoch from '2026-07-20 07:15:31'::timestamp) - extract(epoch from '2026-07-20 07:15: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'), 47645, 'SRID=4674;POINT (-40.32098 -2.78884)', '2026-07-20 07:15:38', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321096 -2.788877)'), GeomFromEWKT('SRID=4674;POINT (-40.32098 -2.78884)'))) / (select extract(epoch from '2026-07-20 07:15:38'::timestamp) - extract(epoch from '2026-07-20 07:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321096 -2.788877)'), GeomFromEWKT('SRID=4674;POINT (-40.32098 -2.78884)'))) / (select extract(epoch from '2026-07-20 07:15:38'::timestamp) - extract(epoch from '2026-07-20 07:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.320864 -2.788817)', '2026-07-20 07:15:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32098 -2.78884)'), GeomFromEWKT('SRID=4674;POINT (-40.320864 -2.788817)'))) / (select extract(epoch from '2026-07-20 07:15:45'::timestamp) - extract(epoch from '2026-07-20 07:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32098 -2.78884)'), GeomFromEWKT('SRID=4674;POINT (-40.320864 -2.788817)'))) / (select extract(epoch from '2026-07-20 07:15:45'::timestamp) - extract(epoch from '2026-07-20 07:15: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'), 47645, 'SRID=4674;POINT (-40.320747 -2.788881)', '2026-07-20 07:15:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320864 -2.788817)'), GeomFromEWKT('SRID=4674;POINT (-40.320747 -2.788881)'))) / (select extract(epoch from '2026-07-20 07:15:53'::timestamp) - extract(epoch from '2026-07-20 07:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320864 -2.788817)'), GeomFromEWKT('SRID=4674;POINT (-40.320747 -2.788881)'))) / (select extract(epoch from '2026-07-20 07:15:53'::timestamp) - extract(epoch from '2026-07-20 07:15: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'), 47645, 'SRID=4674;POINT (-40.320647 -2.788929)', '2026-07-20 07:15:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320747 -2.788881)'), GeomFromEWKT('SRID=4674;POINT (-40.320647 -2.788929)'))) / (select extract(epoch from '2026-07-20 07:15:59'::timestamp) - extract(epoch from '2026-07-20 07:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320747 -2.788881)'), GeomFromEWKT('SRID=4674;POINT (-40.320647 -2.788929)'))) / (select extract(epoch from '2026-07-20 07:15:59'::timestamp) - extract(epoch from '2026-07-20 07:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.320584 -2.788996)', '2026-07-20 07:16:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320647 -2.788929)'), GeomFromEWKT('SRID=4674;POINT (-40.320584 -2.788996)'))) / (select extract(epoch from '2026-07-20 07:16:04'::timestamp) - extract(epoch from '2026-07-20 07:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320647 -2.788929)'), GeomFromEWKT('SRID=4674;POINT (-40.320584 -2.788996)'))) / (select extract(epoch from '2026-07-20 07:16:04'::timestamp) - extract(epoch from '2026-07-20 07:15:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.320502 -2.789061)', '2026-07-20 07:16:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320584 -2.788996)'), GeomFromEWKT('SRID=4674;POINT (-40.320502 -2.789061)'))) / (select extract(epoch from '2026-07-20 07:16:10'::timestamp) - extract(epoch from '2026-07-20 07:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320584 -2.788996)'), GeomFromEWKT('SRID=4674;POINT (-40.320502 -2.789061)'))) / (select extract(epoch from '2026-07-20 07:16:10'::timestamp) - extract(epoch from '2026-07-20 07:16:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.320397 -2.789121)', '2026-07-20 07:16:17', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320502 -2.789061)'), GeomFromEWKT('SRID=4674;POINT (-40.320397 -2.789121)'))) / (select extract(epoch from '2026-07-20 07:16:17'::timestamp) - extract(epoch from '2026-07-20 07:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320502 -2.789061)'), GeomFromEWKT('SRID=4674;POINT (-40.320397 -2.789121)'))) / (select extract(epoch from '2026-07-20 07:16:17'::timestamp) - extract(epoch from '2026-07-20 07:16:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.320299 -2.789199)', '2026-07-20 07:16:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320397 -2.789121)'), GeomFromEWKT('SRID=4674;POINT (-40.320299 -2.789199)'))) / (select extract(epoch from '2026-07-20 07:16:24'::timestamp) - extract(epoch from '2026-07-20 07:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320397 -2.789121)'), GeomFromEWKT('SRID=4674;POINT (-40.320299 -2.789199)'))) / (select extract(epoch from '2026-07-20 07:16:24'::timestamp) - extract(epoch from '2026-07-20 07:16: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'), 47645, 'SRID=4674;POINT (-40.320212 -2.789232)', '2026-07-20 07:16:31', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320299 -2.789199)'), GeomFromEWKT('SRID=4674;POINT (-40.320212 -2.789232)'))) / (select extract(epoch from '2026-07-20 07:16:31'::timestamp) - extract(epoch from '2026-07-20 07:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320299 -2.789199)'), GeomFromEWKT('SRID=4674;POINT (-40.320212 -2.789232)'))) / (select extract(epoch from '2026-07-20 07:16:31'::timestamp) - extract(epoch from '2026-07-20 07:16: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'), 47645, 'SRID=4674;POINT (-40.32017 -2.789231)', '2026-07-20 07:16:42', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320212 -2.789232)'), GeomFromEWKT('SRID=4674;POINT (-40.32017 -2.789231)'))) / (select extract(epoch from '2026-07-20 07:16:42'::timestamp) - extract(epoch from '2026-07-20 07:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320212 -2.789232)'), GeomFromEWKT('SRID=4674;POINT (-40.32017 -2.789231)'))) / (select extract(epoch from '2026-07-20 07:16:42'::timestamp) - extract(epoch from '2026-07-20 07:16:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.320196 -2.789214)', '2026-07-20 07:16:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32017 -2.789231)'), GeomFromEWKT('SRID=4674;POINT (-40.320196 -2.789214)'))) / (select extract(epoch from '2026-07-20 07:16:51'::timestamp) - extract(epoch from '2026-07-20 07:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32017 -2.789231)'), GeomFromEWKT('SRID=4674;POINT (-40.320196 -2.789214)'))) / (select extract(epoch from '2026-07-20 07:16:51'::timestamp) - extract(epoch from '2026-07-20 07:16:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.320241 -2.789212)', '2026-07-20 07:17:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320196 -2.789214)'), GeomFromEWKT('SRID=4674;POINT (-40.320241 -2.789212)'))) / (select extract(epoch from '2026-07-20 07:17:01'::timestamp) - extract(epoch from '2026-07-20 07:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320196 -2.789214)'), GeomFromEWKT('SRID=4674;POINT (-40.320241 -2.789212)'))) / (select extract(epoch from '2026-07-20 07:17:01'::timestamp) - extract(epoch from '2026-07-20 07:16:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.320309 -2.789224)', '2026-07-20 07:17:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320241 -2.789212)'), GeomFromEWKT('SRID=4674;POINT (-40.320309 -2.789224)'))) / (select extract(epoch from '2026-07-20 07:17:15'::timestamp) - extract(epoch from '2026-07-20 07:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320241 -2.789212)'), GeomFromEWKT('SRID=4674;POINT (-40.320309 -2.789224)'))) / (select extract(epoch from '2026-07-20 07:17:15'::timestamp) - extract(epoch from '2026-07-20 07:17: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'), 47645, 'SRID=4674;POINT (-40.320408 -2.789252)', '2026-07-20 07:17:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320309 -2.789224)'), GeomFromEWKT('SRID=4674;POINT (-40.320408 -2.789252)'))) / (select extract(epoch from '2026-07-20 07:17:31'::timestamp) - extract(epoch from '2026-07-20 07:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320309 -2.789224)'), GeomFromEWKT('SRID=4674;POINT (-40.320408 -2.789252)'))) / (select extract(epoch from '2026-07-20 07:17:31'::timestamp) - extract(epoch from '2026-07-20 07:17: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'), 47645, 'SRID=4674;POINT (-40.32049 -2.789276)', '2026-07-20 07:17:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320408 -2.789252)'), GeomFromEWKT('SRID=4674;POINT (-40.32049 -2.789276)'))) / (select extract(epoch from '2026-07-20 07:17:46'::timestamp) - extract(epoch from '2026-07-20 07:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320408 -2.789252)'), GeomFromEWKT('SRID=4674;POINT (-40.32049 -2.789276)'))) / (select extract(epoch from '2026-07-20 07:17:46'::timestamp) - extract(epoch from '2026-07-20 07:17:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.320542 -2.78929)', '2026-07-20 07:17:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32049 -2.789276)'), GeomFromEWKT('SRID=4674;POINT (-40.320542 -2.78929)'))) / (select extract(epoch from '2026-07-20 07:17:58'::timestamp) - extract(epoch from '2026-07-20 07:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32049 -2.789276)'), GeomFromEWKT('SRID=4674;POINT (-40.320542 -2.78929)'))) / (select extract(epoch from '2026-07-20 07:17:58'::timestamp) - extract(epoch from '2026-07-20 07:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.320578 -2.789289)', '2026-07-20 07:18:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320542 -2.78929)'), GeomFromEWKT('SRID=4674;POINT (-40.320578 -2.789289)'))) / (select extract(epoch from '2026-07-20 07:18:12'::timestamp) - extract(epoch from '2026-07-20 07:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320542 -2.78929)'), GeomFromEWKT('SRID=4674;POINT (-40.320578 -2.789289)'))) / (select extract(epoch from '2026-07-20 07:18:12'::timestamp) - extract(epoch from '2026-07-20 07:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.320615 -2.789297)', '2026-07-20 07:18:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320578 -2.789289)'), GeomFromEWKT('SRID=4674;POINT (-40.320615 -2.789297)'))) / (select extract(epoch from '2026-07-20 07:18:26'::timestamp) - extract(epoch from '2026-07-20 07:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320578 -2.789289)'), GeomFromEWKT('SRID=4674;POINT (-40.320615 -2.789297)'))) / (select extract(epoch from '2026-07-20 07:18:26'::timestamp) - extract(epoch from '2026-07-20 07:18: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'), 47645, 'SRID=4674;POINT (-40.320668 -2.7893)', '2026-07-20 07:18:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320615 -2.789297)'), GeomFromEWKT('SRID=4674;POINT (-40.320668 -2.7893)'))) / (select extract(epoch from '2026-07-20 07:18:39'::timestamp) - extract(epoch from '2026-07-20 07:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320615 -2.789297)'), GeomFromEWKT('SRID=4674;POINT (-40.320668 -2.7893)'))) / (select extract(epoch from '2026-07-20 07:18:39'::timestamp) - extract(epoch from '2026-07-20 07:18:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.320698 -2.7893)', '2026-07-20 07:18:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320668 -2.7893)'), GeomFromEWKT('SRID=4674;POINT (-40.320698 -2.7893)'))) / (select extract(epoch from '2026-07-20 07:18:49'::timestamp) - extract(epoch from '2026-07-20 07:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320668 -2.7893)'), GeomFromEWKT('SRID=4674;POINT (-40.320698 -2.7893)'))) / (select extract(epoch from '2026-07-20 07:18:49'::timestamp) - extract(epoch from '2026-07-20 07:18: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'), 47645, 'SRID=4674;POINT (-40.320765 -2.789303)', '2026-07-20 07:19:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320698 -2.7893)'), GeomFromEWKT('SRID=4674;POINT (-40.320765 -2.789303)'))) / (select extract(epoch from '2026-07-20 07:19:02'::timestamp) - extract(epoch from '2026-07-20 07:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320698 -2.7893)'), GeomFromEWKT('SRID=4674;POINT (-40.320765 -2.789303)'))) / (select extract(epoch from '2026-07-20 07:19:02'::timestamp) - extract(epoch from '2026-07-20 07:18: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'), 47645, 'SRID=4674;POINT (-40.320811 -2.789312)', '2026-07-20 07:19:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320765 -2.789303)'), GeomFromEWKT('SRID=4674;POINT (-40.320811 -2.789312)'))) / (select extract(epoch from '2026-07-20 07:19:15'::timestamp) - extract(epoch from '2026-07-20 07:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320765 -2.789303)'), GeomFromEWKT('SRID=4674;POINT (-40.320811 -2.789312)'))) / (select extract(epoch from '2026-07-20 07:19:15'::timestamp) - extract(epoch from '2026-07-20 07:19: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'), 47645, 'SRID=4674;POINT (-40.320865 -2.789333)', '2026-07-20 07:19:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320811 -2.789312)'), GeomFromEWKT('SRID=4674;POINT (-40.320865 -2.789333)'))) / (select extract(epoch from '2026-07-20 07:19:29'::timestamp) - extract(epoch from '2026-07-20 07:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320811 -2.789312)'), GeomFromEWKT('SRID=4674;POINT (-40.320865 -2.789333)'))) / (select extract(epoch from '2026-07-20 07:19:29'::timestamp) - extract(epoch from '2026-07-20 07:19:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.320916 -2.789333)', '2026-07-20 07:19:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320865 -2.789333)'), GeomFromEWKT('SRID=4674;POINT (-40.320916 -2.789333)'))) / (select extract(epoch from '2026-07-20 07:19:41'::timestamp) - extract(epoch from '2026-07-20 07:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320865 -2.789333)'), GeomFromEWKT('SRID=4674;POINT (-40.320916 -2.789333)'))) / (select extract(epoch from '2026-07-20 07:19:41'::timestamp) - extract(epoch from '2026-07-20 07:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.320973 -2.789343)', '2026-07-20 07:19:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320916 -2.789333)'), GeomFromEWKT('SRID=4674;POINT (-40.320973 -2.789343)'))) / (select extract(epoch from '2026-07-20 07:19:58'::timestamp) - extract(epoch from '2026-07-20 07:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320916 -2.789333)'), GeomFromEWKT('SRID=4674;POINT (-40.320973 -2.789343)'))) / (select extract(epoch from '2026-07-20 07:19:58'::timestamp) - extract(epoch from '2026-07-20 07:19:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.321017 -2.789354)', '2026-07-20 07:20:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320973 -2.789343)'), GeomFromEWKT('SRID=4674;POINT (-40.321017 -2.789354)'))) / (select extract(epoch from '2026-07-20 07:20:09'::timestamp) - extract(epoch from '2026-07-20 07:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320973 -2.789343)'), GeomFromEWKT('SRID=4674;POINT (-40.321017 -2.789354)'))) / (select extract(epoch from '2026-07-20 07:20:09'::timestamp) - extract(epoch from '2026-07-20 07:19:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.32106 -2.789359)', '2026-07-20 07:20:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321017 -2.789354)'), GeomFromEWKT('SRID=4674;POINT (-40.32106 -2.789359)'))) / (select extract(epoch from '2026-07-20 07:20:21'::timestamp) - extract(epoch from '2026-07-20 07:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321017 -2.789354)'), GeomFromEWKT('SRID=4674;POINT (-40.32106 -2.789359)'))) / (select extract(epoch from '2026-07-20 07:20:21'::timestamp) - extract(epoch from '2026-07-20 07:20: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'), 47645, 'SRID=4674;POINT (-40.321134 -2.789369)', '2026-07-20 07:20:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32106 -2.789359)'), GeomFromEWKT('SRID=4674;POINT (-40.321134 -2.789369)'))) / (select extract(epoch from '2026-07-20 07:20:36'::timestamp) - extract(epoch from '2026-07-20 07:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32106 -2.789359)'), GeomFromEWKT('SRID=4674;POINT (-40.321134 -2.789369)'))) / (select extract(epoch from '2026-07-20 07:20:36'::timestamp) - extract(epoch from '2026-07-20 07:20: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'), 47645, 'SRID=4674;POINT (-40.321182 -2.789364)', '2026-07-20 07:20:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321134 -2.789369)'), GeomFromEWKT('SRID=4674;POINT (-40.321182 -2.789364)'))) / (select extract(epoch from '2026-07-20 07:20:48'::timestamp) - extract(epoch from '2026-07-20 07:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321134 -2.789369)'), GeomFromEWKT('SRID=4674;POINT (-40.321182 -2.789364)'))) / (select extract(epoch from '2026-07-20 07:20:48'::timestamp) - extract(epoch from '2026-07-20 07:20: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'), 47645, 'SRID=4674;POINT (-40.321233 -2.789359)', '2026-07-20 07:21:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321182 -2.789364)'), GeomFromEWKT('SRID=4674;POINT (-40.321233 -2.789359)'))) / (select extract(epoch from '2026-07-20 07:21:01'::timestamp) - extract(epoch from '2026-07-20 07:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321182 -2.789364)'), GeomFromEWKT('SRID=4674;POINT (-40.321233 -2.789359)'))) / (select extract(epoch from '2026-07-20 07:21:01'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.321291 -2.78936)', '2026-07-20 07:21:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321233 -2.789359)'), GeomFromEWKT('SRID=4674;POINT (-40.321291 -2.78936)'))) / (select extract(epoch from '2026-07-20 07:21:12'::timestamp) - extract(epoch from '2026-07-20 07:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321233 -2.789359)'), GeomFromEWKT('SRID=4674;POINT (-40.321291 -2.78936)'))) / (select extract(epoch from '2026-07-20 07:21:12'::timestamp) - extract(epoch from '2026-07-20 07:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.321359 -2.789369)', '2026-07-20 07:21:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321291 -2.78936)'), GeomFromEWKT('SRID=4674;POINT (-40.321359 -2.789369)'))) / (select extract(epoch from '2026-07-20 07:21:26'::timestamp) - extract(epoch from '2026-07-20 07:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321291 -2.78936)'), GeomFromEWKT('SRID=4674;POINT (-40.321359 -2.789369)'))) / (select extract(epoch from '2026-07-20 07:21:26'::timestamp) - extract(epoch from '2026-07-20 07:21:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.321398 -2.789375)', '2026-07-20 07:21:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321359 -2.789369)'), GeomFromEWKT('SRID=4674;POINT (-40.321398 -2.789375)'))) / (select extract(epoch from '2026-07-20 07:21:37'::timestamp) - extract(epoch from '2026-07-20 07:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321359 -2.789369)'), GeomFromEWKT('SRID=4674;POINT (-40.321398 -2.789375)'))) / (select extract(epoch from '2026-07-20 07:21:37'::timestamp) - extract(epoch from '2026-07-20 07:21:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.321452 -2.789386)', '2026-07-20 07:21:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321398 -2.789375)'), GeomFromEWKT('SRID=4674;POINT (-40.321452 -2.789386)'))) / (select extract(epoch from '2026-07-20 07:21:48'::timestamp) - extract(epoch from '2026-07-20 07:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321398 -2.789375)'), GeomFromEWKT('SRID=4674;POINT (-40.321452 -2.789386)'))) / (select extract(epoch from '2026-07-20 07:21:48'::timestamp) - extract(epoch from '2026-07-20 07:21:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.3215 -2.789399)', '2026-07-20 07:22:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321452 -2.789386)'), GeomFromEWKT('SRID=4674;POINT (-40.3215 -2.789399)'))) / (select extract(epoch from '2026-07-20 07:22:00'::timestamp) - extract(epoch from '2026-07-20 07:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321452 -2.789386)'), GeomFromEWKT('SRID=4674;POINT (-40.3215 -2.789399)'))) / (select extract(epoch from '2026-07-20 07:22:00'::timestamp) - extract(epoch from '2026-07-20 07:21: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'), 47645, 'SRID=4674;POINT (-40.32157 -2.789415)', '2026-07-20 07:22:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3215 -2.789399)'), GeomFromEWKT('SRID=4674;POINT (-40.32157 -2.789415)'))) / (select extract(epoch from '2026-07-20 07:22:16'::timestamp) - extract(epoch from '2026-07-20 07:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3215 -2.789399)'), GeomFromEWKT('SRID=4674;POINT (-40.32157 -2.789415)'))) / (select extract(epoch from '2026-07-20 07:22:16'::timestamp) - extract(epoch from '2026-07-20 07:22: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'), 47645, 'SRID=4674;POINT (-40.321623 -2.789426)', '2026-07-20 07:22:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32157 -2.789415)'), GeomFromEWKT('SRID=4674;POINT (-40.321623 -2.789426)'))) / (select extract(epoch from '2026-07-20 07:22:29'::timestamp) - extract(epoch from '2026-07-20 07:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32157 -2.789415)'), GeomFromEWKT('SRID=4674;POINT (-40.321623 -2.789426)'))) / (select extract(epoch from '2026-07-20 07:22:29'::timestamp) - extract(epoch from '2026-07-20 07:22:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.321672 -2.789434)', '2026-07-20 07:22:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321623 -2.789426)'), GeomFromEWKT('SRID=4674;POINT (-40.321672 -2.789434)'))) / (select extract(epoch from '2026-07-20 07:22:41'::timestamp) - extract(epoch from '2026-07-20 07:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321623 -2.789426)'), GeomFromEWKT('SRID=4674;POINT (-40.321672 -2.789434)'))) / (select extract(epoch from '2026-07-20 07:22:41'::timestamp) - extract(epoch from '2026-07-20 07:22:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.321726 -2.789443)', '2026-07-20 07:22:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321672 -2.789434)'), GeomFromEWKT('SRID=4674;POINT (-40.321726 -2.789443)'))) / (select extract(epoch from '2026-07-20 07:22:54'::timestamp) - extract(epoch from '2026-07-20 07:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321672 -2.789434)'), GeomFromEWKT('SRID=4674;POINT (-40.321726 -2.789443)'))) / (select extract(epoch from '2026-07-20 07:22:54'::timestamp) - extract(epoch from '2026-07-20 07:22:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.321781 -2.789474)', '2026-07-20 07:23:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321726 -2.789443)'), GeomFromEWKT('SRID=4674;POINT (-40.321781 -2.789474)'))) / (select extract(epoch from '2026-07-20 07:23:04'::timestamp) - extract(epoch from '2026-07-20 07:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321726 -2.789443)'), GeomFromEWKT('SRID=4674;POINT (-40.321781 -2.789474)'))) / (select extract(epoch from '2026-07-20 07:23:04'::timestamp) - extract(epoch from '2026-07-20 07:22:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.321842 -2.789482)', '2026-07-20 07:23:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321781 -2.789474)'), GeomFromEWKT('SRID=4674;POINT (-40.321842 -2.789482)'))) / (select extract(epoch from '2026-07-20 07:23:19'::timestamp) - extract(epoch from '2026-07-20 07:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321781 -2.789474)'), GeomFromEWKT('SRID=4674;POINT (-40.321842 -2.789482)'))) / (select extract(epoch from '2026-07-20 07:23:19'::timestamp) - extract(epoch from '2026-07-20 07:23:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.32189 -2.78948)', '2026-07-20 07:23:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321842 -2.789482)'), GeomFromEWKT('SRID=4674;POINT (-40.32189 -2.78948)'))) / (select extract(epoch from '2026-07-20 07:23:30'::timestamp) - extract(epoch from '2026-07-20 07:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321842 -2.789482)'), GeomFromEWKT('SRID=4674;POINT (-40.32189 -2.78948)'))) / (select extract(epoch from '2026-07-20 07:23:30'::timestamp) - extract(epoch from '2026-07-20 07:23: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'), 47645, 'SRID=4674;POINT (-40.321941 -2.789485)', '2026-07-20 07:23:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32189 -2.78948)'), GeomFromEWKT('SRID=4674;POINT (-40.321941 -2.789485)'))) / (select extract(epoch from '2026-07-20 07:23:40'::timestamp) - extract(epoch from '2026-07-20 07:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32189 -2.78948)'), GeomFromEWKT('SRID=4674;POINT (-40.321941 -2.789485)'))) / (select extract(epoch from '2026-07-20 07:23:40'::timestamp) - extract(epoch from '2026-07-20 07:23: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'), 47645, 'SRID=4674;POINT (-40.322005 -2.78948)', '2026-07-20 07:23:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321941 -2.789485)'), GeomFromEWKT('SRID=4674;POINT (-40.322005 -2.78948)'))) / (select extract(epoch from '2026-07-20 07:23:51'::timestamp) - extract(epoch from '2026-07-20 07:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321941 -2.789485)'), GeomFromEWKT('SRID=4674;POINT (-40.322005 -2.78948)'))) / (select extract(epoch from '2026-07-20 07:23:51'::timestamp) - extract(epoch from '2026-07-20 07:23:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.322087 -2.789486)', '2026-07-20 07:24:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322005 -2.78948)'), GeomFromEWKT('SRID=4674;POINT (-40.322087 -2.789486)'))) / (select extract(epoch from '2026-07-20 07:24:03'::timestamp) - extract(epoch from '2026-07-20 07:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322005 -2.78948)'), GeomFromEWKT('SRID=4674;POINT (-40.322087 -2.789486)'))) / (select extract(epoch from '2026-07-20 07:24:03'::timestamp) - extract(epoch from '2026-07-20 07:23: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'), 47645, 'SRID=4674;POINT (-40.322149 -2.789502)', '2026-07-20 07:24:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322087 -2.789486)'), GeomFromEWKT('SRID=4674;POINT (-40.322149 -2.789502)'))) / (select extract(epoch from '2026-07-20 07:24:15'::timestamp) - extract(epoch from '2026-07-20 07:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322087 -2.789486)'), GeomFromEWKT('SRID=4674;POINT (-40.322149 -2.789502)'))) / (select extract(epoch from '2026-07-20 07:24:15'::timestamp) - extract(epoch from '2026-07-20 07:24: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'), 47645, 'SRID=4674;POINT (-40.322197 -2.789514)', '2026-07-20 07:24:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322149 -2.789502)'), GeomFromEWKT('SRID=4674;POINT (-40.322197 -2.789514)'))) / (select extract(epoch from '2026-07-20 07:24:26'::timestamp) - extract(epoch from '2026-07-20 07:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322149 -2.789502)'), GeomFromEWKT('SRID=4674;POINT (-40.322197 -2.789514)'))) / (select extract(epoch from '2026-07-20 07:24:26'::timestamp) - extract(epoch from '2026-07-20 07:24: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'), 47645, 'SRID=4674;POINT (-40.32226 -2.789527)', '2026-07-20 07:24:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322197 -2.789514)'), GeomFromEWKT('SRID=4674;POINT (-40.32226 -2.789527)'))) / (select extract(epoch from '2026-07-20 07:24:36'::timestamp) - extract(epoch from '2026-07-20 07:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322197 -2.789514)'), GeomFromEWKT('SRID=4674;POINT (-40.32226 -2.789527)'))) / (select extract(epoch from '2026-07-20 07:24:36'::timestamp) - extract(epoch from '2026-07-20 07:24: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'), 47645, 'SRID=4674;POINT (-40.322314 -2.789541)', '2026-07-20 07:24:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32226 -2.789527)'), GeomFromEWKT('SRID=4674;POINT (-40.322314 -2.789541)'))) / (select extract(epoch from '2026-07-20 07:24:46'::timestamp) - extract(epoch from '2026-07-20 07:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32226 -2.789527)'), GeomFromEWKT('SRID=4674;POINT (-40.322314 -2.789541)'))) / (select extract(epoch from '2026-07-20 07:24:46'::timestamp) - extract(epoch from '2026-07-20 07:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.322371 -2.789549)', '2026-07-20 07:24:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322314 -2.789541)'), GeomFromEWKT('SRID=4674;POINT (-40.322371 -2.789549)'))) / (select extract(epoch from '2026-07-20 07:24:57'::timestamp) - extract(epoch from '2026-07-20 07:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322314 -2.789541)'), GeomFromEWKT('SRID=4674;POINT (-40.322371 -2.789549)'))) / (select extract(epoch from '2026-07-20 07:24:57'::timestamp) - extract(epoch from '2026-07-20 07:24:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.322426 -2.789563)', '2026-07-20 07:25:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322371 -2.789549)'), GeomFromEWKT('SRID=4674;POINT (-40.322426 -2.789563)'))) / (select extract(epoch from '2026-07-20 07:25:07'::timestamp) - extract(epoch from '2026-07-20 07:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322371 -2.789549)'), GeomFromEWKT('SRID=4674;POINT (-40.322426 -2.789563)'))) / (select extract(epoch from '2026-07-20 07:25:07'::timestamp) - extract(epoch from '2026-07-20 07:24:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.322481 -2.789576)', '2026-07-20 07:25:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322426 -2.789563)'), GeomFromEWKT('SRID=4674;POINT (-40.322481 -2.789576)'))) / (select extract(epoch from '2026-07-20 07:25:18'::timestamp) - extract(epoch from '2026-07-20 07:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322426 -2.789563)'), GeomFromEWKT('SRID=4674;POINT (-40.322481 -2.789576)'))) / (select extract(epoch from '2026-07-20 07:25:18'::timestamp) - extract(epoch from '2026-07-20 07:25:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.322548 -2.789595)', '2026-07-20 07:25:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322481 -2.789576)'), GeomFromEWKT('SRID=4674;POINT (-40.322548 -2.789595)'))) / (select extract(epoch from '2026-07-20 07:25:29'::timestamp) - extract(epoch from '2026-07-20 07:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322481 -2.789576)'), GeomFromEWKT('SRID=4674;POINT (-40.322548 -2.789595)'))) / (select extract(epoch from '2026-07-20 07:25:29'::timestamp) - extract(epoch from '2026-07-20 07:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.322623 -2.789608)', '2026-07-20 07:25:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322548 -2.789595)'), GeomFromEWKT('SRID=4674;POINT (-40.322623 -2.789608)'))) / (select extract(epoch from '2026-07-20 07:25:43'::timestamp) - extract(epoch from '2026-07-20 07:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322548 -2.789595)'), GeomFromEWKT('SRID=4674;POINT (-40.322623 -2.789608)'))) / (select extract(epoch from '2026-07-20 07:25:43'::timestamp) - extract(epoch from '2026-07-20 07:25:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.322672 -2.789611)', '2026-07-20 07:25:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322623 -2.789608)'), GeomFromEWKT('SRID=4674;POINT (-40.322672 -2.789611)'))) / (select extract(epoch from '2026-07-20 07:25:56'::timestamp) - extract(epoch from '2026-07-20 07:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322623 -2.789608)'), GeomFromEWKT('SRID=4674;POINT (-40.322672 -2.789611)'))) / (select extract(epoch from '2026-07-20 07:25:56'::timestamp) - extract(epoch from '2026-07-20 07:25: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'), 47645, 'SRID=4674;POINT (-40.322744 -2.789644)', '2026-07-20 07:26:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322672 -2.789611)'), GeomFromEWKT('SRID=4674;POINT (-40.322744 -2.789644)'))) / (select extract(epoch from '2026-07-20 07:26:11'::timestamp) - extract(epoch from '2026-07-20 07:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322672 -2.789611)'), GeomFromEWKT('SRID=4674;POINT (-40.322744 -2.789644)'))) / (select extract(epoch from '2026-07-20 07:26:11'::timestamp) - extract(epoch from '2026-07-20 07:25: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'), 47645, 'SRID=4674;POINT (-40.322831 -2.789637)', '2026-07-20 07:26:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322744 -2.789644)'), GeomFromEWKT('SRID=4674;POINT (-40.322831 -2.789637)'))) / (select extract(epoch from '2026-07-20 07:26:27'::timestamp) - extract(epoch from '2026-07-20 07:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322744 -2.789644)'), GeomFromEWKT('SRID=4674;POINT (-40.322831 -2.789637)'))) / (select extract(epoch from '2026-07-20 07:26:27'::timestamp) - extract(epoch from '2026-07-20 07:26:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.322904 -2.789587)', '2026-07-20 07:26:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322831 -2.789637)'), GeomFromEWKT('SRID=4674;POINT (-40.322904 -2.789587)'))) / (select extract(epoch from '2026-07-20 07:26:44'::timestamp) - extract(epoch from '2026-07-20 07:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322831 -2.789637)'), GeomFromEWKT('SRID=4674;POINT (-40.322904 -2.789587)'))) / (select extract(epoch from '2026-07-20 07:26:44'::timestamp) - extract(epoch from '2026-07-20 07:26: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'), 47645, 'SRID=4674;POINT (-40.322934 -2.789534)', '2026-07-20 07:26:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322904 -2.789587)'), GeomFromEWKT('SRID=4674;POINT (-40.322934 -2.789534)'))) / (select extract(epoch from '2026-07-20 07:26:57'::timestamp) - extract(epoch from '2026-07-20 07:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322904 -2.789587)'), GeomFromEWKT('SRID=4674;POINT (-40.322934 -2.789534)'))) / (select extract(epoch from '2026-07-20 07:26:57'::timestamp) - extract(epoch from '2026-07-20 07:26: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'), 47645, 'SRID=4674;POINT (-40.323025 -2.789523)', '2026-07-20 07:27:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322934 -2.789534)'), GeomFromEWKT('SRID=4674;POINT (-40.323025 -2.789523)'))) / (select extract(epoch from '2026-07-20 07:27:08'::timestamp) - extract(epoch from '2026-07-20 07:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322934 -2.789534)'), GeomFromEWKT('SRID=4674;POINT (-40.323025 -2.789523)'))) / (select extract(epoch from '2026-07-20 07:27:08'::timestamp) - extract(epoch from '2026-07-20 07:26: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'), 47645, 'SRID=4674;POINT (-40.323111 -2.789524)', '2026-07-20 07:27:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323025 -2.789523)'), GeomFromEWKT('SRID=4674;POINT (-40.323111 -2.789524)'))) / (select extract(epoch from '2026-07-20 07:27:19'::timestamp) - extract(epoch from '2026-07-20 07:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323025 -2.789523)'), GeomFromEWKT('SRID=4674;POINT (-40.323111 -2.789524)'))) / (select extract(epoch from '2026-07-20 07:27:19'::timestamp) - extract(epoch from '2026-07-20 07:27: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'), 47645, 'SRID=4674;POINT (-40.323148 -2.789536)', '2026-07-20 07:27:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323111 -2.789524)'), GeomFromEWKT('SRID=4674;POINT (-40.323148 -2.789536)'))) / (select extract(epoch from '2026-07-20 07:27:25'::timestamp) - extract(epoch from '2026-07-20 07:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323111 -2.789524)'), GeomFromEWKT('SRID=4674;POINT (-40.323148 -2.789536)'))) / (select extract(epoch from '2026-07-20 07:27:25'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.323214 -2.789551)', '2026-07-20 07:27:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323148 -2.789536)'), GeomFromEWKT('SRID=4674;POINT (-40.323214 -2.789551)'))) / (select extract(epoch from '2026-07-20 07:27:37'::timestamp) - extract(epoch from '2026-07-20 07:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323148 -2.789536)'), GeomFromEWKT('SRID=4674;POINT (-40.323214 -2.789551)'))) / (select extract(epoch from '2026-07-20 07:27:37'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.323263 -2.789561)', '2026-07-20 07:27:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323214 -2.789551)'), GeomFromEWKT('SRID=4674;POINT (-40.323263 -2.789561)'))) / (select extract(epoch from '2026-07-20 07:27:48'::timestamp) - extract(epoch from '2026-07-20 07:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323214 -2.789551)'), GeomFromEWKT('SRID=4674;POINT (-40.323263 -2.789561)'))) / (select extract(epoch from '2026-07-20 07:27:48'::timestamp) - extract(epoch from '2026-07-20 07:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.323348 -2.789581)', '2026-07-20 07:28:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323263 -2.789561)'), GeomFromEWKT('SRID=4674;POINT (-40.323348 -2.789581)'))) / (select extract(epoch from '2026-07-20 07:28:02'::timestamp) - extract(epoch from '2026-07-20 07:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323263 -2.789561)'), GeomFromEWKT('SRID=4674;POINT (-40.323348 -2.789581)'))) / (select extract(epoch from '2026-07-20 07:28:02'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.323426 -2.789577)', '2026-07-20 07:28:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323348 -2.789581)'), GeomFromEWKT('SRID=4674;POINT (-40.323426 -2.789577)'))) / (select extract(epoch from '2026-07-20 07:28:18'::timestamp) - extract(epoch from '2026-07-20 07:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323348 -2.789581)'), GeomFromEWKT('SRID=4674;POINT (-40.323426 -2.789577)'))) / (select extract(epoch from '2026-07-20 07:28:18'::timestamp) - extract(epoch from '2026-07-20 07:28:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.323508 -2.789594)', '2026-07-20 07:28:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323426 -2.789577)'), GeomFromEWKT('SRID=4674;POINT (-40.323508 -2.789594)'))) / (select extract(epoch from '2026-07-20 07:28:32'::timestamp) - extract(epoch from '2026-07-20 07:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323426 -2.789577)'), GeomFromEWKT('SRID=4674;POINT (-40.323508 -2.789594)'))) / (select extract(epoch from '2026-07-20 07:28:32'::timestamp) - extract(epoch from '2026-07-20 07:28: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'), 47645, 'SRID=4674;POINT (-40.323585 -2.789605)', '2026-07-20 07:28:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323508 -2.789594)'), GeomFromEWKT('SRID=4674;POINT (-40.323585 -2.789605)'))) / (select extract(epoch from '2026-07-20 07:28:45'::timestamp) - extract(epoch from '2026-07-20 07:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323508 -2.789594)'), GeomFromEWKT('SRID=4674;POINT (-40.323585 -2.789605)'))) / (select extract(epoch from '2026-07-20 07:28:45'::timestamp) - extract(epoch from '2026-07-20 07:28: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'), 47645, 'SRID=4674;POINT (-40.323642 -2.789616)', '2026-07-20 07:28:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323585 -2.789605)'), GeomFromEWKT('SRID=4674;POINT (-40.323642 -2.789616)'))) / (select extract(epoch from '2026-07-20 07:28:57'::timestamp) - extract(epoch from '2026-07-20 07:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323585 -2.789605)'), GeomFromEWKT('SRID=4674;POINT (-40.323642 -2.789616)'))) / (select extract(epoch from '2026-07-20 07:28:57'::timestamp) - extract(epoch from '2026-07-20 07:28: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'), 47645, 'SRID=4674;POINT (-40.323691 -2.789623)', '2026-07-20 07:29:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323642 -2.789616)'), GeomFromEWKT('SRID=4674;POINT (-40.323691 -2.789623)'))) / (select extract(epoch from '2026-07-20 07:29:08'::timestamp) - extract(epoch from '2026-07-20 07:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323642 -2.789616)'), GeomFromEWKT('SRID=4674;POINT (-40.323691 -2.789623)'))) / (select extract(epoch from '2026-07-20 07:29:08'::timestamp) - extract(epoch from '2026-07-20 07:28:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.32374 -2.789622)', '2026-07-20 07:29:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323691 -2.789623)'), GeomFromEWKT('SRID=4674;POINT (-40.32374 -2.789622)'))) / (select extract(epoch from '2026-07-20 07:29:16'::timestamp) - extract(epoch from '2026-07-20 07:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323691 -2.789623)'), GeomFromEWKT('SRID=4674;POINT (-40.32374 -2.789622)'))) / (select extract(epoch from '2026-07-20 07:29:16'::timestamp) - extract(epoch from '2026-07-20 07:29: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'), 47645, 'SRID=4674;POINT (-40.323804 -2.789637)', '2026-07-20 07:29:25', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32374 -2.789622)'), GeomFromEWKT('SRID=4674;POINT (-40.323804 -2.789637)'))) / (select extract(epoch from '2026-07-20 07:29:25'::timestamp) - extract(epoch from '2026-07-20 07:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32374 -2.789622)'), GeomFromEWKT('SRID=4674;POINT (-40.323804 -2.789637)'))) / (select extract(epoch from '2026-07-20 07:29:25'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.323883 -2.789647)', '2026-07-20 07:29:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323804 -2.789637)'), GeomFromEWKT('SRID=4674;POINT (-40.323883 -2.789647)'))) / (select extract(epoch from '2026-07-20 07:29:39'::timestamp) - extract(epoch from '2026-07-20 07:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323804 -2.789637)'), GeomFromEWKT('SRID=4674;POINT (-40.323883 -2.789647)'))) / (select extract(epoch from '2026-07-20 07:29:39'::timestamp) - extract(epoch from '2026-07-20 07:29: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'), 47645, 'SRID=4674;POINT (-40.323945 -2.789665)', '2026-07-20 07:29:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323883 -2.789647)'), GeomFromEWKT('SRID=4674;POINT (-40.323945 -2.789665)'))) / (select extract(epoch from '2026-07-20 07:29:51'::timestamp) - extract(epoch from '2026-07-20 07:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323883 -2.789647)'), GeomFromEWKT('SRID=4674;POINT (-40.323945 -2.789665)'))) / (select extract(epoch from '2026-07-20 07:29:51'::timestamp) - extract(epoch from '2026-07-20 07:29: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'), 47645, 'SRID=4674;POINT (-40.324013 -2.789683)', '2026-07-20 07:30:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323945 -2.789665)'), GeomFromEWKT('SRID=4674;POINT (-40.324013 -2.789683)'))) / (select extract(epoch from '2026-07-20 07:30:05'::timestamp) - extract(epoch from '2026-07-20 07:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323945 -2.789665)'), GeomFromEWKT('SRID=4674;POINT (-40.324013 -2.789683)'))) / (select extract(epoch from '2026-07-20 07:30:05'::timestamp) - extract(epoch from '2026-07-20 07:29: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'), 47645, 'SRID=4674;POINT (-40.32406 -2.789696)', '2026-07-20 07:30:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324013 -2.789683)'), GeomFromEWKT('SRID=4674;POINT (-40.32406 -2.789696)'))) / (select extract(epoch from '2026-07-20 07:30:19'::timestamp) - extract(epoch from '2026-07-20 07:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324013 -2.789683)'), GeomFromEWKT('SRID=4674;POINT (-40.32406 -2.789696)'))) / (select extract(epoch from '2026-07-20 07:30:19'::timestamp) - extract(epoch from '2026-07-20 07:30: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'), 47645, 'SRID=4674;POINT (-40.324142 -2.789702)', '2026-07-20 07:30:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32406 -2.789696)'), GeomFromEWKT('SRID=4674;POINT (-40.324142 -2.789702)'))) / (select extract(epoch from '2026-07-20 07:30:30'::timestamp) - extract(epoch from '2026-07-20 07:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32406 -2.789696)'), GeomFromEWKT('SRID=4674;POINT (-40.324142 -2.789702)'))) / (select extract(epoch from '2026-07-20 07:30:30'::timestamp) - extract(epoch from '2026-07-20 07:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.324197 -2.789716)', '2026-07-20 07:30:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324142 -2.789702)'), GeomFromEWKT('SRID=4674;POINT (-40.324197 -2.789716)'))) / (select extract(epoch from '2026-07-20 07:30:39'::timestamp) - extract(epoch from '2026-07-20 07:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324142 -2.789702)'), GeomFromEWKT('SRID=4674;POINT (-40.324197 -2.789716)'))) / (select extract(epoch from '2026-07-20 07:30:39'::timestamp) - extract(epoch from '2026-07-20 07:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.324269 -2.789728)', '2026-07-20 07:30:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324197 -2.789716)'), GeomFromEWKT('SRID=4674;POINT (-40.324269 -2.789728)'))) / (select extract(epoch from '2026-07-20 07:30:49'::timestamp) - extract(epoch from '2026-07-20 07:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324197 -2.789716)'), GeomFromEWKT('SRID=4674;POINT (-40.324269 -2.789728)'))) / (select extract(epoch from '2026-07-20 07:30:49'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.324356 -2.789752)', '2026-07-20 07:30:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324269 -2.789728)'), GeomFromEWKT('SRID=4674;POINT (-40.324356 -2.789752)'))) / (select extract(epoch from '2026-07-20 07:30:59'::timestamp) - extract(epoch from '2026-07-20 07:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324269 -2.789728)'), GeomFromEWKT('SRID=4674;POINT (-40.324356 -2.789752)'))) / (select extract(epoch from '2026-07-20 07:30:59'::timestamp) - extract(epoch from '2026-07-20 07:30:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.324422 -2.789761)', '2026-07-20 07:31:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324356 -2.789752)'), GeomFromEWKT('SRID=4674;POINT (-40.324422 -2.789761)'))) / (select extract(epoch from '2026-07-20 07:31:10'::timestamp) - extract(epoch from '2026-07-20 07:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324356 -2.789752)'), GeomFromEWKT('SRID=4674;POINT (-40.324422 -2.789761)'))) / (select extract(epoch from '2026-07-20 07:31:10'::timestamp) - extract(epoch from '2026-07-20 07:30: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'), 47645, 'SRID=4674;POINT (-40.324525 -2.789774)', '2026-07-20 07:31:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324422 -2.789761)'), GeomFromEWKT('SRID=4674;POINT (-40.324525 -2.789774)'))) / (select extract(epoch from '2026-07-20 07:31:23'::timestamp) - extract(epoch from '2026-07-20 07:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324422 -2.789761)'), GeomFromEWKT('SRID=4674;POINT (-40.324525 -2.789774)'))) / (select extract(epoch from '2026-07-20 07:31:23'::timestamp) - extract(epoch from '2026-07-20 07:31: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'), 47645, 'SRID=4674;POINT (-40.324631 -2.789795)', '2026-07-20 07:31:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324525 -2.789774)'), GeomFromEWKT('SRID=4674;POINT (-40.324631 -2.789795)'))) / (select extract(epoch from '2026-07-20 07:31:34'::timestamp) - extract(epoch from '2026-07-20 07:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324525 -2.789774)'), GeomFromEWKT('SRID=4674;POINT (-40.324631 -2.789795)'))) / (select extract(epoch from '2026-07-20 07:31:34'::timestamp) - extract(epoch from '2026-07-20 07:31: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'), 47645, 'SRID=4674;POINT (-40.324704 -2.789831)', '2026-07-20 07:31:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324631 -2.789795)'), GeomFromEWKT('SRID=4674;POINT (-40.324704 -2.789831)'))) / (select extract(epoch from '2026-07-20 07:31:43'::timestamp) - extract(epoch from '2026-07-20 07:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324631 -2.789795)'), GeomFromEWKT('SRID=4674;POINT (-40.324704 -2.789831)'))) / (select extract(epoch from '2026-07-20 07:31:43'::timestamp) - extract(epoch from '2026-07-20 07:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.324803 -2.78987)', '2026-07-20 07:31:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324704 -2.789831)'), GeomFromEWKT('SRID=4674;POINT (-40.324803 -2.78987)'))) / (select extract(epoch from '2026-07-20 07:31:55'::timestamp) - extract(epoch from '2026-07-20 07:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324704 -2.789831)'), GeomFromEWKT('SRID=4674;POINT (-40.324803 -2.78987)'))) / (select extract(epoch from '2026-07-20 07:31:55'::timestamp) - extract(epoch from '2026-07-20 07:31: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'), 47645, 'SRID=4674;POINT (-40.324877 -2.789892)', '2026-07-20 07:32:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324803 -2.78987)'), GeomFromEWKT('SRID=4674;POINT (-40.324877 -2.789892)'))) / (select extract(epoch from '2026-07-20 07:32:05'::timestamp) - extract(epoch from '2026-07-20 07:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324803 -2.78987)'), GeomFromEWKT('SRID=4674;POINT (-40.324877 -2.789892)'))) / (select extract(epoch from '2026-07-20 07:32:05'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.324935 -2.789905)', '2026-07-20 07:32:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324877 -2.789892)'), GeomFromEWKT('SRID=4674;POINT (-40.324935 -2.789905)'))) / (select extract(epoch from '2026-07-20 07:32:13'::timestamp) - extract(epoch from '2026-07-20 07:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324877 -2.789892)'), GeomFromEWKT('SRID=4674;POINT (-40.324935 -2.789905)'))) / (select extract(epoch from '2026-07-20 07:32:13'::timestamp) - extract(epoch from '2026-07-20 07:32: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'), 47645, 'SRID=4674;POINT (-40.324996 -2.789911)', '2026-07-20 07:32:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324935 -2.789905)'), GeomFromEWKT('SRID=4674;POINT (-40.324996 -2.789911)'))) / (select extract(epoch from '2026-07-20 07:32:22'::timestamp) - extract(epoch from '2026-07-20 07:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324935 -2.789905)'), GeomFromEWKT('SRID=4674;POINT (-40.324996 -2.789911)'))) / (select extract(epoch from '2026-07-20 07:32:22'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.325071 -2.789925)', '2026-07-20 07:32:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324996 -2.789911)'), GeomFromEWKT('SRID=4674;POINT (-40.325071 -2.789925)'))) / (select extract(epoch from '2026-07-20 07:32:34'::timestamp) - extract(epoch from '2026-07-20 07:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324996 -2.789911)'), GeomFromEWKT('SRID=4674;POINT (-40.325071 -2.789925)'))) / (select extract(epoch from '2026-07-20 07:32:34'::timestamp) - extract(epoch from '2026-07-20 07:32: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'), 47645, 'SRID=4674;POINT (-40.325167 -2.789949)', '2026-07-20 07:32:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325071 -2.789925)'), GeomFromEWKT('SRID=4674;POINT (-40.325167 -2.789949)'))) / (select extract(epoch from '2026-07-20 07:32:50'::timestamp) - extract(epoch from '2026-07-20 07:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325071 -2.789925)'), GeomFromEWKT('SRID=4674;POINT (-40.325167 -2.789949)'))) / (select extract(epoch from '2026-07-20 07:32:50'::timestamp) - extract(epoch from '2026-07-20 07:32:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.325254 -2.789977)', '2026-07-20 07:33:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325167 -2.789949)'), GeomFromEWKT('SRID=4674;POINT (-40.325254 -2.789977)'))) / (select extract(epoch from '2026-07-20 07:33:05'::timestamp) - extract(epoch from '2026-07-20 07:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325167 -2.789949)'), GeomFromEWKT('SRID=4674;POINT (-40.325254 -2.789977)'))) / (select extract(epoch from '2026-07-20 07:33:05'::timestamp) - extract(epoch from '2026-07-20 07:32: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'), 47645, 'SRID=4674;POINT (-40.325331 -2.789988)', '2026-07-20 07:33:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325254 -2.789977)'), GeomFromEWKT('SRID=4674;POINT (-40.325331 -2.789988)'))) / (select extract(epoch from '2026-07-20 07:33:19'::timestamp) - extract(epoch from '2026-07-20 07:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325254 -2.789977)'), GeomFromEWKT('SRID=4674;POINT (-40.325331 -2.789988)'))) / (select extract(epoch from '2026-07-20 07:33:19'::timestamp) - extract(epoch from '2026-07-20 07:33: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'), 47645, 'SRID=4674;POINT (-40.325394 -2.790023)', '2026-07-20 07:33:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325331 -2.789988)'), GeomFromEWKT('SRID=4674;POINT (-40.325394 -2.790023)'))) / (select extract(epoch from '2026-07-20 07:33:33'::timestamp) - extract(epoch from '2026-07-20 07:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325331 -2.789988)'), GeomFromEWKT('SRID=4674;POINT (-40.325394 -2.790023)'))) / (select extract(epoch from '2026-07-20 07:33:33'::timestamp) - extract(epoch from '2026-07-20 07:33: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'), 47645, 'SRID=4674;POINT (-40.325477 -2.790065)', '2026-07-20 07:33:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325394 -2.790023)'), GeomFromEWKT('SRID=4674;POINT (-40.325477 -2.790065)'))) / (select extract(epoch from '2026-07-20 07:33:48'::timestamp) - extract(epoch from '2026-07-20 07:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325394 -2.790023)'), GeomFromEWKT('SRID=4674;POINT (-40.325477 -2.790065)'))) / (select extract(epoch from '2026-07-20 07:33:48'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.325594 -2.790162)', '2026-07-20 07:34:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325477 -2.790065)'), GeomFromEWKT('SRID=4674;POINT (-40.325594 -2.790162)'))) / (select extract(epoch from '2026-07-20 07:34:01'::timestamp) - extract(epoch from '2026-07-20 07:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325477 -2.790065)'), GeomFromEWKT('SRID=4674;POINT (-40.325594 -2.790162)'))) / (select extract(epoch from '2026-07-20 07:34:01'::timestamp) - extract(epoch from '2026-07-20 07:33:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.325673 -2.790301)', '2026-07-20 07:34:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325594 -2.790162)'), GeomFromEWKT('SRID=4674;POINT (-40.325673 -2.790301)'))) / (select extract(epoch from '2026-07-20 07:34:13'::timestamp) - extract(epoch from '2026-07-20 07:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325594 -2.790162)'), GeomFromEWKT('SRID=4674;POINT (-40.325673 -2.790301)'))) / (select extract(epoch from '2026-07-20 07:34:13'::timestamp) - extract(epoch from '2026-07-20 07:34: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'), 47645, 'SRID=4674;POINT (-40.32577 -2.790416)', '2026-07-20 07:34:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325673 -2.790301)'), GeomFromEWKT('SRID=4674;POINT (-40.32577 -2.790416)'))) / (select extract(epoch from '2026-07-20 07:34:20'::timestamp) - extract(epoch from '2026-07-20 07:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325673 -2.790301)'), GeomFromEWKT('SRID=4674;POINT (-40.32577 -2.790416)'))) / (select extract(epoch from '2026-07-20 07:34:20'::timestamp) - extract(epoch from '2026-07-20 07:34: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'), 47645, 'SRID=4674;POINT (-40.325907 -2.790569)', '2026-07-20 07:34:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32577 -2.790416)'), GeomFromEWKT('SRID=4674;POINT (-40.325907 -2.790569)'))) / (select extract(epoch from '2026-07-20 07:34:28'::timestamp) - extract(epoch from '2026-07-20 07:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32577 -2.790416)'), GeomFromEWKT('SRID=4674;POINT (-40.325907 -2.790569)'))) / (select extract(epoch from '2026-07-20 07:34:28'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.326033 -2.790681)', '2026-07-20 07:34:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325907 -2.790569)'), GeomFromEWKT('SRID=4674;POINT (-40.326033 -2.790681)'))) / (select extract(epoch from '2026-07-20 07:34:34'::timestamp) - extract(epoch from '2026-07-20 07:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325907 -2.790569)'), GeomFromEWKT('SRID=4674;POINT (-40.326033 -2.790681)'))) / (select extract(epoch from '2026-07-20 07:34:34'::timestamp) - extract(epoch from '2026-07-20 07:34:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326118 -2.790816)', '2026-07-20 07:34:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326033 -2.790681)'), GeomFromEWKT('SRID=4674;POINT (-40.326118 -2.790816)'))) / (select extract(epoch from '2026-07-20 07:34:41'::timestamp) - extract(epoch from '2026-07-20 07:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326033 -2.790681)'), GeomFromEWKT('SRID=4674;POINT (-40.326118 -2.790816)'))) / (select extract(epoch from '2026-07-20 07:34:41'::timestamp) - extract(epoch from '2026-07-20 07:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326227 -2.790986)', '2026-07-20 07:34:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326118 -2.790816)'), GeomFromEWKT('SRID=4674;POINT (-40.326227 -2.790986)'))) / (select extract(epoch from '2026-07-20 07:34:49'::timestamp) - extract(epoch from '2026-07-20 07:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326118 -2.790816)'), GeomFromEWKT('SRID=4674;POINT (-40.326227 -2.790986)'))) / (select extract(epoch from '2026-07-20 07:34:49'::timestamp) - extract(epoch from '2026-07-20 07:34: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'), 47645, 'SRID=4674;POINT (-40.326364 -2.791141)', '2026-07-20 07:34:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326227 -2.790986)'), GeomFromEWKT('SRID=4674;POINT (-40.326364 -2.791141)'))) / (select extract(epoch from '2026-07-20 07:34:57'::timestamp) - extract(epoch from '2026-07-20 07:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326227 -2.790986)'), GeomFromEWKT('SRID=4674;POINT (-40.326364 -2.791141)'))) / (select extract(epoch from '2026-07-20 07:34:57'::timestamp) - extract(epoch from '2026-07-20 07:34:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326487 -2.791244)', '2026-07-20 07:35:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326364 -2.791141)'), GeomFromEWKT('SRID=4674;POINT (-40.326487 -2.791244)'))) / (select extract(epoch from '2026-07-20 07:35:03'::timestamp) - extract(epoch from '2026-07-20 07:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326364 -2.791141)'), GeomFromEWKT('SRID=4674;POINT (-40.326487 -2.791244)'))) / (select extract(epoch from '2026-07-20 07:35:03'::timestamp) - extract(epoch from '2026-07-20 07:34:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326663 -2.791376)', '2026-07-20 07:35:10', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326487 -2.791244)'), GeomFromEWKT('SRID=4674;POINT (-40.326663 -2.791376)'))) / (select extract(epoch from '2026-07-20 07:35:10'::timestamp) - extract(epoch from '2026-07-20 07:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326487 -2.791244)'), GeomFromEWKT('SRID=4674;POINT (-40.326663 -2.791376)'))) / (select extract(epoch from '2026-07-20 07:35:10'::timestamp) - extract(epoch from '2026-07-20 07:35:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.326793 -2.79149)', '2026-07-20 07:35:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326663 -2.791376)'), GeomFromEWKT('SRID=4674;POINT (-40.326793 -2.79149)'))) / (select extract(epoch from '2026-07-20 07:35:16'::timestamp) - extract(epoch from '2026-07-20 07:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326663 -2.791376)'), GeomFromEWKT('SRID=4674;POINT (-40.326793 -2.79149)'))) / (select extract(epoch from '2026-07-20 07:35:16'::timestamp) - extract(epoch from '2026-07-20 07:35: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'), 47645, 'SRID=4674;POINT (-40.326938 -2.791609)', '2026-07-20 07:35:22', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326793 -2.79149)'), GeomFromEWKT('SRID=4674;POINT (-40.326938 -2.791609)'))) / (select extract(epoch from '2026-07-20 07:35:22'::timestamp) - extract(epoch from '2026-07-20 07:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326793 -2.79149)'), GeomFromEWKT('SRID=4674;POINT (-40.326938 -2.791609)'))) / (select extract(epoch from '2026-07-20 07:35:22'::timestamp) - extract(epoch from '2026-07-20 07:35:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.327093 -2.791698)', '2026-07-20 07:35:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326938 -2.791609)'), GeomFromEWKT('SRID=4674;POINT (-40.327093 -2.791698)'))) / (select extract(epoch from '2026-07-20 07:35:28'::timestamp) - extract(epoch from '2026-07-20 07:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326938 -2.791609)'), GeomFromEWKT('SRID=4674;POINT (-40.327093 -2.791698)'))) / (select extract(epoch from '2026-07-20 07:35:28'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.327265 -2.791787)', '2026-07-20 07:35:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327093 -2.791698)'), GeomFromEWKT('SRID=4674;POINT (-40.327265 -2.791787)'))) / (select extract(epoch from '2026-07-20 07:35:35'::timestamp) - extract(epoch from '2026-07-20 07:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327093 -2.791698)'), GeomFromEWKT('SRID=4674;POINT (-40.327265 -2.791787)'))) / (select extract(epoch from '2026-07-20 07:35:35'::timestamp) - extract(epoch from '2026-07-20 07:35: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'), 47645, 'SRID=4674;POINT (-40.32744 -2.791911)', '2026-07-20 07:35:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327265 -2.791787)'), GeomFromEWKT('SRID=4674;POINT (-40.32744 -2.791911)'))) / (select extract(epoch from '2026-07-20 07:35:43'::timestamp) - extract(epoch from '2026-07-20 07:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327265 -2.791787)'), GeomFromEWKT('SRID=4674;POINT (-40.32744 -2.791911)'))) / (select extract(epoch from '2026-07-20 07:35:43'::timestamp) - extract(epoch from '2026-07-20 07:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.327593 -2.792018)', '2026-07-20 07:35:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32744 -2.791911)'), GeomFromEWKT('SRID=4674;POINT (-40.327593 -2.792018)'))) / (select extract(epoch from '2026-07-20 07:35:50'::timestamp) - extract(epoch from '2026-07-20 07:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32744 -2.791911)'), GeomFromEWKT('SRID=4674;POINT (-40.327593 -2.792018)'))) / (select extract(epoch from '2026-07-20 07:35:50'::timestamp) - extract(epoch from '2026-07-20 07:35: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'), 47645, 'SRID=4674;POINT (-40.32777 -2.792123)', '2026-07-20 07:35:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327593 -2.792018)'), GeomFromEWKT('SRID=4674;POINT (-40.32777 -2.792123)'))) / (select extract(epoch from '2026-07-20 07:35:58'::timestamp) - extract(epoch from '2026-07-20 07:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327593 -2.792018)'), GeomFromEWKT('SRID=4674;POINT (-40.32777 -2.792123)'))) / (select extract(epoch from '2026-07-20 07:35:58'::timestamp) - extract(epoch from '2026-07-20 07:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.327967 -2.79224)', '2026-07-20 07:36:06', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32777 -2.792123)'), GeomFromEWKT('SRID=4674;POINT (-40.327967 -2.79224)'))) / (select extract(epoch from '2026-07-20 07:36:06'::timestamp) - extract(epoch from '2026-07-20 07:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32777 -2.792123)'), GeomFromEWKT('SRID=4674;POINT (-40.327967 -2.79224)'))) / (select extract(epoch from '2026-07-20 07:36:06'::timestamp) - extract(epoch from '2026-07-20 07:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328105 -2.792312)', '2026-07-20 07:36:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327967 -2.79224)'), GeomFromEWKT('SRID=4674;POINT (-40.328105 -2.792312)'))) / (select extract(epoch from '2026-07-20 07:36:12'::timestamp) - extract(epoch from '2026-07-20 07:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327967 -2.79224)'), GeomFromEWKT('SRID=4674;POINT (-40.328105 -2.792312)'))) / (select extract(epoch from '2026-07-20 07:36:12'::timestamp) - extract(epoch from '2026-07-20 07:36:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328243 -2.792391)', '2026-07-20 07:36:18', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328105 -2.792312)'), GeomFromEWKT('SRID=4674;POINT (-40.328243 -2.792391)'))) / (select extract(epoch from '2026-07-20 07:36:18'::timestamp) - extract(epoch from '2026-07-20 07:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328105 -2.792312)'), GeomFromEWKT('SRID=4674;POINT (-40.328243 -2.792391)'))) / (select extract(epoch from '2026-07-20 07:36:18'::timestamp) - extract(epoch from '2026-07-20 07:36:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328367 -2.792458)', '2026-07-20 07:36:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328243 -2.792391)'), GeomFromEWKT('SRID=4674;POINT (-40.328367 -2.792458)'))) / (select extract(epoch from '2026-07-20 07:36:23'::timestamp) - extract(epoch from '2026-07-20 07:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328243 -2.792391)'), GeomFromEWKT('SRID=4674;POINT (-40.328367 -2.792458)'))) / (select extract(epoch from '2026-07-20 07:36:23'::timestamp) - extract(epoch from '2026-07-20 07:36:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328476 -2.792514)', '2026-07-20 07:36:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328367 -2.792458)'), GeomFromEWKT('SRID=4674;POINT (-40.328476 -2.792514)'))) / (select extract(epoch from '2026-07-20 07:36:28'::timestamp) - extract(epoch from '2026-07-20 07:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328367 -2.792458)'), GeomFromEWKT('SRID=4674;POINT (-40.328476 -2.792514)'))) / (select extract(epoch from '2026-07-20 07:36:28'::timestamp) - extract(epoch from '2026-07-20 07:36:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328601 -2.792581)', '2026-07-20 07:36:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328476 -2.792514)'), GeomFromEWKT('SRID=4674;POINT (-40.328601 -2.792581)'))) / (select extract(epoch from '2026-07-20 07:36:34'::timestamp) - extract(epoch from '2026-07-20 07:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328476 -2.792514)'), GeomFromEWKT('SRID=4674;POINT (-40.328601 -2.792581)'))) / (select extract(epoch from '2026-07-20 07:36:34'::timestamp) - extract(epoch from '2026-07-20 07:36: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'), 47645, 'SRID=4674;POINT (-40.328725 -2.792654)', '2026-07-20 07:36:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328601 -2.792581)'), GeomFromEWKT('SRID=4674;POINT (-40.328725 -2.792654)'))) / (select extract(epoch from '2026-07-20 07:36:40'::timestamp) - extract(epoch from '2026-07-20 07:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328601 -2.792581)'), GeomFromEWKT('SRID=4674;POINT (-40.328725 -2.792654)'))) / (select extract(epoch from '2026-07-20 07:36:40'::timestamp) - extract(epoch from '2026-07-20 07:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328866 -2.792735)', '2026-07-20 07:36:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328725 -2.792654)'), GeomFromEWKT('SRID=4674;POINT (-40.328866 -2.792735)'))) / (select extract(epoch from '2026-07-20 07:36:47'::timestamp) - extract(epoch from '2026-07-20 07:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328725 -2.792654)'), GeomFromEWKT('SRID=4674;POINT (-40.328866 -2.792735)'))) / (select extract(epoch from '2026-07-20 07:36:47'::timestamp) - extract(epoch from '2026-07-20 07:36: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'), 47645, 'SRID=4674;POINT (-40.328983 -2.792812)', '2026-07-20 07:36:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328866 -2.792735)'), GeomFromEWKT('SRID=4674;POINT (-40.328983 -2.792812)'))) / (select extract(epoch from '2026-07-20 07:36:53'::timestamp) - extract(epoch from '2026-07-20 07:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328866 -2.792735)'), GeomFromEWKT('SRID=4674;POINT (-40.328983 -2.792812)'))) / (select extract(epoch from '2026-07-20 07:36:53'::timestamp) - extract(epoch from '2026-07-20 07:36:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329095 -2.792919)', '2026-07-20 07:37:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328983 -2.792812)'), GeomFromEWKT('SRID=4674;POINT (-40.329095 -2.792919)'))) / (select extract(epoch from '2026-07-20 07:37:00'::timestamp) - extract(epoch from '2026-07-20 07:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328983 -2.792812)'), GeomFromEWKT('SRID=4674;POINT (-40.329095 -2.792919)'))) / (select extract(epoch from '2026-07-20 07:37:00'::timestamp) - extract(epoch from '2026-07-20 07:36: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'), 47645, 'SRID=4674;POINT (-40.3292 -2.792996)', '2026-07-20 07:37:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329095 -2.792919)'), GeomFromEWKT('SRID=4674;POINT (-40.3292 -2.792996)'))) / (select extract(epoch from '2026-07-20 07:37:05'::timestamp) - extract(epoch from '2026-07-20 07:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329095 -2.792919)'), GeomFromEWKT('SRID=4674;POINT (-40.3292 -2.792996)'))) / (select extract(epoch from '2026-07-20 07:37:05'::timestamp) - extract(epoch from '2026-07-20 07:37: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'), 47645, 'SRID=4674;POINT (-40.329303 -2.793072)', '2026-07-20 07:37:10', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3292 -2.792996)'), GeomFromEWKT('SRID=4674;POINT (-40.329303 -2.793072)'))) / (select extract(epoch from '2026-07-20 07:37:10'::timestamp) - extract(epoch from '2026-07-20 07:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3292 -2.792996)'), GeomFromEWKT('SRID=4674;POINT (-40.329303 -2.793072)'))) / (select extract(epoch from '2026-07-20 07:37:10'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.32951 -2.793236)', '2026-07-20 07:37:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329303 -2.793072)'), GeomFromEWKT('SRID=4674;POINT (-40.32951 -2.793236)'))) / (select extract(epoch from '2026-07-20 07:37:20'::timestamp) - extract(epoch from '2026-07-20 07:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329303 -2.793072)'), GeomFromEWKT('SRID=4674;POINT (-40.32951 -2.793236)'))) / (select extract(epoch from '2026-07-20 07:37:20'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.329645 -2.793318)', '2026-07-20 07:37:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32951 -2.793236)'), GeomFromEWKT('SRID=4674;POINT (-40.329645 -2.793318)'))) / (select extract(epoch from '2026-07-20 07:37:26'::timestamp) - extract(epoch from '2026-07-20 07:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32951 -2.793236)'), GeomFromEWKT('SRID=4674;POINT (-40.329645 -2.793318)'))) / (select extract(epoch from '2026-07-20 07:37:26'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.329784 -2.793443)', '2026-07-20 07:37:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329645 -2.793318)'), GeomFromEWKT('SRID=4674;POINT (-40.329784 -2.793443)'))) / (select extract(epoch from '2026-07-20 07:37:33'::timestamp) - extract(epoch from '2026-07-20 07:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329645 -2.793318)'), GeomFromEWKT('SRID=4674;POINT (-40.329784 -2.793443)'))) / (select extract(epoch from '2026-07-20 07:37:33'::timestamp) - extract(epoch from '2026-07-20 07:37: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'), 47645, 'SRID=4674;POINT (-40.32995 -2.793592)', '2026-07-20 07:37:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329784 -2.793443)'), GeomFromEWKT('SRID=4674;POINT (-40.32995 -2.793592)'))) / (select extract(epoch from '2026-07-20 07:37:41'::timestamp) - extract(epoch from '2026-07-20 07:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329784 -2.793443)'), GeomFromEWKT('SRID=4674;POINT (-40.32995 -2.793592)'))) / (select extract(epoch from '2026-07-20 07:37:41'::timestamp) - extract(epoch from '2026-07-20 07:37:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.330069 -2.793702)', '2026-07-20 07:37:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32995 -2.793592)'), GeomFromEWKT('SRID=4674;POINT (-40.330069 -2.793702)'))) / (select extract(epoch from '2026-07-20 07:37:47'::timestamp) - extract(epoch from '2026-07-20 07:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32995 -2.793592)'), GeomFromEWKT('SRID=4674;POINT (-40.330069 -2.793702)'))) / (select extract(epoch from '2026-07-20 07:37:47'::timestamp) - extract(epoch from '2026-07-20 07:37: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'), 47645, 'SRID=4674;POINT (-40.330214 -2.79382)', '2026-07-20 07:37:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330069 -2.793702)'), GeomFromEWKT('SRID=4674;POINT (-40.330214 -2.79382)'))) / (select extract(epoch from '2026-07-20 07:37:54'::timestamp) - extract(epoch from '2026-07-20 07:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330069 -2.793702)'), GeomFromEWKT('SRID=4674;POINT (-40.330214 -2.79382)'))) / (select extract(epoch from '2026-07-20 07:37:54'::timestamp) - extract(epoch from '2026-07-20 07:37: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'), 47645, 'SRID=4674;POINT (-40.330397 -2.793971)', '2026-07-20 07:38:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330214 -2.79382)'), GeomFromEWKT('SRID=4674;POINT (-40.330397 -2.793971)'))) / (select extract(epoch from '2026-07-20 07:38:03'::timestamp) - extract(epoch from '2026-07-20 07:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330214 -2.79382)'), GeomFromEWKT('SRID=4674;POINT (-40.330397 -2.793971)'))) / (select extract(epoch from '2026-07-20 07:38:03'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.330541 -2.794075)', '2026-07-20 07:38:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330397 -2.793971)'), GeomFromEWKT('SRID=4674;POINT (-40.330541 -2.794075)'))) / (select extract(epoch from '2026-07-20 07:38:10'::timestamp) - extract(epoch from '2026-07-20 07:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330397 -2.793971)'), GeomFromEWKT('SRID=4674;POINT (-40.330541 -2.794075)'))) / (select extract(epoch from '2026-07-20 07:38:10'::timestamp) - extract(epoch from '2026-07-20 07:38: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'), 47645, 'SRID=4674;POINT (-40.330721 -2.79417)', '2026-07-20 07:38:18', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330541 -2.794075)'), GeomFromEWKT('SRID=4674;POINT (-40.330721 -2.79417)'))) / (select extract(epoch from '2026-07-20 07:38:18'::timestamp) - extract(epoch from '2026-07-20 07:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330541 -2.794075)'), GeomFromEWKT('SRID=4674;POINT (-40.330721 -2.79417)'))) / (select extract(epoch from '2026-07-20 07:38:18'::timestamp) - extract(epoch from '2026-07-20 07:38: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'), 47645, 'SRID=4674;POINT (-40.330851 -2.794242)', '2026-07-20 07:38:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330721 -2.79417)'), GeomFromEWKT('SRID=4674;POINT (-40.330851 -2.794242)'))) / (select extract(epoch from '2026-07-20 07:38:23'::timestamp) - extract(epoch from '2026-07-20 07:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330721 -2.79417)'), GeomFromEWKT('SRID=4674;POINT (-40.330851 -2.794242)'))) / (select extract(epoch from '2026-07-20 07:38:23'::timestamp) - extract(epoch from '2026-07-20 07:38: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'), 47645, 'SRID=4674;POINT (-40.330977 -2.794322)', '2026-07-20 07:38:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330851 -2.794242)'), GeomFromEWKT('SRID=4674;POINT (-40.330977 -2.794322)'))) / (select extract(epoch from '2026-07-20 07:38:29'::timestamp) - extract(epoch from '2026-07-20 07:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330851 -2.794242)'), GeomFromEWKT('SRID=4674;POINT (-40.330977 -2.794322)'))) / (select extract(epoch from '2026-07-20 07:38:29'::timestamp) - extract(epoch from '2026-07-20 07:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.331121 -2.794432)', '2026-07-20 07:38:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330977 -2.794322)'), GeomFromEWKT('SRID=4674;POINT (-40.331121 -2.794432)'))) / (select extract(epoch from '2026-07-20 07:38:36'::timestamp) - extract(epoch from '2026-07-20 07:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330977 -2.794322)'), GeomFromEWKT('SRID=4674;POINT (-40.331121 -2.794432)'))) / (select extract(epoch from '2026-07-20 07:38:36'::timestamp) - extract(epoch from '2026-07-20 07:38:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.331295 -2.794555)', '2026-07-20 07:38:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331121 -2.794432)'), GeomFromEWKT('SRID=4674;POINT (-40.331295 -2.794555)'))) / (select extract(epoch from '2026-07-20 07:38:43'::timestamp) - extract(epoch from '2026-07-20 07:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331121 -2.794432)'), GeomFromEWKT('SRID=4674;POINT (-40.331295 -2.794555)'))) / (select extract(epoch from '2026-07-20 07:38:43'::timestamp) - extract(epoch from '2026-07-20 07:38:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.331443 -2.794665)', '2026-07-20 07:38:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331295 -2.794555)'), GeomFromEWKT('SRID=4674;POINT (-40.331443 -2.794665)'))) / (select extract(epoch from '2026-07-20 07:38:50'::timestamp) - extract(epoch from '2026-07-20 07:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331295 -2.794555)'), GeomFromEWKT('SRID=4674;POINT (-40.331443 -2.794665)'))) / (select extract(epoch from '2026-07-20 07:38:50'::timestamp) - extract(epoch from '2026-07-20 07:38: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'), 47645, 'SRID=4674;POINT (-40.331628 -2.794774)', '2026-07-20 07:38:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331443 -2.794665)'), GeomFromEWKT('SRID=4674;POINT (-40.331628 -2.794774)'))) / (select extract(epoch from '2026-07-20 07:38:58'::timestamp) - extract(epoch from '2026-07-20 07:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331443 -2.794665)'), GeomFromEWKT('SRID=4674;POINT (-40.331628 -2.794774)'))) / (select extract(epoch from '2026-07-20 07:38:58'::timestamp) - extract(epoch from '2026-07-20 07:38: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'), 47645, 'SRID=4674;POINT (-40.331814 -2.794902)', '2026-07-20 07:39:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331628 -2.794774)'), GeomFromEWKT('SRID=4674;POINT (-40.331814 -2.794902)'))) / (select extract(epoch from '2026-07-20 07:39:06'::timestamp) - extract(epoch from '2026-07-20 07:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331628 -2.794774)'), GeomFromEWKT('SRID=4674;POINT (-40.331814 -2.794902)'))) / (select extract(epoch from '2026-07-20 07:39:06'::timestamp) - extract(epoch from '2026-07-20 07:38: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'), 47645, 'SRID=4674;POINT (-40.331908 -2.794975)', '2026-07-20 07:39:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331814 -2.794902)'), GeomFromEWKT('SRID=4674;POINT (-40.331908 -2.794975)'))) / (select extract(epoch from '2026-07-20 07:39:11'::timestamp) - extract(epoch from '2026-07-20 07:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331814 -2.794902)'), GeomFromEWKT('SRID=4674;POINT (-40.331908 -2.794975)'))) / (select extract(epoch from '2026-07-20 07:39:11'::timestamp) - extract(epoch from '2026-07-20 07:39:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.332033 -2.795078)', '2026-07-20 07:39:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331908 -2.794975)'), GeomFromEWKT('SRID=4674;POINT (-40.332033 -2.795078)'))) / (select extract(epoch from '2026-07-20 07:39:16'::timestamp) - extract(epoch from '2026-07-20 07:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331908 -2.794975)'), GeomFromEWKT('SRID=4674;POINT (-40.332033 -2.795078)'))) / (select extract(epoch from '2026-07-20 07:39:16'::timestamp) - extract(epoch from '2026-07-20 07:39: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'), 47645, 'SRID=4674;POINT (-40.332121 -2.795217)', '2026-07-20 07:39:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332033 -2.795078)'), GeomFromEWKT('SRID=4674;POINT (-40.332121 -2.795217)'))) / (select extract(epoch from '2026-07-20 07:39:23'::timestamp) - extract(epoch from '2026-07-20 07:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332033 -2.795078)'), GeomFromEWKT('SRID=4674;POINT (-40.332121 -2.795217)'))) / (select extract(epoch from '2026-07-20 07:39:23'::timestamp) - extract(epoch from '2026-07-20 07:39: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'), 47645, 'SRID=4674;POINT (-40.332271 -2.795326)', '2026-07-20 07:39:31', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332121 -2.795217)'), GeomFromEWKT('SRID=4674;POINT (-40.332271 -2.795326)'))) / (select extract(epoch from '2026-07-20 07:39:31'::timestamp) - extract(epoch from '2026-07-20 07:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332121 -2.795217)'), GeomFromEWKT('SRID=4674;POINT (-40.332271 -2.795326)'))) / (select extract(epoch from '2026-07-20 07:39:31'::timestamp) - extract(epoch from '2026-07-20 07:39: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'), 47645, 'SRID=4674;POINT (-40.332425 -2.795407)', '2026-07-20 07:39:38', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332271 -2.795326)'), GeomFromEWKT('SRID=4674;POINT (-40.332425 -2.795407)'))) / (select extract(epoch from '2026-07-20 07:39:38'::timestamp) - extract(epoch from '2026-07-20 07:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332271 -2.795326)'), GeomFromEWKT('SRID=4674;POINT (-40.332425 -2.795407)'))) / (select extract(epoch from '2026-07-20 07:39:38'::timestamp) - extract(epoch from '2026-07-20 07:39: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'), 47645, 'SRID=4674;POINT (-40.332536 -2.795497)', '2026-07-20 07:39:44', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332425 -2.795407)'), GeomFromEWKT('SRID=4674;POINT (-40.332536 -2.795497)'))) / (select extract(epoch from '2026-07-20 07:39:44'::timestamp) - extract(epoch from '2026-07-20 07:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332425 -2.795407)'), GeomFromEWKT('SRID=4674;POINT (-40.332536 -2.795497)'))) / (select extract(epoch from '2026-07-20 07:39:44'::timestamp) - extract(epoch from '2026-07-20 07:39: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'), 47645, 'SRID=4674;POINT (-40.332686 -2.795593)', '2026-07-20 07:39:51', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332536 -2.795497)'), GeomFromEWKT('SRID=4674;POINT (-40.332686 -2.795593)'))) / (select extract(epoch from '2026-07-20 07:39:51'::timestamp) - extract(epoch from '2026-07-20 07:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332536 -2.795497)'), GeomFromEWKT('SRID=4674;POINT (-40.332686 -2.795593)'))) / (select extract(epoch from '2026-07-20 07:39:51'::timestamp) - extract(epoch from '2026-07-20 07:39: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'), 47645, 'SRID=4674;POINT (-40.332857 -2.795666)', '2026-07-20 07:39:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332686 -2.795593)'), GeomFromEWKT('SRID=4674;POINT (-40.332857 -2.795666)'))) / (select extract(epoch from '2026-07-20 07:39:58'::timestamp) - extract(epoch from '2026-07-20 07:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332686 -2.795593)'), GeomFromEWKT('SRID=4674;POINT (-40.332857 -2.795666)'))) / (select extract(epoch from '2026-07-20 07:39:58'::timestamp) - extract(epoch from '2026-07-20 07:39:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.332978 -2.795713)', '2026-07-20 07:40:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332857 -2.795666)'), GeomFromEWKT('SRID=4674;POINT (-40.332978 -2.795713)'))) / (select extract(epoch from '2026-07-20 07:40:04'::timestamp) - extract(epoch from '2026-07-20 07:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332857 -2.795666)'), GeomFromEWKT('SRID=4674;POINT (-40.332978 -2.795713)'))) / (select extract(epoch from '2026-07-20 07:40:04'::timestamp) - extract(epoch from '2026-07-20 07:39:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.333109 -2.795783)', '2026-07-20 07:40:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332978 -2.795713)'), GeomFromEWKT('SRID=4674;POINT (-40.333109 -2.795783)'))) / (select extract(epoch from '2026-07-20 07:40:11'::timestamp) - extract(epoch from '2026-07-20 07:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332978 -2.795713)'), GeomFromEWKT('SRID=4674;POINT (-40.333109 -2.795783)'))) / (select extract(epoch from '2026-07-20 07:40:11'::timestamp) - extract(epoch from '2026-07-20 07:40: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'), 47645, 'SRID=4674;POINT (-40.333251 -2.795864)', '2026-07-20 07:40:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333109 -2.795783)'), GeomFromEWKT('SRID=4674;POINT (-40.333251 -2.795864)'))) / (select extract(epoch from '2026-07-20 07:40:18'::timestamp) - extract(epoch from '2026-07-20 07:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333109 -2.795783)'), GeomFromEWKT('SRID=4674;POINT (-40.333251 -2.795864)'))) / (select extract(epoch from '2026-07-20 07:40:18'::timestamp) - extract(epoch from '2026-07-20 07:40: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'), 47645, 'SRID=4674;POINT (-40.333403 -2.795953)', '2026-07-20 07:40:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333251 -2.795864)'), GeomFromEWKT('SRID=4674;POINT (-40.333403 -2.795953)'))) / (select extract(epoch from '2026-07-20 07:40:25'::timestamp) - extract(epoch from '2026-07-20 07:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333251 -2.795864)'), GeomFromEWKT('SRID=4674;POINT (-40.333403 -2.795953)'))) / (select extract(epoch from '2026-07-20 07:40:25'::timestamp) - extract(epoch from '2026-07-20 07:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.333536 -2.796032)', '2026-07-20 07:40:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333403 -2.795953)'), GeomFromEWKT('SRID=4674;POINT (-40.333536 -2.796032)'))) / (select extract(epoch from '2026-07-20 07:40:31'::timestamp) - extract(epoch from '2026-07-20 07:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333403 -2.795953)'), GeomFromEWKT('SRID=4674;POINT (-40.333536 -2.796032)'))) / (select extract(epoch from '2026-07-20 07:40:31'::timestamp) - extract(epoch from '2026-07-20 07:40:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.333637 -2.79609)', '2026-07-20 07:40:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333536 -2.796032)'), GeomFromEWKT('SRID=4674;POINT (-40.333637 -2.79609)'))) / (select extract(epoch from '2026-07-20 07:40:36'::timestamp) - extract(epoch from '2026-07-20 07:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333536 -2.796032)'), GeomFromEWKT('SRID=4674;POINT (-40.333637 -2.79609)'))) / (select extract(epoch from '2026-07-20 07:40:36'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.333772 -2.796168)', '2026-07-20 07:40:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333637 -2.79609)'), GeomFromEWKT('SRID=4674;POINT (-40.333772 -2.796168)'))) / (select extract(epoch from '2026-07-20 07:40:42'::timestamp) - extract(epoch from '2026-07-20 07:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333637 -2.79609)'), GeomFromEWKT('SRID=4674;POINT (-40.333772 -2.796168)'))) / (select extract(epoch from '2026-07-20 07:40:42'::timestamp) - extract(epoch from '2026-07-20 07:40:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.333928 -2.796261)', '2026-07-20 07:40:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333772 -2.796168)'), GeomFromEWKT('SRID=4674;POINT (-40.333928 -2.796261)'))) / (select extract(epoch from '2026-07-20 07:40:49'::timestamp) - extract(epoch from '2026-07-20 07:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333772 -2.796168)'), GeomFromEWKT('SRID=4674;POINT (-40.333928 -2.796261)'))) / (select extract(epoch from '2026-07-20 07:40:49'::timestamp) - extract(epoch from '2026-07-20 07:40:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.334079 -2.796341)', '2026-07-20 07:40:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333928 -2.796261)'), GeomFromEWKT('SRID=4674;POINT (-40.334079 -2.796341)'))) / (select extract(epoch from '2026-07-20 07:40:56'::timestamp) - extract(epoch from '2026-07-20 07:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333928 -2.796261)'), GeomFromEWKT('SRID=4674;POINT (-40.334079 -2.796341)'))) / (select extract(epoch from '2026-07-20 07:40:56'::timestamp) - extract(epoch from '2026-07-20 07:40:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.334219 -2.796402)', '2026-07-20 07:41:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334079 -2.796341)'), GeomFromEWKT('SRID=4674;POINT (-40.334219 -2.796402)'))) / (select extract(epoch from '2026-07-20 07:41:02'::timestamp) - extract(epoch from '2026-07-20 07:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334079 -2.796341)'), GeomFromEWKT('SRID=4674;POINT (-40.334219 -2.796402)'))) / (select extract(epoch from '2026-07-20 07:41:02'::timestamp) - extract(epoch from '2026-07-20 07:40: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'), 47645, 'SRID=4674;POINT (-40.334326 -2.796478)', '2026-07-20 07:41:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334219 -2.796402)'), GeomFromEWKT('SRID=4674;POINT (-40.334326 -2.796478)'))) / (select extract(epoch from '2026-07-20 07:41:08'::timestamp) - extract(epoch from '2026-07-20 07:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334219 -2.796402)'), GeomFromEWKT('SRID=4674;POINT (-40.334326 -2.796478)'))) / (select extract(epoch from '2026-07-20 07:41:08'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.334443 -2.796562)', '2026-07-20 07:41:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334326 -2.796478)'), GeomFromEWKT('SRID=4674;POINT (-40.334443 -2.796562)'))) / (select extract(epoch from '2026-07-20 07:41:14'::timestamp) - extract(epoch from '2026-07-20 07:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334326 -2.796478)'), GeomFromEWKT('SRID=4674;POINT (-40.334443 -2.796562)'))) / (select extract(epoch from '2026-07-20 07:41:14'::timestamp) - extract(epoch from '2026-07-20 07:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.334568 -2.796643)', '2026-07-20 07:41:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334443 -2.796562)'), GeomFromEWKT('SRID=4674;POINT (-40.334568 -2.796643)'))) / (select extract(epoch from '2026-07-20 07:41:20'::timestamp) - extract(epoch from '2026-07-20 07:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334443 -2.796562)'), GeomFromEWKT('SRID=4674;POINT (-40.334568 -2.796643)'))) / (select extract(epoch from '2026-07-20 07:41:20'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.334704 -2.796739)', '2026-07-20 07:41:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334568 -2.796643)'), GeomFromEWKT('SRID=4674;POINT (-40.334704 -2.796739)'))) / (select extract(epoch from '2026-07-20 07:41:27'::timestamp) - extract(epoch from '2026-07-20 07:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334568 -2.796643)'), GeomFromEWKT('SRID=4674;POINT (-40.334704 -2.796739)'))) / (select extract(epoch from '2026-07-20 07:41:27'::timestamp) - extract(epoch from '2026-07-20 07:41: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'), 47645, 'SRID=4674;POINT (-40.334789 -2.796821)', '2026-07-20 07:41:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334704 -2.796739)'), GeomFromEWKT('SRID=4674;POINT (-40.334789 -2.796821)'))) / (select extract(epoch from '2026-07-20 07:41:32'::timestamp) - extract(epoch from '2026-07-20 07:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334704 -2.796739)'), GeomFromEWKT('SRID=4674;POINT (-40.334789 -2.796821)'))) / (select extract(epoch from '2026-07-20 07:41:32'::timestamp) - extract(epoch from '2026-07-20 07:41: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'), 47645, 'SRID=4674;POINT (-40.334926 -2.796928)', '2026-07-20 07:41:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334789 -2.796821)'), GeomFromEWKT('SRID=4674;POINT (-40.334926 -2.796928)'))) / (select extract(epoch from '2026-07-20 07:41:39'::timestamp) - extract(epoch from '2026-07-20 07:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334789 -2.796821)'), GeomFromEWKT('SRID=4674;POINT (-40.334926 -2.796928)'))) / (select extract(epoch from '2026-07-20 07:41:39'::timestamp) - extract(epoch from '2026-07-20 07:41: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'), 47645, 'SRID=4674;POINT (-40.335027 -2.796999)', '2026-07-20 07:41:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334926 -2.796928)'), GeomFromEWKT('SRID=4674;POINT (-40.335027 -2.796999)'))) / (select extract(epoch from '2026-07-20 07:41:44'::timestamp) - extract(epoch from '2026-07-20 07:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334926 -2.796928)'), GeomFromEWKT('SRID=4674;POINT (-40.335027 -2.796999)'))) / (select extract(epoch from '2026-07-20 07:41:44'::timestamp) - extract(epoch from '2026-07-20 07:41:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.335182 -2.797127)', '2026-07-20 07:41:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335027 -2.796999)'), GeomFromEWKT('SRID=4674;POINT (-40.335182 -2.797127)'))) / (select extract(epoch from '2026-07-20 07:41:50'::timestamp) - extract(epoch from '2026-07-20 07:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335027 -2.796999)'), GeomFromEWKT('SRID=4674;POINT (-40.335182 -2.797127)'))) / (select extract(epoch from '2026-07-20 07:41:50'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.335274 -2.797203)', '2026-07-20 07:41:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335182 -2.797127)'), GeomFromEWKT('SRID=4674;POINT (-40.335274 -2.797203)'))) / (select extract(epoch from '2026-07-20 07:41:55'::timestamp) - extract(epoch from '2026-07-20 07:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335182 -2.797127)'), GeomFromEWKT('SRID=4674;POINT (-40.335274 -2.797203)'))) / (select extract(epoch from '2026-07-20 07:41:55'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.335411 -2.797295)', '2026-07-20 07:42:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335274 -2.797203)'), GeomFromEWKT('SRID=4674;POINT (-40.335411 -2.797295)'))) / (select extract(epoch from '2026-07-20 07:42:01'::timestamp) - extract(epoch from '2026-07-20 07:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335274 -2.797203)'), GeomFromEWKT('SRID=4674;POINT (-40.335411 -2.797295)'))) / (select extract(epoch from '2026-07-20 07:42:01'::timestamp) - extract(epoch from '2026-07-20 07:41: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'), 47645, 'SRID=4674;POINT (-40.335533 -2.797386)', '2026-07-20 07:42:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335411 -2.797295)'), GeomFromEWKT('SRID=4674;POINT (-40.335533 -2.797386)'))) / (select extract(epoch from '2026-07-20 07:42:07'::timestamp) - extract(epoch from '2026-07-20 07:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335411 -2.797295)'), GeomFromEWKT('SRID=4674;POINT (-40.335533 -2.797386)'))) / (select extract(epoch from '2026-07-20 07:42:07'::timestamp) - extract(epoch from '2026-07-20 07:42: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'), 47645, 'SRID=4674;POINT (-40.335664 -2.79746)', '2026-07-20 07:42:13', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335533 -2.797386)'), GeomFromEWKT('SRID=4674;POINT (-40.335664 -2.79746)'))) / (select extract(epoch from '2026-07-20 07:42:13'::timestamp) - extract(epoch from '2026-07-20 07:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335533 -2.797386)'), GeomFromEWKT('SRID=4674;POINT (-40.335664 -2.79746)'))) / (select extract(epoch from '2026-07-20 07:42:13'::timestamp) - extract(epoch from '2026-07-20 07:42: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'), 47645, 'SRID=4674;POINT (-40.335796 -2.797531)', '2026-07-20 07:42:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335664 -2.79746)'), GeomFromEWKT('SRID=4674;POINT (-40.335796 -2.797531)'))) / (select extract(epoch from '2026-07-20 07:42:19'::timestamp) - extract(epoch from '2026-07-20 07:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335664 -2.79746)'), GeomFromEWKT('SRID=4674;POINT (-40.335796 -2.797531)'))) / (select extract(epoch from '2026-07-20 07:42:19'::timestamp) - extract(epoch from '2026-07-20 07:42:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.335883 -2.797588)', '2026-07-20 07:42:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335796 -2.797531)'), GeomFromEWKT('SRID=4674;POINT (-40.335883 -2.797588)'))) / (select extract(epoch from '2026-07-20 07:42:24'::timestamp) - extract(epoch from '2026-07-20 07:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335796 -2.797531)'), GeomFromEWKT('SRID=4674;POINT (-40.335883 -2.797588)'))) / (select extract(epoch from '2026-07-20 07:42:24'::timestamp) - extract(epoch from '2026-07-20 07:42: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'), 47645, 'SRID=4674;POINT (-40.335998 -2.797668)', '2026-07-20 07:42:29', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335883 -2.797588)'), GeomFromEWKT('SRID=4674;POINT (-40.335998 -2.797668)'))) / (select extract(epoch from '2026-07-20 07:42:29'::timestamp) - extract(epoch from '2026-07-20 07:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335883 -2.797588)'), GeomFromEWKT('SRID=4674;POINT (-40.335998 -2.797668)'))) / (select extract(epoch from '2026-07-20 07:42:29'::timestamp) - extract(epoch from '2026-07-20 07:42:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.33611 -2.797755)', '2026-07-20 07:42:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335998 -2.797668)'), GeomFromEWKT('SRID=4674;POINT (-40.33611 -2.797755)'))) / (select extract(epoch from '2026-07-20 07:42:35'::timestamp) - extract(epoch from '2026-07-20 07:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335998 -2.797668)'), GeomFromEWKT('SRID=4674;POINT (-40.33611 -2.797755)'))) / (select extract(epoch from '2026-07-20 07:42:35'::timestamp) - extract(epoch from '2026-07-20 07:42: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'), 47645, 'SRID=4674;POINT (-40.336229 -2.797849)', '2026-07-20 07:42:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33611 -2.797755)'), GeomFromEWKT('SRID=4674;POINT (-40.336229 -2.797849)'))) / (select extract(epoch from '2026-07-20 07:42:41'::timestamp) - extract(epoch from '2026-07-20 07:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33611 -2.797755)'), GeomFromEWKT('SRID=4674;POINT (-40.336229 -2.797849)'))) / (select extract(epoch from '2026-07-20 07:42:41'::timestamp) - extract(epoch from '2026-07-20 07:42: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'), 47645, 'SRID=4674;POINT (-40.336355 -2.797929)', '2026-07-20 07:42:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336229 -2.797849)'), GeomFromEWKT('SRID=4674;POINT (-40.336355 -2.797929)'))) / (select extract(epoch from '2026-07-20 07:42:47'::timestamp) - extract(epoch from '2026-07-20 07:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336229 -2.797849)'), GeomFromEWKT('SRID=4674;POINT (-40.336355 -2.797929)'))) / (select extract(epoch from '2026-07-20 07:42:47'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.336518 -2.798052)', '2026-07-20 07:42:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336355 -2.797929)'), GeomFromEWKT('SRID=4674;POINT (-40.336518 -2.798052)'))) / (select extract(epoch from '2026-07-20 07:42:55'::timestamp) - extract(epoch from '2026-07-20 07:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336355 -2.797929)'), GeomFromEWKT('SRID=4674;POINT (-40.336518 -2.798052)'))) / (select extract(epoch from '2026-07-20 07:42:55'::timestamp) - extract(epoch from '2026-07-20 07:42: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'), 47645, 'SRID=4674;POINT (-40.33669 -2.798166)', '2026-07-20 07:43:03', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336518 -2.798052)'), GeomFromEWKT('SRID=4674;POINT (-40.33669 -2.798166)'))) / (select extract(epoch from '2026-07-20 07:43:03'::timestamp) - extract(epoch from '2026-07-20 07:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336518 -2.798052)'), GeomFromEWKT('SRID=4674;POINT (-40.33669 -2.798166)'))) / (select extract(epoch from '2026-07-20 07:43:03'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.336839 -2.798237)', '2026-07-20 07:43:10', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33669 -2.798166)'), GeomFromEWKT('SRID=4674;POINT (-40.336839 -2.798237)'))) / (select extract(epoch from '2026-07-20 07:43:10'::timestamp) - extract(epoch from '2026-07-20 07:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33669 -2.798166)'), GeomFromEWKT('SRID=4674;POINT (-40.336839 -2.798237)'))) / (select extract(epoch from '2026-07-20 07:43:10'::timestamp) - extract(epoch from '2026-07-20 07:43: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'), 47645, 'SRID=4674;POINT (-40.33699 -2.798334)', '2026-07-20 07:43:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336839 -2.798237)'), GeomFromEWKT('SRID=4674;POINT (-40.33699 -2.798334)'))) / (select extract(epoch from '2026-07-20 07:43:17'::timestamp) - extract(epoch from '2026-07-20 07:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336839 -2.798237)'), GeomFromEWKT('SRID=4674;POINT (-40.33699 -2.798334)'))) / (select extract(epoch from '2026-07-20 07:43:17'::timestamp) - extract(epoch from '2026-07-20 07:43: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'), 47645, 'SRID=4674;POINT (-40.337157 -2.798423)', '2026-07-20 07:43:24', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33699 -2.798334)'), GeomFromEWKT('SRID=4674;POINT (-40.337157 -2.798423)'))) / (select extract(epoch from '2026-07-20 07:43:24'::timestamp) - extract(epoch from '2026-07-20 07:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33699 -2.798334)'), GeomFromEWKT('SRID=4674;POINT (-40.337157 -2.798423)'))) / (select extract(epoch from '2026-07-20 07:43:24'::timestamp) - extract(epoch from '2026-07-20 07:43: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'), 47645, 'SRID=4674;POINT (-40.337335 -2.798523)', '2026-07-20 07:43:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337157 -2.798423)'), GeomFromEWKT('SRID=4674;POINT (-40.337335 -2.798523)'))) / (select extract(epoch from '2026-07-20 07:43:33'::timestamp) - extract(epoch from '2026-07-20 07:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337157 -2.798423)'), GeomFromEWKT('SRID=4674;POINT (-40.337335 -2.798523)'))) / (select extract(epoch from '2026-07-20 07:43:33'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.33747 -2.798607)', '2026-07-20 07:43:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337335 -2.798523)'), GeomFromEWKT('SRID=4674;POINT (-40.33747 -2.798607)'))) / (select extract(epoch from '2026-07-20 07:43:40'::timestamp) - extract(epoch from '2026-07-20 07:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337335 -2.798523)'), GeomFromEWKT('SRID=4674;POINT (-40.33747 -2.798607)'))) / (select extract(epoch from '2026-07-20 07:43:40'::timestamp) - extract(epoch from '2026-07-20 07:43: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'), 47645, 'SRID=4674;POINT (-40.337575 -2.798671)', '2026-07-20 07:43:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33747 -2.798607)'), GeomFromEWKT('SRID=4674;POINT (-40.337575 -2.798671)'))) / (select extract(epoch from '2026-07-20 07:43:45'::timestamp) - extract(epoch from '2026-07-20 07:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33747 -2.798607)'), GeomFromEWKT('SRID=4674;POINT (-40.337575 -2.798671)'))) / (select extract(epoch from '2026-07-20 07:43:45'::timestamp) - extract(epoch from '2026-07-20 07:43: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'), 47645, 'SRID=4674;POINT (-40.337685 -2.79875)', '2026-07-20 07:43:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337575 -2.798671)'), GeomFromEWKT('SRID=4674;POINT (-40.337685 -2.79875)'))) / (select extract(epoch from '2026-07-20 07:43:51'::timestamp) - extract(epoch from '2026-07-20 07:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337575 -2.798671)'), GeomFromEWKT('SRID=4674;POINT (-40.337685 -2.79875)'))) / (select extract(epoch from '2026-07-20 07:43:51'::timestamp) - extract(epoch from '2026-07-20 07:43: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'), 47645, 'SRID=4674;POINT (-40.33778 -2.798805)', '2026-07-20 07:43:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337685 -2.79875)'), GeomFromEWKT('SRID=4674;POINT (-40.33778 -2.798805)'))) / (select extract(epoch from '2026-07-20 07:43:56'::timestamp) - extract(epoch from '2026-07-20 07:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337685 -2.79875)'), GeomFromEWKT('SRID=4674;POINT (-40.33778 -2.798805)'))) / (select extract(epoch from '2026-07-20 07:43:56'::timestamp) - extract(epoch from '2026-07-20 07:43: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'), 47645, 'SRID=4674;POINT (-40.337944 -2.798912)', '2026-07-20 07:44:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33778 -2.798805)'), GeomFromEWKT('SRID=4674;POINT (-40.337944 -2.798912)'))) / (select extract(epoch from '2026-07-20 07:44:05'::timestamp) - extract(epoch from '2026-07-20 07:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33778 -2.798805)'), GeomFromEWKT('SRID=4674;POINT (-40.337944 -2.798912)'))) / (select extract(epoch from '2026-07-20 07:44:05'::timestamp) - extract(epoch from '2026-07-20 07:43: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'), 47645, 'SRID=4674;POINT (-40.338077 -2.798991)', '2026-07-20 07:44:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337944 -2.798912)'), GeomFromEWKT('SRID=4674;POINT (-40.338077 -2.798991)'))) / (select extract(epoch from '2026-07-20 07:44:12'::timestamp) - extract(epoch from '2026-07-20 07:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337944 -2.798912)'), GeomFromEWKT('SRID=4674;POINT (-40.338077 -2.798991)'))) / (select extract(epoch from '2026-07-20 07:44:12'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.338254 -2.799093)', '2026-07-20 07:44:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338077 -2.798991)'), GeomFromEWKT('SRID=4674;POINT (-40.338254 -2.799093)'))) / (select extract(epoch from '2026-07-20 07:44:20'::timestamp) - extract(epoch from '2026-07-20 07:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338077 -2.798991)'), GeomFromEWKT('SRID=4674;POINT (-40.338254 -2.799093)'))) / (select extract(epoch from '2026-07-20 07:44:20'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.338421 -2.79921)', '2026-07-20 07:44:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338254 -2.799093)'), GeomFromEWKT('SRID=4674;POINT (-40.338421 -2.79921)'))) / (select extract(epoch from '2026-07-20 07:44:27'::timestamp) - extract(epoch from '2026-07-20 07:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338254 -2.799093)'), GeomFromEWKT('SRID=4674;POINT (-40.338421 -2.79921)'))) / (select extract(epoch from '2026-07-20 07:44:27'::timestamp) - extract(epoch from '2026-07-20 07:44: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'), 47645, 'SRID=4674;POINT (-40.338536 -2.799299)', '2026-07-20 07:44:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338421 -2.79921)'), GeomFromEWKT('SRID=4674;POINT (-40.338536 -2.799299)'))) / (select extract(epoch from '2026-07-20 07:44:33'::timestamp) - extract(epoch from '2026-07-20 07:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338421 -2.79921)'), GeomFromEWKT('SRID=4674;POINT (-40.338536 -2.799299)'))) / (select extract(epoch from '2026-07-20 07:44:33'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.338649 -2.799383)', '2026-07-20 07:44:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338536 -2.799299)'), GeomFromEWKT('SRID=4674;POINT (-40.338649 -2.799383)'))) / (select extract(epoch from '2026-07-20 07:44:39'::timestamp) - extract(epoch from '2026-07-20 07:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338536 -2.799299)'), GeomFromEWKT('SRID=4674;POINT (-40.338649 -2.799383)'))) / (select extract(epoch from '2026-07-20 07:44:39'::timestamp) - extract(epoch from '2026-07-20 07:44:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.338779 -2.799462)', '2026-07-20 07:44:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338649 -2.799383)'), GeomFromEWKT('SRID=4674;POINT (-40.338779 -2.799462)'))) / (select extract(epoch from '2026-07-20 07:44:45'::timestamp) - extract(epoch from '2026-07-20 07:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338649 -2.799383)'), GeomFromEWKT('SRID=4674;POINT (-40.338779 -2.799462)'))) / (select extract(epoch from '2026-07-20 07:44:45'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.33891 -2.799538)', '2026-07-20 07:44:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338779 -2.799462)'), GeomFromEWKT('SRID=4674;POINT (-40.33891 -2.799538)'))) / (select extract(epoch from '2026-07-20 07:44:52'::timestamp) - extract(epoch from '2026-07-20 07:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338779 -2.799462)'), GeomFromEWKT('SRID=4674;POINT (-40.33891 -2.799538)'))) / (select extract(epoch from '2026-07-20 07:44:52'::timestamp) - extract(epoch from '2026-07-20 07:44: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'), 47645, 'SRID=4674;POINT (-40.339036 -2.799599)', '2026-07-20 07:44:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33891 -2.799538)'), GeomFromEWKT('SRID=4674;POINT (-40.339036 -2.799599)'))) / (select extract(epoch from '2026-07-20 07:44:58'::timestamp) - extract(epoch from '2026-07-20 07:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33891 -2.799538)'), GeomFromEWKT('SRID=4674;POINT (-40.339036 -2.799599)'))) / (select extract(epoch from '2026-07-20 07:44:58'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.339194 -2.799661)', '2026-07-20 07:45:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339036 -2.799599)'), GeomFromEWKT('SRID=4674;POINT (-40.339194 -2.799661)'))) / (select extract(epoch from '2026-07-20 07:45:06'::timestamp) - extract(epoch from '2026-07-20 07:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339036 -2.799599)'), GeomFromEWKT('SRID=4674;POINT (-40.339194 -2.799661)'))) / (select extract(epoch from '2026-07-20 07:45:06'::timestamp) - extract(epoch from '2026-07-20 07:44: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'), 47645, 'SRID=4674;POINT (-40.339315 -2.799692)', '2026-07-20 07:45:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339194 -2.799661)'), GeomFromEWKT('SRID=4674;POINT (-40.339315 -2.799692)'))) / (select extract(epoch from '2026-07-20 07:45:12'::timestamp) - extract(epoch from '2026-07-20 07:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339194 -2.799661)'), GeomFromEWKT('SRID=4674;POINT (-40.339315 -2.799692)'))) / (select extract(epoch from '2026-07-20 07:45:12'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.339401 -2.799721)', '2026-07-20 07:45:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339315 -2.799692)'), GeomFromEWKT('SRID=4674;POINT (-40.339401 -2.799721)'))) / (select extract(epoch from '2026-07-20 07:45:17'::timestamp) - extract(epoch from '2026-07-20 07:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339315 -2.799692)'), GeomFromEWKT('SRID=4674;POINT (-40.339401 -2.799721)'))) / (select extract(epoch from '2026-07-20 07:45:17'::timestamp) - extract(epoch from '2026-07-20 07:45: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'), 47645, 'SRID=4674;POINT (-40.339531 -2.799769)', '2026-07-20 07:45:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339401 -2.799721)'), GeomFromEWKT('SRID=4674;POINT (-40.339531 -2.799769)'))) / (select extract(epoch from '2026-07-20 07:45:23'::timestamp) - extract(epoch from '2026-07-20 07:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339401 -2.799721)'), GeomFromEWKT('SRID=4674;POINT (-40.339531 -2.799769)'))) / (select extract(epoch from '2026-07-20 07:45:23'::timestamp) - extract(epoch from '2026-07-20 07:45: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'), 47645, 'SRID=4674;POINT (-40.339743 -2.799843)', '2026-07-20 07:45:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339531 -2.799769)'), GeomFromEWKT('SRID=4674;POINT (-40.339743 -2.799843)'))) / (select extract(epoch from '2026-07-20 07:45:32'::timestamp) - extract(epoch from '2026-07-20 07:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339531 -2.799769)'), GeomFromEWKT('SRID=4674;POINT (-40.339743 -2.799843)'))) / (select extract(epoch from '2026-07-20 07:45:32'::timestamp) - extract(epoch from '2026-07-20 07:45:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.339947 -2.799919)', '2026-07-20 07:45:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339743 -2.799843)'), GeomFromEWKT('SRID=4674;POINT (-40.339947 -2.799919)'))) / (select extract(epoch from '2026-07-20 07:45:40'::timestamp) - extract(epoch from '2026-07-20 07:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339743 -2.799843)'), GeomFromEWKT('SRID=4674;POINT (-40.339947 -2.799919)'))) / (select extract(epoch from '2026-07-20 07:45:40'::timestamp) - extract(epoch from '2026-07-20 07:45:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.340082 -2.799965)', '2026-07-20 07:45:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339947 -2.799919)'), GeomFromEWKT('SRID=4674;POINT (-40.340082 -2.799965)'))) / (select extract(epoch from '2026-07-20 07:45:46'::timestamp) - extract(epoch from '2026-07-20 07:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339947 -2.799919)'), GeomFromEWKT('SRID=4674;POINT (-40.340082 -2.799965)'))) / (select extract(epoch from '2026-07-20 07:45:46'::timestamp) - extract(epoch from '2026-07-20 07:45:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.340228 -2.800031)', '2026-07-20 07:45:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340082 -2.799965)'), GeomFromEWKT('SRID=4674;POINT (-40.340228 -2.800031)'))) / (select extract(epoch from '2026-07-20 07:45:53'::timestamp) - extract(epoch from '2026-07-20 07:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340082 -2.799965)'), GeomFromEWKT('SRID=4674;POINT (-40.340228 -2.800031)'))) / (select extract(epoch from '2026-07-20 07:45:53'::timestamp) - extract(epoch from '2026-07-20 07:45:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.34038 -2.800092)', '2026-07-20 07:45:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340228 -2.800031)'), GeomFromEWKT('SRID=4674;POINT (-40.34038 -2.800092)'))) / (select extract(epoch from '2026-07-20 07:45:59'::timestamp) - extract(epoch from '2026-07-20 07:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340228 -2.800031)'), GeomFromEWKT('SRID=4674;POINT (-40.34038 -2.800092)'))) / (select extract(epoch from '2026-07-20 07:45:59'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.340556 -2.80016)', '2026-07-20 07:46:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34038 -2.800092)'), GeomFromEWKT('SRID=4674;POINT (-40.340556 -2.80016)'))) / (select extract(epoch from '2026-07-20 07:46:07'::timestamp) - extract(epoch from '2026-07-20 07:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34038 -2.800092)'), GeomFromEWKT('SRID=4674;POINT (-40.340556 -2.80016)'))) / (select extract(epoch from '2026-07-20 07:46:07'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.340682 -2.800227)', '2026-07-20 07:46:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340556 -2.80016)'), GeomFromEWKT('SRID=4674;POINT (-40.340682 -2.800227)'))) / (select extract(epoch from '2026-07-20 07:46:13'::timestamp) - extract(epoch from '2026-07-20 07:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340556 -2.80016)'), GeomFromEWKT('SRID=4674;POINT (-40.340682 -2.800227)'))) / (select extract(epoch from '2026-07-20 07:46:13'::timestamp) - extract(epoch from '2026-07-20 07:46:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.340864 -2.80032)', '2026-07-20 07:46:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340682 -2.800227)'), GeomFromEWKT('SRID=4674;POINT (-40.340864 -2.80032)'))) / (select extract(epoch from '2026-07-20 07:46:21'::timestamp) - extract(epoch from '2026-07-20 07:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340682 -2.800227)'), GeomFromEWKT('SRID=4674;POINT (-40.340864 -2.80032)'))) / (select extract(epoch from '2026-07-20 07:46:21'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.341068 -2.800406)', '2026-07-20 07:46:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340864 -2.80032)'), GeomFromEWKT('SRID=4674;POINT (-40.341068 -2.800406)'))) / (select extract(epoch from '2026-07-20 07:46:30'::timestamp) - extract(epoch from '2026-07-20 07:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340864 -2.80032)'), GeomFromEWKT('SRID=4674;POINT (-40.341068 -2.800406)'))) / (select extract(epoch from '2026-07-20 07:46:30'::timestamp) - extract(epoch from '2026-07-20 07:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.341195 -2.800434)', '2026-07-20 07:46:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341068 -2.800406)'), GeomFromEWKT('SRID=4674;POINT (-40.341195 -2.800434)'))) / (select extract(epoch from '2026-07-20 07:46:36'::timestamp) - extract(epoch from '2026-07-20 07:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341068 -2.800406)'), GeomFromEWKT('SRID=4674;POINT (-40.341195 -2.800434)'))) / (select extract(epoch from '2026-07-20 07:46:36'::timestamp) - extract(epoch from '2026-07-20 07: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'), 47645, 'SRID=4674;POINT (-40.341339 -2.800492)', '2026-07-20 07:46:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341195 -2.800434)'), GeomFromEWKT('SRID=4674;POINT (-40.341339 -2.800492)'))) / (select extract(epoch from '2026-07-20 07:46:43'::timestamp) - extract(epoch from '2026-07-20 07:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341195 -2.800434)'), GeomFromEWKT('SRID=4674;POINT (-40.341339 -2.800492)'))) / (select extract(epoch from '2026-07-20 07:46:43'::timestamp) - extract(epoch from '2026-07-20 07:46: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'), 47645, 'SRID=4674;POINT (-40.341502 -2.800566)', '2026-07-20 07:46:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341339 -2.800492)'), GeomFromEWKT('SRID=4674;POINT (-40.341502 -2.800566)'))) / (select extract(epoch from '2026-07-20 07:46:50'::timestamp) - extract(epoch from '2026-07-20 07:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341339 -2.800492)'), GeomFromEWKT('SRID=4674;POINT (-40.341502 -2.800566)'))) / (select extract(epoch from '2026-07-20 07:46:50'::timestamp) - extract(epoch from '2026-07-20 07:46: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'), 47645, 'SRID=4674;POINT (-40.34169 -2.800613)', '2026-07-20 07:46:58', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341502 -2.800566)'), GeomFromEWKT('SRID=4674;POINT (-40.34169 -2.800613)'))) / (select extract(epoch from '2026-07-20 07:46:58'::timestamp) - extract(epoch from '2026-07-20 07:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341502 -2.800566)'), GeomFromEWKT('SRID=4674;POINT (-40.34169 -2.800613)'))) / (select extract(epoch from '2026-07-20 07:46:58'::timestamp) - extract(epoch from '2026-07-20 07:46:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.341847 -2.800668)', '2026-07-20 07:47:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34169 -2.800613)'), GeomFromEWKT('SRID=4674;POINT (-40.341847 -2.800668)'))) / (select extract(epoch from '2026-07-20 07:47:04'::timestamp) - extract(epoch from '2026-07-20 07:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34169 -2.800613)'), GeomFromEWKT('SRID=4674;POINT (-40.341847 -2.800668)'))) / (select extract(epoch from '2026-07-20 07:47:04'::timestamp) - extract(epoch from '2026-07-20 07:46: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'), 47645, 'SRID=4674;POINT (-40.342048 -2.800722)', '2026-07-20 07:47:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341847 -2.800668)'), GeomFromEWKT('SRID=4674;POINT (-40.342048 -2.800722)'))) / (select extract(epoch from '2026-07-20 07:47:12'::timestamp) - extract(epoch from '2026-07-20 07:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341847 -2.800668)'), GeomFromEWKT('SRID=4674;POINT (-40.342048 -2.800722)'))) / (select extract(epoch from '2026-07-20 07:47:12'::timestamp) - extract(epoch from '2026-07-20 07:47: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'), 47645, 'SRID=4674;POINT (-40.342232 -2.800774)', '2026-07-20 07:47:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342048 -2.800722)'), GeomFromEWKT('SRID=4674;POINT (-40.342232 -2.800774)'))) / (select extract(epoch from '2026-07-20 07:47:19'::timestamp) - extract(epoch from '2026-07-20 07:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342048 -2.800722)'), GeomFromEWKT('SRID=4674;POINT (-40.342232 -2.800774)'))) / (select extract(epoch from '2026-07-20 07:47:19'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.34242 -2.800832)', '2026-07-20 07:47:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342232 -2.800774)'), GeomFromEWKT('SRID=4674;POINT (-40.34242 -2.800832)'))) / (select extract(epoch from '2026-07-20 07:47:27'::timestamp) - extract(epoch from '2026-07-20 07:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342232 -2.800774)'), GeomFromEWKT('SRID=4674;POINT (-40.34242 -2.800832)'))) / (select extract(epoch from '2026-07-20 07:47:27'::timestamp) - extract(epoch from '2026-07-20 07:47:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.342601 -2.800899)', '2026-07-20 07:47:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34242 -2.800832)'), GeomFromEWKT('SRID=4674;POINT (-40.342601 -2.800899)'))) / (select extract(epoch from '2026-07-20 07:47:35'::timestamp) - extract(epoch from '2026-07-20 07:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34242 -2.800832)'), GeomFromEWKT('SRID=4674;POINT (-40.342601 -2.800899)'))) / (select extract(epoch from '2026-07-20 07:47:35'::timestamp) - extract(epoch from '2026-07-20 07:47:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.342792 -2.800955)', '2026-07-20 07:47:44', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342601 -2.800899)'), GeomFromEWKT('SRID=4674;POINT (-40.342792 -2.800955)'))) / (select extract(epoch from '2026-07-20 07:47:44'::timestamp) - extract(epoch from '2026-07-20 07:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342601 -2.800899)'), GeomFromEWKT('SRID=4674;POINT (-40.342792 -2.800955)'))) / (select extract(epoch from '2026-07-20 07:47:44'::timestamp) - extract(epoch from '2026-07-20 07:47: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'), 47645, 'SRID=4674;POINT (-40.343005 -2.801006)', '2026-07-20 07:47:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342792 -2.800955)'), GeomFromEWKT('SRID=4674;POINT (-40.343005 -2.801006)'))) / (select extract(epoch from '2026-07-20 07:47:54'::timestamp) - extract(epoch from '2026-07-20 07:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342792 -2.800955)'), GeomFromEWKT('SRID=4674;POINT (-40.343005 -2.801006)'))) / (select extract(epoch from '2026-07-20 07:47:54'::timestamp) - extract(epoch from '2026-07-20 07:47: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'), 47645, 'SRID=4674;POINT (-40.34319 -2.801055)', '2026-07-20 07:48:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343005 -2.801006)'), GeomFromEWKT('SRID=4674;POINT (-40.34319 -2.801055)'))) / (select extract(epoch from '2026-07-20 07:48:04'::timestamp) - extract(epoch from '2026-07-20 07:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343005 -2.801006)'), GeomFromEWKT('SRID=4674;POINT (-40.34319 -2.801055)'))) / (select extract(epoch from '2026-07-20 07:48:04'::timestamp) - extract(epoch from '2026-07-20 07:47: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'), 47645, 'SRID=4674;POINT (-40.343364 -2.801103)', '2026-07-20 07:48:12', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34319 -2.801055)'), GeomFromEWKT('SRID=4674;POINT (-40.343364 -2.801103)'))) / (select extract(epoch from '2026-07-20 07:48:12'::timestamp) - extract(epoch from '2026-07-20 07:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34319 -2.801055)'), GeomFromEWKT('SRID=4674;POINT (-40.343364 -2.801103)'))) / (select extract(epoch from '2026-07-20 07:48:12'::timestamp) - extract(epoch from '2026-07-20 07:48: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'), 47645, 'SRID=4674;POINT (-40.343509 -2.801154)', '2026-07-20 07:48:19', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343364 -2.801103)'), GeomFromEWKT('SRID=4674;POINT (-40.343509 -2.801154)'))) / (select extract(epoch from '2026-07-20 07:48:19'::timestamp) - extract(epoch from '2026-07-20 07:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343364 -2.801103)'), GeomFromEWKT('SRID=4674;POINT (-40.343509 -2.801154)'))) / (select extract(epoch from '2026-07-20 07:48:19'::timestamp) - extract(epoch from '2026-07-20 07:48: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'), 47645, 'SRID=4674;POINT (-40.343646 -2.801193)', '2026-07-20 07:48:26', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343509 -2.801154)'), GeomFromEWKT('SRID=4674;POINT (-40.343646 -2.801193)'))) / (select extract(epoch from '2026-07-20 07:48:26'::timestamp) - extract(epoch from '2026-07-20 07:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343509 -2.801154)'), GeomFromEWKT('SRID=4674;POINT (-40.343646 -2.801193)'))) / (select extract(epoch from '2026-07-20 07:48:26'::timestamp) - extract(epoch from '2026-07-20 07:48: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'), 47645, 'SRID=4674;POINT (-40.343794 -2.801245)', '2026-07-20 07:48:33', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343646 -2.801193)'), GeomFromEWKT('SRID=4674;POINT (-40.343794 -2.801245)'))) / (select extract(epoch from '2026-07-20 07:48:33'::timestamp) - extract(epoch from '2026-07-20 07:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343646 -2.801193)'), GeomFromEWKT('SRID=4674;POINT (-40.343794 -2.801245)'))) / (select extract(epoch from '2026-07-20 07:48:33'::timestamp) - extract(epoch from '2026-07-20 07:48:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.343899 -2.801283)', '2026-07-20 07:48:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343794 -2.801245)'), GeomFromEWKT('SRID=4674;POINT (-40.343899 -2.801283)'))) / (select extract(epoch from '2026-07-20 07:48:39'::timestamp) - extract(epoch from '2026-07-20 07:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343794 -2.801245)'), GeomFromEWKT('SRID=4674;POINT (-40.343899 -2.801283)'))) / (select extract(epoch from '2026-07-20 07:48:39'::timestamp) - extract(epoch from '2026-07-20 07:48: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'), 47645, 'SRID=4674;POINT (-40.344078 -2.801355)', '2026-07-20 07:48:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343899 -2.801283)'), GeomFromEWKT('SRID=4674;POINT (-40.344078 -2.801355)'))) / (select extract(epoch from '2026-07-20 07:48:47'::timestamp) - extract(epoch from '2026-07-20 07:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343899 -2.801283)'), GeomFromEWKT('SRID=4674;POINT (-40.344078 -2.801355)'))) / (select extract(epoch from '2026-07-20 07:48:47'::timestamp) - extract(epoch from '2026-07-20 07:48: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'), 47645, 'SRID=4674;POINT (-40.344297 -2.801454)', '2026-07-20 07:48:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344078 -2.801355)'), GeomFromEWKT('SRID=4674;POINT (-40.344297 -2.801454)'))) / (select extract(epoch from '2026-07-20 07:48:56'::timestamp) - extract(epoch from '2026-07-20 07:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344078 -2.801355)'), GeomFromEWKT('SRID=4674;POINT (-40.344297 -2.801454)'))) / (select extract(epoch from '2026-07-20 07:48:56'::timestamp) - extract(epoch from '2026-07-20 07:48: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'), 47645, 'SRID=4674;POINT (-40.34443 -2.801538)', '2026-07-20 07:49:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344297 -2.801454)'), GeomFromEWKT('SRID=4674;POINT (-40.34443 -2.801538)'))) / (select extract(epoch from '2026-07-20 07:49:02'::timestamp) - extract(epoch from '2026-07-20 07:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344297 -2.801454)'), GeomFromEWKT('SRID=4674;POINT (-40.34443 -2.801538)'))) / (select extract(epoch from '2026-07-20 07:49:02'::timestamp) - extract(epoch from '2026-07-20 07:48: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'), 47645, 'SRID=4674;POINT (-40.344557 -2.801632)', '2026-07-20 07:49:08', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34443 -2.801538)'), GeomFromEWKT('SRID=4674;POINT (-40.344557 -2.801632)'))) / (select extract(epoch from '2026-07-20 07:49:08'::timestamp) - extract(epoch from '2026-07-20 07:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34443 -2.801538)'), GeomFromEWKT('SRID=4674;POINT (-40.344557 -2.801632)'))) / (select extract(epoch from '2026-07-20 07:49:08'::timestamp) - extract(epoch from '2026-07-20 07:49: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'), 47645, 'SRID=4674;POINT (-40.344709 -2.80175)', '2026-07-20 07:49:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344557 -2.801632)'), GeomFromEWKT('SRID=4674;POINT (-40.344709 -2.80175)'))) / (select extract(epoch from '2026-07-20 07:49:15'::timestamp) - extract(epoch from '2026-07-20 07:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344557 -2.801632)'), GeomFromEWKT('SRID=4674;POINT (-40.344709 -2.80175)'))) / (select extract(epoch from '2026-07-20 07:49:15'::timestamp) - extract(epoch from '2026-07-20 07:49:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.344855 -2.801835)', '2026-07-20 07:49:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344709 -2.80175)'), GeomFromEWKT('SRID=4674;POINT (-40.344855 -2.801835)'))) / (select extract(epoch from '2026-07-20 07:49:21'::timestamp) - extract(epoch from '2026-07-20 07:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344709 -2.80175)'), GeomFromEWKT('SRID=4674;POINT (-40.344855 -2.801835)'))) / (select extract(epoch from '2026-07-20 07:49:21'::timestamp) - extract(epoch from '2026-07-20 07:49: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'), 47645, 'SRID=4674;POINT (-40.345022 -2.801948)', '2026-07-20 07:49:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344855 -2.801835)'), GeomFromEWKT('SRID=4674;POINT (-40.345022 -2.801948)'))) / (select extract(epoch from '2026-07-20 07:49:28'::timestamp) - extract(epoch from '2026-07-20 07:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344855 -2.801835)'), GeomFromEWKT('SRID=4674;POINT (-40.345022 -2.801948)'))) / (select extract(epoch from '2026-07-20 07:49:28'::timestamp) - extract(epoch from '2026-07-20 07:49: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'), 47645, 'SRID=4674;POINT (-40.345174 -2.802033)', '2026-07-20 07:49:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345022 -2.801948)'), GeomFromEWKT('SRID=4674;POINT (-40.345174 -2.802033)'))) / (select extract(epoch from '2026-07-20 07:49:35'::timestamp) - extract(epoch from '2026-07-20 07:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345022 -2.801948)'), GeomFromEWKT('SRID=4674;POINT (-40.345174 -2.802033)'))) / (select extract(epoch from '2026-07-20 07:49:35'::timestamp) - extract(epoch from '2026-07-20 07:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.345363 -2.802145)', '2026-07-20 07:49:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345174 -2.802033)'), GeomFromEWKT('SRID=4674;POINT (-40.345363 -2.802145)'))) / (select extract(epoch from '2026-07-20 07:49:43'::timestamp) - extract(epoch from '2026-07-20 07:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345174 -2.802033)'), GeomFromEWKT('SRID=4674;POINT (-40.345363 -2.802145)'))) / (select extract(epoch from '2026-07-20 07:49:43'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.345508 -2.802209)', '2026-07-20 07:49:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345363 -2.802145)'), GeomFromEWKT('SRID=4674;POINT (-40.345508 -2.802209)'))) / (select extract(epoch from '2026-07-20 07:49:50'::timestamp) - extract(epoch from '2026-07-20 07:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345363 -2.802145)'), GeomFromEWKT('SRID=4674;POINT (-40.345508 -2.802209)'))) / (select extract(epoch from '2026-07-20 07:49:50'::timestamp) - extract(epoch from '2026-07-20 07:49: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'), 47645, 'SRID=4674;POINT (-40.345635 -2.80227)', '2026-07-20 07:49:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345508 -2.802209)'), GeomFromEWKT('SRID=4674;POINT (-40.345635 -2.80227)'))) / (select extract(epoch from '2026-07-20 07:49:56'::timestamp) - extract(epoch from '2026-07-20 07:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345508 -2.802209)'), GeomFromEWKT('SRID=4674;POINT (-40.345635 -2.80227)'))) / (select extract(epoch from '2026-07-20 07:49:56'::timestamp) - extract(epoch from '2026-07-20 07:49:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.345774 -2.802335)', '2026-07-20 07:50:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345635 -2.80227)'), GeomFromEWKT('SRID=4674;POINT (-40.345774 -2.802335)'))) / (select extract(epoch from '2026-07-20 07:50:03'::timestamp) - extract(epoch from '2026-07-20 07:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345635 -2.80227)'), GeomFromEWKT('SRID=4674;POINT (-40.345774 -2.802335)'))) / (select extract(epoch from '2026-07-20 07:50:03'::timestamp) - extract(epoch from '2026-07-20 07:49: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'), 47645, 'SRID=4674;POINT (-40.34595 -2.802406)', '2026-07-20 07:50:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345774 -2.802335)'), GeomFromEWKT('SRID=4674;POINT (-40.34595 -2.802406)'))) / (select extract(epoch from '2026-07-20 07:50:12'::timestamp) - extract(epoch from '2026-07-20 07:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345774 -2.802335)'), GeomFromEWKT('SRID=4674;POINT (-40.34595 -2.802406)'))) / (select extract(epoch from '2026-07-20 07:50:12'::timestamp) - extract(epoch from '2026-07-20 07:50: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'), 47645, 'SRID=4674;POINT (-40.346087 -2.802452)', '2026-07-20 07:50:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34595 -2.802406)'), GeomFromEWKT('SRID=4674;POINT (-40.346087 -2.802452)'))) / (select extract(epoch from '2026-07-20 07:50:18'::timestamp) - extract(epoch from '2026-07-20 07:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34595 -2.802406)'), GeomFromEWKT('SRID=4674;POINT (-40.346087 -2.802452)'))) / (select extract(epoch from '2026-07-20 07:50:18'::timestamp) - extract(epoch from '2026-07-20 07:50:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.34621 -2.802508)', '2026-07-20 07:50:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346087 -2.802452)'), GeomFromEWKT('SRID=4674;POINT (-40.34621 -2.802508)'))) / (select extract(epoch from '2026-07-20 07:50:23'::timestamp) - extract(epoch from '2026-07-20 07:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346087 -2.802452)'), GeomFromEWKT('SRID=4674;POINT (-40.34621 -2.802508)'))) / (select extract(epoch from '2026-07-20 07:50:23'::timestamp) - extract(epoch from '2026-07-20 07:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.346305 -2.802556)', '2026-07-20 07:50:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34621 -2.802508)'), GeomFromEWKT('SRID=4674;POINT (-40.346305 -2.802556)'))) / (select extract(epoch from '2026-07-20 07:50:28'::timestamp) - extract(epoch from '2026-07-20 07:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34621 -2.802508)'), GeomFromEWKT('SRID=4674;POINT (-40.346305 -2.802556)'))) / (select extract(epoch from '2026-07-20 07:50:28'::timestamp) - extract(epoch from '2026-07-20 07:50: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'), 47645, 'SRID=4674;POINT (-40.346439 -2.802622)', '2026-07-20 07:50:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346305 -2.802556)'), GeomFromEWKT('SRID=4674;POINT (-40.346439 -2.802622)'))) / (select extract(epoch from '2026-07-20 07:50:35'::timestamp) - extract(epoch from '2026-07-20 07:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346305 -2.802556)'), GeomFromEWKT('SRID=4674;POINT (-40.346439 -2.802622)'))) / (select extract(epoch from '2026-07-20 07:50:35'::timestamp) - extract(epoch from '2026-07-20 07:50: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'), 47645, 'SRID=4674;POINT (-40.346575 -2.802699)', '2026-07-20 07:50:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346439 -2.802622)'), GeomFromEWKT('SRID=4674;POINT (-40.346575 -2.802699)'))) / (select extract(epoch from '2026-07-20 07:50:42'::timestamp) - extract(epoch from '2026-07-20 07:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346439 -2.802622)'), GeomFromEWKT('SRID=4674;POINT (-40.346575 -2.802699)'))) / (select extract(epoch from '2026-07-20 07:50:42'::timestamp) - extract(epoch from '2026-07-20 07:50:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.346696 -2.802764)', '2026-07-20 07:50:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346575 -2.802699)'), GeomFromEWKT('SRID=4674;POINT (-40.346696 -2.802764)'))) / (select extract(epoch from '2026-07-20 07:50:48'::timestamp) - extract(epoch from '2026-07-20 07:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346575 -2.802699)'), GeomFromEWKT('SRID=4674;POINT (-40.346696 -2.802764)'))) / (select extract(epoch from '2026-07-20 07:50:48'::timestamp) - extract(epoch from '2026-07-20 07:50:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.346848 -2.802852)', '2026-07-20 07:50:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346696 -2.802764)'), GeomFromEWKT('SRID=4674;POINT (-40.346848 -2.802852)'))) / (select extract(epoch from '2026-07-20 07:50:55'::timestamp) - extract(epoch from '2026-07-20 07:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346696 -2.802764)'), GeomFromEWKT('SRID=4674;POINT (-40.346848 -2.802852)'))) / (select extract(epoch from '2026-07-20 07:50:55'::timestamp) - extract(epoch from '2026-07-20 07:50:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.346993 -2.80292)', '2026-07-20 07:51:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346848 -2.802852)'), GeomFromEWKT('SRID=4674;POINT (-40.346993 -2.80292)'))) / (select extract(epoch from '2026-07-20 07:51:02'::timestamp) - extract(epoch from '2026-07-20 07:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346848 -2.802852)'), GeomFromEWKT('SRID=4674;POINT (-40.346993 -2.80292)'))) / (select extract(epoch from '2026-07-20 07:51:02'::timestamp) - extract(epoch from '2026-07-20 07:50:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.347183 -2.803022)', '2026-07-20 07:51:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346993 -2.80292)'), GeomFromEWKT('SRID=4674;POINT (-40.347183 -2.803022)'))) / (select extract(epoch from '2026-07-20 07:51:10'::timestamp) - extract(epoch from '2026-07-20 07:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346993 -2.80292)'), GeomFromEWKT('SRID=4674;POINT (-40.347183 -2.803022)'))) / (select extract(epoch from '2026-07-20 07:51:10'::timestamp) - extract(epoch from '2026-07-20 07:51:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.347379 -2.803147)', '2026-07-20 07:51:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347183 -2.803022)'), GeomFromEWKT('SRID=4674;POINT (-40.347379 -2.803147)'))) / (select extract(epoch from '2026-07-20 07:51:18'::timestamp) - extract(epoch from '2026-07-20 07:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347183 -2.803022)'), GeomFromEWKT('SRID=4674;POINT (-40.347379 -2.803147)'))) / (select extract(epoch from '2026-07-20 07:51:18'::timestamp) - extract(epoch from '2026-07-20 07:51: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'), 47645, 'SRID=4674;POINT (-40.347503 -2.803218)', '2026-07-20 07:51:24', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347379 -2.803147)'), GeomFromEWKT('SRID=4674;POINT (-40.347503 -2.803218)'))) / (select extract(epoch from '2026-07-20 07:51:24'::timestamp) - extract(epoch from '2026-07-20 07:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347379 -2.803147)'), GeomFromEWKT('SRID=4674;POINT (-40.347503 -2.803218)'))) / (select extract(epoch from '2026-07-20 07:51:24'::timestamp) - extract(epoch from '2026-07-20 07:51: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'), 47645, 'SRID=4674;POINT (-40.347639 -2.803304)', '2026-07-20 07:51:31', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347503 -2.803218)'), GeomFromEWKT('SRID=4674;POINT (-40.347639 -2.803304)'))) / (select extract(epoch from '2026-07-20 07:51:31'::timestamp) - extract(epoch from '2026-07-20 07:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347503 -2.803218)'), GeomFromEWKT('SRID=4674;POINT (-40.347639 -2.803304)'))) / (select extract(epoch from '2026-07-20 07:51:31'::timestamp) - extract(epoch from '2026-07-20 07:51: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'), 47645, 'SRID=4674;POINT (-40.347761 -2.803385)', '2026-07-20 07:51:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347639 -2.803304)'), GeomFromEWKT('SRID=4674;POINT (-40.347761 -2.803385)'))) / (select extract(epoch from '2026-07-20 07:51:37'::timestamp) - extract(epoch from '2026-07-20 07:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347639 -2.803304)'), GeomFromEWKT('SRID=4674;POINT (-40.347761 -2.803385)'))) / (select extract(epoch from '2026-07-20 07:51:37'::timestamp) - extract(epoch from '2026-07-20 07:51:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.34787 -2.803482)', '2026-07-20 07:51:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347761 -2.803385)'), GeomFromEWKT('SRID=4674;POINT (-40.34787 -2.803482)'))) / (select extract(epoch from '2026-07-20 07:51:43'::timestamp) - extract(epoch from '2026-07-20 07:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347761 -2.803385)'), GeomFromEWKT('SRID=4674;POINT (-40.34787 -2.803482)'))) / (select extract(epoch from '2026-07-20 07:51:43'::timestamp) - extract(epoch from '2026-07-20 07:51: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'), 47645, 'SRID=4674;POINT (-40.347996 -2.803554)', '2026-07-20 07:51:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34787 -2.803482)'), GeomFromEWKT('SRID=4674;POINT (-40.347996 -2.803554)'))) / (select extract(epoch from '2026-07-20 07:51:49'::timestamp) - extract(epoch from '2026-07-20 07:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34787 -2.803482)'), GeomFromEWKT('SRID=4674;POINT (-40.347996 -2.803554)'))) / (select extract(epoch from '2026-07-20 07:51:49'::timestamp) - extract(epoch from '2026-07-20 07:51: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'), 47645, 'SRID=4674;POINT (-40.348123 -2.803617)', '2026-07-20 07:51:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347996 -2.803554)'), GeomFromEWKT('SRID=4674;POINT (-40.348123 -2.803617)'))) / (select extract(epoch from '2026-07-20 07:51:55'::timestamp) - extract(epoch from '2026-07-20 07:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347996 -2.803554)'), GeomFromEWKT('SRID=4674;POINT (-40.348123 -2.803617)'))) / (select extract(epoch from '2026-07-20 07:51:55'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.348242 -2.803685)', '2026-07-20 07:52:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348123 -2.803617)'), GeomFromEWKT('SRID=4674;POINT (-40.348242 -2.803685)'))) / (select extract(epoch from '2026-07-20 07:52:01'::timestamp) - extract(epoch from '2026-07-20 07:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348123 -2.803617)'), GeomFromEWKT('SRID=4674;POINT (-40.348242 -2.803685)'))) / (select extract(epoch from '2026-07-20 07:52:01'::timestamp) - extract(epoch from '2026-07-20 07:51:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.348347 -2.803756)', '2026-07-20 07:52:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348242 -2.803685)'), GeomFromEWKT('SRID=4674;POINT (-40.348347 -2.803756)'))) / (select extract(epoch from '2026-07-20 07:52:06'::timestamp) - extract(epoch from '2026-07-20 07:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348242 -2.803685)'), GeomFromEWKT('SRID=4674;POINT (-40.348347 -2.803756)'))) / (select extract(epoch from '2026-07-20 07:52:06'::timestamp) - extract(epoch from '2026-07-20 07:52: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'), 47645, 'SRID=4674;POINT (-40.34845 -2.803837)', '2026-07-20 07:52:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348347 -2.803756)'), GeomFromEWKT('SRID=4674;POINT (-40.34845 -2.803837)'))) / (select extract(epoch from '2026-07-20 07:52:11'::timestamp) - extract(epoch from '2026-07-20 07:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348347 -2.803756)'), GeomFromEWKT('SRID=4674;POINT (-40.34845 -2.803837)'))) / (select extract(epoch from '2026-07-20 07:52:11'::timestamp) - extract(epoch from '2026-07-20 07:52: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'), 47645, 'SRID=4674;POINT (-40.348601 -2.803939)', '2026-07-20 07:52:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34845 -2.803837)'), GeomFromEWKT('SRID=4674;POINT (-40.348601 -2.803939)'))) / (select extract(epoch from '2026-07-20 07:52:18'::timestamp) - extract(epoch from '2026-07-20 07:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34845 -2.803837)'), GeomFromEWKT('SRID=4674;POINT (-40.348601 -2.803939)'))) / (select extract(epoch from '2026-07-20 07:52:18'::timestamp) - extract(epoch from '2026-07-20 07:52: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'), 47645, 'SRID=4674;POINT (-40.34877 -2.804049)', '2026-07-20 07:52:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348601 -2.803939)'), GeomFromEWKT('SRID=4674;POINT (-40.34877 -2.804049)'))) / (select extract(epoch from '2026-07-20 07:52:25'::timestamp) - extract(epoch from '2026-07-20 07:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348601 -2.803939)'), GeomFromEWKT('SRID=4674;POINT (-40.34877 -2.804049)'))) / (select extract(epoch from '2026-07-20 07:52:25'::timestamp) - extract(epoch from '2026-07-20 07:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.348919 -2.804159)', '2026-07-20 07:52:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34877 -2.804049)'), GeomFromEWKT('SRID=4674;POINT (-40.348919 -2.804159)'))) / (select extract(epoch from '2026-07-20 07:52:32'::timestamp) - extract(epoch from '2026-07-20 07:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34877 -2.804049)'), GeomFromEWKT('SRID=4674;POINT (-40.348919 -2.804159)'))) / (select extract(epoch from '2026-07-20 07:52:32'::timestamp) - extract(epoch from '2026-07-20 07:52: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'), 47645, 'SRID=4674;POINT (-40.349051 -2.804257)', '2026-07-20 07:52:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348919 -2.804159)'), GeomFromEWKT('SRID=4674;POINT (-40.349051 -2.804257)'))) / (select extract(epoch from '2026-07-20 07:52:38'::timestamp) - extract(epoch from '2026-07-20 07:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348919 -2.804159)'), GeomFromEWKT('SRID=4674;POINT (-40.349051 -2.804257)'))) / (select extract(epoch from '2026-07-20 07:52:38'::timestamp) - extract(epoch from '2026-07-20 07:52: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'), 47645, 'SRID=4674;POINT (-40.349221 -2.804345)', '2026-07-20 07:52:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349051 -2.804257)'), GeomFromEWKT('SRID=4674;POINT (-40.349221 -2.804345)'))) / (select extract(epoch from '2026-07-20 07:52:45'::timestamp) - extract(epoch from '2026-07-20 07:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349051 -2.804257)'), GeomFromEWKT('SRID=4674;POINT (-40.349221 -2.804345)'))) / (select extract(epoch from '2026-07-20 07:52:45'::timestamp) - extract(epoch from '2026-07-20 07:52: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'), 47645, 'SRID=4674;POINT (-40.349371 -2.804414)', '2026-07-20 07:52:52', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349221 -2.804345)'), GeomFromEWKT('SRID=4674;POINT (-40.349371 -2.804414)'))) / (select extract(epoch from '2026-07-20 07:52:52'::timestamp) - extract(epoch from '2026-07-20 07:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349221 -2.804345)'), GeomFromEWKT('SRID=4674;POINT (-40.349371 -2.804414)'))) / (select extract(epoch from '2026-07-20 07:52:52'::timestamp) - extract(epoch from '2026-07-20 07:52: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'), 47645, 'SRID=4674;POINT (-40.349492 -2.804465)', '2026-07-20 07:52:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349371 -2.804414)'), GeomFromEWKT('SRID=4674;POINT (-40.349492 -2.804465)'))) / (select extract(epoch from '2026-07-20 07:52:57'::timestamp) - extract(epoch from '2026-07-20 07:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349371 -2.804414)'), GeomFromEWKT('SRID=4674;POINT (-40.349492 -2.804465)'))) / (select extract(epoch from '2026-07-20 07:52:57'::timestamp) - extract(epoch from '2026-07-20 07:52:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.349668 -2.804515)', '2026-07-20 07:53:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349492 -2.804465)'), GeomFromEWKT('SRID=4674;POINT (-40.349668 -2.804515)'))) / (select extract(epoch from '2026-07-20 07:53:05'::timestamp) - extract(epoch from '2026-07-20 07:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349492 -2.804465)'), GeomFromEWKT('SRID=4674;POINT (-40.349668 -2.804515)'))) / (select extract(epoch from '2026-07-20 07:53:05'::timestamp) - extract(epoch from '2026-07-20 07:52: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'), 47645, 'SRID=4674;POINT (-40.349821 -2.804566)', '2026-07-20 07:53:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349668 -2.804515)'), GeomFromEWKT('SRID=4674;POINT (-40.349821 -2.804566)'))) / (select extract(epoch from '2026-07-20 07:53:12'::timestamp) - extract(epoch from '2026-07-20 07:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349668 -2.804515)'), GeomFromEWKT('SRID=4674;POINT (-40.349821 -2.804566)'))) / (select extract(epoch from '2026-07-20 07:53:12'::timestamp) - extract(epoch from '2026-07-20 07:53: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'), 47645, 'SRID=4674;POINT (-40.349921 -2.804603)', '2026-07-20 07:53:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349821 -2.804566)'), GeomFromEWKT('SRID=4674;POINT (-40.349921 -2.804603)'))) / (select extract(epoch from '2026-07-20 07:53:17'::timestamp) - extract(epoch from '2026-07-20 07:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349821 -2.804566)'), GeomFromEWKT('SRID=4674;POINT (-40.349921 -2.804603)'))) / (select extract(epoch from '2026-07-20 07:53:17'::timestamp) - extract(epoch from '2026-07-20 07:53: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'), 47645, 'SRID=4674;POINT (-40.350031 -2.804654)', '2026-07-20 07:53:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349921 -2.804603)'), GeomFromEWKT('SRID=4674;POINT (-40.350031 -2.804654)'))) / (select extract(epoch from '2026-07-20 07:53:23'::timestamp) - extract(epoch from '2026-07-20 07:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349921 -2.804603)'), GeomFromEWKT('SRID=4674;POINT (-40.350031 -2.804654)'))) / (select extract(epoch from '2026-07-20 07:53:23'::timestamp) - extract(epoch from '2026-07-20 07:53: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'), 47645, 'SRID=4674;POINT (-40.350125 -2.804696)', '2026-07-20 07:53:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350031 -2.804654)'), GeomFromEWKT('SRID=4674;POINT (-40.350125 -2.804696)'))) / (select extract(epoch from '2026-07-20 07:53:27'::timestamp) - extract(epoch from '2026-07-20 07:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350031 -2.804654)'), GeomFromEWKT('SRID=4674;POINT (-40.350125 -2.804696)'))) / (select extract(epoch from '2026-07-20 07:53:27'::timestamp) - extract(epoch from '2026-07-20 07:53: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'), 47645, 'SRID=4674;POINT (-40.350257 -2.804737)', '2026-07-20 07:53:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350125 -2.804696)'), GeomFromEWKT('SRID=4674;POINT (-40.350257 -2.804737)'))) / (select extract(epoch from '2026-07-20 07:53:33'::timestamp) - extract(epoch from '2026-07-20 07:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350125 -2.804696)'), GeomFromEWKT('SRID=4674;POINT (-40.350257 -2.804737)'))) / (select extract(epoch from '2026-07-20 07:53:33'::timestamp) - extract(epoch from '2026-07-20 07:53: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'), 47645, 'SRID=4674;POINT (-40.350372 -2.804785)', '2026-07-20 07:53:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350257 -2.804737)'), GeomFromEWKT('SRID=4674;POINT (-40.350372 -2.804785)'))) / (select extract(epoch from '2026-07-20 07:53:39'::timestamp) - extract(epoch from '2026-07-20 07:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350257 -2.804737)'), GeomFromEWKT('SRID=4674;POINT (-40.350372 -2.804785)'))) / (select extract(epoch from '2026-07-20 07:53:39'::timestamp) - extract(epoch from '2026-07-20 07:53:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.350536 -2.804861)', '2026-07-20 07:53:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350372 -2.804785)'), GeomFromEWKT('SRID=4674;POINT (-40.350536 -2.804861)'))) / (select extract(epoch from '2026-07-20 07:53:47'::timestamp) - extract(epoch from '2026-07-20 07:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350372 -2.804785)'), GeomFromEWKT('SRID=4674;POINT (-40.350536 -2.804861)'))) / (select extract(epoch from '2026-07-20 07:53:47'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.350649 -2.80493)', '2026-07-20 07:53:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350536 -2.804861)'), GeomFromEWKT('SRID=4674;POINT (-40.350649 -2.80493)'))) / (select extract(epoch from '2026-07-20 07:53:53'::timestamp) - extract(epoch from '2026-07-20 07:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350536 -2.804861)'), GeomFromEWKT('SRID=4674;POINT (-40.350649 -2.80493)'))) / (select extract(epoch from '2026-07-20 07:53:53'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.350752 -2.804993)', '2026-07-20 07:53:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350649 -2.80493)'), GeomFromEWKT('SRID=4674;POINT (-40.350752 -2.804993)'))) / (select extract(epoch from '2026-07-20 07:53:58'::timestamp) - extract(epoch from '2026-07-20 07:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350649 -2.80493)'), GeomFromEWKT('SRID=4674;POINT (-40.350752 -2.804993)'))) / (select extract(epoch from '2026-07-20 07:53:58'::timestamp) - extract(epoch from '2026-07-20 07:53:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.350879 -2.805063)', '2026-07-20 07:54:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350752 -2.804993)'), GeomFromEWKT('SRID=4674;POINT (-40.350879 -2.805063)'))) / (select extract(epoch from '2026-07-20 07:54:04'::timestamp) - extract(epoch from '2026-07-20 07:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350752 -2.804993)'), GeomFromEWKT('SRID=4674;POINT (-40.350879 -2.805063)'))) / (select extract(epoch from '2026-07-20 07:54:04'::timestamp) - extract(epoch from '2026-07-20 07:53: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'), 47645, 'SRID=4674;POINT (-40.351043 -2.805153)', '2026-07-20 07:54:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350879 -2.805063)'), GeomFromEWKT('SRID=4674;POINT (-40.351043 -2.805153)'))) / (select extract(epoch from '2026-07-20 07:54:12'::timestamp) - extract(epoch from '2026-07-20 07:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350879 -2.805063)'), GeomFromEWKT('SRID=4674;POINT (-40.351043 -2.805153)'))) / (select extract(epoch from '2026-07-20 07:54:12'::timestamp) - extract(epoch from '2026-07-20 07:54: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'), 47645, 'SRID=4674;POINT (-40.351188 -2.805237)', '2026-07-20 07:54:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351043 -2.805153)'), GeomFromEWKT('SRID=4674;POINT (-40.351188 -2.805237)'))) / (select extract(epoch from '2026-07-20 07:54:20'::timestamp) - extract(epoch from '2026-07-20 07:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351043 -2.805153)'), GeomFromEWKT('SRID=4674;POINT (-40.351188 -2.805237)'))) / (select extract(epoch from '2026-07-20 07:54:20'::timestamp) - extract(epoch from '2026-07-20 07:54: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'), 47645, 'SRID=4674;POINT (-40.351306 -2.805304)', '2026-07-20 07:54:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351188 -2.805237)'), GeomFromEWKT('SRID=4674;POINT (-40.351306 -2.805304)'))) / (select extract(epoch from '2026-07-20 07:54:26'::timestamp) - extract(epoch from '2026-07-20 07:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351188 -2.805237)'), GeomFromEWKT('SRID=4674;POINT (-40.351306 -2.805304)'))) / (select extract(epoch from '2026-07-20 07:54:26'::timestamp) - extract(epoch from '2026-07-20 07:54: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'), 47645, 'SRID=4674;POINT (-40.351419 -2.805361)', '2026-07-20 07:54:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351306 -2.805304)'), GeomFromEWKT('SRID=4674;POINT (-40.351419 -2.805361)'))) / (select extract(epoch from '2026-07-20 07:54:32'::timestamp) - extract(epoch from '2026-07-20 07:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351306 -2.805304)'), GeomFromEWKT('SRID=4674;POINT (-40.351419 -2.805361)'))) / (select extract(epoch from '2026-07-20 07:54:32'::timestamp) - extract(epoch from '2026-07-20 07:54: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'), 47645, 'SRID=4674;POINT (-40.351532 -2.805406)', '2026-07-20 07:54:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351419 -2.805361)'), GeomFromEWKT('SRID=4674;POINT (-40.351532 -2.805406)'))) / (select extract(epoch from '2026-07-20 07:54:38'::timestamp) - extract(epoch from '2026-07-20 07:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351419 -2.805361)'), GeomFromEWKT('SRID=4674;POINT (-40.351532 -2.805406)'))) / (select extract(epoch from '2026-07-20 07:54:38'::timestamp) - extract(epoch from '2026-07-20 07:54: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'), 47645, 'SRID=4674;POINT (-40.351675 -2.80548)', '2026-07-20 07:54:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351532 -2.805406)'), GeomFromEWKT('SRID=4674;POINT (-40.351675 -2.80548)'))) / (select extract(epoch from '2026-07-20 07:54:45'::timestamp) - extract(epoch from '2026-07-20 07:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351532 -2.805406)'), GeomFromEWKT('SRID=4674;POINT (-40.351675 -2.80548)'))) / (select extract(epoch from '2026-07-20 07:54:45'::timestamp) - extract(epoch from '2026-07-20 07:54: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'), 47645, 'SRID=4674;POINT (-40.351825 -2.805558)', '2026-07-20 07:54:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351675 -2.80548)'), GeomFromEWKT('SRID=4674;POINT (-40.351825 -2.805558)'))) / (select extract(epoch from '2026-07-20 07:54:52'::timestamp) - extract(epoch from '2026-07-20 07:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351675 -2.80548)'), GeomFromEWKT('SRID=4674;POINT (-40.351825 -2.805558)'))) / (select extract(epoch from '2026-07-20 07:54:52'::timestamp) - extract(epoch from '2026-07-20 07:54:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.351967 -2.805646)', '2026-07-20 07:54:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351825 -2.805558)'), GeomFromEWKT('SRID=4674;POINT (-40.351967 -2.805646)'))) / (select extract(epoch from '2026-07-20 07:54:59'::timestamp) - extract(epoch from '2026-07-20 07:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351825 -2.805558)'), GeomFromEWKT('SRID=4674;POINT (-40.351967 -2.805646)'))) / (select extract(epoch from '2026-07-20 07:54:59'::timestamp) - extract(epoch from '2026-07-20 07:54: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'), 47645, 'SRID=4674;POINT (-40.352088 -2.805737)', '2026-07-20 07:55:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351967 -2.805646)'), GeomFromEWKT('SRID=4674;POINT (-40.352088 -2.805737)'))) / (select extract(epoch from '2026-07-20 07:55:05'::timestamp) - extract(epoch from '2026-07-20 07:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351967 -2.805646)'), GeomFromEWKT('SRID=4674;POINT (-40.352088 -2.805737)'))) / (select extract(epoch from '2026-07-20 07:55:05'::timestamp) - extract(epoch from '2026-07-20 07:54:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.352214 -2.805831)', '2026-07-20 07:55:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352088 -2.805737)'), GeomFromEWKT('SRID=4674;POINT (-40.352214 -2.805831)'))) / (select extract(epoch from '2026-07-20 07:55:12'::timestamp) - extract(epoch from '2026-07-20 07:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352088 -2.805737)'), GeomFromEWKT('SRID=4674;POINT (-40.352214 -2.805831)'))) / (select extract(epoch from '2026-07-20 07:55:12'::timestamp) - extract(epoch from '2026-07-20 07:55:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.352343 -2.805901)', '2026-07-20 07:55:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352214 -2.805831)'), GeomFromEWKT('SRID=4674;POINT (-40.352343 -2.805901)'))) / (select extract(epoch from '2026-07-20 07:55:19'::timestamp) - extract(epoch from '2026-07-20 07:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352214 -2.805831)'), GeomFromEWKT('SRID=4674;POINT (-40.352343 -2.805901)'))) / (select extract(epoch from '2026-07-20 07:55:19'::timestamp) - extract(epoch from '2026-07-20 07:55: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'), 47645, 'SRID=4674;POINT (-40.35246 -2.806004)', '2026-07-20 07:55:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352343 -2.805901)'), GeomFromEWKT('SRID=4674;POINT (-40.35246 -2.806004)'))) / (select extract(epoch from '2026-07-20 07:55:26'::timestamp) - extract(epoch from '2026-07-20 07:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352343 -2.805901)'), GeomFromEWKT('SRID=4674;POINT (-40.35246 -2.806004)'))) / (select extract(epoch from '2026-07-20 07:55:26'::timestamp) - extract(epoch from '2026-07-20 07:55: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'), 47645, 'SRID=4674;POINT (-40.352553 -2.806086)', '2026-07-20 07:55:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35246 -2.806004)'), GeomFromEWKT('SRID=4674;POINT (-40.352553 -2.806086)'))) / (select extract(epoch from '2026-07-20 07:55:32'::timestamp) - extract(epoch from '2026-07-20 07:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35246 -2.806004)'), GeomFromEWKT('SRID=4674;POINT (-40.352553 -2.806086)'))) / (select extract(epoch from '2026-07-20 07:55:32'::timestamp) - extract(epoch from '2026-07-20 07:55:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.352661 -2.806177)', '2026-07-20 07:55:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352553 -2.806086)'), GeomFromEWKT('SRID=4674;POINT (-40.352661 -2.806177)'))) / (select extract(epoch from '2026-07-20 07:55:38'::timestamp) - extract(epoch from '2026-07-20 07:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352553 -2.806086)'), GeomFromEWKT('SRID=4674;POINT (-40.352661 -2.806177)'))) / (select extract(epoch from '2026-07-20 07:55:38'::timestamp) - extract(epoch from '2026-07-20 07:55: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'), 47645, 'SRID=4674;POINT (-40.352779 -2.806261)', '2026-07-20 07:55:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352661 -2.806177)'), GeomFromEWKT('SRID=4674;POINT (-40.352779 -2.806261)'))) / (select extract(epoch from '2026-07-20 07:55:44'::timestamp) - extract(epoch from '2026-07-20 07:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352661 -2.806177)'), GeomFromEWKT('SRID=4674;POINT (-40.352779 -2.806261)'))) / (select extract(epoch from '2026-07-20 07:55:44'::timestamp) - extract(epoch from '2026-07-20 07:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.352899 -2.806357)', '2026-07-20 07:55:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352779 -2.806261)'), GeomFromEWKT('SRID=4674;POINT (-40.352899 -2.806357)'))) / (select extract(epoch from '2026-07-20 07:55:51'::timestamp) - extract(epoch from '2026-07-20 07:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352779 -2.806261)'), GeomFromEWKT('SRID=4674;POINT (-40.352899 -2.806357)'))) / (select extract(epoch from '2026-07-20 07:55:51'::timestamp) - extract(epoch from '2026-07-20 07:55: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'), 47645, 'SRID=4674;POINT (-40.352973 -2.806413)', '2026-07-20 07:55:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352899 -2.806357)'), GeomFromEWKT('SRID=4674;POINT (-40.352973 -2.806413)'))) / (select extract(epoch from '2026-07-20 07:55:56'::timestamp) - extract(epoch from '2026-07-20 07:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352899 -2.806357)'), GeomFromEWKT('SRID=4674;POINT (-40.352973 -2.806413)'))) / (select extract(epoch from '2026-07-20 07:55:56'::timestamp) - extract(epoch from '2026-07-20 07:55: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'), 47645, 'SRID=4674;POINT (-40.353079 -2.8065)', '2026-07-20 07:56:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352973 -2.806413)'), GeomFromEWKT('SRID=4674;POINT (-40.353079 -2.8065)'))) / (select extract(epoch from '2026-07-20 07:56:02'::timestamp) - extract(epoch from '2026-07-20 07:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352973 -2.806413)'), GeomFromEWKT('SRID=4674;POINT (-40.353079 -2.8065)'))) / (select extract(epoch from '2026-07-20 07:56:02'::timestamp) - extract(epoch from '2026-07-20 07:55: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'), 47645, 'SRID=4674;POINT (-40.353185 -2.806607)', '2026-07-20 07:56:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353079 -2.8065)'), GeomFromEWKT('SRID=4674;POINT (-40.353185 -2.806607)'))) / (select extract(epoch from '2026-07-20 07:56:08'::timestamp) - extract(epoch from '2026-07-20 07:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353079 -2.8065)'), GeomFromEWKT('SRID=4674;POINT (-40.353185 -2.806607)'))) / (select extract(epoch from '2026-07-20 07:56:08'::timestamp) - extract(epoch from '2026-07-20 07:56: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'), 47645, 'SRID=4674;POINT (-40.353334 -2.806734)', '2026-07-20 07:56:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353185 -2.806607)'), GeomFromEWKT('SRID=4674;POINT (-40.353334 -2.806734)'))) / (select extract(epoch from '2026-07-20 07:56:16'::timestamp) - extract(epoch from '2026-07-20 07:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353185 -2.806607)'), GeomFromEWKT('SRID=4674;POINT (-40.353334 -2.806734)'))) / (select extract(epoch from '2026-07-20 07:56:16'::timestamp) - extract(epoch from '2026-07-20 07:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.35351 -2.806827)', '2026-07-20 07:56:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353334 -2.806734)'), GeomFromEWKT('SRID=4674;POINT (-40.35351 -2.806827)'))) / (select extract(epoch from '2026-07-20 07:56:26'::timestamp) - extract(epoch from '2026-07-20 07:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353334 -2.806734)'), GeomFromEWKT('SRID=4674;POINT (-40.35351 -2.806827)'))) / (select extract(epoch from '2026-07-20 07:56:26'::timestamp) - extract(epoch from '2026-07-20 07:56:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.353678 -2.806905)', '2026-07-20 07:56:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35351 -2.806827)'), GeomFromEWKT('SRID=4674;POINT (-40.353678 -2.806905)'))) / (select extract(epoch from '2026-07-20 07:56:35'::timestamp) - extract(epoch from '2026-07-20 07:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35351 -2.806827)'), GeomFromEWKT('SRID=4674;POINT (-40.353678 -2.806905)'))) / (select extract(epoch from '2026-07-20 07:56:35'::timestamp) - extract(epoch from '2026-07-20 07:56:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.35383 -2.806973)', '2026-07-20 07:56:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353678 -2.806905)'), GeomFromEWKT('SRID=4674;POINT (-40.35383 -2.806973)'))) / (select extract(epoch from '2026-07-20 07:56:43'::timestamp) - extract(epoch from '2026-07-20 07:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353678 -2.806905)'), GeomFromEWKT('SRID=4674;POINT (-40.35383 -2.806973)'))) / (select extract(epoch from '2026-07-20 07:56:43'::timestamp) - extract(epoch from '2026-07-20 07:56: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'), 47645, 'SRID=4674;POINT (-40.35394 -2.807017)', '2026-07-20 07:56:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35383 -2.806973)'), GeomFromEWKT('SRID=4674;POINT (-40.35394 -2.807017)'))) / (select extract(epoch from '2026-07-20 07:56:49'::timestamp) - extract(epoch from '2026-07-20 07:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35383 -2.806973)'), GeomFromEWKT('SRID=4674;POINT (-40.35394 -2.807017)'))) / (select extract(epoch from '2026-07-20 07:56:49'::timestamp) - extract(epoch from '2026-07-20 07:56:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.354038 -2.807059)', '2026-07-20 07:56:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35394 -2.807017)'), GeomFromEWKT('SRID=4674;POINT (-40.354038 -2.807059)'))) / (select extract(epoch from '2026-07-20 07:56:55'::timestamp) - extract(epoch from '2026-07-20 07:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35394 -2.807017)'), GeomFromEWKT('SRID=4674;POINT (-40.354038 -2.807059)'))) / (select extract(epoch from '2026-07-20 07:56:55'::timestamp) - extract(epoch from '2026-07-20 07:56: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'), 47645, 'SRID=4674;POINT (-40.354142 -2.807109)', '2026-07-20 07:57:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354038 -2.807059)'), GeomFromEWKT('SRID=4674;POINT (-40.354142 -2.807109)'))) / (select extract(epoch from '2026-07-20 07:57:01'::timestamp) - extract(epoch from '2026-07-20 07:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354038 -2.807059)'), GeomFromEWKT('SRID=4674;POINT (-40.354142 -2.807109)'))) / (select extract(epoch from '2026-07-20 07:57:01'::timestamp) - extract(epoch from '2026-07-20 07:56: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'), 47645, 'SRID=4674;POINT (-40.354261 -2.807177)', '2026-07-20 07:57:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354142 -2.807109)'), GeomFromEWKT('SRID=4674;POINT (-40.354261 -2.807177)'))) / (select extract(epoch from '2026-07-20 07:57:08'::timestamp) - extract(epoch from '2026-07-20 07:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354142 -2.807109)'), GeomFromEWKT('SRID=4674;POINT (-40.354261 -2.807177)'))) / (select extract(epoch from '2026-07-20 07:57:08'::timestamp) - extract(epoch from '2026-07-20 07:57: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'), 47645, 'SRID=4674;POINT (-40.354348 -2.807214)', '2026-07-20 07:57:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354261 -2.807177)'), GeomFromEWKT('SRID=4674;POINT (-40.354348 -2.807214)'))) / (select extract(epoch from '2026-07-20 07:57:13'::timestamp) - extract(epoch from '2026-07-20 07:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354261 -2.807177)'), GeomFromEWKT('SRID=4674;POINT (-40.354348 -2.807214)'))) / (select extract(epoch from '2026-07-20 07:57:13'::timestamp) - extract(epoch from '2026-07-20 07:57:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.354461 -2.807275)', '2026-07-20 07:57:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354348 -2.807214)'), GeomFromEWKT('SRID=4674;POINT (-40.354461 -2.807275)'))) / (select extract(epoch from '2026-07-20 07:57:19'::timestamp) - extract(epoch from '2026-07-20 07:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354348 -2.807214)'), GeomFromEWKT('SRID=4674;POINT (-40.354461 -2.807275)'))) / (select extract(epoch from '2026-07-20 07:57:19'::timestamp) - extract(epoch from '2026-07-20 07:57: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'), 47645, 'SRID=4674;POINT (-40.354578 -2.807337)', '2026-07-20 07:57:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354461 -2.807275)'), GeomFromEWKT('SRID=4674;POINT (-40.354578 -2.807337)'))) / (select extract(epoch from '2026-07-20 07:57:25'::timestamp) - extract(epoch from '2026-07-20 07:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354461 -2.807275)'), GeomFromEWKT('SRID=4674;POINT (-40.354578 -2.807337)'))) / (select extract(epoch from '2026-07-20 07:57:25'::timestamp) - extract(epoch from '2026-07-20 07:57: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'), 47645, 'SRID=4674;POINT (-40.354706 -2.8074)', '2026-07-20 07:57:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354578 -2.807337)'), GeomFromEWKT('SRID=4674;POINT (-40.354706 -2.8074)'))) / (select extract(epoch from '2026-07-20 07:57:31'::timestamp) - extract(epoch from '2026-07-20 07:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354578 -2.807337)'), GeomFromEWKT('SRID=4674;POINT (-40.354706 -2.8074)'))) / (select extract(epoch from '2026-07-20 07:57:31'::timestamp) - extract(epoch from '2026-07-20 07:57: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'), 47645, 'SRID=4674;POINT (-40.354839 -2.80746)', '2026-07-20 07:57:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354706 -2.8074)'), GeomFromEWKT('SRID=4674;POINT (-40.354839 -2.80746)'))) / (select extract(epoch from '2026-07-20 07:57:37'::timestamp) - extract(epoch from '2026-07-20 07:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354706 -2.8074)'), GeomFromEWKT('SRID=4674;POINT (-40.354839 -2.80746)'))) / (select extract(epoch from '2026-07-20 07:57:37'::timestamp) - extract(epoch from '2026-07-20 07:57: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'), 47645, 'SRID=4674;POINT (-40.354937 -2.807499)', '2026-07-20 07:57:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354839 -2.80746)'), GeomFromEWKT('SRID=4674;POINT (-40.354937 -2.807499)'))) / (select extract(epoch from '2026-07-20 07:57:42'::timestamp) - extract(epoch from '2026-07-20 07:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354839 -2.80746)'), GeomFromEWKT('SRID=4674;POINT (-40.354937 -2.807499)'))) / (select extract(epoch from '2026-07-20 07:57:42'::timestamp) - extract(epoch from '2026-07-20 07:57: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'), 47645, 'SRID=4674;POINT (-40.355037 -2.807547)', '2026-07-20 07:57:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354937 -2.807499)'), GeomFromEWKT('SRID=4674;POINT (-40.355037 -2.807547)'))) / (select extract(epoch from '2026-07-20 07:57:47'::timestamp) - extract(epoch from '2026-07-20 07:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354937 -2.807499)'), GeomFromEWKT('SRID=4674;POINT (-40.355037 -2.807547)'))) / (select extract(epoch from '2026-07-20 07:57:47'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.35515 -2.807587)', '2026-07-20 07:57:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355037 -2.807547)'), GeomFromEWKT('SRID=4674;POINT (-40.35515 -2.807587)'))) / (select extract(epoch from '2026-07-20 07:57:53'::timestamp) - extract(epoch from '2026-07-20 07:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355037 -2.807547)'), GeomFromEWKT('SRID=4674;POINT (-40.35515 -2.807587)'))) / (select extract(epoch from '2026-07-20 07:57:53'::timestamp) - extract(epoch from '2026-07-20 07:57: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'), 47645, 'SRID=4674;POINT (-40.355319 -2.807651)', '2026-07-20 07:58:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35515 -2.807587)'), GeomFromEWKT('SRID=4674;POINT (-40.355319 -2.807651)'))) / (select extract(epoch from '2026-07-20 07:58:02'::timestamp) - extract(epoch from '2026-07-20 07:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35515 -2.807587)'), GeomFromEWKT('SRID=4674;POINT (-40.355319 -2.807651)'))) / (select extract(epoch from '2026-07-20 07:58:02'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.355461 -2.807679)', '2026-07-20 07:58:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355319 -2.807651)'), GeomFromEWKT('SRID=4674;POINT (-40.355461 -2.807679)'))) / (select extract(epoch from '2026-07-20 07:58:09'::timestamp) - extract(epoch from '2026-07-20 07:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355319 -2.807651)'), GeomFromEWKT('SRID=4674;POINT (-40.355461 -2.807679)'))) / (select extract(epoch from '2026-07-20 07:58:09'::timestamp) - extract(epoch from '2026-07-20 07:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.355573 -2.807738)', '2026-07-20 07:58:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355461 -2.807679)'), GeomFromEWKT('SRID=4674;POINT (-40.355573 -2.807738)'))) / (select extract(epoch from '2026-07-20 07:58:15'::timestamp) - extract(epoch from '2026-07-20 07:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355461 -2.807679)'), GeomFromEWKT('SRID=4674;POINT (-40.355573 -2.807738)'))) / (select extract(epoch from '2026-07-20 07:58:15'::timestamp) - extract(epoch from '2026-07-20 07:58: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'), 47645, 'SRID=4674;POINT (-40.355609 -2.8078)', '2026-07-20 07:58:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355573 -2.807738)'), GeomFromEWKT('SRID=4674;POINT (-40.355609 -2.8078)'))) / (select extract(epoch from '2026-07-20 07:58:21'::timestamp) - extract(epoch from '2026-07-20 07:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355573 -2.807738)'), GeomFromEWKT('SRID=4674;POINT (-40.355609 -2.8078)'))) / (select extract(epoch from '2026-07-20 07:58:21'::timestamp) - extract(epoch from '2026-07-20 07:58: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'), 47645, 'SRID=4674;POINT (-40.355627 -2.807853)', '2026-07-20 07:58:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355609 -2.8078)'), GeomFromEWKT('SRID=4674;POINT (-40.355627 -2.807853)'))) / (select extract(epoch from '2026-07-20 07:58:29'::timestamp) - extract(epoch from '2026-07-20 07:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355609 -2.8078)'), GeomFromEWKT('SRID=4674;POINT (-40.355627 -2.807853)'))) / (select extract(epoch from '2026-07-20 07:58:29'::timestamp) - extract(epoch from '2026-07-20 07:58: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'), 47645, 'SRID=4674;POINT (-40.355674 -2.807898)', '2026-07-20 07:58:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355627 -2.807853)'), GeomFromEWKT('SRID=4674;POINT (-40.355674 -2.807898)'))) / (select extract(epoch from '2026-07-20 07:58:41'::timestamp) - extract(epoch from '2026-07-20 07:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355627 -2.807853)'), GeomFromEWKT('SRID=4674;POINT (-40.355674 -2.807898)'))) / (select extract(epoch from '2026-07-20 07:58:41'::timestamp) - extract(epoch from '2026-07-20 07:58:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.35572 -2.807924)', '2026-07-20 07:58:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355674 -2.807898)'), GeomFromEWKT('SRID=4674;POINT (-40.35572 -2.807924)'))) / (select extract(epoch from '2026-07-20 07:58:50'::timestamp) - extract(epoch from '2026-07-20 07:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355674 -2.807898)'), GeomFromEWKT('SRID=4674;POINT (-40.35572 -2.807924)'))) / (select extract(epoch from '2026-07-20 07:58:50'::timestamp) - extract(epoch from '2026-07-20 07:58: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'), 47645, 'SRID=4674;POINT (-40.355761 -2.807949)', '2026-07-20 07:59:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35572 -2.807924)'), GeomFromEWKT('SRID=4674;POINT (-40.355761 -2.807949)'))) / (select extract(epoch from '2026-07-20 07:59:00'::timestamp) - extract(epoch from '2026-07-20 07:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35572 -2.807924)'), GeomFromEWKT('SRID=4674;POINT (-40.355761 -2.807949)'))) / (select extract(epoch from '2026-07-20 07:59:00'::timestamp) - extract(epoch from '2026-07-20 07:58: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'), 47645, 'SRID=4674;POINT (-40.355802 -2.807976)', '2026-07-20 07:59:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355761 -2.807949)'), GeomFromEWKT('SRID=4674;POINT (-40.355802 -2.807976)'))) / (select extract(epoch from '2026-07-20 07:59:08'::timestamp) - extract(epoch from '2026-07-20 07:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355761 -2.807949)'), GeomFromEWKT('SRID=4674;POINT (-40.355802 -2.807976)'))) / (select extract(epoch from '2026-07-20 07:59:08'::timestamp) - extract(epoch from '2026-07-20 07:59: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'), 47645, 'SRID=4674;POINT (-40.355857 -2.808015)', '2026-07-20 07:59:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355802 -2.807976)'), GeomFromEWKT('SRID=4674;POINT (-40.355857 -2.808015)'))) / (select extract(epoch from '2026-07-20 07:59:18'::timestamp) - extract(epoch from '2026-07-20 07:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355802 -2.807976)'), GeomFromEWKT('SRID=4674;POINT (-40.355857 -2.808015)'))) / (select extract(epoch from '2026-07-20 07:59:18'::timestamp) - extract(epoch from '2026-07-20 07:59:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.355907 -2.808051)', '2026-07-20 07:59:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355857 -2.808015)'), GeomFromEWKT('SRID=4674;POINT (-40.355907 -2.808051)'))) / (select extract(epoch from '2026-07-20 07:59:29'::timestamp) - extract(epoch from '2026-07-20 07:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355857 -2.808015)'), GeomFromEWKT('SRID=4674;POINT (-40.355907 -2.808051)'))) / (select extract(epoch from '2026-07-20 07:59:29'::timestamp) - extract(epoch from '2026-07-20 07:59: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'), 47645, 'SRID=4674;POINT (-40.355941 -2.80807)', '2026-07-20 07:59:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355907 -2.808051)'), GeomFromEWKT('SRID=4674;POINT (-40.355941 -2.80807)'))) / (select extract(epoch from '2026-07-20 07:59:38'::timestamp) - extract(epoch from '2026-07-20 07:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355907 -2.808051)'), GeomFromEWKT('SRID=4674;POINT (-40.355941 -2.80807)'))) / (select extract(epoch from '2026-07-20 07:59:38'::timestamp) - extract(epoch from '2026-07-20 07:59:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.355958 -2.808088)', '2026-07-20 07:59:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355941 -2.80807)'), GeomFromEWKT('SRID=4674;POINT (-40.355958 -2.808088)'))) / (select extract(epoch from '2026-07-20 07:59:44'::timestamp) - extract(epoch from '2026-07-20 07:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355941 -2.80807)'), GeomFromEWKT('SRID=4674;POINT (-40.355958 -2.808088)'))) / (select extract(epoch from '2026-07-20 07:59:44'::timestamp) - extract(epoch from '2026-07-20 07:59:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.355979 -2.808104)', '2026-07-20 07:59:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355958 -2.808088)'), GeomFromEWKT('SRID=4674;POINT (-40.355979 -2.808104)'))) / (select extract(epoch from '2026-07-20 07:59:51'::timestamp) - extract(epoch from '2026-07-20 07:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355958 -2.808088)'), GeomFromEWKT('SRID=4674;POINT (-40.355979 -2.808104)'))) / (select extract(epoch from '2026-07-20 07:59:51'::timestamp) - extract(epoch from '2026-07-20 07:59: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'), 47645, 'SRID=4674;POINT (-40.356016 -2.80812)', '2026-07-20 08:00:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355979 -2.808104)'), GeomFromEWKT('SRID=4674;POINT (-40.356016 -2.80812)'))) / (select extract(epoch from '2026-07-20 08:00:00'::timestamp) - extract(epoch from '2026-07-20 07:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355979 -2.808104)'), GeomFromEWKT('SRID=4674;POINT (-40.356016 -2.80812)'))) / (select extract(epoch from '2026-07-20 08:00:00'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.356055 -2.808137)', '2026-07-20 08:00:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356016 -2.80812)'), GeomFromEWKT('SRID=4674;POINT (-40.356055 -2.808137)'))) / (select extract(epoch from '2026-07-20 08:00:09'::timestamp) - extract(epoch from '2026-07-20 08:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356016 -2.80812)'), GeomFromEWKT('SRID=4674;POINT (-40.356055 -2.808137)'))) / (select extract(epoch from '2026-07-20 08:00:09'::timestamp) - extract(epoch from '2026-07-20 08:00:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.356109 -2.808143)', '2026-07-20 08:00:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356055 -2.808137)'), GeomFromEWKT('SRID=4674;POINT (-40.356109 -2.808143)'))) / (select extract(epoch from '2026-07-20 08:00:22'::timestamp) - extract(epoch from '2026-07-20 08:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356055 -2.808137)'), GeomFromEWKT('SRID=4674;POINT (-40.356109 -2.808143)'))) / (select extract(epoch from '2026-07-20 08:00:22'::timestamp) - extract(epoch from '2026-07-20 08:00: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'), 47645, 'SRID=4674;POINT (-40.356177 -2.808179)', '2026-07-20 08:00:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356109 -2.808143)'), GeomFromEWKT('SRID=4674;POINT (-40.356177 -2.808179)'))) / (select extract(epoch from '2026-07-20 08:00:42'::timestamp) - extract(epoch from '2026-07-20 08:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356109 -2.808143)'), GeomFromEWKT('SRID=4674;POINT (-40.356177 -2.808179)'))) / (select extract(epoch from '2026-07-20 08:00:42'::timestamp) - extract(epoch from '2026-07-20 08:00:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.356209 -2.808201)', '2026-07-20 08:00:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356177 -2.808179)'), GeomFromEWKT('SRID=4674;POINT (-40.356209 -2.808201)'))) / (select extract(epoch from '2026-07-20 08:00:58'::timestamp) - extract(epoch from '2026-07-20 08:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356177 -2.808179)'), GeomFromEWKT('SRID=4674;POINT (-40.356209 -2.808201)'))) / (select extract(epoch from '2026-07-20 08:00:58'::timestamp) - extract(epoch from '2026-07-20 08:00: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'), 47645, 'SRID=4674;POINT (-40.356215 -2.808196)', '2026-07-20 08:01:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356209 -2.808201)'), GeomFromEWKT('SRID=4674;POINT (-40.356215 -2.808196)'))) / (select extract(epoch from '2026-07-20 08:01:13'::timestamp) - extract(epoch from '2026-07-20 08:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356209 -2.808201)'), GeomFromEWKT('SRID=4674;POINT (-40.356215 -2.808196)'))) / (select extract(epoch from '2026-07-20 08:01:13'::timestamp) - extract(epoch from '2026-07-20 08:00: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'), 47645, 'SRID=4674;POINT (-40.356304 -2.808233)', '2026-07-20 08:01:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356215 -2.808196)'), GeomFromEWKT('SRID=4674;POINT (-40.356304 -2.808233)'))) / (select extract(epoch from '2026-07-20 08:01:28'::timestamp) - extract(epoch from '2026-07-20 08:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356215 -2.808196)'), GeomFromEWKT('SRID=4674;POINT (-40.356304 -2.808233)'))) / (select extract(epoch from '2026-07-20 08:01:28'::timestamp) - extract(epoch from '2026-07-20 08:01:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.356375 -2.808234)', '2026-07-20 08:01:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356304 -2.808233)'), GeomFromEWKT('SRID=4674;POINT (-40.356375 -2.808234)'))) / (select extract(epoch from '2026-07-20 08:01:44'::timestamp) - extract(epoch from '2026-07-20 08:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356304 -2.808233)'), GeomFromEWKT('SRID=4674;POINT (-40.356375 -2.808234)'))) / (select extract(epoch from '2026-07-20 08:01:44'::timestamp) - extract(epoch from '2026-07-20 08:01: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'), 47645, 'SRID=4674;POINT (-40.356398 -2.808239)', '2026-07-20 08:01:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356375 -2.808234)'), GeomFromEWKT('SRID=4674;POINT (-40.356398 -2.808239)'))) / (select extract(epoch from '2026-07-20 08:01:59'::timestamp) - extract(epoch from '2026-07-20 08:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356375 -2.808234)'), GeomFromEWKT('SRID=4674;POINT (-40.356398 -2.808239)'))) / (select extract(epoch from '2026-07-20 08:01:59'::timestamp) - extract(epoch from '2026-07-20 08:01:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.356422 -2.808243)', '2026-07-20 08:02:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356398 -2.808239)'), GeomFromEWKT('SRID=4674;POINT (-40.356422 -2.808243)'))) / (select extract(epoch from '2026-07-20 08:02:11'::timestamp) - extract(epoch from '2026-07-20 08:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356398 -2.808239)'), GeomFromEWKT('SRID=4674;POINT (-40.356422 -2.808243)'))) / (select extract(epoch from '2026-07-20 08:02:11'::timestamp) - extract(epoch from '2026-07-20 08:01:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.356507 -2.808249)', '2026-07-20 08:02:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356422 -2.808243)'), GeomFromEWKT('SRID=4674;POINT (-40.356507 -2.808249)'))) / (select extract(epoch from '2026-07-20 08:02:35'::timestamp) - extract(epoch from '2026-07-20 08:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356422 -2.808243)'), GeomFromEWKT('SRID=4674;POINT (-40.356507 -2.808249)'))) / (select extract(epoch from '2026-07-20 08:02:35'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.356547 -2.808239)', '2026-07-20 08:02:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356507 -2.808249)'), GeomFromEWKT('SRID=4674;POINT (-40.356547 -2.808239)'))) / (select extract(epoch from '2026-07-20 08:02:46'::timestamp) - extract(epoch from '2026-07-20 08:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356507 -2.808249)'), GeomFromEWKT('SRID=4674;POINT (-40.356547 -2.808239)'))) / (select extract(epoch from '2026-07-20 08:02:46'::timestamp) - extract(epoch from '2026-07-20 08:02: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'), 47645, 'SRID=4674;POINT (-40.356571 -2.808209)', '2026-07-20 08:02:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356547 -2.808239)'), GeomFromEWKT('SRID=4674;POINT (-40.356571 -2.808209)'))) / (select extract(epoch from '2026-07-20 08:02:57'::timestamp) - extract(epoch from '2026-07-20 08:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356547 -2.808239)'), GeomFromEWKT('SRID=4674;POINT (-40.356571 -2.808209)'))) / (select extract(epoch from '2026-07-20 08:02:57'::timestamp) - extract(epoch from '2026-07-20 08:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.356641 -2.808213)', '2026-07-20 08:03:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356571 -2.808209)'), GeomFromEWKT('SRID=4674;POINT (-40.356641 -2.808213)'))) / (select extract(epoch from '2026-07-20 08:03:13'::timestamp) - extract(epoch from '2026-07-20 08:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356571 -2.808209)'), GeomFromEWKT('SRID=4674;POINT (-40.356641 -2.808213)'))) / (select extract(epoch from '2026-07-20 08:03:13'::timestamp) - extract(epoch from '2026-07-20 08:02: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'), 47645, 'SRID=4674;POINT (-40.356725 -2.8082)', '2026-07-20 08:03:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356641 -2.808213)'), GeomFromEWKT('SRID=4674;POINT (-40.356725 -2.8082)'))) / (select extract(epoch from '2026-07-20 08:03:32'::timestamp) - extract(epoch from '2026-07-20 08:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356641 -2.808213)'), GeomFromEWKT('SRID=4674;POINT (-40.356725 -2.8082)'))) / (select extract(epoch from '2026-07-20 08:03:32'::timestamp) - extract(epoch from '2026-07-20 08:03: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'), 47645, 'SRID=4674;POINT (-40.356777 -2.808192)', '2026-07-20 08:03:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356725 -2.8082)'), GeomFromEWKT('SRID=4674;POINT (-40.356777 -2.808192)'))) / (select extract(epoch from '2026-07-20 08:03:43'::timestamp) - extract(epoch from '2026-07-20 08:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356725 -2.8082)'), GeomFromEWKT('SRID=4674;POINT (-40.356777 -2.808192)'))) / (select extract(epoch from '2026-07-20 08:03:43'::timestamp) - extract(epoch from '2026-07-20 08:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.356794 -2.808191)', '2026-07-20 08:03:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356777 -2.808192)'), GeomFromEWKT('SRID=4674;POINT (-40.356794 -2.808191)'))) / (select extract(epoch from '2026-07-20 08:03:56'::timestamp) - extract(epoch from '2026-07-20 08:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356777 -2.808192)'), GeomFromEWKT('SRID=4674;POINT (-40.356794 -2.808191)'))) / (select extract(epoch from '2026-07-20 08:03:56'::timestamp) - extract(epoch from '2026-07-20 08:03:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.356841 -2.808222)', '2026-07-20 08:04:05', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356794 -2.808191)'), GeomFromEWKT('SRID=4674;POINT (-40.356841 -2.808222)'))) / (select extract(epoch from '2026-07-20 08:04:05'::timestamp) - extract(epoch from '2026-07-20 08:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356794 -2.808191)'), GeomFromEWKT('SRID=4674;POINT (-40.356841 -2.808222)'))) / (select extract(epoch from '2026-07-20 08:04:05'::timestamp) - extract(epoch from '2026-07-20 08:03: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'), 47645, 'SRID=4674;POINT (-40.356802 -2.808247)', '2026-07-20 08:04:13', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356841 -2.808222)'), GeomFromEWKT('SRID=4674;POINT (-40.356802 -2.808247)'))) / (select extract(epoch from '2026-07-20 08:04:13'::timestamp) - extract(epoch from '2026-07-20 08:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356841 -2.808222)'), GeomFromEWKT('SRID=4674;POINT (-40.356802 -2.808247)'))) / (select extract(epoch from '2026-07-20 08:04:13'::timestamp) - extract(epoch from '2026-07-20 08:04: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'), 47645, 'SRID=4674;POINT (-40.356772 -2.808272)', '2026-07-20 08:04:20', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356802 -2.808247)'), GeomFromEWKT('SRID=4674;POINT (-40.356772 -2.808272)'))) / (select extract(epoch from '2026-07-20 08:04:20'::timestamp) - extract(epoch from '2026-07-20 08:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356802 -2.808247)'), GeomFromEWKT('SRID=4674;POINT (-40.356772 -2.808272)'))) / (select extract(epoch from '2026-07-20 08:04:20'::timestamp) - extract(epoch from '2026-07-20 08:04:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.356768 -2.80831)', '2026-07-20 08:04:32', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356772 -2.808272)'), GeomFromEWKT('SRID=4674;POINT (-40.356768 -2.80831)'))) / (select extract(epoch from '2026-07-20 08:04:32'::timestamp) - extract(epoch from '2026-07-20 08:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356772 -2.808272)'), GeomFromEWKT('SRID=4674;POINT (-40.356768 -2.80831)'))) / (select extract(epoch from '2026-07-20 08:04:32'::timestamp) - extract(epoch from '2026-07-20 08:04: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'), 47645, 'SRID=4674;POINT (-40.356765 -2.808375)', '2026-07-20 08:04:44', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356768 -2.80831)'), GeomFromEWKT('SRID=4674;POINT (-40.356765 -2.808375)'))) / (select extract(epoch from '2026-07-20 08:04:44'::timestamp) - extract(epoch from '2026-07-20 08:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356768 -2.80831)'), GeomFromEWKT('SRID=4674;POINT (-40.356765 -2.808375)'))) / (select extract(epoch from '2026-07-20 08:04:44'::timestamp) - extract(epoch from '2026-07-20 08:04:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.356733 -2.808424)', '2026-07-20 08:04:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356765 -2.808375)'), GeomFromEWKT('SRID=4674;POINT (-40.356733 -2.808424)'))) / (select extract(epoch from '2026-07-20 08:04:52'::timestamp) - extract(epoch from '2026-07-20 08:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356765 -2.808375)'), GeomFromEWKT('SRID=4674;POINT (-40.356733 -2.808424)'))) / (select extract(epoch from '2026-07-20 08:04:52'::timestamp) - extract(epoch from '2026-07-20 08:04: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'), 47645, 'SRID=4674;POINT (-40.356726 -2.808466)', '2026-07-20 08:04:58', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356733 -2.808424)'), GeomFromEWKT('SRID=4674;POINT (-40.356726 -2.808466)'))) / (select extract(epoch from '2026-07-20 08:04:58'::timestamp) - extract(epoch from '2026-07-20 08:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356733 -2.808424)'), GeomFromEWKT('SRID=4674;POINT (-40.356726 -2.808466)'))) / (select extract(epoch from '2026-07-20 08:04:58'::timestamp) - extract(epoch from '2026-07-20 08:04:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.356725 -2.808476)', '2026-07-20 08:04:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356726 -2.808466)'), GeomFromEWKT('SRID=4674;POINT (-40.356725 -2.808476)'))) / (select extract(epoch from '2026-07-20 08:04:59'::timestamp) - extract(epoch from '2026-07-20 08:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356726 -2.808466)'), GeomFromEWKT('SRID=4674;POINT (-40.356725 -2.808476)'))) / (select extract(epoch from '2026-07-20 08:04:59'::timestamp) - extract(epoch from '2026-07-20 08:04: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'), 47645, 'SRID=4674;POINT (-40.3567 -2.808516)', '2026-07-20 08:05:05', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356725 -2.808476)'), GeomFromEWKT('SRID=4674;POINT (-40.3567 -2.808516)'))) / (select extract(epoch from '2026-07-20 08:05:05'::timestamp) - extract(epoch from '2026-07-20 08:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356725 -2.808476)'), GeomFromEWKT('SRID=4674;POINT (-40.3567 -2.808516)'))) / (select extract(epoch from '2026-07-20 08:05:05'::timestamp) - extract(epoch from '2026-07-20 08:04:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.356695 -2.808532)', '2026-07-20 08:05:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3567 -2.808516)'), GeomFromEWKT('SRID=4674;POINT (-40.356695 -2.808532)'))) / (select extract(epoch from '2026-07-20 08:05:06'::timestamp) - extract(epoch from '2026-07-20 08:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3567 -2.808516)'), GeomFromEWKT('SRID=4674;POINT (-40.356695 -2.808532)'))) / (select extract(epoch from '2026-07-20 08:05:06'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.356674 -2.808552)', '2026-07-20 08:05:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356695 -2.808532)'), GeomFromEWKT('SRID=4674;POINT (-40.356674 -2.808552)'))) / (select extract(epoch from '2026-07-20 08:05:12'::timestamp) - extract(epoch from '2026-07-20 08:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356695 -2.808532)'), GeomFromEWKT('SRID=4674;POINT (-40.356674 -2.808552)'))) / (select extract(epoch from '2026-07-20 08:05:12'::timestamp) - extract(epoch from '2026-07-20 08:05: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'), 47645, 'SRID=4674;POINT (-40.356676 -2.808571)', '2026-07-20 08:05:18', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356674 -2.808552)'), GeomFromEWKT('SRID=4674;POINT (-40.356676 -2.808571)'))) / (select extract(epoch from '2026-07-20 08:05:18'::timestamp) - extract(epoch from '2026-07-20 08:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356674 -2.808552)'), GeomFromEWKT('SRID=4674;POINT (-40.356676 -2.808571)'))) / (select extract(epoch from '2026-07-20 08:05:18'::timestamp) - extract(epoch from '2026-07-20 08:05: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'), 47645, 'SRID=4674;POINT (-40.356657 -2.808591)', '2026-07-20 08:05:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356676 -2.808571)'), GeomFromEWKT('SRID=4674;POINT (-40.356657 -2.808591)'))) / (select extract(epoch from '2026-07-20 08:05:32'::timestamp) - extract(epoch from '2026-07-20 08:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356676 -2.808571)'), GeomFromEWKT('SRID=4674;POINT (-40.356657 -2.808591)'))) / (select extract(epoch from '2026-07-20 08:05:32'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.35665 -2.808642)', '2026-07-20 08:05:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356657 -2.808591)'), GeomFromEWKT('SRID=4674;POINT (-40.35665 -2.808642)'))) / (select extract(epoch from '2026-07-20 08:05:56'::timestamp) - extract(epoch from '2026-07-20 08:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356657 -2.808591)'), GeomFromEWKT('SRID=4674;POINT (-40.35665 -2.808642)'))) / (select extract(epoch from '2026-07-20 08:05:56'::timestamp) - extract(epoch from '2026-07-20 08:05: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'), 47645, 'SRID=4674;POINT (-40.356665 -2.808706)', '2026-07-20 08:06:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35665 -2.808642)'), GeomFromEWKT('SRID=4674;POINT (-40.356665 -2.808706)'))) / (select extract(epoch from '2026-07-20 08:06:06'::timestamp) - extract(epoch from '2026-07-20 08:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35665 -2.808642)'), GeomFromEWKT('SRID=4674;POINT (-40.356665 -2.808706)'))) / (select extract(epoch from '2026-07-20 08:06:06'::timestamp) - extract(epoch from '2026-07-20 08:05: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'), 47645, 'SRID=4674;POINT (-40.356655 -2.808732)', '2026-07-20 08:06:13', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356665 -2.808706)'), GeomFromEWKT('SRID=4674;POINT (-40.356655 -2.808732)'))) / (select extract(epoch from '2026-07-20 08:06:13'::timestamp) - extract(epoch from '2026-07-20 08:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356665 -2.808706)'), GeomFromEWKT('SRID=4674;POINT (-40.356655 -2.808732)'))) / (select extract(epoch from '2026-07-20 08:06:13'::timestamp) - extract(epoch from '2026-07-20 08:06: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'), 47645, 'SRID=4674;POINT (-40.356661 -2.808779)', '2026-07-20 08:06:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356655 -2.808732)'), GeomFromEWKT('SRID=4674;POINT (-40.356661 -2.808779)'))) / (select extract(epoch from '2026-07-20 08:06:21'::timestamp) - extract(epoch from '2026-07-20 08:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356655 -2.808732)'), GeomFromEWKT('SRID=4674;POINT (-40.356661 -2.808779)'))) / (select extract(epoch from '2026-07-20 08:06:21'::timestamp) - extract(epoch from '2026-07-20 08:06: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'), 47645, 'SRID=4674;POINT (-40.356672 -2.808831)', '2026-07-20 08:06:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356661 -2.808779)'), GeomFromEWKT('SRID=4674;POINT (-40.356672 -2.808831)'))) / (select extract(epoch from '2026-07-20 08:06:30'::timestamp) - extract(epoch from '2026-07-20 08:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356661 -2.808779)'), GeomFromEWKT('SRID=4674;POINT (-40.356672 -2.808831)'))) / (select extract(epoch from '2026-07-20 08:06:30'::timestamp) - extract(epoch from '2026-07-20 08:06: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'), 47645, 'SRID=4674;POINT (-40.356663 -2.808892)', '2026-07-20 08:06:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356672 -2.808831)'), GeomFromEWKT('SRID=4674;POINT (-40.356663 -2.808892)'))) / (select extract(epoch from '2026-07-20 08:06:38'::timestamp) - extract(epoch from '2026-07-20 08:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356672 -2.808831)'), GeomFromEWKT('SRID=4674;POINT (-40.356663 -2.808892)'))) / (select extract(epoch from '2026-07-20 08:06:38'::timestamp) - extract(epoch from '2026-07-20 08:06: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'), 47645, 'SRID=4674;POINT (-40.356654 -2.808938)', '2026-07-20 08:06:46', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356663 -2.808892)'), GeomFromEWKT('SRID=4674;POINT (-40.356654 -2.808938)'))) / (select extract(epoch from '2026-07-20 08:06:46'::timestamp) - extract(epoch from '2026-07-20 08:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356663 -2.808892)'), GeomFromEWKT('SRID=4674;POINT (-40.356654 -2.808938)'))) / (select extract(epoch from '2026-07-20 08:06:46'::timestamp) - extract(epoch from '2026-07-20 08:06: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'), 47645, 'SRID=4674;POINT (-40.356649 -2.808981)', '2026-07-20 08:06:54', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356654 -2.808938)'), GeomFromEWKT('SRID=4674;POINT (-40.356649 -2.808981)'))) / (select extract(epoch from '2026-07-20 08:06:54'::timestamp) - extract(epoch from '2026-07-20 08:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356654 -2.808938)'), GeomFromEWKT('SRID=4674;POINT (-40.356649 -2.808981)'))) / (select extract(epoch from '2026-07-20 08:06:54'::timestamp) - extract(epoch from '2026-07-20 08:06: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'), 47645, 'SRID=4674;POINT (-40.356635 -2.809037)', '2026-07-20 08:07:04', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356649 -2.808981)'), GeomFromEWKT('SRID=4674;POINT (-40.356635 -2.809037)'))) / (select extract(epoch from '2026-07-20 08:07:04'::timestamp) - extract(epoch from '2026-07-20 08:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356649 -2.808981)'), GeomFromEWKT('SRID=4674;POINT (-40.356635 -2.809037)'))) / (select extract(epoch from '2026-07-20 08:07:04'::timestamp) - extract(epoch from '2026-07-20 08:06:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.356616 -2.809106)', '2026-07-20 08:07:13', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356635 -2.809037)'), GeomFromEWKT('SRID=4674;POINT (-40.356616 -2.809106)'))) / (select extract(epoch from '2026-07-20 08:07:13'::timestamp) - extract(epoch from '2026-07-20 08:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356635 -2.809037)'), GeomFromEWKT('SRID=4674;POINT (-40.356616 -2.809106)'))) / (select extract(epoch from '2026-07-20 08:07:13'::timestamp) - extract(epoch from '2026-07-20 08:07: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'), 47645, 'SRID=4674;POINT (-40.356616 -2.809212)', '2026-07-20 08:07:27', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356616 -2.809106)'), GeomFromEWKT('SRID=4674;POINT (-40.356616 -2.809212)'))) / (select extract(epoch from '2026-07-20 08:07:27'::timestamp) - extract(epoch from '2026-07-20 08:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356616 -2.809106)'), GeomFromEWKT('SRID=4674;POINT (-40.356616 -2.809212)'))) / (select extract(epoch from '2026-07-20 08:07:27'::timestamp) - extract(epoch from '2026-07-20 08:07:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.356629 -2.809316)', '2026-07-20 08:07:43', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356616 -2.809212)'), GeomFromEWKT('SRID=4674;POINT (-40.356629 -2.809316)'))) / (select extract(epoch from '2026-07-20 08:07:43'::timestamp) - extract(epoch from '2026-07-20 08:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356616 -2.809212)'), GeomFromEWKT('SRID=4674;POINT (-40.356629 -2.809316)'))) / (select extract(epoch from '2026-07-20 08:07:43'::timestamp) - extract(epoch from '2026-07-20 08:07:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.356626 -2.809332)', '2026-07-20 08:07:51', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356629 -2.809316)'), GeomFromEWKT('SRID=4674;POINT (-40.356626 -2.809332)'))) / (select extract(epoch from '2026-07-20 08:07:51'::timestamp) - extract(epoch from '2026-07-20 08:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356629 -2.809316)'), GeomFromEWKT('SRID=4674;POINT (-40.356626 -2.809332)'))) / (select extract(epoch from '2026-07-20 08:07:51'::timestamp) - extract(epoch from '2026-07-20 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'), 47645, 'SRID=4674;POINT (-40.356628 -2.809331)', '2026-07-20 08:07:57', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356626 -2.809332)'), GeomFromEWKT('SRID=4674;POINT (-40.356628 -2.809331)'))) / (select extract(epoch from '2026-07-20 08:07:57'::timestamp) - extract(epoch from '2026-07-20 08:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356626 -2.809332)'), GeomFromEWKT('SRID=4674;POINT (-40.356628 -2.809331)'))) / (select extract(epoch from '2026-07-20 08:07:57'::timestamp) - extract(epoch from '2026-07-20 08:07: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'), 47645, 'SRID=4674;POINT (-40.356634 -2.809328)', '2026-07-20 08:12:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356628 -2.809331)'), GeomFromEWKT('SRID=4674;POINT (-40.356634 -2.809328)'))) / (select extract(epoch from '2026-07-20 08:12:01'::timestamp) - extract(epoch from '2026-07-20 08:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356628 -2.809331)'), GeomFromEWKT('SRID=4674;POINT (-40.356634 -2.809328)'))) / (select extract(epoch from '2026-07-20 08:12:01'::timestamp) - extract(epoch from '2026-07-20 08:07: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'), 47645, 'SRID=4674;POINT (-40.356634 -2.809328)', '2026-07-20 08:15:31', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356634 -2.809328)'), GeomFromEWKT('SRID=4674;POINT (-40.356634 -2.809328)'))) / (select extract(epoch from '2026-07-20 08:15:31'::timestamp) - extract(epoch from '2026-07-20 08:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356634 -2.809328)'), GeomFromEWKT('SRID=4674;POINT (-40.356634 -2.809328)'))) / (select extract(epoch from '2026-07-20 08:15:31'::timestamp) - extract(epoch from '2026-07-20 08:12:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
