 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.320557 -2.764542)', '2026-07-28 07:37:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320534 -2.764404)'), GeomFromEWKT('SRID=4674;POINT (-40.320557 -2.764542)'))) / (select extract(epoch from '2026-07-28 07:37:43'::timestamp) - extract(epoch from '2026-07-28 07:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320534 -2.764404)'), GeomFromEWKT('SRID=4674;POINT (-40.320557 -2.764542)'))) / (select extract(epoch from '2026-07-28 07:37:43'::timestamp) - extract(epoch from '2026-07-28 07:37:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.320587 -2.764667)', '2026-07-28 07:37:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320557 -2.764542)'), GeomFromEWKT('SRID=4674;POINT (-40.320587 -2.764667)'))) / (select extract(epoch from '2026-07-28 07:37:49'::timestamp) - extract(epoch from '2026-07-28 07:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320557 -2.764542)'), GeomFromEWKT('SRID=4674;POINT (-40.320587 -2.764667)'))) / (select extract(epoch from '2026-07-28 07:37:49'::timestamp) - extract(epoch from '2026-07-28 07:37: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'), 47807, 'SRID=4674;POINT (-40.320616 -2.764763)', '2026-07-28 07:37:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320587 -2.764667)'), GeomFromEWKT('SRID=4674;POINT (-40.320616 -2.764763)'))) / (select extract(epoch from '2026-07-28 07:37:54'::timestamp) - extract(epoch from '2026-07-28 07:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320587 -2.764667)'), GeomFromEWKT('SRID=4674;POINT (-40.320616 -2.764763)'))) / (select extract(epoch from '2026-07-28 07:37:54'::timestamp) - extract(epoch from '2026-07-28 07:37: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'), 47807, 'SRID=4674;POINT (-40.320653 -2.764866)', '2026-07-28 07:38:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320616 -2.764763)'), GeomFromEWKT('SRID=4674;POINT (-40.320653 -2.764866)'))) / (select extract(epoch from '2026-07-28 07:38:00'::timestamp) - extract(epoch from '2026-07-28 07:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320616 -2.764763)'), GeomFromEWKT('SRID=4674;POINT (-40.320653 -2.764866)'))) / (select extract(epoch from '2026-07-28 07:38:00'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.320691 -2.765003)', '2026-07-28 07:38:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320653 -2.764866)'), GeomFromEWKT('SRID=4674;POINT (-40.320691 -2.765003)'))) / (select extract(epoch from '2026-07-28 07:38:07'::timestamp) - extract(epoch from '2026-07-28 07:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320653 -2.764866)'), GeomFromEWKT('SRID=4674;POINT (-40.320691 -2.765003)'))) / (select extract(epoch from '2026-07-28 07:38:07'::timestamp) - extract(epoch from '2026-07-28 07:38: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'), 47807, 'SRID=4674;POINT (-40.320732 -2.76513)', '2026-07-28 07:38:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320691 -2.765003)'), GeomFromEWKT('SRID=4674;POINT (-40.320732 -2.76513)'))) / (select extract(epoch from '2026-07-28 07:38:14'::timestamp) - extract(epoch from '2026-07-28 07:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320691 -2.765003)'), GeomFromEWKT('SRID=4674;POINT (-40.320732 -2.76513)'))) / (select extract(epoch from '2026-07-28 07:38:14'::timestamp) - extract(epoch from '2026-07-28 07:38: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'), 47807, 'SRID=4674;POINT (-40.320763 -2.765229)', '2026-07-28 07:38:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320732 -2.76513)'), GeomFromEWKT('SRID=4674;POINT (-40.320763 -2.765229)'))) / (select extract(epoch from '2026-07-28 07:38:19'::timestamp) - extract(epoch from '2026-07-28 07:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320732 -2.76513)'), GeomFromEWKT('SRID=4674;POINT (-40.320763 -2.765229)'))) / (select extract(epoch from '2026-07-28 07:38:19'::timestamp) - extract(epoch from '2026-07-28 07:38: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'), 47807, 'SRID=4674;POINT (-40.320804 -2.765342)', '2026-07-28 07:38:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320763 -2.765229)'), GeomFromEWKT('SRID=4674;POINT (-40.320804 -2.765342)'))) / (select extract(epoch from '2026-07-28 07:38:25'::timestamp) - extract(epoch from '2026-07-28 07:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320763 -2.765229)'), GeomFromEWKT('SRID=4674;POINT (-40.320804 -2.765342)'))) / (select extract(epoch from '2026-07-28 07:38:25'::timestamp) - extract(epoch from '2026-07-28 07:38:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.32084 -2.765433)', '2026-07-28 07:38:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320804 -2.765342)'), GeomFromEWKT('SRID=4674;POINT (-40.32084 -2.765433)'))) / (select extract(epoch from '2026-07-28 07:38:30'::timestamp) - extract(epoch from '2026-07-28 07:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320804 -2.765342)'), GeomFromEWKT('SRID=4674;POINT (-40.32084 -2.765433)'))) / (select extract(epoch from '2026-07-28 07:38:30'::timestamp) - extract(epoch from '2026-07-28 07:38:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.320866 -2.765559)', '2026-07-28 07:38:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32084 -2.765433)'), GeomFromEWKT('SRID=4674;POINT (-40.320866 -2.765559)'))) / (select extract(epoch from '2026-07-28 07:38:37'::timestamp) - extract(epoch from '2026-07-28 07:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32084 -2.765433)'), GeomFromEWKT('SRID=4674;POINT (-40.320866 -2.765559)'))) / (select extract(epoch from '2026-07-28 07:38:37'::timestamp) - extract(epoch from '2026-07-28 07:38: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'), 47807, 'SRID=4674;POINT (-40.320908 -2.765692)', '2026-07-28 07:38:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320866 -2.765559)'), GeomFromEWKT('SRID=4674;POINT (-40.320908 -2.765692)'))) / (select extract(epoch from '2026-07-28 07:38:44'::timestamp) - extract(epoch from '2026-07-28 07:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320866 -2.765559)'), GeomFromEWKT('SRID=4674;POINT (-40.320908 -2.765692)'))) / (select extract(epoch from '2026-07-28 07:38:44'::timestamp) - extract(epoch from '2026-07-28 07:38: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'), 47807, 'SRID=4674;POINT (-40.320955 -2.765791)', '2026-07-28 07:38:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320908 -2.765692)'), GeomFromEWKT('SRID=4674;POINT (-40.320955 -2.765791)'))) / (select extract(epoch from '2026-07-28 07:38:50'::timestamp) - extract(epoch from '2026-07-28 07:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320908 -2.765692)'), GeomFromEWKT('SRID=4674;POINT (-40.320955 -2.765791)'))) / (select extract(epoch from '2026-07-28 07:38:50'::timestamp) - extract(epoch from '2026-07-28 07:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.320997 -2.765929)', '2026-07-28 07:38:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320955 -2.765791)'), GeomFromEWKT('SRID=4674;POINT (-40.320997 -2.765929)'))) / (select extract(epoch from '2026-07-28 07:38:57'::timestamp) - extract(epoch from '2026-07-28 07:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320955 -2.765791)'), GeomFromEWKT('SRID=4674;POINT (-40.320997 -2.765929)'))) / (select extract(epoch from '2026-07-28 07:38:57'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.321029 -2.766059)', '2026-07-28 07:39:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320997 -2.765929)'), GeomFromEWKT('SRID=4674;POINT (-40.321029 -2.766059)'))) / (select extract(epoch from '2026-07-28 07:39:04'::timestamp) - extract(epoch from '2026-07-28 07:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320997 -2.765929)'), GeomFromEWKT('SRID=4674;POINT (-40.321029 -2.766059)'))) / (select extract(epoch from '2026-07-28 07:39:04'::timestamp) - extract(epoch from '2026-07-28 07:38: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'), 47807, 'SRID=4674;POINT (-40.321068 -2.766219)', '2026-07-28 07:39:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321029 -2.766059)'), GeomFromEWKT('SRID=4674;POINT (-40.321068 -2.766219)'))) / (select extract(epoch from '2026-07-28 07:39:12'::timestamp) - extract(epoch from '2026-07-28 07:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321029 -2.766059)'), GeomFromEWKT('SRID=4674;POINT (-40.321068 -2.766219)'))) / (select extract(epoch from '2026-07-28 07:39:12'::timestamp) - extract(epoch from '2026-07-28 07:39: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'), 47807, 'SRID=4674;POINT (-40.321094 -2.766327)', '2026-07-28 07:39:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321068 -2.766219)'), GeomFromEWKT('SRID=4674;POINT (-40.321094 -2.766327)'))) / (select extract(epoch from '2026-07-28 07:39:18'::timestamp) - extract(epoch from '2026-07-28 07:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321068 -2.766219)'), GeomFromEWKT('SRID=4674;POINT (-40.321094 -2.766327)'))) / (select extract(epoch from '2026-07-28 07:39:18'::timestamp) - extract(epoch from '2026-07-28 07:39: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'), 47807, 'SRID=4674;POINT (-40.321135 -2.766483)', '2026-07-28 07:39:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321094 -2.766327)'), GeomFromEWKT('SRID=4674;POINT (-40.321135 -2.766483)'))) / (select extract(epoch from '2026-07-28 07:39:26'::timestamp) - extract(epoch from '2026-07-28 07:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321094 -2.766327)'), GeomFromEWKT('SRID=4674;POINT (-40.321135 -2.766483)'))) / (select extract(epoch from '2026-07-28 07:39:26'::timestamp) - extract(epoch from '2026-07-28 07:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.321177 -2.766612)', '2026-07-28 07:39:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321135 -2.766483)'), GeomFromEWKT('SRID=4674;POINT (-40.321177 -2.766612)'))) / (select extract(epoch from '2026-07-28 07:39:33'::timestamp) - extract(epoch from '2026-07-28 07:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321135 -2.766483)'), GeomFromEWKT('SRID=4674;POINT (-40.321177 -2.766612)'))) / (select extract(epoch from '2026-07-28 07:39:33'::timestamp) - extract(epoch from '2026-07-28 07:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.321218 -2.766726)', '2026-07-28 07:39:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321177 -2.766612)'), GeomFromEWKT('SRID=4674;POINT (-40.321218 -2.766726)'))) / (select extract(epoch from '2026-07-28 07:39:39'::timestamp) - extract(epoch from '2026-07-28 07:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321177 -2.766612)'), GeomFromEWKT('SRID=4674;POINT (-40.321218 -2.766726)'))) / (select extract(epoch from '2026-07-28 07:39:39'::timestamp) - extract(epoch from '2026-07-28 07:39:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.321267 -2.766856)', '2026-07-28 07:39:46', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321218 -2.766726)'), GeomFromEWKT('SRID=4674;POINT (-40.321267 -2.766856)'))) / (select extract(epoch from '2026-07-28 07:39:46'::timestamp) - extract(epoch from '2026-07-28 07:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321218 -2.766726)'), GeomFromEWKT('SRID=4674;POINT (-40.321267 -2.766856)'))) / (select extract(epoch from '2026-07-28 07:39:46'::timestamp) - extract(epoch from '2026-07-28 07:39: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'), 47807, 'SRID=4674;POINT (-40.32131 -2.76697)', '2026-07-28 07:39:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321267 -2.766856)'), GeomFromEWKT('SRID=4674;POINT (-40.32131 -2.76697)'))) / (select extract(epoch from '2026-07-28 07:39:52'::timestamp) - extract(epoch from '2026-07-28 07:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321267 -2.766856)'), GeomFromEWKT('SRID=4674;POINT (-40.32131 -2.76697)'))) / (select extract(epoch from '2026-07-28 07:39:52'::timestamp) - extract(epoch from '2026-07-28 07:39: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'), 47807, 'SRID=4674;POINT (-40.321339 -2.767079)', '2026-07-28 07:39:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32131 -2.76697)'), GeomFromEWKT('SRID=4674;POINT (-40.321339 -2.767079)'))) / (select extract(epoch from '2026-07-28 07:39:58'::timestamp) - extract(epoch from '2026-07-28 07:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32131 -2.76697)'), GeomFromEWKT('SRID=4674;POINT (-40.321339 -2.767079)'))) / (select extract(epoch from '2026-07-28 07:39:58'::timestamp) - extract(epoch from '2026-07-28 07:39:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.321353 -2.767232)', '2026-07-28 07:40:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321339 -2.767079)'), GeomFromEWKT('SRID=4674;POINT (-40.321353 -2.767232)'))) / (select extract(epoch from '2026-07-28 07:40:06'::timestamp) - extract(epoch from '2026-07-28 07:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321339 -2.767079)'), GeomFromEWKT('SRID=4674;POINT (-40.321353 -2.767232)'))) / (select extract(epoch from '2026-07-28 07:40:06'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.321394 -2.767337)', '2026-07-28 07:40:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321353 -2.767232)'), GeomFromEWKT('SRID=4674;POINT (-40.321394 -2.767337)'))) / (select extract(epoch from '2026-07-28 07:40:12'::timestamp) - extract(epoch from '2026-07-28 07:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321353 -2.767232)'), GeomFromEWKT('SRID=4674;POINT (-40.321394 -2.767337)'))) / (select extract(epoch from '2026-07-28 07:40:12'::timestamp) - extract(epoch from '2026-07-28 07:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.321408 -2.767447)', '2026-07-28 07:40:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321394 -2.767337)'), GeomFromEWKT('SRID=4674;POINT (-40.321408 -2.767447)'))) / (select extract(epoch from '2026-07-28 07:40:18'::timestamp) - extract(epoch from '2026-07-28 07:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321394 -2.767337)'), GeomFromEWKT('SRID=4674;POINT (-40.321408 -2.767447)'))) / (select extract(epoch from '2026-07-28 07:40:18'::timestamp) - extract(epoch from '2026-07-28 07:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.321399 -2.767582)', '2026-07-28 07:40:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321408 -2.767447)'), GeomFromEWKT('SRID=4674;POINT (-40.321399 -2.767582)'))) / (select extract(epoch from '2026-07-28 07:40:25'::timestamp) - extract(epoch from '2026-07-28 07:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321408 -2.767447)'), GeomFromEWKT('SRID=4674;POINT (-40.321399 -2.767582)'))) / (select extract(epoch from '2026-07-28 07:40:25'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.321404 -2.767738)', '2026-07-28 07:40:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321399 -2.767582)'), GeomFromEWKT('SRID=4674;POINT (-40.321404 -2.767738)'))) / (select extract(epoch from '2026-07-28 07:40:33'::timestamp) - extract(epoch from '2026-07-28 07:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321399 -2.767582)'), GeomFromEWKT('SRID=4674;POINT (-40.321404 -2.767738)'))) / (select extract(epoch from '2026-07-28 07:40:33'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.321426 -2.767888)', '2026-07-28 07:40:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321404 -2.767738)'), GeomFromEWKT('SRID=4674;POINT (-40.321426 -2.767888)'))) / (select extract(epoch from '2026-07-28 07:40:41'::timestamp) - extract(epoch from '2026-07-28 07:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321404 -2.767738)'), GeomFromEWKT('SRID=4674;POINT (-40.321426 -2.767888)'))) / (select extract(epoch from '2026-07-28 07:40:41'::timestamp) - extract(epoch from '2026-07-28 07:40: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'), 47807, 'SRID=4674;POINT (-40.32147 -2.768015)', '2026-07-28 07:40:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321426 -2.767888)'), GeomFromEWKT('SRID=4674;POINT (-40.32147 -2.768015)'))) / (select extract(epoch from '2026-07-28 07:40:48'::timestamp) - extract(epoch from '2026-07-28 07:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321426 -2.767888)'), GeomFromEWKT('SRID=4674;POINT (-40.32147 -2.768015)'))) / (select extract(epoch from '2026-07-28 07:40:48'::timestamp) - extract(epoch from '2026-07-28 07:40: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'), 47807, 'SRID=4674;POINT (-40.321506 -2.768127)', '2026-07-28 07:40:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32147 -2.768015)'), GeomFromEWKT('SRID=4674;POINT (-40.321506 -2.768127)'))) / (select extract(epoch from '2026-07-28 07:40:54'::timestamp) - extract(epoch from '2026-07-28 07:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32147 -2.768015)'), GeomFromEWKT('SRID=4674;POINT (-40.321506 -2.768127)'))) / (select extract(epoch from '2026-07-28 07:40:54'::timestamp) - extract(epoch from '2026-07-28 07:40: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'), 47807, 'SRID=4674;POINT (-40.321541 -2.768243)', '2026-07-28 07:41:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321506 -2.768127)'), GeomFromEWKT('SRID=4674;POINT (-40.321541 -2.768243)'))) / (select extract(epoch from '2026-07-28 07:41:00'::timestamp) - extract(epoch from '2026-07-28 07:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321506 -2.768127)'), GeomFromEWKT('SRID=4674;POINT (-40.321541 -2.768243)'))) / (select extract(epoch from '2026-07-28 07:41:00'::timestamp) - extract(epoch from '2026-07-28 07:40: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'), 47807, 'SRID=4674;POINT (-40.321569 -2.768341)', '2026-07-28 07:41:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321541 -2.768243)'), GeomFromEWKT('SRID=4674;POINT (-40.321569 -2.768341)'))) / (select extract(epoch from '2026-07-28 07:41:05'::timestamp) - extract(epoch from '2026-07-28 07:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321541 -2.768243)'), GeomFromEWKT('SRID=4674;POINT (-40.321569 -2.768341)'))) / (select extract(epoch from '2026-07-28 07:41:05'::timestamp) - extract(epoch from '2026-07-28 07:41: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'), 47807, 'SRID=4674;POINT (-40.321634 -2.768474)', '2026-07-28 07:41:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321569 -2.768341)'), GeomFromEWKT('SRID=4674;POINT (-40.321634 -2.768474)'))) / (select extract(epoch from '2026-07-28 07:41:13'::timestamp) - extract(epoch from '2026-07-28 07:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321569 -2.768341)'), GeomFromEWKT('SRID=4674;POINT (-40.321634 -2.768474)'))) / (select extract(epoch from '2026-07-28 07:41:13'::timestamp) - extract(epoch from '2026-07-28 07:41: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'), 47807, 'SRID=4674;POINT (-40.321699 -2.768594)', '2026-07-28 07:41:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321634 -2.768474)'), GeomFromEWKT('SRID=4674;POINT (-40.321699 -2.768594)'))) / (select extract(epoch from '2026-07-28 07:41:20'::timestamp) - extract(epoch from '2026-07-28 07:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321634 -2.768474)'), GeomFromEWKT('SRID=4674;POINT (-40.321699 -2.768594)'))) / (select extract(epoch from '2026-07-28 07:41:20'::timestamp) - extract(epoch from '2026-07-28 07:41:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.321749 -2.768695)', '2026-07-28 07:41:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321699 -2.768594)'), GeomFromEWKT('SRID=4674;POINT (-40.321749 -2.768695)'))) / (select extract(epoch from '2026-07-28 07:41:26'::timestamp) - extract(epoch from '2026-07-28 07:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321699 -2.768594)'), GeomFromEWKT('SRID=4674;POINT (-40.321749 -2.768695)'))) / (select extract(epoch from '2026-07-28 07:41:26'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.321803 -2.768825)', '2026-07-28 07:41:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321749 -2.768695)'), GeomFromEWKT('SRID=4674;POINT (-40.321803 -2.768825)'))) / (select extract(epoch from '2026-07-28 07:41:33'::timestamp) - extract(epoch from '2026-07-28 07:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321749 -2.768695)'), GeomFromEWKT('SRID=4674;POINT (-40.321803 -2.768825)'))) / (select extract(epoch from '2026-07-28 07:41:33'::timestamp) - extract(epoch from '2026-07-28 07:41: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'), 47807, 'SRID=4674;POINT (-40.321864 -2.768953)', '2026-07-28 07:41:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321803 -2.768825)'), GeomFromEWKT('SRID=4674;POINT (-40.321864 -2.768953)'))) / (select extract(epoch from '2026-07-28 07:41:40'::timestamp) - extract(epoch from '2026-07-28 07:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321803 -2.768825)'), GeomFromEWKT('SRID=4674;POINT (-40.321864 -2.768953)'))) / (select extract(epoch from '2026-07-28 07:41:40'::timestamp) - extract(epoch from '2026-07-28 07:41: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'), 47807, 'SRID=4674;POINT (-40.321922 -2.769079)', '2026-07-28 07:41:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321864 -2.768953)'), GeomFromEWKT('SRID=4674;POINT (-40.321922 -2.769079)'))) / (select extract(epoch from '2026-07-28 07:41:47'::timestamp) - extract(epoch from '2026-07-28 07:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321864 -2.768953)'), GeomFromEWKT('SRID=4674;POINT (-40.321922 -2.769079)'))) / (select extract(epoch from '2026-07-28 07:41:47'::timestamp) - extract(epoch from '2026-07-28 07:41: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'), 47807, 'SRID=4674;POINT (-40.322011 -2.769187)', '2026-07-28 07:41:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321922 -2.769079)'), GeomFromEWKT('SRID=4674;POINT (-40.322011 -2.769187)'))) / (select extract(epoch from '2026-07-28 07:41:54'::timestamp) - extract(epoch from '2026-07-28 07:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321922 -2.769079)'), GeomFromEWKT('SRID=4674;POINT (-40.322011 -2.769187)'))) / (select extract(epoch from '2026-07-28 07:41:54'::timestamp) - extract(epoch from '2026-07-28 07:41:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322134 -2.769275)', '2026-07-28 07:42:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322011 -2.769187)'), GeomFromEWKT('SRID=4674;POINT (-40.322134 -2.769275)'))) / (select extract(epoch from '2026-07-28 07:42:01'::timestamp) - extract(epoch from '2026-07-28 07:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322011 -2.769187)'), GeomFromEWKT('SRID=4674;POINT (-40.322134 -2.769275)'))) / (select extract(epoch from '2026-07-28 07:42:01'::timestamp) - extract(epoch from '2026-07-28 07:41:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322272 -2.769366)', '2026-07-28 07:42:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322134 -2.769275)'), GeomFromEWKT('SRID=4674;POINT (-40.322272 -2.769366)'))) / (select extract(epoch from '2026-07-28 07:42:09'::timestamp) - extract(epoch from '2026-07-28 07:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322134 -2.769275)'), GeomFromEWKT('SRID=4674;POINT (-40.322272 -2.769366)'))) / (select extract(epoch from '2026-07-28 07:42:09'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.322377 -2.769474)', '2026-07-28 07:42:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322272 -2.769366)'), GeomFromEWKT('SRID=4674;POINT (-40.322377 -2.769474)'))) / (select extract(epoch from '2026-07-28 07:42:16'::timestamp) - extract(epoch from '2026-07-28 07:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322272 -2.769366)'), GeomFromEWKT('SRID=4674;POINT (-40.322377 -2.769474)'))) / (select extract(epoch from '2026-07-28 07:42:16'::timestamp) - extract(epoch from '2026-07-28 07:42: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'), 47807, 'SRID=4674;POINT (-40.322484 -2.769548)', '2026-07-28 07:42:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322377 -2.769474)'), GeomFromEWKT('SRID=4674;POINT (-40.322484 -2.769548)'))) / (select extract(epoch from '2026-07-28 07:42:22'::timestamp) - extract(epoch from '2026-07-28 07:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322377 -2.769474)'), GeomFromEWKT('SRID=4674;POINT (-40.322484 -2.769548)'))) / (select extract(epoch from '2026-07-28 07:42:22'::timestamp) - extract(epoch from '2026-07-28 07:42: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'), 47807, 'SRID=4674;POINT (-40.322642 -2.769638)', '2026-07-28 07:42:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322484 -2.769548)'), GeomFromEWKT('SRID=4674;POINT (-40.322642 -2.769638)'))) / (select extract(epoch from '2026-07-28 07:42:30'::timestamp) - extract(epoch from '2026-07-28 07:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322484 -2.769548)'), GeomFromEWKT('SRID=4674;POINT (-40.322642 -2.769638)'))) / (select extract(epoch from '2026-07-28 07:42:30'::timestamp) - extract(epoch from '2026-07-28 07:42: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'), 47807, 'SRID=4674;POINT (-40.322726 -2.769713)', '2026-07-28 07:42:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322642 -2.769638)'), GeomFromEWKT('SRID=4674;POINT (-40.322726 -2.769713)'))) / (select extract(epoch from '2026-07-28 07:42:36'::timestamp) - extract(epoch from '2026-07-28 07:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322642 -2.769638)'), GeomFromEWKT('SRID=4674;POINT (-40.322726 -2.769713)'))) / (select extract(epoch from '2026-07-28 07:42:36'::timestamp) - extract(epoch from '2026-07-28 07:42: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'), 47807, 'SRID=4674;POINT (-40.322734 -2.769807)', '2026-07-28 07:42:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322726 -2.769713)'), GeomFromEWKT('SRID=4674;POINT (-40.322734 -2.769807)'))) / (select extract(epoch from '2026-07-28 07:42:42'::timestamp) - extract(epoch from '2026-07-28 07:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322726 -2.769713)'), GeomFromEWKT('SRID=4674;POINT (-40.322734 -2.769807)'))) / (select extract(epoch from '2026-07-28 07:42:42'::timestamp) - extract(epoch from '2026-07-28 07:42: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'), 47807, 'SRID=4674;POINT (-40.322697 -2.769897)', '2026-07-28 07:42:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322734 -2.769807)'), GeomFromEWKT('SRID=4674;POINT (-40.322697 -2.769897)'))) / (select extract(epoch from '2026-07-28 07:42:49'::timestamp) - extract(epoch from '2026-07-28 07:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322734 -2.769807)'), GeomFromEWKT('SRID=4674;POINT (-40.322697 -2.769897)'))) / (select extract(epoch from '2026-07-28 07:42:49'::timestamp) - extract(epoch from '2026-07-28 07:42:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322674 -2.769932)', '2026-07-28 07:42:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322697 -2.769897)'), GeomFromEWKT('SRID=4674;POINT (-40.322674 -2.769932)'))) / (select extract(epoch from '2026-07-28 07:42:57'::timestamp) - extract(epoch from '2026-07-28 07:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322697 -2.769897)'), GeomFromEWKT('SRID=4674;POINT (-40.322674 -2.769932)'))) / (select extract(epoch from '2026-07-28 07:42:57'::timestamp) - extract(epoch from '2026-07-28 07:42: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'), 47807, 'SRID=4674;POINT (-40.322672 -2.769927)', '2026-07-28 07:43:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322674 -2.769932)'), GeomFromEWKT('SRID=4674;POINT (-40.322672 -2.769927)'))) / (select extract(epoch from '2026-07-28 07:43:12'::timestamp) - extract(epoch from '2026-07-28 07:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322674 -2.769932)'), GeomFromEWKT('SRID=4674;POINT (-40.322672 -2.769927)'))) / (select extract(epoch from '2026-07-28 07:43:12'::timestamp) - extract(epoch from '2026-07-28 07:42: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'), 47807, 'SRID=4674;POINT (-40.3227 -2.76993)', '2026-07-28 07:43:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322672 -2.769927)'), GeomFromEWKT('SRID=4674;POINT (-40.3227 -2.76993)'))) / (select extract(epoch from '2026-07-28 07:43:22'::timestamp) - extract(epoch from '2026-07-28 07:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322672 -2.769927)'), GeomFromEWKT('SRID=4674;POINT (-40.3227 -2.76993)'))) / (select extract(epoch from '2026-07-28 07:43:22'::timestamp) - extract(epoch from '2026-07-28 07:43:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322709 -2.769944)', '2026-07-28 07:43:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3227 -2.76993)'), GeomFromEWKT('SRID=4674;POINT (-40.322709 -2.769944)'))) / (select extract(epoch from '2026-07-28 07:43:31'::timestamp) - extract(epoch from '2026-07-28 07:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3227 -2.76993)'), GeomFromEWKT('SRID=4674;POINT (-40.322709 -2.769944)'))) / (select extract(epoch from '2026-07-28 07:43:31'::timestamp) - extract(epoch from '2026-07-28 07:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322688 -2.769943)', '2026-07-28 07:43:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322709 -2.769944)'), GeomFromEWKT('SRID=4674;POINT (-40.322688 -2.769943)'))) / (select extract(epoch from '2026-07-28 07:43:44'::timestamp) - extract(epoch from '2026-07-28 07:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322709 -2.769944)'), GeomFromEWKT('SRID=4674;POINT (-40.322688 -2.769943)'))) / (select extract(epoch from '2026-07-28 07:43:44'::timestamp) - extract(epoch from '2026-07-28 07:43:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322639 -2.769936)', '2026-07-28 07:43:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322688 -2.769943)'), GeomFromEWKT('SRID=4674;POINT (-40.322639 -2.769936)'))) / (select extract(epoch from '2026-07-28 07:43:56'::timestamp) - extract(epoch from '2026-07-28 07:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322688 -2.769943)'), GeomFromEWKT('SRID=4674;POINT (-40.322639 -2.769936)'))) / (select extract(epoch from '2026-07-28 07:43:56'::timestamp) - extract(epoch from '2026-07-28 07:43:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.32262 -2.769931)', '2026-07-28 07:44:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322639 -2.769936)'), GeomFromEWKT('SRID=4674;POINT (-40.32262 -2.769931)'))) / (select extract(epoch from '2026-07-28 07:44:10'::timestamp) - extract(epoch from '2026-07-28 07:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322639 -2.769936)'), GeomFromEWKT('SRID=4674;POINT (-40.32262 -2.769931)'))) / (select extract(epoch from '2026-07-28 07:44:10'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.322638 -2.769928)', '2026-07-28 07:44:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32262 -2.769931)'), GeomFromEWKT('SRID=4674;POINT (-40.322638 -2.769928)'))) / (select extract(epoch from '2026-07-28 07:44:18'::timestamp) - extract(epoch from '2026-07-28 07:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32262 -2.769931)'), GeomFromEWKT('SRID=4674;POINT (-40.322638 -2.769928)'))) / (select extract(epoch from '2026-07-28 07:44:18'::timestamp) - extract(epoch from '2026-07-28 07:44:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322619 -2.769928)', '2026-07-28 07:44:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322638 -2.769928)'), GeomFromEWKT('SRID=4674;POINT (-40.322619 -2.769928)'))) / (select extract(epoch from '2026-07-28 07:44:33'::timestamp) - extract(epoch from '2026-07-28 07:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322638 -2.769928)'), GeomFromEWKT('SRID=4674;POINT (-40.322619 -2.769928)'))) / (select extract(epoch from '2026-07-28 07:44:33'::timestamp) - extract(epoch from '2026-07-28 07:44:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322567 -2.769916)', '2026-07-28 07:44:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322619 -2.769928)'), GeomFromEWKT('SRID=4674;POINT (-40.322567 -2.769916)'))) / (select extract(epoch from '2026-07-28 07:44:46'::timestamp) - extract(epoch from '2026-07-28 07:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322619 -2.769928)'), GeomFromEWKT('SRID=4674;POINT (-40.322567 -2.769916)'))) / (select extract(epoch from '2026-07-28 07:44:46'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.322564 -2.769901)', '2026-07-28 07:44:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322567 -2.769916)'), GeomFromEWKT('SRID=4674;POINT (-40.322564 -2.769901)'))) / (select extract(epoch from '2026-07-28 07:44:58'::timestamp) - extract(epoch from '2026-07-28 07:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322567 -2.769916)'), GeomFromEWKT('SRID=4674;POINT (-40.322564 -2.769901)'))) / (select extract(epoch from '2026-07-28 07:44:58'::timestamp) - extract(epoch from '2026-07-28 07:44:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322555 -2.76988)', '2026-07-28 07:45:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322564 -2.769901)'), GeomFromEWKT('SRID=4674;POINT (-40.322555 -2.76988)'))) / (select extract(epoch from '2026-07-28 07:45:17'::timestamp) - extract(epoch from '2026-07-28 07:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322564 -2.769901)'), GeomFromEWKT('SRID=4674;POINT (-40.322555 -2.76988)'))) / (select extract(epoch from '2026-07-28 07:45:17'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.322541 -2.769862)', '2026-07-28 07:45:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322555 -2.76988)'), GeomFromEWKT('SRID=4674;POINT (-40.322541 -2.769862)'))) / (select extract(epoch from '2026-07-28 07:45:31'::timestamp) - extract(epoch from '2026-07-28 07:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322555 -2.76988)'), GeomFromEWKT('SRID=4674;POINT (-40.322541 -2.769862)'))) / (select extract(epoch from '2026-07-28 07:45:31'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.322535 -2.769844)', '2026-07-28 07:45:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322541 -2.769862)'), GeomFromEWKT('SRID=4674;POINT (-40.322535 -2.769844)'))) / (select extract(epoch from '2026-07-28 07:45:56'::timestamp) - extract(epoch from '2026-07-28 07:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322541 -2.769862)'), GeomFromEWKT('SRID=4674;POINT (-40.322535 -2.769844)'))) / (select extract(epoch from '2026-07-28 07:45:56'::timestamp) - extract(epoch from '2026-07-28 07:45:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322537 -2.769851)', '2026-07-28 07:46:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322535 -2.769844)'), GeomFromEWKT('SRID=4674;POINT (-40.322537 -2.769851)'))) / (select extract(epoch from '2026-07-28 07:46:07'::timestamp) - extract(epoch from '2026-07-28 07:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322535 -2.769844)'), GeomFromEWKT('SRID=4674;POINT (-40.322537 -2.769851)'))) / (select extract(epoch from '2026-07-28 07:46:07'::timestamp) - extract(epoch from '2026-07-28 07:45: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'), 47807, 'SRID=4674;POINT (-40.322536 -2.769848)', '2026-07-28 07:46:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322537 -2.769851)'), GeomFromEWKT('SRID=4674;POINT (-40.322536 -2.769848)'))) / (select extract(epoch from '2026-07-28 07:46:24'::timestamp) - extract(epoch from '2026-07-28 07:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322537 -2.769851)'), GeomFromEWKT('SRID=4674;POINT (-40.322536 -2.769848)'))) / (select extract(epoch from '2026-07-28 07:46:24'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.322537 -2.769845)', '2026-07-28 07:46:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322536 -2.769848)'), GeomFromEWKT('SRID=4674;POINT (-40.322537 -2.769845)'))) / (select extract(epoch from '2026-07-28 07:46:40'::timestamp) - extract(epoch from '2026-07-28 07:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322536 -2.769848)'), GeomFromEWKT('SRID=4674;POINT (-40.322537 -2.769845)'))) / (select extract(epoch from '2026-07-28 07:46:40'::timestamp) - extract(epoch from '2026-07-28 07:46:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322528 -2.769837)', '2026-07-28 07:46:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322537 -2.769845)'), GeomFromEWKT('SRID=4674;POINT (-40.322528 -2.769837)'))) / (select extract(epoch from '2026-07-28 07:46:53'::timestamp) - extract(epoch from '2026-07-28 07:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322537 -2.769845)'), GeomFromEWKT('SRID=4674;POINT (-40.322528 -2.769837)'))) / (select extract(epoch from '2026-07-28 07:46:53'::timestamp) - extract(epoch from '2026-07-28 07:46:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.32249 -2.769848)', '2026-07-28 07:47:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322528 -2.769837)'), GeomFromEWKT('SRID=4674;POINT (-40.32249 -2.769848)'))) / (select extract(epoch from '2026-07-28 07:47:06'::timestamp) - extract(epoch from '2026-07-28 07:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322528 -2.769837)'), GeomFromEWKT('SRID=4674;POINT (-40.32249 -2.769848)'))) / (select extract(epoch from '2026-07-28 07:47:06'::timestamp) - extract(epoch from '2026-07-28 07:46: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'), 47807, 'SRID=4674;POINT (-40.322453 -2.769888)', '2026-07-28 07:47:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32249 -2.769848)'), GeomFromEWKT('SRID=4674;POINT (-40.322453 -2.769888)'))) / (select extract(epoch from '2026-07-28 07:47:16'::timestamp) - extract(epoch from '2026-07-28 07:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32249 -2.769848)'), GeomFromEWKT('SRID=4674;POINT (-40.322453 -2.769888)'))) / (select extract(epoch from '2026-07-28 07:47:16'::timestamp) - extract(epoch from '2026-07-28 07:47: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'), 47807, 'SRID=4674;POINT (-40.322397 -2.769914)', '2026-07-28 07:47:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322453 -2.769888)'), GeomFromEWKT('SRID=4674;POINT (-40.322397 -2.769914)'))) / (select extract(epoch from '2026-07-28 07:47:27'::timestamp) - extract(epoch from '2026-07-28 07:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322453 -2.769888)'), GeomFromEWKT('SRID=4674;POINT (-40.322397 -2.769914)'))) / (select extract(epoch from '2026-07-28 07:47:27'::timestamp) - extract(epoch from '2026-07-28 07:47:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322341 -2.769935)', '2026-07-28 07:47:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322397 -2.769914)'), GeomFromEWKT('SRID=4674;POINT (-40.322341 -2.769935)'))) / (select extract(epoch from '2026-07-28 07:47:41'::timestamp) - extract(epoch from '2026-07-28 07:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322397 -2.769914)'), GeomFromEWKT('SRID=4674;POINT (-40.322341 -2.769935)'))) / (select extract(epoch from '2026-07-28 07:47:41'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.322336 -2.769955)', '2026-07-28 07:47:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322341 -2.769935)'), GeomFromEWKT('SRID=4674;POINT (-40.322336 -2.769955)'))) / (select extract(epoch from '2026-07-28 07:47:52'::timestamp) - extract(epoch from '2026-07-28 07:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322341 -2.769935)'), GeomFromEWKT('SRID=4674;POINT (-40.322336 -2.769955)'))) / (select extract(epoch from '2026-07-28 07:47:52'::timestamp) - extract(epoch from '2026-07-28 07:47:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.32233 -2.769966)', '2026-07-28 07:48:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322336 -2.769955)'), GeomFromEWKT('SRID=4674;POINT (-40.32233 -2.769966)'))) / (select extract(epoch from '2026-07-28 07:48:05'::timestamp) - extract(epoch from '2026-07-28 07:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322336 -2.769955)'), GeomFromEWKT('SRID=4674;POINT (-40.32233 -2.769966)'))) / (select extract(epoch from '2026-07-28 07:48:05'::timestamp) - extract(epoch from '2026-07-28 07:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322292 -2.769958)', '2026-07-28 07:48:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32233 -2.769966)'), GeomFromEWKT('SRID=4674;POINT (-40.322292 -2.769958)'))) / (select extract(epoch from '2026-07-28 07:48:17'::timestamp) - extract(epoch from '2026-07-28 07:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32233 -2.769966)'), GeomFromEWKT('SRID=4674;POINT (-40.322292 -2.769958)'))) / (select extract(epoch from '2026-07-28 07:48:17'::timestamp) - extract(epoch from '2026-07-28 07:48: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'), 47807, 'SRID=4674;POINT (-40.322279 -2.76996)', '2026-07-28 07:48:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322292 -2.769958)'), GeomFromEWKT('SRID=4674;POINT (-40.322279 -2.76996)'))) / (select extract(epoch from '2026-07-28 07:48:32'::timestamp) - extract(epoch from '2026-07-28 07:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322292 -2.769958)'), GeomFromEWKT('SRID=4674;POINT (-40.322279 -2.76996)'))) / (select extract(epoch from '2026-07-28 07:48:32'::timestamp) - extract(epoch from '2026-07-28 07:48: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'), 47807, 'SRID=4674;POINT (-40.322282 -2.769958)', '2026-07-28 07:48:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322279 -2.76996)'), GeomFromEWKT('SRID=4674;POINT (-40.322282 -2.769958)'))) / (select extract(epoch from '2026-07-28 07:48:43'::timestamp) - extract(epoch from '2026-07-28 07:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322279 -2.76996)'), GeomFromEWKT('SRID=4674;POINT (-40.322282 -2.769958)'))) / (select extract(epoch from '2026-07-28 07:48:43'::timestamp) - extract(epoch from '2026-07-28 07:48:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322277 -2.769959)', '2026-07-28 07:48:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322282 -2.769958)'), GeomFromEWKT('SRID=4674;POINT (-40.322277 -2.769959)'))) / (select extract(epoch from '2026-07-28 07:48:57'::timestamp) - extract(epoch from '2026-07-28 07:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322282 -2.769958)'), GeomFromEWKT('SRID=4674;POINT (-40.322277 -2.769959)'))) / (select extract(epoch from '2026-07-28 07:48:57'::timestamp) - extract(epoch from '2026-07-28 07:48: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'), 47807, 'SRID=4674;POINT (-40.322274 -2.769949)', '2026-07-28 07:49:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322277 -2.769959)'), GeomFromEWKT('SRID=4674;POINT (-40.322274 -2.769949)'))) / (select extract(epoch from '2026-07-28 07:49:10'::timestamp) - extract(epoch from '2026-07-28 07:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322277 -2.769959)'), GeomFromEWKT('SRID=4674;POINT (-40.322274 -2.769949)'))) / (select extract(epoch from '2026-07-28 07:49:10'::timestamp) - extract(epoch from '2026-07-28 07:48:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322281 -2.769956)', '2026-07-28 07:49:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322274 -2.769949)'), GeomFromEWKT('SRID=4674;POINT (-40.322281 -2.769956)'))) / (select extract(epoch from '2026-07-28 07:49:27'::timestamp) - extract(epoch from '2026-07-28 07:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322274 -2.769949)'), GeomFromEWKT('SRID=4674;POINT (-40.322281 -2.769956)'))) / (select extract(epoch from '2026-07-28 07:49:27'::timestamp) - extract(epoch from '2026-07-28 07:49: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'), 47807, 'SRID=4674;POINT (-40.322272 -2.769944)', '2026-07-28 07:49:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322281 -2.769956)'), GeomFromEWKT('SRID=4674;POINT (-40.322272 -2.769944)'))) / (select extract(epoch from '2026-07-28 07:49:48'::timestamp) - extract(epoch from '2026-07-28 07:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322281 -2.769956)'), GeomFromEWKT('SRID=4674;POINT (-40.322272 -2.769944)'))) / (select extract(epoch from '2026-07-28 07:49:48'::timestamp) - extract(epoch from '2026-07-28 07:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322274 -2.769949)', '2026-07-28 07:49:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322272 -2.769944)'), GeomFromEWKT('SRID=4674;POINT (-40.322274 -2.769949)'))) / (select extract(epoch from '2026-07-28 07:49:58'::timestamp) - extract(epoch from '2026-07-28 07:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322272 -2.769944)'), GeomFromEWKT('SRID=4674;POINT (-40.322274 -2.769949)'))) / (select extract(epoch from '2026-07-28 07:49:58'::timestamp) - extract(epoch from '2026-07-28 07:49: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'), 47807, 'SRID=4674;POINT (-40.322263 -2.769946)', '2026-07-28 07:50:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322274 -2.769949)'), GeomFromEWKT('SRID=4674;POINT (-40.322263 -2.769946)'))) / (select extract(epoch from '2026-07-28 07:50:14'::timestamp) - extract(epoch from '2026-07-28 07:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322274 -2.769949)'), GeomFromEWKT('SRID=4674;POINT (-40.322263 -2.769946)'))) / (select extract(epoch from '2026-07-28 07:50:14'::timestamp) - extract(epoch from '2026-07-28 07:49: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'), 47807, 'SRID=4674;POINT (-40.322264 -2.769951)', '2026-07-28 07:50:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322263 -2.769946)'), GeomFromEWKT('SRID=4674;POINT (-40.322264 -2.769951)'))) / (select extract(epoch from '2026-07-28 07:50:24'::timestamp) - extract(epoch from '2026-07-28 07:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322263 -2.769946)'), GeomFromEWKT('SRID=4674;POINT (-40.322264 -2.769951)'))) / (select extract(epoch from '2026-07-28 07:50:24'::timestamp) - extract(epoch from '2026-07-28 07:50: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'), 47807, 'SRID=4674;POINT (-40.322273 -2.769952)', '2026-07-28 07:50:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322264 -2.769951)'), GeomFromEWKT('SRID=4674;POINT (-40.322273 -2.769952)'))) / (select extract(epoch from '2026-07-28 07:50:38'::timestamp) - extract(epoch from '2026-07-28 07:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322264 -2.769951)'), GeomFromEWKT('SRID=4674;POINT (-40.322273 -2.769952)'))) / (select extract(epoch from '2026-07-28 07:50:38'::timestamp) - extract(epoch from '2026-07-28 07:50: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'), 47807, 'SRID=4674;POINT (-40.32227 -2.769944)', '2026-07-28 07:50:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322273 -2.769952)'), GeomFromEWKT('SRID=4674;POINT (-40.32227 -2.769944)'))) / (select extract(epoch from '2026-07-28 07:50:49'::timestamp) - extract(epoch from '2026-07-28 07:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322273 -2.769952)'), GeomFromEWKT('SRID=4674;POINT (-40.32227 -2.769944)'))) / (select extract(epoch from '2026-07-28 07:50:49'::timestamp) - extract(epoch from '2026-07-28 07:50: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'), 47807, 'SRID=4674;POINT (-40.322272 -2.769939)', '2026-07-28 07:51:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32227 -2.769944)'), GeomFromEWKT('SRID=4674;POINT (-40.322272 -2.769939)'))) / (select extract(epoch from '2026-07-28 07:51:05'::timestamp) - extract(epoch from '2026-07-28 07:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32227 -2.769944)'), GeomFromEWKT('SRID=4674;POINT (-40.322272 -2.769939)'))) / (select extract(epoch from '2026-07-28 07:51:05'::timestamp) - extract(epoch from '2026-07-28 07:50:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322267 -2.769949)', '2026-07-28 07:51:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322272 -2.769939)'), GeomFromEWKT('SRID=4674;POINT (-40.322267 -2.769949)'))) / (select extract(epoch from '2026-07-28 07:51:16'::timestamp) - extract(epoch from '2026-07-28 07:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322272 -2.769939)'), GeomFromEWKT('SRID=4674;POINT (-40.322267 -2.769949)'))) / (select extract(epoch from '2026-07-28 07:51:16'::timestamp) - extract(epoch from '2026-07-28 07:51: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'), 47807, 'SRID=4674;POINT (-40.322271 -2.769937)', '2026-07-28 07:51:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322267 -2.769949)'), GeomFromEWKT('SRID=4674;POINT (-40.322271 -2.769937)'))) / (select extract(epoch from '2026-07-28 07:51:28'::timestamp) - extract(epoch from '2026-07-28 07:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322267 -2.769949)'), GeomFromEWKT('SRID=4674;POINT (-40.322271 -2.769937)'))) / (select extract(epoch from '2026-07-28 07:51:28'::timestamp) - extract(epoch from '2026-07-28 07:51: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'), 47807, 'SRID=4674;POINT (-40.322277 -2.769932)', '2026-07-28 07:51:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322271 -2.769937)'), GeomFromEWKT('SRID=4674;POINT (-40.322277 -2.769932)'))) / (select extract(epoch from '2026-07-28 07:51:42'::timestamp) - extract(epoch from '2026-07-28 07:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322271 -2.769937)'), GeomFromEWKT('SRID=4674;POINT (-40.322277 -2.769932)'))) / (select extract(epoch from '2026-07-28 07:51:42'::timestamp) - extract(epoch from '2026-07-28 07:51:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322288 -2.769936)', '2026-07-28 07:51:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322277 -2.769932)'), GeomFromEWKT('SRID=4674;POINT (-40.322288 -2.769936)'))) / (select extract(epoch from '2026-07-28 07:51:55'::timestamp) - extract(epoch from '2026-07-28 07:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322277 -2.769932)'), GeomFromEWKT('SRID=4674;POINT (-40.322288 -2.769936)'))) / (select extract(epoch from '2026-07-28 07:51:55'::timestamp) - extract(epoch from '2026-07-28 07:51: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'), 47807, 'SRID=4674;POINT (-40.322308 -2.769935)', '2026-07-28 07:52:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322288 -2.769936)'), GeomFromEWKT('SRID=4674;POINT (-40.322308 -2.769935)'))) / (select extract(epoch from '2026-07-28 07:52:08'::timestamp) - extract(epoch from '2026-07-28 07:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322288 -2.769936)'), GeomFromEWKT('SRID=4674;POINT (-40.322308 -2.769935)'))) / (select extract(epoch from '2026-07-28 07:52:08'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.322326 -2.769924)', '2026-07-28 07:52:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322308 -2.769935)'), GeomFromEWKT('SRID=4674;POINT (-40.322326 -2.769924)'))) / (select extract(epoch from '2026-07-28 07:52:18'::timestamp) - extract(epoch from '2026-07-28 07:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322308 -2.769935)'), GeomFromEWKT('SRID=4674;POINT (-40.322326 -2.769924)'))) / (select extract(epoch from '2026-07-28 07:52:18'::timestamp) - extract(epoch from '2026-07-28 07:52: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'), 47807, 'SRID=4674;POINT (-40.322359 -2.769893)', '2026-07-28 07:52:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322326 -2.769924)'), GeomFromEWKT('SRID=4674;POINT (-40.322359 -2.769893)'))) / (select extract(epoch from '2026-07-28 07:52:29'::timestamp) - extract(epoch from '2026-07-28 07:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322326 -2.769924)'), GeomFromEWKT('SRID=4674;POINT (-40.322359 -2.769893)'))) / (select extract(epoch from '2026-07-28 07:52:29'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.322413 -2.769863)', '2026-07-28 07:52:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322359 -2.769893)'), GeomFromEWKT('SRID=4674;POINT (-40.322413 -2.769863)'))) / (select extract(epoch from '2026-07-28 07:52:44'::timestamp) - extract(epoch from '2026-07-28 07:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322359 -2.769893)'), GeomFromEWKT('SRID=4674;POINT (-40.322413 -2.769863)'))) / (select extract(epoch from '2026-07-28 07:52:44'::timestamp) - extract(epoch from '2026-07-28 07:52: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'), 47807, 'SRID=4674;POINT (-40.322467 -2.769844)', '2026-07-28 07:52:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322413 -2.769863)'), GeomFromEWKT('SRID=4674;POINT (-40.322467 -2.769844)'))) / (select extract(epoch from '2026-07-28 07:52:56'::timestamp) - extract(epoch from '2026-07-28 07:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322413 -2.769863)'), GeomFromEWKT('SRID=4674;POINT (-40.322467 -2.769844)'))) / (select extract(epoch from '2026-07-28 07:52:56'::timestamp) - extract(epoch from '2026-07-28 07:52: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'), 47807, 'SRID=4674;POINT (-40.322511 -2.769827)', '2026-07-28 07:53:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322467 -2.769844)'), GeomFromEWKT('SRID=4674;POINT (-40.322511 -2.769827)'))) / (select extract(epoch from '2026-07-28 07:53:08'::timestamp) - extract(epoch from '2026-07-28 07:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322467 -2.769844)'), GeomFromEWKT('SRID=4674;POINT (-40.322511 -2.769827)'))) / (select extract(epoch from '2026-07-28 07:53:08'::timestamp) - extract(epoch from '2026-07-28 07:52: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'), 47807, 'SRID=4674;POINT (-40.322558 -2.769796)', '2026-07-28 07:53:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322511 -2.769827)'), GeomFromEWKT('SRID=4674;POINT (-40.322558 -2.769796)'))) / (select extract(epoch from '2026-07-28 07:53:20'::timestamp) - extract(epoch from '2026-07-28 07:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322511 -2.769827)'), GeomFromEWKT('SRID=4674;POINT (-40.322558 -2.769796)'))) / (select extract(epoch from '2026-07-28 07:53:20'::timestamp) - extract(epoch from '2026-07-28 07:53: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'), 47807, 'SRID=4674;POINT (-40.322606 -2.76978)', '2026-07-28 07:53:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322558 -2.769796)'), GeomFromEWKT('SRID=4674;POINT (-40.322606 -2.76978)'))) / (select extract(epoch from '2026-07-28 07:53:34'::timestamp) - extract(epoch from '2026-07-28 07:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322558 -2.769796)'), GeomFromEWKT('SRID=4674;POINT (-40.322606 -2.76978)'))) / (select extract(epoch from '2026-07-28 07:53:34'::timestamp) - extract(epoch from '2026-07-28 07:53:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322657 -2.769764)', '2026-07-28 07:53:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322606 -2.76978)'), GeomFromEWKT('SRID=4674;POINT (-40.322657 -2.769764)'))) / (select extract(epoch from '2026-07-28 07:53:49'::timestamp) - extract(epoch from '2026-07-28 07:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322606 -2.76978)'), GeomFromEWKT('SRID=4674;POINT (-40.322657 -2.769764)'))) / (select extract(epoch from '2026-07-28 07:53:49'::timestamp) - extract(epoch from '2026-07-28 07:53: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'), 47807, 'SRID=4674;POINT (-40.322672 -2.769694)', '2026-07-28 07:54:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322657 -2.769764)'), GeomFromEWKT('SRID=4674;POINT (-40.322672 -2.769694)'))) / (select extract(epoch from '2026-07-28 07:54:05'::timestamp) - extract(epoch from '2026-07-28 07:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322657 -2.769764)'), GeomFromEWKT('SRID=4674;POINT (-40.322672 -2.769694)'))) / (select extract(epoch from '2026-07-28 07:54:05'::timestamp) - extract(epoch from '2026-07-28 07:53: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'), 47807, 'SRID=4674;POINT (-40.322721 -2.769622)', '2026-07-28 07:54:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322672 -2.769694)'), GeomFromEWKT('SRID=4674;POINT (-40.322721 -2.769622)'))) / (select extract(epoch from '2026-07-28 07:54:12'::timestamp) - extract(epoch from '2026-07-28 07:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322672 -2.769694)'), GeomFromEWKT('SRID=4674;POINT (-40.322721 -2.769622)'))) / (select extract(epoch from '2026-07-28 07:54:12'::timestamp) - extract(epoch from '2026-07-28 07:54:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322816 -2.769617)', '2026-07-28 07:54:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322721 -2.769622)'), GeomFromEWKT('SRID=4674;POINT (-40.322816 -2.769617)'))) / (select extract(epoch from '2026-07-28 07:54:18'::timestamp) - extract(epoch from '2026-07-28 07:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322721 -2.769622)'), GeomFromEWKT('SRID=4674;POINT (-40.322816 -2.769617)'))) / (select extract(epoch from '2026-07-28 07:54:18'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.322894 -2.769694)', '2026-07-28 07:54:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322816 -2.769617)'), GeomFromEWKT('SRID=4674;POINT (-40.322894 -2.769694)'))) / (select extract(epoch from '2026-07-28 07:54:24'::timestamp) - extract(epoch from '2026-07-28 07:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322816 -2.769617)'), GeomFromEWKT('SRID=4674;POINT (-40.322894 -2.769694)'))) / (select extract(epoch from '2026-07-28 07:54:24'::timestamp) - extract(epoch from '2026-07-28 07:54:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.32294 -2.769784)', '2026-07-28 07:54:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322894 -2.769694)'), GeomFromEWKT('SRID=4674;POINT (-40.32294 -2.769784)'))) / (select extract(epoch from '2026-07-28 07:54:29'::timestamp) - extract(epoch from '2026-07-28 07:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322894 -2.769694)'), GeomFromEWKT('SRID=4674;POINT (-40.32294 -2.769784)'))) / (select extract(epoch from '2026-07-28 07:54:29'::timestamp) - extract(epoch from '2026-07-28 07:54:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.322995 -2.76987)', '2026-07-28 07:54:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32294 -2.769784)'), GeomFromEWKT('SRID=4674;POINT (-40.322995 -2.76987)'))) / (select extract(epoch from '2026-07-28 07:54:34'::timestamp) - extract(epoch from '2026-07-28 07:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32294 -2.769784)'), GeomFromEWKT('SRID=4674;POINT (-40.322995 -2.76987)'))) / (select extract(epoch from '2026-07-28 07:54:34'::timestamp) - extract(epoch from '2026-07-28 07:54: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'), 47807, 'SRID=4674;POINT (-40.323087 -2.769956)', '2026-07-28 07:54:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322995 -2.76987)'), GeomFromEWKT('SRID=4674;POINT (-40.323087 -2.769956)'))) / (select extract(epoch from '2026-07-28 07:54:40'::timestamp) - extract(epoch from '2026-07-28 07:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322995 -2.76987)'), GeomFromEWKT('SRID=4674;POINT (-40.323087 -2.769956)'))) / (select extract(epoch from '2026-07-28 07:54:40'::timestamp) - extract(epoch from '2026-07-28 07:54: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'), 47807, 'SRID=4674;POINT (-40.323226 -2.770056)', '2026-07-28 07:54:48', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323087 -2.769956)'), GeomFromEWKT('SRID=4674;POINT (-40.323226 -2.770056)'))) / (select extract(epoch from '2026-07-28 07:54:48'::timestamp) - extract(epoch from '2026-07-28 07:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323087 -2.769956)'), GeomFromEWKT('SRID=4674;POINT (-40.323226 -2.770056)'))) / (select extract(epoch from '2026-07-28 07:54:48'::timestamp) - extract(epoch from '2026-07-28 07: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'), 47807, 'SRID=4674;POINT (-40.323384 -2.770135)', '2026-07-28 07:54:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323226 -2.770056)'), GeomFromEWKT('SRID=4674;POINT (-40.323384 -2.770135)'))) / (select extract(epoch from '2026-07-28 07:54:56'::timestamp) - extract(epoch from '2026-07-28 07:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323226 -2.770056)'), GeomFromEWKT('SRID=4674;POINT (-40.323384 -2.770135)'))) / (select extract(epoch from '2026-07-28 07:54:56'::timestamp) - extract(epoch from '2026-07-28 07:54:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.323491 -2.770254)', '2026-07-28 07:55:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323384 -2.770135)'), GeomFromEWKT('SRID=4674;POINT (-40.323491 -2.770254)'))) / (select extract(epoch from '2026-07-28 07:55:04'::timestamp) - extract(epoch from '2026-07-28 07:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323384 -2.770135)'), GeomFromEWKT('SRID=4674;POINT (-40.323491 -2.770254)'))) / (select extract(epoch from '2026-07-28 07:55:04'::timestamp) - extract(epoch from '2026-07-28 07:54:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.323604 -2.770368)', '2026-07-28 07:55:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323491 -2.770254)'), GeomFromEWKT('SRID=4674;POINT (-40.323604 -2.770368)'))) / (select extract(epoch from '2026-07-28 07:55:11'::timestamp) - extract(epoch from '2026-07-28 07:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323491 -2.770254)'), GeomFromEWKT('SRID=4674;POINT (-40.323604 -2.770368)'))) / (select extract(epoch from '2026-07-28 07:55:11'::timestamp) - extract(epoch from '2026-07-28 07:55: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'), 47807, 'SRID=4674;POINT (-40.323731 -2.770459)', '2026-07-28 07:55:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323604 -2.770368)'), GeomFromEWKT('SRID=4674;POINT (-40.323731 -2.770459)'))) / (select extract(epoch from '2026-07-28 07:55:18'::timestamp) - extract(epoch from '2026-07-28 07:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323604 -2.770368)'), GeomFromEWKT('SRID=4674;POINT (-40.323731 -2.770459)'))) / (select extract(epoch from '2026-07-28 07:55:18'::timestamp) - extract(epoch from '2026-07-28 07:55: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'), 47807, 'SRID=4674;POINT (-40.323802 -2.77053)', '2026-07-28 07:55:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323731 -2.770459)'), GeomFromEWKT('SRID=4674;POINT (-40.323802 -2.77053)'))) / (select extract(epoch from '2026-07-28 07:55:23'::timestamp) - extract(epoch from '2026-07-28 07:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323731 -2.770459)'), GeomFromEWKT('SRID=4674;POINT (-40.323802 -2.77053)'))) / (select extract(epoch from '2026-07-28 07:55:23'::timestamp) - extract(epoch from '2026-07-28 07:55: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'), 47807, 'SRID=4674;POINT (-40.323883 -2.770625)', '2026-07-28 07:55:29', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323802 -2.77053)'), GeomFromEWKT('SRID=4674;POINT (-40.323883 -2.770625)'))) / (select extract(epoch from '2026-07-28 07:55:29'::timestamp) - extract(epoch from '2026-07-28 07:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323802 -2.77053)'), GeomFromEWKT('SRID=4674;POINT (-40.323883 -2.770625)'))) / (select extract(epoch from '2026-07-28 07:55:29'::timestamp) - extract(epoch from '2026-07-28 07:55:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.323972 -2.770726)', '2026-07-28 07:55:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323883 -2.770625)'), GeomFromEWKT('SRID=4674;POINT (-40.323972 -2.770726)'))) / (select extract(epoch from '2026-07-28 07:55:35'::timestamp) - extract(epoch from '2026-07-28 07:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323883 -2.770625)'), GeomFromEWKT('SRID=4674;POINT (-40.323972 -2.770726)'))) / (select extract(epoch from '2026-07-28 07:55:35'::timestamp) - extract(epoch from '2026-07-28 07:55: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'), 47807, 'SRID=4674;POINT (-40.32406 -2.77083)', '2026-07-28 07:55:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323972 -2.770726)'), GeomFromEWKT('SRID=4674;POINT (-40.32406 -2.77083)'))) / (select extract(epoch from '2026-07-28 07:55:42'::timestamp) - extract(epoch from '2026-07-28 07:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323972 -2.770726)'), GeomFromEWKT('SRID=4674;POINT (-40.32406 -2.77083)'))) / (select extract(epoch from '2026-07-28 07:55:42'::timestamp) - extract(epoch from '2026-07-28 07:55: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'), 47807, 'SRID=4674;POINT (-40.324174 -2.770973)', '2026-07-28 07:55:51', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32406 -2.77083)'), GeomFromEWKT('SRID=4674;POINT (-40.324174 -2.770973)'))) / (select extract(epoch from '2026-07-28 07:55:51'::timestamp) - extract(epoch from '2026-07-28 07:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32406 -2.77083)'), GeomFromEWKT('SRID=4674;POINT (-40.324174 -2.770973)'))) / (select extract(epoch from '2026-07-28 07:55:51'::timestamp) - extract(epoch from '2026-07-28 07:55:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.324288 -2.771122)', '2026-07-28 07:56:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324174 -2.770973)'), GeomFromEWKT('SRID=4674;POINT (-40.324288 -2.771122)'))) / (select extract(epoch from '2026-07-28 07:56:00'::timestamp) - extract(epoch from '2026-07-28 07:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324174 -2.770973)'), GeomFromEWKT('SRID=4674;POINT (-40.324288 -2.771122)'))) / (select extract(epoch from '2026-07-28 07:56:00'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.324397 -2.771231)', '2026-07-28 07:56:07', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324288 -2.771122)'), GeomFromEWKT('SRID=4674;POINT (-40.324397 -2.771231)'))) / (select extract(epoch from '2026-07-28 07:56:07'::timestamp) - extract(epoch from '2026-07-28 07:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324288 -2.771122)'), GeomFromEWKT('SRID=4674;POINT (-40.324397 -2.771231)'))) / (select extract(epoch from '2026-07-28 07:56:07'::timestamp) - extract(epoch from '2026-07-28 07:56: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'), 47807, 'SRID=4674;POINT (-40.324539 -2.771325)', '2026-07-28 07:56:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324397 -2.771231)'), GeomFromEWKT('SRID=4674;POINT (-40.324539 -2.771325)'))) / (select extract(epoch from '2026-07-28 07:56:15'::timestamp) - extract(epoch from '2026-07-28 07:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324397 -2.771231)'), GeomFromEWKT('SRID=4674;POINT (-40.324539 -2.771325)'))) / (select extract(epoch from '2026-07-28 07:56:15'::timestamp) - extract(epoch from '2026-07-28 07: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'), 47807, 'SRID=4674;POINT (-40.324692 -2.771415)', '2026-07-28 07:56:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324539 -2.771325)'), GeomFromEWKT('SRID=4674;POINT (-40.324692 -2.771415)'))) / (select extract(epoch from '2026-07-28 07:56:23'::timestamp) - extract(epoch from '2026-07-28 07:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324539 -2.771325)'), GeomFromEWKT('SRID=4674;POINT (-40.324692 -2.771415)'))) / (select extract(epoch from '2026-07-28 07:56:23'::timestamp) - extract(epoch from '2026-07-28 07:56: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'), 47807, 'SRID=4674;POINT (-40.324823 -2.771497)', '2026-07-28 07:56:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324692 -2.771415)'), GeomFromEWKT('SRID=4674;POINT (-40.324823 -2.771497)'))) / (select extract(epoch from '2026-07-28 07:56:30'::timestamp) - extract(epoch from '2026-07-28 07:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324692 -2.771415)'), GeomFromEWKT('SRID=4674;POINT (-40.324823 -2.771497)'))) / (select extract(epoch from '2026-07-28 07:56:30'::timestamp) - extract(epoch from '2026-07-28 07:56: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'), 47807, 'SRID=4674;POINT (-40.324959 -2.77158)', '2026-07-28 07:56:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324823 -2.771497)'), GeomFromEWKT('SRID=4674;POINT (-40.324959 -2.77158)'))) / (select extract(epoch from '2026-07-28 07:56:37'::timestamp) - extract(epoch from '2026-07-28 07:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324823 -2.771497)'), GeomFromEWKT('SRID=4674;POINT (-40.324959 -2.77158)'))) / (select extract(epoch from '2026-07-28 07:56:37'::timestamp) - extract(epoch from '2026-07-28 07:56:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.3251 -2.771651)', '2026-07-28 07:56:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324959 -2.77158)'), GeomFromEWKT('SRID=4674;POINT (-40.3251 -2.771651)'))) / (select extract(epoch from '2026-07-28 07:56:44'::timestamp) - extract(epoch from '2026-07-28 07:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324959 -2.77158)'), GeomFromEWKT('SRID=4674;POINT (-40.3251 -2.771651)'))) / (select extract(epoch from '2026-07-28 07:56:44'::timestamp) - extract(epoch from '2026-07-28 07:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.32524 -2.771716)', '2026-07-28 07:56:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3251 -2.771651)'), GeomFromEWKT('SRID=4674;POINT (-40.32524 -2.771716)'))) / (select extract(epoch from '2026-07-28 07:56:51'::timestamp) - extract(epoch from '2026-07-28 07:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3251 -2.771651)'), GeomFromEWKT('SRID=4674;POINT (-40.32524 -2.771716)'))) / (select extract(epoch from '2026-07-28 07:56:51'::timestamp) - extract(epoch from '2026-07-28 07:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.325385 -2.771793)', '2026-07-28 07:56:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32524 -2.771716)'), GeomFromEWKT('SRID=4674;POINT (-40.325385 -2.771793)'))) / (select extract(epoch from '2026-07-28 07:56:59'::timestamp) - extract(epoch from '2026-07-28 07:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32524 -2.771716)'), GeomFromEWKT('SRID=4674;POINT (-40.325385 -2.771793)'))) / (select extract(epoch from '2026-07-28 07:56:59'::timestamp) - extract(epoch from '2026-07-28 07:56: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'), 47807, 'SRID=4674;POINT (-40.325491 -2.771887)', '2026-07-28 07:57:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325385 -2.771793)'), GeomFromEWKT('SRID=4674;POINT (-40.325491 -2.771887)'))) / (select extract(epoch from '2026-07-28 07:57:06'::timestamp) - extract(epoch from '2026-07-28 07:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325385 -2.771793)'), GeomFromEWKT('SRID=4674;POINT (-40.325491 -2.771887)'))) / (select extract(epoch from '2026-07-28 07:57:06'::timestamp) - extract(epoch from '2026-07-28 07:56: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'), 47807, 'SRID=4674;POINT (-40.325593 -2.771983)', '2026-07-28 07:57:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325491 -2.771887)'), GeomFromEWKT('SRID=4674;POINT (-40.325593 -2.771983)'))) / (select extract(epoch from '2026-07-28 07:57:12'::timestamp) - extract(epoch from '2026-07-28 07:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325491 -2.771887)'), GeomFromEWKT('SRID=4674;POINT (-40.325593 -2.771983)'))) / (select extract(epoch from '2026-07-28 07:57:12'::timestamp) - extract(epoch from '2026-07-28 07:57: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'), 47807, 'SRID=4674;POINT (-40.325714 -2.772042)', '2026-07-28 07:57:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325593 -2.771983)'), GeomFromEWKT('SRID=4674;POINT (-40.325714 -2.772042)'))) / (select extract(epoch from '2026-07-28 07:57:18'::timestamp) - extract(epoch from '2026-07-28 07:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325593 -2.771983)'), GeomFromEWKT('SRID=4674;POINT (-40.325714 -2.772042)'))) / (select extract(epoch from '2026-07-28 07:57:18'::timestamp) - extract(epoch from '2026-07-28 07:57:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.325864 -2.772093)', '2026-07-28 07:57:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325714 -2.772042)'), GeomFromEWKT('SRID=4674;POINT (-40.325864 -2.772093)'))) / (select extract(epoch from '2026-07-28 07:57:25'::timestamp) - extract(epoch from '2026-07-28 07:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325714 -2.772042)'), GeomFromEWKT('SRID=4674;POINT (-40.325864 -2.772093)'))) / (select extract(epoch from '2026-07-28 07:57:25'::timestamp) - extract(epoch from '2026-07-28 07:57: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'), 47807, 'SRID=4674;POINT (-40.326002 -2.772128)', '2026-07-28 07:57:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325864 -2.772093)'), GeomFromEWKT('SRID=4674;POINT (-40.326002 -2.772128)'))) / (select extract(epoch from '2026-07-28 07:57:31'::timestamp) - extract(epoch from '2026-07-28 07:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325864 -2.772093)'), GeomFromEWKT('SRID=4674;POINT (-40.326002 -2.772128)'))) / (select extract(epoch from '2026-07-28 07:57:31'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.32618 -2.772148)', '2026-07-28 07:57:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326002 -2.772128)'), GeomFromEWKT('SRID=4674;POINT (-40.32618 -2.772148)'))) / (select extract(epoch from '2026-07-28 07:57:39'::timestamp) - extract(epoch from '2026-07-28 07:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326002 -2.772128)'), GeomFromEWKT('SRID=4674;POINT (-40.32618 -2.772148)'))) / (select extract(epoch from '2026-07-28 07:57:39'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.326289 -2.772214)', '2026-07-28 07:57:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32618 -2.772148)'), GeomFromEWKT('SRID=4674;POINT (-40.326289 -2.772214)'))) / (select extract(epoch from '2026-07-28 07:57:45'::timestamp) - extract(epoch from '2026-07-28 07:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32618 -2.772148)'), GeomFromEWKT('SRID=4674;POINT (-40.326289 -2.772214)'))) / (select extract(epoch from '2026-07-28 07:57:45'::timestamp) - extract(epoch from '2026-07-28 07:57: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'), 47807, 'SRID=4674;POINT (-40.32638 -2.772325)', '2026-07-28 07:57:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326289 -2.772214)'), GeomFromEWKT('SRID=4674;POINT (-40.32638 -2.772325)'))) / (select extract(epoch from '2026-07-28 07:57:52'::timestamp) - extract(epoch from '2026-07-28 07:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326289 -2.772214)'), GeomFromEWKT('SRID=4674;POINT (-40.32638 -2.772325)'))) / (select extract(epoch from '2026-07-28 07:57:52'::timestamp) - extract(epoch from '2026-07-28 07:57: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'), 47807, 'SRID=4674;POINT (-40.326465 -2.772444)', '2026-07-28 07:57:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32638 -2.772325)'), GeomFromEWKT('SRID=4674;POINT (-40.326465 -2.772444)'))) / (select extract(epoch from '2026-07-28 07:57:59'::timestamp) - extract(epoch from '2026-07-28 07:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32638 -2.772325)'), GeomFromEWKT('SRID=4674;POINT (-40.326465 -2.772444)'))) / (select extract(epoch from '2026-07-28 07:57:59'::timestamp) - extract(epoch from '2026-07-28 07:57: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'), 47807, 'SRID=4674;POINT (-40.326531 -2.772519)', '2026-07-28 07:58:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326465 -2.772444)'), GeomFromEWKT('SRID=4674;POINT (-40.326531 -2.772519)'))) / (select extract(epoch from '2026-07-28 07:58:04'::timestamp) - extract(epoch from '2026-07-28 07:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326465 -2.772444)'), GeomFromEWKT('SRID=4674;POINT (-40.326531 -2.772519)'))) / (select extract(epoch from '2026-07-28 07:58:04'::timestamp) - extract(epoch from '2026-07-28 07: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'), 47807, 'SRID=4674;POINT (-40.326665 -2.772621)', '2026-07-28 07:58:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326531 -2.772519)'), GeomFromEWKT('SRID=4674;POINT (-40.326665 -2.772621)'))) / (select extract(epoch from '2026-07-28 07:58:12'::timestamp) - extract(epoch from '2026-07-28 07:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326531 -2.772519)'), GeomFromEWKT('SRID=4674;POINT (-40.326665 -2.772621)'))) / (select extract(epoch from '2026-07-28 07:58:12'::timestamp) - extract(epoch from '2026-07-28 07:58: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'), 47807, 'SRID=4674;POINT (-40.326765 -2.772708)', '2026-07-28 07:58:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326665 -2.772621)'), GeomFromEWKT('SRID=4674;POINT (-40.326765 -2.772708)'))) / (select extract(epoch from '2026-07-28 07:58:18'::timestamp) - extract(epoch from '2026-07-28 07:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326665 -2.772621)'), GeomFromEWKT('SRID=4674;POINT (-40.326765 -2.772708)'))) / (select extract(epoch from '2026-07-28 07:58:18'::timestamp) - extract(epoch from '2026-07-28 07:58: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'), 47807, 'SRID=4674;POINT (-40.326894 -2.772797)', '2026-07-28 07:58:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326765 -2.772708)'), GeomFromEWKT('SRID=4674;POINT (-40.326894 -2.772797)'))) / (select extract(epoch from '2026-07-28 07:58:25'::timestamp) - extract(epoch from '2026-07-28 07:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326765 -2.772708)'), GeomFromEWKT('SRID=4674;POINT (-40.326894 -2.772797)'))) / (select extract(epoch from '2026-07-28 07:58:25'::timestamp) - extract(epoch from '2026-07-28 07:58: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'), 47807, 'SRID=4674;POINT (-40.327007 -2.772858)', '2026-07-28 07:58:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326894 -2.772797)'), GeomFromEWKT('SRID=4674;POINT (-40.327007 -2.772858)'))) / (select extract(epoch from '2026-07-28 07:58:31'::timestamp) - extract(epoch from '2026-07-28 07:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326894 -2.772797)'), GeomFromEWKT('SRID=4674;POINT (-40.327007 -2.772858)'))) / (select extract(epoch from '2026-07-28 07:58:31'::timestamp) - extract(epoch from '2026-07-28 07:58: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'), 47807, 'SRID=4674;POINT (-40.327157 -2.772956)', '2026-07-28 07:58:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327007 -2.772858)'), GeomFromEWKT('SRID=4674;POINT (-40.327157 -2.772956)'))) / (select extract(epoch from '2026-07-28 07:58:39'::timestamp) - extract(epoch from '2026-07-28 07:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327007 -2.772858)'), GeomFromEWKT('SRID=4674;POINT (-40.327157 -2.772956)'))) / (select extract(epoch from '2026-07-28 07:58:39'::timestamp) - extract(epoch from '2026-07-28 07:58: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'), 47807, 'SRID=4674;POINT (-40.327272 -2.773044)', '2026-07-28 07:58:46', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327157 -2.772956)'), GeomFromEWKT('SRID=4674;POINT (-40.327272 -2.773044)'))) / (select extract(epoch from '2026-07-28 07:58:46'::timestamp) - extract(epoch from '2026-07-28 07:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327157 -2.772956)'), GeomFromEWKT('SRID=4674;POINT (-40.327272 -2.773044)'))) / (select extract(epoch from '2026-07-28 07:58:46'::timestamp) - extract(epoch from '2026-07-28 07:58:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.32738 -2.773149)', '2026-07-28 07:58:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327272 -2.773044)'), GeomFromEWKT('SRID=4674;POINT (-40.32738 -2.773149)'))) / (select extract(epoch from '2026-07-28 07:58:53'::timestamp) - extract(epoch from '2026-07-28 07:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327272 -2.773044)'), GeomFromEWKT('SRID=4674;POINT (-40.32738 -2.773149)'))) / (select extract(epoch from '2026-07-28 07:58:53'::timestamp) - extract(epoch from '2026-07-28 07:58: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'), 47807, 'SRID=4674;POINT (-40.327484 -2.773274)', '2026-07-28 07:59:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32738 -2.773149)'), GeomFromEWKT('SRID=4674;POINT (-40.327484 -2.773274)'))) / (select extract(epoch from '2026-07-28 07:59:01'::timestamp) - extract(epoch from '2026-07-28 07:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32738 -2.773149)'), GeomFromEWKT('SRID=4674;POINT (-40.327484 -2.773274)'))) / (select extract(epoch from '2026-07-28 07:59:01'::timestamp) - extract(epoch from '2026-07-28 07:58:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.327586 -2.77341)', '2026-07-28 07:59:09', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327484 -2.773274)'), GeomFromEWKT('SRID=4674;POINT (-40.327586 -2.77341)'))) / (select extract(epoch from '2026-07-28 07:59:09'::timestamp) - extract(epoch from '2026-07-28 07:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327484 -2.773274)'), GeomFromEWKT('SRID=4674;POINT (-40.327586 -2.77341)'))) / (select extract(epoch from '2026-07-28 07:59:09'::timestamp) - extract(epoch from '2026-07-28 07:59:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.32768 -2.773532)', '2026-07-28 07:59:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327586 -2.77341)'), GeomFromEWKT('SRID=4674;POINT (-40.32768 -2.773532)'))) / (select extract(epoch from '2026-07-28 07:59:16'::timestamp) - extract(epoch from '2026-07-28 07:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327586 -2.77341)'), GeomFromEWKT('SRID=4674;POINT (-40.32768 -2.773532)'))) / (select extract(epoch from '2026-07-28 07:59:16'::timestamp) - extract(epoch from '2026-07-28 07:59: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'), 47807, 'SRID=4674;POINT (-40.327772 -2.773649)', '2026-07-28 07:59:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32768 -2.773532)'), GeomFromEWKT('SRID=4674;POINT (-40.327772 -2.773649)'))) / (select extract(epoch from '2026-07-28 07:59:23'::timestamp) - extract(epoch from '2026-07-28 07:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32768 -2.773532)'), GeomFromEWKT('SRID=4674;POINT (-40.327772 -2.773649)'))) / (select extract(epoch from '2026-07-28 07:59:23'::timestamp) - extract(epoch from '2026-07-28 07:59: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'), 47807, 'SRID=4674;POINT (-40.327853 -2.773766)', '2026-07-28 07:59:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327772 -2.773649)'), GeomFromEWKT('SRID=4674;POINT (-40.327853 -2.773766)'))) / (select extract(epoch from '2026-07-28 07:59:30'::timestamp) - extract(epoch from '2026-07-28 07:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327772 -2.773649)'), GeomFromEWKT('SRID=4674;POINT (-40.327853 -2.773766)'))) / (select extract(epoch from '2026-07-28 07:59:30'::timestamp) - extract(epoch from '2026-07-28 07:59:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.327945 -2.773885)', '2026-07-28 07:59:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327853 -2.773766)'), GeomFromEWKT('SRID=4674;POINT (-40.327945 -2.773885)'))) / (select extract(epoch from '2026-07-28 07:59:37'::timestamp) - extract(epoch from '2026-07-28 07:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327853 -2.773766)'), GeomFromEWKT('SRID=4674;POINT (-40.327945 -2.773885)'))) / (select extract(epoch from '2026-07-28 07:59:37'::timestamp) - extract(epoch from '2026-07-28 07: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'), 47807, 'SRID=4674;POINT (-40.328058 -2.77399)', '2026-07-28 07:59:44', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327945 -2.773885)'), GeomFromEWKT('SRID=4674;POINT (-40.328058 -2.77399)'))) / (select extract(epoch from '2026-07-28 07:59:44'::timestamp) - extract(epoch from '2026-07-28 07:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327945 -2.773885)'), GeomFromEWKT('SRID=4674;POINT (-40.328058 -2.77399)'))) / (select extract(epoch from '2026-07-28 07:59:44'::timestamp) - extract(epoch from '2026-07-28 07:59:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.328142 -2.774073)', '2026-07-28 07:59:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328058 -2.77399)'), GeomFromEWKT('SRID=4674;POINT (-40.328142 -2.774073)'))) / (select extract(epoch from '2026-07-28 07:59:50'::timestamp) - extract(epoch from '2026-07-28 07:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328058 -2.77399)'), GeomFromEWKT('SRID=4674;POINT (-40.328142 -2.774073)'))) / (select extract(epoch from '2026-07-28 07:59:50'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.328164 -2.774219)', '2026-07-28 07:59:58', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328142 -2.774073)'), GeomFromEWKT('SRID=4674;POINT (-40.328164 -2.774219)'))) / (select extract(epoch from '2026-07-28 07:59:58'::timestamp) - extract(epoch from '2026-07-28 07:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328142 -2.774073)'), GeomFromEWKT('SRID=4674;POINT (-40.328164 -2.774219)'))) / (select extract(epoch from '2026-07-28 07:59:58'::timestamp) - extract(epoch from '2026-07-28 07:59: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'), 47807, 'SRID=4674;POINT (-40.328169 -2.774359)', '2026-07-28 08:00:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328164 -2.774219)'), GeomFromEWKT('SRID=4674;POINT (-40.328169 -2.774359)'))) / (select extract(epoch from '2026-07-28 08:00:05'::timestamp) - extract(epoch from '2026-07-28 07:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328164 -2.774219)'), GeomFromEWKT('SRID=4674;POINT (-40.328169 -2.774359)'))) / (select extract(epoch from '2026-07-28 08:00:05'::timestamp) - extract(epoch from '2026-07-28 07:59: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'), 47807, 'SRID=4674;POINT (-40.328172 -2.77451)', '2026-07-28 08:00:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328169 -2.774359)'), GeomFromEWKT('SRID=4674;POINT (-40.328172 -2.77451)'))) / (select extract(epoch from '2026-07-28 08:00:13'::timestamp) - extract(epoch from '2026-07-28 08:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328169 -2.774359)'), GeomFromEWKT('SRID=4674;POINT (-40.328172 -2.77451)'))) / (select extract(epoch from '2026-07-28 08:00:13'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.328178 -2.774664)', '2026-07-28 08:00:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328172 -2.77451)'), GeomFromEWKT('SRID=4674;POINT (-40.328178 -2.774664)'))) / (select extract(epoch from '2026-07-28 08:00:21'::timestamp) - extract(epoch from '2026-07-28 08:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328172 -2.77451)'), GeomFromEWKT('SRID=4674;POINT (-40.328178 -2.774664)'))) / (select extract(epoch from '2026-07-28 08:00:21'::timestamp) - extract(epoch from '2026-07-28 08:00: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'), 47807, 'SRID=4674;POINT (-40.3282 -2.774803)', '2026-07-28 08:00:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328178 -2.774664)'), GeomFromEWKT('SRID=4674;POINT (-40.3282 -2.774803)'))) / (select extract(epoch from '2026-07-28 08:00:28'::timestamp) - extract(epoch from '2026-07-28 08:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328178 -2.774664)'), GeomFromEWKT('SRID=4674;POINT (-40.3282 -2.774803)'))) / (select extract(epoch from '2026-07-28 08:00:28'::timestamp) - extract(epoch from '2026-07-28 08:00: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'), 47807, 'SRID=4674;POINT (-40.328206 -2.774928)', '2026-07-28 08:00:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3282 -2.774803)'), GeomFromEWKT('SRID=4674;POINT (-40.328206 -2.774928)'))) / (select extract(epoch from '2026-07-28 08:00:34'::timestamp) - extract(epoch from '2026-07-28 08:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3282 -2.774803)'), GeomFromEWKT('SRID=4674;POINT (-40.328206 -2.774928)'))) / (select extract(epoch from '2026-07-28 08:00:34'::timestamp) - extract(epoch from '2026-07-28 08:00: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'), 47807, 'SRID=4674;POINT (-40.328215 -2.775044)', '2026-07-28 08:00:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328206 -2.774928)'), GeomFromEWKT('SRID=4674;POINT (-40.328215 -2.775044)'))) / (select extract(epoch from '2026-07-28 08:00:40'::timestamp) - extract(epoch from '2026-07-28 08:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328206 -2.774928)'), GeomFromEWKT('SRID=4674;POINT (-40.328215 -2.775044)'))) / (select extract(epoch from '2026-07-28 08:00:40'::timestamp) - extract(epoch from '2026-07-28 08:00: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'), 47807, 'SRID=4674;POINT (-40.328226 -2.775267)', '2026-07-28 08:00:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328215 -2.775044)'), GeomFromEWKT('SRID=4674;POINT (-40.328226 -2.775267)'))) / (select extract(epoch from '2026-07-28 08:00:51'::timestamp) - extract(epoch from '2026-07-28 08:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328215 -2.775044)'), GeomFromEWKT('SRID=4674;POINT (-40.328226 -2.775267)'))) / (select extract(epoch from '2026-07-28 08:00:51'::timestamp) - extract(epoch from '2026-07-28 08:00:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.32824 -2.775412)', '2026-07-28 08:00:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328226 -2.775267)'), GeomFromEWKT('SRID=4674;POINT (-40.32824 -2.775412)'))) / (select extract(epoch from '2026-07-28 08:00:58'::timestamp) - extract(epoch from '2026-07-28 08:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328226 -2.775267)'), GeomFromEWKT('SRID=4674;POINT (-40.32824 -2.775412)'))) / (select extract(epoch from '2026-07-28 08:00:58'::timestamp) - extract(epoch from '2026-07-28 08:00: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'), 47807, 'SRID=4674;POINT (-40.328245 -2.77553)', '2026-07-28 08:01:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32824 -2.775412)'), GeomFromEWKT('SRID=4674;POINT (-40.328245 -2.77553)'))) / (select extract(epoch from '2026-07-28 08:01:04'::timestamp) - extract(epoch from '2026-07-28 08:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32824 -2.775412)'), GeomFromEWKT('SRID=4674;POINT (-40.328245 -2.77553)'))) / (select extract(epoch from '2026-07-28 08:01:04'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.32826 -2.775692)', '2026-07-28 08:01:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328245 -2.77553)'), GeomFromEWKT('SRID=4674;POINT (-40.32826 -2.775692)'))) / (select extract(epoch from '2026-07-28 08:01:12'::timestamp) - extract(epoch from '2026-07-28 08:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328245 -2.77553)'), GeomFromEWKT('SRID=4674;POINT (-40.32826 -2.775692)'))) / (select extract(epoch from '2026-07-28 08:01:12'::timestamp) - extract(epoch from '2026-07-28 08:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.328282 -2.775855)', '2026-07-28 08:01:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32826 -2.775692)'), GeomFromEWKT('SRID=4674;POINT (-40.328282 -2.775855)'))) / (select extract(epoch from '2026-07-28 08:01:20'::timestamp) - extract(epoch from '2026-07-28 08:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32826 -2.775692)'), GeomFromEWKT('SRID=4674;POINT (-40.328282 -2.775855)'))) / (select extract(epoch from '2026-07-28 08:01:20'::timestamp) - extract(epoch from '2026-07-28 08:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.328302 -2.775952)', '2026-07-28 08:01:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328282 -2.775855)'), GeomFromEWKT('SRID=4674;POINT (-40.328302 -2.775952)'))) / (select extract(epoch from '2026-07-28 08:01:25'::timestamp) - extract(epoch from '2026-07-28 08:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328282 -2.775855)'), GeomFromEWKT('SRID=4674;POINT (-40.328302 -2.775952)'))) / (select extract(epoch from '2026-07-28 08:01:25'::timestamp) - extract(epoch from '2026-07-28 08:01:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.328339 -2.776128)', '2026-07-28 08:01:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328302 -2.775952)'), GeomFromEWKT('SRID=4674;POINT (-40.328339 -2.776128)'))) / (select extract(epoch from '2026-07-28 08:01:34'::timestamp) - extract(epoch from '2026-07-28 08:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328302 -2.775952)'), GeomFromEWKT('SRID=4674;POINT (-40.328339 -2.776128)'))) / (select extract(epoch from '2026-07-28 08:01:34'::timestamp) - extract(epoch from '2026-07-28 08:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.328392 -2.776301)', '2026-07-28 08:01:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328339 -2.776128)'), GeomFromEWKT('SRID=4674;POINT (-40.328392 -2.776301)'))) / (select extract(epoch from '2026-07-28 08:01:43'::timestamp) - extract(epoch from '2026-07-28 08:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328339 -2.776128)'), GeomFromEWKT('SRID=4674;POINT (-40.328392 -2.776301)'))) / (select extract(epoch from '2026-07-28 08:01:43'::timestamp) - extract(epoch from '2026-07-28 08:01:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.328438 -2.77648)', '2026-07-28 08:01:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328392 -2.776301)'), GeomFromEWKT('SRID=4674;POINT (-40.328438 -2.77648)'))) / (select extract(epoch from '2026-07-28 08:01:52'::timestamp) - extract(epoch from '2026-07-28 08:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328392 -2.776301)'), GeomFromEWKT('SRID=4674;POINT (-40.328438 -2.77648)'))) / (select extract(epoch from '2026-07-28 08:01:52'::timestamp) - extract(epoch from '2026-07-28 08:01: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'), 47807, 'SRID=4674;POINT (-40.32853 -2.776597)', '2026-07-28 08:01:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328438 -2.77648)'), GeomFromEWKT('SRID=4674;POINT (-40.32853 -2.776597)'))) / (select extract(epoch from '2026-07-28 08:01:59'::timestamp) - extract(epoch from '2026-07-28 08:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328438 -2.77648)'), GeomFromEWKT('SRID=4674;POINT (-40.32853 -2.776597)'))) / (select extract(epoch from '2026-07-28 08:01:59'::timestamp) - extract(epoch from '2026-07-28 08:01:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.328643 -2.776702)', '2026-07-28 08:02:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32853 -2.776597)'), GeomFromEWKT('SRID=4674;POINT (-40.328643 -2.776702)'))) / (select extract(epoch from '2026-07-28 08:02:06'::timestamp) - extract(epoch from '2026-07-28 08:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32853 -2.776597)'), GeomFromEWKT('SRID=4674;POINT (-40.328643 -2.776702)'))) / (select extract(epoch from '2026-07-28 08:02:06'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.328746 -2.77682)', '2026-07-28 08:02:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328643 -2.776702)'), GeomFromEWKT('SRID=4674;POINT (-40.328746 -2.77682)'))) / (select extract(epoch from '2026-07-28 08:02:13'::timestamp) - extract(epoch from '2026-07-28 08:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328643 -2.776702)'), GeomFromEWKT('SRID=4674;POINT (-40.328746 -2.77682)'))) / (select extract(epoch from '2026-07-28 08:02:13'::timestamp) - extract(epoch from '2026-07-28 08:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.328832 -2.776929)', '2026-07-28 08:02:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328746 -2.77682)'), GeomFromEWKT('SRID=4674;POINT (-40.328832 -2.776929)'))) / (select extract(epoch from '2026-07-28 08:02:20'::timestamp) - extract(epoch from '2026-07-28 08:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328746 -2.77682)'), GeomFromEWKT('SRID=4674;POINT (-40.328832 -2.776929)'))) / (select extract(epoch from '2026-07-28 08:02:20'::timestamp) - extract(epoch from '2026-07-28 08:02: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'), 47807, 'SRID=4674;POINT (-40.328924 -2.777051)', '2026-07-28 08:02:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328832 -2.776929)'), GeomFromEWKT('SRID=4674;POINT (-40.328924 -2.777051)'))) / (select extract(epoch from '2026-07-28 08:02:27'::timestamp) - extract(epoch from '2026-07-28 08:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328832 -2.776929)'), GeomFromEWKT('SRID=4674;POINT (-40.328924 -2.777051)'))) / (select extract(epoch from '2026-07-28 08:02:27'::timestamp) - extract(epoch from '2026-07-28 08:02: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'), 47807, 'SRID=4674;POINT (-40.329033 -2.777161)', '2026-07-28 08:02:34', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328924 -2.777051)'), GeomFromEWKT('SRID=4674;POINT (-40.329033 -2.777161)'))) / (select extract(epoch from '2026-07-28 08:02:34'::timestamp) - extract(epoch from '2026-07-28 08:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328924 -2.777051)'), GeomFromEWKT('SRID=4674;POINT (-40.329033 -2.777161)'))) / (select extract(epoch from '2026-07-28 08:02:34'::timestamp) - extract(epoch from '2026-07-28 08:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.32914 -2.77731)', '2026-07-28 08:02:43', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329033 -2.777161)'), GeomFromEWKT('SRID=4674;POINT (-40.32914 -2.77731)'))) / (select extract(epoch from '2026-07-28 08:02:43'::timestamp) - extract(epoch from '2026-07-28 08:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329033 -2.777161)'), GeomFromEWKT('SRID=4674;POINT (-40.32914 -2.77731)'))) / (select extract(epoch from '2026-07-28 08:02:43'::timestamp) - extract(epoch from '2026-07-28 08:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329182 -2.777411)', '2026-07-28 08:02:49', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32914 -2.77731)'), GeomFromEWKT('SRID=4674;POINT (-40.329182 -2.777411)'))) / (select extract(epoch from '2026-07-28 08:02:49'::timestamp) - extract(epoch from '2026-07-28 08:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32914 -2.77731)'), GeomFromEWKT('SRID=4674;POINT (-40.329182 -2.777411)'))) / (select extract(epoch from '2026-07-28 08:02:49'::timestamp) - extract(epoch from '2026-07-28 08:02:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329152 -2.777518)', '2026-07-28 08:02:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329182 -2.777411)'), GeomFromEWKT('SRID=4674;POINT (-40.329152 -2.777518)'))) / (select extract(epoch from '2026-07-28 08:02:56'::timestamp) - extract(epoch from '2026-07-28 08:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329182 -2.777411)'), GeomFromEWKT('SRID=4674;POINT (-40.329152 -2.777518)'))) / (select extract(epoch from '2026-07-28 08:02:56'::timestamp) - extract(epoch from '2026-07-28 08:02: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'), 47807, 'SRID=4674;POINT (-40.329123 -2.777558)', '2026-07-28 08:03:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329152 -2.777518)'), GeomFromEWKT('SRID=4674;POINT (-40.329123 -2.777558)'))) / (select extract(epoch from '2026-07-28 08:03:03'::timestamp) - extract(epoch from '2026-07-28 08:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329152 -2.777518)'), GeomFromEWKT('SRID=4674;POINT (-40.329123 -2.777558)'))) / (select extract(epoch from '2026-07-28 08:03:03'::timestamp) - extract(epoch from '2026-07-28 08:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329111 -2.77757)', '2026-07-28 08:03:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329123 -2.777558)'), GeomFromEWKT('SRID=4674;POINT (-40.329111 -2.77757)'))) / (select extract(epoch from '2026-07-28 08:03:17'::timestamp) - extract(epoch from '2026-07-28 08:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329123 -2.777558)'), GeomFromEWKT('SRID=4674;POINT (-40.329111 -2.77757)'))) / (select extract(epoch from '2026-07-28 08:03:17'::timestamp) - extract(epoch from '2026-07-28 08:03: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'), 47807, 'SRID=4674;POINT (-40.329088 -2.777566)', '2026-07-28 08:03:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329111 -2.77757)'), GeomFromEWKT('SRID=4674;POINT (-40.329088 -2.777566)'))) / (select extract(epoch from '2026-07-28 08:03:37'::timestamp) - extract(epoch from '2026-07-28 08:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329111 -2.77757)'), GeomFromEWKT('SRID=4674;POINT (-40.329088 -2.777566)'))) / (select extract(epoch from '2026-07-28 08:03:37'::timestamp) - extract(epoch from '2026-07-28 08:03:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329072 -2.777554)', '2026-07-28 08:03:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329088 -2.777566)'), GeomFromEWKT('SRID=4674;POINT (-40.329072 -2.777554)'))) / (select extract(epoch from '2026-07-28 08:03:50'::timestamp) - extract(epoch from '2026-07-28 08:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329088 -2.777566)'), GeomFromEWKT('SRID=4674;POINT (-40.329072 -2.777554)'))) / (select extract(epoch from '2026-07-28 08:03:50'::timestamp) - extract(epoch from '2026-07-28 08:03: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'), 47807, 'SRID=4674;POINT (-40.329053 -2.777535)', '2026-07-28 08:04:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329072 -2.777554)'), GeomFromEWKT('SRID=4674;POINT (-40.329053 -2.777535)'))) / (select extract(epoch from '2026-07-28 08:04:01'::timestamp) - extract(epoch from '2026-07-28 08:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329072 -2.777554)'), GeomFromEWKT('SRID=4674;POINT (-40.329053 -2.777535)'))) / (select extract(epoch from '2026-07-28 08:04:01'::timestamp) - extract(epoch from '2026-07-28 08:03: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'), 47807, 'SRID=4674;POINT (-40.329038 -2.777526)', '2026-07-28 08:04:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329053 -2.777535)'), GeomFromEWKT('SRID=4674;POINT (-40.329038 -2.777526)'))) / (select extract(epoch from '2026-07-28 08:04:13'::timestamp) - extract(epoch from '2026-07-28 08:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329053 -2.777535)'), GeomFromEWKT('SRID=4674;POINT (-40.329038 -2.777526)'))) / (select extract(epoch from '2026-07-28 08:04:13'::timestamp) - extract(epoch from '2026-07-28 08:04: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'), 47807, 'SRID=4674;POINT (-40.329044 -2.777509)', '2026-07-28 08:04:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329038 -2.777526)'), GeomFromEWKT('SRID=4674;POINT (-40.329044 -2.777509)'))) / (select extract(epoch from '2026-07-28 08:04:31'::timestamp) - extract(epoch from '2026-07-28 08:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329038 -2.777526)'), GeomFromEWKT('SRID=4674;POINT (-40.329044 -2.777509)'))) / (select extract(epoch from '2026-07-28 08:04:31'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.329032 -2.777485)', '2026-07-28 08:04:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329044 -2.777509)'), GeomFromEWKT('SRID=4674;POINT (-40.329032 -2.777485)'))) / (select extract(epoch from '2026-07-28 08:04:46'::timestamp) - extract(epoch from '2026-07-28 08:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329044 -2.777509)'), GeomFromEWKT('SRID=4674;POINT (-40.329032 -2.777485)'))) / (select extract(epoch from '2026-07-28 08:04:46'::timestamp) - extract(epoch from '2026-07-28 08:04: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'), 47807, 'SRID=4674;POINT (-40.329017 -2.777462)', '2026-07-28 08:05:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329032 -2.777485)'), GeomFromEWKT('SRID=4674;POINT (-40.329017 -2.777462)'))) / (select extract(epoch from '2026-07-28 08:05:03'::timestamp) - extract(epoch from '2026-07-28 08:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329032 -2.777485)'), GeomFromEWKT('SRID=4674;POINT (-40.329017 -2.777462)'))) / (select extract(epoch from '2026-07-28 08:05:03'::timestamp) - extract(epoch from '2026-07-28 08:04: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'), 47807, 'SRID=4674;POINT (-40.329009 -2.777448)', '2026-07-28 08:05:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329017 -2.777462)'), GeomFromEWKT('SRID=4674;POINT (-40.329009 -2.777448)'))) / (select extract(epoch from '2026-07-28 08:05:26'::timestamp) - extract(epoch from '2026-07-28 08:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329017 -2.777462)'), GeomFromEWKT('SRID=4674;POINT (-40.329009 -2.777448)'))) / (select extract(epoch from '2026-07-28 08:05:26'::timestamp) - extract(epoch from '2026-07-28 08:05:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.328994 -2.777436)', '2026-07-28 08:05:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329009 -2.777448)'), GeomFromEWKT('SRID=4674;POINT (-40.328994 -2.777436)'))) / (select extract(epoch from '2026-07-28 08:05:41'::timestamp) - extract(epoch from '2026-07-28 08:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329009 -2.777448)'), GeomFromEWKT('SRID=4674;POINT (-40.328994 -2.777436)'))) / (select extract(epoch from '2026-07-28 08:05:41'::timestamp) - extract(epoch from '2026-07-28 08:05:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.328989 -2.777432)', '2026-07-28 08:05:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328994 -2.777436)'), GeomFromEWKT('SRID=4674;POINT (-40.328989 -2.777432)'))) / (select extract(epoch from '2026-07-28 08:05:58'::timestamp) - extract(epoch from '2026-07-28 08:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328994 -2.777436)'), GeomFromEWKT('SRID=4674;POINT (-40.328989 -2.777432)'))) / (select extract(epoch from '2026-07-28 08:05:58'::timestamp) - extract(epoch from '2026-07-28 08:05: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'), 47807, 'SRID=4674;POINT (-40.32898 -2.777429)', '2026-07-28 08:06:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328989 -2.777432)'), GeomFromEWKT('SRID=4674;POINT (-40.32898 -2.777429)'))) / (select extract(epoch from '2026-07-28 08:06:19'::timestamp) - extract(epoch from '2026-07-28 08:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328989 -2.777432)'), GeomFromEWKT('SRID=4674;POINT (-40.32898 -2.777429)'))) / (select extract(epoch from '2026-07-28 08:06:19'::timestamp) - extract(epoch from '2026-07-28 08:05: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'), 47807, 'SRID=4674;POINT (-40.328974 -2.777421)', '2026-07-28 08:06:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32898 -2.777429)'), GeomFromEWKT('SRID=4674;POINT (-40.328974 -2.777421)'))) / (select extract(epoch from '2026-07-28 08:06:37'::timestamp) - extract(epoch from '2026-07-28 08:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32898 -2.777429)'), GeomFromEWKT('SRID=4674;POINT (-40.328974 -2.777421)'))) / (select extract(epoch from '2026-07-28 08:06:37'::timestamp) - extract(epoch from '2026-07-28 08:06:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.328973 -2.777424)', '2026-07-28 08:06:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328974 -2.777421)'), GeomFromEWKT('SRID=4674;POINT (-40.328973 -2.777424)'))) / (select extract(epoch from '2026-07-28 08:06:46'::timestamp) - extract(epoch from '2026-07-28 08:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328974 -2.777421)'), GeomFromEWKT('SRID=4674;POINT (-40.328973 -2.777424)'))) / (select extract(epoch from '2026-07-28 08:06:46'::timestamp) - extract(epoch from '2026-07-28 08:06: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'), 47807, 'SRID=4674;POINT (-40.328979 -2.777428)', '2026-07-28 08:07:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328973 -2.777424)'), GeomFromEWKT('SRID=4674;POINT (-40.328979 -2.777428)'))) / (select extract(epoch from '2026-07-28 08:07:01'::timestamp) - extract(epoch from '2026-07-28 08:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328973 -2.777424)'), GeomFromEWKT('SRID=4674;POINT (-40.328979 -2.777428)'))) / (select extract(epoch from '2026-07-28 08:07:01'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.328977 -2.777434)', '2026-07-28 08:07:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328979 -2.777428)'), GeomFromEWKT('SRID=4674;POINT (-40.328977 -2.777434)'))) / (select extract(epoch from '2026-07-28 08:07:14'::timestamp) - extract(epoch from '2026-07-28 08:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328979 -2.777428)'), GeomFromEWKT('SRID=4674;POINT (-40.328977 -2.777434)'))) / (select extract(epoch from '2026-07-28 08:07:14'::timestamp) - extract(epoch from '2026-07-28 08:07: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'), 47807, 'SRID=4674;POINT (-40.328975 -2.777427)', '2026-07-28 08:07:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328977 -2.777434)'), GeomFromEWKT('SRID=4674;POINT (-40.328975 -2.777427)'))) / (select extract(epoch from '2026-07-28 08:07:27'::timestamp) - extract(epoch from '2026-07-28 08:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328977 -2.777434)'), GeomFromEWKT('SRID=4674;POINT (-40.328975 -2.777427)'))) / (select extract(epoch from '2026-07-28 08:07:27'::timestamp) - extract(epoch from '2026-07-28 08:07: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'), 47807, 'SRID=4674;POINT (-40.328947 -2.777441)', '2026-07-28 08:07:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328975 -2.777427)'), GeomFromEWKT('SRID=4674;POINT (-40.328947 -2.777441)'))) / (select extract(epoch from '2026-07-28 08:07:41'::timestamp) - extract(epoch from '2026-07-28 08:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328975 -2.777427)'), GeomFromEWKT('SRID=4674;POINT (-40.328947 -2.777441)'))) / (select extract(epoch from '2026-07-28 08:07:41'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.328907 -2.777463)', '2026-07-28 08:07:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328947 -2.777441)'), GeomFromEWKT('SRID=4674;POINT (-40.328907 -2.777463)'))) / (select extract(epoch from '2026-07-28 08:07:53'::timestamp) - extract(epoch from '2026-07-28 08:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328947 -2.777441)'), GeomFromEWKT('SRID=4674;POINT (-40.328907 -2.777463)'))) / (select extract(epoch from '2026-07-28 08:07:53'::timestamp) - extract(epoch from '2026-07-28 08:07:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.328834 -2.777506)', '2026-07-28 08:08:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328907 -2.777463)'), GeomFromEWKT('SRID=4674;POINT (-40.328834 -2.777506)'))) / (select extract(epoch from '2026-07-28 08:08:07'::timestamp) - extract(epoch from '2026-07-28 08:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328907 -2.777463)'), GeomFromEWKT('SRID=4674;POINT (-40.328834 -2.777506)'))) / (select extract(epoch from '2026-07-28 08:08:07'::timestamp) - extract(epoch from '2026-07-28 08:07:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.328794 -2.777531)', '2026-07-28 08:08:19', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328834 -2.777506)'), GeomFromEWKT('SRID=4674;POINT (-40.328794 -2.777531)'))) / (select extract(epoch from '2026-07-28 08:08:19'::timestamp) - extract(epoch from '2026-07-28 08:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328834 -2.777506)'), GeomFromEWKT('SRID=4674;POINT (-40.328794 -2.777531)'))) / (select extract(epoch from '2026-07-28 08:08:19'::timestamp) - extract(epoch from '2026-07-28 08:08:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.328754 -2.777556)', '2026-07-28 08:08:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328794 -2.777531)'), GeomFromEWKT('SRID=4674;POINT (-40.328754 -2.777556)'))) / (select extract(epoch from '2026-07-28 08:08:31'::timestamp) - extract(epoch from '2026-07-28 08:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328794 -2.777531)'), GeomFromEWKT('SRID=4674;POINT (-40.328754 -2.777556)'))) / (select extract(epoch from '2026-07-28 08:08:31'::timestamp) - extract(epoch from '2026-07-28 08:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.328755 -2.777554)', '2026-07-28 08:08:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328754 -2.777556)'), GeomFromEWKT('SRID=4674;POINT (-40.328755 -2.777554)'))) / (select extract(epoch from '2026-07-28 08:08:41'::timestamp) - extract(epoch from '2026-07-28 08:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328754 -2.777556)'), GeomFromEWKT('SRID=4674;POINT (-40.328755 -2.777554)'))) / (select extract(epoch from '2026-07-28 08:08:41'::timestamp) - extract(epoch from '2026-07-28 08:08: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'), 47807, 'SRID=4674;POINT (-40.328743 -2.777531)', '2026-07-28 08:08:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328755 -2.777554)'), GeomFromEWKT('SRID=4674;POINT (-40.328743 -2.777531)'))) / (select extract(epoch from '2026-07-28 08:08:55'::timestamp) - extract(epoch from '2026-07-28 08:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328755 -2.777554)'), GeomFromEWKT('SRID=4674;POINT (-40.328743 -2.777531)'))) / (select extract(epoch from '2026-07-28 08:08:55'::timestamp) - extract(epoch from '2026-07-28 08:08: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'), 47807, 'SRID=4674;POINT (-40.328741 -2.777503)', '2026-07-28 08:09:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328743 -2.777531)'), GeomFromEWKT('SRID=4674;POINT (-40.328741 -2.777503)'))) / (select extract(epoch from '2026-07-28 08:09:09'::timestamp) - extract(epoch from '2026-07-28 08:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328743 -2.777531)'), GeomFromEWKT('SRID=4674;POINT (-40.328741 -2.777503)'))) / (select extract(epoch from '2026-07-28 08:09:09'::timestamp) - extract(epoch from '2026-07-28 08:08: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'), 47807, 'SRID=4674;POINT (-40.328759 -2.777484)', '2026-07-28 08:09:27', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328741 -2.777503)'), GeomFromEWKT('SRID=4674;POINT (-40.328759 -2.777484)'))) / (select extract(epoch from '2026-07-28 08:09:27'::timestamp) - extract(epoch from '2026-07-28 08:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328741 -2.777503)'), GeomFromEWKT('SRID=4674;POINT (-40.328759 -2.777484)'))) / (select extract(epoch from '2026-07-28 08:09:27'::timestamp) - extract(epoch from '2026-07-28 08:09: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'), 47807, 'SRID=4674;POINT (-40.328761 -2.77745)', '2026-07-28 08:09:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328759 -2.777484)'), GeomFromEWKT('SRID=4674;POINT (-40.328761 -2.77745)'))) / (select extract(epoch from '2026-07-28 08:09:43'::timestamp) - extract(epoch from '2026-07-28 08:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328759 -2.777484)'), GeomFromEWKT('SRID=4674;POINT (-40.328761 -2.77745)'))) / (select extract(epoch from '2026-07-28 08:09:43'::timestamp) - extract(epoch from '2026-07-28 08:09:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.328756 -2.777437)', '2026-07-28 08:09:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328761 -2.77745)'), GeomFromEWKT('SRID=4674;POINT (-40.328756 -2.777437)'))) / (select extract(epoch from '2026-07-28 08:09:54'::timestamp) - extract(epoch from '2026-07-28 08:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328761 -2.77745)'), GeomFromEWKT('SRID=4674;POINT (-40.328756 -2.777437)'))) / (select extract(epoch from '2026-07-28 08:09:54'::timestamp) - extract(epoch from '2026-07-28 08:09:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.32877 -2.777419)', '2026-07-28 08:10:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328756 -2.777437)'), GeomFromEWKT('SRID=4674;POINT (-40.32877 -2.777419)'))) / (select extract(epoch from '2026-07-28 08:10:12'::timestamp) - extract(epoch from '2026-07-28 08:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328756 -2.777437)'), GeomFromEWKT('SRID=4674;POINT (-40.32877 -2.777419)'))) / (select extract(epoch from '2026-07-28 08:10:12'::timestamp) - extract(epoch from '2026-07-28 08:09: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'), 47807, 'SRID=4674;POINT (-40.328792 -2.777407)', '2026-07-28 08:10:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32877 -2.777419)'), GeomFromEWKT('SRID=4674;POINT (-40.328792 -2.777407)'))) / (select extract(epoch from '2026-07-28 08:10:26'::timestamp) - extract(epoch from '2026-07-28 08:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32877 -2.777419)'), GeomFromEWKT('SRID=4674;POINT (-40.328792 -2.777407)'))) / (select extract(epoch from '2026-07-28 08:10:26'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.328804 -2.777405)', '2026-07-28 08:10:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328792 -2.777407)'), GeomFromEWKT('SRID=4674;POINT (-40.328804 -2.777405)'))) / (select extract(epoch from '2026-07-28 08:10:46'::timestamp) - extract(epoch from '2026-07-28 08:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328792 -2.777407)'), GeomFromEWKT('SRID=4674;POINT (-40.328804 -2.777405)'))) / (select extract(epoch from '2026-07-28 08:10:46'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.328817 -2.777406)', '2026-07-28 08:10:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328804 -2.777405)'), GeomFromEWKT('SRID=4674;POINT (-40.328817 -2.777406)'))) / (select extract(epoch from '2026-07-28 08:10:57'::timestamp) - extract(epoch from '2026-07-28 08:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328804 -2.777405)'), GeomFromEWKT('SRID=4674;POINT (-40.328817 -2.777406)'))) / (select extract(epoch from '2026-07-28 08:10:57'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.328839 -2.777401)', '2026-07-28 08:11:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328817 -2.777406)'), GeomFromEWKT('SRID=4674;POINT (-40.328839 -2.777401)'))) / (select extract(epoch from '2026-07-28 08:11:15'::timestamp) - extract(epoch from '2026-07-28 08:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328817 -2.777406)'), GeomFromEWKT('SRID=4674;POINT (-40.328839 -2.777401)'))) / (select extract(epoch from '2026-07-28 08:11:15'::timestamp) - extract(epoch from '2026-07-28 08:10: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'), 47807, 'SRID=4674;POINT (-40.328859 -2.777397)', '2026-07-28 08:11:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328839 -2.777401)'), GeomFromEWKT('SRID=4674;POINT (-40.328859 -2.777397)'))) / (select extract(epoch from '2026-07-28 08:11:29'::timestamp) - extract(epoch from '2026-07-28 08:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328839 -2.777401)'), GeomFromEWKT('SRID=4674;POINT (-40.328859 -2.777397)'))) / (select extract(epoch from '2026-07-28 08:11:29'::timestamp) - extract(epoch from '2026-07-28 08:11: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'), 47807, 'SRID=4674;POINT (-40.328875 -2.777394)', '2026-07-28 08:11:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328859 -2.777397)'), GeomFromEWKT('SRID=4674;POINT (-40.328875 -2.777394)'))) / (select extract(epoch from '2026-07-28 08:11:44'::timestamp) - extract(epoch from '2026-07-28 08:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328859 -2.777397)'), GeomFromEWKT('SRID=4674;POINT (-40.328875 -2.777394)'))) / (select extract(epoch from '2026-07-28 08:11:44'::timestamp) - extract(epoch from '2026-07-28 08:11: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'), 47807, 'SRID=4674;POINT (-40.328885 -2.777382)', '2026-07-28 08:12:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328875 -2.777394)'), GeomFromEWKT('SRID=4674;POINT (-40.328885 -2.777382)'))) / (select extract(epoch from '2026-07-28 08:12:01'::timestamp) - extract(epoch from '2026-07-28 08:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328875 -2.777394)'), GeomFromEWKT('SRID=4674;POINT (-40.328885 -2.777382)'))) / (select extract(epoch from '2026-07-28 08:12:01'::timestamp) - extract(epoch from '2026-07-28 08:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.328912 -2.777344)', '2026-07-28 08:12:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328885 -2.777382)'), GeomFromEWKT('SRID=4674;POINT (-40.328912 -2.777344)'))) / (select extract(epoch from '2026-07-28 08:12:23'::timestamp) - extract(epoch from '2026-07-28 08:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328885 -2.777382)'), GeomFromEWKT('SRID=4674;POINT (-40.328912 -2.777344)'))) / (select extract(epoch from '2026-07-28 08:12:23'::timestamp) - extract(epoch from '2026-07-28 08:12: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'), 47807, 'SRID=4674;POINT (-40.328944 -2.777337)', '2026-07-28 08:12:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328912 -2.777344)'), GeomFromEWKT('SRID=4674;POINT (-40.328944 -2.777337)'))) / (select extract(epoch from '2026-07-28 08:12:36'::timestamp) - extract(epoch from '2026-07-28 08:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328912 -2.777344)'), GeomFromEWKT('SRID=4674;POINT (-40.328944 -2.777337)'))) / (select extract(epoch from '2026-07-28 08:12:36'::timestamp) - extract(epoch from '2026-07-28 08:12: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'), 47807, 'SRID=4674;POINT (-40.328956 -2.777328)', '2026-07-28 08:12:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328944 -2.777337)'), GeomFromEWKT('SRID=4674;POINT (-40.328956 -2.777328)'))) / (select extract(epoch from '2026-07-28 08:12:52'::timestamp) - extract(epoch from '2026-07-28 08:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328944 -2.777337)'), GeomFromEWKT('SRID=4674;POINT (-40.328956 -2.777328)'))) / (select extract(epoch from '2026-07-28 08:12:52'::timestamp) - extract(epoch from '2026-07-28 08:12:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.328994 -2.777303)', '2026-07-28 08:13:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328956 -2.777328)'), GeomFromEWKT('SRID=4674;POINT (-40.328994 -2.777303)'))) / (select extract(epoch from '2026-07-28 08:13:07'::timestamp) - extract(epoch from '2026-07-28 08:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328956 -2.777328)'), GeomFromEWKT('SRID=4674;POINT (-40.328994 -2.777303)'))) / (select extract(epoch from '2026-07-28 08:13:07'::timestamp) - extract(epoch from '2026-07-28 08:12: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'), 47807, 'SRID=4674;POINT (-40.32905 -2.77728)', '2026-07-28 08:13:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328994 -2.777303)'), GeomFromEWKT('SRID=4674;POINT (-40.32905 -2.77728)'))) / (select extract(epoch from '2026-07-28 08:13:24'::timestamp) - extract(epoch from '2026-07-28 08:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328994 -2.777303)'), GeomFromEWKT('SRID=4674;POINT (-40.32905 -2.77728)'))) / (select extract(epoch from '2026-07-28 08:13:24'::timestamp) - extract(epoch from '2026-07-28 08:13: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'), 47807, 'SRID=4674;POINT (-40.329103 -2.777254)', '2026-07-28 08:13:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32905 -2.77728)'), GeomFromEWKT('SRID=4674;POINT (-40.329103 -2.777254)'))) / (select extract(epoch from '2026-07-28 08:13:39'::timestamp) - extract(epoch from '2026-07-28 08:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32905 -2.77728)'), GeomFromEWKT('SRID=4674;POINT (-40.329103 -2.777254)'))) / (select extract(epoch from '2026-07-28 08:13:39'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.329146 -2.777234)', '2026-07-28 08:13:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329103 -2.777254)'), GeomFromEWKT('SRID=4674;POINT (-40.329146 -2.777234)'))) / (select extract(epoch from '2026-07-28 08:13:54'::timestamp) - extract(epoch from '2026-07-28 08:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329103 -2.777254)'), GeomFromEWKT('SRID=4674;POINT (-40.329146 -2.777234)'))) / (select extract(epoch from '2026-07-28 08:13:54'::timestamp) - extract(epoch from '2026-07-28 08:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329205 -2.777224)', '2026-07-28 08:14:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329146 -2.777234)'), GeomFromEWKT('SRID=4674;POINT (-40.329205 -2.777224)'))) / (select extract(epoch from '2026-07-28 08:14:10'::timestamp) - extract(epoch from '2026-07-28 08:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329146 -2.777234)'), GeomFromEWKT('SRID=4674;POINT (-40.329205 -2.777224)'))) / (select extract(epoch from '2026-07-28 08:14:10'::timestamp) - extract(epoch from '2026-07-28 08:13: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'), 47807, 'SRID=4674;POINT (-40.329236 -2.777222)', '2026-07-28 08:14:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329205 -2.777224)'), GeomFromEWKT('SRID=4674;POINT (-40.329236 -2.777222)'))) / (select extract(epoch from '2026-07-28 08:14:25'::timestamp) - extract(epoch from '2026-07-28 08:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329205 -2.777224)'), GeomFromEWKT('SRID=4674;POINT (-40.329236 -2.777222)'))) / (select extract(epoch from '2026-07-28 08:14:25'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.32926 -2.777209)', '2026-07-28 08:14:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329236 -2.777222)'), GeomFromEWKT('SRID=4674;POINT (-40.32926 -2.777209)'))) / (select extract(epoch from '2026-07-28 08:14:35'::timestamp) - extract(epoch from '2026-07-28 08:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329236 -2.777222)'), GeomFromEWKT('SRID=4674;POINT (-40.32926 -2.777209)'))) / (select extract(epoch from '2026-07-28 08:14:35'::timestamp) - extract(epoch from '2026-07-28 08:14: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'), 47807, 'SRID=4674;POINT (-40.329305 -2.777174)', '2026-07-28 08:14:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32926 -2.777209)'), GeomFromEWKT('SRID=4674;POINT (-40.329305 -2.777174)'))) / (select extract(epoch from '2026-07-28 08:14:51'::timestamp) - extract(epoch from '2026-07-28 08:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32926 -2.777209)'), GeomFromEWKT('SRID=4674;POINT (-40.329305 -2.777174)'))) / (select extract(epoch from '2026-07-28 08:14:51'::timestamp) - extract(epoch from '2026-07-28 08:14: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'), 47807, 'SRID=4674;POINT (-40.329364 -2.77714)', '2026-07-28 08:15:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329305 -2.777174)'), GeomFromEWKT('SRID=4674;POINT (-40.329364 -2.77714)'))) / (select extract(epoch from '2026-07-28 08:15:06'::timestamp) - extract(epoch from '2026-07-28 08:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329305 -2.777174)'), GeomFromEWKT('SRID=4674;POINT (-40.329364 -2.77714)'))) / (select extract(epoch from '2026-07-28 08:15:06'::timestamp) - extract(epoch from '2026-07-28 08:14:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329428 -2.777115)', '2026-07-28 08:15:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329364 -2.77714)'), GeomFromEWKT('SRID=4674;POINT (-40.329428 -2.777115)'))) / (select extract(epoch from '2026-07-28 08:15:24'::timestamp) - extract(epoch from '2026-07-28 08:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329364 -2.77714)'), GeomFromEWKT('SRID=4674;POINT (-40.329428 -2.777115)'))) / (select extract(epoch from '2026-07-28 08:15:24'::timestamp) - extract(epoch from '2026-07-28 08:15: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'), 47807, 'SRID=4674;POINT (-40.329486 -2.77707)', '2026-07-28 08:15:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329428 -2.777115)'), GeomFromEWKT('SRID=4674;POINT (-40.329486 -2.77707)'))) / (select extract(epoch from '2026-07-28 08:15:43'::timestamp) - extract(epoch from '2026-07-28 08:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329428 -2.777115)'), GeomFromEWKT('SRID=4674;POINT (-40.329486 -2.77707)'))) / (select extract(epoch from '2026-07-28 08:15:43'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.329469 -2.777004)', '2026-07-28 08:15:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329486 -2.77707)'), GeomFromEWKT('SRID=4674;POINT (-40.329469 -2.777004)'))) / (select extract(epoch from '2026-07-28 08:15:50'::timestamp) - extract(epoch from '2026-07-28 08:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329486 -2.77707)'), GeomFromEWKT('SRID=4674;POINT (-40.329469 -2.777004)'))) / (select extract(epoch from '2026-07-28 08:15:50'::timestamp) - extract(epoch from '2026-07-28 08:15:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329435 -2.77701)', '2026-07-28 08:15:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329469 -2.777004)'), GeomFromEWKT('SRID=4674;POINT (-40.329435 -2.77701)'))) / (select extract(epoch from '2026-07-28 08:15:54'::timestamp) - extract(epoch from '2026-07-28 08:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329469 -2.777004)'), GeomFromEWKT('SRID=4674;POINT (-40.329435 -2.77701)'))) / (select extract(epoch from '2026-07-28 08:15:54'::timestamp) - extract(epoch from '2026-07-28 08:15: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'), 47807, 'SRID=4674;POINT (-40.329415 -2.777033)', '2026-07-28 08:15:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329435 -2.77701)'), GeomFromEWKT('SRID=4674;POINT (-40.329415 -2.777033)'))) / (select extract(epoch from '2026-07-28 08:15:57'::timestamp) - extract(epoch from '2026-07-28 08:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329435 -2.77701)'), GeomFromEWKT('SRID=4674;POINT (-40.329415 -2.777033)'))) / (select extract(epoch from '2026-07-28 08:15:57'::timestamp) - extract(epoch from '2026-07-28 08:15: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'), 47807, 'SRID=4674;POINT (-40.329412 -2.77705)', '2026-07-28 08:15:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329415 -2.777033)'), GeomFromEWKT('SRID=4674;POINT (-40.329412 -2.77705)'))) / (select extract(epoch from '2026-07-28 08:15:58'::timestamp) - extract(epoch from '2026-07-28 08:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329415 -2.777033)'), GeomFromEWKT('SRID=4674;POINT (-40.329412 -2.77705)'))) / (select extract(epoch from '2026-07-28 08:15:58'::timestamp) - extract(epoch from '2026-07-28 08:15:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329395 -2.777132)', '2026-07-28 08:16:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329412 -2.77705)'), GeomFromEWKT('SRID=4674;POINT (-40.329395 -2.777132)'))) / (select extract(epoch from '2026-07-28 08:16:03'::timestamp) - extract(epoch from '2026-07-28 08:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329412 -2.77705)'), GeomFromEWKT('SRID=4674;POINT (-40.329395 -2.777132)'))) / (select extract(epoch from '2026-07-28 08:16:03'::timestamp) - extract(epoch from '2026-07-28 08:15: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'), 47807, 'SRID=4674;POINT (-40.32938 -2.777284)', '2026-07-28 08:16:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329395 -2.777132)'), GeomFromEWKT('SRID=4674;POINT (-40.32938 -2.777284)'))) / (select extract(epoch from '2026-07-28 08:16:11'::timestamp) - extract(epoch from '2026-07-28 08:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329395 -2.777132)'), GeomFromEWKT('SRID=4674;POINT (-40.32938 -2.777284)'))) / (select extract(epoch from '2026-07-28 08:16:11'::timestamp) - extract(epoch from '2026-07-28 08:16: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'), 47807, 'SRID=4674;POINT (-40.329385 -2.777458)', '2026-07-28 08:16:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32938 -2.777284)'), GeomFromEWKT('SRID=4674;POINT (-40.329385 -2.777458)'))) / (select extract(epoch from '2026-07-28 08:16:20'::timestamp) - extract(epoch from '2026-07-28 08:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32938 -2.777284)'), GeomFromEWKT('SRID=4674;POINT (-40.329385 -2.777458)'))) / (select extract(epoch from '2026-07-28 08:16:20'::timestamp) - extract(epoch from '2026-07-28 08:16: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'), 47807, 'SRID=4674;POINT (-40.329416 -2.777656)', '2026-07-28 08:16:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329385 -2.777458)'), GeomFromEWKT('SRID=4674;POINT (-40.329416 -2.777656)'))) / (select extract(epoch from '2026-07-28 08:16:30'::timestamp) - extract(epoch from '2026-07-28 08:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329385 -2.777458)'), GeomFromEWKT('SRID=4674;POINT (-40.329416 -2.777656)'))) / (select extract(epoch from '2026-07-28 08:16:30'::timestamp) - extract(epoch from '2026-07-28 08:16:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329447 -2.777798)', '2026-07-28 08:16:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329416 -2.777656)'), GeomFromEWKT('SRID=4674;POINT (-40.329447 -2.777798)'))) / (select extract(epoch from '2026-07-28 08:16:37'::timestamp) - extract(epoch from '2026-07-28 08:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329416 -2.777656)'), GeomFromEWKT('SRID=4674;POINT (-40.329447 -2.777798)'))) / (select extract(epoch from '2026-07-28 08:16:37'::timestamp) - extract(epoch from '2026-07-28 08:16: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'), 47807, 'SRID=4674;POINT (-40.329476 -2.777929)', '2026-07-28 08:16:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329447 -2.777798)'), GeomFromEWKT('SRID=4674;POINT (-40.329476 -2.777929)'))) / (select extract(epoch from '2026-07-28 08:16:44'::timestamp) - extract(epoch from '2026-07-28 08:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329447 -2.777798)'), GeomFromEWKT('SRID=4674;POINT (-40.329476 -2.777929)'))) / (select extract(epoch from '2026-07-28 08:16:44'::timestamp) - extract(epoch from '2026-07-28 08:16: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'), 47807, 'SRID=4674;POINT (-40.329479 -2.778066)', '2026-07-28 08:16:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329476 -2.777929)'), GeomFromEWKT('SRID=4674;POINT (-40.329479 -2.778066)'))) / (select extract(epoch from '2026-07-28 08:16:51'::timestamp) - extract(epoch from '2026-07-28 08:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329476 -2.777929)'), GeomFromEWKT('SRID=4674;POINT (-40.329479 -2.778066)'))) / (select extract(epoch from '2026-07-28 08:16:51'::timestamp) - extract(epoch from '2026-07-28 08:16: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'), 47807, 'SRID=4674;POINT (-40.329478 -2.778207)', '2026-07-28 08:16:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329479 -2.778066)'), GeomFromEWKT('SRID=4674;POINT (-40.329478 -2.778207)'))) / (select extract(epoch from '2026-07-28 08:16:58'::timestamp) - extract(epoch from '2026-07-28 08:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329479 -2.778066)'), GeomFromEWKT('SRID=4674;POINT (-40.329478 -2.778207)'))) / (select extract(epoch from '2026-07-28 08:16:58'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.329467 -2.778348)', '2026-07-28 08:17:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329478 -2.778207)'), GeomFromEWKT('SRID=4674;POINT (-40.329467 -2.778348)'))) / (select extract(epoch from '2026-07-28 08:17:05'::timestamp) - extract(epoch from '2026-07-28 08:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329478 -2.778207)'), GeomFromEWKT('SRID=4674;POINT (-40.329467 -2.778348)'))) / (select extract(epoch from '2026-07-28 08:17:05'::timestamp) - extract(epoch from '2026-07-28 08:16: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'), 47807, 'SRID=4674;POINT (-40.329471 -2.778495)', '2026-07-28 08:17:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329467 -2.778348)'), GeomFromEWKT('SRID=4674;POINT (-40.329471 -2.778495)'))) / (select extract(epoch from '2026-07-28 08:17:12'::timestamp) - extract(epoch from '2026-07-28 08:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329467 -2.778348)'), GeomFromEWKT('SRID=4674;POINT (-40.329471 -2.778495)'))) / (select extract(epoch from '2026-07-28 08:17:12'::timestamp) - extract(epoch from '2026-07-28 08:17: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'), 47807, 'SRID=4674;POINT (-40.329483 -2.778638)', '2026-07-28 08:17:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329471 -2.778495)'), GeomFromEWKT('SRID=4674;POINT (-40.329483 -2.778638)'))) / (select extract(epoch from '2026-07-28 08:17:19'::timestamp) - extract(epoch from '2026-07-28 08:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329471 -2.778495)'), GeomFromEWKT('SRID=4674;POINT (-40.329483 -2.778638)'))) / (select extract(epoch from '2026-07-28 08:17:19'::timestamp) - extract(epoch from '2026-07-28 08:17: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'), 47807, 'SRID=4674;POINT (-40.329475 -2.778775)', '2026-07-28 08:17:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329483 -2.778638)'), GeomFromEWKT('SRID=4674;POINT (-40.329475 -2.778775)'))) / (select extract(epoch from '2026-07-28 08:17:26'::timestamp) - extract(epoch from '2026-07-28 08:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329483 -2.778638)'), GeomFromEWKT('SRID=4674;POINT (-40.329475 -2.778775)'))) / (select extract(epoch from '2026-07-28 08:17:26'::timestamp) - extract(epoch from '2026-07-28 08:17: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'), 47807, 'SRID=4674;POINT (-40.329457 -2.778941)', '2026-07-28 08:17:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329475 -2.778775)'), GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.778941)'))) / (select extract(epoch from '2026-07-28 08:17:34'::timestamp) - extract(epoch from '2026-07-28 08:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329475 -2.778775)'), GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.778941)'))) / (select extract(epoch from '2026-07-28 08:17:34'::timestamp) - extract(epoch from '2026-07-28 08:17:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329476 -2.779095)', '2026-07-28 08:17:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.778941)'), GeomFromEWKT('SRID=4674;POINT (-40.329476 -2.779095)'))) / (select extract(epoch from '2026-07-28 08:17:42'::timestamp) - extract(epoch from '2026-07-28 08:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.778941)'), GeomFromEWKT('SRID=4674;POINT (-40.329476 -2.779095)'))) / (select extract(epoch from '2026-07-28 08:17:42'::timestamp) - extract(epoch from '2026-07-28 08:17: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'), 47807, 'SRID=4674;POINT (-40.329465 -2.779249)', '2026-07-28 08:17:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329476 -2.779095)'), GeomFromEWKT('SRID=4674;POINT (-40.329465 -2.779249)'))) / (select extract(epoch from '2026-07-28 08:17:50'::timestamp) - extract(epoch from '2026-07-28 08:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329476 -2.779095)'), GeomFromEWKT('SRID=4674;POINT (-40.329465 -2.779249)'))) / (select extract(epoch from '2026-07-28 08:17:50'::timestamp) - extract(epoch from '2026-07-28 08:17:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329434 -2.77938)', '2026-07-28 08:17:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329465 -2.779249)'), GeomFromEWKT('SRID=4674;POINT (-40.329434 -2.77938)'))) / (select extract(epoch from '2026-07-28 08:17:57'::timestamp) - extract(epoch from '2026-07-28 08:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329465 -2.779249)'), GeomFromEWKT('SRID=4674;POINT (-40.329434 -2.77938)'))) / (select extract(epoch from '2026-07-28 08:17:57'::timestamp) - extract(epoch from '2026-07-28 08:17: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'), 47807, 'SRID=4674;POINT (-40.329416 -2.779514)', '2026-07-28 08:18:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329434 -2.77938)'), GeomFromEWKT('SRID=4674;POINT (-40.329416 -2.779514)'))) / (select extract(epoch from '2026-07-28 08:18:04'::timestamp) - extract(epoch from '2026-07-28 08:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329434 -2.77938)'), GeomFromEWKT('SRID=4674;POINT (-40.329416 -2.779514)'))) / (select extract(epoch from '2026-07-28 08:18:04'::timestamp) - extract(epoch from '2026-07-28 08:17: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'), 47807, 'SRID=4674;POINT (-40.329411 -2.779646)', '2026-07-28 08:18:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329416 -2.779514)'), GeomFromEWKT('SRID=4674;POINT (-40.329411 -2.779646)'))) / (select extract(epoch from '2026-07-28 08:18:11'::timestamp) - extract(epoch from '2026-07-28 08:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329416 -2.779514)'), GeomFromEWKT('SRID=4674;POINT (-40.329411 -2.779646)'))) / (select extract(epoch from '2026-07-28 08:18:11'::timestamp) - extract(epoch from '2026-07-28 08:18: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'), 47807, 'SRID=4674;POINT (-40.329398 -2.779825)', '2026-07-28 08:18:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329411 -2.779646)'), GeomFromEWKT('SRID=4674;POINT (-40.329398 -2.779825)'))) / (select extract(epoch from '2026-07-28 08:18:20'::timestamp) - extract(epoch from '2026-07-28 08:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329411 -2.779646)'), GeomFromEWKT('SRID=4674;POINT (-40.329398 -2.779825)'))) / (select extract(epoch from '2026-07-28 08:18:20'::timestamp) - extract(epoch from '2026-07-28 08:18:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329393 -2.77997)', '2026-07-28 08:18:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329398 -2.779825)'), GeomFromEWKT('SRID=4674;POINT (-40.329393 -2.77997)'))) / (select extract(epoch from '2026-07-28 08:18:27'::timestamp) - extract(epoch from '2026-07-28 08:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329398 -2.779825)'), GeomFromEWKT('SRID=4674;POINT (-40.329393 -2.77997)'))) / (select extract(epoch from '2026-07-28 08:18:27'::timestamp) - extract(epoch from '2026-07-28 08:18: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'), 47807, 'SRID=4674;POINT (-40.329373 -2.780109)', '2026-07-28 08:18:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329393 -2.77997)'), GeomFromEWKT('SRID=4674;POINT (-40.329373 -2.780109)'))) / (select extract(epoch from '2026-07-28 08:18:34'::timestamp) - extract(epoch from '2026-07-28 08:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329393 -2.77997)'), GeomFromEWKT('SRID=4674;POINT (-40.329373 -2.780109)'))) / (select extract(epoch from '2026-07-28 08:18:34'::timestamp) - extract(epoch from '2026-07-28 08:18: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'), 47807, 'SRID=4674;POINT (-40.329385 -2.780278)', '2026-07-28 08:18:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329373 -2.780109)'), GeomFromEWKT('SRID=4674;POINT (-40.329385 -2.780278)'))) / (select extract(epoch from '2026-07-28 08:18:43'::timestamp) - extract(epoch from '2026-07-28 08:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329373 -2.780109)'), GeomFromEWKT('SRID=4674;POINT (-40.329385 -2.780278)'))) / (select extract(epoch from '2026-07-28 08:18:43'::timestamp) - extract(epoch from '2026-07-28 08:18: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'), 47807, 'SRID=4674;POINT (-40.329399 -2.780452)', '2026-07-28 08:18:52', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329385 -2.780278)'), GeomFromEWKT('SRID=4674;POINT (-40.329399 -2.780452)'))) / (select extract(epoch from '2026-07-28 08:18:52'::timestamp) - extract(epoch from '2026-07-28 08:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329385 -2.780278)'), GeomFromEWKT('SRID=4674;POINT (-40.329399 -2.780452)'))) / (select extract(epoch from '2026-07-28 08:18:52'::timestamp) - extract(epoch from '2026-07-28 08:18: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'), 47807, 'SRID=4674;POINT (-40.329467 -2.780633)', '2026-07-28 08:19:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329399 -2.780452)'), GeomFromEWKT('SRID=4674;POINT (-40.329467 -2.780633)'))) / (select extract(epoch from '2026-07-28 08:19:02'::timestamp) - extract(epoch from '2026-07-28 08:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329399 -2.780452)'), GeomFromEWKT('SRID=4674;POINT (-40.329467 -2.780633)'))) / (select extract(epoch from '2026-07-28 08:19:02'::timestamp) - extract(epoch from '2026-07-28 08:18: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'), 47807, 'SRID=4674;POINT (-40.329482 -2.780837)', '2026-07-28 08:19:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329467 -2.780633)'), GeomFromEWKT('SRID=4674;POINT (-40.329482 -2.780837)'))) / (select extract(epoch from '2026-07-28 08:19:12'::timestamp) - extract(epoch from '2026-07-28 08:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329467 -2.780633)'), GeomFromEWKT('SRID=4674;POINT (-40.329482 -2.780837)'))) / (select extract(epoch from '2026-07-28 08:19:12'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.329522 -2.780993)', '2026-07-28 08:19:20', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329482 -2.780837)'), GeomFromEWKT('SRID=4674;POINT (-40.329522 -2.780993)'))) / (select extract(epoch from '2026-07-28 08:19:20'::timestamp) - extract(epoch from '2026-07-28 08:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329482 -2.780837)'), GeomFromEWKT('SRID=4674;POINT (-40.329522 -2.780993)'))) / (select extract(epoch from '2026-07-28 08:19:20'::timestamp) - extract(epoch from '2026-07-28 08:19:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329537 -2.781152)', '2026-07-28 08:19:28', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329522 -2.780993)'), GeomFromEWKT('SRID=4674;POINT (-40.329537 -2.781152)'))) / (select extract(epoch from '2026-07-28 08:19:28'::timestamp) - extract(epoch from '2026-07-28 08:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329522 -2.780993)'), GeomFromEWKT('SRID=4674;POINT (-40.329537 -2.781152)'))) / (select extract(epoch from '2026-07-28 08:19:28'::timestamp) - extract(epoch from '2026-07-28 08:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329581 -2.781302)', '2026-07-28 08:19:36', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329537 -2.781152)'), GeomFromEWKT('SRID=4674;POINT (-40.329581 -2.781302)'))) / (select extract(epoch from '2026-07-28 08:19:36'::timestamp) - extract(epoch from '2026-07-28 08:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329537 -2.781152)'), GeomFromEWKT('SRID=4674;POINT (-40.329581 -2.781302)'))) / (select extract(epoch from '2026-07-28 08:19:36'::timestamp) - extract(epoch from '2026-07-28 08:19: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'), 47807, 'SRID=4674;POINT (-40.329607 -2.781484)', '2026-07-28 08:19:46', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329581 -2.781302)'), GeomFromEWKT('SRID=4674;POINT (-40.329607 -2.781484)'))) / (select extract(epoch from '2026-07-28 08:19:46'::timestamp) - extract(epoch from '2026-07-28 08:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329581 -2.781302)'), GeomFromEWKT('SRID=4674;POINT (-40.329607 -2.781484)'))) / (select extract(epoch from '2026-07-28 08:19:46'::timestamp) - extract(epoch from '2026-07-28 08:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329614 -2.781636)', '2026-07-28 08:19:54', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329607 -2.781484)'), GeomFromEWKT('SRID=4674;POINT (-40.329614 -2.781636)'))) / (select extract(epoch from '2026-07-28 08:19:54'::timestamp) - extract(epoch from '2026-07-28 08:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329607 -2.781484)'), GeomFromEWKT('SRID=4674;POINT (-40.329614 -2.781636)'))) / (select extract(epoch from '2026-07-28 08:19:54'::timestamp) - extract(epoch from '2026-07-28 08:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329603 -2.781776)', '2026-07-28 08:20:01', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329614 -2.781636)'), GeomFromEWKT('SRID=4674;POINT (-40.329603 -2.781776)'))) / (select extract(epoch from '2026-07-28 08:20:01'::timestamp) - extract(epoch from '2026-07-28 08:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329614 -2.781636)'), GeomFromEWKT('SRID=4674;POINT (-40.329603 -2.781776)'))) / (select extract(epoch from '2026-07-28 08:20:01'::timestamp) - extract(epoch from '2026-07-28 08:19: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'), 47807, 'SRID=4674;POINT (-40.329603 -2.781968)', '2026-07-28 08:20:11', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329603 -2.781776)'), GeomFromEWKT('SRID=4674;POINT (-40.329603 -2.781968)'))) / (select extract(epoch from '2026-07-28 08:20:11'::timestamp) - extract(epoch from '2026-07-28 08:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329603 -2.781776)'), GeomFromEWKT('SRID=4674;POINT (-40.329603 -2.781968)'))) / (select extract(epoch from '2026-07-28 08:20:11'::timestamp) - extract(epoch from '2026-07-28 08:20: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'), 47807, 'SRID=4674;POINT (-40.329627 -2.782101)', '2026-07-28 08:20:18', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329603 -2.781968)'), GeomFromEWKT('SRID=4674;POINT (-40.329627 -2.782101)'))) / (select extract(epoch from '2026-07-28 08:20:18'::timestamp) - extract(epoch from '2026-07-28 08:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329603 -2.781968)'), GeomFromEWKT('SRID=4674;POINT (-40.329627 -2.782101)'))) / (select extract(epoch from '2026-07-28 08:20:18'::timestamp) - extract(epoch from '2026-07-28 08:20:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329641 -2.782254)', '2026-07-28 08:20:26', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329627 -2.782101)'), GeomFromEWKT('SRID=4674;POINT (-40.329641 -2.782254)'))) / (select extract(epoch from '2026-07-28 08:20:26'::timestamp) - extract(epoch from '2026-07-28 08:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329627 -2.782101)'), GeomFromEWKT('SRID=4674;POINT (-40.329641 -2.782254)'))) / (select extract(epoch from '2026-07-28 08:20:26'::timestamp) - extract(epoch from '2026-07-28 08:20:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329654 -2.78239)', '2026-07-28 08:20:33', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329641 -2.782254)'), GeomFromEWKT('SRID=4674;POINT (-40.329654 -2.78239)'))) / (select extract(epoch from '2026-07-28 08:20:33'::timestamp) - extract(epoch from '2026-07-28 08:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329641 -2.782254)'), GeomFromEWKT('SRID=4674;POINT (-40.329654 -2.78239)'))) / (select extract(epoch from '2026-07-28 08:20:33'::timestamp) - extract(epoch from '2026-07-28 08:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329671 -2.782527)', '2026-07-28 08:20:40', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329654 -2.78239)'), GeomFromEWKT('SRID=4674;POINT (-40.329671 -2.782527)'))) / (select extract(epoch from '2026-07-28 08:20:40'::timestamp) - extract(epoch from '2026-07-28 08:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329654 -2.78239)'), GeomFromEWKT('SRID=4674;POINT (-40.329671 -2.782527)'))) / (select extract(epoch from '2026-07-28 08:20:40'::timestamp) - extract(epoch from '2026-07-28 08:20: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'), 47807, 'SRID=4674;POINT (-40.329695 -2.782695)', '2026-07-28 08:20:48', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329671 -2.782527)'), GeomFromEWKT('SRID=4674;POINT (-40.329695 -2.782695)'))) / (select extract(epoch from '2026-07-28 08:20:48'::timestamp) - extract(epoch from '2026-07-28 08:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329671 -2.782527)'), GeomFromEWKT('SRID=4674;POINT (-40.329695 -2.782695)'))) / (select extract(epoch from '2026-07-28 08:20:48'::timestamp) - extract(epoch from '2026-07-28 08:20:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329695 -2.782845)', '2026-07-28 08:20:55', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329695 -2.782695)'), GeomFromEWKT('SRID=4674;POINT (-40.329695 -2.782845)'))) / (select extract(epoch from '2026-07-28 08:20:55'::timestamp) - extract(epoch from '2026-07-28 08:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329695 -2.782695)'), GeomFromEWKT('SRID=4674;POINT (-40.329695 -2.782845)'))) / (select extract(epoch from '2026-07-28 08:20:55'::timestamp) - extract(epoch from '2026-07-28 08:20:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.329718 -2.783024)', '2026-07-28 08:21:03', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329695 -2.782845)'), GeomFromEWKT('SRID=4674;POINT (-40.329718 -2.783024)'))) / (select extract(epoch from '2026-07-28 08:21:03'::timestamp) - extract(epoch from '2026-07-28 08:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329695 -2.782845)'), GeomFromEWKT('SRID=4674;POINT (-40.329718 -2.783024)'))) / (select extract(epoch from '2026-07-28 08:21:03'::timestamp) - extract(epoch from '2026-07-28 08:20: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'), 47807, 'SRID=4674;POINT (-40.329738 -2.783188)', '2026-07-28 08:21:11', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329718 -2.783024)'), GeomFromEWKT('SRID=4674;POINT (-40.329738 -2.783188)'))) / (select extract(epoch from '2026-07-28 08:21:11'::timestamp) - extract(epoch from '2026-07-28 08:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329718 -2.783024)'), GeomFromEWKT('SRID=4674;POINT (-40.329738 -2.783188)'))) / (select extract(epoch from '2026-07-28 08:21:11'::timestamp) - extract(epoch from '2026-07-28 08:21: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'), 47807, 'SRID=4674;POINT (-40.329772 -2.783367)', '2026-07-28 08:21:20', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329738 -2.783188)'), GeomFromEWKT('SRID=4674;POINT (-40.329772 -2.783367)'))) / (select extract(epoch from '2026-07-28 08:21:20'::timestamp) - extract(epoch from '2026-07-28 08:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329738 -2.783188)'), GeomFromEWKT('SRID=4674;POINT (-40.329772 -2.783367)'))) / (select extract(epoch from '2026-07-28 08:21:20'::timestamp) - extract(epoch from '2026-07-28 08:21: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'), 47807, 'SRID=4674;POINT (-40.329818 -2.783532)', '2026-07-28 08:21:29', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329772 -2.783367)'), GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.783532)'))) / (select extract(epoch from '2026-07-28 08:21:29'::timestamp) - extract(epoch from '2026-07-28 08:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329772 -2.783367)'), GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.783532)'))) / (select extract(epoch from '2026-07-28 08:21:29'::timestamp) - extract(epoch from '2026-07-28 08:21: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'), 47807, 'SRID=4674;POINT (-40.329878 -2.7837)', '2026-07-28 08:21:38', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.783532)'), GeomFromEWKT('SRID=4674;POINT (-40.329878 -2.7837)'))) / (select extract(epoch from '2026-07-28 08:21:38'::timestamp) - extract(epoch from '2026-07-28 08:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.783532)'), GeomFromEWKT('SRID=4674;POINT (-40.329878 -2.7837)'))) / (select extract(epoch from '2026-07-28 08:21:38'::timestamp) - extract(epoch from '2026-07-28 08:21: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'), 47807, 'SRID=4674;POINT (-40.329955 -2.783848)', '2026-07-28 08:21:46', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329878 -2.7837)'), GeomFromEWKT('SRID=4674;POINT (-40.329955 -2.783848)'))) / (select extract(epoch from '2026-07-28 08:21:46'::timestamp) - extract(epoch from '2026-07-28 08:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329878 -2.7837)'), GeomFromEWKT('SRID=4674;POINT (-40.329955 -2.783848)'))) / (select extract(epoch from '2026-07-28 08:21:46'::timestamp) - extract(epoch from '2026-07-28 08:21: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'), 47807, 'SRID=4674;POINT (-40.329988 -2.783993)', '2026-07-28 08:21:53', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329955 -2.783848)'), GeomFromEWKT('SRID=4674;POINT (-40.329988 -2.783993)'))) / (select extract(epoch from '2026-07-28 08:21:53'::timestamp) - extract(epoch from '2026-07-28 08:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329955 -2.783848)'), GeomFromEWKT('SRID=4674;POINT (-40.329988 -2.783993)'))) / (select extract(epoch from '2026-07-28 08:21:53'::timestamp) - extract(epoch from '2026-07-28 08:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.330021 -2.784134)', '2026-07-28 08:22:00', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329988 -2.783993)'), GeomFromEWKT('SRID=4674;POINT (-40.330021 -2.784134)'))) / (select extract(epoch from '2026-07-28 08:22:00'::timestamp) - extract(epoch from '2026-07-28 08:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329988 -2.783993)'), GeomFromEWKT('SRID=4674;POINT (-40.330021 -2.784134)'))) / (select extract(epoch from '2026-07-28 08:22:00'::timestamp) - extract(epoch from '2026-07-28 08:21: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'), 47807, 'SRID=4674;POINT (-40.330067 -2.784316)', '2026-07-28 08:22:09', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330021 -2.784134)'), GeomFromEWKT('SRID=4674;POINT (-40.330067 -2.784316)'))) / (select extract(epoch from '2026-07-28 08:22:09'::timestamp) - extract(epoch from '2026-07-28 08:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330021 -2.784134)'), GeomFromEWKT('SRID=4674;POINT (-40.330067 -2.784316)'))) / (select extract(epoch from '2026-07-28 08:22:09'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.330074 -2.78448)', '2026-07-28 08:22:17', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330067 -2.784316)'), GeomFromEWKT('SRID=4674;POINT (-40.330074 -2.78448)'))) / (select extract(epoch from '2026-07-28 08:22:17'::timestamp) - extract(epoch from '2026-07-28 08:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330067 -2.784316)'), GeomFromEWKT('SRID=4674;POINT (-40.330074 -2.78448)'))) / (select extract(epoch from '2026-07-28 08:22:17'::timestamp) - extract(epoch from '2026-07-28 08:22:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.330069 -2.78464)', '2026-07-28 08:22:25', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330074 -2.78448)'), GeomFromEWKT('SRID=4674;POINT (-40.330069 -2.78464)'))) / (select extract(epoch from '2026-07-28 08:22:25'::timestamp) - extract(epoch from '2026-07-28 08:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330074 -2.78448)'), GeomFromEWKT('SRID=4674;POINT (-40.330069 -2.78464)'))) / (select extract(epoch from '2026-07-28 08:22:25'::timestamp) - extract(epoch from '2026-07-28 08:22: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'), 47807, 'SRID=4674;POINT (-40.330085 -2.784784)', '2026-07-28 08:22:32', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330069 -2.78464)'), GeomFromEWKT('SRID=4674;POINT (-40.330085 -2.784784)'))) / (select extract(epoch from '2026-07-28 08:22:32'::timestamp) - extract(epoch from '2026-07-28 08:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330069 -2.78464)'), GeomFromEWKT('SRID=4674;POINT (-40.330085 -2.784784)'))) / (select extract(epoch from '2026-07-28 08:22:32'::timestamp) - extract(epoch from '2026-07-28 08:22: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'), 47807, 'SRID=4674;POINT (-40.330106 -2.784929)', '2026-07-28 08:22:39', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330085 -2.784784)'), GeomFromEWKT('SRID=4674;POINT (-40.330106 -2.784929)'))) / (select extract(epoch from '2026-07-28 08:22:39'::timestamp) - extract(epoch from '2026-07-28 08:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330085 -2.784784)'), GeomFromEWKT('SRID=4674;POINT (-40.330106 -2.784929)'))) / (select extract(epoch from '2026-07-28 08:22:39'::timestamp) - extract(epoch from '2026-07-28 08:22: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'), 47807, 'SRID=4674;POINT (-40.330124 -2.785064)', '2026-07-28 08:22:46', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330106 -2.784929)'), GeomFromEWKT('SRID=4674;POINT (-40.330124 -2.785064)'))) / (select extract(epoch from '2026-07-28 08:22:46'::timestamp) - extract(epoch from '2026-07-28 08:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330106 -2.784929)'), GeomFromEWKT('SRID=4674;POINT (-40.330124 -2.785064)'))) / (select extract(epoch from '2026-07-28 08:22:46'::timestamp) - extract(epoch from '2026-07-28 08:22: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'), 47807, 'SRID=4674;POINT (-40.330132 -2.785231)', '2026-07-28 08:22:55', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330124 -2.785064)'), GeomFromEWKT('SRID=4674;POINT (-40.330132 -2.785231)'))) / (select extract(epoch from '2026-07-28 08:22:55'::timestamp) - extract(epoch from '2026-07-28 08:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330124 -2.785064)'), GeomFromEWKT('SRID=4674;POINT (-40.330132 -2.785231)'))) / (select extract(epoch from '2026-07-28 08:22:55'::timestamp) - extract(epoch from '2026-07-28 08:22: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'), 47807, 'SRID=4674;POINT (-40.330149 -2.78539)', '2026-07-28 08:23:03', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330132 -2.785231)'), GeomFromEWKT('SRID=4674;POINT (-40.330149 -2.78539)'))) / (select extract(epoch from '2026-07-28 08:23:03'::timestamp) - extract(epoch from '2026-07-28 08:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330132 -2.785231)'), GeomFromEWKT('SRID=4674;POINT (-40.330149 -2.78539)'))) / (select extract(epoch from '2026-07-28 08:23:03'::timestamp) - extract(epoch from '2026-07-28 08:22: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'), 47807, 'SRID=4674;POINT (-40.330194 -2.785543)', '2026-07-28 08:23:11', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330149 -2.78539)'), GeomFromEWKT('SRID=4674;POINT (-40.330194 -2.785543)'))) / (select extract(epoch from '2026-07-28 08:23:11'::timestamp) - extract(epoch from '2026-07-28 08:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330149 -2.78539)'), GeomFromEWKT('SRID=4674;POINT (-40.330194 -2.785543)'))) / (select extract(epoch from '2026-07-28 08:23:11'::timestamp) - extract(epoch from '2026-07-28 08:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.330228 -2.785657)', '2026-07-28 08:23:17', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330194 -2.785543)'), GeomFromEWKT('SRID=4674;POINT (-40.330228 -2.785657)'))) / (select extract(epoch from '2026-07-28 08:23:17'::timestamp) - extract(epoch from '2026-07-28 08:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330194 -2.785543)'), GeomFromEWKT('SRID=4674;POINT (-40.330228 -2.785657)'))) / (select extract(epoch from '2026-07-28 08:23:17'::timestamp) - extract(epoch from '2026-07-28 08:23:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.33027 -2.785809)', '2026-07-28 08:23:25', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330228 -2.785657)'), GeomFromEWKT('SRID=4674;POINT (-40.33027 -2.785809)'))) / (select extract(epoch from '2026-07-28 08:23:25'::timestamp) - extract(epoch from '2026-07-28 08:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330228 -2.785657)'), GeomFromEWKT('SRID=4674;POINT (-40.33027 -2.785809)'))) / (select extract(epoch from '2026-07-28 08:23:25'::timestamp) - extract(epoch from '2026-07-28 08:23: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'), 47807, 'SRID=4674;POINT (-40.330299 -2.78596)', '2026-07-28 08:23:33', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33027 -2.785809)'), GeomFromEWKT('SRID=4674;POINT (-40.330299 -2.78596)'))) / (select extract(epoch from '2026-07-28 08:23:33'::timestamp) - extract(epoch from '2026-07-28 08:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33027 -2.785809)'), GeomFromEWKT('SRID=4674;POINT (-40.330299 -2.78596)'))) / (select extract(epoch from '2026-07-28 08:23:33'::timestamp) - extract(epoch from '2026-07-28 08:23: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'), 47807, 'SRID=4674;POINT (-40.330318 -2.786119)', '2026-07-28 08:23:41', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330299 -2.78596)'), GeomFromEWKT('SRID=4674;POINT (-40.330318 -2.786119)'))) / (select extract(epoch from '2026-07-28 08:23:41'::timestamp) - extract(epoch from '2026-07-28 08:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330299 -2.78596)'), GeomFromEWKT('SRID=4674;POINT (-40.330318 -2.786119)'))) / (select extract(epoch from '2026-07-28 08:23:41'::timestamp) - extract(epoch from '2026-07-28 08:23:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.330347 -2.78631)', '2026-07-28 08:23:50', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330318 -2.786119)'), GeomFromEWKT('SRID=4674;POINT (-40.330347 -2.78631)'))) / (select extract(epoch from '2026-07-28 08:23:50'::timestamp) - extract(epoch from '2026-07-28 08:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330318 -2.786119)'), GeomFromEWKT('SRID=4674;POINT (-40.330347 -2.78631)'))) / (select extract(epoch from '2026-07-28 08:23:50'::timestamp) - extract(epoch from '2026-07-28 08:23: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'), 47807, 'SRID=4674;POINT (-40.330386 -2.786449)', '2026-07-28 08:23:57', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330347 -2.78631)'), GeomFromEWKT('SRID=4674;POINT (-40.330386 -2.786449)'))) / (select extract(epoch from '2026-07-28 08:23:57'::timestamp) - extract(epoch from '2026-07-28 08:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330347 -2.78631)'), GeomFromEWKT('SRID=4674;POINT (-40.330386 -2.786449)'))) / (select extract(epoch from '2026-07-28 08:23:57'::timestamp) - extract(epoch from '2026-07-28 08:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.330409 -2.78658)', '2026-07-28 08:24:04', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330386 -2.786449)'), GeomFromEWKT('SRID=4674;POINT (-40.330409 -2.78658)'))) / (select extract(epoch from '2026-07-28 08:24:04'::timestamp) - extract(epoch from '2026-07-28 08:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330386 -2.786449)'), GeomFromEWKT('SRID=4674;POINT (-40.330409 -2.78658)'))) / (select extract(epoch from '2026-07-28 08:24:04'::timestamp) - extract(epoch from '2026-07-28 08:23: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'), 47807, 'SRID=4674;POINT (-40.330405 -2.786724)', '2026-07-28 08:24:11', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330409 -2.78658)'), GeomFromEWKT('SRID=4674;POINT (-40.330405 -2.786724)'))) / (select extract(epoch from '2026-07-28 08:24:11'::timestamp) - extract(epoch from '2026-07-28 08:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330409 -2.78658)'), GeomFromEWKT('SRID=4674;POINT (-40.330405 -2.786724)'))) / (select extract(epoch from '2026-07-28 08:24:11'::timestamp) - extract(epoch from '2026-07-28 08:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.33043 -2.786862)', '2026-07-28 08:24:18', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330405 -2.786724)'), GeomFromEWKT('SRID=4674;POINT (-40.33043 -2.786862)'))) / (select extract(epoch from '2026-07-28 08:24:18'::timestamp) - extract(epoch from '2026-07-28 08:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330405 -2.786724)'), GeomFromEWKT('SRID=4674;POINT (-40.33043 -2.786862)'))) / (select extract(epoch from '2026-07-28 08:24:18'::timestamp) - extract(epoch from '2026-07-28 08:24:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.330474 -2.787008)', '2026-07-28 08:24:25', -9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33043 -2.786862)'), GeomFromEWKT('SRID=4674;POINT (-40.330474 -2.787008)'))) / (select extract(epoch from '2026-07-28 08:24:25'::timestamp) - extract(epoch from '2026-07-28 08:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33043 -2.786862)'), GeomFromEWKT('SRID=4674;POINT (-40.330474 -2.787008)'))) / (select extract(epoch from '2026-07-28 08:24:25'::timestamp) - extract(epoch from '2026-07-28 08:24:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.330525 -2.787198)', '2026-07-28 08:24:34', -8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330474 -2.787008)'), GeomFromEWKT('SRID=4674;POINT (-40.330525 -2.787198)'))) / (select extract(epoch from '2026-07-28 08:24:34'::timestamp) - extract(epoch from '2026-07-28 08:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330474 -2.787008)'), GeomFromEWKT('SRID=4674;POINT (-40.330525 -2.787198)'))) / (select extract(epoch from '2026-07-28 08:24:34'::timestamp) - extract(epoch from '2026-07-28 08:24: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'), 47807, 'SRID=4674;POINT (-40.330567 -2.787343)', '2026-07-28 08:24:41', -9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330525 -2.787198)'), GeomFromEWKT('SRID=4674;POINT (-40.330567 -2.787343)'))) / (select extract(epoch from '2026-07-28 08:24:41'::timestamp) - extract(epoch from '2026-07-28 08:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330525 -2.787198)'), GeomFromEWKT('SRID=4674;POINT (-40.330567 -2.787343)'))) / (select extract(epoch from '2026-07-28 08:24:41'::timestamp) - extract(epoch from '2026-07-28 08:24: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'), 47807, 'SRID=4674;POINT (-40.330592 -2.787497)', '2026-07-28 08:24:49', -8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330567 -2.787343)'), GeomFromEWKT('SRID=4674;POINT (-40.330592 -2.787497)'))) / (select extract(epoch from '2026-07-28 08:24:49'::timestamp) - extract(epoch from '2026-07-28 08:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330567 -2.787343)'), GeomFromEWKT('SRID=4674;POINT (-40.330592 -2.787497)'))) / (select extract(epoch from '2026-07-28 08:24:49'::timestamp) - extract(epoch from '2026-07-28 08:24:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.330624 -2.787669)', '2026-07-28 08:24:58', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330592 -2.787497)'), GeomFromEWKT('SRID=4674;POINT (-40.330624 -2.787669)'))) / (select extract(epoch from '2026-07-28 08:24:58'::timestamp) - extract(epoch from '2026-07-28 08:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330592 -2.787497)'), GeomFromEWKT('SRID=4674;POINT (-40.330624 -2.787669)'))) / (select extract(epoch from '2026-07-28 08:24:58'::timestamp) - extract(epoch from '2026-07-28 08:24: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'), 47807, 'SRID=4674;POINT (-40.330653 -2.787823)', '2026-07-28 08:25:06', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330624 -2.787669)'), GeomFromEWKT('SRID=4674;POINT (-40.330653 -2.787823)'))) / (select extract(epoch from '2026-07-28 08:25:06'::timestamp) - extract(epoch from '2026-07-28 08:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330624 -2.787669)'), GeomFromEWKT('SRID=4674;POINT (-40.330653 -2.787823)'))) / (select extract(epoch from '2026-07-28 08:25:06'::timestamp) - extract(epoch from '2026-07-28 08:24:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.330705 -2.787978)', '2026-07-28 08:25:15', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330653 -2.787823)'), GeomFromEWKT('SRID=4674;POINT (-40.330705 -2.787978)'))) / (select extract(epoch from '2026-07-28 08:25:15'::timestamp) - extract(epoch from '2026-07-28 08:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330653 -2.787823)'), GeomFromEWKT('SRID=4674;POINT (-40.330705 -2.787978)'))) / (select extract(epoch from '2026-07-28 08:25:15'::timestamp) - extract(epoch from '2026-07-28 08:25: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'), 47807, 'SRID=4674;POINT (-40.330725 -2.78817)', '2026-07-28 08:25:24', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330705 -2.787978)'), GeomFromEWKT('SRID=4674;POINT (-40.330725 -2.78817)'))) / (select extract(epoch from '2026-07-28 08:25:24'::timestamp) - extract(epoch from '2026-07-28 08:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330705 -2.787978)'), GeomFromEWKT('SRID=4674;POINT (-40.330725 -2.78817)'))) / (select extract(epoch from '2026-07-28 08:25:24'::timestamp) - extract(epoch from '2026-07-28 08:25:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.330776 -2.788373)', '2026-07-28 08:25:34', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330725 -2.78817)'), GeomFromEWKT('SRID=4674;POINT (-40.330776 -2.788373)'))) / (select extract(epoch from '2026-07-28 08:25:34'::timestamp) - extract(epoch from '2026-07-28 08:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330725 -2.78817)'), GeomFromEWKT('SRID=4674;POINT (-40.330776 -2.788373)'))) / (select extract(epoch from '2026-07-28 08:25:34'::timestamp) - extract(epoch from '2026-07-28 08:25:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.330845 -2.788526)', '2026-07-28 08:25:42', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330776 -2.788373)'), GeomFromEWKT('SRID=4674;POINT (-40.330845 -2.788526)'))) / (select extract(epoch from '2026-07-28 08:25:42'::timestamp) - extract(epoch from '2026-07-28 08:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330776 -2.788373)'), GeomFromEWKT('SRID=4674;POINT (-40.330845 -2.788526)'))) / (select extract(epoch from '2026-07-28 08:25:42'::timestamp) - extract(epoch from '2026-07-28 08:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.330928 -2.788679)', '2026-07-28 08:25:50', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330845 -2.788526)'), GeomFromEWKT('SRID=4674;POINT (-40.330928 -2.788679)'))) / (select extract(epoch from '2026-07-28 08:25:50'::timestamp) - extract(epoch from '2026-07-28 08:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330845 -2.788526)'), GeomFromEWKT('SRID=4674;POINT (-40.330928 -2.788679)'))) / (select extract(epoch from '2026-07-28 08:25:50'::timestamp) - extract(epoch from '2026-07-28 08:25: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'), 47807, 'SRID=4674;POINT (-40.330997 -2.788804)', '2026-07-28 08:25:57', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330928 -2.788679)'), GeomFromEWKT('SRID=4674;POINT (-40.330997 -2.788804)'))) / (select extract(epoch from '2026-07-28 08:25:57'::timestamp) - extract(epoch from '2026-07-28 08:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330928 -2.788679)'), GeomFromEWKT('SRID=4674;POINT (-40.330997 -2.788804)'))) / (select extract(epoch from '2026-07-28 08:25:57'::timestamp) - extract(epoch from '2026-07-28 08:25:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331046 -2.788903)', '2026-07-28 08:26:02', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330997 -2.788804)'), GeomFromEWKT('SRID=4674;POINT (-40.331046 -2.788903)'))) / (select extract(epoch from '2026-07-28 08:26:02'::timestamp) - extract(epoch from '2026-07-28 08:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330997 -2.788804)'), GeomFromEWKT('SRID=4674;POINT (-40.331046 -2.788903)'))) / (select extract(epoch from '2026-07-28 08:26:02'::timestamp) - extract(epoch from '2026-07-28 08:25:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331115 -2.789035)', '2026-07-28 08:26:09', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331046 -2.788903)'), GeomFromEWKT('SRID=4674;POINT (-40.331115 -2.789035)'))) / (select extract(epoch from '2026-07-28 08:26:09'::timestamp) - extract(epoch from '2026-07-28 08:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331046 -2.788903)'), GeomFromEWKT('SRID=4674;POINT (-40.331115 -2.789035)'))) / (select extract(epoch from '2026-07-28 08:26:09'::timestamp) - extract(epoch from '2026-07-28 08:26: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'), 47807, 'SRID=4674;POINT (-40.331198 -2.789191)', '2026-07-28 08:26:17', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331115 -2.789035)'), GeomFromEWKT('SRID=4674;POINT (-40.331198 -2.789191)'))) / (select extract(epoch from '2026-07-28 08:26:17'::timestamp) - extract(epoch from '2026-07-28 08:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331115 -2.789035)'), GeomFromEWKT('SRID=4674;POINT (-40.331198 -2.789191)'))) / (select extract(epoch from '2026-07-28 08:26:17'::timestamp) - extract(epoch from '2026-07-28 08:26:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331271 -2.789331)', '2026-07-28 08:26:25', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331198 -2.789191)'), GeomFromEWKT('SRID=4674;POINT (-40.331271 -2.789331)'))) / (select extract(epoch from '2026-07-28 08:26:25'::timestamp) - extract(epoch from '2026-07-28 08:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331198 -2.789191)'), GeomFromEWKT('SRID=4674;POINT (-40.331271 -2.789331)'))) / (select extract(epoch from '2026-07-28 08:26:25'::timestamp) - extract(epoch from '2026-07-28 08:26:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331326 -2.789468)', '2026-07-28 08:26:32', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331271 -2.789331)'), GeomFromEWKT('SRID=4674;POINT (-40.331326 -2.789468)'))) / (select extract(epoch from '2026-07-28 08:26:32'::timestamp) - extract(epoch from '2026-07-28 08:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331271 -2.789331)'), GeomFromEWKT('SRID=4674;POINT (-40.331326 -2.789468)'))) / (select extract(epoch from '2026-07-28 08:26:32'::timestamp) - extract(epoch from '2026-07-28 08:26: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'), 47807, 'SRID=4674;POINT (-40.331378 -2.789615)', '2026-07-28 08:26:39', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331326 -2.789468)'), GeomFromEWKT('SRID=4674;POINT (-40.331378 -2.789615)'))) / (select extract(epoch from '2026-07-28 08:26:39'::timestamp) - extract(epoch from '2026-07-28 08:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331326 -2.789468)'), GeomFromEWKT('SRID=4674;POINT (-40.331378 -2.789615)'))) / (select extract(epoch from '2026-07-28 08:26:39'::timestamp) - extract(epoch from '2026-07-28 08:26: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'), 47807, 'SRID=4674;POINT (-40.331424 -2.789795)', '2026-07-28 08:26:48', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331378 -2.789615)'), GeomFromEWKT('SRID=4674;POINT (-40.331424 -2.789795)'))) / (select extract(epoch from '2026-07-28 08:26:48'::timestamp) - extract(epoch from '2026-07-28 08:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331378 -2.789615)'), GeomFromEWKT('SRID=4674;POINT (-40.331424 -2.789795)'))) / (select extract(epoch from '2026-07-28 08:26:48'::timestamp) - extract(epoch from '2026-07-28 08:26:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331472 -2.789955)', '2026-07-28 08:26:56', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331424 -2.789795)'), GeomFromEWKT('SRID=4674;POINT (-40.331472 -2.789955)'))) / (select extract(epoch from '2026-07-28 08:26:56'::timestamp) - extract(epoch from '2026-07-28 08:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331424 -2.789795)'), GeomFromEWKT('SRID=4674;POINT (-40.331472 -2.789955)'))) / (select extract(epoch from '2026-07-28 08:26:56'::timestamp) - extract(epoch from '2026-07-28 08:26: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'), 47807, 'SRID=4674;POINT (-40.331508 -2.790145)', '2026-07-28 08:27:05', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331472 -2.789955)'), GeomFromEWKT('SRID=4674;POINT (-40.331508 -2.790145)'))) / (select extract(epoch from '2026-07-28 08:27:05'::timestamp) - extract(epoch from '2026-07-28 08:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331472 -2.789955)'), GeomFromEWKT('SRID=4674;POINT (-40.331508 -2.790145)'))) / (select extract(epoch from '2026-07-28 08:27:05'::timestamp) - extract(epoch from '2026-07-28 08:26:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331504 -2.790302)', '2026-07-28 08:27:13', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331508 -2.790145)'), GeomFromEWKT('SRID=4674;POINT (-40.331504 -2.790302)'))) / (select extract(epoch from '2026-07-28 08:27:13'::timestamp) - extract(epoch from '2026-07-28 08:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331508 -2.790145)'), GeomFromEWKT('SRID=4674;POINT (-40.331504 -2.790302)'))) / (select extract(epoch from '2026-07-28 08:27:13'::timestamp) - extract(epoch from '2026-07-28 08:27:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331489 -2.790401)', '2026-07-28 08:27:21', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331504 -2.790302)'), GeomFromEWKT('SRID=4674;POINT (-40.331489 -2.790401)'))) / (select extract(epoch from '2026-07-28 08:27:21'::timestamp) - extract(epoch from '2026-07-28 08:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331504 -2.790302)'), GeomFromEWKT('SRID=4674;POINT (-40.331489 -2.790401)'))) / (select extract(epoch from '2026-07-28 08:27:21'::timestamp) - extract(epoch from '2026-07-28 08:27: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'), 47807, 'SRID=4674;POINT (-40.331459 -2.79044)', '2026-07-28 08:27:30', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331489 -2.790401)'), GeomFromEWKT('SRID=4674;POINT (-40.331459 -2.79044)'))) / (select extract(epoch from '2026-07-28 08:27:30'::timestamp) - extract(epoch from '2026-07-28 08:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331489 -2.790401)'), GeomFromEWKT('SRID=4674;POINT (-40.331459 -2.79044)'))) / (select extract(epoch from '2026-07-28 08:27:30'::timestamp) - extract(epoch from '2026-07-28 08:27: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'), 47807, 'SRID=4674;POINT (-40.331454 -2.790439)', '2026-07-28 08:27:45', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331459 -2.79044)'), GeomFromEWKT('SRID=4674;POINT (-40.331454 -2.790439)'))) / (select extract(epoch from '2026-07-28 08:27:45'::timestamp) - extract(epoch from '2026-07-28 08:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331459 -2.79044)'), GeomFromEWKT('SRID=4674;POINT (-40.331454 -2.790439)'))) / (select extract(epoch from '2026-07-28 08:27:45'::timestamp) - extract(epoch from '2026-07-28 08:27: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'), 47807, 'SRID=4674;POINT (-40.331424 -2.790439)', '2026-07-28 08:28:02', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331454 -2.790439)'), GeomFromEWKT('SRID=4674;POINT (-40.331424 -2.790439)'))) / (select extract(epoch from '2026-07-28 08:28:02'::timestamp) - extract(epoch from '2026-07-28 08:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331454 -2.790439)'), GeomFromEWKT('SRID=4674;POINT (-40.331424 -2.790439)'))) / (select extract(epoch from '2026-07-28 08:28:02'::timestamp) - extract(epoch from '2026-07-28 08:27: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'), 47807, 'SRID=4674;POINT (-40.331414 -2.790431)', '2026-07-28 08:28:11', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331424 -2.790439)'), GeomFromEWKT('SRID=4674;POINT (-40.331414 -2.790431)'))) / (select extract(epoch from '2026-07-28 08:28:11'::timestamp) - extract(epoch from '2026-07-28 08:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331424 -2.790439)'), GeomFromEWKT('SRID=4674;POINT (-40.331414 -2.790431)'))) / (select extract(epoch from '2026-07-28 08:28:11'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.331391 -2.790416)', '2026-07-28 08:28:22', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331414 -2.790431)'), GeomFromEWKT('SRID=4674;POINT (-40.331391 -2.790416)'))) / (select extract(epoch from '2026-07-28 08:28:22'::timestamp) - extract(epoch from '2026-07-28 08:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331414 -2.790431)'), GeomFromEWKT('SRID=4674;POINT (-40.331391 -2.790416)'))) / (select extract(epoch from '2026-07-28 08:28:22'::timestamp) - extract(epoch from '2026-07-28 08:28: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'), 47807, 'SRID=4674;POINT (-40.331392 -2.790405)', '2026-07-28 08:28:36', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331391 -2.790416)'), GeomFromEWKT('SRID=4674;POINT (-40.331392 -2.790405)'))) / (select extract(epoch from '2026-07-28 08:28:36'::timestamp) - extract(epoch from '2026-07-28 08:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331391 -2.790416)'), GeomFromEWKT('SRID=4674;POINT (-40.331392 -2.790405)'))) / (select extract(epoch from '2026-07-28 08:28:36'::timestamp) - extract(epoch from '2026-07-28 08:28: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'), 47807, 'SRID=4674;POINT (-40.331396 -2.790403)', '2026-07-28 08:28:47', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331392 -2.790405)'), GeomFromEWKT('SRID=4674;POINT (-40.331396 -2.790403)'))) / (select extract(epoch from '2026-07-28 08:28:47'::timestamp) - extract(epoch from '2026-07-28 08:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331392 -2.790405)'), GeomFromEWKT('SRID=4674;POINT (-40.331396 -2.790403)'))) / (select extract(epoch from '2026-07-28 08:28:47'::timestamp) - extract(epoch from '2026-07-28 08:28: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'), 47807, 'SRID=4674;POINT (-40.331388 -2.790379)', '2026-07-28 08:29:02', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331396 -2.790403)'), GeomFromEWKT('SRID=4674;POINT (-40.331388 -2.790379)'))) / (select extract(epoch from '2026-07-28 08:29:02'::timestamp) - extract(epoch from '2026-07-28 08:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331396 -2.790403)'), GeomFromEWKT('SRID=4674;POINT (-40.331388 -2.790379)'))) / (select extract(epoch from '2026-07-28 08:29:02'::timestamp) - extract(epoch from '2026-07-28 08:28: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'), 47807, 'SRID=4674;POINT (-40.331382 -2.790352)', '2026-07-28 08:29:17', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331388 -2.790379)'), GeomFromEWKT('SRID=4674;POINT (-40.331382 -2.790352)'))) / (select extract(epoch from '2026-07-28 08:29:17'::timestamp) - extract(epoch from '2026-07-28 08:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331388 -2.790379)'), GeomFromEWKT('SRID=4674;POINT (-40.331382 -2.790352)'))) / (select extract(epoch from '2026-07-28 08:29:17'::timestamp) - extract(epoch from '2026-07-28 08:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331378 -2.79034)', '2026-07-28 08:29:33', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331382 -2.790352)'), GeomFromEWKT('SRID=4674;POINT (-40.331378 -2.79034)'))) / (select extract(epoch from '2026-07-28 08:29:33'::timestamp) - extract(epoch from '2026-07-28 08:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331382 -2.790352)'), GeomFromEWKT('SRID=4674;POINT (-40.331378 -2.79034)'))) / (select extract(epoch from '2026-07-28 08:29:33'::timestamp) - extract(epoch from '2026-07-28 08:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331377 -2.790325)', '2026-07-28 08:29:50', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331378 -2.79034)'), GeomFromEWKT('SRID=4674;POINT (-40.331377 -2.790325)'))) / (select extract(epoch from '2026-07-28 08:29:50'::timestamp) - extract(epoch from '2026-07-28 08:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331378 -2.79034)'), GeomFromEWKT('SRID=4674;POINT (-40.331377 -2.790325)'))) / (select extract(epoch from '2026-07-28 08:29:50'::timestamp) - extract(epoch from '2026-07-28 08:29: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'), 47807, 'SRID=4674;POINT (-40.331381 -2.790316)', '2026-07-28 08:30:14', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331377 -2.790325)'), GeomFromEWKT('SRID=4674;POINT (-40.331381 -2.790316)'))) / (select extract(epoch from '2026-07-28 08:30:14'::timestamp) - extract(epoch from '2026-07-28 08:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331377 -2.790325)'), GeomFromEWKT('SRID=4674;POINT (-40.331381 -2.790316)'))) / (select extract(epoch from '2026-07-28 08:30:14'::timestamp) - extract(epoch from '2026-07-28 08:29:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331368 -2.790317)', '2026-07-28 08:30:33', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331381 -2.790316)'), GeomFromEWKT('SRID=4674;POINT (-40.331368 -2.790317)'))) / (select extract(epoch from '2026-07-28 08:30:33'::timestamp) - extract(epoch from '2026-07-28 08:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331381 -2.790316)'), GeomFromEWKT('SRID=4674;POINT (-40.331368 -2.790317)'))) / (select extract(epoch from '2026-07-28 08:30:33'::timestamp) - extract(epoch from '2026-07-28 08:30:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331371 -2.790312)', '2026-07-28 08:30:45', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331368 -2.790317)'), GeomFromEWKT('SRID=4674;POINT (-40.331371 -2.790312)'))) / (select extract(epoch from '2026-07-28 08:30:45'::timestamp) - extract(epoch from '2026-07-28 08:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331368 -2.790317)'), GeomFromEWKT('SRID=4674;POINT (-40.331371 -2.790312)'))) / (select extract(epoch from '2026-07-28 08:30:45'::timestamp) - extract(epoch from '2026-07-28 08:30: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'), 47807, 'SRID=4674;POINT (-40.331367 -2.790317)', '2026-07-28 08:31:04', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331371 -2.790312)'), GeomFromEWKT('SRID=4674;POINT (-40.331367 -2.790317)'))) / (select extract(epoch from '2026-07-28 08:31:04'::timestamp) - extract(epoch from '2026-07-28 08:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331371 -2.790312)'), GeomFromEWKT('SRID=4674;POINT (-40.331367 -2.790317)'))) / (select extract(epoch from '2026-07-28 08:31:04'::timestamp) - extract(epoch from '2026-07-28 08:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331356 -2.790323)', '2026-07-28 08:31:27', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331367 -2.790317)'), GeomFromEWKT('SRID=4674;POINT (-40.331356 -2.790323)'))) / (select extract(epoch from '2026-07-28 08:31:27'::timestamp) - extract(epoch from '2026-07-28 08:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331367 -2.790317)'), GeomFromEWKT('SRID=4674;POINT (-40.331356 -2.790323)'))) / (select extract(epoch from '2026-07-28 08:31:27'::timestamp) - extract(epoch from '2026-07-28 08:31: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'), 47807, 'SRID=4674;POINT (-40.331349 -2.790313)', '2026-07-28 08:31:40', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331356 -2.790323)'), GeomFromEWKT('SRID=4674;POINT (-40.331349 -2.790313)'))) / (select extract(epoch from '2026-07-28 08:31:40'::timestamp) - extract(epoch from '2026-07-28 08:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331356 -2.790323)'), GeomFromEWKT('SRID=4674;POINT (-40.331349 -2.790313)'))) / (select extract(epoch from '2026-07-28 08:31:40'::timestamp) - extract(epoch from '2026-07-28 08:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.33136 -2.790323)', '2026-07-28 08:32:03', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331349 -2.790313)'), GeomFromEWKT('SRID=4674;POINT (-40.33136 -2.790323)'))) / (select extract(epoch from '2026-07-28 08:32:03'::timestamp) - extract(epoch from '2026-07-28 08:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331349 -2.790313)'), GeomFromEWKT('SRID=4674;POINT (-40.33136 -2.790323)'))) / (select extract(epoch from '2026-07-28 08:32:03'::timestamp) - extract(epoch from '2026-07-28 08:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331349 -2.790324)', '2026-07-28 08:32:12', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33136 -2.790323)'), GeomFromEWKT('SRID=4674;POINT (-40.331349 -2.790324)'))) / (select extract(epoch from '2026-07-28 08:32:12'::timestamp) - extract(epoch from '2026-07-28 08:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33136 -2.790323)'), GeomFromEWKT('SRID=4674;POINT (-40.331349 -2.790324)'))) / (select extract(epoch from '2026-07-28 08:32:12'::timestamp) - extract(epoch from '2026-07-28 08:32: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'), 47807, 'SRID=4674;POINT (-40.331294 -2.790329)', '2026-07-28 08:32:27', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331349 -2.790324)'), GeomFromEWKT('SRID=4674;POINT (-40.331294 -2.790329)'))) / (select extract(epoch from '2026-07-28 08:32:27'::timestamp) - extract(epoch from '2026-07-28 08:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331349 -2.790324)'), GeomFromEWKT('SRID=4674;POINT (-40.331294 -2.790329)'))) / (select extract(epoch from '2026-07-28 08:32:27'::timestamp) - extract(epoch from '2026-07-28 08:32:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331224 -2.790364)', '2026-07-28 08:32:44', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331294 -2.790329)'), GeomFromEWKT('SRID=4674;POINT (-40.331224 -2.790364)'))) / (select extract(epoch from '2026-07-28 08:32:44'::timestamp) - extract(epoch from '2026-07-28 08:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331294 -2.790329)'), GeomFromEWKT('SRID=4674;POINT (-40.331224 -2.790364)'))) / (select extract(epoch from '2026-07-28 08:32:44'::timestamp) - extract(epoch from '2026-07-28 08:32:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331141 -2.790388)', '2026-07-28 08:32:59', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331224 -2.790364)'), GeomFromEWKT('SRID=4674;POINT (-40.331141 -2.790388)'))) / (select extract(epoch from '2026-07-28 08:32:59'::timestamp) - extract(epoch from '2026-07-28 08:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331224 -2.790364)'), GeomFromEWKT('SRID=4674;POINT (-40.331141 -2.790388)'))) / (select extract(epoch from '2026-07-28 08:32:59'::timestamp) - extract(epoch from '2026-07-28 08:32: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'), 47807, 'SRID=4674;POINT (-40.331092 -2.790406)', '2026-07-28 08:33:15', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331141 -2.790388)'), GeomFromEWKT('SRID=4674;POINT (-40.331092 -2.790406)'))) / (select extract(epoch from '2026-07-28 08:33:15'::timestamp) - extract(epoch from '2026-07-28 08:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331141 -2.790388)'), GeomFromEWKT('SRID=4674;POINT (-40.331092 -2.790406)'))) / (select extract(epoch from '2026-07-28 08:33:15'::timestamp) - extract(epoch from '2026-07-28 08:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331071 -2.790418)', '2026-07-28 08:33:30', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331092 -2.790406)'), GeomFromEWKT('SRID=4674;POINT (-40.331071 -2.790418)'))) / (select extract(epoch from '2026-07-28 08:33:30'::timestamp) - extract(epoch from '2026-07-28 08:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331092 -2.790406)'), GeomFromEWKT('SRID=4674;POINT (-40.331071 -2.790418)'))) / (select extract(epoch from '2026-07-28 08:33:30'::timestamp) - extract(epoch from '2026-07-28 08:33:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331052 -2.79041)', '2026-07-28 08:33:40', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331071 -2.790418)'), GeomFromEWKT('SRID=4674;POINT (-40.331052 -2.79041)'))) / (select extract(epoch from '2026-07-28 08:33:40'::timestamp) - extract(epoch from '2026-07-28 08:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331071 -2.790418)'), GeomFromEWKT('SRID=4674;POINT (-40.331052 -2.79041)'))) / (select extract(epoch from '2026-07-28 08:33:40'::timestamp) - extract(epoch from '2026-07-28 08:33:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331032 -2.790393)', '2026-07-28 08:33:52', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331052 -2.79041)'), GeomFromEWKT('SRID=4674;POINT (-40.331032 -2.790393)'))) / (select extract(epoch from '2026-07-28 08:33:52'::timestamp) - extract(epoch from '2026-07-28 08:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331052 -2.79041)'), GeomFromEWKT('SRID=4674;POINT (-40.331032 -2.790393)'))) / (select extract(epoch from '2026-07-28 08:33:52'::timestamp) - extract(epoch from '2026-07-28 08:33: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'), 47807, 'SRID=4674;POINT (-40.33102 -2.790396)', '2026-07-28 08:34:09', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331032 -2.790393)'), GeomFromEWKT('SRID=4674;POINT (-40.33102 -2.790396)'))) / (select extract(epoch from '2026-07-28 08:34:09'::timestamp) - extract(epoch from '2026-07-28 08:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331032 -2.790393)'), GeomFromEWKT('SRID=4674;POINT (-40.33102 -2.790396)'))) / (select extract(epoch from '2026-07-28 08:34:09'::timestamp) - extract(epoch from '2026-07-28 08:33:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331006 -2.790392)', '2026-07-28 08:34:25', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33102 -2.790396)'), GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.790392)'))) / (select extract(epoch from '2026-07-28 08:34:25'::timestamp) - extract(epoch from '2026-07-28 08:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33102 -2.790396)'), GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.790392)'))) / (select extract(epoch from '2026-07-28 08:34:25'::timestamp) - extract(epoch from '2026-07-28 08:34: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'), 47807, 'SRID=4674;POINT (-40.331004 -2.790396)', '2026-07-28 08:34:39', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.790392)'), GeomFromEWKT('SRID=4674;POINT (-40.331004 -2.790396)'))) / (select extract(epoch from '2026-07-28 08:34:39'::timestamp) - extract(epoch from '2026-07-28 08:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.790392)'), GeomFromEWKT('SRID=4674;POINT (-40.331004 -2.790396)'))) / (select extract(epoch from '2026-07-28 08:34:39'::timestamp) - extract(epoch from '2026-07-28 08:34: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'), 47807, 'SRID=4674;POINT (-40.331004 -2.790401)', '2026-07-28 08:34:59', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331004 -2.790396)'), GeomFromEWKT('SRID=4674;POINT (-40.331004 -2.790401)'))) / (select extract(epoch from '2026-07-28 08:34:59'::timestamp) - extract(epoch from '2026-07-28 08:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331004 -2.790396)'), GeomFromEWKT('SRID=4674;POINT (-40.331004 -2.790401)'))) / (select extract(epoch from '2026-07-28 08:34:59'::timestamp) - extract(epoch from '2026-07-28 08:34: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'), 47807, 'SRID=4674;POINT (-40.331006 -2.790407)', '2026-07-28 08:35:15', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331004 -2.790401)'), GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.790407)'))) / (select extract(epoch from '2026-07-28 08:35:15'::timestamp) - extract(epoch from '2026-07-28 08:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331004 -2.790401)'), GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.790407)'))) / (select extract(epoch from '2026-07-28 08:35:15'::timestamp) - extract(epoch from '2026-07-28 08:34:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.330999 -2.790397)', '2026-07-28 08:35:29', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.790407)'), GeomFromEWKT('SRID=4674;POINT (-40.330999 -2.790397)'))) / (select extract(epoch from '2026-07-28 08:35:29'::timestamp) - extract(epoch from '2026-07-28 08:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.790407)'), GeomFromEWKT('SRID=4674;POINT (-40.330999 -2.790397)'))) / (select extract(epoch from '2026-07-28 08:35:29'::timestamp) - extract(epoch from '2026-07-28 08:35:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331006 -2.790396)', '2026-07-28 08:35:49', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330999 -2.790397)'), GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.790396)'))) / (select extract(epoch from '2026-07-28 08:35:49'::timestamp) - extract(epoch from '2026-07-28 08:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330999 -2.790397)'), GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.790396)'))) / (select extract(epoch from '2026-07-28 08:35:49'::timestamp) - extract(epoch from '2026-07-28 08:35: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'), 47807, 'SRID=4674;POINT (-40.331014 -2.790406)', '2026-07-28 08:36:03', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.790396)'), GeomFromEWKT('SRID=4674;POINT (-40.331014 -2.790406)'))) / (select extract(epoch from '2026-07-28 08:36:03'::timestamp) - extract(epoch from '2026-07-28 08:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.790396)'), GeomFromEWKT('SRID=4674;POINT (-40.331014 -2.790406)'))) / (select extract(epoch from '2026-07-28 08:36:03'::timestamp) - extract(epoch from '2026-07-28 08:35: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'), 47807, 'SRID=4674;POINT (-40.33102 -2.790408)', '2026-07-28 08:36:22', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331014 -2.790406)'), GeomFromEWKT('SRID=4674;POINT (-40.33102 -2.790408)'))) / (select extract(epoch from '2026-07-28 08:36:22'::timestamp) - extract(epoch from '2026-07-28 08:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331014 -2.790406)'), GeomFromEWKT('SRID=4674;POINT (-40.33102 -2.790408)'))) / (select extract(epoch from '2026-07-28 08:36:22'::timestamp) - extract(epoch from '2026-07-28 08:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331024 -2.790415)', '2026-07-28 08:36:39', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33102 -2.790408)'), GeomFromEWKT('SRID=4674;POINT (-40.331024 -2.790415)'))) / (select extract(epoch from '2026-07-28 08:36:39'::timestamp) - extract(epoch from '2026-07-28 08:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33102 -2.790408)'), GeomFromEWKT('SRID=4674;POINT (-40.331024 -2.790415)'))) / (select extract(epoch from '2026-07-28 08:36:39'::timestamp) - extract(epoch from '2026-07-28 08:36:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331015 -2.79042)', '2026-07-28 08:36:55', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331024 -2.790415)'), GeomFromEWKT('SRID=4674;POINT (-40.331015 -2.79042)'))) / (select extract(epoch from '2026-07-28 08:36:55'::timestamp) - extract(epoch from '2026-07-28 08:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331024 -2.790415)'), GeomFromEWKT('SRID=4674;POINT (-40.331015 -2.79042)'))) / (select extract(epoch from '2026-07-28 08:36:55'::timestamp) - extract(epoch from '2026-07-28 08:36: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'), 47807, 'SRID=4674;POINT (-40.331006 -2.790421)', '2026-07-28 08:37:09', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331015 -2.79042)'), GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.790421)'))) / (select extract(epoch from '2026-07-28 08:37:09'::timestamp) - extract(epoch from '2026-07-28 08:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331015 -2.79042)'), GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.790421)'))) / (select extract(epoch from '2026-07-28 08:37:09'::timestamp) - extract(epoch from '2026-07-28 08:36: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'), 47807, 'SRID=4674;POINT (-40.331 -2.790421)', '2026-07-28 08:37:17', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.790421)'), GeomFromEWKT('SRID=4674;POINT (-40.331 -2.790421)'))) / (select extract(epoch from '2026-07-28 08:37:17'::timestamp) - extract(epoch from '2026-07-28 08:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.790421)'), GeomFromEWKT('SRID=4674;POINT (-40.331 -2.790421)'))) / (select extract(epoch from '2026-07-28 08:37:17'::timestamp) - extract(epoch from '2026-07-28 08:37:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.330988 -2.790433)', '2026-07-28 08:37:29', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331 -2.790421)'), GeomFromEWKT('SRID=4674;POINT (-40.330988 -2.790433)'))) / (select extract(epoch from '2026-07-28 08:37:29'::timestamp) - extract(epoch from '2026-07-28 08:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331 -2.790421)'), GeomFromEWKT('SRID=4674;POINT (-40.330988 -2.790433)'))) / (select extract(epoch from '2026-07-28 08:37:29'::timestamp) - extract(epoch from '2026-07-28 08:37:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.330954 -2.790437)', '2026-07-28 08:37:42', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330988 -2.790433)'), GeomFromEWKT('SRID=4674;POINT (-40.330954 -2.790437)'))) / (select extract(epoch from '2026-07-28 08:37:42'::timestamp) - extract(epoch from '2026-07-28 08:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330988 -2.790433)'), GeomFromEWKT('SRID=4674;POINT (-40.330954 -2.790437)'))) / (select extract(epoch from '2026-07-28 08:37:42'::timestamp) - extract(epoch from '2026-07-28 08:37: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'), 47807, 'SRID=4674;POINT (-40.330879 -2.790434)', '2026-07-28 08:37:59', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330954 -2.790437)'), GeomFromEWKT('SRID=4674;POINT (-40.330879 -2.790434)'))) / (select extract(epoch from '2026-07-28 08:37:59'::timestamp) - extract(epoch from '2026-07-28 08:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330954 -2.790437)'), GeomFromEWKT('SRID=4674;POINT (-40.330879 -2.790434)'))) / (select extract(epoch from '2026-07-28 08:37:59'::timestamp) - extract(epoch from '2026-07-28 08:37: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'), 47807, 'SRID=4674;POINT (-40.330877 -2.790438)', '2026-07-28 08:38:10', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330879 -2.790434)'), GeomFromEWKT('SRID=4674;POINT (-40.330877 -2.790438)'))) / (select extract(epoch from '2026-07-28 08:38:10'::timestamp) - extract(epoch from '2026-07-28 08:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330879 -2.790434)'), GeomFromEWKT('SRID=4674;POINT (-40.330877 -2.790438)'))) / (select extract(epoch from '2026-07-28 08:38:10'::timestamp) - extract(epoch from '2026-07-28 08:37:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.330926 -2.790419)', '2026-07-28 08:38:23', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330877 -2.790438)'), GeomFromEWKT('SRID=4674;POINT (-40.330926 -2.790419)'))) / (select extract(epoch from '2026-07-28 08:38:23'::timestamp) - extract(epoch from '2026-07-28 08:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330877 -2.790438)'), GeomFromEWKT('SRID=4674;POINT (-40.330926 -2.790419)'))) / (select extract(epoch from '2026-07-28 08:38:23'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.331019 -2.790369)', '2026-07-28 08:38:43', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330926 -2.790419)'), GeomFromEWKT('SRID=4674;POINT (-40.331019 -2.790369)'))) / (select extract(epoch from '2026-07-28 08:38:43'::timestamp) - extract(epoch from '2026-07-28 08:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330926 -2.790419)'), GeomFromEWKT('SRID=4674;POINT (-40.331019 -2.790369)'))) / (select extract(epoch from '2026-07-28 08:38:43'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.331083 -2.790414)', '2026-07-28 08:38:53', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331019 -2.790369)'), GeomFromEWKT('SRID=4674;POINT (-40.331083 -2.790414)'))) / (select extract(epoch from '2026-07-28 08:38:53'::timestamp) - extract(epoch from '2026-07-28 08:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331019 -2.790369)'), GeomFromEWKT('SRID=4674;POINT (-40.331083 -2.790414)'))) / (select extract(epoch from '2026-07-28 08:38:53'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.331115 -2.790531)', '2026-07-28 08:39:01', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331083 -2.790414)'), GeomFromEWKT('SRID=4674;POINT (-40.331115 -2.790531)'))) / (select extract(epoch from '2026-07-28 08:39:01'::timestamp) - extract(epoch from '2026-07-28 08:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331083 -2.790414)'), GeomFromEWKT('SRID=4674;POINT (-40.331115 -2.790531)'))) / (select extract(epoch from '2026-07-28 08:39:01'::timestamp) - extract(epoch from '2026-07-28 08:38: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'), 47807, 'SRID=4674;POINT (-40.331076 -2.790699)', '2026-07-28 08:39:11', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331115 -2.790531)'), GeomFromEWKT('SRID=4674;POINT (-40.331076 -2.790699)'))) / (select extract(epoch from '2026-07-28 08:39:11'::timestamp) - extract(epoch from '2026-07-28 08:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331115 -2.790531)'), GeomFromEWKT('SRID=4674;POINT (-40.331076 -2.790699)'))) / (select extract(epoch from '2026-07-28 08:39:11'::timestamp) - extract(epoch from '2026-07-28 08:39: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'), 47807, 'SRID=4674;POINT (-40.33105 -2.790822)', '2026-07-28 08:39:18', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331076 -2.790699)'), GeomFromEWKT('SRID=4674;POINT (-40.33105 -2.790822)'))) / (select extract(epoch from '2026-07-28 08:39:18'::timestamp) - extract(epoch from '2026-07-28 08:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331076 -2.790699)'), GeomFromEWKT('SRID=4674;POINT (-40.33105 -2.790822)'))) / (select extract(epoch from '2026-07-28 08:39:18'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.331045 -2.790939)', '2026-07-28 08:39:24', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33105 -2.790822)'), GeomFromEWKT('SRID=4674;POINT (-40.331045 -2.790939)'))) / (select extract(epoch from '2026-07-28 08:39:24'::timestamp) - extract(epoch from '2026-07-28 08:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33105 -2.790822)'), GeomFromEWKT('SRID=4674;POINT (-40.331045 -2.790939)'))) / (select extract(epoch from '2026-07-28 08:39:24'::timestamp) - extract(epoch from '2026-07-28 08:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331086 -2.791088)', '2026-07-28 08:39:32', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331045 -2.790939)'), GeomFromEWKT('SRID=4674;POINT (-40.331086 -2.791088)'))) / (select extract(epoch from '2026-07-28 08:39:32'::timestamp) - extract(epoch from '2026-07-28 08:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331045 -2.790939)'), GeomFromEWKT('SRID=4674;POINT (-40.331086 -2.791088)'))) / (select extract(epoch from '2026-07-28 08:39:32'::timestamp) - extract(epoch from '2026-07-28 08:39: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'), 47807, 'SRID=4674;POINT (-40.331135 -2.791247)', '2026-07-28 08:39:40', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331086 -2.791088)'), GeomFromEWKT('SRID=4674;POINT (-40.331135 -2.791247)'))) / (select extract(epoch from '2026-07-28 08:39:40'::timestamp) - extract(epoch from '2026-07-28 08:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331086 -2.791088)'), GeomFromEWKT('SRID=4674;POINT (-40.331135 -2.791247)'))) / (select extract(epoch from '2026-07-28 08:39:40'::timestamp) - extract(epoch from '2026-07-28 08:39: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'), 47807, 'SRID=4674;POINT (-40.331149 -2.791401)', '2026-07-28 08:39:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331135 -2.791247)'), GeomFromEWKT('SRID=4674;POINT (-40.331149 -2.791401)'))) / (select extract(epoch from '2026-07-28 08:39:48'::timestamp) - extract(epoch from '2026-07-28 08:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331135 -2.791247)'), GeomFromEWKT('SRID=4674;POINT (-40.331149 -2.791401)'))) / (select extract(epoch from '2026-07-28 08:39:48'::timestamp) - extract(epoch from '2026-07-28 08:39: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'), 47807, 'SRID=4674;POINT (-40.331142 -2.791595)', '2026-07-28 08:39:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331149 -2.791401)'), GeomFromEWKT('SRID=4674;POINT (-40.331142 -2.791595)'))) / (select extract(epoch from '2026-07-28 08:39:58'::timestamp) - extract(epoch from '2026-07-28 08:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331149 -2.791401)'), GeomFromEWKT('SRID=4674;POINT (-40.331142 -2.791595)'))) / (select extract(epoch from '2026-07-28 08:39:58'::timestamp) - extract(epoch from '2026-07-28 08:39: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'), 47807, 'SRID=4674;POINT (-40.331128 -2.791748)', '2026-07-28 08:40:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331142 -2.791595)'), GeomFromEWKT('SRID=4674;POINT (-40.331128 -2.791748)'))) / (select extract(epoch from '2026-07-28 08:40:06'::timestamp) - extract(epoch from '2026-07-28 08:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331142 -2.791595)'), GeomFromEWKT('SRID=4674;POINT (-40.331128 -2.791748)'))) / (select extract(epoch from '2026-07-28 08:40:06'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.331099 -2.791913)', '2026-07-28 08:40:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331128 -2.791748)'), GeomFromEWKT('SRID=4674;POINT (-40.331099 -2.791913)'))) / (select extract(epoch from '2026-07-28 08:40:15'::timestamp) - extract(epoch from '2026-07-28 08:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331128 -2.791748)'), GeomFromEWKT('SRID=4674;POINT (-40.331099 -2.791913)'))) / (select extract(epoch from '2026-07-28 08:40:15'::timestamp) - extract(epoch from '2026-07-28 08:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331071 -2.79208)', '2026-07-28 08:40:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331099 -2.791913)'), GeomFromEWKT('SRID=4674;POINT (-40.331071 -2.79208)'))) / (select extract(epoch from '2026-07-28 08:40:23'::timestamp) - extract(epoch from '2026-07-28 08:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331099 -2.791913)'), GeomFromEWKT('SRID=4674;POINT (-40.331071 -2.79208)'))) / (select extract(epoch from '2026-07-28 08:40:23'::timestamp) - extract(epoch from '2026-07-28 08:40:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.33102 -2.792188)', '2026-07-28 08:40:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331071 -2.79208)'), GeomFromEWKT('SRID=4674;POINT (-40.33102 -2.792188)'))) / (select extract(epoch from '2026-07-28 08:40:30'::timestamp) - extract(epoch from '2026-07-28 08:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331071 -2.79208)'), GeomFromEWKT('SRID=4674;POINT (-40.33102 -2.792188)'))) / (select extract(epoch from '2026-07-28 08:40:30'::timestamp) - extract(epoch from '2026-07-28 08:40:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.330974 -2.792202)', '2026-07-28 08:40:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33102 -2.792188)'), GeomFromEWKT('SRID=4674;POINT (-40.330974 -2.792202)'))) / (select extract(epoch from '2026-07-28 08:40:38'::timestamp) - extract(epoch from '2026-07-28 08:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33102 -2.792188)'), GeomFromEWKT('SRID=4674;POINT (-40.330974 -2.792202)'))) / (select extract(epoch from '2026-07-28 08:40:38'::timestamp) - extract(epoch from '2026-07-28 08:40: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'), 47807, 'SRID=4674;POINT (-40.330973 -2.792199)', '2026-07-28 08:40:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330974 -2.792202)'), GeomFromEWKT('SRID=4674;POINT (-40.330973 -2.792199)'))) / (select extract(epoch from '2026-07-28 08:40:46'::timestamp) - extract(epoch from '2026-07-28 08:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330974 -2.792202)'), GeomFromEWKT('SRID=4674;POINT (-40.330973 -2.792199)'))) / (select extract(epoch from '2026-07-28 08:40:46'::timestamp) - extract(epoch from '2026-07-28 08:40:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331008 -2.792188)', '2026-07-28 08:40:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330973 -2.792199)'), GeomFromEWKT('SRID=4674;POINT (-40.331008 -2.792188)'))) / (select extract(epoch from '2026-07-28 08:40:59'::timestamp) - extract(epoch from '2026-07-28 08:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330973 -2.792199)'), GeomFromEWKT('SRID=4674;POINT (-40.331008 -2.792188)'))) / (select extract(epoch from '2026-07-28 08:40:59'::timestamp) - extract(epoch from '2026-07-28 08:40: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'), 47807, 'SRID=4674;POINT (-40.331093 -2.792191)', '2026-07-28 08:41:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331008 -2.792188)'), GeomFromEWKT('SRID=4674;POINT (-40.331093 -2.792191)'))) / (select extract(epoch from '2026-07-28 08:41:17'::timestamp) - extract(epoch from '2026-07-28 08:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331008 -2.792188)'), GeomFromEWKT('SRID=4674;POINT (-40.331093 -2.792191)'))) / (select extract(epoch from '2026-07-28 08:41:17'::timestamp) - extract(epoch from '2026-07-28 08:40: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'), 47807, 'SRID=4674;POINT (-40.331142 -2.792176)', '2026-07-28 08:41:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331093 -2.792191)'), GeomFromEWKT('SRID=4674;POINT (-40.331142 -2.792176)'))) / (select extract(epoch from '2026-07-28 08:41:33'::timestamp) - extract(epoch from '2026-07-28 08:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331093 -2.792191)'), GeomFromEWKT('SRID=4674;POINT (-40.331142 -2.792176)'))) / (select extract(epoch from '2026-07-28 08:41:33'::timestamp) - extract(epoch from '2026-07-28 08:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331221 -2.792123)', '2026-07-28 08:41:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331142 -2.792176)'), GeomFromEWKT('SRID=4674;POINT (-40.331221 -2.792123)'))) / (select extract(epoch from '2026-07-28 08:41:55'::timestamp) - extract(epoch from '2026-07-28 08:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331142 -2.792176)'), GeomFromEWKT('SRID=4674;POINT (-40.331221 -2.792123)'))) / (select extract(epoch from '2026-07-28 08:41:55'::timestamp) - extract(epoch from '2026-07-28 08:41: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'), 47807, 'SRID=4674;POINT (-40.331284 -2.792136)', '2026-07-28 08:42:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331221 -2.792123)'), GeomFromEWKT('SRID=4674;POINT (-40.331284 -2.792136)'))) / (select extract(epoch from '2026-07-28 08:42:12'::timestamp) - extract(epoch from '2026-07-28 08:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331221 -2.792123)'), GeomFromEWKT('SRID=4674;POINT (-40.331284 -2.792136)'))) / (select extract(epoch from '2026-07-28 08:42:12'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.331343 -2.792152)', '2026-07-28 08:42:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331284 -2.792136)'), GeomFromEWKT('SRID=4674;POINT (-40.331343 -2.792152)'))) / (select extract(epoch from '2026-07-28 08:42:27'::timestamp) - extract(epoch from '2026-07-28 08:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331284 -2.792136)'), GeomFromEWKT('SRID=4674;POINT (-40.331343 -2.792152)'))) / (select extract(epoch from '2026-07-28 08:42:27'::timestamp) - extract(epoch from '2026-07-28 08:42: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'), 47807, 'SRID=4674;POINT (-40.331411 -2.792177)', '2026-07-28 08:42:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331343 -2.792152)'), GeomFromEWKT('SRID=4674;POINT (-40.331411 -2.792177)'))) / (select extract(epoch from '2026-07-28 08:42:44'::timestamp) - extract(epoch from '2026-07-28 08:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331343 -2.792152)'), GeomFromEWKT('SRID=4674;POINT (-40.331411 -2.792177)'))) / (select extract(epoch from '2026-07-28 08:42:44'::timestamp) - extract(epoch from '2026-07-28 08:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331487 -2.792187)', '2026-07-28 08:43:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331411 -2.792177)'), GeomFromEWKT('SRID=4674;POINT (-40.331487 -2.792187)'))) / (select extract(epoch from '2026-07-28 08:43:01'::timestamp) - extract(epoch from '2026-07-28 08:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331411 -2.792177)'), GeomFromEWKT('SRID=4674;POINT (-40.331487 -2.792187)'))) / (select extract(epoch from '2026-07-28 08:43:01'::timestamp) - extract(epoch from '2026-07-28 08:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331521 -2.792177)', '2026-07-28 08:43:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331487 -2.792187)'), GeomFromEWKT('SRID=4674;POINT (-40.331521 -2.792177)'))) / (select extract(epoch from '2026-07-28 08:43:17'::timestamp) - extract(epoch from '2026-07-28 08:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331487 -2.792187)'), GeomFromEWKT('SRID=4674;POINT (-40.331521 -2.792177)'))) / (select extract(epoch from '2026-07-28 08:43:17'::timestamp) - extract(epoch from '2026-07-28 08:43: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'), 47807, 'SRID=4674;POINT (-40.331586 -2.792154)', '2026-07-28 08:43:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331521 -2.792177)'), GeomFromEWKT('SRID=4674;POINT (-40.331586 -2.792154)'))) / (select extract(epoch from '2026-07-28 08:43:32'::timestamp) - extract(epoch from '2026-07-28 08:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331521 -2.792177)'), GeomFromEWKT('SRID=4674;POINT (-40.331586 -2.792154)'))) / (select extract(epoch from '2026-07-28 08:43:32'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.331662 -2.792139)', '2026-07-28 08:43:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331586 -2.792154)'), GeomFromEWKT('SRID=4674;POINT (-40.331662 -2.792139)'))) / (select extract(epoch from '2026-07-28 08:43:50'::timestamp) - extract(epoch from '2026-07-28 08:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331586 -2.792154)'), GeomFromEWKT('SRID=4674;POINT (-40.331662 -2.792139)'))) / (select extract(epoch from '2026-07-28 08:43:50'::timestamp) - extract(epoch from '2026-07-28 08:43: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'), 47807, 'SRID=4674;POINT (-40.331697 -2.792149)', '2026-07-28 08:44:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331662 -2.792139)'), GeomFromEWKT('SRID=4674;POINT (-40.331697 -2.792149)'))) / (select extract(epoch from '2026-07-28 08:44:04'::timestamp) - extract(epoch from '2026-07-28 08:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331662 -2.792139)'), GeomFromEWKT('SRID=4674;POINT (-40.331697 -2.792149)'))) / (select extract(epoch from '2026-07-28 08:44:04'::timestamp) - extract(epoch from '2026-07-28 08:43:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331747 -2.792144)', '2026-07-28 08:44:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331697 -2.792149)'), GeomFromEWKT('SRID=4674;POINT (-40.331747 -2.792144)'))) / (select extract(epoch from '2026-07-28 08:44:21'::timestamp) - extract(epoch from '2026-07-28 08:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331697 -2.792149)'), GeomFromEWKT('SRID=4674;POINT (-40.331747 -2.792144)'))) / (select extract(epoch from '2026-07-28 08:44:21'::timestamp) - extract(epoch from '2026-07-28 08:44: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'), 47807, 'SRID=4674;POINT (-40.331755 -2.792036)', '2026-07-28 08:44:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331747 -2.792144)'), GeomFromEWKT('SRID=4674;POINT (-40.331755 -2.792036)'))) / (select extract(epoch from '2026-07-28 08:44:29'::timestamp) - extract(epoch from '2026-07-28 08:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331747 -2.792144)'), GeomFromEWKT('SRID=4674;POINT (-40.331755 -2.792036)'))) / (select extract(epoch from '2026-07-28 08:44:29'::timestamp) - extract(epoch from '2026-07-28 08:44: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'), 47807, 'SRID=4674;POINT (-40.331749 -2.791902)', '2026-07-28 08:44:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331755 -2.792036)'), GeomFromEWKT('SRID=4674;POINT (-40.331749 -2.791902)'))) / (select extract(epoch from '2026-07-28 08:44:37'::timestamp) - extract(epoch from '2026-07-28 08:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331755 -2.792036)'), GeomFromEWKT('SRID=4674;POINT (-40.331749 -2.791902)'))) / (select extract(epoch from '2026-07-28 08:44:37'::timestamp) - extract(epoch from '2026-07-28 08:44: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'), 47807, 'SRID=4674;POINT (-40.331693 -2.791801)', '2026-07-28 08:44:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331749 -2.791902)'), GeomFromEWKT('SRID=4674;POINT (-40.331693 -2.791801)'))) / (select extract(epoch from '2026-07-28 08:44:44'::timestamp) - extract(epoch from '2026-07-28 08:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331749 -2.791902)'), GeomFromEWKT('SRID=4674;POINT (-40.331693 -2.791801)'))) / (select extract(epoch from '2026-07-28 08:44:44'::timestamp) - extract(epoch from '2026-07-28 08:44:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331646 -2.791681)', '2026-07-28 08:44:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331693 -2.791801)'), GeomFromEWKT('SRID=4674;POINT (-40.331646 -2.791681)'))) / (select extract(epoch from '2026-07-28 08:44:51'::timestamp) - extract(epoch from '2026-07-28 08:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331693 -2.791801)'), GeomFromEWKT('SRID=4674;POINT (-40.331646 -2.791681)'))) / (select extract(epoch from '2026-07-28 08:44:51'::timestamp) - extract(epoch from '2026-07-28 08:44: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'), 47807, 'SRID=4674;POINT (-40.331688 -2.791567)', '2026-07-28 08:44:57', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331646 -2.791681)'), GeomFromEWKT('SRID=4674;POINT (-40.331688 -2.791567)'))) / (select extract(epoch from '2026-07-28 08:44:57'::timestamp) - extract(epoch from '2026-07-28 08:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331646 -2.791681)'), GeomFromEWKT('SRID=4674;POINT (-40.331688 -2.791567)'))) / (select extract(epoch from '2026-07-28 08:44:57'::timestamp) - extract(epoch from '2026-07-28 08:44:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331718 -2.791479)', '2026-07-28 08:45:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331688 -2.791567)'), GeomFromEWKT('SRID=4674;POINT (-40.331718 -2.791479)'))) / (select extract(epoch from '2026-07-28 08:45:04'::timestamp) - extract(epoch from '2026-07-28 08:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331688 -2.791567)'), GeomFromEWKT('SRID=4674;POINT (-40.331718 -2.791479)'))) / (select extract(epoch from '2026-07-28 08:45:04'::timestamp) - extract(epoch from '2026-07-28 08:44:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.33175 -2.791427)', '2026-07-28 08:45:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331718 -2.791479)'), GeomFromEWKT('SRID=4674;POINT (-40.33175 -2.791427)'))) / (select extract(epoch from '2026-07-28 08:45:12'::timestamp) - extract(epoch from '2026-07-28 08:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331718 -2.791479)'), GeomFromEWKT('SRID=4674;POINT (-40.33175 -2.791427)'))) / (select extract(epoch from '2026-07-28 08:45:12'::timestamp) - extract(epoch from '2026-07-28 08:45: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'), 47807, 'SRID=4674;POINT (-40.331799 -2.791366)', '2026-07-28 08:45:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33175 -2.791427)'), GeomFromEWKT('SRID=4674;POINT (-40.331799 -2.791366)'))) / (select extract(epoch from '2026-07-28 08:45:24'::timestamp) - extract(epoch from '2026-07-28 08:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33175 -2.791427)'), GeomFromEWKT('SRID=4674;POINT (-40.331799 -2.791366)'))) / (select extract(epoch from '2026-07-28 08:45:24'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.331859 -2.791361)', '2026-07-28 08:45:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331799 -2.791366)'), GeomFromEWKT('SRID=4674;POINT (-40.331859 -2.791361)'))) / (select extract(epoch from '2026-07-28 08:45:40'::timestamp) - extract(epoch from '2026-07-28 08:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331799 -2.791366)'), GeomFromEWKT('SRID=4674;POINT (-40.331859 -2.791361)'))) / (select extract(epoch from '2026-07-28 08:45:40'::timestamp) - extract(epoch from '2026-07-28 08:45: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'), 47807, 'SRID=4674;POINT (-40.33193 -2.791358)', '2026-07-28 08:45:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331859 -2.791361)'), GeomFromEWKT('SRID=4674;POINT (-40.33193 -2.791358)'))) / (select extract(epoch from '2026-07-28 08:45:58'::timestamp) - extract(epoch from '2026-07-28 08:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331859 -2.791361)'), GeomFromEWKT('SRID=4674;POINT (-40.33193 -2.791358)'))) / (select extract(epoch from '2026-07-28 08:45:58'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.331985 -2.791335)', '2026-07-28 08:46:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33193 -2.791358)'), GeomFromEWKT('SRID=4674;POINT (-40.331985 -2.791335)'))) / (select extract(epoch from '2026-07-28 08:46:09'::timestamp) - extract(epoch from '2026-07-28 08:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33193 -2.791358)'), GeomFromEWKT('SRID=4674;POINT (-40.331985 -2.791335)'))) / (select extract(epoch from '2026-07-28 08:46:09'::timestamp) - extract(epoch from '2026-07-28 08:45:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.332055 -2.791309)', '2026-07-28 08:46:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331985 -2.791335)'), GeomFromEWKT('SRID=4674;POINT (-40.332055 -2.791309)'))) / (select extract(epoch from '2026-07-28 08:46:24'::timestamp) - extract(epoch from '2026-07-28 08:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331985 -2.791335)'), GeomFromEWKT('SRID=4674;POINT (-40.332055 -2.791309)'))) / (select extract(epoch from '2026-07-28 08:46:24'::timestamp) - extract(epoch from '2026-07-28 08:46: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'), 47807, 'SRID=4674;POINT (-40.332117 -2.791321)', '2026-07-28 08:46:41', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332055 -2.791309)'), GeomFromEWKT('SRID=4674;POINT (-40.332117 -2.791321)'))) / (select extract(epoch from '2026-07-28 08:46:41'::timestamp) - extract(epoch from '2026-07-28 08:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332055 -2.791309)'), GeomFromEWKT('SRID=4674;POINT (-40.332117 -2.791321)'))) / (select extract(epoch from '2026-07-28 08:46:41'::timestamp) - extract(epoch from '2026-07-28 08:46:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.332156 -2.79133)', '2026-07-28 08:46:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332117 -2.791321)'), GeomFromEWKT('SRID=4674;POINT (-40.332156 -2.79133)'))) / (select extract(epoch from '2026-07-28 08:46:52'::timestamp) - extract(epoch from '2026-07-28 08:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332117 -2.791321)'), GeomFromEWKT('SRID=4674;POINT (-40.332156 -2.79133)'))) / (select extract(epoch from '2026-07-28 08:46:52'::timestamp) - extract(epoch from '2026-07-28 08:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.332256 -2.79134)', '2026-07-28 08:47:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332156 -2.79133)'), GeomFromEWKT('SRID=4674;POINT (-40.332256 -2.79134)'))) / (select extract(epoch from '2026-07-28 08:47:15'::timestamp) - extract(epoch from '2026-07-28 08:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332156 -2.79133)'), GeomFromEWKT('SRID=4674;POINT (-40.332256 -2.79134)'))) / (select extract(epoch from '2026-07-28 08:47:15'::timestamp) - extract(epoch from '2026-07-28 08:46:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.332343 -2.791338)', '2026-07-28 08:47:31', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332256 -2.79134)'), GeomFromEWKT('SRID=4674;POINT (-40.332343 -2.791338)'))) / (select extract(epoch from '2026-07-28 08:47:31'::timestamp) - extract(epoch from '2026-07-28 08:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332256 -2.79134)'), GeomFromEWKT('SRID=4674;POINT (-40.332343 -2.791338)'))) / (select extract(epoch from '2026-07-28 08:47:31'::timestamp) - extract(epoch from '2026-07-28 08:47:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.332414 -2.79134)', '2026-07-28 08:47:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332343 -2.791338)'), GeomFromEWKT('SRID=4674;POINT (-40.332414 -2.79134)'))) / (select extract(epoch from '2026-07-28 08:47:48'::timestamp) - extract(epoch from '2026-07-28 08:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332343 -2.791338)'), GeomFromEWKT('SRID=4674;POINT (-40.332414 -2.79134)'))) / (select extract(epoch from '2026-07-28 08:47:48'::timestamp) - extract(epoch from '2026-07-28 08:47:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.3325 -2.791366)', '2026-07-28 08:48:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332414 -2.79134)'), GeomFromEWKT('SRID=4674;POINT (-40.3325 -2.791366)'))) / (select extract(epoch from '2026-07-28 08:48:08'::timestamp) - extract(epoch from '2026-07-28 08:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332414 -2.79134)'), GeomFromEWKT('SRID=4674;POINT (-40.3325 -2.791366)'))) / (select extract(epoch from '2026-07-28 08:48:08'::timestamp) - extract(epoch from '2026-07-28 08:47: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'), 47807, 'SRID=4674;POINT (-40.33257 -2.791371)', '2026-07-28 08:48:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3325 -2.791366)'), GeomFromEWKT('SRID=4674;POINT (-40.33257 -2.791371)'))) / (select extract(epoch from '2026-07-28 08:48:26'::timestamp) - extract(epoch from '2026-07-28 08:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3325 -2.791366)'), GeomFromEWKT('SRID=4674;POINT (-40.33257 -2.791371)'))) / (select extract(epoch from '2026-07-28 08:48:26'::timestamp) - extract(epoch from '2026-07-28 08:48:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.332625 -2.791373)', '2026-07-28 08:48:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33257 -2.791371)'), GeomFromEWKT('SRID=4674;POINT (-40.332625 -2.791373)'))) / (select extract(epoch from '2026-07-28 08:48:39'::timestamp) - extract(epoch from '2026-07-28 08:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33257 -2.791371)'), GeomFromEWKT('SRID=4674;POINT (-40.332625 -2.791373)'))) / (select extract(epoch from '2026-07-28 08:48:39'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.332678 -2.791344)', '2026-07-28 08:48:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332625 -2.791373)'), GeomFromEWKT('SRID=4674;POINT (-40.332678 -2.791344)'))) / (select extract(epoch from '2026-07-28 08:48:57'::timestamp) - extract(epoch from '2026-07-28 08:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332625 -2.791373)'), GeomFromEWKT('SRID=4674;POINT (-40.332678 -2.791344)'))) / (select extract(epoch from '2026-07-28 08:48:57'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.332684 -2.791297)', '2026-07-28 08:49:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332678 -2.791344)'), GeomFromEWKT('SRID=4674;POINT (-40.332684 -2.791297)'))) / (select extract(epoch from '2026-07-28 08:49:11'::timestamp) - extract(epoch from '2026-07-28 08:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332678 -2.791344)'), GeomFromEWKT('SRID=4674;POINT (-40.332684 -2.791297)'))) / (select extract(epoch from '2026-07-28 08:49:11'::timestamp) - extract(epoch from '2026-07-28 08:48:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.332687 -2.791253)', '2026-07-28 08:49:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332684 -2.791297)'), GeomFromEWKT('SRID=4674;POINT (-40.332687 -2.791253)'))) / (select extract(epoch from '2026-07-28 08:49:27'::timestamp) - extract(epoch from '2026-07-28 08:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332684 -2.791297)'), GeomFromEWKT('SRID=4674;POINT (-40.332687 -2.791253)'))) / (select extract(epoch from '2026-07-28 08:49:27'::timestamp) - extract(epoch from '2026-07-28 08:49:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.332688 -2.791262)', '2026-07-28 08:49:44', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332687 -2.791253)'), GeomFromEWKT('SRID=4674;POINT (-40.332688 -2.791262)'))) / (select extract(epoch from '2026-07-28 08:49:44'::timestamp) - extract(epoch from '2026-07-28 08:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332687 -2.791253)'), GeomFromEWKT('SRID=4674;POINT (-40.332688 -2.791262)'))) / (select extract(epoch from '2026-07-28 08:49:44'::timestamp) - extract(epoch from '2026-07-28 08:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.33269 -2.791274)', '2026-07-28 08:49:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332688 -2.791262)'), GeomFromEWKT('SRID=4674;POINT (-40.33269 -2.791274)'))) / (select extract(epoch from '2026-07-28 08:49:53'::timestamp) - extract(epoch from '2026-07-28 08:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332688 -2.791262)'), GeomFromEWKT('SRID=4674;POINT (-40.33269 -2.791274)'))) / (select extract(epoch from '2026-07-28 08:49:53'::timestamp) - extract(epoch from '2026-07-28 08:49: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'), 47807, 'SRID=4674;POINT (-40.332685 -2.79128)', '2026-07-28 08:50:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33269 -2.791274)'), GeomFromEWKT('SRID=4674;POINT (-40.332685 -2.79128)'))) / (select extract(epoch from '2026-07-28 08:50:05'::timestamp) - extract(epoch from '2026-07-28 08:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33269 -2.791274)'), GeomFromEWKT('SRID=4674;POINT (-40.332685 -2.79128)'))) / (select extract(epoch from '2026-07-28 08:50:05'::timestamp) - extract(epoch from '2026-07-28 08:49: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'), 47807, 'SRID=4674;POINT (-40.332684 -2.791267)', '2026-07-28 08:50:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332685 -2.79128)'), GeomFromEWKT('SRID=4674;POINT (-40.332684 -2.791267)'))) / (select extract(epoch from '2026-07-28 08:50:16'::timestamp) - extract(epoch from '2026-07-28 08:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332685 -2.79128)'), GeomFromEWKT('SRID=4674;POINT (-40.332684 -2.791267)'))) / (select extract(epoch from '2026-07-28 08:50:16'::timestamp) - extract(epoch from '2026-07-28 08:50:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.332688 -2.791257)', '2026-07-28 08:50:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332684 -2.791267)'), GeomFromEWKT('SRID=4674;POINT (-40.332688 -2.791257)'))) / (select extract(epoch from '2026-07-28 08:50:32'::timestamp) - extract(epoch from '2026-07-28 08:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332684 -2.791267)'), GeomFromEWKT('SRID=4674;POINT (-40.332688 -2.791257)'))) / (select extract(epoch from '2026-07-28 08:50:32'::timestamp) - extract(epoch from '2026-07-28 08:50: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'), 47807, 'SRID=4674;POINT (-40.332692 -2.791274)', '2026-07-28 08:50:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332688 -2.791257)'), GeomFromEWKT('SRID=4674;POINT (-40.332692 -2.791274)'))) / (select extract(epoch from '2026-07-28 08:50:45'::timestamp) - extract(epoch from '2026-07-28 08:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332688 -2.791257)'), GeomFromEWKT('SRID=4674;POINT (-40.332692 -2.791274)'))) / (select extract(epoch from '2026-07-28 08:50:45'::timestamp) - extract(epoch from '2026-07-28 08:50: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'), 47807, 'SRID=4674;POINT (-40.332695 -2.791282)', '2026-07-28 08:50:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332692 -2.791274)'), GeomFromEWKT('SRID=4674;POINT (-40.332695 -2.791282)'))) / (select extract(epoch from '2026-07-28 08:50:58'::timestamp) - extract(epoch from '2026-07-28 08:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332692 -2.791274)'), GeomFromEWKT('SRID=4674;POINT (-40.332695 -2.791282)'))) / (select extract(epoch from '2026-07-28 08:50:58'::timestamp) - extract(epoch from '2026-07-28 08:50: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'), 47807, 'SRID=4674;POINT (-40.332691 -2.79128)', '2026-07-28 08:51:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332695 -2.791282)'), GeomFromEWKT('SRID=4674;POINT (-40.332691 -2.79128)'))) / (select extract(epoch from '2026-07-28 08:51:12'::timestamp) - extract(epoch from '2026-07-28 08:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332695 -2.791282)'), GeomFromEWKT('SRID=4674;POINT (-40.332691 -2.79128)'))) / (select extract(epoch from '2026-07-28 08:51:12'::timestamp) - extract(epoch from '2026-07-28 08:50: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'), 47807, 'SRID=4674;POINT (-40.332686 -2.791266)', '2026-07-28 08:51:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332691 -2.79128)'), GeomFromEWKT('SRID=4674;POINT (-40.332686 -2.791266)'))) / (select extract(epoch from '2026-07-28 08:51:20'::timestamp) - extract(epoch from '2026-07-28 08:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332691 -2.79128)'), GeomFromEWKT('SRID=4674;POINT (-40.332686 -2.791266)'))) / (select extract(epoch from '2026-07-28 08:51:20'::timestamp) - extract(epoch from '2026-07-28 08:51: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'), 47807, 'SRID=4674;POINT (-40.332676 -2.791271)', '2026-07-28 08:51:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332686 -2.791266)'), GeomFromEWKT('SRID=4674;POINT (-40.332676 -2.791271)'))) / (select extract(epoch from '2026-07-28 08:51:33'::timestamp) - extract(epoch from '2026-07-28 08:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332686 -2.791266)'), GeomFromEWKT('SRID=4674;POINT (-40.332676 -2.791271)'))) / (select extract(epoch from '2026-07-28 08:51:33'::timestamp) - extract(epoch from '2026-07-28 08:51:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.332596 -2.791268)', '2026-07-28 08:51:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332676 -2.791271)'), GeomFromEWKT('SRID=4674;POINT (-40.332596 -2.791268)'))) / (select extract(epoch from '2026-07-28 08:51:45'::timestamp) - extract(epoch from '2026-07-28 08:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332676 -2.791271)'), GeomFromEWKT('SRID=4674;POINT (-40.332596 -2.791268)'))) / (select extract(epoch from '2026-07-28 08:51:45'::timestamp) - extract(epoch from '2026-07-28 08:51: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'), 47807, 'SRID=4674;POINT (-40.332428 -2.791231)', '2026-07-28 08:52:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332596 -2.791268)'), GeomFromEWKT('SRID=4674;POINT (-40.332428 -2.791231)'))) / (select extract(epoch from '2026-07-28 08:52:01'::timestamp) - extract(epoch from '2026-07-28 08:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332596 -2.791268)'), GeomFromEWKT('SRID=4674;POINT (-40.332428 -2.791231)'))) / (select extract(epoch from '2026-07-28 08:52:01'::timestamp) - extract(epoch from '2026-07-28 08:51:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.332297 -2.791129)', '2026-07-28 08:52:13', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332428 -2.791231)'), GeomFromEWKT('SRID=4674;POINT (-40.332297 -2.791129)'))) / (select extract(epoch from '2026-07-28 08:52:13'::timestamp) - extract(epoch from '2026-07-28 08:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332428 -2.791231)'), GeomFromEWKT('SRID=4674;POINT (-40.332297 -2.791129)'))) / (select extract(epoch from '2026-07-28 08:52:13'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.332139 -2.791094)', '2026-07-28 08:52:23', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332297 -2.791129)'), GeomFromEWKT('SRID=4674;POINT (-40.332139 -2.791094)'))) / (select extract(epoch from '2026-07-28 08:52:23'::timestamp) - extract(epoch from '2026-07-28 08:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332297 -2.791129)'), GeomFromEWKT('SRID=4674;POINT (-40.332139 -2.791094)'))) / (select extract(epoch from '2026-07-28 08:52:23'::timestamp) - extract(epoch from '2026-07-28 08:52: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'), 47807, 'SRID=4674;POINT (-40.332046 -2.791062)', '2026-07-28 08:52:31', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332139 -2.791094)'), GeomFromEWKT('SRID=4674;POINT (-40.332046 -2.791062)'))) / (select extract(epoch from '2026-07-28 08:52:31'::timestamp) - extract(epoch from '2026-07-28 08:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332139 -2.791094)'), GeomFromEWKT('SRID=4674;POINT (-40.332046 -2.791062)'))) / (select extract(epoch from '2026-07-28 08:52:31'::timestamp) - extract(epoch from '2026-07-28 08:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331993 -2.79099)', '2026-07-28 08:52:39', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332046 -2.791062)'), GeomFromEWKT('SRID=4674;POINT (-40.331993 -2.79099)'))) / (select extract(epoch from '2026-07-28 08:52:39'::timestamp) - extract(epoch from '2026-07-28 08:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332046 -2.791062)'), GeomFromEWKT('SRID=4674;POINT (-40.331993 -2.79099)'))) / (select extract(epoch from '2026-07-28 08:52:39'::timestamp) - extract(epoch from '2026-07-28 08:52: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'), 47807, 'SRID=4674;POINT (-40.331914 -2.790919)', '2026-07-28 08:52:48', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331993 -2.79099)'), GeomFromEWKT('SRID=4674;POINT (-40.331914 -2.790919)'))) / (select extract(epoch from '2026-07-28 08:52:48'::timestamp) - extract(epoch from '2026-07-28 08:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331993 -2.79099)'), GeomFromEWKT('SRID=4674;POINT (-40.331914 -2.790919)'))) / (select extract(epoch from '2026-07-28 08:52:48'::timestamp) - extract(epoch from '2026-07-28 08:52: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'), 47807, 'SRID=4674;POINT (-40.331833 -2.790924)', '2026-07-28 08:52:55', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331914 -2.790919)'), GeomFromEWKT('SRID=4674;POINT (-40.331833 -2.790924)'))) / (select extract(epoch from '2026-07-28 08:52:55'::timestamp) - extract(epoch from '2026-07-28 08:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331914 -2.790919)'), GeomFromEWKT('SRID=4674;POINT (-40.331833 -2.790924)'))) / (select extract(epoch from '2026-07-28 08:52:55'::timestamp) - extract(epoch from '2026-07-28 08:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.33177 -2.79099)', '2026-07-28 08:53:03', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331833 -2.790924)'), GeomFromEWKT('SRID=4674;POINT (-40.33177 -2.79099)'))) / (select extract(epoch from '2026-07-28 08:53:03'::timestamp) - extract(epoch from '2026-07-28 08:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331833 -2.790924)'), GeomFromEWKT('SRID=4674;POINT (-40.33177 -2.79099)'))) / (select extract(epoch from '2026-07-28 08:53:03'::timestamp) - extract(epoch from '2026-07-28 08:52: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'), 47807, 'SRID=4674;POINT (-40.331711 -2.791096)', '2026-07-28 08:53:11', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33177 -2.79099)'), GeomFromEWKT('SRID=4674;POINT (-40.331711 -2.791096)'))) / (select extract(epoch from '2026-07-28 08:53:11'::timestamp) - extract(epoch from '2026-07-28 08:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33177 -2.79099)'), GeomFromEWKT('SRID=4674;POINT (-40.331711 -2.791096)'))) / (select extract(epoch from '2026-07-28 08:53:11'::timestamp) - extract(epoch from '2026-07-28 08:53: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'), 47807, 'SRID=4674;POINT (-40.331656 -2.791211)', '2026-07-28 08:53:19', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331711 -2.791096)'), GeomFromEWKT('SRID=4674;POINT (-40.331656 -2.791211)'))) / (select extract(epoch from '2026-07-28 08:53:19'::timestamp) - extract(epoch from '2026-07-28 08:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331711 -2.791096)'), GeomFromEWKT('SRID=4674;POINT (-40.331656 -2.791211)'))) / (select extract(epoch from '2026-07-28 08:53:19'::timestamp) - extract(epoch from '2026-07-28 08:53: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'), 47807, 'SRID=4674;POINT (-40.331598 -2.791304)', '2026-07-28 08:53:27', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331656 -2.791211)'), GeomFromEWKT('SRID=4674;POINT (-40.331598 -2.791304)'))) / (select extract(epoch from '2026-07-28 08:53:27'::timestamp) - extract(epoch from '2026-07-28 08:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331656 -2.791211)'), GeomFromEWKT('SRID=4674;POINT (-40.331598 -2.791304)'))) / (select extract(epoch from '2026-07-28 08:53:27'::timestamp) - extract(epoch from '2026-07-28 08:53: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'), 47807, 'SRID=4674;POINT (-40.331582 -2.791342)', '2026-07-28 08:53:35', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331598 -2.791304)'), GeomFromEWKT('SRID=4674;POINT (-40.331582 -2.791342)'))) / (select extract(epoch from '2026-07-28 08:53:35'::timestamp) - extract(epoch from '2026-07-28 08:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331598 -2.791304)'), GeomFromEWKT('SRID=4674;POINT (-40.331582 -2.791342)'))) / (select extract(epoch from '2026-07-28 08:53:35'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.331573 -2.791369)', '2026-07-28 08:53:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331582 -2.791342)'), GeomFromEWKT('SRID=4674;POINT (-40.331573 -2.791369)'))) / (select extract(epoch from '2026-07-28 08:53:46'::timestamp) - extract(epoch from '2026-07-28 08:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331582 -2.791342)'), GeomFromEWKT('SRID=4674;POINT (-40.331573 -2.791369)'))) / (select extract(epoch from '2026-07-28 08:53:46'::timestamp) - extract(epoch from '2026-07-28 08:53:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331563 -2.791349)', '2026-07-28 08:53:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331573 -2.791369)'), GeomFromEWKT('SRID=4674;POINT (-40.331563 -2.791349)'))) / (select extract(epoch from '2026-07-28 08:53:55'::timestamp) - extract(epoch from '2026-07-28 08:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331573 -2.791369)'), GeomFromEWKT('SRID=4674;POINT (-40.331563 -2.791349)'))) / (select extract(epoch from '2026-07-28 08:53:55'::timestamp) - extract(epoch from '2026-07-28 08:53: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'), 47807, 'SRID=4674;POINT (-40.331523 -2.79133)', '2026-07-28 08:54:10', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331563 -2.791349)'), GeomFromEWKT('SRID=4674;POINT (-40.331523 -2.79133)'))) / (select extract(epoch from '2026-07-28 08:54:10'::timestamp) - extract(epoch from '2026-07-28 08:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331563 -2.791349)'), GeomFromEWKT('SRID=4674;POINT (-40.331523 -2.79133)'))) / (select extract(epoch from '2026-07-28 08:54:10'::timestamp) - extract(epoch from '2026-07-28 08:53: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'), 47807, 'SRID=4674;POINT (-40.331502 -2.791316)', '2026-07-28 08:54:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331523 -2.79133)'), GeomFromEWKT('SRID=4674;POINT (-40.331502 -2.791316)'))) / (select extract(epoch from '2026-07-28 08:54:25'::timestamp) - extract(epoch from '2026-07-28 08:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331523 -2.79133)'), GeomFromEWKT('SRID=4674;POINT (-40.331502 -2.791316)'))) / (select extract(epoch from '2026-07-28 08:54:25'::timestamp) - extract(epoch from '2026-07-28 08:54: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'), 47807, 'SRID=4674;POINT (-40.331491 -2.79129)', '2026-07-28 08:54:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331502 -2.791316)'), GeomFromEWKT('SRID=4674;POINT (-40.331491 -2.79129)'))) / (select extract(epoch from '2026-07-28 08:54:39'::timestamp) - extract(epoch from '2026-07-28 08:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331502 -2.791316)'), GeomFromEWKT('SRID=4674;POINT (-40.331491 -2.79129)'))) / (select extract(epoch from '2026-07-28 08:54:39'::timestamp) - extract(epoch from '2026-07-28 08:54: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'), 47807, 'SRID=4674;POINT (-40.331498 -2.791287)', '2026-07-28 08:54:50', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331491 -2.79129)'), GeomFromEWKT('SRID=4674;POINT (-40.331498 -2.791287)'))) / (select extract(epoch from '2026-07-28 08:54:50'::timestamp) - extract(epoch from '2026-07-28 08:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331491 -2.79129)'), GeomFromEWKT('SRID=4674;POINT (-40.331498 -2.791287)'))) / (select extract(epoch from '2026-07-28 08:54:50'::timestamp) - extract(epoch from '2026-07-28 08:54: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'), 47807, 'SRID=4674;POINT (-40.331494 -2.791278)', '2026-07-28 08:55:03', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331498 -2.791287)'), GeomFromEWKT('SRID=4674;POINT (-40.331494 -2.791278)'))) / (select extract(epoch from '2026-07-28 08:55:03'::timestamp) - extract(epoch from '2026-07-28 08:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331498 -2.791287)'), GeomFromEWKT('SRID=4674;POINT (-40.331494 -2.791278)'))) / (select extract(epoch from '2026-07-28 08:55:03'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.331493 -2.791266)', '2026-07-28 08:55:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331494 -2.791278)'), GeomFromEWKT('SRID=4674;POINT (-40.331493 -2.791266)'))) / (select extract(epoch from '2026-07-28 08:55:17'::timestamp) - extract(epoch from '2026-07-28 08:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331494 -2.791278)'), GeomFromEWKT('SRID=4674;POINT (-40.331493 -2.791266)'))) / (select extract(epoch from '2026-07-28 08:55:17'::timestamp) - extract(epoch from '2026-07-28 08:55: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'), 47807, 'SRID=4674;POINT (-40.331495 -2.791256)', '2026-07-28 08:55:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331493 -2.791266)'), GeomFromEWKT('SRID=4674;POINT (-40.331495 -2.791256)'))) / (select extract(epoch from '2026-07-28 08:55:27'::timestamp) - extract(epoch from '2026-07-28 08:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331493 -2.791266)'), GeomFromEWKT('SRID=4674;POINT (-40.331495 -2.791256)'))) / (select extract(epoch from '2026-07-28 08:55:27'::timestamp) - extract(epoch from '2026-07-28 08:55:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331494 -2.791246)', '2026-07-28 08:55:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331495 -2.791256)'), GeomFromEWKT('SRID=4674;POINT (-40.331494 -2.791246)'))) / (select extract(epoch from '2026-07-28 08:55:36'::timestamp) - extract(epoch from '2026-07-28 08:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331495 -2.791256)'), GeomFromEWKT('SRID=4674;POINT (-40.331494 -2.791246)'))) / (select extract(epoch from '2026-07-28 08:55:36'::timestamp) - extract(epoch from '2026-07-28 08:55: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'), 47807, 'SRID=4674;POINT (-40.331486 -2.79124)', '2026-07-28 08:55:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331494 -2.791246)'), GeomFromEWKT('SRID=4674;POINT (-40.331486 -2.79124)'))) / (select extract(epoch from '2026-07-28 08:55:48'::timestamp) - extract(epoch from '2026-07-28 08:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331494 -2.791246)'), GeomFromEWKT('SRID=4674;POINT (-40.331486 -2.79124)'))) / (select extract(epoch from '2026-07-28 08:55:48'::timestamp) - extract(epoch from '2026-07-28 08:55:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331486 -2.791242)', '2026-07-28 08:56:00', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331486 -2.79124)'), GeomFromEWKT('SRID=4674;POINT (-40.331486 -2.791242)'))) / (select extract(epoch from '2026-07-28 08:56:00'::timestamp) - extract(epoch from '2026-07-28 08:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331486 -2.79124)'), GeomFromEWKT('SRID=4674;POINT (-40.331486 -2.791242)'))) / (select extract(epoch from '2026-07-28 08:56:00'::timestamp) - extract(epoch from '2026-07-28 08:55:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331489 -2.79124)', '2026-07-28 08:56:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331486 -2.791242)'), GeomFromEWKT('SRID=4674;POINT (-40.331489 -2.79124)'))) / (select extract(epoch from '2026-07-28 08:56:11'::timestamp) - extract(epoch from '2026-07-28 08:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331486 -2.791242)'), GeomFromEWKT('SRID=4674;POINT (-40.331489 -2.79124)'))) / (select extract(epoch from '2026-07-28 08:56:11'::timestamp) - extract(epoch from '2026-07-28 08:56: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'), 47807, 'SRID=4674;POINT (-40.331489 -2.791227)', '2026-07-28 08:56:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331489 -2.79124)'), GeomFromEWKT('SRID=4674;POINT (-40.331489 -2.791227)'))) / (select extract(epoch from '2026-07-28 08:56:22'::timestamp) - extract(epoch from '2026-07-28 08:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331489 -2.79124)'), GeomFromEWKT('SRID=4674;POINT (-40.331489 -2.791227)'))) / (select extract(epoch from '2026-07-28 08:56:22'::timestamp) - extract(epoch from '2026-07-28 08:56: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'), 47807, 'SRID=4674;POINT (-40.33149 -2.79122)', '2026-07-28 08:56:31', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331489 -2.791227)'), GeomFromEWKT('SRID=4674;POINT (-40.33149 -2.79122)'))) / (select extract(epoch from '2026-07-28 08:56:31'::timestamp) - extract(epoch from '2026-07-28 08:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331489 -2.791227)'), GeomFromEWKT('SRID=4674;POINT (-40.33149 -2.79122)'))) / (select extract(epoch from '2026-07-28 08:56:31'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.331488 -2.791221)', '2026-07-28 08:56:44', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33149 -2.79122)'), GeomFromEWKT('SRID=4674;POINT (-40.331488 -2.791221)'))) / (select extract(epoch from '2026-07-28 08:56:44'::timestamp) - extract(epoch from '2026-07-28 08:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33149 -2.79122)'), GeomFromEWKT('SRID=4674;POINT (-40.331488 -2.791221)'))) / (select extract(epoch from '2026-07-28 08:56:44'::timestamp) - extract(epoch from '2026-07-28 08:56: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'), 47807, 'SRID=4674;POINT (-40.331488 -2.791229)', '2026-07-28 08:56:53', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331488 -2.791221)'), GeomFromEWKT('SRID=4674;POINT (-40.331488 -2.791229)'))) / (select extract(epoch from '2026-07-28 08:56:53'::timestamp) - extract(epoch from '2026-07-28 08:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331488 -2.791221)'), GeomFromEWKT('SRID=4674;POINT (-40.331488 -2.791229)'))) / (select extract(epoch from '2026-07-28 08:56:53'::timestamp) - extract(epoch from '2026-07-28 08:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331486 -2.791233)', '2026-07-28 08:57:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331488 -2.791229)'), GeomFromEWKT('SRID=4674;POINT (-40.331486 -2.791233)'))) / (select extract(epoch from '2026-07-28 08:57:01'::timestamp) - extract(epoch from '2026-07-28 08:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331488 -2.791229)'), GeomFromEWKT('SRID=4674;POINT (-40.331486 -2.791233)'))) / (select extract(epoch from '2026-07-28 08:57:01'::timestamp) - extract(epoch from '2026-07-28 08:56:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331489 -2.791235)', '2026-07-28 08:57:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331486 -2.791233)'), GeomFromEWKT('SRID=4674;POINT (-40.331489 -2.791235)'))) / (select extract(epoch from '2026-07-28 08:57:12'::timestamp) - extract(epoch from '2026-07-28 08:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331486 -2.791233)'), GeomFromEWKT('SRID=4674;POINT (-40.331489 -2.791235)'))) / (select extract(epoch from '2026-07-28 08:57:12'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.331491 -2.791233)', '2026-07-28 08:57:23', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331489 -2.791235)'), GeomFromEWKT('SRID=4674;POINT (-40.331491 -2.791233)'))) / (select extract(epoch from '2026-07-28 08:57:23'::timestamp) - extract(epoch from '2026-07-28 08:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331489 -2.791235)'), GeomFromEWKT('SRID=4674;POINT (-40.331491 -2.791233)'))) / (select extract(epoch from '2026-07-28 08:57:23'::timestamp) - extract(epoch from '2026-07-28 08:57:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331484 -2.791235)', '2026-07-28 08:57:33', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331491 -2.791233)'), GeomFromEWKT('SRID=4674;POINT (-40.331484 -2.791235)'))) / (select extract(epoch from '2026-07-28 08:57:33'::timestamp) - extract(epoch from '2026-07-28 08:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331491 -2.791233)'), GeomFromEWKT('SRID=4674;POINT (-40.331484 -2.791235)'))) / (select extract(epoch from '2026-07-28 08:57:33'::timestamp) - extract(epoch from '2026-07-28 08:57: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'), 47807, 'SRID=4674;POINT (-40.331456 -2.791247)', '2026-07-28 08:57:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331484 -2.791235)'), GeomFromEWKT('SRID=4674;POINT (-40.331456 -2.791247)'))) / (select extract(epoch from '2026-07-28 08:57:48'::timestamp) - extract(epoch from '2026-07-28 08:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331484 -2.791235)'), GeomFromEWKT('SRID=4674;POINT (-40.331456 -2.791247)'))) / (select extract(epoch from '2026-07-28 08:57:48'::timestamp) - extract(epoch from '2026-07-28 08:57: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'), 47807, 'SRID=4674;POINT (-40.331426 -2.791242)', '2026-07-28 08:58:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331456 -2.791247)'), GeomFromEWKT('SRID=4674;POINT (-40.331426 -2.791242)'))) / (select extract(epoch from '2026-07-28 08:58:03'::timestamp) - extract(epoch from '2026-07-28 08:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331456 -2.791247)'), GeomFromEWKT('SRID=4674;POINT (-40.331426 -2.791242)'))) / (select extract(epoch from '2026-07-28 08:58:03'::timestamp) - extract(epoch from '2026-07-28 08:57:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331413 -2.791234)', '2026-07-28 08:58:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331426 -2.791242)'), GeomFromEWKT('SRID=4674;POINT (-40.331413 -2.791234)'))) / (select extract(epoch from '2026-07-28 08:58:15'::timestamp) - extract(epoch from '2026-07-28 08:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331426 -2.791242)'), GeomFromEWKT('SRID=4674;POINT (-40.331413 -2.791234)'))) / (select extract(epoch from '2026-07-28 08:58:15'::timestamp) - extract(epoch from '2026-07-28 08:58: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'), 47807, 'SRID=4674;POINT (-40.331393 -2.791239)', '2026-07-28 08:58:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331413 -2.791234)'), GeomFromEWKT('SRID=4674;POINT (-40.331393 -2.791239)'))) / (select extract(epoch from '2026-07-28 08:58:24'::timestamp) - extract(epoch from '2026-07-28 08:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331413 -2.791234)'), GeomFromEWKT('SRID=4674;POINT (-40.331393 -2.791239)'))) / (select extract(epoch from '2026-07-28 08:58:24'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.33135 -2.791246)', '2026-07-28 08:58:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331393 -2.791239)'), GeomFromEWKT('SRID=4674;POINT (-40.33135 -2.791246)'))) / (select extract(epoch from '2026-07-28 08:58:43'::timestamp) - extract(epoch from '2026-07-28 08:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331393 -2.791239)'), GeomFromEWKT('SRID=4674;POINT (-40.33135 -2.791246)'))) / (select extract(epoch from '2026-07-28 08:58:43'::timestamp) - extract(epoch from '2026-07-28 08:58: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'), 47807, 'SRID=4674;POINT (-40.331282 -2.791229)', '2026-07-28 08:58:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33135 -2.791246)'), GeomFromEWKT('SRID=4674;POINT (-40.331282 -2.791229)'))) / (select extract(epoch from '2026-07-28 08:58:55'::timestamp) - extract(epoch from '2026-07-28 08:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33135 -2.791246)'), GeomFromEWKT('SRID=4674;POINT (-40.331282 -2.791229)'))) / (select extract(epoch from '2026-07-28 08:58:55'::timestamp) - extract(epoch from '2026-07-28 08:58: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'), 47807, 'SRID=4674;POINT (-40.33124 -2.791217)', '2026-07-28 08:59:09', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331282 -2.791229)'), GeomFromEWKT('SRID=4674;POINT (-40.33124 -2.791217)'))) / (select extract(epoch from '2026-07-28 08:59:09'::timestamp) - extract(epoch from '2026-07-28 08:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331282 -2.791229)'), GeomFromEWKT('SRID=4674;POINT (-40.33124 -2.791217)'))) / (select extract(epoch from '2026-07-28 08:59:09'::timestamp) - extract(epoch from '2026-07-28 08:58: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'), 47807, 'SRID=4674;POINT (-40.331236 -2.791218)', '2026-07-28 08:59:19', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33124 -2.791217)'), GeomFromEWKT('SRID=4674;POINT (-40.331236 -2.791218)'))) / (select extract(epoch from '2026-07-28 08:59:19'::timestamp) - extract(epoch from '2026-07-28 08:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33124 -2.791217)'), GeomFromEWKT('SRID=4674;POINT (-40.331236 -2.791218)'))) / (select extract(epoch from '2026-07-28 08:59:19'::timestamp) - extract(epoch from '2026-07-28 08:59: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'), 47807, 'SRID=4674;POINT (-40.331209 -2.791187)', '2026-07-28 08:59:30', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331236 -2.791218)'), GeomFromEWKT('SRID=4674;POINT (-40.331209 -2.791187)'))) / (select extract(epoch from '2026-07-28 08:59:30'::timestamp) - extract(epoch from '2026-07-28 08:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331236 -2.791218)'), GeomFromEWKT('SRID=4674;POINT (-40.331209 -2.791187)'))) / (select extract(epoch from '2026-07-28 08:59:30'::timestamp) - extract(epoch from '2026-07-28 08:59: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'), 47807, 'SRID=4674;POINT (-40.331186 -2.791171)', '2026-07-28 08:59:42', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331209 -2.791187)'), GeomFromEWKT('SRID=4674;POINT (-40.331186 -2.791171)'))) / (select extract(epoch from '2026-07-28 08:59:42'::timestamp) - extract(epoch from '2026-07-28 08:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331209 -2.791187)'), GeomFromEWKT('SRID=4674;POINT (-40.331186 -2.791171)'))) / (select extract(epoch from '2026-07-28 08:59:42'::timestamp) - extract(epoch from '2026-07-28 08: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'), 47807, 'SRID=4674;POINT (-40.33119 -2.791167)', '2026-07-28 08:59:54', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331186 -2.791171)'), GeomFromEWKT('SRID=4674;POINT (-40.33119 -2.791167)'))) / (select extract(epoch from '2026-07-28 08:59:54'::timestamp) - extract(epoch from '2026-07-28 08:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331186 -2.791171)'), GeomFromEWKT('SRID=4674;POINT (-40.33119 -2.791167)'))) / (select extract(epoch from '2026-07-28 08:59:54'::timestamp) - extract(epoch from '2026-07-28 08:59: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'), 47807, 'SRID=4674;POINT (-40.33119 -2.791167)', '2026-07-28 09:00:04', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33119 -2.791167)'), GeomFromEWKT('SRID=4674;POINT (-40.33119 -2.791167)'))) / (select extract(epoch from '2026-07-28 09:00:04'::timestamp) - extract(epoch from '2026-07-28 08:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33119 -2.791167)'), GeomFromEWKT('SRID=4674;POINT (-40.33119 -2.791167)'))) / (select extract(epoch from '2026-07-28 09:00:04'::timestamp) - extract(epoch from '2026-07-28 08:59: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'), 47807, 'SRID=4674;POINT (-40.331192 -2.791162)', '2026-07-28 09:00:20', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33119 -2.791167)'), GeomFromEWKT('SRID=4674;POINT (-40.331192 -2.791162)'))) / (select extract(epoch from '2026-07-28 09:00:20'::timestamp) - extract(epoch from '2026-07-28 09:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33119 -2.791167)'), GeomFromEWKT('SRID=4674;POINT (-40.331192 -2.791162)'))) / (select extract(epoch from '2026-07-28 09:00:20'::timestamp) - extract(epoch from '2026-07-28 09:00: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'), 47807, 'SRID=4674;POINT (-40.331196 -2.791165)', '2026-07-28 09:00:35', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331192 -2.791162)'), GeomFromEWKT('SRID=4674;POINT (-40.331196 -2.791165)'))) / (select extract(epoch from '2026-07-28 09:00:35'::timestamp) - extract(epoch from '2026-07-28 09:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331192 -2.791162)'), GeomFromEWKT('SRID=4674;POINT (-40.331196 -2.791165)'))) / (select extract(epoch from '2026-07-28 09:00:35'::timestamp) - extract(epoch from '2026-07-28 09:00: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'), 47807, 'SRID=4674;POINT (-40.331204 -2.791171)', '2026-07-28 09:00:45', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331196 -2.791165)'), GeomFromEWKT('SRID=4674;POINT (-40.331204 -2.791171)'))) / (select extract(epoch from '2026-07-28 09:00:45'::timestamp) - extract(epoch from '2026-07-28 09:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331196 -2.791165)'), GeomFromEWKT('SRID=4674;POINT (-40.331204 -2.791171)'))) / (select extract(epoch from '2026-07-28 09:00:45'::timestamp) - extract(epoch from '2026-07-28 09:00: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'), 47807, 'SRID=4674;POINT (-40.331202 -2.791174)', '2026-07-28 09:00:59', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331204 -2.791171)'), GeomFromEWKT('SRID=4674;POINT (-40.331202 -2.791174)'))) / (select extract(epoch from '2026-07-28 09:00:59'::timestamp) - extract(epoch from '2026-07-28 09:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331204 -2.791171)'), GeomFromEWKT('SRID=4674;POINT (-40.331202 -2.791174)'))) / (select extract(epoch from '2026-07-28 09:00:59'::timestamp) - extract(epoch from '2026-07-28 09:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331197 -2.791171)', '2026-07-28 09:01:14', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331202 -2.791174)'), GeomFromEWKT('SRID=4674;POINT (-40.331197 -2.791171)'))) / (select extract(epoch from '2026-07-28 09:01:14'::timestamp) - extract(epoch from '2026-07-28 09:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331202 -2.791174)'), GeomFromEWKT('SRID=4674;POINT (-40.331197 -2.791171)'))) / (select extract(epoch from '2026-07-28 09:01:14'::timestamp) - extract(epoch from '2026-07-28 09:00:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
