BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.3142 -2.794711)', '2026-07-24 04:10:10', 6, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314181 -2.794731)', '2026-07-24 04:10:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3142 -2.794711)'), GeomFromEWKT('SRID=4674;POINT (-40.314181 -2.794731)'))) / (select extract(epoch from '2026-07-24 04:10:32'::timestamp) - extract(epoch from '2026-07-24 04:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3142 -2.794711)'), GeomFromEWKT('SRID=4674;POINT (-40.314181 -2.794731)'))) / (select extract(epoch from '2026-07-24 04:10:32'::timestamp) - extract(epoch from '2026-07-24 04:10:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314187 -2.794713)', '2026-07-24 04:10:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314181 -2.794731)'), GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794713)'))) / (select extract(epoch from '2026-07-24 04:10:51'::timestamp) - extract(epoch from '2026-07-24 04:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314181 -2.794731)'), GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794713)'))) / (select extract(epoch from '2026-07-24 04:10:51'::timestamp) - extract(epoch from '2026-07-24 04:10:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314187 -2.794714)', '2026-07-24 04:11:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794713)'), GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794714)'))) / (select extract(epoch from '2026-07-24 04:11:09'::timestamp) - extract(epoch from '2026-07-24 04:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794713)'), GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794714)'))) / (select extract(epoch from '2026-07-24 04:11:09'::timestamp) - extract(epoch from '2026-07-24 04:10: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'), 47837, 'SRID=4674;POINT (-40.31418 -2.794707)', '2026-07-24 04:11:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794714)'), GeomFromEWKT('SRID=4674;POINT (-40.31418 -2.794707)'))) / (select extract(epoch from '2026-07-24 04:11:32'::timestamp) - extract(epoch from '2026-07-24 04:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794714)'), GeomFromEWKT('SRID=4674;POINT (-40.31418 -2.794707)'))) / (select extract(epoch from '2026-07-24 04:11:32'::timestamp) - extract(epoch from '2026-07-24 04:11: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'), 47837, 'SRID=4674;POINT (-40.314174 -2.794698)', '2026-07-24 04:11:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31418 -2.794707)'), GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794698)'))) / (select extract(epoch from '2026-07-24 04:11:48'::timestamp) - extract(epoch from '2026-07-24 04:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31418 -2.794707)'), GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794698)'))) / (select extract(epoch from '2026-07-24 04:11:48'::timestamp) - extract(epoch from '2026-07-24 04:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314174 -2.794684)', '2026-07-24 04:12:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794684)'))) / (select extract(epoch from '2026-07-24 04:12:11'::timestamp) - extract(epoch from '2026-07-24 04:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794684)'))) / (select extract(epoch from '2026-07-24 04:12:11'::timestamp) - extract(epoch from '2026-07-24 04:11:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314174 -2.794676)', '2026-07-24 04:12:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794684)'), GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794676)'))) / (select extract(epoch from '2026-07-24 04:12:27'::timestamp) - extract(epoch from '2026-07-24 04:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794684)'), GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794676)'))) / (select extract(epoch from '2026-07-24 04:12:27'::timestamp) - extract(epoch from '2026-07-24 04:12: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'), 47837, 'SRID=4674;POINT (-40.314168 -2.794677)', '2026-07-24 04:12:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794677)'))) / (select extract(epoch from '2026-07-24 04:12:43'::timestamp) - extract(epoch from '2026-07-24 04:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794677)'))) / (select extract(epoch from '2026-07-24 04:12:43'::timestamp) - extract(epoch from '2026-07-24 04:12: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'), 47837, 'SRID=4674;POINT (-40.314173 -2.794682)', '2026-07-24 04:12:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794677)'), GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794682)'))) / (select extract(epoch from '2026-07-24 04:12:52'::timestamp) - extract(epoch from '2026-07-24 04:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794677)'), GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794682)'))) / (select extract(epoch from '2026-07-24 04:12:52'::timestamp) - extract(epoch from '2026-07-24 04:12: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'), 47837, 'SRID=4674;POINT (-40.314174 -2.794698)', '2026-07-24 04:13:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794682)'), GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794698)'))) / (select extract(epoch from '2026-07-24 04:13:08'::timestamp) - extract(epoch from '2026-07-24 04:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794682)'), GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794698)'))) / (select extract(epoch from '2026-07-24 04:13:08'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.314169 -2.794698)', '2026-07-24 04:13:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.314169 -2.794698)'))) / (select extract(epoch from '2026-07-24 04:13:22'::timestamp) - extract(epoch from '2026-07-24 04:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.314169 -2.794698)'))) / (select extract(epoch from '2026-07-24 04:13:22'::timestamp) - extract(epoch from '2026-07-24 04:13: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'), 47837, 'SRID=4674;POINT (-40.314166 -2.794702)', '2026-07-24 04:13:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314169 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.314166 -2.794702)'))) / (select extract(epoch from '2026-07-24 04:13:44'::timestamp) - extract(epoch from '2026-07-24 04:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314169 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.314166 -2.794702)'))) / (select extract(epoch from '2026-07-24 04:13:44'::timestamp) - extract(epoch from '2026-07-24 04:13:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314167 -2.7947)', '2026-07-24 04:14:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314166 -2.794702)'), GeomFromEWKT('SRID=4674;POINT (-40.314167 -2.7947)'))) / (select extract(epoch from '2026-07-24 04:14:01'::timestamp) - extract(epoch from '2026-07-24 04:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314166 -2.794702)'), GeomFromEWKT('SRID=4674;POINT (-40.314167 -2.7947)'))) / (select extract(epoch from '2026-07-24 04:14:01'::timestamp) - extract(epoch from '2026-07-24 04:13: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'), 47837, 'SRID=4674;POINT (-40.314168 -2.794698)', '2026-07-24 04:14:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314167 -2.7947)'), GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794698)'))) / (select extract(epoch from '2026-07-24 04:14:22'::timestamp) - extract(epoch from '2026-07-24 04:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314167 -2.7947)'), GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794698)'))) / (select extract(epoch from '2026-07-24 04:14:22'::timestamp) - extract(epoch from '2026-07-24 04:14:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314162 -2.794704)', '2026-07-24 04:14:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.314162 -2.794704)'))) / (select extract(epoch from '2026-07-24 04:14:40'::timestamp) - extract(epoch from '2026-07-24 04:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.314162 -2.794704)'))) / (select extract(epoch from '2026-07-24 04:14:40'::timestamp) - extract(epoch from '2026-07-24 04:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314174 -2.794706)', '2026-07-24 04:14:55', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314162 -2.794704)'), GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794706)'))) / (select extract(epoch from '2026-07-24 04:14:55'::timestamp) - extract(epoch from '2026-07-24 04:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314162 -2.794704)'), GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794706)'))) / (select extract(epoch from '2026-07-24 04:14:55'::timestamp) - extract(epoch from '2026-07-24 04:14:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314172 -2.794707)', '2026-07-24 04:15:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794706)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794707)'))) / (select extract(epoch from '2026-07-24 04:15:11'::timestamp) - extract(epoch from '2026-07-24 04:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314174 -2.794706)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794707)'))) / (select extract(epoch from '2026-07-24 04:15:11'::timestamp) - extract(epoch from '2026-07-24 04:14:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31417 -2.794707)', '2026-07-24 04:15:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794707)'), GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794707)'))) / (select extract(epoch from '2026-07-24 04:15:31'::timestamp) - extract(epoch from '2026-07-24 04:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794707)'), GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794707)'))) / (select extract(epoch from '2026-07-24 04:15:31'::timestamp) - extract(epoch from '2026-07-24 04:15:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314175 -2.794717)', '2026-07-24 04:15:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794707)'), GeomFromEWKT('SRID=4674;POINT (-40.314175 -2.794717)'))) / (select extract(epoch from '2026-07-24 04:15:52'::timestamp) - extract(epoch from '2026-07-24 04:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794707)'), GeomFromEWKT('SRID=4674;POINT (-40.314175 -2.794717)'))) / (select extract(epoch from '2026-07-24 04:15:52'::timestamp) - extract(epoch from '2026-07-24 04:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314187 -2.794715)', '2026-07-24 04:16:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314175 -2.794717)'), GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794715)'))) / (select extract(epoch from '2026-07-24 04:16:11'::timestamp) - extract(epoch from '2026-07-24 04:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314175 -2.794717)'), GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794715)'))) / (select extract(epoch from '2026-07-24 04:16:11'::timestamp) - extract(epoch from '2026-07-24 04:15: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'), 47837, 'SRID=4674;POINT (-40.314182 -2.794712)', '2026-07-24 04:16:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794715)'), GeomFromEWKT('SRID=4674;POINT (-40.314182 -2.794712)'))) / (select extract(epoch from '2026-07-24 04:16:34'::timestamp) - extract(epoch from '2026-07-24 04:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794715)'), GeomFromEWKT('SRID=4674;POINT (-40.314182 -2.794712)'))) / (select extract(epoch from '2026-07-24 04:16:34'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.314173 -2.794711)', '2026-07-24 04:16:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314182 -2.794712)'), GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794711)'))) / (select extract(epoch from '2026-07-24 04:16:44'::timestamp) - extract(epoch from '2026-07-24 04:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314182 -2.794712)'), GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794711)'))) / (select extract(epoch from '2026-07-24 04:16:44'::timestamp) - extract(epoch from '2026-07-24 04:16: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'), 47837, 'SRID=4674;POINT (-40.314173 -2.794708)', '2026-07-24 04:17:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794711)'), GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794708)'))) / (select extract(epoch from '2026-07-24 04:17:04'::timestamp) - extract(epoch from '2026-07-24 04:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794711)'), GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794708)'))) / (select extract(epoch from '2026-07-24 04:17:04'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.314164 -2.7947)', '2026-07-24 04:17:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794708)'), GeomFromEWKT('SRID=4674;POINT (-40.314164 -2.7947)'))) / (select extract(epoch from '2026-07-24 04:17:21'::timestamp) - extract(epoch from '2026-07-24 04:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794708)'), GeomFromEWKT('SRID=4674;POINT (-40.314164 -2.7947)'))) / (select extract(epoch from '2026-07-24 04:17:21'::timestamp) - extract(epoch from '2026-07-24 04:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314165 -2.794707)', '2026-07-24 04:17:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314164 -2.7947)'), GeomFromEWKT('SRID=4674;POINT (-40.314165 -2.794707)'))) / (select extract(epoch from '2026-07-24 04:17:40'::timestamp) - extract(epoch from '2026-07-24 04:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314164 -2.7947)'), GeomFromEWKT('SRID=4674;POINT (-40.314165 -2.794707)'))) / (select extract(epoch from '2026-07-24 04:17:40'::timestamp) - extract(epoch from '2026-07-24 04:17:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314166 -2.79471)', '2026-07-24 04:17:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314165 -2.794707)'), GeomFromEWKT('SRID=4674;POINT (-40.314166 -2.79471)'))) / (select extract(epoch from '2026-07-24 04:17:49'::timestamp) - extract(epoch from '2026-07-24 04:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314165 -2.794707)'), GeomFromEWKT('SRID=4674;POINT (-40.314166 -2.79471)'))) / (select extract(epoch from '2026-07-24 04:17:49'::timestamp) - extract(epoch from '2026-07-24 04:17: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'), 47837, 'SRID=4674;POINT (-40.314172 -2.794702)', '2026-07-24 04:18:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314166 -2.79471)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794702)'))) / (select extract(epoch from '2026-07-24 04:18:18'::timestamp) - extract(epoch from '2026-07-24 04:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314166 -2.79471)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794702)'))) / (select extract(epoch from '2026-07-24 04:18:18'::timestamp) - extract(epoch from '2026-07-24 04:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314168 -2.794684)', '2026-07-24 04:18:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794702)'), GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794684)'))) / (select extract(epoch from '2026-07-24 04:18:36'::timestamp) - extract(epoch from '2026-07-24 04:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794702)'), GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794684)'))) / (select extract(epoch from '2026-07-24 04:18:36'::timestamp) - extract(epoch from '2026-07-24 04:18: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'), 47837, 'SRID=4674;POINT (-40.314175 -2.794694)', '2026-07-24 04:18:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794684)'), GeomFromEWKT('SRID=4674;POINT (-40.314175 -2.794694)'))) / (select extract(epoch from '2026-07-24 04:18:57'::timestamp) - extract(epoch from '2026-07-24 04:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794684)'), GeomFromEWKT('SRID=4674;POINT (-40.314175 -2.794694)'))) / (select extract(epoch from '2026-07-24 04:18:57'::timestamp) - extract(epoch from '2026-07-24 04:18: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'), 47837, 'SRID=4674;POINT (-40.314168 -2.794692)', '2026-07-24 04:19:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314175 -2.794694)'), GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794692)'))) / (select extract(epoch from '2026-07-24 04:19:14'::timestamp) - extract(epoch from '2026-07-24 04:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314175 -2.794694)'), GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794692)'))) / (select extract(epoch from '2026-07-24 04:19:14'::timestamp) - extract(epoch from '2026-07-24 04:18: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'), 47837, 'SRID=4674;POINT (-40.314182 -2.794696)', '2026-07-24 04:19:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794692)'), GeomFromEWKT('SRID=4674;POINT (-40.314182 -2.794696)'))) / (select extract(epoch from '2026-07-24 04:19:29'::timestamp) - extract(epoch from '2026-07-24 04:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794692)'), GeomFromEWKT('SRID=4674;POINT (-40.314182 -2.794696)'))) / (select extract(epoch from '2026-07-24 04:19:29'::timestamp) - extract(epoch from '2026-07-24 04:19: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'), 47837, 'SRID=4674;POINT (-40.314186 -2.7947)', '2026-07-24 04:19:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314182 -2.794696)'), GeomFromEWKT('SRID=4674;POINT (-40.314186 -2.7947)'))) / (select extract(epoch from '2026-07-24 04:19:43'::timestamp) - extract(epoch from '2026-07-24 04:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314182 -2.794696)'), GeomFromEWKT('SRID=4674;POINT (-40.314186 -2.7947)'))) / (select extract(epoch from '2026-07-24 04:19:43'::timestamp) - extract(epoch from '2026-07-24 04:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314187 -2.794706)', '2026-07-24 04:20:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314186 -2.7947)'), GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794706)'))) / (select extract(epoch from '2026-07-24 04:20:10'::timestamp) - extract(epoch from '2026-07-24 04:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314186 -2.7947)'), GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794706)'))) / (select extract(epoch from '2026-07-24 04:20:10'::timestamp) - extract(epoch from '2026-07-24 04:19: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'), 47837, 'SRID=4674;POINT (-40.314187 -2.794709)', '2026-07-24 04:20:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794706)'), GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794709)'))) / (select extract(epoch from '2026-07-24 04:20:25'::timestamp) - extract(epoch from '2026-07-24 04:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794706)'), GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794709)'))) / (select extract(epoch from '2026-07-24 04:20:25'::timestamp) - extract(epoch from '2026-07-24 04:20:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31419 -2.79471)', '2026-07-24 04:20:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794709)'), GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.79471)'))) / (select extract(epoch from '2026-07-24 04:20:41'::timestamp) - extract(epoch from '2026-07-24 04:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794709)'), GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.79471)'))) / (select extract(epoch from '2026-07-24 04:20:41'::timestamp) - extract(epoch from '2026-07-24 04:20: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'), 47837, 'SRID=4674;POINT (-40.314193 -2.794715)', '2026-07-24 04:20:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.79471)'), GeomFromEWKT('SRID=4674;POINT (-40.314193 -2.794715)'))) / (select extract(epoch from '2026-07-24 04:20:54'::timestamp) - extract(epoch from '2026-07-24 04:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.79471)'), GeomFromEWKT('SRID=4674;POINT (-40.314193 -2.794715)'))) / (select extract(epoch from '2026-07-24 04:20:54'::timestamp) - extract(epoch from '2026-07-24 04:20:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314193 -2.794721)', '2026-07-24 04:21:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314193 -2.794715)'), GeomFromEWKT('SRID=4674;POINT (-40.314193 -2.794721)'))) / (select extract(epoch from '2026-07-24 04:21:18'::timestamp) - extract(epoch from '2026-07-24 04:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314193 -2.794715)'), GeomFromEWKT('SRID=4674;POINT (-40.314193 -2.794721)'))) / (select extract(epoch from '2026-07-24 04:21:18'::timestamp) - extract(epoch from '2026-07-24 04:20:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314202 -2.794717)', '2026-07-24 04:21:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314193 -2.794721)'), GeomFromEWKT('SRID=4674;POINT (-40.314202 -2.794717)'))) / (select extract(epoch from '2026-07-24 04:21:28'::timestamp) - extract(epoch from '2026-07-24 04:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314193 -2.794721)'), GeomFromEWKT('SRID=4674;POINT (-40.314202 -2.794717)'))) / (select extract(epoch from '2026-07-24 04:21:28'::timestamp) - extract(epoch from '2026-07-24 04:21: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'), 47837, 'SRID=4674;POINT (-40.314197 -2.7947)', '2026-07-24 04:21:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314202 -2.794717)'), GeomFromEWKT('SRID=4674;POINT (-40.314197 -2.7947)'))) / (select extract(epoch from '2026-07-24 04:21:49'::timestamp) - extract(epoch from '2026-07-24 04:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314202 -2.794717)'), GeomFromEWKT('SRID=4674;POINT (-40.314197 -2.7947)'))) / (select extract(epoch from '2026-07-24 04:21:49'::timestamp) - extract(epoch from '2026-07-24 04:21: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'), 47837, 'SRID=4674;POINT (-40.314201 -2.794707)', '2026-07-24 04:22:10', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314197 -2.7947)'), GeomFromEWKT('SRID=4674;POINT (-40.314201 -2.794707)'))) / (select extract(epoch from '2026-07-24 04:22:10'::timestamp) - extract(epoch from '2026-07-24 04:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314197 -2.7947)'), GeomFromEWKT('SRID=4674;POINT (-40.314201 -2.794707)'))) / (select extract(epoch from '2026-07-24 04:22:10'::timestamp) - extract(epoch from '2026-07-24 04:21: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'), 47837, 'SRID=4674;POINT (-40.31419 -2.794709)', '2026-07-24 04:22:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314201 -2.794707)'), GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.794709)'))) / (select extract(epoch from '2026-07-24 04:22:23'::timestamp) - extract(epoch from '2026-07-24 04:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314201 -2.794707)'), GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.794709)'))) / (select extract(epoch from '2026-07-24 04:22:23'::timestamp) - extract(epoch from '2026-07-24 04:22: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'), 47837, 'SRID=4674;POINT (-40.31418 -2.794702)', '2026-07-24 04:22:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.794709)'), GeomFromEWKT('SRID=4674;POINT (-40.31418 -2.794702)'))) / (select extract(epoch from '2026-07-24 04:22:44'::timestamp) - extract(epoch from '2026-07-24 04:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.794709)'), GeomFromEWKT('SRID=4674;POINT (-40.31418 -2.794702)'))) / (select extract(epoch from '2026-07-24 04:22:44'::timestamp) - extract(epoch from '2026-07-24 04:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314172 -2.794676)', '2026-07-24 04:22:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31418 -2.794702)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794676)'))) / (select extract(epoch from '2026-07-24 04:22:59'::timestamp) - extract(epoch from '2026-07-24 04:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31418 -2.794702)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794676)'))) / (select extract(epoch from '2026-07-24 04:22:59'::timestamp) - extract(epoch from '2026-07-24 04:22: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'), 47837, 'SRID=4674;POINT (-40.314176 -2.794687)', '2026-07-24 04:23:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794687)'))) / (select extract(epoch from '2026-07-24 04:23:15'::timestamp) - extract(epoch from '2026-07-24 04:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794687)'))) / (select extract(epoch from '2026-07-24 04:23:15'::timestamp) - extract(epoch from '2026-07-24 04:22: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'), 47837, 'SRID=4674;POINT (-40.314176 -2.794686)', '2026-07-24 04:23:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794687)'), GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794686)'))) / (select extract(epoch from '2026-07-24 04:23:32'::timestamp) - extract(epoch from '2026-07-24 04:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794687)'), GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794686)'))) / (select extract(epoch from '2026-07-24 04:23:32'::timestamp) - extract(epoch from '2026-07-24 04:23:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31418 -2.794695)', '2026-07-24 04:23:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794686)'), GeomFromEWKT('SRID=4674;POINT (-40.31418 -2.794695)'))) / (select extract(epoch from '2026-07-24 04:23:49'::timestamp) - extract(epoch from '2026-07-24 04:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794686)'), GeomFromEWKT('SRID=4674;POINT (-40.31418 -2.794695)'))) / (select extract(epoch from '2026-07-24 04:23:49'::timestamp) - extract(epoch from '2026-07-24 04:23: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'), 47837, 'SRID=4674;POINT (-40.314178 -2.794693)', '2026-07-24 04:24:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31418 -2.794695)'), GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794693)'))) / (select extract(epoch from '2026-07-24 04:24:04'::timestamp) - extract(epoch from '2026-07-24 04:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31418 -2.794695)'), GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794693)'))) / (select extract(epoch from '2026-07-24 04:24:04'::timestamp) - extract(epoch from '2026-07-24 04:23: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'), 47837, 'SRID=4674;POINT (-40.314178 -2.794684)', '2026-07-24 04:24:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794693)'), GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794684)'))) / (select extract(epoch from '2026-07-24 04:24:25'::timestamp) - extract(epoch from '2026-07-24 04:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794693)'), GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794684)'))) / (select extract(epoch from '2026-07-24 04:24:25'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.31419 -2.794698)', '2026-07-24 04:24:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794684)'), GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.794698)'))) / (select extract(epoch from '2026-07-24 04:24:43'::timestamp) - extract(epoch from '2026-07-24 04:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794684)'), GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.794698)'))) / (select extract(epoch from '2026-07-24 04:24:43'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.31418 -2.794709)', '2026-07-24 04:25:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.31418 -2.794709)'))) / (select extract(epoch from '2026-07-24 04:25:04'::timestamp) - extract(epoch from '2026-07-24 04:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.31418 -2.794709)'))) / (select extract(epoch from '2026-07-24 04:25:04'::timestamp) - extract(epoch from '2026-07-24 04:24: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'), 47837, 'SRID=4674;POINT (-40.314184 -2.794706)', '2026-07-24 04:25:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31418 -2.794709)'), GeomFromEWKT('SRID=4674;POINT (-40.314184 -2.794706)'))) / (select extract(epoch from '2026-07-24 04:25:22'::timestamp) - extract(epoch from '2026-07-24 04:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31418 -2.794709)'), GeomFromEWKT('SRID=4674;POINT (-40.314184 -2.794706)'))) / (select extract(epoch from '2026-07-24 04:25:22'::timestamp) - extract(epoch from '2026-07-24 04:25:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314183 -2.794709)', '2026-07-24 04:25:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314184 -2.794706)'), GeomFromEWKT('SRID=4674;POINT (-40.314183 -2.794709)'))) / (select extract(epoch from '2026-07-24 04:25:38'::timestamp) - extract(epoch from '2026-07-24 04:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314184 -2.794706)'), GeomFromEWKT('SRID=4674;POINT (-40.314183 -2.794709)'))) / (select extract(epoch from '2026-07-24 04:25:38'::timestamp) - extract(epoch from '2026-07-24 04:25: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'), 47837, 'SRID=4674;POINT (-40.314172 -2.794715)', '2026-07-24 04:25:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314183 -2.794709)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794715)'))) / (select extract(epoch from '2026-07-24 04:25:50'::timestamp) - extract(epoch from '2026-07-24 04:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314183 -2.794709)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794715)'))) / (select extract(epoch from '2026-07-24 04:25:50'::timestamp) - extract(epoch from '2026-07-24 04:25:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314164 -2.794707)', '2026-07-24 04:26:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794715)'), GeomFromEWKT('SRID=4674;POINT (-40.314164 -2.794707)'))) / (select extract(epoch from '2026-07-24 04:26:08'::timestamp) - extract(epoch from '2026-07-24 04:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794715)'), GeomFromEWKT('SRID=4674;POINT (-40.314164 -2.794707)'))) / (select extract(epoch from '2026-07-24 04:26:08'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.314165 -2.794722)', '2026-07-24 04:26:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314164 -2.794707)'), GeomFromEWKT('SRID=4674;POINT (-40.314165 -2.794722)'))) / (select extract(epoch from '2026-07-24 04:26:24'::timestamp) - extract(epoch from '2026-07-24 04:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314164 -2.794707)'), GeomFromEWKT('SRID=4674;POINT (-40.314165 -2.794722)'))) / (select extract(epoch from '2026-07-24 04:26:24'::timestamp) - extract(epoch from '2026-07-24 04:26: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'), 47837, 'SRID=4674;POINT (-40.314171 -2.794701)', '2026-07-24 04:26:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314165 -2.794722)'), GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794701)'))) / (select extract(epoch from '2026-07-24 04:26:44'::timestamp) - extract(epoch from '2026-07-24 04:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314165 -2.794722)'), GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794701)'))) / (select extract(epoch from '2026-07-24 04:26:44'::timestamp) - extract(epoch from '2026-07-24 04:26: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'), 47837, 'SRID=4674;POINT (-40.314173 -2.794695)', '2026-07-24 04:27:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794701)'), GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794695)'))) / (select extract(epoch from '2026-07-24 04:27:06'::timestamp) - extract(epoch from '2026-07-24 04:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794701)'), GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794695)'))) / (select extract(epoch from '2026-07-24 04:27:06'::timestamp) - extract(epoch from '2026-07-24 04:26:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314175 -2.794707)', '2026-07-24 04:27:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794695)'), GeomFromEWKT('SRID=4674;POINT (-40.314175 -2.794707)'))) / (select extract(epoch from '2026-07-24 04:27:28'::timestamp) - extract(epoch from '2026-07-24 04:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794695)'), GeomFromEWKT('SRID=4674;POINT (-40.314175 -2.794707)'))) / (select extract(epoch from '2026-07-24 04:27:28'::timestamp) - extract(epoch from '2026-07-24 04:27: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'), 47837, 'SRID=4674;POINT (-40.314176 -2.794718)', '2026-07-24 04:27:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314175 -2.794707)'), GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794718)'))) / (select extract(epoch from '2026-07-24 04:27:48'::timestamp) - extract(epoch from '2026-07-24 04:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314175 -2.794707)'), GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794718)'))) / (select extract(epoch from '2026-07-24 04:27:48'::timestamp) - extract(epoch from '2026-07-24 04:27:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314176 -2.794708)', '2026-07-24 04:28:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794718)'), GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794708)'))) / (select extract(epoch from '2026-07-24 04:28:06'::timestamp) - extract(epoch from '2026-07-24 04:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794718)'), GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794708)'))) / (select extract(epoch from '2026-07-24 04:28:06'::timestamp) - extract(epoch from '2026-07-24 04:27:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314171 -2.794692)', '2026-07-24 04:28:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794708)'), GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794692)'))) / (select extract(epoch from '2026-07-24 04:28:23'::timestamp) - extract(epoch from '2026-07-24 04:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794708)'), GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794692)'))) / (select extract(epoch from '2026-07-24 04:28:23'::timestamp) - extract(epoch from '2026-07-24 04:28: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'), 47837, 'SRID=4674;POINT (-40.31417 -2.794697)', '2026-07-24 04:28:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794692)'), GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794697)'))) / (select extract(epoch from '2026-07-24 04:28:34'::timestamp) - extract(epoch from '2026-07-24 04:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794692)'), GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794697)'))) / (select extract(epoch from '2026-07-24 04:28:34'::timestamp) - extract(epoch from '2026-07-24 04:28: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'), 47837, 'SRID=4674;POINT (-40.314171 -2.794698)', '2026-07-24 04:28:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794697)'), GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794698)'))) / (select extract(epoch from '2026-07-24 04:28:47'::timestamp) - extract(epoch from '2026-07-24 04:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794697)'), GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794698)'))) / (select extract(epoch from '2026-07-24 04:28:47'::timestamp) - extract(epoch from '2026-07-24 04:28: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'), 47837, 'SRID=4674;POINT (-40.31417 -2.79468)', '2026-07-24 04:29:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.79468)'))) / (select extract(epoch from '2026-07-24 04:29:02'::timestamp) - extract(epoch from '2026-07-24 04:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.79468)'))) / (select extract(epoch from '2026-07-24 04:29:02'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.314177 -2.794676)', '2026-07-24 04:29:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.314177 -2.794676)'))) / (select extract(epoch from '2026-07-24 04:29:16'::timestamp) - extract(epoch from '2026-07-24 04:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.314177 -2.794676)'))) / (select extract(epoch from '2026-07-24 04:29:16'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.314178 -2.794691)', '2026-07-24 04:29:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314177 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794691)'))) / (select extract(epoch from '2026-07-24 04:29:28'::timestamp) - extract(epoch from '2026-07-24 04:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314177 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794691)'))) / (select extract(epoch from '2026-07-24 04:29:28'::timestamp) - extract(epoch from '2026-07-24 04:29:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314176 -2.7947)', '2026-07-24 04:29:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794691)'), GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.7947)'))) / (select extract(epoch from '2026-07-24 04:29:42'::timestamp) - extract(epoch from '2026-07-24 04:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794691)'), GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.7947)'))) / (select extract(epoch from '2026-07-24 04:29:42'::timestamp) - extract(epoch from '2026-07-24 04:29:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314176 -2.794692)', '2026-07-24 04:29:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.7947)'), GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794692)'))) / (select extract(epoch from '2026-07-24 04:29:55'::timestamp) - extract(epoch from '2026-07-24 04:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.7947)'), GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794692)'))) / (select extract(epoch from '2026-07-24 04:29:55'::timestamp) - extract(epoch from '2026-07-24 04:29: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'), 47837, 'SRID=4674;POINT (-40.314172 -2.794688)', '2026-07-24 04:30:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794692)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794688)'))) / (select extract(epoch from '2026-07-24 04:30:05'::timestamp) - extract(epoch from '2026-07-24 04:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314176 -2.794692)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794688)'))) / (select extract(epoch from '2026-07-24 04:30:05'::timestamp) - extract(epoch from '2026-07-24 04:29:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314172 -2.794704)', '2026-07-24 04:30:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794688)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794704)'))) / (select extract(epoch from '2026-07-24 04:30:22'::timestamp) - extract(epoch from '2026-07-24 04:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794688)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794704)'))) / (select extract(epoch from '2026-07-24 04:30:22'::timestamp) - extract(epoch from '2026-07-24 04:30:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314173 -2.794711)', '2026-07-24 04:30:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794704)'), GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794711)'))) / (select extract(epoch from '2026-07-24 04:30:38'::timestamp) - extract(epoch from '2026-07-24 04:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794704)'), GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794711)'))) / (select extract(epoch from '2026-07-24 04:30:38'::timestamp) - extract(epoch from '2026-07-24 04:30:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314168 -2.794709)', '2026-07-24 04:30:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794711)'), GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794709)'))) / (select extract(epoch from '2026-07-24 04:30:50'::timestamp) - extract(epoch from '2026-07-24 04:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794711)'), GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794709)'))) / (select extract(epoch from '2026-07-24 04:30:50'::timestamp) - extract(epoch from '2026-07-24 04:30:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314169 -2.794709)', '2026-07-24 04:31:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794709)'), GeomFromEWKT('SRID=4674;POINT (-40.314169 -2.794709)'))) / (select extract(epoch from '2026-07-24 04:31:10'::timestamp) - extract(epoch from '2026-07-24 04:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314168 -2.794709)'), GeomFromEWKT('SRID=4674;POINT (-40.314169 -2.794709)'))) / (select extract(epoch from '2026-07-24 04:31:10'::timestamp) - extract(epoch from '2026-07-24 04:30: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'), 47837, 'SRID=4674;POINT (-40.314171 -2.794698)', '2026-07-24 04:31:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314169 -2.794709)'), GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794698)'))) / (select extract(epoch from '2026-07-24 04:31:28'::timestamp) - extract(epoch from '2026-07-24 04:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314169 -2.794709)'), GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794698)'))) / (select extract(epoch from '2026-07-24 04:31:28'::timestamp) - extract(epoch from '2026-07-24 04:31:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314171 -2.794682)', '2026-07-24 04:31:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794682)'))) / (select extract(epoch from '2026-07-24 04:31:44'::timestamp) - extract(epoch from '2026-07-24 04:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794682)'))) / (select extract(epoch from '2026-07-24 04:31:44'::timestamp) - extract(epoch from '2026-07-24 04:31: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'), 47837, 'SRID=4674;POINT (-40.314171 -2.794677)', '2026-07-24 04:32:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794682)'), GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794677)'))) / (select extract(epoch from '2026-07-24 04:32:00'::timestamp) - extract(epoch from '2026-07-24 04:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794682)'), GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794677)'))) / (select extract(epoch from '2026-07-24 04:32:00'::timestamp) - extract(epoch from '2026-07-24 04:31: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'), 47837, 'SRID=4674;POINT (-40.314173 -2.794685)', '2026-07-24 04:32:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794677)'), GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794685)'))) / (select extract(epoch from '2026-07-24 04:32:10'::timestamp) - extract(epoch from '2026-07-24 04:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314171 -2.794677)'), GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794685)'))) / (select extract(epoch from '2026-07-24 04:32:10'::timestamp) - extract(epoch from '2026-07-24 04:32: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'), 47837, 'SRID=4674;POINT (-40.314167 -2.794696)', '2026-07-24 04:32:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794685)'), GeomFromEWKT('SRID=4674;POINT (-40.314167 -2.794696)'))) / (select extract(epoch from '2026-07-24 04:32:29'::timestamp) - extract(epoch from '2026-07-24 04:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794685)'), GeomFromEWKT('SRID=4674;POINT (-40.314167 -2.794696)'))) / (select extract(epoch from '2026-07-24 04:32:29'::timestamp) - extract(epoch from '2026-07-24 04:32: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'), 47837, 'SRID=4674;POINT (-40.314172 -2.7947)', '2026-07-24 04:32:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314167 -2.794696)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.7947)'))) / (select extract(epoch from '2026-07-24 04:32:54'::timestamp) - extract(epoch from '2026-07-24 04:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314167 -2.794696)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.7947)'))) / (select extract(epoch from '2026-07-24 04:32:54'::timestamp) - extract(epoch from '2026-07-24 04:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314172 -2.794701)', '2026-07-24 04:33:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.7947)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794701)'))) / (select extract(epoch from '2026-07-24 04:33:04'::timestamp) - extract(epoch from '2026-07-24 04:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.7947)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794701)'))) / (select extract(epoch from '2026-07-24 04:33:04'::timestamp) - extract(epoch from '2026-07-24 04:32: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'), 47837, 'SRID=4674;POINT (-40.314175 -2.794698)', '2026-07-24 04:33:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794701)'), GeomFromEWKT('SRID=4674;POINT (-40.314175 -2.794698)'))) / (select extract(epoch from '2026-07-24 04:33:19'::timestamp) - extract(epoch from '2026-07-24 04:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794701)'), GeomFromEWKT('SRID=4674;POINT (-40.314175 -2.794698)'))) / (select extract(epoch from '2026-07-24 04:33:19'::timestamp) - extract(epoch from '2026-07-24 04:33: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'), 47837, 'SRID=4674;POINT (-40.314172 -2.794704)', '2026-07-24 04:33:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314175 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794704)'))) / (select extract(epoch from '2026-07-24 04:33:34'::timestamp) - extract(epoch from '2026-07-24 04:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314175 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794704)'))) / (select extract(epoch from '2026-07-24 04:33:34'::timestamp) - extract(epoch from '2026-07-24 04:33:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314169 -2.794701)', '2026-07-24 04:33:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794704)'), GeomFromEWKT('SRID=4674;POINT (-40.314169 -2.794701)'))) / (select extract(epoch from '2026-07-24 04:33:44'::timestamp) - extract(epoch from '2026-07-24 04:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314172 -2.794704)'), GeomFromEWKT('SRID=4674;POINT (-40.314169 -2.794701)'))) / (select extract(epoch from '2026-07-24 04:33:44'::timestamp) - extract(epoch from '2026-07-24 04:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314164 -2.794687)', '2026-07-24 04:33:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314169 -2.794701)'), GeomFromEWKT('SRID=4674;POINT (-40.314164 -2.794687)'))) / (select extract(epoch from '2026-07-24 04:33:58'::timestamp) - extract(epoch from '2026-07-24 04:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314169 -2.794701)'), GeomFromEWKT('SRID=4674;POINT (-40.314164 -2.794687)'))) / (select extract(epoch from '2026-07-24 04:33:58'::timestamp) - extract(epoch from '2026-07-24 04:33: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'), 47837, 'SRID=4674;POINT (-40.314167 -2.794685)', '2026-07-24 04:34:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314164 -2.794687)'), GeomFromEWKT('SRID=4674;POINT (-40.314167 -2.794685)'))) / (select extract(epoch from '2026-07-24 04:34:14'::timestamp) - extract(epoch from '2026-07-24 04:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314164 -2.794687)'), GeomFromEWKT('SRID=4674;POINT (-40.314167 -2.794685)'))) / (select extract(epoch from '2026-07-24 04:34:14'::timestamp) - extract(epoch from '2026-07-24 04:33: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'), 47837, 'SRID=4674;POINT (-40.31417 -2.794698)', '2026-07-24 04:34:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314167 -2.794685)'), GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794698)'))) / (select extract(epoch from '2026-07-24 04:34:32'::timestamp) - extract(epoch from '2026-07-24 04:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314167 -2.794685)'), GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794698)'))) / (select extract(epoch from '2026-07-24 04:34:32'::timestamp) - extract(epoch from '2026-07-24 04:34: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'), 47837, 'SRID=4674;POINT (-40.314183 -2.794713)', '2026-07-24 04:34:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.314183 -2.794713)'))) / (select extract(epoch from '2026-07-24 04:34:50'::timestamp) - extract(epoch from '2026-07-24 04:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.314183 -2.794713)'))) / (select extract(epoch from '2026-07-24 04:34:50'::timestamp) - extract(epoch from '2026-07-24 04:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314178 -2.794709)', '2026-07-24 04:35:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314183 -2.794713)'), GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794709)'))) / (select extract(epoch from '2026-07-24 04:35:07'::timestamp) - extract(epoch from '2026-07-24 04:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314183 -2.794713)'), GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794709)'))) / (select extract(epoch from '2026-07-24 04:35:07'::timestamp) - extract(epoch from '2026-07-24 04:34: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'), 47837, 'SRID=4674;POINT (-40.314185 -2.794692)', '2026-07-24 04:35:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794709)'), GeomFromEWKT('SRID=4674;POINT (-40.314185 -2.794692)'))) / (select extract(epoch from '2026-07-24 04:35:25'::timestamp) - extract(epoch from '2026-07-24 04:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794709)'), GeomFromEWKT('SRID=4674;POINT (-40.314185 -2.794692)'))) / (select extract(epoch from '2026-07-24 04:35:25'::timestamp) - extract(epoch from '2026-07-24 04:35: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'), 47837, 'SRID=4674;POINT (-40.314178 -2.794682)', '2026-07-24 04:35:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314185 -2.794692)'), GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794682)'))) / (select extract(epoch from '2026-07-24 04:35:43'::timestamp) - extract(epoch from '2026-07-24 04:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314185 -2.794692)'), GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794682)'))) / (select extract(epoch from '2026-07-24 04:35:43'::timestamp) - extract(epoch from '2026-07-24 04:35: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'), 47837, 'SRID=4674;POINT (-40.314187 -2.794686)', '2026-07-24 04:36:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794682)'), GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794686)'))) / (select extract(epoch from '2026-07-24 04:36:03'::timestamp) - extract(epoch from '2026-07-24 04:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794682)'), GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794686)'))) / (select extract(epoch from '2026-07-24 04:36:03'::timestamp) - extract(epoch from '2026-07-24 04:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314184 -2.794702)', '2026-07-24 04:36:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794686)'), GeomFromEWKT('SRID=4674;POINT (-40.314184 -2.794702)'))) / (select extract(epoch from '2026-07-24 04:36:22'::timestamp) - extract(epoch from '2026-07-24 04:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314187 -2.794686)'), GeomFromEWKT('SRID=4674;POINT (-40.314184 -2.794702)'))) / (select extract(epoch from '2026-07-24 04:36:22'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.314177 -2.7947)', '2026-07-24 04:36:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314184 -2.794702)'), GeomFromEWKT('SRID=4674;POINT (-40.314177 -2.7947)'))) / (select extract(epoch from '2026-07-24 04:36:35'::timestamp) - extract(epoch from '2026-07-24 04:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314184 -2.794702)'), GeomFromEWKT('SRID=4674;POINT (-40.314177 -2.7947)'))) / (select extract(epoch from '2026-07-24 04:36:35'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.31419 -2.794702)', '2026-07-24 04:36:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314177 -2.7947)'), GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.794702)'))) / (select extract(epoch from '2026-07-24 04:36:57'::timestamp) - extract(epoch from '2026-07-24 04:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314177 -2.7947)'), GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.794702)'))) / (select extract(epoch from '2026-07-24 04:36:57'::timestamp) - extract(epoch from '2026-07-24 04:36: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'), 47837, 'SRID=4674;POINT (-40.314192 -2.794703)', '2026-07-24 04:37:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.794702)'), GeomFromEWKT('SRID=4674;POINT (-40.314192 -2.794703)'))) / (select extract(epoch from '2026-07-24 04:37:19'::timestamp) - extract(epoch from '2026-07-24 04:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31419 -2.794702)'), GeomFromEWKT('SRID=4674;POINT (-40.314192 -2.794703)'))) / (select extract(epoch from '2026-07-24 04:37:19'::timestamp) - extract(epoch from '2026-07-24 04:36: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'), 47837, 'SRID=4674;POINT (-40.314184 -2.794707)', '2026-07-24 04:37:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314192 -2.794703)'), GeomFromEWKT('SRID=4674;POINT (-40.314184 -2.794707)'))) / (select extract(epoch from '2026-07-24 04:37:42'::timestamp) - extract(epoch from '2026-07-24 04:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314192 -2.794703)'), GeomFromEWKT('SRID=4674;POINT (-40.314184 -2.794707)'))) / (select extract(epoch from '2026-07-24 04:37:42'::timestamp) - extract(epoch from '2026-07-24 04:37:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314173 -2.794693)', '2026-07-24 04:37:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314184 -2.794707)'), GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794693)'))) / (select extract(epoch from '2026-07-24 04:37:58'::timestamp) - extract(epoch from '2026-07-24 04:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314184 -2.794707)'), GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794693)'))) / (select extract(epoch from '2026-07-24 04:37:58'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.314178 -2.794685)', '2026-07-24 04:38:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794693)'), GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794685)'))) / (select extract(epoch from '2026-07-24 04:38:20'::timestamp) - extract(epoch from '2026-07-24 04:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314173 -2.794693)'), GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794685)'))) / (select extract(epoch from '2026-07-24 04:38:20'::timestamp) - extract(epoch from '2026-07-24 04:37:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314177 -2.79469)', '2026-07-24 04:38:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794685)'), GeomFromEWKT('SRID=4674;POINT (-40.314177 -2.79469)'))) / (select extract(epoch from '2026-07-24 04:38:34'::timestamp) - extract(epoch from '2026-07-24 04:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314178 -2.794685)'), GeomFromEWKT('SRID=4674;POINT (-40.314177 -2.79469)'))) / (select extract(epoch from '2026-07-24 04:38:34'::timestamp) - extract(epoch from '2026-07-24 04:38:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314179 -2.794681)', '2026-07-24 04:38:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314177 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.314179 -2.794681)'))) / (select extract(epoch from '2026-07-24 04:38:48'::timestamp) - extract(epoch from '2026-07-24 04:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314177 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.314179 -2.794681)'))) / (select extract(epoch from '2026-07-24 04:38:48'::timestamp) - extract(epoch from '2026-07-24 04:38: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'), 47837, 'SRID=4674;POINT (-40.31417 -2.794677)', '2026-07-24 04:39:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314179 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794677)'))) / (select extract(epoch from '2026-07-24 04:39:05'::timestamp) - extract(epoch from '2026-07-24 04:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314179 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794677)'))) / (select extract(epoch from '2026-07-24 04:39:05'::timestamp) - extract(epoch from '2026-07-24 04:38:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31417 -2.794681)', '2026-07-24 04:39:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794677)'), GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794681)'))) / (select extract(epoch from '2026-07-24 04:39:16'::timestamp) - extract(epoch from '2026-07-24 04:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794677)'), GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794681)'))) / (select extract(epoch from '2026-07-24 04:39:16'::timestamp) - extract(epoch from '2026-07-24 04:39: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'), 47837, 'SRID=4674;POINT (-40.314142 -2.794688)', '2026-07-24 04:39:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.314142 -2.794688)'))) / (select extract(epoch from '2026-07-24 04:39:24'::timestamp) - extract(epoch from '2026-07-24 04:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.314142 -2.794688)'))) / (select extract(epoch from '2026-07-24 04:39:24'::timestamp) - extract(epoch from '2026-07-24 04:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314068 -2.794675)', '2026-07-24 04:39:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314142 -2.794688)'), GeomFromEWKT('SRID=4674;POINT (-40.314068 -2.794675)'))) / (select extract(epoch from '2026-07-24 04:39:40'::timestamp) - extract(epoch from '2026-07-24 04:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314142 -2.794688)'), GeomFromEWKT('SRID=4674;POINT (-40.314068 -2.794675)'))) / (select extract(epoch from '2026-07-24 04:39:40'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.314015 -2.79468)', '2026-07-24 04:39:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314068 -2.794675)'), GeomFromEWKT('SRID=4674;POINT (-40.314015 -2.79468)'))) / (select extract(epoch from '2026-07-24 04:39:54'::timestamp) - extract(epoch from '2026-07-24 04:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314068 -2.794675)'), GeomFromEWKT('SRID=4674;POINT (-40.314015 -2.79468)'))) / (select extract(epoch from '2026-07-24 04:39:54'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.314019 -2.794697)', '2026-07-24 04:40:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314015 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.314019 -2.794697)'))) / (select extract(epoch from '2026-07-24 04:40:08'::timestamp) - extract(epoch from '2026-07-24 04:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314015 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.314019 -2.794697)'))) / (select extract(epoch from '2026-07-24 04:40:08'::timestamp) - extract(epoch from '2026-07-24 04:39: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'), 47837, 'SRID=4674;POINT (-40.314083 -2.79469)', '2026-07-24 04:40:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314019 -2.794697)'), GeomFromEWKT('SRID=4674;POINT (-40.314083 -2.79469)'))) / (select extract(epoch from '2026-07-24 04:40:24'::timestamp) - extract(epoch from '2026-07-24 04:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314019 -2.794697)'), GeomFromEWKT('SRID=4674;POINT (-40.314083 -2.79469)'))) / (select extract(epoch from '2026-07-24 04:40:24'::timestamp) - extract(epoch from '2026-07-24 04:40:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31408 -2.794711)', '2026-07-24 04:40:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314083 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.31408 -2.794711)'))) / (select extract(epoch from '2026-07-24 04:40:32'::timestamp) - extract(epoch from '2026-07-24 04:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314083 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.31408 -2.794711)'))) / (select extract(epoch from '2026-07-24 04:40:32'::timestamp) - extract(epoch from '2026-07-24 04:40: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'), 47837, 'SRID=4674;POINT (-40.314104 -2.794818)', '2026-07-24 04:40:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31408 -2.794711)'), GeomFromEWKT('SRID=4674;POINT (-40.314104 -2.794818)'))) / (select extract(epoch from '2026-07-24 04:40:44'::timestamp) - extract(epoch from '2026-07-24 04:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31408 -2.794711)'), GeomFromEWKT('SRID=4674;POINT (-40.314104 -2.794818)'))) / (select extract(epoch from '2026-07-24 04:40:44'::timestamp) - extract(epoch from '2026-07-24 04:40: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'), 47837, 'SRID=4674;POINT (-40.314133 -2.794972)', '2026-07-24 04:40:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314104 -2.794818)'), GeomFromEWKT('SRID=4674;POINT (-40.314133 -2.794972)'))) / (select extract(epoch from '2026-07-24 04:40:57'::timestamp) - extract(epoch from '2026-07-24 04:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314104 -2.794818)'), GeomFromEWKT('SRID=4674;POINT (-40.314133 -2.794972)'))) / (select extract(epoch from '2026-07-24 04:40:57'::timestamp) - extract(epoch from '2026-07-24 04:40:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31414 -2.795113)', '2026-07-24 04:41:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314133 -2.794972)'), GeomFromEWKT('SRID=4674;POINT (-40.31414 -2.795113)'))) / (select extract(epoch from '2026-07-24 04:41:06'::timestamp) - extract(epoch from '2026-07-24 04:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314133 -2.794972)'), GeomFromEWKT('SRID=4674;POINT (-40.31414 -2.795113)'))) / (select extract(epoch from '2026-07-24 04:41:06'::timestamp) - extract(epoch from '2026-07-24 04:40: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'), 47837, 'SRID=4674;POINT (-40.314155 -2.795216)', '2026-07-24 04:41:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31414 -2.795113)'), GeomFromEWKT('SRID=4674;POINT (-40.314155 -2.795216)'))) / (select extract(epoch from '2026-07-24 04:41:13'::timestamp) - extract(epoch from '2026-07-24 04:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31414 -2.795113)'), GeomFromEWKT('SRID=4674;POINT (-40.314155 -2.795216)'))) / (select extract(epoch from '2026-07-24 04:41:13'::timestamp) - extract(epoch from '2026-07-24 04:41: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'), 47837, 'SRID=4674;POINT (-40.31417 -2.795284)', '2026-07-24 04:41:21', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314155 -2.795216)'), GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.795284)'))) / (select extract(epoch from '2026-07-24 04:41:21'::timestamp) - extract(epoch from '2026-07-24 04:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314155 -2.795216)'), GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.795284)'))) / (select extract(epoch from '2026-07-24 04:41:21'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.314189 -2.795322)', '2026-07-24 04:41:31', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.795284)'), GeomFromEWKT('SRID=4674;POINT (-40.314189 -2.795322)'))) / (select extract(epoch from '2026-07-24 04:41:31'::timestamp) - extract(epoch from '2026-07-24 04:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31417 -2.795284)'), GeomFromEWKT('SRID=4674;POINT (-40.314189 -2.795322)'))) / (select extract(epoch from '2026-07-24 04:41:31'::timestamp) - extract(epoch from '2026-07-24 04:41: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'), 47837, 'SRID=4674;POINT (-40.314223 -2.79535)', '2026-07-24 04:41:44', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314189 -2.795322)'), GeomFromEWKT('SRID=4674;POINT (-40.314223 -2.79535)'))) / (select extract(epoch from '2026-07-24 04:41:44'::timestamp) - extract(epoch from '2026-07-24 04:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314189 -2.795322)'), GeomFromEWKT('SRID=4674;POINT (-40.314223 -2.79535)'))) / (select extract(epoch from '2026-07-24 04:41:44'::timestamp) - extract(epoch from '2026-07-24 04:41:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314265 -2.795348)', '2026-07-24 04:41:56', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314223 -2.79535)'), GeomFromEWKT('SRID=4674;POINT (-40.314265 -2.795348)'))) / (select extract(epoch from '2026-07-24 04:41:56'::timestamp) - extract(epoch from '2026-07-24 04:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314223 -2.79535)'), GeomFromEWKT('SRID=4674;POINT (-40.314265 -2.795348)'))) / (select extract(epoch from '2026-07-24 04:41:56'::timestamp) - extract(epoch from '2026-07-24 04:41:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314321 -2.795344)', '2026-07-24 04:42:11', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314265 -2.795348)'), GeomFromEWKT('SRID=4674;POINT (-40.314321 -2.795344)'))) / (select extract(epoch from '2026-07-24 04:42:11'::timestamp) - extract(epoch from '2026-07-24 04:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314265 -2.795348)'), GeomFromEWKT('SRID=4674;POINT (-40.314321 -2.795344)'))) / (select extract(epoch from '2026-07-24 04:42:11'::timestamp) - extract(epoch from '2026-07-24 04:41: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'), 47837, 'SRID=4674;POINT (-40.314379 -2.795337)', '2026-07-24 04:42:24', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314321 -2.795344)'), GeomFromEWKT('SRID=4674;POINT (-40.314379 -2.795337)'))) / (select extract(epoch from '2026-07-24 04:42:24'::timestamp) - extract(epoch from '2026-07-24 04:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314321 -2.795344)'), GeomFromEWKT('SRID=4674;POINT (-40.314379 -2.795337)'))) / (select extract(epoch from '2026-07-24 04:42:24'::timestamp) - extract(epoch from '2026-07-24 04:42: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'), 47837, 'SRID=4674;POINT (-40.314409 -2.795342)', '2026-07-24 04:42:36', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314379 -2.795337)'), GeomFromEWKT('SRID=4674;POINT (-40.314409 -2.795342)'))) / (select extract(epoch from '2026-07-24 04:42:36'::timestamp) - extract(epoch from '2026-07-24 04:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314379 -2.795337)'), GeomFromEWKT('SRID=4674;POINT (-40.314409 -2.795342)'))) / (select extract(epoch from '2026-07-24 04:42:36'::timestamp) - extract(epoch from '2026-07-24 04:42:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314407 -2.795337)', '2026-07-24 04:42:52', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314409 -2.795342)'), GeomFromEWKT('SRID=4674;POINT (-40.314407 -2.795337)'))) / (select extract(epoch from '2026-07-24 04:42:52'::timestamp) - extract(epoch from '2026-07-24 04:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314409 -2.795342)'), GeomFromEWKT('SRID=4674;POINT (-40.314407 -2.795337)'))) / (select extract(epoch from '2026-07-24 04:42:52'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.314412 -2.795349)', '2026-07-24 04:43:04', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314407 -2.795337)'), GeomFromEWKT('SRID=4674;POINT (-40.314412 -2.795349)'))) / (select extract(epoch from '2026-07-24 04:43:04'::timestamp) - extract(epoch from '2026-07-24 04:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314407 -2.795337)'), GeomFromEWKT('SRID=4674;POINT (-40.314412 -2.795349)'))) / (select extract(epoch from '2026-07-24 04:43:04'::timestamp) - extract(epoch from '2026-07-24 04:42: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'), 47837, 'SRID=4674;POINT (-40.31441 -2.795364)', '2026-07-24 04:43:20', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314412 -2.795349)'), GeomFromEWKT('SRID=4674;POINT (-40.31441 -2.795364)'))) / (select extract(epoch from '2026-07-24 04:43:20'::timestamp) - extract(epoch from '2026-07-24 04:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314412 -2.795349)'), GeomFromEWKT('SRID=4674;POINT (-40.31441 -2.795364)'))) / (select extract(epoch from '2026-07-24 04:43:20'::timestamp) - extract(epoch from '2026-07-24 04:43:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314408 -2.795367)', '2026-07-24 04:43:38', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31441 -2.795364)'), GeomFromEWKT('SRID=4674;POINT (-40.314408 -2.795367)'))) / (select extract(epoch from '2026-07-24 04:43:38'::timestamp) - extract(epoch from '2026-07-24 04:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31441 -2.795364)'), GeomFromEWKT('SRID=4674;POINT (-40.314408 -2.795367)'))) / (select extract(epoch from '2026-07-24 04:43:38'::timestamp) - extract(epoch from '2026-07-24 04:43:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314405 -2.795349)', '2026-07-24 04:43:56', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314408 -2.795367)'), GeomFromEWKT('SRID=4674;POINT (-40.314405 -2.795349)'))) / (select extract(epoch from '2026-07-24 04:43:56'::timestamp) - extract(epoch from '2026-07-24 04:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314408 -2.795367)'), GeomFromEWKT('SRID=4674;POINT (-40.314405 -2.795349)'))) / (select extract(epoch from '2026-07-24 04:43:56'::timestamp) - extract(epoch from '2026-07-24 04:43: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'), 47837, 'SRID=4674;POINT (-40.314409 -2.795355)', '2026-07-24 04:44:18', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314405 -2.795349)'), GeomFromEWKT('SRID=4674;POINT (-40.314409 -2.795355)'))) / (select extract(epoch from '2026-07-24 04:44:18'::timestamp) - extract(epoch from '2026-07-24 04:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314405 -2.795349)'), GeomFromEWKT('SRID=4674;POINT (-40.314409 -2.795355)'))) / (select extract(epoch from '2026-07-24 04:44:18'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.314405 -2.795369)', '2026-07-24 04:44:38', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314409 -2.795355)'), GeomFromEWKT('SRID=4674;POINT (-40.314405 -2.795369)'))) / (select extract(epoch from '2026-07-24 04:44:38'::timestamp) - extract(epoch from '2026-07-24 04:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314409 -2.795355)'), GeomFromEWKT('SRID=4674;POINT (-40.314405 -2.795369)'))) / (select extract(epoch from '2026-07-24 04:44:38'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.314416 -2.795362)', '2026-07-24 04:44:55', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314405 -2.795369)'), GeomFromEWKT('SRID=4674;POINT (-40.314416 -2.795362)'))) / (select extract(epoch from '2026-07-24 04:44:55'::timestamp) - extract(epoch from '2026-07-24 04:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314405 -2.795369)'), GeomFromEWKT('SRID=4674;POINT (-40.314416 -2.795362)'))) / (select extract(epoch from '2026-07-24 04:44:55'::timestamp) - extract(epoch from '2026-07-24 04:44: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'), 47837, 'SRID=4674;POINT (-40.31441 -2.795355)', '2026-07-24 04:45:11', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314416 -2.795362)'), GeomFromEWKT('SRID=4674;POINT (-40.31441 -2.795355)'))) / (select extract(epoch from '2026-07-24 04:45:11'::timestamp) - extract(epoch from '2026-07-24 04:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314416 -2.795362)'), GeomFromEWKT('SRID=4674;POINT (-40.31441 -2.795355)'))) / (select extract(epoch from '2026-07-24 04:45:11'::timestamp) - extract(epoch from '2026-07-24 04:44: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'), 47837, 'SRID=4674;POINT (-40.314412 -2.795354)', '2026-07-24 04:45:30', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31441 -2.795355)'), GeomFromEWKT('SRID=4674;POINT (-40.314412 -2.795354)'))) / (select extract(epoch from '2026-07-24 04:45:30'::timestamp) - extract(epoch from '2026-07-24 04:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31441 -2.795355)'), GeomFromEWKT('SRID=4674;POINT (-40.314412 -2.795354)'))) / (select extract(epoch from '2026-07-24 04:45:30'::timestamp) - extract(epoch from '2026-07-24 04:45:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314412 -2.795346)', '2026-07-24 04:45:49', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314412 -2.795354)'), GeomFromEWKT('SRID=4674;POINT (-40.314412 -2.795346)'))) / (select extract(epoch from '2026-07-24 04:45:49'::timestamp) - extract(epoch from '2026-07-24 04:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314412 -2.795354)'), GeomFromEWKT('SRID=4674;POINT (-40.314412 -2.795346)'))) / (select extract(epoch from '2026-07-24 04:45:49'::timestamp) - extract(epoch from '2026-07-24 04:45: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'), 47837, 'SRID=4674;POINT (-40.314412 -2.795334)', '2026-07-24 04:46:09', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314412 -2.795346)'), GeomFromEWKT('SRID=4674;POINT (-40.314412 -2.795334)'))) / (select extract(epoch from '2026-07-24 04:46:09'::timestamp) - extract(epoch from '2026-07-24 04:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314412 -2.795346)'), GeomFromEWKT('SRID=4674;POINT (-40.314412 -2.795334)'))) / (select extract(epoch from '2026-07-24 04:46:09'::timestamp) - extract(epoch from '2026-07-24 04:45: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'), 47837, 'SRID=4674;POINT (-40.31441 -2.79534)', '2026-07-24 04:46:24', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314412 -2.795334)'), GeomFromEWKT('SRID=4674;POINT (-40.31441 -2.79534)'))) / (select extract(epoch from '2026-07-24 04:46:24'::timestamp) - extract(epoch from '2026-07-24 04:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314412 -2.795334)'), GeomFromEWKT('SRID=4674;POINT (-40.31441 -2.79534)'))) / (select extract(epoch from '2026-07-24 04:46:24'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.314406 -2.79533)', '2026-07-24 04:46:44', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31441 -2.79534)'), GeomFromEWKT('SRID=4674;POINT (-40.314406 -2.79533)'))) / (select extract(epoch from '2026-07-24 04:46:44'::timestamp) - extract(epoch from '2026-07-24 04:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31441 -2.79534)'), GeomFromEWKT('SRID=4674;POINT (-40.314406 -2.79533)'))) / (select extract(epoch from '2026-07-24 04:46:44'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.3144 -2.795326)', '2026-07-24 04:47:01', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314406 -2.79533)'), GeomFromEWKT('SRID=4674;POINT (-40.3144 -2.795326)'))) / (select extract(epoch from '2026-07-24 04:47:01'::timestamp) - extract(epoch from '2026-07-24 04:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314406 -2.79533)'), GeomFromEWKT('SRID=4674;POINT (-40.3144 -2.795326)'))) / (select extract(epoch from '2026-07-24 04:47:01'::timestamp) - extract(epoch from '2026-07-24 04:46:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314402 -2.795333)', '2026-07-24 04:47:25', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3144 -2.795326)'), GeomFromEWKT('SRID=4674;POINT (-40.314402 -2.795333)'))) / (select extract(epoch from '2026-07-24 04:47:25'::timestamp) - extract(epoch from '2026-07-24 04:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3144 -2.795326)'), GeomFromEWKT('SRID=4674;POINT (-40.314402 -2.795333)'))) / (select extract(epoch from '2026-07-24 04:47:25'::timestamp) - extract(epoch from '2026-07-24 04:47:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314415 -2.795339)', '2026-07-24 04:47:45', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314402 -2.795333)'), GeomFromEWKT('SRID=4674;POINT (-40.314415 -2.795339)'))) / (select extract(epoch from '2026-07-24 04:47:45'::timestamp) - extract(epoch from '2026-07-24 04:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314402 -2.795333)'), GeomFromEWKT('SRID=4674;POINT (-40.314415 -2.795339)'))) / (select extract(epoch from '2026-07-24 04:47:45'::timestamp) - extract(epoch from '2026-07-24 04:47: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'), 47837, 'SRID=4674;POINT (-40.314413 -2.795343)', '2026-07-24 04:48:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314415 -2.795339)'), GeomFromEWKT('SRID=4674;POINT (-40.314413 -2.795343)'))) / (select extract(epoch from '2026-07-24 04:48:04'::timestamp) - extract(epoch from '2026-07-24 04:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314415 -2.795339)'), GeomFromEWKT('SRID=4674;POINT (-40.314413 -2.795343)'))) / (select extract(epoch from '2026-07-24 04:48:04'::timestamp) - extract(epoch from '2026-07-24 04:47:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314408 -2.795342)', '2026-07-24 04:48:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314413 -2.795343)'), GeomFromEWKT('SRID=4674;POINT (-40.314408 -2.795342)'))) / (select extract(epoch from '2026-07-24 04:48:18'::timestamp) - extract(epoch from '2026-07-24 04:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314413 -2.795343)'), GeomFromEWKT('SRID=4674;POINT (-40.314408 -2.795342)'))) / (select extract(epoch from '2026-07-24 04:48:18'::timestamp) - extract(epoch from '2026-07-24 04:48:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314406 -2.795344)', '2026-07-24 04:48:34', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314408 -2.795342)'), GeomFromEWKT('SRID=4674;POINT (-40.314406 -2.795344)'))) / (select extract(epoch from '2026-07-24 04:48:34'::timestamp) - extract(epoch from '2026-07-24 04:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314408 -2.795342)'), GeomFromEWKT('SRID=4674;POINT (-40.314406 -2.795344)'))) / (select extract(epoch from '2026-07-24 04:48:34'::timestamp) - extract(epoch from '2026-07-24 04:48:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314392 -2.795333)', '2026-07-24 04:48:48', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314406 -2.795344)'), GeomFromEWKT('SRID=4674;POINT (-40.314392 -2.795333)'))) / (select extract(epoch from '2026-07-24 04:48:48'::timestamp) - extract(epoch from '2026-07-24 04:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314406 -2.795344)'), GeomFromEWKT('SRID=4674;POINT (-40.314392 -2.795333)'))) / (select extract(epoch from '2026-07-24 04:48:48'::timestamp) - extract(epoch from '2026-07-24 04:48: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'), 47837, 'SRID=4674;POINT (-40.314395 -2.795332)', '2026-07-24 04:49:06', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314392 -2.795333)'), GeomFromEWKT('SRID=4674;POINT (-40.314395 -2.795332)'))) / (select extract(epoch from '2026-07-24 04:49:06'::timestamp) - extract(epoch from '2026-07-24 04:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314392 -2.795333)'), GeomFromEWKT('SRID=4674;POINT (-40.314395 -2.795332)'))) / (select extract(epoch from '2026-07-24 04:49:06'::timestamp) - extract(epoch from '2026-07-24 04:48: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'), 47837, 'SRID=4674;POINT (-40.3144 -2.79535)', '2026-07-24 04:49:24', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314395 -2.795332)'), GeomFromEWKT('SRID=4674;POINT (-40.3144 -2.79535)'))) / (select extract(epoch from '2026-07-24 04:49:24'::timestamp) - extract(epoch from '2026-07-24 04:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314395 -2.795332)'), GeomFromEWKT('SRID=4674;POINT (-40.3144 -2.79535)'))) / (select extract(epoch from '2026-07-24 04:49:24'::timestamp) - extract(epoch from '2026-07-24 04:49: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'), 47837, 'SRID=4674;POINT (-40.314402 -2.79535)', '2026-07-24 04:49:45', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3144 -2.79535)'), GeomFromEWKT('SRID=4674;POINT (-40.314402 -2.79535)'))) / (select extract(epoch from '2026-07-24 04:49:45'::timestamp) - extract(epoch from '2026-07-24 04:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3144 -2.79535)'), GeomFromEWKT('SRID=4674;POINT (-40.314402 -2.79535)'))) / (select extract(epoch from '2026-07-24 04:49:45'::timestamp) - extract(epoch from '2026-07-24 04:49:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314404 -2.795333)', '2026-07-24 04:50:09', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314402 -2.79535)'), GeomFromEWKT('SRID=4674;POINT (-40.314404 -2.795333)'))) / (select extract(epoch from '2026-07-24 04:50:09'::timestamp) - extract(epoch from '2026-07-24 04:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314402 -2.79535)'), GeomFromEWKT('SRID=4674;POINT (-40.314404 -2.795333)'))) / (select extract(epoch from '2026-07-24 04:50:09'::timestamp) - extract(epoch from '2026-07-24 04:49:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.3144 -2.795324)', '2026-07-24 04:50:29', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314404 -2.795333)'), GeomFromEWKT('SRID=4674;POINT (-40.3144 -2.795324)'))) / (select extract(epoch from '2026-07-24 04:50:29'::timestamp) - extract(epoch from '2026-07-24 04:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314404 -2.795333)'), GeomFromEWKT('SRID=4674;POINT (-40.3144 -2.795324)'))) / (select extract(epoch from '2026-07-24 04:50:29'::timestamp) - extract(epoch from '2026-07-24 04:50: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'), 47837, 'SRID=4674;POINT (-40.314379 -2.79533)', '2026-07-24 04:50:48', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3144 -2.795324)'), GeomFromEWKT('SRID=4674;POINT (-40.314379 -2.79533)'))) / (select extract(epoch from '2026-07-24 04:50:48'::timestamp) - extract(epoch from '2026-07-24 04:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3144 -2.795324)'), GeomFromEWKT('SRID=4674;POINT (-40.314379 -2.79533)'))) / (select extract(epoch from '2026-07-24 04:50:48'::timestamp) - extract(epoch from '2026-07-24 04:50: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'), 47837, 'SRID=4674;POINT (-40.314342 -2.795342)', '2026-07-24 04:51:02', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314379 -2.79533)'), GeomFromEWKT('SRID=4674;POINT (-40.314342 -2.795342)'))) / (select extract(epoch from '2026-07-24 04:51:02'::timestamp) - extract(epoch from '2026-07-24 04:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314379 -2.79533)'), GeomFromEWKT('SRID=4674;POINT (-40.314342 -2.795342)'))) / (select extract(epoch from '2026-07-24 04:51:02'::timestamp) - extract(epoch from '2026-07-24 04:50:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314269 -2.795346)', '2026-07-24 04:51:17', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314342 -2.795342)'), GeomFromEWKT('SRID=4674;POINT (-40.314269 -2.795346)'))) / (select extract(epoch from '2026-07-24 04:51:17'::timestamp) - extract(epoch from '2026-07-24 04:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314342 -2.795342)'), GeomFromEWKT('SRID=4674;POINT (-40.314269 -2.795346)'))) / (select extract(epoch from '2026-07-24 04:51:17'::timestamp) - extract(epoch from '2026-07-24 04:51:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314224 -2.795356)', '2026-07-24 04:51:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314269 -2.795346)'), GeomFromEWKT('SRID=4674;POINT (-40.314224 -2.795356)'))) / (select extract(epoch from '2026-07-24 04:51:28'::timestamp) - extract(epoch from '2026-07-24 04:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314269 -2.795346)'), GeomFromEWKT('SRID=4674;POINT (-40.314224 -2.795356)'))) / (select extract(epoch from '2026-07-24 04:51:28'::timestamp) - extract(epoch from '2026-07-24 04:51: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'), 47837, 'SRID=4674;POINT (-40.314185 -2.795338)', '2026-07-24 04:51:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314224 -2.795356)'), GeomFromEWKT('SRID=4674;POINT (-40.314185 -2.795338)'))) / (select extract(epoch from '2026-07-24 04:51:40'::timestamp) - extract(epoch from '2026-07-24 04:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314224 -2.795356)'), GeomFromEWKT('SRID=4674;POINT (-40.314185 -2.795338)'))) / (select extract(epoch from '2026-07-24 04:51:40'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.314159 -2.795236)', '2026-07-24 04:51:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314185 -2.795338)'), GeomFromEWKT('SRID=4674;POINT (-40.314159 -2.795236)'))) / (select extract(epoch from '2026-07-24 04:51:47'::timestamp) - extract(epoch from '2026-07-24 04:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314185 -2.795338)'), GeomFromEWKT('SRID=4674;POINT (-40.314159 -2.795236)'))) / (select extract(epoch from '2026-07-24 04:51:47'::timestamp) - extract(epoch from '2026-07-24 04:51:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314158 -2.795138)', '2026-07-24 04:51:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314159 -2.795236)'), GeomFromEWKT('SRID=4674;POINT (-40.314158 -2.795138)'))) / (select extract(epoch from '2026-07-24 04:51:52'::timestamp) - extract(epoch from '2026-07-24 04:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314159 -2.795236)'), GeomFromEWKT('SRID=4674;POINT (-40.314158 -2.795138)'))) / (select extract(epoch from '2026-07-24 04:51:52'::timestamp) - extract(epoch from '2026-07-24 04:51: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'), 47837, 'SRID=4674;POINT (-40.314147 -2.794979)', '2026-07-24 04:52:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314158 -2.795138)'), GeomFromEWKT('SRID=4674;POINT (-40.314147 -2.794979)'))) / (select extract(epoch from '2026-07-24 04:52:00'::timestamp) - extract(epoch from '2026-07-24 04:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314158 -2.795138)'), GeomFromEWKT('SRID=4674;POINT (-40.314147 -2.794979)'))) / (select extract(epoch from '2026-07-24 04:52:00'::timestamp) - extract(epoch from '2026-07-24 04:51:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31411 -2.794834)', '2026-07-24 04:52:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314147 -2.794979)'), GeomFromEWKT('SRID=4674;POINT (-40.31411 -2.794834)'))) / (select extract(epoch from '2026-07-24 04:52:07'::timestamp) - extract(epoch from '2026-07-24 04:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314147 -2.794979)'), GeomFromEWKT('SRID=4674;POINT (-40.31411 -2.794834)'))) / (select extract(epoch from '2026-07-24 04:52:07'::timestamp) - extract(epoch from '2026-07-24 04:52:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314035 -2.794671)', '2026-07-24 04:52:15', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31411 -2.794834)'), GeomFromEWKT('SRID=4674;POINT (-40.314035 -2.794671)'))) / (select extract(epoch from '2026-07-24 04:52:15'::timestamp) - extract(epoch from '2026-07-24 04:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31411 -2.794834)'), GeomFromEWKT('SRID=4674;POINT (-40.314035 -2.794671)'))) / (select extract(epoch from '2026-07-24 04:52:15'::timestamp) - extract(epoch from '2026-07-24 04:52:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313932 -2.794533)', '2026-07-24 04:52:23', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314035 -2.794671)'), GeomFromEWKT('SRID=4674;POINT (-40.313932 -2.794533)'))) / (select extract(epoch from '2026-07-24 04:52:23'::timestamp) - extract(epoch from '2026-07-24 04:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314035 -2.794671)'), GeomFromEWKT('SRID=4674;POINT (-40.313932 -2.794533)'))) / (select extract(epoch from '2026-07-24 04:52:23'::timestamp) - extract(epoch from '2026-07-24 04:52:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313833 -2.794411)', '2026-07-24 04:52:31', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313932 -2.794533)'), GeomFromEWKT('SRID=4674;POINT (-40.313833 -2.794411)'))) / (select extract(epoch from '2026-07-24 04:52:31'::timestamp) - extract(epoch from '2026-07-24 04:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313932 -2.794533)'), GeomFromEWKT('SRID=4674;POINT (-40.313833 -2.794411)'))) / (select extract(epoch from '2026-07-24 04:52:31'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.313754 -2.794234)', '2026-07-24 04:52:40', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313833 -2.794411)'), GeomFromEWKT('SRID=4674;POINT (-40.313754 -2.794234)'))) / (select extract(epoch from '2026-07-24 04:52:40'::timestamp) - extract(epoch from '2026-07-24 04:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313833 -2.794411)'), GeomFromEWKT('SRID=4674;POINT (-40.313754 -2.794234)'))) / (select extract(epoch from '2026-07-24 04:52:40'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.313734 -2.794171)', '2026-07-24 04:52:46', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313754 -2.794234)'), GeomFromEWKT('SRID=4674;POINT (-40.313734 -2.794171)'))) / (select extract(epoch from '2026-07-24 04:52:46'::timestamp) - extract(epoch from '2026-07-24 04:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313754 -2.794234)'), GeomFromEWKT('SRID=4674;POINT (-40.313734 -2.794171)'))) / (select extract(epoch from '2026-07-24 04:52:46'::timestamp) - extract(epoch from '2026-07-24 04:52: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'), 47837, 'SRID=4674;POINT (-40.313738 -2.794095)', '2026-07-24 04:52:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313734 -2.794171)'), GeomFromEWKT('SRID=4674;POINT (-40.313738 -2.794095)'))) / (select extract(epoch from '2026-07-24 04:52:57'::timestamp) - extract(epoch from '2026-07-24 04:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313734 -2.794171)'), GeomFromEWKT('SRID=4674;POINT (-40.313738 -2.794095)'))) / (select extract(epoch from '2026-07-24 04:52:57'::timestamp) - extract(epoch from '2026-07-24 04:52: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'), 47837, 'SRID=4674;POINT (-40.313721 -2.793983)', '2026-07-24 04:53:07', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313738 -2.794095)'), GeomFromEWKT('SRID=4674;POINT (-40.313721 -2.793983)'))) / (select extract(epoch from '2026-07-24 04:53:07'::timestamp) - extract(epoch from '2026-07-24 04:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313738 -2.794095)'), GeomFromEWKT('SRID=4674;POINT (-40.313721 -2.793983)'))) / (select extract(epoch from '2026-07-24 04:53:07'::timestamp) - extract(epoch from '2026-07-24 04:52:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313712 -2.793911)', '2026-07-24 04:53:15', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313721 -2.793983)'), GeomFromEWKT('SRID=4674;POINT (-40.313712 -2.793911)'))) / (select extract(epoch from '2026-07-24 04:53:15'::timestamp) - extract(epoch from '2026-07-24 04:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313721 -2.793983)'), GeomFromEWKT('SRID=4674;POINT (-40.313712 -2.793911)'))) / (select extract(epoch from '2026-07-24 04:53:15'::timestamp) - extract(epoch from '2026-07-24 04:53: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'), 47837, 'SRID=4674;POINT (-40.31375 -2.793861)', '2026-07-24 04:53:29', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313712 -2.793911)'), GeomFromEWKT('SRID=4674;POINT (-40.31375 -2.793861)'))) / (select extract(epoch from '2026-07-24 04:53:29'::timestamp) - extract(epoch from '2026-07-24 04:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313712 -2.793911)'), GeomFromEWKT('SRID=4674;POINT (-40.31375 -2.793861)'))) / (select extract(epoch from '2026-07-24 04:53:29'::timestamp) - extract(epoch from '2026-07-24 04:53:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31381 -2.79385)', '2026-07-24 04:53:43', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31375 -2.793861)'), GeomFromEWKT('SRID=4674;POINT (-40.31381 -2.79385)'))) / (select extract(epoch from '2026-07-24 04:53:43'::timestamp) - extract(epoch from '2026-07-24 04:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31375 -2.793861)'), GeomFromEWKT('SRID=4674;POINT (-40.31381 -2.79385)'))) / (select extract(epoch from '2026-07-24 04:53:43'::timestamp) - extract(epoch from '2026-07-24 04:53:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313848 -2.793861)', '2026-07-24 04:53:55', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31381 -2.79385)'), GeomFromEWKT('SRID=4674;POINT (-40.313848 -2.793861)'))) / (select extract(epoch from '2026-07-24 04:53:55'::timestamp) - extract(epoch from '2026-07-24 04:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31381 -2.79385)'), GeomFromEWKT('SRID=4674;POINT (-40.313848 -2.793861)'))) / (select extract(epoch from '2026-07-24 04:53:55'::timestamp) - extract(epoch from '2026-07-24 04:53: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'), 47837, 'SRID=4674;POINT (-40.313904 -2.793874)', '2026-07-24 04:54:09', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313848 -2.793861)'), GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793874)'))) / (select extract(epoch from '2026-07-24 04:54:09'::timestamp) - extract(epoch from '2026-07-24 04:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313848 -2.793861)'), GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793874)'))) / (select extract(epoch from '2026-07-24 04:54:09'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.313927 -2.793851)', '2026-07-24 04:54:21', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793874)'), GeomFromEWKT('SRID=4674;POINT (-40.313927 -2.793851)'))) / (select extract(epoch from '2026-07-24 04:54:21'::timestamp) - extract(epoch from '2026-07-24 04:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793874)'), GeomFromEWKT('SRID=4674;POINT (-40.313927 -2.793851)'))) / (select extract(epoch from '2026-07-24 04:54:21'::timestamp) - extract(epoch from '2026-07-24 04:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313918 -2.793843)', '2026-07-24 04:54:46', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313927 -2.793851)'), GeomFromEWKT('SRID=4674;POINT (-40.313918 -2.793843)'))) / (select extract(epoch from '2026-07-24 04:54:46'::timestamp) - extract(epoch from '2026-07-24 04:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313927 -2.793851)'), GeomFromEWKT('SRID=4674;POINT (-40.313918 -2.793843)'))) / (select extract(epoch from '2026-07-24 04:54:46'::timestamp) - extract(epoch from '2026-07-24 04:54: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'), 47837, 'SRID=4674;POINT (-40.31392 -2.793849)', '2026-07-24 04:55:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313918 -2.793843)'), GeomFromEWKT('SRID=4674;POINT (-40.31392 -2.793849)'))) / (select extract(epoch from '2026-07-24 04:55:02'::timestamp) - extract(epoch from '2026-07-24 04:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313918 -2.793843)'), GeomFromEWKT('SRID=4674;POINT (-40.31392 -2.793849)'))) / (select extract(epoch from '2026-07-24 04:55:02'::timestamp) - extract(epoch from '2026-07-24 04:54:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313927 -2.793838)', '2026-07-24 04:55:22', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31392 -2.793849)'), GeomFromEWKT('SRID=4674;POINT (-40.313927 -2.793838)'))) / (select extract(epoch from '2026-07-24 04:55:22'::timestamp) - extract(epoch from '2026-07-24 04:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31392 -2.793849)'), GeomFromEWKT('SRID=4674;POINT (-40.313927 -2.793838)'))) / (select extract(epoch from '2026-07-24 04:55:22'::timestamp) - extract(epoch from '2026-07-24 04:55:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313929 -2.793839)', '2026-07-24 04:55:44', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313927 -2.793838)'), GeomFromEWKT('SRID=4674;POINT (-40.313929 -2.793839)'))) / (select extract(epoch from '2026-07-24 04:55:44'::timestamp) - extract(epoch from '2026-07-24 04:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313927 -2.793838)'), GeomFromEWKT('SRID=4674;POINT (-40.313929 -2.793839)'))) / (select extract(epoch from '2026-07-24 04:55:44'::timestamp) - extract(epoch from '2026-07-24 04:55: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'), 47837, 'SRID=4674;POINT (-40.31393 -2.793848)', '2026-07-24 04:56:01', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313929 -2.793839)'), GeomFromEWKT('SRID=4674;POINT (-40.31393 -2.793848)'))) / (select extract(epoch from '2026-07-24 04:56:01'::timestamp) - extract(epoch from '2026-07-24 04:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313929 -2.793839)'), GeomFromEWKT('SRID=4674;POINT (-40.31393 -2.793848)'))) / (select extract(epoch from '2026-07-24 04:56:01'::timestamp) - extract(epoch from '2026-07-24 04:55:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313921 -2.793853)', '2026-07-24 04:56:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31393 -2.793848)'), GeomFromEWKT('SRID=4674;POINT (-40.313921 -2.793853)'))) / (select extract(epoch from '2026-07-24 04:56:28'::timestamp) - extract(epoch from '2026-07-24 04:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31393 -2.793848)'), GeomFromEWKT('SRID=4674;POINT (-40.313921 -2.793853)'))) / (select extract(epoch from '2026-07-24 04:56:28'::timestamp) - extract(epoch from '2026-07-24 04:56: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'), 47837, 'SRID=4674;POINT (-40.313923 -2.79385)', '2026-07-24 04:56:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313921 -2.793853)'), GeomFromEWKT('SRID=4674;POINT (-40.313923 -2.79385)'))) / (select extract(epoch from '2026-07-24 04:56:43'::timestamp) - extract(epoch from '2026-07-24 04:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313921 -2.793853)'), GeomFromEWKT('SRID=4674;POINT (-40.313923 -2.79385)'))) / (select extract(epoch from '2026-07-24 04:56:43'::timestamp) - extract(epoch from '2026-07-24 04:56: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'), 47837, 'SRID=4674;POINT (-40.313923 -2.793832)', '2026-07-24 04:57:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313923 -2.79385)'), GeomFromEWKT('SRID=4674;POINT (-40.313923 -2.793832)'))) / (select extract(epoch from '2026-07-24 04:57:00'::timestamp) - extract(epoch from '2026-07-24 04:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313923 -2.79385)'), GeomFromEWKT('SRID=4674;POINT (-40.313923 -2.793832)'))) / (select extract(epoch from '2026-07-24 04:57:00'::timestamp) - extract(epoch from '2026-07-24 04:56:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313921 -2.793818)', '2026-07-24 04:57:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313923 -2.793832)'), GeomFromEWKT('SRID=4674;POINT (-40.313921 -2.793818)'))) / (select extract(epoch from '2026-07-24 04:57:17'::timestamp) - extract(epoch from '2026-07-24 04:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313923 -2.793832)'), GeomFromEWKT('SRID=4674;POINT (-40.313921 -2.793818)'))) / (select extract(epoch from '2026-07-24 04:57:17'::timestamp) - extract(epoch from '2026-07-24 04:57:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313919 -2.79381)', '2026-07-24 04:57:30', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313921 -2.793818)'), GeomFromEWKT('SRID=4674;POINT (-40.313919 -2.79381)'))) / (select extract(epoch from '2026-07-24 04:57:30'::timestamp) - extract(epoch from '2026-07-24 04:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313921 -2.793818)'), GeomFromEWKT('SRID=4674;POINT (-40.313919 -2.79381)'))) / (select extract(epoch from '2026-07-24 04:57:30'::timestamp) - extract(epoch from '2026-07-24 04:57:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313913 -2.793809)', '2026-07-24 04:57:52', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313919 -2.79381)'), GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.793809)'))) / (select extract(epoch from '2026-07-24 04:57:52'::timestamp) - extract(epoch from '2026-07-24 04:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313919 -2.79381)'), GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.793809)'))) / (select extract(epoch from '2026-07-24 04:57:52'::timestamp) - extract(epoch from '2026-07-24 04:57:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31391 -2.793801)', '2026-07-24 04:58:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.793809)'), GeomFromEWKT('SRID=4674;POINT (-40.31391 -2.793801)'))) / (select extract(epoch from '2026-07-24 04:58:10'::timestamp) - extract(epoch from '2026-07-24 04:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.793809)'), GeomFromEWKT('SRID=4674;POINT (-40.31391 -2.793801)'))) / (select extract(epoch from '2026-07-24 04:58:10'::timestamp) - extract(epoch from '2026-07-24 04: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'), 47837, 'SRID=4674;POINT (-40.313913 -2.79379)', '2026-07-24 04:58:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31391 -2.793801)'), GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.79379)'))) / (select extract(epoch from '2026-07-24 04:58:32'::timestamp) - extract(epoch from '2026-07-24 04:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31391 -2.793801)'), GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.79379)'))) / (select extract(epoch from '2026-07-24 04:58:32'::timestamp) - extract(epoch from '2026-07-24 04:58: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'), 47837, 'SRID=4674;POINT (-40.313908 -2.793799)', '2026-07-24 04:58:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.79379)'), GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793799)'))) / (select extract(epoch from '2026-07-24 04:58:50'::timestamp) - extract(epoch from '2026-07-24 04:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.79379)'), GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793799)'))) / (select extract(epoch from '2026-07-24 04:58:50'::timestamp) - extract(epoch from '2026-07-24 04:58:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313907 -2.793808)', '2026-07-24 04:59:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793799)'), GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.793808)'))) / (select extract(epoch from '2026-07-24 04:59:14'::timestamp) - extract(epoch from '2026-07-24 04:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793799)'), GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.793808)'))) / (select extract(epoch from '2026-07-24 04:59:14'::timestamp) - extract(epoch from '2026-07-24 04:58:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313908 -2.793806)', '2026-07-24 04:59:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.793808)'), GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793806)'))) / (select extract(epoch from '2026-07-24 04:59:33'::timestamp) - extract(epoch from '2026-07-24 04:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.793808)'), GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793806)'))) / (select extract(epoch from '2026-07-24 04:59:33'::timestamp) - extract(epoch from '2026-07-24 04:59:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313911 -2.793801)', '2026-07-24 04:59:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793806)'), GeomFromEWKT('SRID=4674;POINT (-40.313911 -2.793801)'))) / (select extract(epoch from '2026-07-24 04:59:52'::timestamp) - extract(epoch from '2026-07-24 04:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793806)'), GeomFromEWKT('SRID=4674;POINT (-40.313911 -2.793801)'))) / (select extract(epoch from '2026-07-24 04:59:52'::timestamp) - extract(epoch from '2026-07-24 04:59: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'), 47837, 'SRID=4674;POINT (-40.313909 -2.793787)', '2026-07-24 05:00:16', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313911 -2.793801)'), GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.793787)'))) / (select extract(epoch from '2026-07-24 05:00:16'::timestamp) - extract(epoch from '2026-07-24 04:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313911 -2.793801)'), GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.793787)'))) / (select extract(epoch from '2026-07-24 05:00:16'::timestamp) - extract(epoch from '2026-07-24 04:59:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313909 -2.79378)', '2026-07-24 05:00:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.793787)'), GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.79378)'))) / (select extract(epoch from '2026-07-24 05:00:33'::timestamp) - extract(epoch from '2026-07-24 05:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.793787)'), GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.79378)'))) / (select extract(epoch from '2026-07-24 05:00:33'::timestamp) - extract(epoch from '2026-07-24 05:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313905 -2.793769)', '2026-07-24 05:00:45', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.79378)'), GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793769)'))) / (select extract(epoch from '2026-07-24 05:00:45'::timestamp) - extract(epoch from '2026-07-24 05:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.79378)'), GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793769)'))) / (select extract(epoch from '2026-07-24 05:00:45'::timestamp) - extract(epoch from '2026-07-24 05:00:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313905 -2.793774)', '2026-07-24 05:01:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793769)'), GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793774)'))) / (select extract(epoch from '2026-07-24 05:01:01'::timestamp) - extract(epoch from '2026-07-24 05:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793769)'), GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793774)'))) / (select extract(epoch from '2026-07-24 05:01:01'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313913 -2.793773)', '2026-07-24 05:01:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793774)'), GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.793773)'))) / (select extract(epoch from '2026-07-24 05:01:16'::timestamp) - extract(epoch from '2026-07-24 05:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793774)'), GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.793773)'))) / (select extract(epoch from '2026-07-24 05:01:16'::timestamp) - extract(epoch from '2026-07-24 05:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313911 -2.793774)', '2026-07-24 05:01:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.793773)'), GeomFromEWKT('SRID=4674;POINT (-40.313911 -2.793774)'))) / (select extract(epoch from '2026-07-24 05:01:37'::timestamp) - extract(epoch from '2026-07-24 05:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.793773)'), GeomFromEWKT('SRID=4674;POINT (-40.313911 -2.793774)'))) / (select extract(epoch from '2026-07-24 05:01:37'::timestamp) - extract(epoch from '2026-07-24 05:01: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'), 47837, 'SRID=4674;POINT (-40.313916 -2.793788)', '2026-07-24 05:01:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313911 -2.793774)'), GeomFromEWKT('SRID=4674;POINT (-40.313916 -2.793788)'))) / (select extract(epoch from '2026-07-24 05:01:55'::timestamp) - extract(epoch from '2026-07-24 05:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313911 -2.793774)'), GeomFromEWKT('SRID=4674;POINT (-40.313916 -2.793788)'))) / (select extract(epoch from '2026-07-24 05:01:55'::timestamp) - extract(epoch from '2026-07-24 05:01: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'), 47837, 'SRID=4674;POINT (-40.313918 -2.793785)', '2026-07-24 05:02:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313916 -2.793788)'), GeomFromEWKT('SRID=4674;POINT (-40.313918 -2.793785)'))) / (select extract(epoch from '2026-07-24 05:02:16'::timestamp) - extract(epoch from '2026-07-24 05:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313916 -2.793788)'), GeomFromEWKT('SRID=4674;POINT (-40.313918 -2.793785)'))) / (select extract(epoch from '2026-07-24 05:02:16'::timestamp) - extract(epoch from '2026-07-24 05:01: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'), 47837, 'SRID=4674;POINT (-40.313913 -2.793776)', '2026-07-24 05:02:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313918 -2.793785)'), GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.793776)'))) / (select extract(epoch from '2026-07-24 05:02:30'::timestamp) - extract(epoch from '2026-07-24 05:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313918 -2.793785)'), GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.793776)'))) / (select extract(epoch from '2026-07-24 05:02:30'::timestamp) - extract(epoch from '2026-07-24 05:02: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'), 47837, 'SRID=4674;POINT (-40.313904 -2.793769)', '2026-07-24 05:02:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.793776)'), GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793769)'))) / (select extract(epoch from '2026-07-24 05:02:55'::timestamp) - extract(epoch from '2026-07-24 05:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.793776)'), GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793769)'))) / (select extract(epoch from '2026-07-24 05:02:55'::timestamp) - extract(epoch from '2026-07-24 05:02: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'), 47837, 'SRID=4674;POINT (-40.313908 -2.793777)', '2026-07-24 05:03:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793769)'), GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793777)'))) / (select extract(epoch from '2026-07-24 05:03:15'::timestamp) - extract(epoch from '2026-07-24 05:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793769)'), GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793777)'))) / (select extract(epoch from '2026-07-24 05:03:15'::timestamp) - extract(epoch from '2026-07-24 05:02: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'), 47837, 'SRID=4674;POINT (-40.313903 -2.793776)', '2026-07-24 05:03:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793777)'), GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.793776)'))) / (select extract(epoch from '2026-07-24 05:03:31'::timestamp) - extract(epoch from '2026-07-24 05:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793777)'), GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.793776)'))) / (select extract(epoch from '2026-07-24 05:03:31'::timestamp) - extract(epoch from '2026-07-24 05:03:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313911 -2.793793)', '2026-07-24 05:03:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.793776)'), GeomFromEWKT('SRID=4674;POINT (-40.313911 -2.793793)'))) / (select extract(epoch from '2026-07-24 05:03:51'::timestamp) - extract(epoch from '2026-07-24 05:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.793776)'), GeomFromEWKT('SRID=4674;POINT (-40.313911 -2.793793)'))) / (select extract(epoch from '2026-07-24 05:03:51'::timestamp) - extract(epoch from '2026-07-24 05:03:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313908 -2.79379)', '2026-07-24 05:04:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313911 -2.793793)'), GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.79379)'))) / (select extract(epoch from '2026-07-24 05:04:05'::timestamp) - extract(epoch from '2026-07-24 05:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313911 -2.793793)'), GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.79379)'))) / (select extract(epoch from '2026-07-24 05:04:05'::timestamp) - extract(epoch from '2026-07-24 05:03: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'), 47837, 'SRID=4674;POINT (-40.313912 -2.793794)', '2026-07-24 05:04:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.79379)'), GeomFromEWKT('SRID=4674;POINT (-40.313912 -2.793794)'))) / (select extract(epoch from '2026-07-24 05:04:30'::timestamp) - extract(epoch from '2026-07-24 05:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.79379)'), GeomFromEWKT('SRID=4674;POINT (-40.313912 -2.793794)'))) / (select extract(epoch from '2026-07-24 05:04:30'::timestamp) - extract(epoch from '2026-07-24 05:04:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313912 -2.793786)', '2026-07-24 05:04:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313912 -2.793794)'), GeomFromEWKT('SRID=4674;POINT (-40.313912 -2.793786)'))) / (select extract(epoch from '2026-07-24 05:04:49'::timestamp) - extract(epoch from '2026-07-24 05:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313912 -2.793794)'), GeomFromEWKT('SRID=4674;POINT (-40.313912 -2.793786)'))) / (select extract(epoch from '2026-07-24 05:04:49'::timestamp) - extract(epoch from '2026-07-24 05:04: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'), 47837, 'SRID=4674;POINT (-40.313913 -2.793785)', '2026-07-24 05:05:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313912 -2.793786)'), GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.793785)'))) / (select extract(epoch from '2026-07-24 05:05:06'::timestamp) - extract(epoch from '2026-07-24 05:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313912 -2.793786)'), GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.793785)'))) / (select extract(epoch from '2026-07-24 05:05:06'::timestamp) - extract(epoch from '2026-07-24 05:04:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313908 -2.79378)', '2026-07-24 05:05:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.793785)'), GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.79378)'))) / (select extract(epoch from '2026-07-24 05:05:24'::timestamp) - extract(epoch from '2026-07-24 05:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.793785)'), GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.79378)'))) / (select extract(epoch from '2026-07-24 05:05:24'::timestamp) - extract(epoch from '2026-07-24 05:05:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313902 -2.79377)', '2026-07-24 05:05:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.79378)'), GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.79377)'))) / (select extract(epoch from '2026-07-24 05:05:48'::timestamp) - extract(epoch from '2026-07-24 05:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.79378)'), GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.79377)'))) / (select extract(epoch from '2026-07-24 05:05:48'::timestamp) - extract(epoch from '2026-07-24 05:05: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'), 47837, 'SRID=4674;POINT (-40.313902 -2.793766)', '2026-07-24 05:06:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.793766)'))) / (select extract(epoch from '2026-07-24 05:06:06'::timestamp) - extract(epoch from '2026-07-24 05:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.793766)'))) / (select extract(epoch from '2026-07-24 05:06:06'::timestamp) - extract(epoch from '2026-07-24 05:05: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'), 47837, 'SRID=4674;POINT (-40.313899 -2.793763)', '2026-07-24 05:06:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.793766)'), GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793763)'))) / (select extract(epoch from '2026-07-24 05:06:26'::timestamp) - extract(epoch from '2026-07-24 05:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.793766)'), GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793763)'))) / (select extract(epoch from '2026-07-24 05:06:26'::timestamp) - extract(epoch from '2026-07-24 05:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313897 -2.793761)', '2026-07-24 05:06:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793763)'), GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793761)'))) / (select extract(epoch from '2026-07-24 05:06:38'::timestamp) - extract(epoch from '2026-07-24 05:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793763)'), GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793761)'))) / (select extract(epoch from '2026-07-24 05:06:38'::timestamp) - extract(epoch from '2026-07-24 05:06: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'), 47837, 'SRID=4674;POINT (-40.313906 -2.793771)', '2026-07-24 05:06:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793761)'), GeomFromEWKT('SRID=4674;POINT (-40.313906 -2.793771)'))) / (select extract(epoch from '2026-07-24 05:06:56'::timestamp) - extract(epoch from '2026-07-24 05:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793761)'), GeomFromEWKT('SRID=4674;POINT (-40.313906 -2.793771)'))) / (select extract(epoch from '2026-07-24 05:06:56'::timestamp) - extract(epoch from '2026-07-24 05:06:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313909 -2.793774)', '2026-07-24 05:07:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313906 -2.793771)'), GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.793774)'))) / (select extract(epoch from '2026-07-24 05:07:14'::timestamp) - extract(epoch from '2026-07-24 05:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313906 -2.793771)'), GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.793774)'))) / (select extract(epoch from '2026-07-24 05:07:14'::timestamp) - extract(epoch from '2026-07-24 05:06:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31391 -2.793775)', '2026-07-24 05:07:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.793774)'), GeomFromEWKT('SRID=4674;POINT (-40.31391 -2.793775)'))) / (select extract(epoch from '2026-07-24 05:07:31'::timestamp) - extract(epoch from '2026-07-24 05:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.793774)'), GeomFromEWKT('SRID=4674;POINT (-40.31391 -2.793775)'))) / (select extract(epoch from '2026-07-24 05:07:31'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313914 -2.793783)', '2026-07-24 05:07:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31391 -2.793775)'), GeomFromEWKT('SRID=4674;POINT (-40.313914 -2.793783)'))) / (select extract(epoch from '2026-07-24 05:07:50'::timestamp) - extract(epoch from '2026-07-24 05:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31391 -2.793775)'), GeomFromEWKT('SRID=4674;POINT (-40.313914 -2.793783)'))) / (select extract(epoch from '2026-07-24 05:07:50'::timestamp) - extract(epoch from '2026-07-24 05:07: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'), 47837, 'SRID=4674;POINT (-40.313908 -2.793784)', '2026-07-24 05:08:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313914 -2.793783)'), GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793784)'))) / (select extract(epoch from '2026-07-24 05:08:00'::timestamp) - extract(epoch from '2026-07-24 05:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313914 -2.793783)'), GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793784)'))) / (select extract(epoch from '2026-07-24 05:08:00'::timestamp) - extract(epoch from '2026-07-24 05:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313903 -2.79378)', '2026-07-24 05:08:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793784)'), GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.79378)'))) / (select extract(epoch from '2026-07-24 05:08:15'::timestamp) - extract(epoch from '2026-07-24 05:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793784)'), GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.79378)'))) / (select extract(epoch from '2026-07-24 05:08:15'::timestamp) - extract(epoch from '2026-07-24 05:08: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'), 47837, 'SRID=4674;POINT (-40.313917 -2.793781)', '2026-07-24 05:08:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.79378)'), GeomFromEWKT('SRID=4674;POINT (-40.313917 -2.793781)'))) / (select extract(epoch from '2026-07-24 05:08:39'::timestamp) - extract(epoch from '2026-07-24 05:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.79378)'), GeomFromEWKT('SRID=4674;POINT (-40.313917 -2.793781)'))) / (select extract(epoch from '2026-07-24 05:08:39'::timestamp) - extract(epoch from '2026-07-24 05:08: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'), 47837, 'SRID=4674;POINT (-40.313912 -2.793769)', '2026-07-24 05:09:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313917 -2.793781)'), GeomFromEWKT('SRID=4674;POINT (-40.313912 -2.793769)'))) / (select extract(epoch from '2026-07-24 05:09:02'::timestamp) - extract(epoch from '2026-07-24 05:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313917 -2.793781)'), GeomFromEWKT('SRID=4674;POINT (-40.313912 -2.793769)'))) / (select extract(epoch from '2026-07-24 05:09:02'::timestamp) - extract(epoch from '2026-07-24 05:08: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'), 47837, 'SRID=4674;POINT (-40.313908 -2.793763)', '2026-07-24 05:09:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313912 -2.793769)'), GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793763)'))) / (select extract(epoch from '2026-07-24 05:09:20'::timestamp) - extract(epoch from '2026-07-24 05:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313912 -2.793769)'), GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793763)'))) / (select extract(epoch from '2026-07-24 05:09:20'::timestamp) - extract(epoch from '2026-07-24 05:09: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'), 47837, 'SRID=4674;POINT (-40.313902 -2.793772)', '2026-07-24 05:09:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793763)'), GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.793772)'))) / (select extract(epoch from '2026-07-24 05:09:39'::timestamp) - extract(epoch from '2026-07-24 05:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793763)'), GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.793772)'))) / (select extract(epoch from '2026-07-24 05:09:39'::timestamp) - extract(epoch from '2026-07-24 05:09: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'), 47837, 'SRID=4674;POINT (-40.3139 -2.793772)', '2026-07-24 05:10:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.793772)'), GeomFromEWKT('SRID=4674;POINT (-40.3139 -2.793772)'))) / (select extract(epoch from '2026-07-24 05:10:04'::timestamp) - extract(epoch from '2026-07-24 05:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.793772)'), GeomFromEWKT('SRID=4674;POINT (-40.3139 -2.793772)'))) / (select extract(epoch from '2026-07-24 05:10:04'::timestamp) - extract(epoch from '2026-07-24 05:09:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313906 -2.793764)', '2026-07-24 05:10:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3139 -2.793772)'), GeomFromEWKT('SRID=4674;POINT (-40.313906 -2.793764)'))) / (select extract(epoch from '2026-07-24 05:10:28'::timestamp) - extract(epoch from '2026-07-24 05:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3139 -2.793772)'), GeomFromEWKT('SRID=4674;POINT (-40.313906 -2.793764)'))) / (select extract(epoch from '2026-07-24 05:10:28'::timestamp) - extract(epoch from '2026-07-24 05:10:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313909 -2.793766)', '2026-07-24 05:10:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313906 -2.793764)'), GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.793766)'))) / (select extract(epoch from '2026-07-24 05:10:44'::timestamp) - extract(epoch from '2026-07-24 05:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313906 -2.793764)'), GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.793766)'))) / (select extract(epoch from '2026-07-24 05:10:44'::timestamp) - extract(epoch from '2026-07-24 05:10: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'), 47837, 'SRID=4674;POINT (-40.313903 -2.79377)', '2026-07-24 05:11:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.793766)'), GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.79377)'))) / (select extract(epoch from '2026-07-24 05:11:04'::timestamp) - extract(epoch from '2026-07-24 05:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.793766)'), GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.79377)'))) / (select extract(epoch from '2026-07-24 05:11:04'::timestamp) - extract(epoch from '2026-07-24 05:10: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'), 47837, 'SRID=4674;POINT (-40.313903 -2.793768)', '2026-07-24 05:11:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.793768)'))) / (select extract(epoch from '2026-07-24 05:11:22'::timestamp) - extract(epoch from '2026-07-24 05:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.793768)'))) / (select extract(epoch from '2026-07-24 05:11:22'::timestamp) - extract(epoch from '2026-07-24 05:11: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'), 47837, 'SRID=4674;POINT (-40.313904 -2.79377)', '2026-07-24 05:11:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.793768)'), GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.79377)'))) / (select extract(epoch from '2026-07-24 05:11:44'::timestamp) - extract(epoch from '2026-07-24 05:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.793768)'), GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.79377)'))) / (select extract(epoch from '2026-07-24 05:11:44'::timestamp) - extract(epoch from '2026-07-24 05:11: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'), 47837, 'SRID=4674;POINT (-40.313905 -2.79378)', '2026-07-24 05:12:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.79378)'))) / (select extract(epoch from '2026-07-24 05:12:03'::timestamp) - extract(epoch from '2026-07-24 05:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.79378)'))) / (select extract(epoch from '2026-07-24 05:12:03'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313905 -2.793788)', '2026-07-24 05:12:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.79378)'), GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793788)'))) / (select extract(epoch from '2026-07-24 05:12:25'::timestamp) - extract(epoch from '2026-07-24 05:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.79378)'), GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793788)'))) / (select extract(epoch from '2026-07-24 05:12:25'::timestamp) - extract(epoch from '2026-07-24 05:12:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313906 -2.793778)', '2026-07-24 05:13:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793788)'), GeomFromEWKT('SRID=4674;POINT (-40.313906 -2.793778)'))) / (select extract(epoch from '2026-07-24 05:13:02'::timestamp) - extract(epoch from '2026-07-24 05:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793788)'), GeomFromEWKT('SRID=4674;POINT (-40.313906 -2.793778)'))) / (select extract(epoch from '2026-07-24 05:13:02'::timestamp) - extract(epoch from '2026-07-24 05:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313904 -2.793775)', '2026-07-24 05:13:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313906 -2.793778)'), GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793775)'))) / (select extract(epoch from '2026-07-24 05:13:46'::timestamp) - extract(epoch from '2026-07-24 05:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313906 -2.793778)'), GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793775)'))) / (select extract(epoch from '2026-07-24 05:13:46'::timestamp) - extract(epoch from '2026-07-24 05:13: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'), 47837, 'SRID=4674;POINT (-40.313897 -2.793768)', '2026-07-24 05:14:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793775)'), GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793768)'))) / (select extract(epoch from '2026-07-24 05:14:11'::timestamp) - extract(epoch from '2026-07-24 05:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793775)'), GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793768)'))) / (select extract(epoch from '2026-07-24 05:14:11'::timestamp) - extract(epoch from '2026-07-24 05:13: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'), 47837, 'SRID=4674;POINT (-40.313892 -2.79376)', '2026-07-24 05:14:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793768)'), GeomFromEWKT('SRID=4674;POINT (-40.313892 -2.79376)'))) / (select extract(epoch from '2026-07-24 05:14:30'::timestamp) - extract(epoch from '2026-07-24 05:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793768)'), GeomFromEWKT('SRID=4674;POINT (-40.313892 -2.79376)'))) / (select extract(epoch from '2026-07-24 05:14:30'::timestamp) - extract(epoch from '2026-07-24 05:14: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'), 47837, 'SRID=4674;POINT (-40.313894 -2.793763)', '2026-07-24 05:15:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313892 -2.79376)'), GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.793763)'))) / (select extract(epoch from '2026-07-24 05:15:13'::timestamp) - extract(epoch from '2026-07-24 05:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313892 -2.79376)'), GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.793763)'))) / (select extract(epoch from '2026-07-24 05:15:13'::timestamp) - extract(epoch from '2026-07-24 05:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313899 -2.793761)', '2026-07-24 05:15:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.793763)'), GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793761)'))) / (select extract(epoch from '2026-07-24 05:15:41'::timestamp) - extract(epoch from '2026-07-24 05:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.793763)'), GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793761)'))) / (select extract(epoch from '2026-07-24 05:15:41'::timestamp) - extract(epoch from '2026-07-24 05:15: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'), 47837, 'SRID=4674;POINT (-40.313896 -2.793765)', '2026-07-24 05:16:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793761)'), GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793765)'))) / (select extract(epoch from '2026-07-24 05:16:06'::timestamp) - extract(epoch from '2026-07-24 05:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793761)'), GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793765)'))) / (select extract(epoch from '2026-07-24 05:16:06'::timestamp) - extract(epoch from '2026-07-24 05:15: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'), 47837, 'SRID=4674;POINT (-40.313908 -2.793765)', '2026-07-24 05:16:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793765)'), GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793765)'))) / (select extract(epoch from '2026-07-24 05:16:43'::timestamp) - extract(epoch from '2026-07-24 05:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793765)'), GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793765)'))) / (select extract(epoch from '2026-07-24 05:16:43'::timestamp) - extract(epoch from '2026-07-24 05:16:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313907 -2.79377)', '2026-07-24 05:17:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793765)'), GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.79377)'))) / (select extract(epoch from '2026-07-24 05:17:20'::timestamp) - extract(epoch from '2026-07-24 05:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313908 -2.793765)'), GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.79377)'))) / (select extract(epoch from '2026-07-24 05:17:20'::timestamp) - extract(epoch from '2026-07-24 05:16: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'), 47837, 'SRID=4674;POINT (-40.31391 -2.793782)', '2026-07-24 05:17:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.31391 -2.793782)'))) / (select extract(epoch from '2026-07-24 05:17:57'::timestamp) - extract(epoch from '2026-07-24 05:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.31391 -2.793782)'))) / (select extract(epoch from '2026-07-24 05:17:57'::timestamp) - extract(epoch from '2026-07-24 05:17: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'), 47837, 'SRID=4674;POINT (-40.313907 -2.793787)', '2026-07-24 05:18:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31391 -2.793782)'), GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.793787)'))) / (select extract(epoch from '2026-07-24 05:18:19'::timestamp) - extract(epoch from '2026-07-24 05:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31391 -2.793782)'), GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.793787)'))) / (select extract(epoch from '2026-07-24 05:18:19'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313905 -2.793783)', '2026-07-24 05:18:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.793787)'), GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793783)'))) / (select extract(epoch from '2026-07-24 05:18:59'::timestamp) - extract(epoch from '2026-07-24 05:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.793787)'), GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793783)'))) / (select extract(epoch from '2026-07-24 05:18:59'::timestamp) - extract(epoch from '2026-07-24 05:18: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'), 47837, 'SRID=4674;POINT (-40.313901 -2.793775)', '2026-07-24 05:19:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793783)'), GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.793775)'))) / (select extract(epoch from '2026-07-24 05:19:33'::timestamp) - extract(epoch from '2026-07-24 05:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793783)'), GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.793775)'))) / (select extract(epoch from '2026-07-24 05:19:33'::timestamp) - extract(epoch from '2026-07-24 05:18:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313909 -2.793781)', '2026-07-24 05:20:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.793775)'), GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.793781)'))) / (select extract(epoch from '2026-07-24 05:20:00'::timestamp) - extract(epoch from '2026-07-24 05:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.793775)'), GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.793781)'))) / (select extract(epoch from '2026-07-24 05:20:00'::timestamp) - extract(epoch from '2026-07-24 05:19: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'), 47837, 'SRID=4674;POINT (-40.313905 -2.793763)', '2026-07-24 05:20:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.793781)'), GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793763)'))) / (select extract(epoch from '2026-07-24 05:20:36'::timestamp) - extract(epoch from '2026-07-24 05:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313909 -2.793781)'), GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793763)'))) / (select extract(epoch from '2026-07-24 05:20:36'::timestamp) - extract(epoch from '2026-07-24 05:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313907 -2.793768)', '2026-07-24 05:20:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793763)'), GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.793768)'))) / (select extract(epoch from '2026-07-24 05:20:58'::timestamp) - extract(epoch from '2026-07-24 05:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793763)'), GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.793768)'))) / (select extract(epoch from '2026-07-24 05:20:58'::timestamp) - extract(epoch from '2026-07-24 05:20:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313905 -2.793771)', '2026-07-24 05:21:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.793768)'), GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793771)'))) / (select extract(epoch from '2026-07-24 05:21:17'::timestamp) - extract(epoch from '2026-07-24 05:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313907 -2.793768)'), GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793771)'))) / (select extract(epoch from '2026-07-24 05:21:17'::timestamp) - extract(epoch from '2026-07-24 05:20: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'), 47837, 'SRID=4674;POINT (-40.313897 -2.793773)', '2026-07-24 05:21:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793771)'), GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793773)'))) / (select extract(epoch from '2026-07-24 05:21:45'::timestamp) - extract(epoch from '2026-07-24 05:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313905 -2.793771)'), GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793773)'))) / (select extract(epoch from '2026-07-24 05:21:45'::timestamp) - extract(epoch from '2026-07-24 05:21: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'), 47837, 'SRID=4674;POINT (-40.313893 -2.793773)', '2026-07-24 05:22:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793773)'), GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793773)'))) / (select extract(epoch from '2026-07-24 05:22:04'::timestamp) - extract(epoch from '2026-07-24 05:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793773)'), GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793773)'))) / (select extract(epoch from '2026-07-24 05:22:04'::timestamp) - extract(epoch from '2026-07-24 05:21: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'), 47837, 'SRID=4674;POINT (-40.313897 -2.793766)', '2026-07-24 05:22:41', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793773)'), GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793766)'))) / (select extract(epoch from '2026-07-24 05:22:41'::timestamp) - extract(epoch from '2026-07-24 05:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793773)'), GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793766)'))) / (select extract(epoch from '2026-07-24 05:22:41'::timestamp) - extract(epoch from '2026-07-24 05:22: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'), 47837, 'SRID=4674;POINT (-40.313891 -2.793768)', '2026-07-24 05:23:37', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793766)'), GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.793768)'))) / (select extract(epoch from '2026-07-24 05:23:37'::timestamp) - extract(epoch from '2026-07-24 05:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793766)'), GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.793768)'))) / (select extract(epoch from '2026-07-24 05:23:37'::timestamp) - extract(epoch from '2026-07-24 05:22:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313894 -2.79376)', '2026-07-24 05:24:05', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.793768)'), GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.79376)'))) / (select extract(epoch from '2026-07-24 05:24:05'::timestamp) - extract(epoch from '2026-07-24 05:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.793768)'), GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.79376)'))) / (select extract(epoch from '2026-07-24 05:24:05'::timestamp) - extract(epoch from '2026-07-24 05:23: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'), 47837, 'SRID=4674;POINT (-40.313895 -2.793754)', '2026-07-24 05:24:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.79376)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793754)'))) / (select extract(epoch from '2026-07-24 05:24:23'::timestamp) - extract(epoch from '2026-07-24 05:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.79376)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793754)'))) / (select extract(epoch from '2026-07-24 05:24:23'::timestamp) - extract(epoch from '2026-07-24 05:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313898 -2.793762)', '2026-07-24 05:24:50', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793754)'), GeomFromEWKT('SRID=4674;POINT (-40.313898 -2.793762)'))) / (select extract(epoch from '2026-07-24 05:24:50'::timestamp) - extract(epoch from '2026-07-24 05:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793754)'), GeomFromEWKT('SRID=4674;POINT (-40.313898 -2.793762)'))) / (select extract(epoch from '2026-07-24 05:24:50'::timestamp) - extract(epoch from '2026-07-24 05:24: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'), 47837, 'SRID=4674;POINT (-40.313903 -2.793751)', '2026-07-24 05:25:12', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313898 -2.793762)'), GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.793751)'))) / (select extract(epoch from '2026-07-24 05:25:12'::timestamp) - extract(epoch from '2026-07-24 05:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313898 -2.793762)'), GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.793751)'))) / (select extract(epoch from '2026-07-24 05:25:12'::timestamp) - extract(epoch from '2026-07-24 05:24: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'), 47837, 'SRID=4674;POINT (-40.313904 -2.79376)', '2026-07-24 05:25:52', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.793751)'), GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.79376)'))) / (select extract(epoch from '2026-07-24 05:25:52'::timestamp) - extract(epoch from '2026-07-24 05:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.793751)'), GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.79376)'))) / (select extract(epoch from '2026-07-24 05:25:52'::timestamp) - extract(epoch from '2026-07-24 05:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313895 -2.793759)', '2026-07-24 05:26:19', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.79376)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793759)'))) / (select extract(epoch from '2026-07-24 05:26:19'::timestamp) - extract(epoch from '2026-07-24 05:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.79376)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793759)'))) / (select extract(epoch from '2026-07-24 05:26:19'::timestamp) - extract(epoch from '2026-07-24 05:25:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313893 -2.793764)', '2026-07-24 05:26:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793759)'), GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793764)'))) / (select extract(epoch from '2026-07-24 05:26:55'::timestamp) - extract(epoch from '2026-07-24 05:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793759)'), GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793764)'))) / (select extract(epoch from '2026-07-24 05:26:55'::timestamp) - extract(epoch from '2026-07-24 05:26: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'), 47837, 'SRID=4674;POINT (-40.313891 -2.793762)', '2026-07-24 05:27:24', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793764)'), GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.793762)'))) / (select extract(epoch from '2026-07-24 05:27:24'::timestamp) - extract(epoch from '2026-07-24 05:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793764)'), GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.793762)'))) / (select extract(epoch from '2026-07-24 05:27:24'::timestamp) - extract(epoch from '2026-07-24 05:26: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'), 47837, 'SRID=4674;POINT (-40.3139 -2.793762)', '2026-07-24 05:28:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.793762)'), GeomFromEWKT('SRID=4674;POINT (-40.3139 -2.793762)'))) / (select extract(epoch from '2026-07-24 05:28:06'::timestamp) - extract(epoch from '2026-07-24 05:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.793762)'), GeomFromEWKT('SRID=4674;POINT (-40.3139 -2.793762)'))) / (select extract(epoch from '2026-07-24 05:28:06'::timestamp) - extract(epoch from '2026-07-24 05:27: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'), 47837, 'SRID=4674;POINT (-40.313903 -2.793767)', '2026-07-24 05:28:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3139 -2.793762)'), GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.793767)'))) / (select extract(epoch from '2026-07-24 05:28:36'::timestamp) - extract(epoch from '2026-07-24 05:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3139 -2.793762)'), GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.793767)'))) / (select extract(epoch from '2026-07-24 05:28:36'::timestamp) - extract(epoch from '2026-07-24 05:28: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'), 47837, 'SRID=4674;POINT (-40.313896 -2.793764)', '2026-07-24 05:28:48', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.793767)'), GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793764)'))) / (select extract(epoch from '2026-07-24 05:28:48'::timestamp) - extract(epoch from '2026-07-24 05:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313903 -2.793767)'), GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793764)'))) / (select extract(epoch from '2026-07-24 05:28:48'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313894 -2.793761)', '2026-07-24 05:29:09', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793764)'), GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.793761)'))) / (select extract(epoch from '2026-07-24 05:29:09'::timestamp) - extract(epoch from '2026-07-24 05:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793764)'), GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.793761)'))) / (select extract(epoch from '2026-07-24 05:29:09'::timestamp) - extract(epoch from '2026-07-24 05:28: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'), 47837, 'SRID=4674;POINT (-40.313893 -2.793759)', '2026-07-24 05:29:35', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.793761)'), GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793759)'))) / (select extract(epoch from '2026-07-24 05:29:35'::timestamp) - extract(epoch from '2026-07-24 05:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.793761)'), GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793759)'))) / (select extract(epoch from '2026-07-24 05:29:35'::timestamp) - extract(epoch from '2026-07-24 05:29:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313901 -2.793763)', '2026-07-24 05:29:49', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793759)'), GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.793763)'))) / (select extract(epoch from '2026-07-24 05:29:49'::timestamp) - extract(epoch from '2026-07-24 05:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793759)'), GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.793763)'))) / (select extract(epoch from '2026-07-24 05:29:49'::timestamp) - extract(epoch from '2026-07-24 05:29:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313904 -2.793772)', '2026-07-24 05:30:10', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.793763)'), GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793772)'))) / (select extract(epoch from '2026-07-24 05:30:10'::timestamp) - extract(epoch from '2026-07-24 05:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.793763)'), GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793772)'))) / (select extract(epoch from '2026-07-24 05:30:10'::timestamp) - extract(epoch from '2026-07-24 05:29: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'), 47837, 'SRID=4674;POINT (-40.313901 -2.79378)', '2026-07-24 05:30:24', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793772)'), GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.79378)'))) / (select extract(epoch from '2026-07-24 05:30:24'::timestamp) - extract(epoch from '2026-07-24 05:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793772)'), GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.79378)'))) / (select extract(epoch from '2026-07-24 05:30:24'::timestamp) - extract(epoch from '2026-07-24 05:30:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313901 -2.793777)', '2026-07-24 05:30:42', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.79378)'), GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.793777)'))) / (select extract(epoch from '2026-07-24 05:30:42'::timestamp) - extract(epoch from '2026-07-24 05:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.79378)'), GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.793777)'))) / (select extract(epoch from '2026-07-24 05:30:42'::timestamp) - extract(epoch from '2026-07-24 05:30: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'), 47837, 'SRID=4674;POINT (-40.313902 -2.793767)', '2026-07-24 05:31:13', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.793777)'), GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.793767)'))) / (select extract(epoch from '2026-07-24 05:31:13'::timestamp) - extract(epoch from '2026-07-24 05:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.793777)'), GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.793767)'))) / (select extract(epoch from '2026-07-24 05:31:13'::timestamp) - extract(epoch from '2026-07-24 05:30: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'), 47837, 'SRID=4674;POINT (-40.313895 -2.793759)', '2026-07-24 05:31:31', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.793767)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793759)'))) / (select extract(epoch from '2026-07-24 05:31:31'::timestamp) - extract(epoch from '2026-07-24 05:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.793767)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793759)'))) / (select extract(epoch from '2026-07-24 05:31:31'::timestamp) - extract(epoch from '2026-07-24 05:31:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313895 -2.793756)', '2026-07-24 05:31:46', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793759)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793756)'))) / (select extract(epoch from '2026-07-24 05:31:46'::timestamp) - extract(epoch from '2026-07-24 05:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793759)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793756)'))) / (select extract(epoch from '2026-07-24 05:31:46'::timestamp) - extract(epoch from '2026-07-24 05:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313891 -2.793754)', '2026-07-24 05:32:07', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793756)'), GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.793754)'))) / (select extract(epoch from '2026-07-24 05:32:07'::timestamp) - extract(epoch from '2026-07-24 05:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793756)'), GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.793754)'))) / (select extract(epoch from '2026-07-24 05:32:07'::timestamp) - extract(epoch from '2026-07-24 05:31: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'), 47837, 'SRID=4674;POINT (-40.313889 -2.793758)', '2026-07-24 05:32:25', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.793754)'), GeomFromEWKT('SRID=4674;POINT (-40.313889 -2.793758)'))) / (select extract(epoch from '2026-07-24 05:32:25'::timestamp) - extract(epoch from '2026-07-24 05:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.793754)'), GeomFromEWKT('SRID=4674;POINT (-40.313889 -2.793758)'))) / (select extract(epoch from '2026-07-24 05:32:25'::timestamp) - extract(epoch from '2026-07-24 05:32: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'), 47837, 'SRID=4674;POINT (-40.313887 -2.793753)', '2026-07-24 05:32:47', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313889 -2.793758)'), GeomFromEWKT('SRID=4674;POINT (-40.313887 -2.793753)'))) / (select extract(epoch from '2026-07-24 05:32:47'::timestamp) - extract(epoch from '2026-07-24 05:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313889 -2.793758)'), GeomFromEWKT('SRID=4674;POINT (-40.313887 -2.793753)'))) / (select extract(epoch from '2026-07-24 05:32:47'::timestamp) - extract(epoch from '2026-07-24 05:32: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'), 47837, 'SRID=4674;POINT (-40.313889 -2.793755)', '2026-07-24 05:33:01', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313887 -2.793753)'), GeomFromEWKT('SRID=4674;POINT (-40.313889 -2.793755)'))) / (select extract(epoch from '2026-07-24 05:33:01'::timestamp) - extract(epoch from '2026-07-24 05:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313887 -2.793753)'), GeomFromEWKT('SRID=4674;POINT (-40.313889 -2.793755)'))) / (select extract(epoch from '2026-07-24 05:33:01'::timestamp) - extract(epoch from '2026-07-24 05:32:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313884 -2.793748)', '2026-07-24 05:33:28', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313889 -2.793755)'), GeomFromEWKT('SRID=4674;POINT (-40.313884 -2.793748)'))) / (select extract(epoch from '2026-07-24 05:33:28'::timestamp) - extract(epoch from '2026-07-24 05:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313889 -2.793755)'), GeomFromEWKT('SRID=4674;POINT (-40.313884 -2.793748)'))) / (select extract(epoch from '2026-07-24 05:33:28'::timestamp) - extract(epoch from '2026-07-24 05:33: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'), 47837, 'SRID=4674;POINT (-40.313882 -2.793746)', '2026-07-24 05:33:45', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313884 -2.793748)'), GeomFromEWKT('SRID=4674;POINT (-40.313882 -2.793746)'))) / (select extract(epoch from '2026-07-24 05:33:45'::timestamp) - extract(epoch from '2026-07-24 05:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313884 -2.793748)'), GeomFromEWKT('SRID=4674;POINT (-40.313882 -2.793746)'))) / (select extract(epoch from '2026-07-24 05:33:45'::timestamp) - extract(epoch from '2026-07-24 05:33:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313883 -2.793753)', '2026-07-24 05:34:02', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313882 -2.793746)'), GeomFromEWKT('SRID=4674;POINT (-40.313883 -2.793753)'))) / (select extract(epoch from '2026-07-24 05:34:02'::timestamp) - extract(epoch from '2026-07-24 05:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313882 -2.793746)'), GeomFromEWKT('SRID=4674;POINT (-40.313883 -2.793753)'))) / (select extract(epoch from '2026-07-24 05:34:02'::timestamp) - extract(epoch from '2026-07-24 05:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313894 -2.793765)', '2026-07-24 05:34:17', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313883 -2.793753)'), GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.793765)'))) / (select extract(epoch from '2026-07-24 05:34:17'::timestamp) - extract(epoch from '2026-07-24 05:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313883 -2.793753)'), GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.793765)'))) / (select extract(epoch from '2026-07-24 05:34:17'::timestamp) - extract(epoch from '2026-07-24 05:34: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'), 47837, 'SRID=4674;POINT (-40.313895 -2.793767)', '2026-07-24 05:34:33', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.793765)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793767)'))) / (select extract(epoch from '2026-07-24 05:34:33'::timestamp) - extract(epoch from '2026-07-24 05:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.793765)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793767)'))) / (select extract(epoch from '2026-07-24 05:34:33'::timestamp) - extract(epoch from '2026-07-24 05:34: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'), 47837, 'SRID=4674;POINT (-40.31389 -2.793756)', '2026-07-24 05:34:52', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793767)'), GeomFromEWKT('SRID=4674;POINT (-40.31389 -2.793756)'))) / (select extract(epoch from '2026-07-24 05:34:52'::timestamp) - extract(epoch from '2026-07-24 05:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793767)'), GeomFromEWKT('SRID=4674;POINT (-40.31389 -2.793756)'))) / (select extract(epoch from '2026-07-24 05:34:52'::timestamp) - extract(epoch from '2026-07-24 05:34:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313892 -2.793758)', '2026-07-24 05:35:13', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31389 -2.793756)'), GeomFromEWKT('SRID=4674;POINT (-40.313892 -2.793758)'))) / (select extract(epoch from '2026-07-24 05:35:13'::timestamp) - extract(epoch from '2026-07-24 05:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31389 -2.793756)'), GeomFromEWKT('SRID=4674;POINT (-40.313892 -2.793758)'))) / (select extract(epoch from '2026-07-24 05:35:13'::timestamp) - extract(epoch from '2026-07-24 05:34:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313888 -2.793765)', '2026-07-24 05:35:35', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313892 -2.793758)'), GeomFromEWKT('SRID=4674;POINT (-40.313888 -2.793765)'))) / (select extract(epoch from '2026-07-24 05:35:35'::timestamp) - extract(epoch from '2026-07-24 05:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313892 -2.793758)'), GeomFromEWKT('SRID=4674;POINT (-40.313888 -2.793765)'))) / (select extract(epoch from '2026-07-24 05:35:35'::timestamp) - extract(epoch from '2026-07-24 05:35: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'), 47837, 'SRID=4674;POINT (-40.313885 -2.793756)', '2026-07-24 05:35:49', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313888 -2.793765)'), GeomFromEWKT('SRID=4674;POINT (-40.313885 -2.793756)'))) / (select extract(epoch from '2026-07-24 05:35:49'::timestamp) - extract(epoch from '2026-07-24 05:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313888 -2.793765)'), GeomFromEWKT('SRID=4674;POINT (-40.313885 -2.793756)'))) / (select extract(epoch from '2026-07-24 05:35:49'::timestamp) - extract(epoch from '2026-07-24 05:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313884 -2.79375)', '2026-07-24 05:36:09', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313885 -2.793756)'), GeomFromEWKT('SRID=4674;POINT (-40.313884 -2.79375)'))) / (select extract(epoch from '2026-07-24 05:36:09'::timestamp) - extract(epoch from '2026-07-24 05:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313885 -2.793756)'), GeomFromEWKT('SRID=4674;POINT (-40.313884 -2.79375)'))) / (select extract(epoch from '2026-07-24 05:36:09'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313881 -2.79375)', '2026-07-24 05:36:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313884 -2.79375)'), GeomFromEWKT('SRID=4674;POINT (-40.313881 -2.79375)'))) / (select extract(epoch from '2026-07-24 05:36:26'::timestamp) - extract(epoch from '2026-07-24 05:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313884 -2.79375)'), GeomFromEWKT('SRID=4674;POINT (-40.313881 -2.79375)'))) / (select extract(epoch from '2026-07-24 05:36:26'::timestamp) - extract(epoch from '2026-07-24 05:36: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'), 47837, 'SRID=4674;POINT (-40.313884 -2.793744)', '2026-07-24 05:36:46', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313881 -2.79375)'), GeomFromEWKT('SRID=4674;POINT (-40.313884 -2.793744)'))) / (select extract(epoch from '2026-07-24 05:36:46'::timestamp) - extract(epoch from '2026-07-24 05:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313881 -2.79375)'), GeomFromEWKT('SRID=4674;POINT (-40.313884 -2.793744)'))) / (select extract(epoch from '2026-07-24 05:36:46'::timestamp) - extract(epoch from '2026-07-24 05:36: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'), 47837, 'SRID=4674;POINT (-40.313886 -2.793743)', '2026-07-24 05:37:01', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313884 -2.793744)'), GeomFromEWKT('SRID=4674;POINT (-40.313886 -2.793743)'))) / (select extract(epoch from '2026-07-24 05:37:01'::timestamp) - extract(epoch from '2026-07-24 05:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313884 -2.793744)'), GeomFromEWKT('SRID=4674;POINT (-40.313886 -2.793743)'))) / (select extract(epoch from '2026-07-24 05:37:01'::timestamp) - extract(epoch from '2026-07-24 05:36: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'), 47837, 'SRID=4674;POINT (-40.313897 -2.793745)', '2026-07-24 05:37:30', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313886 -2.793743)'), GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793745)'))) / (select extract(epoch from '2026-07-24 05:37:30'::timestamp) - extract(epoch from '2026-07-24 05:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313886 -2.793743)'), GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793745)'))) / (select extract(epoch from '2026-07-24 05:37:30'::timestamp) - extract(epoch from '2026-07-24 05:37:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313897 -2.793762)', '2026-07-24 05:37:55', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793745)'), GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793762)'))) / (select extract(epoch from '2026-07-24 05:37:55'::timestamp) - extract(epoch from '2026-07-24 05:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793745)'), GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793762)'))) / (select extract(epoch from '2026-07-24 05:37:55'::timestamp) - extract(epoch from '2026-07-24 05:37:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313899 -2.793766)', '2026-07-24 05:38:21', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793762)'), GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793766)'))) / (select extract(epoch from '2026-07-24 05:38:21'::timestamp) - extract(epoch from '2026-07-24 05:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793762)'), GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793766)'))) / (select extract(epoch from '2026-07-24 05:38:21'::timestamp) - extract(epoch from '2026-07-24 05:37: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'), 47837, 'SRID=4674;POINT (-40.313896 -2.79377)', '2026-07-24 05:38:40', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793766)'), GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.79377)'))) / (select extract(epoch from '2026-07-24 05:38:40'::timestamp) - extract(epoch from '2026-07-24 05:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793766)'), GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.79377)'))) / (select extract(epoch from '2026-07-24 05:38:40'::timestamp) - extract(epoch from '2026-07-24 05:38: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'), 47837, 'SRID=4674;POINT (-40.313895 -2.793772)', '2026-07-24 05:38:56', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793772)'))) / (select extract(epoch from '2026-07-24 05:38:56'::timestamp) - extract(epoch from '2026-07-24 05:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793772)'))) / (select extract(epoch from '2026-07-24 05:38:56'::timestamp) - extract(epoch from '2026-07-24 05:38: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'), 47837, 'SRID=4674;POINT (-40.313895 -2.793776)', '2026-07-24 05:39:08', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793772)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793776)'))) / (select extract(epoch from '2026-07-24 05:39:08'::timestamp) - extract(epoch from '2026-07-24 05:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793772)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793776)'))) / (select extract(epoch from '2026-07-24 05:39:08'::timestamp) - extract(epoch from '2026-07-24 05:38:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313902 -2.79377)', '2026-07-24 05:39:28', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793776)'), GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.79377)'))) / (select extract(epoch from '2026-07-24 05:39:28'::timestamp) - extract(epoch from '2026-07-24 05:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793776)'), GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.79377)'))) / (select extract(epoch from '2026-07-24 05:39:28'::timestamp) - extract(epoch from '2026-07-24 05:39:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.3139 -2.79377)', '2026-07-24 05:39:54', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.3139 -2.79377)'))) / (select extract(epoch from '2026-07-24 05:39:54'::timestamp) - extract(epoch from '2026-07-24 05:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.3139 -2.79377)'))) / (select extract(epoch from '2026-07-24 05:39:54'::timestamp) - extract(epoch from '2026-07-24 05:39:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313896 -2.793764)', '2026-07-24 05:40:10', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3139 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793764)'))) / (select extract(epoch from '2026-07-24 05:40:10'::timestamp) - extract(epoch from '2026-07-24 05:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3139 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793764)'))) / (select extract(epoch from '2026-07-24 05:40:10'::timestamp) - extract(epoch from '2026-07-24 05:39: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'), 47837, 'SRID=4674;POINT (-40.313895 -2.793761)', '2026-07-24 05:40:37', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793764)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793761)'))) / (select extract(epoch from '2026-07-24 05:40:37'::timestamp) - extract(epoch from '2026-07-24 05:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793764)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793761)'))) / (select extract(epoch from '2026-07-24 05:40:37'::timestamp) - extract(epoch from '2026-07-24 05:40: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'), 47837, 'SRID=4674;POINT (-40.313889 -2.793774)', '2026-07-24 05:40:56', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793761)'), GeomFromEWKT('SRID=4674;POINT (-40.313889 -2.793774)'))) / (select extract(epoch from '2026-07-24 05:40:56'::timestamp) - extract(epoch from '2026-07-24 05:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793761)'), GeomFromEWKT('SRID=4674;POINT (-40.313889 -2.793774)'))) / (select extract(epoch from '2026-07-24 05:40:56'::timestamp) - extract(epoch from '2026-07-24 05:40: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'), 47837, 'SRID=4674;POINT (-40.31389 -2.793784)', '2026-07-24 05:41:13', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313889 -2.793774)'), GeomFromEWKT('SRID=4674;POINT (-40.31389 -2.793784)'))) / (select extract(epoch from '2026-07-24 05:41:13'::timestamp) - extract(epoch from '2026-07-24 05:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313889 -2.793774)'), GeomFromEWKT('SRID=4674;POINT (-40.31389 -2.793784)'))) / (select extract(epoch from '2026-07-24 05:41:13'::timestamp) - extract(epoch from '2026-07-24 05:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313899 -2.793784)', '2026-07-24 05:41:35', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31389 -2.793784)'), GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793784)'))) / (select extract(epoch from '2026-07-24 05:41:35'::timestamp) - extract(epoch from '2026-07-24 05:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31389 -2.793784)'), GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793784)'))) / (select extract(epoch from '2026-07-24 05:41:35'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313899 -2.793781)', '2026-07-24 05:41:50', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793784)'), GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793781)'))) / (select extract(epoch from '2026-07-24 05:41:50'::timestamp) - extract(epoch from '2026-07-24 05:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793784)'), GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793781)'))) / (select extract(epoch from '2026-07-24 05:41:50'::timestamp) - extract(epoch from '2026-07-24 05:41:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313898 -2.793772)', '2026-07-24 05:42:08', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793781)'), GeomFromEWKT('SRID=4674;POINT (-40.313898 -2.793772)'))) / (select extract(epoch from '2026-07-24 05:42:08'::timestamp) - extract(epoch from '2026-07-24 05:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793781)'), GeomFromEWKT('SRID=4674;POINT (-40.313898 -2.793772)'))) / (select extract(epoch from '2026-07-24 05:42:08'::timestamp) - extract(epoch from '2026-07-24 05:41:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313897 -2.793764)', '2026-07-24 05:42:27', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313898 -2.793772)'), GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793764)'))) / (select extract(epoch from '2026-07-24 05:42:27'::timestamp) - extract(epoch from '2026-07-24 05:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313898 -2.793772)'), GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793764)'))) / (select extract(epoch from '2026-07-24 05:42:27'::timestamp) - extract(epoch from '2026-07-24 05:42: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'), 47837, 'SRID=4674;POINT (-40.313893 -2.793761)', '2026-07-24 05:42:51', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793764)'), GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793761)'))) / (select extract(epoch from '2026-07-24 05:42:51'::timestamp) - extract(epoch from '2026-07-24 05:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793764)'), GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793761)'))) / (select extract(epoch from '2026-07-24 05:42:51'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313896 -2.793762)', '2026-07-24 05:43:17', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793761)'), GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793762)'))) / (select extract(epoch from '2026-07-24 05:43:17'::timestamp) - extract(epoch from '2026-07-24 05:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793761)'), GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793762)'))) / (select extract(epoch from '2026-07-24 05:43:17'::timestamp) - extract(epoch from '2026-07-24 05:42: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'), 47837, 'SRID=4674;POINT (-40.313893 -2.793761)', '2026-07-24 05:43:40', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793762)'), GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793761)'))) / (select extract(epoch from '2026-07-24 05:43:40'::timestamp) - extract(epoch from '2026-07-24 05:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793762)'), GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793761)'))) / (select extract(epoch from '2026-07-24 05:43:40'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313891 -2.793758)', '2026-07-24 05:43:57', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793761)'), GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.793758)'))) / (select extract(epoch from '2026-07-24 05:43:57'::timestamp) - extract(epoch from '2026-07-24 05:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313893 -2.793761)'), GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.793758)'))) / (select extract(epoch from '2026-07-24 05:43:57'::timestamp) - extract(epoch from '2026-07-24 05:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313892 -2.793759)', '2026-07-24 05:44:18', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.793758)'), GeomFromEWKT('SRID=4674;POINT (-40.313892 -2.793759)'))) / (select extract(epoch from '2026-07-24 05:44:18'::timestamp) - extract(epoch from '2026-07-24 05:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313891 -2.793758)'), GeomFromEWKT('SRID=4674;POINT (-40.313892 -2.793759)'))) / (select extract(epoch from '2026-07-24 05:44:18'::timestamp) - extract(epoch from '2026-07-24 05:43: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'), 47837, 'SRID=4674;POINT (-40.313898 -2.793768)', '2026-07-24 05:44:37', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313892 -2.793759)'), GeomFromEWKT('SRID=4674;POINT (-40.313898 -2.793768)'))) / (select extract(epoch from '2026-07-24 05:44:37'::timestamp) - extract(epoch from '2026-07-24 05:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313892 -2.793759)'), GeomFromEWKT('SRID=4674;POINT (-40.313898 -2.793768)'))) / (select extract(epoch from '2026-07-24 05:44:37'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313892 -2.793772)', '2026-07-24 05:45:02', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313898 -2.793768)'), GeomFromEWKT('SRID=4674;POINT (-40.313892 -2.793772)'))) / (select extract(epoch from '2026-07-24 05:45:02'::timestamp) - extract(epoch from '2026-07-24 05:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313898 -2.793768)'), GeomFromEWKT('SRID=4674;POINT (-40.313892 -2.793772)'))) / (select extract(epoch from '2026-07-24 05:45:02'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313896 -2.793768)', '2026-07-24 05:45:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313892 -2.793772)'), GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793768)'))) / (select extract(epoch from '2026-07-24 05:45:25'::timestamp) - extract(epoch from '2026-07-24 05:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313892 -2.793772)'), GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793768)'))) / (select extract(epoch from '2026-07-24 05:45:25'::timestamp) - extract(epoch from '2026-07-24 05:45: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'), 47837, 'SRID=4674;POINT (-40.313899 -2.79377)', '2026-07-24 05:45:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793768)'), GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.79377)'))) / (select extract(epoch from '2026-07-24 05:45:52'::timestamp) - extract(epoch from '2026-07-24 05:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313896 -2.793768)'), GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.79377)'))) / (select extract(epoch from '2026-07-24 05:45:52'::timestamp) - extract(epoch from '2026-07-24 05:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313897 -2.793772)', '2026-07-24 05:46:18', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793772)'))) / (select extract(epoch from '2026-07-24 05:46:18'::timestamp) - extract(epoch from '2026-07-24 05:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793772)'))) / (select extract(epoch from '2026-07-24 05:46:18'::timestamp) - extract(epoch from '2026-07-24 05:45: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'), 47837, 'SRID=4674;POINT (-40.313895 -2.793765)', '2026-07-24 05:46:42', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793772)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793765)'))) / (select extract(epoch from '2026-07-24 05:46:42'::timestamp) - extract(epoch from '2026-07-24 05:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313897 -2.793772)'), GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793765)'))) / (select extract(epoch from '2026-07-24 05:46:42'::timestamp) - extract(epoch from '2026-07-24 05:46:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313899 -2.793766)', '2026-07-24 05:46:55', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793765)'), GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793766)'))) / (select extract(epoch from '2026-07-24 05:46:55'::timestamp) - extract(epoch from '2026-07-24 05:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313895 -2.793765)'), GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793766)'))) / (select extract(epoch from '2026-07-24 05:46:55'::timestamp) - extract(epoch from '2026-07-24 05:46: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'), 47837, 'SRID=4674;POINT (-40.313904 -2.793768)', '2026-07-24 05:47:21', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793766)'), GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793768)'))) / (select extract(epoch from '2026-07-24 05:47:21'::timestamp) - extract(epoch from '2026-07-24 05:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313899 -2.793766)'), GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793768)'))) / (select extract(epoch from '2026-07-24 05:47:21'::timestamp) - extract(epoch from '2026-07-24 05:46:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313901 -2.79377)', '2026-07-24 05:47:41', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793768)'), GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.79377)'))) / (select extract(epoch from '2026-07-24 05:47:41'::timestamp) - extract(epoch from '2026-07-24 05:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313904 -2.793768)'), GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.79377)'))) / (select extract(epoch from '2026-07-24 05:47:41'::timestamp) - extract(epoch from '2026-07-24 05:47:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313889 -2.793774)', '2026-07-24 05:48:00', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.313889 -2.793774)'))) / (select extract(epoch from '2026-07-24 05:48:00'::timestamp) - extract(epoch from '2026-07-24 05:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313901 -2.79377)'), GeomFromEWKT('SRID=4674;POINT (-40.313889 -2.793774)'))) / (select extract(epoch from '2026-07-24 05:48:00'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313822 -2.793803)', '2026-07-24 05:48:11', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313889 -2.793774)'), GeomFromEWKT('SRID=4674;POINT (-40.313822 -2.793803)'))) / (select extract(epoch from '2026-07-24 05:48:11'::timestamp) - extract(epoch from '2026-07-24 05:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313889 -2.793774)'), GeomFromEWKT('SRID=4674;POINT (-40.313822 -2.793803)'))) / (select extract(epoch from '2026-07-24 05:48:11'::timestamp) - extract(epoch from '2026-07-24 05:48: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'), 47837, 'SRID=4674;POINT (-40.313725 -2.793843)', '2026-07-24 05:48:22', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313822 -2.793803)'), GeomFromEWKT('SRID=4674;POINT (-40.313725 -2.793843)'))) / (select extract(epoch from '2026-07-24 05:48:22'::timestamp) - extract(epoch from '2026-07-24 05:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313822 -2.793803)'), GeomFromEWKT('SRID=4674;POINT (-40.313725 -2.793843)'))) / (select extract(epoch from '2026-07-24 05:48:22'::timestamp) - extract(epoch from '2026-07-24 05:48:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313688 -2.793868)', '2026-07-24 05:48:32', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313725 -2.793843)'), GeomFromEWKT('SRID=4674;POINT (-40.313688 -2.793868)'))) / (select extract(epoch from '2026-07-24 05:48:32'::timestamp) - extract(epoch from '2026-07-24 05:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313725 -2.793843)'), GeomFromEWKT('SRID=4674;POINT (-40.313688 -2.793868)'))) / (select extract(epoch from '2026-07-24 05:48:32'::timestamp) - extract(epoch from '2026-07-24 05:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313648 -2.793936)', '2026-07-24 05:48:44', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313688 -2.793868)'), GeomFromEWKT('SRID=4674;POINT (-40.313648 -2.793936)'))) / (select extract(epoch from '2026-07-24 05:48:44'::timestamp) - extract(epoch from '2026-07-24 05:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313688 -2.793868)'), GeomFromEWKT('SRID=4674;POINT (-40.313648 -2.793936)'))) / (select extract(epoch from '2026-07-24 05:48:44'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.31366 -2.794028)', '2026-07-24 05:48:53', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313648 -2.793936)'), GeomFromEWKT('SRID=4674;POINT (-40.31366 -2.794028)'))) / (select extract(epoch from '2026-07-24 05:48:53'::timestamp) - extract(epoch from '2026-07-24 05:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313648 -2.793936)'), GeomFromEWKT('SRID=4674;POINT (-40.31366 -2.794028)'))) / (select extract(epoch from '2026-07-24 05:48:53'::timestamp) - extract(epoch from '2026-07-24 05:48:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.3137 -2.79412)', '2026-07-24 05:49:01', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31366 -2.794028)'), GeomFromEWKT('SRID=4674;POINT (-40.3137 -2.79412)'))) / (select extract(epoch from '2026-07-24 05:49:01'::timestamp) - extract(epoch from '2026-07-24 05:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31366 -2.794028)'), GeomFromEWKT('SRID=4674;POINT (-40.3137 -2.79412)'))) / (select extract(epoch from '2026-07-24 05:49:01'::timestamp) - extract(epoch from '2026-07-24 05:48: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'), 47837, 'SRID=4674;POINT (-40.313757 -2.794231)', '2026-07-24 05:49:10', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3137 -2.79412)'), GeomFromEWKT('SRID=4674;POINT (-40.313757 -2.794231)'))) / (select extract(epoch from '2026-07-24 05:49:10'::timestamp) - extract(epoch from '2026-07-24 05:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3137 -2.79412)'), GeomFromEWKT('SRID=4674;POINT (-40.313757 -2.794231)'))) / (select extract(epoch from '2026-07-24 05:49:10'::timestamp) - extract(epoch from '2026-07-24 05:49: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'), 47837, 'SRID=4674;POINT (-40.313802 -2.794344)', '2026-07-24 05:49:19', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313757 -2.794231)'), GeomFromEWKT('SRID=4674;POINT (-40.313802 -2.794344)'))) / (select extract(epoch from '2026-07-24 05:49:19'::timestamp) - extract(epoch from '2026-07-24 05:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313757 -2.794231)'), GeomFromEWKT('SRID=4674;POINT (-40.313802 -2.794344)'))) / (select extract(epoch from '2026-07-24 05:49:19'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.31385 -2.794436)', '2026-07-24 05:49:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313802 -2.794344)'), GeomFromEWKT('SRID=4674;POINT (-40.31385 -2.794436)'))) / (select extract(epoch from '2026-07-24 05:49:27'::timestamp) - extract(epoch from '2026-07-24 05:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313802 -2.794344)'), GeomFromEWKT('SRID=4674;POINT (-40.31385 -2.794436)'))) / (select extract(epoch from '2026-07-24 05:49:27'::timestamp) - extract(epoch from '2026-07-24 05:49: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'), 47837, 'SRID=4674;POINT (-40.313894 -2.79454)', '2026-07-24 05:49:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31385 -2.794436)'), GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.79454)'))) / (select extract(epoch from '2026-07-24 05:49:35'::timestamp) - extract(epoch from '2026-07-24 05:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31385 -2.794436)'), GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.79454)'))) / (select extract(epoch from '2026-07-24 05:49:35'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313913 -2.794654)', '2026-07-24 05:49:44', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.79454)'), GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.794654)'))) / (select extract(epoch from '2026-07-24 05:49:44'::timestamp) - extract(epoch from '2026-07-24 05:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313894 -2.79454)'), GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.794654)'))) / (select extract(epoch from '2026-07-24 05:49:44'::timestamp) - extract(epoch from '2026-07-24 05:49:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31391 -2.794726)', '2026-07-24 05:49:53', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.794654)'), GeomFromEWKT('SRID=4674;POINT (-40.31391 -2.794726)'))) / (select extract(epoch from '2026-07-24 05:49:53'::timestamp) - extract(epoch from '2026-07-24 05:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313913 -2.794654)'), GeomFromEWKT('SRID=4674;POINT (-40.31391 -2.794726)'))) / (select extract(epoch from '2026-07-24 05:49:53'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313902 -2.79477)', '2026-07-24 05:50:03', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31391 -2.794726)'), GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.79477)'))) / (select extract(epoch from '2026-07-24 05:50:03'::timestamp) - extract(epoch from '2026-07-24 05:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31391 -2.794726)'), GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.79477)'))) / (select extract(epoch from '2026-07-24 05:50:03'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313888 -2.794788)', '2026-07-24 05:50:16', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.79477)'), GeomFromEWKT('SRID=4674;POINT (-40.313888 -2.794788)'))) / (select extract(epoch from '2026-07-24 05:50:16'::timestamp) - extract(epoch from '2026-07-24 05:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313902 -2.79477)'), GeomFromEWKT('SRID=4674;POINT (-40.313888 -2.794788)'))) / (select extract(epoch from '2026-07-24 05:50:16'::timestamp) - extract(epoch from '2026-07-24 05:50:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313917 -2.794768)', '2026-07-24 05:50:38', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313888 -2.794788)'), GeomFromEWKT('SRID=4674;POINT (-40.313917 -2.794768)'))) / (select extract(epoch from '2026-07-24 05:50:38'::timestamp) - extract(epoch from '2026-07-24 05:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313888 -2.794788)'), GeomFromEWKT('SRID=4674;POINT (-40.313917 -2.794768)'))) / (select extract(epoch from '2026-07-24 05:50:38'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313926 -2.794741)', '2026-07-24 05:50:53', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313917 -2.794768)'), GeomFromEWKT('SRID=4674;POINT (-40.313926 -2.794741)'))) / (select extract(epoch from '2026-07-24 05:50:53'::timestamp) - extract(epoch from '2026-07-24 05:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313917 -2.794768)'), GeomFromEWKT('SRID=4674;POINT (-40.313926 -2.794741)'))) / (select extract(epoch from '2026-07-24 05:50:53'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313881 -2.794717)', '2026-07-24 05:51:10', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313926 -2.794741)'), GeomFromEWKT('SRID=4674;POINT (-40.313881 -2.794717)'))) / (select extract(epoch from '2026-07-24 05:51:10'::timestamp) - extract(epoch from '2026-07-24 05:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313926 -2.794741)'), GeomFromEWKT('SRID=4674;POINT (-40.313881 -2.794717)'))) / (select extract(epoch from '2026-07-24 05:51:10'::timestamp) - extract(epoch from '2026-07-24 05:50: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'), 47837, 'SRID=4674;POINT (-40.313804 -2.79471)', '2026-07-24 05:51:27', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313881 -2.794717)'), GeomFromEWKT('SRID=4674;POINT (-40.313804 -2.79471)'))) / (select extract(epoch from '2026-07-24 05:51:27'::timestamp) - extract(epoch from '2026-07-24 05:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313881 -2.794717)'), GeomFromEWKT('SRID=4674;POINT (-40.313804 -2.79471)'))) / (select extract(epoch from '2026-07-24 05:51:27'::timestamp) - extract(epoch from '2026-07-24 05:51:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313739 -2.794709)', '2026-07-24 05:51:40', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313804 -2.79471)'), GeomFromEWKT('SRID=4674;POINT (-40.313739 -2.794709)'))) / (select extract(epoch from '2026-07-24 05:51:40'::timestamp) - extract(epoch from '2026-07-24 05:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313804 -2.79471)'), GeomFromEWKT('SRID=4674;POINT (-40.313739 -2.794709)'))) / (select extract(epoch from '2026-07-24 05:51:40'::timestamp) - extract(epoch from '2026-07-24 05:51: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'), 47837, 'SRID=4674;POINT (-40.313734 -2.794703)', '2026-07-24 05:51:56', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313739 -2.794709)'), GeomFromEWKT('SRID=4674;POINT (-40.313734 -2.794703)'))) / (select extract(epoch from '2026-07-24 05:51:56'::timestamp) - extract(epoch from '2026-07-24 05:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313739 -2.794709)'), GeomFromEWKT('SRID=4674;POINT (-40.313734 -2.794703)'))) / (select extract(epoch from '2026-07-24 05:51:56'::timestamp) - extract(epoch from '2026-07-24 05:51:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313745 -2.79468)', '2026-07-24 05:52:13', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313734 -2.794703)'), GeomFromEWKT('SRID=4674;POINT (-40.313745 -2.79468)'))) / (select extract(epoch from '2026-07-24 05:52:13'::timestamp) - extract(epoch from '2026-07-24 05:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313734 -2.794703)'), GeomFromEWKT('SRID=4674;POINT (-40.313745 -2.79468)'))) / (select extract(epoch from '2026-07-24 05:52:13'::timestamp) - extract(epoch from '2026-07-24 05:51: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'), 47837, 'SRID=4674;POINT (-40.313725 -2.794693)', '2026-07-24 05:52:26', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313745 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.313725 -2.794693)'))) / (select extract(epoch from '2026-07-24 05:52:26'::timestamp) - extract(epoch from '2026-07-24 05:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313745 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.313725 -2.794693)'))) / (select extract(epoch from '2026-07-24 05:52:26'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313661 -2.794698)', '2026-07-24 05:52:42', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313725 -2.794693)'), GeomFromEWKT('SRID=4674;POINT (-40.313661 -2.794698)'))) / (select extract(epoch from '2026-07-24 05:52:42'::timestamp) - extract(epoch from '2026-07-24 05:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313725 -2.794693)'), GeomFromEWKT('SRID=4674;POINT (-40.313661 -2.794698)'))) / (select extract(epoch from '2026-07-24 05:52:42'::timestamp) - extract(epoch from '2026-07-24 05:52: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'), 47837, 'SRID=4674;POINT (-40.313627 -2.794689)', '2026-07-24 05:52:58', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313661 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.313627 -2.794689)'))) / (select extract(epoch from '2026-07-24 05:52:58'::timestamp) - extract(epoch from '2026-07-24 05:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313661 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.313627 -2.794689)'))) / (select extract(epoch from '2026-07-24 05:52:58'::timestamp) - extract(epoch from '2026-07-24 05:52: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'), 47837, 'SRID=4674;POINT (-40.313601 -2.794691)', '2026-07-24 05:53:12', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313627 -2.794689)'), GeomFromEWKT('SRID=4674;POINT (-40.313601 -2.794691)'))) / (select extract(epoch from '2026-07-24 05:53:12'::timestamp) - extract(epoch from '2026-07-24 05:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313627 -2.794689)'), GeomFromEWKT('SRID=4674;POINT (-40.313601 -2.794691)'))) / (select extract(epoch from '2026-07-24 05:53:12'::timestamp) - extract(epoch from '2026-07-24 05:52: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'), 47837, 'SRID=4674;POINT (-40.313561 -2.794693)', '2026-07-24 05:53:26', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313601 -2.794691)'), GeomFromEWKT('SRID=4674;POINT (-40.313561 -2.794693)'))) / (select extract(epoch from '2026-07-24 05:53:26'::timestamp) - extract(epoch from '2026-07-24 05:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313601 -2.794691)'), GeomFromEWKT('SRID=4674;POINT (-40.313561 -2.794693)'))) / (select extract(epoch from '2026-07-24 05:53:26'::timestamp) - extract(epoch from '2026-07-24 05:53:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313518 -2.794683)', '2026-07-24 05:53:39', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313561 -2.794693)'), GeomFromEWKT('SRID=4674;POINT (-40.313518 -2.794683)'))) / (select extract(epoch from '2026-07-24 05:53:39'::timestamp) - extract(epoch from '2026-07-24 05:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313561 -2.794693)'), GeomFromEWKT('SRID=4674;POINT (-40.313518 -2.794683)'))) / (select extract(epoch from '2026-07-24 05:53:39'::timestamp) - extract(epoch from '2026-07-24 05:53:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313447 -2.79469)', '2026-07-24 05:53:54', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313518 -2.794683)'), GeomFromEWKT('SRID=4674;POINT (-40.313447 -2.79469)'))) / (select extract(epoch from '2026-07-24 05:53:54'::timestamp) - extract(epoch from '2026-07-24 05:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313518 -2.794683)'), GeomFromEWKT('SRID=4674;POINT (-40.313447 -2.79469)'))) / (select extract(epoch from '2026-07-24 05:53:54'::timestamp) - extract(epoch from '2026-07-24 05:53:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313402 -2.794693)', '2026-07-24 05:54:08', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313447 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.313402 -2.794693)'))) / (select extract(epoch from '2026-07-24 05:54:08'::timestamp) - extract(epoch from '2026-07-24 05:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313447 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.313402 -2.794693)'))) / (select extract(epoch from '2026-07-24 05:54:08'::timestamp) - extract(epoch from '2026-07-24 05:53: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'), 47837, 'SRID=4674;POINT (-40.313364 -2.794676)', '2026-07-24 05:54:31', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313402 -2.794693)'), GeomFromEWKT('SRID=4674;POINT (-40.313364 -2.794676)'))) / (select extract(epoch from '2026-07-24 05:54:31'::timestamp) - extract(epoch from '2026-07-24 05:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313402 -2.794693)'), GeomFromEWKT('SRID=4674;POINT (-40.313364 -2.794676)'))) / (select extract(epoch from '2026-07-24 05:54:31'::timestamp) - extract(epoch from '2026-07-24 05:54: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'), 47837, 'SRID=4674;POINT (-40.313313 -2.794684)', '2026-07-24 05:54:48', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313364 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.313313 -2.794684)'))) / (select extract(epoch from '2026-07-24 05:54:48'::timestamp) - extract(epoch from '2026-07-24 05:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313364 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.313313 -2.794684)'))) / (select extract(epoch from '2026-07-24 05:54:48'::timestamp) - extract(epoch from '2026-07-24 05:54: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'), 47837, 'SRID=4674;POINT (-40.313255 -2.794673)', '2026-07-24 05:55:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313313 -2.794684)'), GeomFromEWKT('SRID=4674;POINT (-40.313255 -2.794673)'))) / (select extract(epoch from '2026-07-24 05:55:04'::timestamp) - extract(epoch from '2026-07-24 05:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313313 -2.794684)'), GeomFromEWKT('SRID=4674;POINT (-40.313255 -2.794673)'))) / (select extract(epoch from '2026-07-24 05:55:04'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313198 -2.79467)', '2026-07-24 05:55:19', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313255 -2.794673)'), GeomFromEWKT('SRID=4674;POINT (-40.313198 -2.79467)'))) / (select extract(epoch from '2026-07-24 05:55:19'::timestamp) - extract(epoch from '2026-07-24 05:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313255 -2.794673)'), GeomFromEWKT('SRID=4674;POINT (-40.313198 -2.79467)'))) / (select extract(epoch from '2026-07-24 05:55:19'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.313148 -2.794682)', '2026-07-24 05:55:34', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313198 -2.79467)'), GeomFromEWKT('SRID=4674;POINT (-40.313148 -2.794682)'))) / (select extract(epoch from '2026-07-24 05:55:34'::timestamp) - extract(epoch from '2026-07-24 05:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313198 -2.79467)'), GeomFromEWKT('SRID=4674;POINT (-40.313148 -2.794682)'))) / (select extract(epoch from '2026-07-24 05:55:34'::timestamp) - extract(epoch from '2026-07-24 05:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313123 -2.794678)', '2026-07-24 05:55:59', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313148 -2.794682)'), GeomFromEWKT('SRID=4674;POINT (-40.313123 -2.794678)'))) / (select extract(epoch from '2026-07-24 05:55:59'::timestamp) - extract(epoch from '2026-07-24 05:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313148 -2.794682)'), GeomFromEWKT('SRID=4674;POINT (-40.313123 -2.794678)'))) / (select extract(epoch from '2026-07-24 05:55:59'::timestamp) - extract(epoch from '2026-07-24 05:55:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313075 -2.794672)', '2026-07-24 05:56:11', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313123 -2.794678)'), GeomFromEWKT('SRID=4674;POINT (-40.313075 -2.794672)'))) / (select extract(epoch from '2026-07-24 05:56:11'::timestamp) - extract(epoch from '2026-07-24 05:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313123 -2.794678)'), GeomFromEWKT('SRID=4674;POINT (-40.313075 -2.794672)'))) / (select extract(epoch from '2026-07-24 05:56:11'::timestamp) - extract(epoch from '2026-07-24 05:55: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'), 47837, 'SRID=4674;POINT (-40.313013 -2.794671)', '2026-07-24 05:56:23', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313075 -2.794672)'), GeomFromEWKT('SRID=4674;POINT (-40.313013 -2.794671)'))) / (select extract(epoch from '2026-07-24 05:56:23'::timestamp) - extract(epoch from '2026-07-24 05:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313075 -2.794672)'), GeomFromEWKT('SRID=4674;POINT (-40.313013 -2.794671)'))) / (select extract(epoch from '2026-07-24 05:56:23'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.312952 -2.794683)', '2026-07-24 05:56:37', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313013 -2.794671)'), GeomFromEWKT('SRID=4674;POINT (-40.312952 -2.794683)'))) / (select extract(epoch from '2026-07-24 05:56:37'::timestamp) - extract(epoch from '2026-07-24 05:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313013 -2.794671)'), GeomFromEWKT('SRID=4674;POINT (-40.312952 -2.794683)'))) / (select extract(epoch from '2026-07-24 05:56:37'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.312888 -2.79469)', '2026-07-24 05:56:51', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312952 -2.794683)'), GeomFromEWKT('SRID=4674;POINT (-40.312888 -2.79469)'))) / (select extract(epoch from '2026-07-24 05:56:51'::timestamp) - extract(epoch from '2026-07-24 05:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312952 -2.794683)'), GeomFromEWKT('SRID=4674;POINT (-40.312888 -2.79469)'))) / (select extract(epoch from '2026-07-24 05:56:51'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.312837 -2.794687)', '2026-07-24 05:57:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312888 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.312837 -2.794687)'))) / (select extract(epoch from '2026-07-24 05:57:05'::timestamp) - extract(epoch from '2026-07-24 05:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312888 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.312837 -2.794687)'))) / (select extract(epoch from '2026-07-24 05:57:05'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.312767 -2.794688)', '2026-07-24 05:57:20', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312837 -2.794687)'), GeomFromEWKT('SRID=4674;POINT (-40.312767 -2.794688)'))) / (select extract(epoch from '2026-07-24 05:57:20'::timestamp) - extract(epoch from '2026-07-24 05:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312837 -2.794687)'), GeomFromEWKT('SRID=4674;POINT (-40.312767 -2.794688)'))) / (select extract(epoch from '2026-07-24 05:57:20'::timestamp) - extract(epoch from '2026-07-24 05:57: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'), 47837, 'SRID=4674;POINT (-40.312729 -2.794695)', '2026-07-24 05:57:35', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312767 -2.794688)'), GeomFromEWKT('SRID=4674;POINT (-40.312729 -2.794695)'))) / (select extract(epoch from '2026-07-24 05:57:35'::timestamp) - extract(epoch from '2026-07-24 05:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312767 -2.794688)'), GeomFromEWKT('SRID=4674;POINT (-40.312729 -2.794695)'))) / (select extract(epoch from '2026-07-24 05:57:35'::timestamp) - extract(epoch from '2026-07-24 05:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.312701 -2.794705)', '2026-07-24 05:57:49', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312729 -2.794695)'), GeomFromEWKT('SRID=4674;POINT (-40.312701 -2.794705)'))) / (select extract(epoch from '2026-07-24 05:57:49'::timestamp) - extract(epoch from '2026-07-24 05:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312729 -2.794695)'), GeomFromEWKT('SRID=4674;POINT (-40.312701 -2.794705)'))) / (select extract(epoch from '2026-07-24 05:57:49'::timestamp) - extract(epoch from '2026-07-24 05:57:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.312668 -2.794691)', '2026-07-24 05:58:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312701 -2.794705)'), GeomFromEWKT('SRID=4674;POINT (-40.312668 -2.794691)'))) / (select extract(epoch from '2026-07-24 05:58:03'::timestamp) - extract(epoch from '2026-07-24 05:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312701 -2.794705)'), GeomFromEWKT('SRID=4674;POINT (-40.312668 -2.794691)'))) / (select extract(epoch from '2026-07-24 05:58:03'::timestamp) - extract(epoch from '2026-07-24 05:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.312631 -2.794694)', '2026-07-24 05:58:15', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312668 -2.794691)'), GeomFromEWKT('SRID=4674;POINT (-40.312631 -2.794694)'))) / (select extract(epoch from '2026-07-24 05:58:15'::timestamp) - extract(epoch from '2026-07-24 05:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312668 -2.794691)'), GeomFromEWKT('SRID=4674;POINT (-40.312631 -2.794694)'))) / (select extract(epoch from '2026-07-24 05:58:15'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.312608 -2.794704)', '2026-07-24 05:58:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312631 -2.794694)'), GeomFromEWKT('SRID=4674;POINT (-40.312608 -2.794704)'))) / (select extract(epoch from '2026-07-24 05:58:27'::timestamp) - extract(epoch from '2026-07-24 05:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312631 -2.794694)'), GeomFromEWKT('SRID=4674;POINT (-40.312608 -2.794704)'))) / (select extract(epoch from '2026-07-24 05:58:27'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.312551 -2.794715)', '2026-07-24 05:58:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312608 -2.794704)'), GeomFromEWKT('SRID=4674;POINT (-40.312551 -2.794715)'))) / (select extract(epoch from '2026-07-24 05:58:43'::timestamp) - extract(epoch from '2026-07-24 05:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312608 -2.794704)'), GeomFromEWKT('SRID=4674;POINT (-40.312551 -2.794715)'))) / (select extract(epoch from '2026-07-24 05:58:43'::timestamp) - extract(epoch from '2026-07-24 05:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.312467 -2.79471)', '2026-07-24 05:59:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312551 -2.794715)'), GeomFromEWKT('SRID=4674;POINT (-40.312467 -2.79471)'))) / (select extract(epoch from '2026-07-24 05:59:00'::timestamp) - extract(epoch from '2026-07-24 05:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312551 -2.794715)'), GeomFromEWKT('SRID=4674;POINT (-40.312467 -2.79471)'))) / (select extract(epoch from '2026-07-24 05:59:00'::timestamp) - extract(epoch from '2026-07-24 05: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'), 47837, 'SRID=4674;POINT (-40.312394 -2.79471)', '2026-07-24 05:59:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312467 -2.79471)'), GeomFromEWKT('SRID=4674;POINT (-40.312394 -2.79471)'))) / (select extract(epoch from '2026-07-24 05:59:15'::timestamp) - extract(epoch from '2026-07-24 05:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312467 -2.79471)'), GeomFromEWKT('SRID=4674;POINT (-40.312394 -2.79471)'))) / (select extract(epoch from '2026-07-24 05:59:15'::timestamp) - extract(epoch from '2026-07-24 05:59:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.312334 -2.794723)', '2026-07-24 05:59:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312394 -2.79471)'), GeomFromEWKT('SRID=4674;POINT (-40.312334 -2.794723)'))) / (select extract(epoch from '2026-07-24 05:59:29'::timestamp) - extract(epoch from '2026-07-24 05:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312394 -2.79471)'), GeomFromEWKT('SRID=4674;POINT (-40.312334 -2.794723)'))) / (select extract(epoch from '2026-07-24 05:59:29'::timestamp) - extract(epoch from '2026-07-24 05:59:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31228 -2.794765)', '2026-07-24 05:59:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312334 -2.794723)'), GeomFromEWKT('SRID=4674;POINT (-40.31228 -2.794765)'))) / (select extract(epoch from '2026-07-24 05:59:45'::timestamp) - extract(epoch from '2026-07-24 05:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312334 -2.794723)'), GeomFromEWKT('SRID=4674;POINT (-40.31228 -2.794765)'))) / (select extract(epoch from '2026-07-24 05:59:45'::timestamp) - extract(epoch from '2026-07-24 05:59:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.312275 -2.794785)', '2026-07-24 05:59:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31228 -2.794765)'), GeomFromEWKT('SRID=4674;POINT (-40.312275 -2.794785)'))) / (select extract(epoch from '2026-07-24 05:59:59'::timestamp) - extract(epoch from '2026-07-24 05:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31228 -2.794765)'), GeomFromEWKT('SRID=4674;POINT (-40.312275 -2.794785)'))) / (select extract(epoch from '2026-07-24 05:59:59'::timestamp) - extract(epoch from '2026-07-24 05:59: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'), 47837, 'SRID=4674;POINT (-40.312232 -2.794779)', '2026-07-24 06:00:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312275 -2.794785)'), GeomFromEWKT('SRID=4674;POINT (-40.312232 -2.794779)'))) / (select extract(epoch from '2026-07-24 06:00:12'::timestamp) - extract(epoch from '2026-07-24 05:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312275 -2.794785)'), GeomFromEWKT('SRID=4674;POINT (-40.312232 -2.794779)'))) / (select extract(epoch from '2026-07-24 06:00:12'::timestamp) - extract(epoch from '2026-07-24 05:59: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'), 47837, 'SRID=4674;POINT (-40.312179 -2.794745)', '2026-07-24 06:00:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312232 -2.794779)'), GeomFromEWKT('SRID=4674;POINT (-40.312179 -2.794745)'))) / (select extract(epoch from '2026-07-24 06:00:28'::timestamp) - extract(epoch from '2026-07-24 06:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312232 -2.794779)'), GeomFromEWKT('SRID=4674;POINT (-40.312179 -2.794745)'))) / (select extract(epoch from '2026-07-24 06:00:28'::timestamp) - extract(epoch from '2026-07-24 06:00:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.312132 -2.794754)', '2026-07-24 06:00:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312179 -2.794745)'), GeomFromEWKT('SRID=4674;POINT (-40.312132 -2.794754)'))) / (select extract(epoch from '2026-07-24 06:00:41'::timestamp) - extract(epoch from '2026-07-24 06:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312179 -2.794745)'), GeomFromEWKT('SRID=4674;POINT (-40.312132 -2.794754)'))) / (select extract(epoch from '2026-07-24 06:00:41'::timestamp) - extract(epoch from '2026-07-24 06: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'), 47837, 'SRID=4674;POINT (-40.312034 -2.794754)', '2026-07-24 06:01:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312132 -2.794754)'), GeomFromEWKT('SRID=4674;POINT (-40.312034 -2.794754)'))) / (select extract(epoch from '2026-07-24 06:01:00'::timestamp) - extract(epoch from '2026-07-24 06:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312132 -2.794754)'), GeomFromEWKT('SRID=4674;POINT (-40.312034 -2.794754)'))) / (select extract(epoch from '2026-07-24 06:01:00'::timestamp) - extract(epoch from '2026-07-24 06:00:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.311989 -2.794773)', '2026-07-24 06:01:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312034 -2.794754)'), GeomFromEWKT('SRID=4674;POINT (-40.311989 -2.794773)'))) / (select extract(epoch from '2026-07-24 06:01:15'::timestamp) - extract(epoch from '2026-07-24 06:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312034 -2.794754)'), GeomFromEWKT('SRID=4674;POINT (-40.311989 -2.794773)'))) / (select extract(epoch from '2026-07-24 06:01:15'::timestamp) - extract(epoch from '2026-07-24 06:01: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'), 47837, 'SRID=4674;POINT (-40.311917 -2.794786)', '2026-07-24 06:01:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311989 -2.794773)'), GeomFromEWKT('SRID=4674;POINT (-40.311917 -2.794786)'))) / (select extract(epoch from '2026-07-24 06:01:29'::timestamp) - extract(epoch from '2026-07-24 06:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311989 -2.794773)'), GeomFromEWKT('SRID=4674;POINT (-40.311917 -2.794786)'))) / (select extract(epoch from '2026-07-24 06:01:29'::timestamp) - extract(epoch from '2026-07-24 06:01:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.311876 -2.794796)', '2026-07-24 06:01:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311917 -2.794786)'), GeomFromEWKT('SRID=4674;POINT (-40.311876 -2.794796)'))) / (select extract(epoch from '2026-07-24 06:01:45'::timestamp) - extract(epoch from '2026-07-24 06:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311917 -2.794786)'), GeomFromEWKT('SRID=4674;POINT (-40.311876 -2.794796)'))) / (select extract(epoch from '2026-07-24 06:01:45'::timestamp) - extract(epoch from '2026-07-24 06:01: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'), 47837, 'SRID=4674;POINT (-40.311869 -2.794804)', '2026-07-24 06:02:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311876 -2.794796)'), GeomFromEWKT('SRID=4674;POINT (-40.311869 -2.794804)'))) / (select extract(epoch from '2026-07-24 06:02:05'::timestamp) - extract(epoch from '2026-07-24 06:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311876 -2.794796)'), GeomFromEWKT('SRID=4674;POINT (-40.311869 -2.794804)'))) / (select extract(epoch from '2026-07-24 06:02:05'::timestamp) - extract(epoch from '2026-07-24 06:01:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.311826 -2.794801)', '2026-07-24 06:02:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311869 -2.794804)'), GeomFromEWKT('SRID=4674;POINT (-40.311826 -2.794801)'))) / (select extract(epoch from '2026-07-24 06:02:17'::timestamp) - extract(epoch from '2026-07-24 06:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311869 -2.794804)'), GeomFromEWKT('SRID=4674;POINT (-40.311826 -2.794801)'))) / (select extract(epoch from '2026-07-24 06:02:17'::timestamp) - extract(epoch from '2026-07-24 06:02: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'), 47837, 'SRID=4674;POINT (-40.31178 -2.794775)', '2026-07-24 06:02:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311826 -2.794801)'), GeomFromEWKT('SRID=4674;POINT (-40.31178 -2.794775)'))) / (select extract(epoch from '2026-07-24 06:02:31'::timestamp) - extract(epoch from '2026-07-24 06:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311826 -2.794801)'), GeomFromEWKT('SRID=4674;POINT (-40.31178 -2.794775)'))) / (select extract(epoch from '2026-07-24 06:02:31'::timestamp) - extract(epoch from '2026-07-24 06:02:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.311762 -2.794766)', '2026-07-24 06:02:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31178 -2.794775)'), GeomFromEWKT('SRID=4674;POINT (-40.311762 -2.794766)'))) / (select extract(epoch from '2026-07-24 06:02:51'::timestamp) - extract(epoch from '2026-07-24 06:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31178 -2.794775)'), GeomFromEWKT('SRID=4674;POINT (-40.311762 -2.794766)'))) / (select extract(epoch from '2026-07-24 06:02:51'::timestamp) - extract(epoch from '2026-07-24 06:02: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'), 47837, 'SRID=4674;POINT (-40.311709 -2.794778)', '2026-07-24 06:03:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311762 -2.794766)'), GeomFromEWKT('SRID=4674;POINT (-40.311709 -2.794778)'))) / (select extract(epoch from '2026-07-24 06:03:04'::timestamp) - extract(epoch from '2026-07-24 06:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311762 -2.794766)'), GeomFromEWKT('SRID=4674;POINT (-40.311709 -2.794778)'))) / (select extract(epoch from '2026-07-24 06:03:04'::timestamp) - extract(epoch from '2026-07-24 06:02:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.311702 -2.794781)', '2026-07-24 06:03:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311709 -2.794778)'), GeomFromEWKT('SRID=4674;POINT (-40.311702 -2.794781)'))) / (select extract(epoch from '2026-07-24 06:03:17'::timestamp) - extract(epoch from '2026-07-24 06:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311709 -2.794778)'), GeomFromEWKT('SRID=4674;POINT (-40.311702 -2.794781)'))) / (select extract(epoch from '2026-07-24 06:03:17'::timestamp) - extract(epoch from '2026-07-24 06:03: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'), 47837, 'SRID=4674;POINT (-40.311656 -2.794782)', '2026-07-24 06:03:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311702 -2.794781)'), GeomFromEWKT('SRID=4674;POINT (-40.311656 -2.794782)'))) / (select extract(epoch from '2026-07-24 06:03:30'::timestamp) - extract(epoch from '2026-07-24 06:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311702 -2.794781)'), GeomFromEWKT('SRID=4674;POINT (-40.311656 -2.794782)'))) / (select extract(epoch from '2026-07-24 06:03:30'::timestamp) - extract(epoch from '2026-07-24 06: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'), 47837, 'SRID=4674;POINT (-40.311576 -2.794768)', '2026-07-24 06:03:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311656 -2.794782)'), GeomFromEWKT('SRID=4674;POINT (-40.311576 -2.794768)'))) / (select extract(epoch from '2026-07-24 06:03:45'::timestamp) - extract(epoch from '2026-07-24 06:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311656 -2.794782)'), GeomFromEWKT('SRID=4674;POINT (-40.311576 -2.794768)'))) / (select extract(epoch from '2026-07-24 06:03:45'::timestamp) - extract(epoch from '2026-07-24 06:03: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'), 47837, 'SRID=4674;POINT (-40.311535 -2.794746)', '2026-07-24 06:04:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311576 -2.794768)'), GeomFromEWKT('SRID=4674;POINT (-40.311535 -2.794746)'))) / (select extract(epoch from '2026-07-24 06:04:02'::timestamp) - extract(epoch from '2026-07-24 06:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311576 -2.794768)'), GeomFromEWKT('SRID=4674;POINT (-40.311535 -2.794746)'))) / (select extract(epoch from '2026-07-24 06:04:02'::timestamp) - extract(epoch from '2026-07-24 06:03: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'), 47837, 'SRID=4674;POINT (-40.311501 -2.794747)', '2026-07-24 06:04:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311535 -2.794746)'), GeomFromEWKT('SRID=4674;POINT (-40.311501 -2.794747)'))) / (select extract(epoch from '2026-07-24 06:04:17'::timestamp) - extract(epoch from '2026-07-24 06:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311535 -2.794746)'), GeomFromEWKT('SRID=4674;POINT (-40.311501 -2.794747)'))) / (select extract(epoch from '2026-07-24 06:04:17'::timestamp) - extract(epoch from '2026-07-24 06:04: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'), 47837, 'SRID=4674;POINT (-40.311441 -2.794758)', '2026-07-24 06:04:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311501 -2.794747)'), GeomFromEWKT('SRID=4674;POINT (-40.311441 -2.794758)'))) / (select extract(epoch from '2026-07-24 06:04:31'::timestamp) - extract(epoch from '2026-07-24 06:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311501 -2.794747)'), GeomFromEWKT('SRID=4674;POINT (-40.311441 -2.794758)'))) / (select extract(epoch from '2026-07-24 06:04:31'::timestamp) - extract(epoch from '2026-07-24 06:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.311414 -2.794771)', '2026-07-24 06:04:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311441 -2.794758)'), GeomFromEWKT('SRID=4674;POINT (-40.311414 -2.794771)'))) / (select extract(epoch from '2026-07-24 06:04:44'::timestamp) - extract(epoch from '2026-07-24 06:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311441 -2.794758)'), GeomFromEWKT('SRID=4674;POINT (-40.311414 -2.794771)'))) / (select extract(epoch from '2026-07-24 06:04:44'::timestamp) - extract(epoch from '2026-07-24 06: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'), 47837, 'SRID=4674;POINT (-40.31139 -2.794767)', '2026-07-24 06:05:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311414 -2.794771)'), GeomFromEWKT('SRID=4674;POINT (-40.31139 -2.794767)'))) / (select extract(epoch from '2026-07-24 06:05:06'::timestamp) - extract(epoch from '2026-07-24 06:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311414 -2.794771)'), GeomFromEWKT('SRID=4674;POINT (-40.31139 -2.794767)'))) / (select extract(epoch from '2026-07-24 06:05:06'::timestamp) - extract(epoch from '2026-07-24 06:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.311348 -2.794771)', '2026-07-24 06:05:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31139 -2.794767)'), GeomFromEWKT('SRID=4674;POINT (-40.311348 -2.794771)'))) / (select extract(epoch from '2026-07-24 06:05:20'::timestamp) - extract(epoch from '2026-07-24 06:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31139 -2.794767)'), GeomFromEWKT('SRID=4674;POINT (-40.311348 -2.794771)'))) / (select extract(epoch from '2026-07-24 06:05:20'::timestamp) - extract(epoch from '2026-07-24 06:05:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.311285 -2.794784)', '2026-07-24 06:05:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311348 -2.794771)'), GeomFromEWKT('SRID=4674;POINT (-40.311285 -2.794784)'))) / (select extract(epoch from '2026-07-24 06:05:35'::timestamp) - extract(epoch from '2026-07-24 06:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311348 -2.794771)'), GeomFromEWKT('SRID=4674;POINT (-40.311285 -2.794784)'))) / (select extract(epoch from '2026-07-24 06:05:35'::timestamp) - extract(epoch from '2026-07-24 06:05:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.311205 -2.794797)', '2026-07-24 06:05:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311285 -2.794784)'), GeomFromEWKT('SRID=4674;POINT (-40.311205 -2.794797)'))) / (select extract(epoch from '2026-07-24 06:05:49'::timestamp) - extract(epoch from '2026-07-24 06:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311285 -2.794784)'), GeomFromEWKT('SRID=4674;POINT (-40.311205 -2.794797)'))) / (select extract(epoch from '2026-07-24 06:05:49'::timestamp) - extract(epoch from '2026-07-24 06:05:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.311139 -2.794803)', '2026-07-24 06:06:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311205 -2.794797)'), GeomFromEWKT('SRID=4674;POINT (-40.311139 -2.794803)'))) / (select extract(epoch from '2026-07-24 06:06:02'::timestamp) - extract(epoch from '2026-07-24 06:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311205 -2.794797)'), GeomFromEWKT('SRID=4674;POINT (-40.311139 -2.794803)'))) / (select extract(epoch from '2026-07-24 06:06:02'::timestamp) - extract(epoch from '2026-07-24 06:05: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'), 47837, 'SRID=4674;POINT (-40.311051 -2.794801)', '2026-07-24 06:06:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311139 -2.794803)'), GeomFromEWKT('SRID=4674;POINT (-40.311051 -2.794801)'))) / (select extract(epoch from '2026-07-24 06:06:17'::timestamp) - extract(epoch from '2026-07-24 06:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311139 -2.794803)'), GeomFromEWKT('SRID=4674;POINT (-40.311051 -2.794801)'))) / (select extract(epoch from '2026-07-24 06:06:17'::timestamp) - extract(epoch from '2026-07-24 06:06: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'), 47837, 'SRID=4674;POINT (-40.311005 -2.794827)', '2026-07-24 06:06:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311051 -2.794801)'), GeomFromEWKT('SRID=4674;POINT (-40.311005 -2.794827)'))) / (select extract(epoch from '2026-07-24 06:06:34'::timestamp) - extract(epoch from '2026-07-24 06:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311051 -2.794801)'), GeomFromEWKT('SRID=4674;POINT (-40.311005 -2.794827)'))) / (select extract(epoch from '2026-07-24 06:06:34'::timestamp) - extract(epoch from '2026-07-24 06:06:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.310972 -2.794834)', '2026-07-24 06:06:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311005 -2.794827)'), GeomFromEWKT('SRID=4674;POINT (-40.310972 -2.794834)'))) / (select extract(epoch from '2026-07-24 06:06:48'::timestamp) - extract(epoch from '2026-07-24 06:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311005 -2.794827)'), GeomFromEWKT('SRID=4674;POINT (-40.310972 -2.794834)'))) / (select extract(epoch from '2026-07-24 06:06:48'::timestamp) - extract(epoch from '2026-07-24 06:06: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'), 47837, 'SRID=4674;POINT (-40.310923 -2.794839)', '2026-07-24 06:07:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310972 -2.794834)'), GeomFromEWKT('SRID=4674;POINT (-40.310923 -2.794839)'))) / (select extract(epoch from '2026-07-24 06:07:01'::timestamp) - extract(epoch from '2026-07-24 06:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310972 -2.794834)'), GeomFromEWKT('SRID=4674;POINT (-40.310923 -2.794839)'))) / (select extract(epoch from '2026-07-24 06:07:01'::timestamp) - extract(epoch from '2026-07-24 06:06:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.310842 -2.794861)', '2026-07-24 06:07:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310923 -2.794839)'), GeomFromEWKT('SRID=4674;POINT (-40.310842 -2.794861)'))) / (select extract(epoch from '2026-07-24 06:07:18'::timestamp) - extract(epoch from '2026-07-24 06:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310923 -2.794839)'), GeomFromEWKT('SRID=4674;POINT (-40.310842 -2.794861)'))) / (select extract(epoch from '2026-07-24 06:07:18'::timestamp) - extract(epoch from '2026-07-24 06: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'), 47837, 'SRID=4674;POINT (-40.310788 -2.794872)', '2026-07-24 06:07:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310842 -2.794861)'), GeomFromEWKT('SRID=4674;POINT (-40.310788 -2.794872)'))) / (select extract(epoch from '2026-07-24 06:07:30'::timestamp) - extract(epoch from '2026-07-24 06:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310842 -2.794861)'), GeomFromEWKT('SRID=4674;POINT (-40.310788 -2.794872)'))) / (select extract(epoch from '2026-07-24 06:07:30'::timestamp) - extract(epoch from '2026-07-24 06:07: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'), 47837, 'SRID=4674;POINT (-40.310735 -2.794872)', '2026-07-24 06:07:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310788 -2.794872)'), GeomFromEWKT('SRID=4674;POINT (-40.310735 -2.794872)'))) / (select extract(epoch from '2026-07-24 06:07:45'::timestamp) - extract(epoch from '2026-07-24 06:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310788 -2.794872)'), GeomFromEWKT('SRID=4674;POINT (-40.310735 -2.794872)'))) / (select extract(epoch from '2026-07-24 06:07:45'::timestamp) - extract(epoch from '2026-07-24 06:07: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'), 47837, 'SRID=4674;POINT (-40.310687 -2.794877)', '2026-07-24 06:07:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310735 -2.794872)'), GeomFromEWKT('SRID=4674;POINT (-40.310687 -2.794877)'))) / (select extract(epoch from '2026-07-24 06:07:58'::timestamp) - extract(epoch from '2026-07-24 06:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310735 -2.794872)'), GeomFromEWKT('SRID=4674;POINT (-40.310687 -2.794877)'))) / (select extract(epoch from '2026-07-24 06:07:58'::timestamp) - extract(epoch from '2026-07-24 06:07:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31063 -2.794888)', '2026-07-24 06:08:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310687 -2.794877)'), GeomFromEWKT('SRID=4674;POINT (-40.31063 -2.794888)'))) / (select extract(epoch from '2026-07-24 06:08:10'::timestamp) - extract(epoch from '2026-07-24 06:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310687 -2.794877)'), GeomFromEWKT('SRID=4674;POINT (-40.31063 -2.794888)'))) / (select extract(epoch from '2026-07-24 06:08:10'::timestamp) - extract(epoch from '2026-07-24 06:07:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.310562 -2.7949)', '2026-07-24 06:08:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31063 -2.794888)'), GeomFromEWKT('SRID=4674;POINT (-40.310562 -2.7949)'))) / (select extract(epoch from '2026-07-24 06:08:24'::timestamp) - extract(epoch from '2026-07-24 06:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31063 -2.794888)'), GeomFromEWKT('SRID=4674;POINT (-40.310562 -2.7949)'))) / (select extract(epoch from '2026-07-24 06:08:24'::timestamp) - extract(epoch from '2026-07-24 06:08: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'), 47837, 'SRID=4674;POINT (-40.310503 -2.794913)', '2026-07-24 06:08:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310562 -2.7949)'), GeomFromEWKT('SRID=4674;POINT (-40.310503 -2.794913)'))) / (select extract(epoch from '2026-07-24 06:08:38'::timestamp) - extract(epoch from '2026-07-24 06:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310562 -2.7949)'), GeomFromEWKT('SRID=4674;POINT (-40.310503 -2.794913)'))) / (select extract(epoch from '2026-07-24 06:08:38'::timestamp) - extract(epoch from '2026-07-24 06:08: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'), 47837, 'SRID=4674;POINT (-40.310441 -2.79493)', '2026-07-24 06:08:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310503 -2.794913)'), GeomFromEWKT('SRID=4674;POINT (-40.310441 -2.79493)'))) / (select extract(epoch from '2026-07-24 06:08:52'::timestamp) - extract(epoch from '2026-07-24 06:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310503 -2.794913)'), GeomFromEWKT('SRID=4674;POINT (-40.310441 -2.79493)'))) / (select extract(epoch from '2026-07-24 06:08:52'::timestamp) - extract(epoch from '2026-07-24 06:08:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.310367 -2.794941)', '2026-07-24 06:09:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310441 -2.79493)'), GeomFromEWKT('SRID=4674;POINT (-40.310367 -2.794941)'))) / (select extract(epoch from '2026-07-24 06:09:08'::timestamp) - extract(epoch from '2026-07-24 06:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310441 -2.79493)'), GeomFromEWKT('SRID=4674;POINT (-40.310367 -2.794941)'))) / (select extract(epoch from '2026-07-24 06:09:08'::timestamp) - extract(epoch from '2026-07-24 06:08:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.310315 -2.794943)', '2026-07-24 06:09:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310367 -2.794941)'), GeomFromEWKT('SRID=4674;POINT (-40.310315 -2.794943)'))) / (select extract(epoch from '2026-07-24 06:09:22'::timestamp) - extract(epoch from '2026-07-24 06:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310367 -2.794941)'), GeomFromEWKT('SRID=4674;POINT (-40.310315 -2.794943)'))) / (select extract(epoch from '2026-07-24 06:09:22'::timestamp) - extract(epoch from '2026-07-24 06:09: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'), 47837, 'SRID=4674;POINT (-40.3103 -2.794957)', '2026-07-24 06:09:35', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310315 -2.794943)'), GeomFromEWKT('SRID=4674;POINT (-40.3103 -2.794957)'))) / (select extract(epoch from '2026-07-24 06:09:35'::timestamp) - extract(epoch from '2026-07-24 06:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310315 -2.794943)'), GeomFromEWKT('SRID=4674;POINT (-40.3103 -2.794957)'))) / (select extract(epoch from '2026-07-24 06:09:35'::timestamp) - extract(epoch from '2026-07-24 06:09: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'), 47837, 'SRID=4674;POINT (-40.310257 -2.794978)', '2026-07-24 06:09:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3103 -2.794957)'), GeomFromEWKT('SRID=4674;POINT (-40.310257 -2.794978)'))) / (select extract(epoch from '2026-07-24 06:09:47'::timestamp) - extract(epoch from '2026-07-24 06:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3103 -2.794957)'), GeomFromEWKT('SRID=4674;POINT (-40.310257 -2.794978)'))) / (select extract(epoch from '2026-07-24 06:09:47'::timestamp) - extract(epoch from '2026-07-24 06:09: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'), 47837, 'SRID=4674;POINT (-40.310211 -2.794969)', '2026-07-24 06:09:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310257 -2.794978)'), GeomFromEWKT('SRID=4674;POINT (-40.310211 -2.794969)'))) / (select extract(epoch from '2026-07-24 06:09:59'::timestamp) - extract(epoch from '2026-07-24 06:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310257 -2.794978)'), GeomFromEWKT('SRID=4674;POINT (-40.310211 -2.794969)'))) / (select extract(epoch from '2026-07-24 06:09:59'::timestamp) - extract(epoch from '2026-07-24 06:09:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.310209 -2.794942)', '2026-07-24 06:10:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310211 -2.794969)'), GeomFromEWKT('SRID=4674;POINT (-40.310209 -2.794942)'))) / (select extract(epoch from '2026-07-24 06:10:17'::timestamp) - extract(epoch from '2026-07-24 06:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310211 -2.794969)'), GeomFromEWKT('SRID=4674;POINT (-40.310209 -2.794942)'))) / (select extract(epoch from '2026-07-24 06:10:17'::timestamp) - extract(epoch from '2026-07-24 06:09: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'), 47837, 'SRID=4674;POINT (-40.310184 -2.794962)', '2026-07-24 06:10:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310209 -2.794942)'), GeomFromEWKT('SRID=4674;POINT (-40.310184 -2.794962)'))) / (select extract(epoch from '2026-07-24 06:10:27'::timestamp) - extract(epoch from '2026-07-24 06:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310209 -2.794942)'), GeomFromEWKT('SRID=4674;POINT (-40.310184 -2.794962)'))) / (select extract(epoch from '2026-07-24 06:10:27'::timestamp) - extract(epoch from '2026-07-24 06:10: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'), 47837, 'SRID=4674;POINT (-40.310122 -2.795002)', '2026-07-24 06:10:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310184 -2.794962)'), GeomFromEWKT('SRID=4674;POINT (-40.310122 -2.795002)'))) / (select extract(epoch from '2026-07-24 06:10:40'::timestamp) - extract(epoch from '2026-07-24 06:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310184 -2.794962)'), GeomFromEWKT('SRID=4674;POINT (-40.310122 -2.795002)'))) / (select extract(epoch from '2026-07-24 06:10:40'::timestamp) - extract(epoch from '2026-07-24 06:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.310072 -2.795015)', '2026-07-24 06:10:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310122 -2.795002)'), GeomFromEWKT('SRID=4674;POINT (-40.310072 -2.795015)'))) / (select extract(epoch from '2026-07-24 06:10:52'::timestamp) - extract(epoch from '2026-07-24 06:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310122 -2.795002)'), GeomFromEWKT('SRID=4674;POINT (-40.310072 -2.795015)'))) / (select extract(epoch from '2026-07-24 06:10:52'::timestamp) - extract(epoch from '2026-07-24 06:10:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.310071 -2.795024)', '2026-07-24 06:11:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310072 -2.795015)'), GeomFromEWKT('SRID=4674;POINT (-40.310071 -2.795024)'))) / (select extract(epoch from '2026-07-24 06:11:04'::timestamp) - extract(epoch from '2026-07-24 06:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310072 -2.795015)'), GeomFromEWKT('SRID=4674;POINT (-40.310071 -2.795024)'))) / (select extract(epoch from '2026-07-24 06:11:04'::timestamp) - extract(epoch from '2026-07-24 06:10: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'), 47837, 'SRID=4674;POINT (-40.310083 -2.795024)', '2026-07-24 06:11:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310071 -2.795024)'), GeomFromEWKT('SRID=4674;POINT (-40.310083 -2.795024)'))) / (select extract(epoch from '2026-07-24 06:11:12'::timestamp) - extract(epoch from '2026-07-24 06:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310071 -2.795024)'), GeomFromEWKT('SRID=4674;POINT (-40.310083 -2.795024)'))) / (select extract(epoch from '2026-07-24 06:11:12'::timestamp) - extract(epoch from '2026-07-24 06:11: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'), 47837, 'SRID=4674;POINT (-40.310096 -2.795035)', '2026-07-24 06:11:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310083 -2.795024)'), GeomFromEWKT('SRID=4674;POINT (-40.310096 -2.795035)'))) / (select extract(epoch from '2026-07-24 06:11:23'::timestamp) - extract(epoch from '2026-07-24 06:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310083 -2.795024)'), GeomFromEWKT('SRID=4674;POINT (-40.310096 -2.795035)'))) / (select extract(epoch from '2026-07-24 06:11:23'::timestamp) - extract(epoch from '2026-07-24 06:11: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'), 47837, 'SRID=4674;POINT (-40.310093 -2.79504)', '2026-07-24 06:11:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310096 -2.795035)'), GeomFromEWKT('SRID=4674;POINT (-40.310093 -2.79504)'))) / (select extract(epoch from '2026-07-24 06:11:42'::timestamp) - extract(epoch from '2026-07-24 06:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310096 -2.795035)'), GeomFromEWKT('SRID=4674;POINT (-40.310093 -2.79504)'))) / (select extract(epoch from '2026-07-24 06:11:42'::timestamp) - extract(epoch from '2026-07-24 06:11: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'), 47837, 'SRID=4674;POINT (-40.310107 -2.795041)', '2026-07-24 06:12:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310093 -2.79504)'), GeomFromEWKT('SRID=4674;POINT (-40.310107 -2.795041)'))) / (select extract(epoch from '2026-07-24 06:12:09'::timestamp) - extract(epoch from '2026-07-24 06:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310093 -2.79504)'), GeomFromEWKT('SRID=4674;POINT (-40.310107 -2.795041)'))) / (select extract(epoch from '2026-07-24 06:12:09'::timestamp) - extract(epoch from '2026-07-24 06:11: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'), 47837, 'SRID=4674;POINT (-40.310109 -2.795044)', '2026-07-24 06:12:31', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310107 -2.795041)'), GeomFromEWKT('SRID=4674;POINT (-40.310109 -2.795044)'))) / (select extract(epoch from '2026-07-24 06:12:31'::timestamp) - extract(epoch from '2026-07-24 06:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310107 -2.795041)'), GeomFromEWKT('SRID=4674;POINT (-40.310109 -2.795044)'))) / (select extract(epoch from '2026-07-24 06:12:31'::timestamp) - extract(epoch from '2026-07-24 06:12: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'), 47837, 'SRID=4674;POINT (-40.310105 -2.795042)', '2026-07-24 06:12:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310109 -2.795044)'), GeomFromEWKT('SRID=4674;POINT (-40.310105 -2.795042)'))) / (select extract(epoch from '2026-07-24 06:12:42'::timestamp) - extract(epoch from '2026-07-24 06:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310109 -2.795044)'), GeomFromEWKT('SRID=4674;POINT (-40.310105 -2.795042)'))) / (select extract(epoch from '2026-07-24 06:12:42'::timestamp) - extract(epoch from '2026-07-24 06:12: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'), 47837, 'SRID=4674;POINT (-40.310103 -2.795043)', '2026-07-24 06:13:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310105 -2.795042)'), GeomFromEWKT('SRID=4674;POINT (-40.310103 -2.795043)'))) / (select extract(epoch from '2026-07-24 06:13:00'::timestamp) - extract(epoch from '2026-07-24 06:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310105 -2.795042)'), GeomFromEWKT('SRID=4674;POINT (-40.310103 -2.795043)'))) / (select extract(epoch from '2026-07-24 06:13:00'::timestamp) - extract(epoch from '2026-07-24 06:12: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'), 47837, 'SRID=4674;POINT (-40.310094 -2.795069)', '2026-07-24 06:13:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310103 -2.795043)'), GeomFromEWKT('SRID=4674;POINT (-40.310094 -2.795069)'))) / (select extract(epoch from '2026-07-24 06:13:13'::timestamp) - extract(epoch from '2026-07-24 06:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310103 -2.795043)'), GeomFromEWKT('SRID=4674;POINT (-40.310094 -2.795069)'))) / (select extract(epoch from '2026-07-24 06:13:13'::timestamp) - extract(epoch from '2026-07-24 06:13: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'), 47837, 'SRID=4674;POINT (-40.310078 -2.795101)', '2026-07-24 06:13:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310094 -2.795069)'), GeomFromEWKT('SRID=4674;POINT (-40.310078 -2.795101)'))) / (select extract(epoch from '2026-07-24 06:13:26'::timestamp) - extract(epoch from '2026-07-24 06:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310094 -2.795069)'), GeomFromEWKT('SRID=4674;POINT (-40.310078 -2.795101)'))) / (select extract(epoch from '2026-07-24 06:13:26'::timestamp) - extract(epoch from '2026-07-24 06:13: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'), 47837, 'SRID=4674;POINT (-40.310102 -2.795086)', '2026-07-24 06:13:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310078 -2.795101)'), GeomFromEWKT('SRID=4674;POINT (-40.310102 -2.795086)'))) / (select extract(epoch from '2026-07-24 06:13:37'::timestamp) - extract(epoch from '2026-07-24 06:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310078 -2.795101)'), GeomFromEWKT('SRID=4674;POINT (-40.310102 -2.795086)'))) / (select extract(epoch from '2026-07-24 06:13:37'::timestamp) - extract(epoch from '2026-07-24 06:13: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'), 47837, 'SRID=4674;POINT (-40.310114 -2.79508)', '2026-07-24 06:13:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310102 -2.795086)'), GeomFromEWKT('SRID=4674;POINT (-40.310114 -2.79508)'))) / (select extract(epoch from '2026-07-24 06:13:48'::timestamp) - extract(epoch from '2026-07-24 06:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310102 -2.795086)'), GeomFromEWKT('SRID=4674;POINT (-40.310114 -2.79508)'))) / (select extract(epoch from '2026-07-24 06:13:48'::timestamp) - extract(epoch from '2026-07-24 06:13:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.310088 -2.795037)', '2026-07-24 06:14:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310114 -2.79508)'), GeomFromEWKT('SRID=4674;POINT (-40.310088 -2.795037)'))) / (select extract(epoch from '2026-07-24 06:14:01'::timestamp) - extract(epoch from '2026-07-24 06:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310114 -2.79508)'), GeomFromEWKT('SRID=4674;POINT (-40.310088 -2.795037)'))) / (select extract(epoch from '2026-07-24 06:14:01'::timestamp) - extract(epoch from '2026-07-24 06:13: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'), 47837, 'SRID=4674;POINT (-40.310086 -2.795031)', '2026-07-24 06:14:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310088 -2.795037)'), GeomFromEWKT('SRID=4674;POINT (-40.310086 -2.795031)'))) / (select extract(epoch from '2026-07-24 06:14:16'::timestamp) - extract(epoch from '2026-07-24 06:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310088 -2.795037)'), GeomFromEWKT('SRID=4674;POINT (-40.310086 -2.795031)'))) / (select extract(epoch from '2026-07-24 06:14:16'::timestamp) - extract(epoch from '2026-07-24 06:14:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.310093 -2.795043)', '2026-07-24 06:14:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310086 -2.795031)'), GeomFromEWKT('SRID=4674;POINT (-40.310093 -2.795043)'))) / (select extract(epoch from '2026-07-24 06:14:33'::timestamp) - extract(epoch from '2026-07-24 06:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310086 -2.795031)'), GeomFromEWKT('SRID=4674;POINT (-40.310093 -2.795043)'))) / (select extract(epoch from '2026-07-24 06:14:33'::timestamp) - extract(epoch from '2026-07-24 06:14: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'), 47837, 'SRID=4674;POINT (-40.310058 -2.795061)', '2026-07-24 06:14:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310093 -2.795043)'), GeomFromEWKT('SRID=4674;POINT (-40.310058 -2.795061)'))) / (select extract(epoch from '2026-07-24 06:14:46'::timestamp) - extract(epoch from '2026-07-24 06:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310093 -2.795043)'), GeomFromEWKT('SRID=4674;POINT (-40.310058 -2.795061)'))) / (select extract(epoch from '2026-07-24 06:14:46'::timestamp) - extract(epoch from '2026-07-24 06:14: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'), 47837, 'SRID=4674;POINT (-40.310047 -2.79507)', '2026-07-24 06:14:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310058 -2.795061)'), GeomFromEWKT('SRID=4674;POINT (-40.310047 -2.79507)'))) / (select extract(epoch from '2026-07-24 06:14:59'::timestamp) - extract(epoch from '2026-07-24 06:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310058 -2.795061)'), GeomFromEWKT('SRID=4674;POINT (-40.310047 -2.79507)'))) / (select extract(epoch from '2026-07-24 06:14:59'::timestamp) - extract(epoch from '2026-07-24 06:14: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'), 47837, 'SRID=4674;POINT (-40.310068 -2.79507)', '2026-07-24 06:15:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310047 -2.79507)'), GeomFromEWKT('SRID=4674;POINT (-40.310068 -2.79507)'))) / (select extract(epoch from '2026-07-24 06:15:15'::timestamp) - extract(epoch from '2026-07-24 06:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310047 -2.79507)'), GeomFromEWKT('SRID=4674;POINT (-40.310068 -2.79507)'))) / (select extract(epoch from '2026-07-24 06:15:15'::timestamp) - extract(epoch from '2026-07-24 06:14:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.310081 -2.795084)', '2026-07-24 06:15:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310068 -2.79507)'), GeomFromEWKT('SRID=4674;POINT (-40.310081 -2.795084)'))) / (select extract(epoch from '2026-07-24 06:15:32'::timestamp) - extract(epoch from '2026-07-24 06:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310068 -2.79507)'), GeomFromEWKT('SRID=4674;POINT (-40.310081 -2.795084)'))) / (select extract(epoch from '2026-07-24 06:15:32'::timestamp) - extract(epoch from '2026-07-24 06:15:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31009 -2.795072)', '2026-07-24 06:15:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310081 -2.795084)'), GeomFromEWKT('SRID=4674;POINT (-40.31009 -2.795072)'))) / (select extract(epoch from '2026-07-24 06:15:47'::timestamp) - extract(epoch from '2026-07-24 06:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310081 -2.795084)'), GeomFromEWKT('SRID=4674;POINT (-40.31009 -2.795072)'))) / (select extract(epoch from '2026-07-24 06:15:47'::timestamp) - extract(epoch from '2026-07-24 06:15: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'), 47837, 'SRID=4674;POINT (-40.310076 -2.795037)', '2026-07-24 06:16:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31009 -2.795072)'), GeomFromEWKT('SRID=4674;POINT (-40.310076 -2.795037)'))) / (select extract(epoch from '2026-07-24 06:16:05'::timestamp) - extract(epoch from '2026-07-24 06:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31009 -2.795072)'), GeomFromEWKT('SRID=4674;POINT (-40.310076 -2.795037)'))) / (select extract(epoch from '2026-07-24 06:16:05'::timestamp) - extract(epoch from '2026-07-24 06:15: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'), 47837, 'SRID=4674;POINT (-40.310071 -2.795018)', '2026-07-24 06:16:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310076 -2.795037)'), GeomFromEWKT('SRID=4674;POINT (-40.310071 -2.795018)'))) / (select extract(epoch from '2026-07-24 06:16:18'::timestamp) - extract(epoch from '2026-07-24 06:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310076 -2.795037)'), GeomFromEWKT('SRID=4674;POINT (-40.310071 -2.795018)'))) / (select extract(epoch from '2026-07-24 06:16:18'::timestamp) - extract(epoch from '2026-07-24 06:16: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'), 47837, 'SRID=4674;POINT (-40.310032 -2.795021)', '2026-07-24 06:16:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310071 -2.795018)'), GeomFromEWKT('SRID=4674;POINT (-40.310032 -2.795021)'))) / (select extract(epoch from '2026-07-24 06:16:31'::timestamp) - extract(epoch from '2026-07-24 06:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310071 -2.795018)'), GeomFromEWKT('SRID=4674;POINT (-40.310032 -2.795021)'))) / (select extract(epoch from '2026-07-24 06:16:31'::timestamp) - extract(epoch from '2026-07-24 06:16: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'), 47837, 'SRID=4674;POINT (-40.309967 -2.795039)', '2026-07-24 06:16:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310032 -2.795021)'), GeomFromEWKT('SRID=4674;POINT (-40.309967 -2.795039)'))) / (select extract(epoch from '2026-07-24 06:16:45'::timestamp) - extract(epoch from '2026-07-24 06:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310032 -2.795021)'), GeomFromEWKT('SRID=4674;POINT (-40.309967 -2.795039)'))) / (select extract(epoch from '2026-07-24 06:16:45'::timestamp) - extract(epoch from '2026-07-24 06:16:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.309947 -2.795036)', '2026-07-24 06:16:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309967 -2.795039)'), GeomFromEWKT('SRID=4674;POINT (-40.309947 -2.795036)'))) / (select extract(epoch from '2026-07-24 06:16:56'::timestamp) - extract(epoch from '2026-07-24 06:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309967 -2.795039)'), GeomFromEWKT('SRID=4674;POINT (-40.309947 -2.795036)'))) / (select extract(epoch from '2026-07-24 06:16:56'::timestamp) - extract(epoch from '2026-07-24 06:16:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.309906 -2.795031)', '2026-07-24 06:17:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309947 -2.795036)'), GeomFromEWKT('SRID=4674;POINT (-40.309906 -2.795031)'))) / (select extract(epoch from '2026-07-24 06:17:11'::timestamp) - extract(epoch from '2026-07-24 06:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309947 -2.795036)'), GeomFromEWKT('SRID=4674;POINT (-40.309906 -2.795031)'))) / (select extract(epoch from '2026-07-24 06:17:11'::timestamp) - extract(epoch from '2026-07-24 06:16: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'), 47837, 'SRID=4674;POINT (-40.309831 -2.795027)', '2026-07-24 06:17:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309906 -2.795031)'), GeomFromEWKT('SRID=4674;POINT (-40.309831 -2.795027)'))) / (select extract(epoch from '2026-07-24 06:17:24'::timestamp) - extract(epoch from '2026-07-24 06:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309906 -2.795031)'), GeomFromEWKT('SRID=4674;POINT (-40.309831 -2.795027)'))) / (select extract(epoch from '2026-07-24 06:17:24'::timestamp) - extract(epoch from '2026-07-24 06:17: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'), 47837, 'SRID=4674;POINT (-40.309777 -2.795025)', '2026-07-24 06:17:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309831 -2.795027)'), GeomFromEWKT('SRID=4674;POINT (-40.309777 -2.795025)'))) / (select extract(epoch from '2026-07-24 06:17:39'::timestamp) - extract(epoch from '2026-07-24 06:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309831 -2.795027)'), GeomFromEWKT('SRID=4674;POINT (-40.309777 -2.795025)'))) / (select extract(epoch from '2026-07-24 06:17:39'::timestamp) - extract(epoch from '2026-07-24 06:17: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'), 47837, 'SRID=4674;POINT (-40.309749 -2.795032)', '2026-07-24 06:17:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309777 -2.795025)'), GeomFromEWKT('SRID=4674;POINT (-40.309749 -2.795032)'))) / (select extract(epoch from '2026-07-24 06:17:55'::timestamp) - extract(epoch from '2026-07-24 06:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309777 -2.795025)'), GeomFromEWKT('SRID=4674;POINT (-40.309749 -2.795032)'))) / (select extract(epoch from '2026-07-24 06:17:55'::timestamp) - extract(epoch from '2026-07-24 06:17: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'), 47837, 'SRID=4674;POINT (-40.309694 -2.795038)', '2026-07-24 06:18:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309749 -2.795032)'), GeomFromEWKT('SRID=4674;POINT (-40.309694 -2.795038)'))) / (select extract(epoch from '2026-07-24 06:18:11'::timestamp) - extract(epoch from '2026-07-24 06:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309749 -2.795032)'), GeomFromEWKT('SRID=4674;POINT (-40.309694 -2.795038)'))) / (select extract(epoch from '2026-07-24 06:18:11'::timestamp) - extract(epoch from '2026-07-24 06:17: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'), 47837, 'SRID=4674;POINT (-40.309668 -2.795027)', '2026-07-24 06:18:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309694 -2.795038)'), GeomFromEWKT('SRID=4674;POINT (-40.309668 -2.795027)'))) / (select extract(epoch from '2026-07-24 06:18:32'::timestamp) - extract(epoch from '2026-07-24 06:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309694 -2.795038)'), GeomFromEWKT('SRID=4674;POINT (-40.309668 -2.795027)'))) / (select extract(epoch from '2026-07-24 06:18:32'::timestamp) - extract(epoch from '2026-07-24 06: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'), 47837, 'SRID=4674;POINT (-40.309606 -2.795051)', '2026-07-24 06:18:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309668 -2.795027)'), GeomFromEWKT('SRID=4674;POINT (-40.309606 -2.795051)'))) / (select extract(epoch from '2026-07-24 06:18:47'::timestamp) - extract(epoch from '2026-07-24 06:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309668 -2.795027)'), GeomFromEWKT('SRID=4674;POINT (-40.309606 -2.795051)'))) / (select extract(epoch from '2026-07-24 06:18:47'::timestamp) - extract(epoch from '2026-07-24 06:18: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'), 47837, 'SRID=4674;POINT (-40.30952 -2.795043)', '2026-07-24 06:19:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309606 -2.795051)'), GeomFromEWKT('SRID=4674;POINT (-40.30952 -2.795043)'))) / (select extract(epoch from '2026-07-24 06:19:02'::timestamp) - extract(epoch from '2026-07-24 06:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309606 -2.795051)'), GeomFromEWKT('SRID=4674;POINT (-40.30952 -2.795043)'))) / (select extract(epoch from '2026-07-24 06:19:02'::timestamp) - extract(epoch from '2026-07-24 06:18: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'), 47837, 'SRID=4674;POINT (-40.30946 -2.795044)', '2026-07-24 06:19:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30952 -2.795043)'), GeomFromEWKT('SRID=4674;POINT (-40.30946 -2.795044)'))) / (select extract(epoch from '2026-07-24 06:19:17'::timestamp) - extract(epoch from '2026-07-24 06:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30952 -2.795043)'), GeomFromEWKT('SRID=4674;POINT (-40.30946 -2.795044)'))) / (select extract(epoch from '2026-07-24 06:19:17'::timestamp) - extract(epoch from '2026-07-24 06: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'), 47837, 'SRID=4674;POINT (-40.30941 -2.795063)', '2026-07-24 06:19:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30946 -2.795044)'), GeomFromEWKT('SRID=4674;POINT (-40.30941 -2.795063)'))) / (select extract(epoch from '2026-07-24 06:19:31'::timestamp) - extract(epoch from '2026-07-24 06:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30946 -2.795044)'), GeomFromEWKT('SRID=4674;POINT (-40.30941 -2.795063)'))) / (select extract(epoch from '2026-07-24 06:19:31'::timestamp) - extract(epoch from '2026-07-24 06:19: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'), 47837, 'SRID=4674;POINT (-40.309347 -2.795069)', '2026-07-24 06:19:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30941 -2.795063)'), GeomFromEWKT('SRID=4674;POINT (-40.309347 -2.795069)'))) / (select extract(epoch from '2026-07-24 06:19:44'::timestamp) - extract(epoch from '2026-07-24 06:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30941 -2.795063)'), GeomFromEWKT('SRID=4674;POINT (-40.309347 -2.795069)'))) / (select extract(epoch from '2026-07-24 06:19:44'::timestamp) - extract(epoch from '2026-07-24 06:19: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'), 47837, 'SRID=4674;POINT (-40.309268 -2.795075)', '2026-07-24 06:20:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309347 -2.795069)'), GeomFromEWKT('SRID=4674;POINT (-40.309268 -2.795075)'))) / (select extract(epoch from '2026-07-24 06:20:02'::timestamp) - extract(epoch from '2026-07-24 06:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309347 -2.795069)'), GeomFromEWKT('SRID=4674;POINT (-40.309268 -2.795075)'))) / (select extract(epoch from '2026-07-24 06:20:02'::timestamp) - extract(epoch from '2026-07-24 06:19: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'), 47837, 'SRID=4674;POINT (-40.309204 -2.795087)', '2026-07-24 06:20:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309268 -2.795075)'), GeomFromEWKT('SRID=4674;POINT (-40.309204 -2.795087)'))) / (select extract(epoch from '2026-07-24 06:20:20'::timestamp) - extract(epoch from '2026-07-24 06:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309268 -2.795075)'), GeomFromEWKT('SRID=4674;POINT (-40.309204 -2.795087)'))) / (select extract(epoch from '2026-07-24 06:20:20'::timestamp) - extract(epoch from '2026-07-24 06:20: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'), 47837, 'SRID=4674;POINT (-40.309149 -2.795101)', '2026-07-24 06:20:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309204 -2.795087)'), GeomFromEWKT('SRID=4674;POINT (-40.309149 -2.795101)'))) / (select extract(epoch from '2026-07-24 06:20:34'::timestamp) - extract(epoch from '2026-07-24 06:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309204 -2.795087)'), GeomFromEWKT('SRID=4674;POINT (-40.309149 -2.795101)'))) / (select extract(epoch from '2026-07-24 06:20:34'::timestamp) - extract(epoch from '2026-07-24 06:20: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'), 47837, 'SRID=4674;POINT (-40.309093 -2.795109)', '2026-07-24 06:20:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309149 -2.795101)'), GeomFromEWKT('SRID=4674;POINT (-40.309093 -2.795109)'))) / (select extract(epoch from '2026-07-24 06:20:49'::timestamp) - extract(epoch from '2026-07-24 06:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309149 -2.795101)'), GeomFromEWKT('SRID=4674;POINT (-40.309093 -2.795109)'))) / (select extract(epoch from '2026-07-24 06:20:49'::timestamp) - extract(epoch from '2026-07-24 06:20: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'), 47837, 'SRID=4674;POINT (-40.309 -2.795106)', '2026-07-24 06:21:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309093 -2.795109)'), GeomFromEWKT('SRID=4674;POINT (-40.309 -2.795106)'))) / (select extract(epoch from '2026-07-24 06:21:07'::timestamp) - extract(epoch from '2026-07-24 06:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309093 -2.795109)'), GeomFromEWKT('SRID=4674;POINT (-40.309 -2.795106)'))) / (select extract(epoch from '2026-07-24 06:21:07'::timestamp) - extract(epoch from '2026-07-24 06:20: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'), 47837, 'SRID=4674;POINT (-40.308943 -2.795096)', '2026-07-24 06:21:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309 -2.795106)'), GeomFromEWKT('SRID=4674;POINT (-40.308943 -2.795096)'))) / (select extract(epoch from '2026-07-24 06:21:21'::timestamp) - extract(epoch from '2026-07-24 06:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309 -2.795106)'), GeomFromEWKT('SRID=4674;POINT (-40.308943 -2.795096)'))) / (select extract(epoch from '2026-07-24 06:21:21'::timestamp) - extract(epoch from '2026-07-24 06:21: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'), 47837, 'SRID=4674;POINT (-40.308898 -2.795099)', '2026-07-24 06:21:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308943 -2.795096)'), GeomFromEWKT('SRID=4674;POINT (-40.308898 -2.795099)'))) / (select extract(epoch from '2026-07-24 06:21:34'::timestamp) - extract(epoch from '2026-07-24 06:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308943 -2.795096)'), GeomFromEWKT('SRID=4674;POINT (-40.308898 -2.795099)'))) / (select extract(epoch from '2026-07-24 06:21:34'::timestamp) - extract(epoch from '2026-07-24 06:21:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.308862 -2.795104)', '2026-07-24 06:21:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308898 -2.795099)'), GeomFromEWKT('SRID=4674;POINT (-40.308862 -2.795104)'))) / (select extract(epoch from '2026-07-24 06:21:46'::timestamp) - extract(epoch from '2026-07-24 06:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308898 -2.795099)'), GeomFromEWKT('SRID=4674;POINT (-40.308862 -2.795104)'))) / (select extract(epoch from '2026-07-24 06:21:46'::timestamp) - extract(epoch from '2026-07-24 06:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.308793 -2.795092)', '2026-07-24 06:22:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308862 -2.795104)'), GeomFromEWKT('SRID=4674;POINT (-40.308793 -2.795092)'))) / (select extract(epoch from '2026-07-24 06:22:04'::timestamp) - extract(epoch from '2026-07-24 06:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308862 -2.795104)'), GeomFromEWKT('SRID=4674;POINT (-40.308793 -2.795092)'))) / (select extract(epoch from '2026-07-24 06:22:04'::timestamp) - extract(epoch from '2026-07-24 06: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'), 47837, 'SRID=4674;POINT (-40.308743 -2.795097)', '2026-07-24 06:22:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308793 -2.795092)'), GeomFromEWKT('SRID=4674;POINT (-40.308743 -2.795097)'))) / (select extract(epoch from '2026-07-24 06:22:22'::timestamp) - extract(epoch from '2026-07-24 06:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308793 -2.795092)'), GeomFromEWKT('SRID=4674;POINT (-40.308743 -2.795097)'))) / (select extract(epoch from '2026-07-24 06:22:22'::timestamp) - extract(epoch from '2026-07-24 06:22: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'), 47837, 'SRID=4674;POINT (-40.30867 -2.795101)', '2026-07-24 06:22:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308743 -2.795097)'), GeomFromEWKT('SRID=4674;POINT (-40.30867 -2.795101)'))) / (select extract(epoch from '2026-07-24 06:22:38'::timestamp) - extract(epoch from '2026-07-24 06:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308743 -2.795097)'), GeomFromEWKT('SRID=4674;POINT (-40.30867 -2.795101)'))) / (select extract(epoch from '2026-07-24 06:22:38'::timestamp) - extract(epoch from '2026-07-24 06:22: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'), 47837, 'SRID=4674;POINT (-40.308659 -2.795099)', '2026-07-24 06:22:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30867 -2.795101)'), GeomFromEWKT('SRID=4674;POINT (-40.308659 -2.795099)'))) / (select extract(epoch from '2026-07-24 06:22:54'::timestamp) - extract(epoch from '2026-07-24 06:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30867 -2.795101)'), GeomFromEWKT('SRID=4674;POINT (-40.308659 -2.795099)'))) / (select extract(epoch from '2026-07-24 06:22:54'::timestamp) - extract(epoch from '2026-07-24 06:22: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'), 47837, 'SRID=4674;POINT (-40.308688 -2.795092)', '2026-07-24 06:23:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308659 -2.795099)'), GeomFromEWKT('SRID=4674;POINT (-40.308688 -2.795092)'))) / (select extract(epoch from '2026-07-24 06:23:11'::timestamp) - extract(epoch from '2026-07-24 06:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308659 -2.795099)'), GeomFromEWKT('SRID=4674;POINT (-40.308688 -2.795092)'))) / (select extract(epoch from '2026-07-24 06:23:11'::timestamp) - extract(epoch from '2026-07-24 06:22:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.308696 -2.795092)', '2026-07-24 06:23:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308688 -2.795092)'), GeomFromEWKT('SRID=4674;POINT (-40.308696 -2.795092)'))) / (select extract(epoch from '2026-07-24 06:23:18'::timestamp) - extract(epoch from '2026-07-24 06:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308688 -2.795092)'), GeomFromEWKT('SRID=4674;POINT (-40.308696 -2.795092)'))) / (select extract(epoch from '2026-07-24 06:23:18'::timestamp) - extract(epoch from '2026-07-24 06: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'), 47837, 'SRID=4674;POINT (-40.308676 -2.795109)', '2026-07-24 06:23:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308696 -2.795092)'), GeomFromEWKT('SRID=4674;POINT (-40.308676 -2.795109)'))) / (select extract(epoch from '2026-07-24 06:23:31'::timestamp) - extract(epoch from '2026-07-24 06:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308696 -2.795092)'), GeomFromEWKT('SRID=4674;POINT (-40.308676 -2.795109)'))) / (select extract(epoch from '2026-07-24 06:23:31'::timestamp) - extract(epoch from '2026-07-24 06:23: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'), 47837, 'SRID=4674;POINT (-40.308622 -2.795121)', '2026-07-24 06:23:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308676 -2.795109)'), GeomFromEWKT('SRID=4674;POINT (-40.308622 -2.795121)'))) / (select extract(epoch from '2026-07-24 06:23:43'::timestamp) - extract(epoch from '2026-07-24 06:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308676 -2.795109)'), GeomFromEWKT('SRID=4674;POINT (-40.308622 -2.795121)'))) / (select extract(epoch from '2026-07-24 06:23:43'::timestamp) - extract(epoch from '2026-07-24 06:23: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'), 47837, 'SRID=4674;POINT (-40.308542 -2.795106)', '2026-07-24 06:23:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308622 -2.795121)'), GeomFromEWKT('SRID=4674;POINT (-40.308542 -2.795106)'))) / (select extract(epoch from '2026-07-24 06:23:59'::timestamp) - extract(epoch from '2026-07-24 06:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308622 -2.795121)'), GeomFromEWKT('SRID=4674;POINT (-40.308542 -2.795106)'))) / (select extract(epoch from '2026-07-24 06:23:59'::timestamp) - extract(epoch from '2026-07-24 06:23: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'), 47837, 'SRID=4674;POINT (-40.308482 -2.795122)', '2026-07-24 06:24:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308542 -2.795106)'), GeomFromEWKT('SRID=4674;POINT (-40.308482 -2.795122)'))) / (select extract(epoch from '2026-07-24 06:24:12'::timestamp) - extract(epoch from '2026-07-24 06:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308542 -2.795106)'), GeomFromEWKT('SRID=4674;POINT (-40.308482 -2.795122)'))) / (select extract(epoch from '2026-07-24 06:24:12'::timestamp) - extract(epoch from '2026-07-24 06:23:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.308417 -2.795128)', '2026-07-24 06:24:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308482 -2.795122)'), GeomFromEWKT('SRID=4674;POINT (-40.308417 -2.795128)'))) / (select extract(epoch from '2026-07-24 06:24:25'::timestamp) - extract(epoch from '2026-07-24 06:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308482 -2.795122)'), GeomFromEWKT('SRID=4674;POINT (-40.308417 -2.795128)'))) / (select extract(epoch from '2026-07-24 06:24:25'::timestamp) - extract(epoch from '2026-07-24 06:24: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'), 47837, 'SRID=4674;POINT (-40.308333 -2.795133)', '2026-07-24 06:24:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308417 -2.795128)'), GeomFromEWKT('SRID=4674;POINT (-40.308333 -2.795133)'))) / (select extract(epoch from '2026-07-24 06:24:42'::timestamp) - extract(epoch from '2026-07-24 06:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308417 -2.795128)'), GeomFromEWKT('SRID=4674;POINT (-40.308333 -2.795133)'))) / (select extract(epoch from '2026-07-24 06:24:42'::timestamp) - extract(epoch from '2026-07-24 06: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'), 47837, 'SRID=4674;POINT (-40.308263 -2.795131)', '2026-07-24 06:24:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308333 -2.795133)'), GeomFromEWKT('SRID=4674;POINT (-40.308263 -2.795131)'))) / (select extract(epoch from '2026-07-24 06:24:57'::timestamp) - extract(epoch from '2026-07-24 06:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308333 -2.795133)'), GeomFromEWKT('SRID=4674;POINT (-40.308263 -2.795131)'))) / (select extract(epoch from '2026-07-24 06:24:57'::timestamp) - extract(epoch from '2026-07-24 06:24: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'), 47837, 'SRID=4674;POINT (-40.308206 -2.79513)', '2026-07-24 06:25:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308263 -2.795131)'), GeomFromEWKT('SRID=4674;POINT (-40.308206 -2.79513)'))) / (select extract(epoch from '2026-07-24 06:25:13'::timestamp) - extract(epoch from '2026-07-24 06:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308263 -2.795131)'), GeomFromEWKT('SRID=4674;POINT (-40.308206 -2.79513)'))) / (select extract(epoch from '2026-07-24 06:25:13'::timestamp) - extract(epoch from '2026-07-24 06:24:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.308185 -2.795119)', '2026-07-24 06:25:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308206 -2.79513)'), GeomFromEWKT('SRID=4674;POINT (-40.308185 -2.795119)'))) / (select extract(epoch from '2026-07-24 06:25:28'::timestamp) - extract(epoch from '2026-07-24 06:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308206 -2.79513)'), GeomFromEWKT('SRID=4674;POINT (-40.308185 -2.795119)'))) / (select extract(epoch from '2026-07-24 06:25:28'::timestamp) - extract(epoch from '2026-07-24 06:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.308125 -2.795113)', '2026-07-24 06:25:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308185 -2.795119)'), GeomFromEWKT('SRID=4674;POINT (-40.308125 -2.795113)'))) / (select extract(epoch from '2026-07-24 06:25:43'::timestamp) - extract(epoch from '2026-07-24 06:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308185 -2.795119)'), GeomFromEWKT('SRID=4674;POINT (-40.308125 -2.795113)'))) / (select extract(epoch from '2026-07-24 06:25:43'::timestamp) - extract(epoch from '2026-07-24 06:25: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'), 47837, 'SRID=4674;POINT (-40.308059 -2.795103)', '2026-07-24 06:25:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308125 -2.795113)'), GeomFromEWKT('SRID=4674;POINT (-40.308059 -2.795103)'))) / (select extract(epoch from '2026-07-24 06:25:59'::timestamp) - extract(epoch from '2026-07-24 06:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308125 -2.795113)'), GeomFromEWKT('SRID=4674;POINT (-40.308059 -2.795103)'))) / (select extract(epoch from '2026-07-24 06:25:59'::timestamp) - extract(epoch from '2026-07-24 06:25:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.307979 -2.795085)', '2026-07-24 06:26:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308059 -2.795103)'), GeomFromEWKT('SRID=4674;POINT (-40.307979 -2.795085)'))) / (select extract(epoch from '2026-07-24 06:26:13'::timestamp) - extract(epoch from '2026-07-24 06:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308059 -2.795103)'), GeomFromEWKT('SRID=4674;POINT (-40.307979 -2.795085)'))) / (select extract(epoch from '2026-07-24 06:26:13'::timestamp) - extract(epoch from '2026-07-24 06:25:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
