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'), 48198, 'SRID=4674;POINT (-40.126688 -2.848091)', '2026-08-12 07:46:27', 2.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'), 48198, 'SRID=4674;POINT (-40.126707 -2.847929)', '2026-08-12 07:46:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126688 -2.848091)'), GeomFromEWKT('SRID=4674;POINT (-40.126707 -2.847929)'))) / (select extract(epoch from '2026-08-12 07:46:35'::timestamp) - extract(epoch from '2026-08-12 07:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126688 -2.848091)'), GeomFromEWKT('SRID=4674;POINT (-40.126707 -2.847929)'))) / (select extract(epoch from '2026-08-12 07:46:35'::timestamp) - extract(epoch from '2026-08-12 07:46: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'), 48198, 'SRID=4674;POINT (-40.126757 -2.84774)', '2026-08-12 07:46:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126707 -2.847929)'), GeomFromEWKT('SRID=4674;POINT (-40.126757 -2.84774)'))) / (select extract(epoch from '2026-08-12 07:46:44'::timestamp) - extract(epoch from '2026-08-12 07:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126707 -2.847929)'), GeomFromEWKT('SRID=4674;POINT (-40.126757 -2.84774)'))) / (select extract(epoch from '2026-08-12 07:46:44'::timestamp) - extract(epoch from '2026-08-12 07:46: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'), 48198, 'SRID=4674;POINT (-40.126839 -2.8475)', '2026-08-12 07:46:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126757 -2.84774)'), GeomFromEWKT('SRID=4674;POINT (-40.126839 -2.8475)'))) / (select extract(epoch from '2026-08-12 07:46:55'::timestamp) - extract(epoch from '2026-08-12 07:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126757 -2.84774)'), GeomFromEWKT('SRID=4674;POINT (-40.126839 -2.8475)'))) / (select extract(epoch from '2026-08-12 07:46:55'::timestamp) - extract(epoch from '2026-08-12 07: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'), 48198, 'SRID=4674;POINT (-40.126877 -2.847329)', '2026-08-12 07:47:03', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126839 -2.8475)'), GeomFromEWKT('SRID=4674;POINT (-40.126877 -2.847329)'))) / (select extract(epoch from '2026-08-12 07:47:03'::timestamp) - extract(epoch from '2026-08-12 07:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126839 -2.8475)'), GeomFromEWKT('SRID=4674;POINT (-40.126877 -2.847329)'))) / (select extract(epoch from '2026-08-12 07:47:03'::timestamp) - extract(epoch from '2026-08-12 07: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'), 48198, 'SRID=4674;POINT (-40.126933 -2.847099)', '2026-08-12 07:47:13', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126877 -2.847329)'), GeomFromEWKT('SRID=4674;POINT (-40.126933 -2.847099)'))) / (select extract(epoch from '2026-08-12 07:47:13'::timestamp) - extract(epoch from '2026-08-12 07:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126877 -2.847329)'), GeomFromEWKT('SRID=4674;POINT (-40.126933 -2.847099)'))) / (select extract(epoch from '2026-08-12 07:47:13'::timestamp) - extract(epoch from '2026-08-12 07:47: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'), 48198, 'SRID=4674;POINT (-40.127 -2.846823)', '2026-08-12 07:47:25', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126933 -2.847099)'), GeomFromEWKT('SRID=4674;POINT (-40.127 -2.846823)'))) / (select extract(epoch from '2026-08-12 07:47:25'::timestamp) - extract(epoch from '2026-08-12 07:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126933 -2.847099)'), GeomFromEWKT('SRID=4674;POINT (-40.127 -2.846823)'))) / (select extract(epoch from '2026-08-12 07:47:25'::timestamp) - extract(epoch from '2026-08-12 07:47: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'), 48198, 'SRID=4674;POINT (-40.127044 -2.846583)', '2026-08-12 07:47:36', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127 -2.846823)'), GeomFromEWKT('SRID=4674;POINT (-40.127044 -2.846583)'))) / (select extract(epoch from '2026-08-12 07:47:36'::timestamp) - extract(epoch from '2026-08-12 07:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127 -2.846823)'), GeomFromEWKT('SRID=4674;POINT (-40.127044 -2.846583)'))) / (select extract(epoch from '2026-08-12 07:47:36'::timestamp) - extract(epoch from '2026-08-12 07: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'), 48198, 'SRID=4674;POINT (-40.127096 -2.846296)', '2026-08-12 07:47:48', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127044 -2.846583)'), GeomFromEWKT('SRID=4674;POINT (-40.127096 -2.846296)'))) / (select extract(epoch from '2026-08-12 07:47:48'::timestamp) - extract(epoch from '2026-08-12 07:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127044 -2.846583)'), GeomFromEWKT('SRID=4674;POINT (-40.127096 -2.846296)'))) / (select extract(epoch from '2026-08-12 07:47:48'::timestamp) - extract(epoch from '2026-08-12 07:47: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'), 48198, 'SRID=4674;POINT (-40.127126 -2.846089)', '2026-08-12 07:47:57', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127096 -2.846296)'), GeomFromEWKT('SRID=4674;POINT (-40.127126 -2.846089)'))) / (select extract(epoch from '2026-08-12 07:47:57'::timestamp) - extract(epoch from '2026-08-12 07:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127096 -2.846296)'), GeomFromEWKT('SRID=4674;POINT (-40.127126 -2.846089)'))) / (select extract(epoch from '2026-08-12 07:47:57'::timestamp) - extract(epoch from '2026-08-12 07:47:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.127168 -2.845863)', '2026-08-12 07:48:08', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127126 -2.846089)'), GeomFromEWKT('SRID=4674;POINT (-40.127168 -2.845863)'))) / (select extract(epoch from '2026-08-12 07:48:08'::timestamp) - extract(epoch from '2026-08-12 07:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127126 -2.846089)'), GeomFromEWKT('SRID=4674;POINT (-40.127168 -2.845863)'))) / (select extract(epoch from '2026-08-12 07:48:08'::timestamp) - extract(epoch from '2026-08-12 07:47: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'), 48198, 'SRID=4674;POINT (-40.127238 -2.8457)', '2026-08-12 07:48:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127168 -2.845863)'), GeomFromEWKT('SRID=4674;POINT (-40.127238 -2.8457)'))) / (select extract(epoch from '2026-08-12 07:48:16'::timestamp) - extract(epoch from '2026-08-12 07:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127168 -2.845863)'), GeomFromEWKT('SRID=4674;POINT (-40.127238 -2.8457)'))) / (select extract(epoch from '2026-08-12 07:48:16'::timestamp) - extract(epoch from '2026-08-12 07:48:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.127344 -2.845497)', '2026-08-12 07:48:25', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127238 -2.8457)'), GeomFromEWKT('SRID=4674;POINT (-40.127344 -2.845497)'))) / (select extract(epoch from '2026-08-12 07:48:25'::timestamp) - extract(epoch from '2026-08-12 07:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127238 -2.8457)'), GeomFromEWKT('SRID=4674;POINT (-40.127344 -2.845497)'))) / (select extract(epoch from '2026-08-12 07:48:25'::timestamp) - extract(epoch from '2026-08-12 07:48: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'), 48198, 'SRID=4674;POINT (-40.127468 -2.845274)', '2026-08-12 07:48:35', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127344 -2.845497)'), GeomFromEWKT('SRID=4674;POINT (-40.127468 -2.845274)'))) / (select extract(epoch from '2026-08-12 07:48:35'::timestamp) - extract(epoch from '2026-08-12 07:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127344 -2.845497)'), GeomFromEWKT('SRID=4674;POINT (-40.127468 -2.845274)'))) / (select extract(epoch from '2026-08-12 07:48:35'::timestamp) - extract(epoch from '2026-08-12 07:48: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'), 48198, 'SRID=4674;POINT (-40.127634 -2.845036)', '2026-08-12 07:48:46', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127468 -2.845274)'), GeomFromEWKT('SRID=4674;POINT (-40.127634 -2.845036)'))) / (select extract(epoch from '2026-08-12 07:48:46'::timestamp) - extract(epoch from '2026-08-12 07:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127468 -2.845274)'), GeomFromEWKT('SRID=4674;POINT (-40.127634 -2.845036)'))) / (select extract(epoch from '2026-08-12 07:48:46'::timestamp) - extract(epoch from '2026-08-12 07:48:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.127841 -2.844777)', '2026-08-12 07:48:59', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127634 -2.845036)'), GeomFromEWKT('SRID=4674;POINT (-40.127841 -2.844777)'))) / (select extract(epoch from '2026-08-12 07:48:59'::timestamp) - extract(epoch from '2026-08-12 07:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127634 -2.845036)'), GeomFromEWKT('SRID=4674;POINT (-40.127841 -2.844777)'))) / (select extract(epoch from '2026-08-12 07:48:59'::timestamp) - extract(epoch from '2026-08-12 07:48: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'), 48198, 'SRID=4674;POINT (-40.127962 -2.844576)', '2026-08-12 07:49:08', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127841 -2.844777)'), GeomFromEWKT('SRID=4674;POINT (-40.127962 -2.844576)'))) / (select extract(epoch from '2026-08-12 07:49:08'::timestamp) - extract(epoch from '2026-08-12 07:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127841 -2.844777)'), GeomFromEWKT('SRID=4674;POINT (-40.127962 -2.844576)'))) / (select extract(epoch from '2026-08-12 07:49:08'::timestamp) - extract(epoch from '2026-08-12 07:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.128046 -2.844387)', '2026-08-12 07:49:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127962 -2.844576)'), GeomFromEWKT('SRID=4674;POINT (-40.128046 -2.844387)'))) / (select extract(epoch from '2026-08-12 07:49:16'::timestamp) - extract(epoch from '2026-08-12 07:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127962 -2.844576)'), GeomFromEWKT('SRID=4674;POINT (-40.128046 -2.844387)'))) / (select extract(epoch from '2026-08-12 07:49:16'::timestamp) - extract(epoch from '2026-08-12 07:49:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.128173 -2.844162)', '2026-08-12 07:49:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128046 -2.844387)'), GeomFromEWKT('SRID=4674;POINT (-40.128173 -2.844162)'))) / (select extract(epoch from '2026-08-12 07:49:26'::timestamp) - extract(epoch from '2026-08-12 07:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128046 -2.844387)'), GeomFromEWKT('SRID=4674;POINT (-40.128173 -2.844162)'))) / (select extract(epoch from '2026-08-12 07:49:26'::timestamp) - extract(epoch from '2026-08-12 07:49: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'), 48198, 'SRID=4674;POINT (-40.128279 -2.843977)', '2026-08-12 07:49:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128173 -2.844162)'), GeomFromEWKT('SRID=4674;POINT (-40.128279 -2.843977)'))) / (select extract(epoch from '2026-08-12 07:49:34'::timestamp) - extract(epoch from '2026-08-12 07:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128173 -2.844162)'), GeomFromEWKT('SRID=4674;POINT (-40.128279 -2.843977)'))) / (select extract(epoch from '2026-08-12 07:49:34'::timestamp) - extract(epoch from '2026-08-12 07:49: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'), 48198, 'SRID=4674;POINT (-40.128382 -2.843764)', '2026-08-12 07:49:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128279 -2.843977)'), GeomFromEWKT('SRID=4674;POINT (-40.128382 -2.843764)'))) / (select extract(epoch from '2026-08-12 07:49:43'::timestamp) - extract(epoch from '2026-08-12 07:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128279 -2.843977)'), GeomFromEWKT('SRID=4674;POINT (-40.128382 -2.843764)'))) / (select extract(epoch from '2026-08-12 07:49:43'::timestamp) - extract(epoch from '2026-08-12 07:49: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'), 48198, 'SRID=4674;POINT (-40.128491 -2.843547)', '2026-08-12 07:49:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128382 -2.843764)'), GeomFromEWKT('SRID=4674;POINT (-40.128491 -2.843547)'))) / (select extract(epoch from '2026-08-12 07:49:52'::timestamp) - extract(epoch from '2026-08-12 07:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128382 -2.843764)'), GeomFromEWKT('SRID=4674;POINT (-40.128491 -2.843547)'))) / (select extract(epoch from '2026-08-12 07:49:52'::timestamp) - extract(epoch from '2026-08-12 07:49:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.128566 -2.843384)', '2026-08-12 07:49:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128491 -2.843547)'), GeomFromEWKT('SRID=4674;POINT (-40.128566 -2.843384)'))) / (select extract(epoch from '2026-08-12 07:49:59'::timestamp) - extract(epoch from '2026-08-12 07:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128491 -2.843547)'), GeomFromEWKT('SRID=4674;POINT (-40.128566 -2.843384)'))) / (select extract(epoch from '2026-08-12 07:49:59'::timestamp) - extract(epoch from '2026-08-12 07:49: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'), 48198, 'SRID=4674;POINT (-40.128645 -2.843223)', '2026-08-12 07:50:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128566 -2.843384)'), GeomFromEWKT('SRID=4674;POINT (-40.128645 -2.843223)'))) / (select extract(epoch from '2026-08-12 07:50:06'::timestamp) - extract(epoch from '2026-08-12 07:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128566 -2.843384)'), GeomFromEWKT('SRID=4674;POINT (-40.128645 -2.843223)'))) / (select extract(epoch from '2026-08-12 07:50:06'::timestamp) - extract(epoch from '2026-08-12 07:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.128739 -2.843013)', '2026-08-12 07:50:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128645 -2.843223)'), GeomFromEWKT('SRID=4674;POINT (-40.128739 -2.843013)'))) / (select extract(epoch from '2026-08-12 07:50:15'::timestamp) - extract(epoch from '2026-08-12 07:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128645 -2.843223)'), GeomFromEWKT('SRID=4674;POINT (-40.128739 -2.843013)'))) / (select extract(epoch from '2026-08-12 07:50:15'::timestamp) - extract(epoch from '2026-08-12 07:50: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'), 48198, 'SRID=4674;POINT (-40.128827 -2.842834)', '2026-08-12 07:50:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128739 -2.843013)'), GeomFromEWKT('SRID=4674;POINT (-40.128827 -2.842834)'))) / (select extract(epoch from '2026-08-12 07:50:23'::timestamp) - extract(epoch from '2026-08-12 07:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128739 -2.843013)'), GeomFromEWKT('SRID=4674;POINT (-40.128827 -2.842834)'))) / (select extract(epoch from '2026-08-12 07:50:23'::timestamp) - extract(epoch from '2026-08-12 07:50: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'), 48198, 'SRID=4674;POINT (-40.128928 -2.842609)', '2026-08-12 07:50:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128827 -2.842834)'), GeomFromEWKT('SRID=4674;POINT (-40.128928 -2.842609)'))) / (select extract(epoch from '2026-08-12 07:50:32'::timestamp) - extract(epoch from '2026-08-12 07:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128827 -2.842834)'), GeomFromEWKT('SRID=4674;POINT (-40.128928 -2.842609)'))) / (select extract(epoch from '2026-08-12 07:50:32'::timestamp) - extract(epoch from '2026-08-12 07:50:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.129004 -2.842457)', '2026-08-12 07:50:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128928 -2.842609)'), GeomFromEWKT('SRID=4674;POINT (-40.129004 -2.842457)'))) / (select extract(epoch from '2026-08-12 07:50:39'::timestamp) - extract(epoch from '2026-08-12 07:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128928 -2.842609)'), GeomFromEWKT('SRID=4674;POINT (-40.129004 -2.842457)'))) / (select extract(epoch from '2026-08-12 07:50:39'::timestamp) - extract(epoch from '2026-08-12 07:50:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.129105 -2.842263)', '2026-08-12 07:50:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129004 -2.842457)'), GeomFromEWKT('SRID=4674;POINT (-40.129105 -2.842263)'))) / (select extract(epoch from '2026-08-12 07:50:48'::timestamp) - extract(epoch from '2026-08-12 07:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129004 -2.842457)'), GeomFromEWKT('SRID=4674;POINT (-40.129105 -2.842263)'))) / (select extract(epoch from '2026-08-12 07:50:48'::timestamp) - extract(epoch from '2026-08-12 07:50: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'), 48198, 'SRID=4674;POINT (-40.129164 -2.842047)', '2026-08-12 07:50:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129105 -2.842263)'), GeomFromEWKT('SRID=4674;POINT (-40.129164 -2.842047)'))) / (select extract(epoch from '2026-08-12 07:50:57'::timestamp) - extract(epoch from '2026-08-12 07:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129105 -2.842263)'), GeomFromEWKT('SRID=4674;POINT (-40.129164 -2.842047)'))) / (select extract(epoch from '2026-08-12 07:50:57'::timestamp) - extract(epoch from '2026-08-12 07:50:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.129245 -2.841842)', '2026-08-12 07:51:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129164 -2.842047)'), GeomFromEWKT('SRID=4674;POINT (-40.129245 -2.841842)'))) / (select extract(epoch from '2026-08-12 07:51:05'::timestamp) - extract(epoch from '2026-08-12 07:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129164 -2.842047)'), GeomFromEWKT('SRID=4674;POINT (-40.129245 -2.841842)'))) / (select extract(epoch from '2026-08-12 07:51:05'::timestamp) - extract(epoch from '2026-08-12 07:50:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.12939 -2.84161)', '2026-08-12 07:51:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129245 -2.841842)'), GeomFromEWKT('SRID=4674;POINT (-40.12939 -2.84161)'))) / (select extract(epoch from '2026-08-12 07:51:16'::timestamp) - extract(epoch from '2026-08-12 07:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129245 -2.841842)'), GeomFromEWKT('SRID=4674;POINT (-40.12939 -2.84161)'))) / (select extract(epoch from '2026-08-12 07:51:16'::timestamp) - extract(epoch from '2026-08-12 07:51:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.129549 -2.84137)', '2026-08-12 07:51:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12939 -2.84161)'), GeomFromEWKT('SRID=4674;POINT (-40.129549 -2.84137)'))) / (select extract(epoch from '2026-08-12 07:51:28'::timestamp) - extract(epoch from '2026-08-12 07:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12939 -2.84161)'), GeomFromEWKT('SRID=4674;POINT (-40.129549 -2.84137)'))) / (select extract(epoch from '2026-08-12 07:51:28'::timestamp) - extract(epoch from '2026-08-12 07:51:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.129673 -2.841155)', '2026-08-12 07:51:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129549 -2.84137)'), GeomFromEWKT('SRID=4674;POINT (-40.129673 -2.841155)'))) / (select extract(epoch from '2026-08-12 07:51:38'::timestamp) - extract(epoch from '2026-08-12 07:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129549 -2.84137)'), GeomFromEWKT('SRID=4674;POINT (-40.129673 -2.841155)'))) / (select extract(epoch from '2026-08-12 07:51:38'::timestamp) - extract(epoch from '2026-08-12 07:51:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.12979 -2.840938)', '2026-08-12 07:51:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129673 -2.841155)'), GeomFromEWKT('SRID=4674;POINT (-40.12979 -2.840938)'))) / (select extract(epoch from '2026-08-12 07:51:48'::timestamp) - extract(epoch from '2026-08-12 07:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129673 -2.841155)'), GeomFromEWKT('SRID=4674;POINT (-40.12979 -2.840938)'))) / (select extract(epoch from '2026-08-12 07:51:48'::timestamp) - extract(epoch from '2026-08-12 07:51: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'), 48198, 'SRID=4674;POINT (-40.129873 -2.840699)', '2026-08-12 07:51:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12979 -2.840938)'), GeomFromEWKT('SRID=4674;POINT (-40.129873 -2.840699)'))) / (select extract(epoch from '2026-08-12 07:51:59'::timestamp) - extract(epoch from '2026-08-12 07:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12979 -2.840938)'), GeomFromEWKT('SRID=4674;POINT (-40.129873 -2.840699)'))) / (select extract(epoch from '2026-08-12 07:51:59'::timestamp) - extract(epoch from '2026-08-12 07:51: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'), 48198, 'SRID=4674;POINT (-40.129929 -2.840459)', '2026-08-12 07:52:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129873 -2.840699)'), GeomFromEWKT('SRID=4674;POINT (-40.129929 -2.840459)'))) / (select extract(epoch from '2026-08-12 07:52:09'::timestamp) - extract(epoch from '2026-08-12 07:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129873 -2.840699)'), GeomFromEWKT('SRID=4674;POINT (-40.129929 -2.840459)'))) / (select extract(epoch from '2026-08-12 07:52:09'::timestamp) - extract(epoch from '2026-08-12 07:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.129969 -2.840253)', '2026-08-12 07:52:18', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129929 -2.840459)'), GeomFromEWKT('SRID=4674;POINT (-40.129969 -2.840253)'))) / (select extract(epoch from '2026-08-12 07:52:18'::timestamp) - extract(epoch from '2026-08-12 07:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129929 -2.840459)'), GeomFromEWKT('SRID=4674;POINT (-40.129969 -2.840253)'))) / (select extract(epoch from '2026-08-12 07:52:18'::timestamp) - extract(epoch from '2026-08-12 07:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.12999 -2.840033)', '2026-08-12 07:52:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129969 -2.840253)'), GeomFromEWKT('SRID=4674;POINT (-40.12999 -2.840033)'))) / (select extract(epoch from '2026-08-12 07:52:27'::timestamp) - extract(epoch from '2026-08-12 07:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129969 -2.840253)'), GeomFromEWKT('SRID=4674;POINT (-40.12999 -2.840033)'))) / (select extract(epoch from '2026-08-12 07:52:27'::timestamp) - extract(epoch from '2026-08-12 07:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.130003 -2.839807)', '2026-08-12 07:52:36', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12999 -2.840033)'), GeomFromEWKT('SRID=4674;POINT (-40.130003 -2.839807)'))) / (select extract(epoch from '2026-08-12 07:52:36'::timestamp) - extract(epoch from '2026-08-12 07:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12999 -2.840033)'), GeomFromEWKT('SRID=4674;POINT (-40.130003 -2.839807)'))) / (select extract(epoch from '2026-08-12 07:52:36'::timestamp) - extract(epoch from '2026-08-12 07:52: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'), 48198, 'SRID=4674;POINT (-40.130047 -2.839593)', '2026-08-12 07:52:45', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130003 -2.839807)'), GeomFromEWKT('SRID=4674;POINT (-40.130047 -2.839593)'))) / (select extract(epoch from '2026-08-12 07:52:45'::timestamp) - extract(epoch from '2026-08-12 07:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130003 -2.839807)'), GeomFromEWKT('SRID=4674;POINT (-40.130047 -2.839593)'))) / (select extract(epoch from '2026-08-12 07:52:45'::timestamp) - extract(epoch from '2026-08-12 07:52:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.13009 -2.839372)', '2026-08-12 07:52:54', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130047 -2.839593)'), GeomFromEWKT('SRID=4674;POINT (-40.13009 -2.839372)'))) / (select extract(epoch from '2026-08-12 07:52:54'::timestamp) - extract(epoch from '2026-08-12 07:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130047 -2.839593)'), GeomFromEWKT('SRID=4674;POINT (-40.13009 -2.839372)'))) / (select extract(epoch from '2026-08-12 07:52:54'::timestamp) - extract(epoch from '2026-08-12 07:52:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.130132 -2.839131)', '2026-08-12 07:53:04', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13009 -2.839372)'), GeomFromEWKT('SRID=4674;POINT (-40.130132 -2.839131)'))) / (select extract(epoch from '2026-08-12 07:53:04'::timestamp) - extract(epoch from '2026-08-12 07:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13009 -2.839372)'), GeomFromEWKT('SRID=4674;POINT (-40.130132 -2.839131)'))) / (select extract(epoch from '2026-08-12 07:53:04'::timestamp) - extract(epoch from '2026-08-12 07:52: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'), 48198, 'SRID=4674;POINT (-40.130168 -2.83892)', '2026-08-12 07:53:13', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130132 -2.839131)'), GeomFromEWKT('SRID=4674;POINT (-40.130168 -2.83892)'))) / (select extract(epoch from '2026-08-12 07:53:13'::timestamp) - extract(epoch from '2026-08-12 07:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130132 -2.839131)'), GeomFromEWKT('SRID=4674;POINT (-40.130168 -2.83892)'))) / (select extract(epoch from '2026-08-12 07:53:13'::timestamp) - extract(epoch from '2026-08-12 07:53:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.130208 -2.838677)', '2026-08-12 07:53:23', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130168 -2.83892)'), GeomFromEWKT('SRID=4674;POINT (-40.130208 -2.838677)'))) / (select extract(epoch from '2026-08-12 07:53:23'::timestamp) - extract(epoch from '2026-08-12 07:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130168 -2.83892)'), GeomFromEWKT('SRID=4674;POINT (-40.130208 -2.838677)'))) / (select extract(epoch from '2026-08-12 07:53:23'::timestamp) - extract(epoch from '2026-08-12 07:53: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'), 48198, 'SRID=4674;POINT (-40.130245 -2.838463)', '2026-08-12 07:53:32', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130208 -2.838677)'), GeomFromEWKT('SRID=4674;POINT (-40.130245 -2.838463)'))) / (select extract(epoch from '2026-08-12 07:53:32'::timestamp) - extract(epoch from '2026-08-12 07:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130208 -2.838677)'), GeomFromEWKT('SRID=4674;POINT (-40.130245 -2.838463)'))) / (select extract(epoch from '2026-08-12 07:53:32'::timestamp) - extract(epoch from '2026-08-12 07:53:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.130267 -2.838237)', '2026-08-12 07:53:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130245 -2.838463)'), GeomFromEWKT('SRID=4674;POINT (-40.130267 -2.838237)'))) / (select extract(epoch from '2026-08-12 07:53:41'::timestamp) - extract(epoch from '2026-08-12 07:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130245 -2.838463)'), GeomFromEWKT('SRID=4674;POINT (-40.130267 -2.838237)'))) / (select extract(epoch from '2026-08-12 07:53:41'::timestamp) - extract(epoch from '2026-08-12 07:53: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'), 48198, 'SRID=4674;POINT (-40.130286 -2.837932)', '2026-08-12 07:53:53', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130267 -2.838237)'), GeomFromEWKT('SRID=4674;POINT (-40.130286 -2.837932)'))) / (select extract(epoch from '2026-08-12 07:53:53'::timestamp) - extract(epoch from '2026-08-12 07:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130267 -2.838237)'), GeomFromEWKT('SRID=4674;POINT (-40.130286 -2.837932)'))) / (select extract(epoch from '2026-08-12 07:53:53'::timestamp) - extract(epoch from '2026-08-12 07:53:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.130292 -2.837694)', '2026-08-12 07:54:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130286 -2.837932)'), GeomFromEWKT('SRID=4674;POINT (-40.130292 -2.837694)'))) / (select extract(epoch from '2026-08-12 07:54:02'::timestamp) - extract(epoch from '2026-08-12 07:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130286 -2.837932)'), GeomFromEWKT('SRID=4674;POINT (-40.130292 -2.837694)'))) / (select extract(epoch from '2026-08-12 07:54:02'::timestamp) - extract(epoch from '2026-08-12 07:53:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.130315 -2.837421)', '2026-08-12 07:54:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130292 -2.837694)'), GeomFromEWKT('SRID=4674;POINT (-40.130315 -2.837421)'))) / (select extract(epoch from '2026-08-12 07:54:13'::timestamp) - extract(epoch from '2026-08-12 07:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130292 -2.837694)'), GeomFromEWKT('SRID=4674;POINT (-40.130315 -2.837421)'))) / (select extract(epoch from '2026-08-12 07:54:13'::timestamp) - extract(epoch from '2026-08-12 07:54: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'), 48198, 'SRID=4674;POINT (-40.130344 -2.837153)', '2026-08-12 07:54:24', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130315 -2.837421)'), GeomFromEWKT('SRID=4674;POINT (-40.130344 -2.837153)'))) / (select extract(epoch from '2026-08-12 07:54:24'::timestamp) - extract(epoch from '2026-08-12 07:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130315 -2.837421)'), GeomFromEWKT('SRID=4674;POINT (-40.130344 -2.837153)'))) / (select extract(epoch from '2026-08-12 07:54:24'::timestamp) - extract(epoch from '2026-08-12 07:54:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.130386 -2.836884)', '2026-08-12 07:54:35', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130344 -2.837153)'), GeomFromEWKT('SRID=4674;POINT (-40.130386 -2.836884)'))) / (select extract(epoch from '2026-08-12 07:54:35'::timestamp) - extract(epoch from '2026-08-12 07:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130344 -2.837153)'), GeomFromEWKT('SRID=4674;POINT (-40.130386 -2.836884)'))) / (select extract(epoch from '2026-08-12 07:54:35'::timestamp) - extract(epoch from '2026-08-12 07:54:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.130436 -2.83669)', '2026-08-12 07:54:43', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130386 -2.836884)'), GeomFromEWKT('SRID=4674;POINT (-40.130436 -2.83669)'))) / (select extract(epoch from '2026-08-12 07:54:43'::timestamp) - extract(epoch from '2026-08-12 07:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130386 -2.836884)'), GeomFromEWKT('SRID=4674;POINT (-40.130436 -2.83669)'))) / (select extract(epoch from '2026-08-12 07:54:43'::timestamp) - extract(epoch from '2026-08-12 07:54: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'), 48198, 'SRID=4674;POINT (-40.130496 -2.836377)', '2026-08-12 07:54:56', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130436 -2.83669)'), GeomFromEWKT('SRID=4674;POINT (-40.130496 -2.836377)'))) / (select extract(epoch from '2026-08-12 07:54:56'::timestamp) - extract(epoch from '2026-08-12 07:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130436 -2.83669)'), GeomFromEWKT('SRID=4674;POINT (-40.130496 -2.836377)'))) / (select extract(epoch from '2026-08-12 07:54:56'::timestamp) - extract(epoch from '2026-08-12 07:54: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'), 48198, 'SRID=4674;POINT (-40.130546 -2.836131)', '2026-08-12 07:55:06', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130496 -2.836377)'), GeomFromEWKT('SRID=4674;POINT (-40.130546 -2.836131)'))) / (select extract(epoch from '2026-08-12 07:55:06'::timestamp) - extract(epoch from '2026-08-12 07:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130496 -2.836377)'), GeomFromEWKT('SRID=4674;POINT (-40.130546 -2.836131)'))) / (select extract(epoch from '2026-08-12 07:55:06'::timestamp) - extract(epoch from '2026-08-12 07:54:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.130635 -2.835823)', '2026-08-12 07:55:19', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130546 -2.836131)'), GeomFromEWKT('SRID=4674;POINT (-40.130635 -2.835823)'))) / (select extract(epoch from '2026-08-12 07:55:19'::timestamp) - extract(epoch from '2026-08-12 07:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130546 -2.836131)'), GeomFromEWKT('SRID=4674;POINT (-40.130635 -2.835823)'))) / (select extract(epoch from '2026-08-12 07:55:19'::timestamp) - extract(epoch from '2026-08-12 07:55: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'), 48198, 'SRID=4674;POINT (-40.130702 -2.835602)', '2026-08-12 07:55:28', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130635 -2.835823)'), GeomFromEWKT('SRID=4674;POINT (-40.130702 -2.835602)'))) / (select extract(epoch from '2026-08-12 07:55:28'::timestamp) - extract(epoch from '2026-08-12 07:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130635 -2.835823)'), GeomFromEWKT('SRID=4674;POINT (-40.130702 -2.835602)'))) / (select extract(epoch from '2026-08-12 07:55:28'::timestamp) - extract(epoch from '2026-08-12 07:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.130735 -2.835447)', '2026-08-12 07:55:35', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130702 -2.835602)'), GeomFromEWKT('SRID=4674;POINT (-40.130735 -2.835447)'))) / (select extract(epoch from '2026-08-12 07:55:35'::timestamp) - extract(epoch from '2026-08-12 07:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130702 -2.835602)'), GeomFromEWKT('SRID=4674;POINT (-40.130735 -2.835447)'))) / (select extract(epoch from '2026-08-12 07:55:35'::timestamp) - extract(epoch from '2026-08-12 07:55: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'), 48198, 'SRID=4674;POINT (-40.130812 -2.835289)', '2026-08-12 07:55:42', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130735 -2.835447)'), GeomFromEWKT('SRID=4674;POINT (-40.130812 -2.835289)'))) / (select extract(epoch from '2026-08-12 07:55:42'::timestamp) - extract(epoch from '2026-08-12 07:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130735 -2.835447)'), GeomFromEWKT('SRID=4674;POINT (-40.130812 -2.835289)'))) / (select extract(epoch from '2026-08-12 07:55:42'::timestamp) - extract(epoch from '2026-08-12 07:55:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.130908 -2.835091)', '2026-08-12 07:55:51', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130812 -2.835289)'), GeomFromEWKT('SRID=4674;POINT (-40.130908 -2.835091)'))) / (select extract(epoch from '2026-08-12 07:55:51'::timestamp) - extract(epoch from '2026-08-12 07:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130812 -2.835289)'), GeomFromEWKT('SRID=4674;POINT (-40.130908 -2.835091)'))) / (select extract(epoch from '2026-08-12 07:55:51'::timestamp) - extract(epoch from '2026-08-12 07:55:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.13097 -2.834899)', '2026-08-12 07:55:59', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130908 -2.835091)'), GeomFromEWKT('SRID=4674;POINT (-40.13097 -2.834899)'))) / (select extract(epoch from '2026-08-12 07:55:59'::timestamp) - extract(epoch from '2026-08-12 07:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130908 -2.835091)'), GeomFromEWKT('SRID=4674;POINT (-40.13097 -2.834899)'))) / (select extract(epoch from '2026-08-12 07:55:59'::timestamp) - extract(epoch from '2026-08-12 07:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.131065 -2.834689)', '2026-08-12 07:56:08', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13097 -2.834899)'), GeomFromEWKT('SRID=4674;POINT (-40.131065 -2.834689)'))) / (select extract(epoch from '2026-08-12 07:56:08'::timestamp) - extract(epoch from '2026-08-12 07:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13097 -2.834899)'), GeomFromEWKT('SRID=4674;POINT (-40.131065 -2.834689)'))) / (select extract(epoch from '2026-08-12 07:56:08'::timestamp) - extract(epoch from '2026-08-12 07: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'), 48198, 'SRID=4674;POINT (-40.131152 -2.834484)', '2026-08-12 07:56:17', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131065 -2.834689)'), GeomFromEWKT('SRID=4674;POINT (-40.131152 -2.834484)'))) / (select extract(epoch from '2026-08-12 07:56:17'::timestamp) - extract(epoch from '2026-08-12 07:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131065 -2.834689)'), GeomFromEWKT('SRID=4674;POINT (-40.131152 -2.834484)'))) / (select extract(epoch from '2026-08-12 07:56:17'::timestamp) - extract(epoch from '2026-08-12 07:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.131251 -2.834263)', '2026-08-12 07:56:27', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131152 -2.834484)'), GeomFromEWKT('SRID=4674;POINT (-40.131251 -2.834263)'))) / (select extract(epoch from '2026-08-12 07:56:27'::timestamp) - extract(epoch from '2026-08-12 07:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131152 -2.834484)'), GeomFromEWKT('SRID=4674;POINT (-40.131251 -2.834263)'))) / (select extract(epoch from '2026-08-12 07:56:27'::timestamp) - extract(epoch from '2026-08-12 07:56:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.131305 -2.8341)', '2026-08-12 07:56:34', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131251 -2.834263)'), GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.8341)'))) / (select extract(epoch from '2026-08-12 07:56:34'::timestamp) - extract(epoch from '2026-08-12 07:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131251 -2.834263)'), GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.8341)'))) / (select extract(epoch from '2026-08-12 07:56:34'::timestamp) - extract(epoch from '2026-08-12 07:56: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'), 48198, 'SRID=4674;POINT (-40.131391 -2.833847)', '2026-08-12 07:56:45', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.8341)'), GeomFromEWKT('SRID=4674;POINT (-40.131391 -2.833847)'))) / (select extract(epoch from '2026-08-12 07:56:45'::timestamp) - extract(epoch from '2026-08-12 07:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.8341)'), GeomFromEWKT('SRID=4674;POINT (-40.131391 -2.833847)'))) / (select extract(epoch from '2026-08-12 07:56:45'::timestamp) - extract(epoch from '2026-08-12 07:56:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.131481 -2.833631)', '2026-08-12 07:56:54', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131391 -2.833847)'), GeomFromEWKT('SRID=4674;POINT (-40.131481 -2.833631)'))) / (select extract(epoch from '2026-08-12 07:56:54'::timestamp) - extract(epoch from '2026-08-12 07:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131391 -2.833847)'), GeomFromEWKT('SRID=4674;POINT (-40.131481 -2.833631)'))) / (select extract(epoch from '2026-08-12 07:56:54'::timestamp) - extract(epoch from '2026-08-12 07:56: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'), 48198, 'SRID=4674;POINT (-40.131564 -2.833425)', '2026-08-12 07:57:03', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131481 -2.833631)'), GeomFromEWKT('SRID=4674;POINT (-40.131564 -2.833425)'))) / (select extract(epoch from '2026-08-12 07:57:03'::timestamp) - extract(epoch from '2026-08-12 07:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131481 -2.833631)'), GeomFromEWKT('SRID=4674;POINT (-40.131564 -2.833425)'))) / (select extract(epoch from '2026-08-12 07:57:03'::timestamp) - extract(epoch from '2026-08-12 07:56: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'), 48198, 'SRID=4674;POINT (-40.131705 -2.833176)', '2026-08-12 07:57:14', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131564 -2.833425)'), GeomFromEWKT('SRID=4674;POINT (-40.131705 -2.833176)'))) / (select extract(epoch from '2026-08-12 07:57:14'::timestamp) - extract(epoch from '2026-08-12 07:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131564 -2.833425)'), GeomFromEWKT('SRID=4674;POINT (-40.131705 -2.833176)'))) / (select extract(epoch from '2026-08-12 07:57:14'::timestamp) - extract(epoch from '2026-08-12 07:57:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.131826 -2.83294)', '2026-08-12 07:57:24', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131705 -2.833176)'), GeomFromEWKT('SRID=4674;POINT (-40.131826 -2.83294)'))) / (select extract(epoch from '2026-08-12 07:57:24'::timestamp) - extract(epoch from '2026-08-12 07:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131705 -2.833176)'), GeomFromEWKT('SRID=4674;POINT (-40.131826 -2.83294)'))) / (select extract(epoch from '2026-08-12 07:57:24'::timestamp) - extract(epoch from '2026-08-12 07:57: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'), 48198, 'SRID=4674;POINT (-40.131928 -2.832714)', '2026-08-12 07:57:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131826 -2.83294)'), GeomFromEWKT('SRID=4674;POINT (-40.131928 -2.832714)'))) / (select extract(epoch from '2026-08-12 07:57:34'::timestamp) - extract(epoch from '2026-08-12 07:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131826 -2.83294)'), GeomFromEWKT('SRID=4674;POINT (-40.131928 -2.832714)'))) / (select extract(epoch from '2026-08-12 07:57:34'::timestamp) - extract(epoch from '2026-08-12 07:57: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'), 48198, 'SRID=4674;POINT (-40.132026 -2.832485)', '2026-08-12 07:57:44', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131928 -2.832714)'), GeomFromEWKT('SRID=4674;POINT (-40.132026 -2.832485)'))) / (select extract(epoch from '2026-08-12 07:57:44'::timestamp) - extract(epoch from '2026-08-12 07:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131928 -2.832714)'), GeomFromEWKT('SRID=4674;POINT (-40.132026 -2.832485)'))) / (select extract(epoch from '2026-08-12 07:57:44'::timestamp) - extract(epoch from '2026-08-12 07:57: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'), 48198, 'SRID=4674;POINT (-40.132124 -2.832252)', '2026-08-12 07:57:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132026 -2.832485)'), GeomFromEWKT('SRID=4674;POINT (-40.132124 -2.832252)'))) / (select extract(epoch from '2026-08-12 07:57:54'::timestamp) - extract(epoch from '2026-08-12 07:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132026 -2.832485)'), GeomFromEWKT('SRID=4674;POINT (-40.132124 -2.832252)'))) / (select extract(epoch from '2026-08-12 07:57:54'::timestamp) - extract(epoch from '2026-08-12 07:57: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'), 48198, 'SRID=4674;POINT (-40.132238 -2.832021)', '2026-08-12 07:58:04', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132124 -2.832252)'), GeomFromEWKT('SRID=4674;POINT (-40.132238 -2.832021)'))) / (select extract(epoch from '2026-08-12 07:58:04'::timestamp) - extract(epoch from '2026-08-12 07:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132124 -2.832252)'), GeomFromEWKT('SRID=4674;POINT (-40.132238 -2.832021)'))) / (select extract(epoch from '2026-08-12 07:58:04'::timestamp) - extract(epoch from '2026-08-12 07:57: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'), 48198, 'SRID=4674;POINT (-40.132369 -2.831742)', '2026-08-12 07:58:16', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132238 -2.832021)'), GeomFromEWKT('SRID=4674;POINT (-40.132369 -2.831742)'))) / (select extract(epoch from '2026-08-12 07:58:16'::timestamp) - extract(epoch from '2026-08-12 07:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132238 -2.832021)'), GeomFromEWKT('SRID=4674;POINT (-40.132369 -2.831742)'))) / (select extract(epoch from '2026-08-12 07:58:16'::timestamp) - extract(epoch from '2026-08-12 07:58:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.132476 -2.831486)', '2026-08-12 07:58:27', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132369 -2.831742)'), GeomFromEWKT('SRID=4674;POINT (-40.132476 -2.831486)'))) / (select extract(epoch from '2026-08-12 07:58:27'::timestamp) - extract(epoch from '2026-08-12 07:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132369 -2.831742)'), GeomFromEWKT('SRID=4674;POINT (-40.132476 -2.831486)'))) / (select extract(epoch from '2026-08-12 07:58:27'::timestamp) - extract(epoch from '2026-08-12 07:58:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.132588 -2.831257)', '2026-08-12 07:58:37', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132476 -2.831486)'), GeomFromEWKT('SRID=4674;POINT (-40.132588 -2.831257)'))) / (select extract(epoch from '2026-08-12 07:58:37'::timestamp) - extract(epoch from '2026-08-12 07:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132476 -2.831486)'), GeomFromEWKT('SRID=4674;POINT (-40.132588 -2.831257)'))) / (select extract(epoch from '2026-08-12 07:58:37'::timestamp) - extract(epoch from '2026-08-12 07: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'), 48198, 'SRID=4674;POINT (-40.132704 -2.830999)', '2026-08-12 07:58:48', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132588 -2.831257)'), GeomFromEWKT('SRID=4674;POINT (-40.132704 -2.830999)'))) / (select extract(epoch from '2026-08-12 07:58:48'::timestamp) - extract(epoch from '2026-08-12 07:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132588 -2.831257)'), GeomFromEWKT('SRID=4674;POINT (-40.132704 -2.830999)'))) / (select extract(epoch from '2026-08-12 07:58:48'::timestamp) - extract(epoch from '2026-08-12 07:58: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'), 48198, 'SRID=4674;POINT (-40.132799 -2.830798)', '2026-08-12 07:58:57', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132704 -2.830999)'), GeomFromEWKT('SRID=4674;POINT (-40.132799 -2.830798)'))) / (select extract(epoch from '2026-08-12 07:58:57'::timestamp) - extract(epoch from '2026-08-12 07:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132704 -2.830999)'), GeomFromEWKT('SRID=4674;POINT (-40.132799 -2.830798)'))) / (select extract(epoch from '2026-08-12 07:58:57'::timestamp) - extract(epoch from '2026-08-12 07:58: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'), 48198, 'SRID=4674;POINT (-40.132903 -2.83059)', '2026-08-12 07:59:07', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132799 -2.830798)'), GeomFromEWKT('SRID=4674;POINT (-40.132903 -2.83059)'))) / (select extract(epoch from '2026-08-12 07:59:07'::timestamp) - extract(epoch from '2026-08-12 07:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132799 -2.830798)'), GeomFromEWKT('SRID=4674;POINT (-40.132903 -2.83059)'))) / (select extract(epoch from '2026-08-12 07:59:07'::timestamp) - extract(epoch from '2026-08-12 07:58: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'), 48198, 'SRID=4674;POINT (-40.13301 -2.830389)', '2026-08-12 07:59:17', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132903 -2.83059)'), GeomFromEWKT('SRID=4674;POINT (-40.13301 -2.830389)'))) / (select extract(epoch from '2026-08-12 07:59:17'::timestamp) - extract(epoch from '2026-08-12 07:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132903 -2.83059)'), GeomFromEWKT('SRID=4674;POINT (-40.13301 -2.830389)'))) / (select extract(epoch from '2026-08-12 07:59:17'::timestamp) - extract(epoch from '2026-08-12 07:59: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'), 48198, 'SRID=4674;POINT (-40.133111 -2.830182)', '2026-08-12 07:59:26', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13301 -2.830389)'), GeomFromEWKT('SRID=4674;POINT (-40.133111 -2.830182)'))) / (select extract(epoch from '2026-08-12 07:59:26'::timestamp) - extract(epoch from '2026-08-12 07:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13301 -2.830389)'), GeomFromEWKT('SRID=4674;POINT (-40.133111 -2.830182)'))) / (select extract(epoch from '2026-08-12 07:59:26'::timestamp) - extract(epoch from '2026-08-12 07:59:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.133197 -2.829932)', '2026-08-12 07:59:37', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133111 -2.830182)'), GeomFromEWKT('SRID=4674;POINT (-40.133197 -2.829932)'))) / (select extract(epoch from '2026-08-12 07:59:37'::timestamp) - extract(epoch from '2026-08-12 07:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133111 -2.830182)'), GeomFromEWKT('SRID=4674;POINT (-40.133197 -2.829932)'))) / (select extract(epoch from '2026-08-12 07:59:37'::timestamp) - extract(epoch from '2026-08-12 07:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.133297 -2.829693)', '2026-08-12 07:59:48', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133197 -2.829932)'), GeomFromEWKT('SRID=4674;POINT (-40.133297 -2.829693)'))) / (select extract(epoch from '2026-08-12 07:59:48'::timestamp) - extract(epoch from '2026-08-12 07:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133197 -2.829932)'), GeomFromEWKT('SRID=4674;POINT (-40.133297 -2.829693)'))) / (select extract(epoch from '2026-08-12 07:59:48'::timestamp) - extract(epoch from '2026-08-12 07:59:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.133417 -2.82949)', '2026-08-12 07:59:58', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133297 -2.829693)'), GeomFromEWKT('SRID=4674;POINT (-40.133417 -2.82949)'))) / (select extract(epoch from '2026-08-12 07:59:58'::timestamp) - extract(epoch from '2026-08-12 07:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133297 -2.829693)'), GeomFromEWKT('SRID=4674;POINT (-40.133417 -2.82949)'))) / (select extract(epoch from '2026-08-12 07:59:58'::timestamp) - extract(epoch from '2026-08-12 07:59: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'), 48198, 'SRID=4674;POINT (-40.133518 -2.8293)', '2026-08-12 08:00:07', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133417 -2.82949)'), GeomFromEWKT('SRID=4674;POINT (-40.133518 -2.8293)'))) / (select extract(epoch from '2026-08-12 08:00:07'::timestamp) - extract(epoch from '2026-08-12 07:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133417 -2.82949)'), GeomFromEWKT('SRID=4674;POINT (-40.133518 -2.8293)'))) / (select extract(epoch from '2026-08-12 08:00:07'::timestamp) - extract(epoch from '2026-08-12 07:59:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.13363 -2.829099)', '2026-08-12 08:00:16', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133518 -2.8293)'), GeomFromEWKT('SRID=4674;POINT (-40.13363 -2.829099)'))) / (select extract(epoch from '2026-08-12 08:00:16'::timestamp) - extract(epoch from '2026-08-12 08:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133518 -2.8293)'), GeomFromEWKT('SRID=4674;POINT (-40.13363 -2.829099)'))) / (select extract(epoch from '2026-08-12 08:00:16'::timestamp) - extract(epoch from '2026-08-12 08:00: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'), 48198, 'SRID=4674;POINT (-40.133753 -2.828918)', '2026-08-12 08:00:25', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13363 -2.829099)'), GeomFromEWKT('SRID=4674;POINT (-40.133753 -2.828918)'))) / (select extract(epoch from '2026-08-12 08:00:25'::timestamp) - extract(epoch from '2026-08-12 08:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13363 -2.829099)'), GeomFromEWKT('SRID=4674;POINT (-40.133753 -2.828918)'))) / (select extract(epoch from '2026-08-12 08:00:25'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.133893 -2.828671)', '2026-08-12 08:00:36', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133753 -2.828918)'), GeomFromEWKT('SRID=4674;POINT (-40.133893 -2.828671)'))) / (select extract(epoch from '2026-08-12 08:00:36'::timestamp) - extract(epoch from '2026-08-12 08:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133753 -2.828918)'), GeomFromEWKT('SRID=4674;POINT (-40.133893 -2.828671)'))) / (select extract(epoch from '2026-08-12 08:00:36'::timestamp) - extract(epoch from '2026-08-12 08:00: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'), 48198, 'SRID=4674;POINT (-40.134015 -2.828429)', '2026-08-12 08:00:46', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133893 -2.828671)'), GeomFromEWKT('SRID=4674;POINT (-40.134015 -2.828429)'))) / (select extract(epoch from '2026-08-12 08:00:46'::timestamp) - extract(epoch from '2026-08-12 08:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133893 -2.828671)'), GeomFromEWKT('SRID=4674;POINT (-40.134015 -2.828429)'))) / (select extract(epoch from '2026-08-12 08:00:46'::timestamp) - extract(epoch from '2026-08-12 08:00: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'), 48198, 'SRID=4674;POINT (-40.134106 -2.828115)', '2026-08-12 08:00:58', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134015 -2.828429)'), GeomFromEWKT('SRID=4674;POINT (-40.134106 -2.828115)'))) / (select extract(epoch from '2026-08-12 08:00:58'::timestamp) - extract(epoch from '2026-08-12 08:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134015 -2.828429)'), GeomFromEWKT('SRID=4674;POINT (-40.134106 -2.828115)'))) / (select extract(epoch from '2026-08-12 08:00:58'::timestamp) - extract(epoch from '2026-08-12 08:00: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'), 48198, 'SRID=4674;POINT (-40.1342 -2.82786)', '2026-08-12 08:01:08', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134106 -2.828115)'), GeomFromEWKT('SRID=4674;POINT (-40.1342 -2.82786)'))) / (select extract(epoch from '2026-08-12 08:01:08'::timestamp) - extract(epoch from '2026-08-12 08:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134106 -2.828115)'), GeomFromEWKT('SRID=4674;POINT (-40.1342 -2.82786)'))) / (select extract(epoch from '2026-08-12 08:01:08'::timestamp) - extract(epoch from '2026-08-12 08:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.134335 -2.827621)', '2026-08-12 08:01:18', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1342 -2.82786)'), GeomFromEWKT('SRID=4674;POINT (-40.134335 -2.827621)'))) / (select extract(epoch from '2026-08-12 08:01:18'::timestamp) - extract(epoch from '2026-08-12 08:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1342 -2.82786)'), GeomFromEWKT('SRID=4674;POINT (-40.134335 -2.827621)'))) / (select extract(epoch from '2026-08-12 08:01:18'::timestamp) - extract(epoch from '2026-08-12 08:01: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'), 48198, 'SRID=4674;POINT (-40.134499 -2.827458)', '2026-08-12 08:01:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134335 -2.827621)'), GeomFromEWKT('SRID=4674;POINT (-40.134499 -2.827458)'))) / (select extract(epoch from '2026-08-12 08:01:26'::timestamp) - extract(epoch from '2026-08-12 08:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134335 -2.827621)'), GeomFromEWKT('SRID=4674;POINT (-40.134499 -2.827458)'))) / (select extract(epoch from '2026-08-12 08:01:26'::timestamp) - extract(epoch from '2026-08-12 08:01: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'), 48198, 'SRID=4674;POINT (-40.134778 -2.827236)', '2026-08-12 08:01:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134499 -2.827458)'), GeomFromEWKT('SRID=4674;POINT (-40.134778 -2.827236)'))) / (select extract(epoch from '2026-08-12 08:01:38'::timestamp) - extract(epoch from '2026-08-12 08:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134499 -2.827458)'), GeomFromEWKT('SRID=4674;POINT (-40.134778 -2.827236)'))) / (select extract(epoch from '2026-08-12 08:01:38'::timestamp) - extract(epoch from '2026-08-12 08:01: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'), 48198, 'SRID=4674;POINT (-40.135078 -2.827021)', '2026-08-12 08:01:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134778 -2.827236)'), GeomFromEWKT('SRID=4674;POINT (-40.135078 -2.827021)'))) / (select extract(epoch from '2026-08-12 08:01:50'::timestamp) - extract(epoch from '2026-08-12 08:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134778 -2.827236)'), GeomFromEWKT('SRID=4674;POINT (-40.135078 -2.827021)'))) / (select extract(epoch from '2026-08-12 08:01:50'::timestamp) - extract(epoch from '2026-08-12 08:01: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'), 48198, 'SRID=4674;POINT (-40.135275 -2.82697)', '2026-08-12 08:01:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135078 -2.827021)'), GeomFromEWKT('SRID=4674;POINT (-40.135275 -2.82697)'))) / (select extract(epoch from '2026-08-12 08:01:57'::timestamp) - extract(epoch from '2026-08-12 08:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135078 -2.827021)'), GeomFromEWKT('SRID=4674;POINT (-40.135275 -2.82697)'))) / (select extract(epoch from '2026-08-12 08:01:57'::timestamp) - extract(epoch from '2026-08-12 08:01: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'), 48198, 'SRID=4674;POINT (-40.135538 -2.82697)', '2026-08-12 08:02:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135275 -2.82697)'), GeomFromEWKT('SRID=4674;POINT (-40.135538 -2.82697)'))) / (select extract(epoch from '2026-08-12 08:02:06'::timestamp) - extract(epoch from '2026-08-12 08:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135275 -2.82697)'), GeomFromEWKT('SRID=4674;POINT (-40.135538 -2.82697)'))) / (select extract(epoch from '2026-08-12 08:02:06'::timestamp) - extract(epoch from '2026-08-12 08:01: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'), 48198, 'SRID=4674;POINT (-40.135858 -2.827041)', '2026-08-12 08:02:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135538 -2.82697)'), GeomFromEWKT('SRID=4674;POINT (-40.135858 -2.827041)'))) / (select extract(epoch from '2026-08-12 08:02:17'::timestamp) - extract(epoch from '2026-08-12 08:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135538 -2.82697)'), GeomFromEWKT('SRID=4674;POINT (-40.135858 -2.827041)'))) / (select extract(epoch from '2026-08-12 08:02:17'::timestamp) - extract(epoch from '2026-08-12 08:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.136111 -2.827109)', '2026-08-12 08:02:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135858 -2.827041)'), GeomFromEWKT('SRID=4674;POINT (-40.136111 -2.827109)'))) / (select extract(epoch from '2026-08-12 08:02:26'::timestamp) - extract(epoch from '2026-08-12 08:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135858 -2.827041)'), GeomFromEWKT('SRID=4674;POINT (-40.136111 -2.827109)'))) / (select extract(epoch from '2026-08-12 08:02:26'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.13642 -2.82718)', '2026-08-12 08:02:37', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136111 -2.827109)'), GeomFromEWKT('SRID=4674;POINT (-40.13642 -2.82718)'))) / (select extract(epoch from '2026-08-12 08:02:37'::timestamp) - extract(epoch from '2026-08-12 08:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136111 -2.827109)'), GeomFromEWKT('SRID=4674;POINT (-40.13642 -2.82718)'))) / (select extract(epoch from '2026-08-12 08:02:37'::timestamp) - extract(epoch from '2026-08-12 08:02: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'), 48198, 'SRID=4674;POINT (-40.136691 -2.827244)', '2026-08-12 08:02:47', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13642 -2.82718)'), GeomFromEWKT('SRID=4674;POINT (-40.136691 -2.827244)'))) / (select extract(epoch from '2026-08-12 08:02:47'::timestamp) - extract(epoch from '2026-08-12 08:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13642 -2.82718)'), GeomFromEWKT('SRID=4674;POINT (-40.136691 -2.827244)'))) / (select extract(epoch from '2026-08-12 08:02:47'::timestamp) - extract(epoch from '2026-08-12 08:02:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.136899 -2.827305)', '2026-08-12 08:02:56', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136691 -2.827244)'), GeomFromEWKT('SRID=4674;POINT (-40.136899 -2.827305)'))) / (select extract(epoch from '2026-08-12 08:02:56'::timestamp) - extract(epoch from '2026-08-12 08:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136691 -2.827244)'), GeomFromEWKT('SRID=4674;POINT (-40.136899 -2.827305)'))) / (select extract(epoch from '2026-08-12 08:02:56'::timestamp) - extract(epoch from '2026-08-12 08:02: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'), 48198, 'SRID=4674;POINT (-40.137093 -2.827408)', '2026-08-12 08:03:06', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136899 -2.827305)'), GeomFromEWKT('SRID=4674;POINT (-40.137093 -2.827408)'))) / (select extract(epoch from '2026-08-12 08:03:06'::timestamp) - extract(epoch from '2026-08-12 08:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136899 -2.827305)'), GeomFromEWKT('SRID=4674;POINT (-40.137093 -2.827408)'))) / (select extract(epoch from '2026-08-12 08:03:06'::timestamp) - extract(epoch from '2026-08-12 08:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.137271 -2.827469)', '2026-08-12 08:03:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137093 -2.827408)'), GeomFromEWKT('SRID=4674;POINT (-40.137271 -2.827469)'))) / (select extract(epoch from '2026-08-12 08:03:14'::timestamp) - extract(epoch from '2026-08-12 08:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137093 -2.827408)'), GeomFromEWKT('SRID=4674;POINT (-40.137271 -2.827469)'))) / (select extract(epoch from '2026-08-12 08:03:14'::timestamp) - extract(epoch from '2026-08-12 08:03: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'), 48198, 'SRID=4674;POINT (-40.137533 -2.827475)', '2026-08-12 08:03:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137271 -2.827469)'), GeomFromEWKT('SRID=4674;POINT (-40.137533 -2.827475)'))) / (select extract(epoch from '2026-08-12 08:03:25'::timestamp) - extract(epoch from '2026-08-12 08:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137271 -2.827469)'), GeomFromEWKT('SRID=4674;POINT (-40.137533 -2.827475)'))) / (select extract(epoch from '2026-08-12 08:03:25'::timestamp) - extract(epoch from '2026-08-12 08:03:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.137814 -2.827461)', '2026-08-12 08:03:37', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137533 -2.827475)'), GeomFromEWKT('SRID=4674;POINT (-40.137814 -2.827461)'))) / (select extract(epoch from '2026-08-12 08:03:37'::timestamp) - extract(epoch from '2026-08-12 08:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137533 -2.827475)'), GeomFromEWKT('SRID=4674;POINT (-40.137814 -2.827461)'))) / (select extract(epoch from '2026-08-12 08:03:37'::timestamp) - extract(epoch from '2026-08-12 08:03: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'), 48198, 'SRID=4674;POINT (-40.138136 -2.827434)', '2026-08-12 08:03:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137814 -2.827461)'), GeomFromEWKT('SRID=4674;POINT (-40.138136 -2.827434)'))) / (select extract(epoch from '2026-08-12 08:03:50'::timestamp) - extract(epoch from '2026-08-12 08:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137814 -2.827461)'), GeomFromEWKT('SRID=4674;POINT (-40.138136 -2.827434)'))) / (select extract(epoch from '2026-08-12 08:03:50'::timestamp) - extract(epoch from '2026-08-12 08:03:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.138564 -2.827395)', '2026-08-12 08:04:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138136 -2.827434)'), GeomFromEWKT('SRID=4674;POINT (-40.138564 -2.827395)'))) / (select extract(epoch from '2026-08-12 08:04:07'::timestamp) - extract(epoch from '2026-08-12 08:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138136 -2.827434)'), GeomFromEWKT('SRID=4674;POINT (-40.138564 -2.827395)'))) / (select extract(epoch from '2026-08-12 08:04:07'::timestamp) - extract(epoch from '2026-08-12 08:03:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.13892 -2.827326)', '2026-08-12 08:04:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138564 -2.827395)'), GeomFromEWKT('SRID=4674;POINT (-40.13892 -2.827326)'))) / (select extract(epoch from '2026-08-12 08:04:21'::timestamp) - extract(epoch from '2026-08-12 08:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138564 -2.827395)'), GeomFromEWKT('SRID=4674;POINT (-40.13892 -2.827326)'))) / (select extract(epoch from '2026-08-12 08:04:21'::timestamp) - extract(epoch from '2026-08-12 08:04:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.139246 -2.827198)', '2026-08-12 08:04:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13892 -2.827326)'), GeomFromEWKT('SRID=4674;POINT (-40.139246 -2.827198)'))) / (select extract(epoch from '2026-08-12 08:04:34'::timestamp) - extract(epoch from '2026-08-12 08:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13892 -2.827326)'), GeomFromEWKT('SRID=4674;POINT (-40.139246 -2.827198)'))) / (select extract(epoch from '2026-08-12 08:04:34'::timestamp) - extract(epoch from '2026-08-12 08:04: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'), 48198, 'SRID=4674;POINT (-40.139497 -2.82706)', '2026-08-12 08:04:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139246 -2.827198)'), GeomFromEWKT('SRID=4674;POINT (-40.139497 -2.82706)'))) / (select extract(epoch from '2026-08-12 08:04:45'::timestamp) - extract(epoch from '2026-08-12 08:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139246 -2.827198)'), GeomFromEWKT('SRID=4674;POINT (-40.139497 -2.82706)'))) / (select extract(epoch from '2026-08-12 08:04:45'::timestamp) - extract(epoch from '2026-08-12 08:04: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'), 48198, 'SRID=4674;POINT (-40.139666 -2.826904)', '2026-08-12 08:04:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139497 -2.82706)'), GeomFromEWKT('SRID=4674;POINT (-40.139666 -2.826904)'))) / (select extract(epoch from '2026-08-12 08:04:54'::timestamp) - extract(epoch from '2026-08-12 08:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139497 -2.82706)'), GeomFromEWKT('SRID=4674;POINT (-40.139666 -2.826904)'))) / (select extract(epoch from '2026-08-12 08:04:54'::timestamp) - extract(epoch from '2026-08-12 08:04: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'), 48198, 'SRID=4674;POINT (-40.139831 -2.826729)', '2026-08-12 08:05:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139666 -2.826904)'), GeomFromEWKT('SRID=4674;POINT (-40.139831 -2.826729)'))) / (select extract(epoch from '2026-08-12 08:05:04'::timestamp) - extract(epoch from '2026-08-12 08:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139666 -2.826904)'), GeomFromEWKT('SRID=4674;POINT (-40.139831 -2.826729)'))) / (select extract(epoch from '2026-08-12 08:05:04'::timestamp) - extract(epoch from '2026-08-12 08:04: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'), 48198, 'SRID=4674;POINT (-40.139976 -2.826522)', '2026-08-12 08:05:15', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139831 -2.826729)'), GeomFromEWKT('SRID=4674;POINT (-40.139976 -2.826522)'))) / (select extract(epoch from '2026-08-12 08:05:15'::timestamp) - extract(epoch from '2026-08-12 08:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139831 -2.826729)'), GeomFromEWKT('SRID=4674;POINT (-40.139976 -2.826522)'))) / (select extract(epoch from '2026-08-12 08:05:15'::timestamp) - extract(epoch from '2026-08-12 08:05: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'), 48198, 'SRID=4674;POINT (-40.140121 -2.826352)', '2026-08-12 08:05:25', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139976 -2.826522)'), GeomFromEWKT('SRID=4674;POINT (-40.140121 -2.826352)'))) / (select extract(epoch from '2026-08-12 08:05:25'::timestamp) - extract(epoch from '2026-08-12 08:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139976 -2.826522)'), GeomFromEWKT('SRID=4674;POINT (-40.140121 -2.826352)'))) / (select extract(epoch from '2026-08-12 08:05:25'::timestamp) - extract(epoch from '2026-08-12 08:05: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'), 48198, 'SRID=4674;POINT (-40.140324 -2.826193)', '2026-08-12 08:05:37', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140121 -2.826352)'), GeomFromEWKT('SRID=4674;POINT (-40.140324 -2.826193)'))) / (select extract(epoch from '2026-08-12 08:05:37'::timestamp) - extract(epoch from '2026-08-12 08:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140121 -2.826352)'), GeomFromEWKT('SRID=4674;POINT (-40.140324 -2.826193)'))) / (select extract(epoch from '2026-08-12 08:05:37'::timestamp) - extract(epoch from '2026-08-12 08:05:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.14047 -2.826061)', '2026-08-12 08:05:47', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140324 -2.826193)'), GeomFromEWKT('SRID=4674;POINT (-40.14047 -2.826061)'))) / (select extract(epoch from '2026-08-12 08:05:47'::timestamp) - extract(epoch from '2026-08-12 08:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140324 -2.826193)'), GeomFromEWKT('SRID=4674;POINT (-40.14047 -2.826061)'))) / (select extract(epoch from '2026-08-12 08:05:47'::timestamp) - extract(epoch from '2026-08-12 08:05: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'), 48198, 'SRID=4674;POINT (-40.140593 -2.825865)', '2026-08-12 08:05:58', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14047 -2.826061)'), GeomFromEWKT('SRID=4674;POINT (-40.140593 -2.825865)'))) / (select extract(epoch from '2026-08-12 08:05:58'::timestamp) - extract(epoch from '2026-08-12 08:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14047 -2.826061)'), GeomFromEWKT('SRID=4674;POINT (-40.140593 -2.825865)'))) / (select extract(epoch from '2026-08-12 08:05:58'::timestamp) - extract(epoch from '2026-08-12 08:05:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.140699 -2.825627)', '2026-08-12 08:06:10', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140593 -2.825865)'), GeomFromEWKT('SRID=4674;POINT (-40.140699 -2.825627)'))) / (select extract(epoch from '2026-08-12 08:06:10'::timestamp) - extract(epoch from '2026-08-12 08:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140593 -2.825865)'), GeomFromEWKT('SRID=4674;POINT (-40.140699 -2.825627)'))) / (select extract(epoch from '2026-08-12 08:06:10'::timestamp) - extract(epoch from '2026-08-12 08:05:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.140766 -2.825406)', '2026-08-12 08:06:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140699 -2.825627)'), GeomFromEWKT('SRID=4674;POINT (-40.140766 -2.825406)'))) / (select extract(epoch from '2026-08-12 08:06:21'::timestamp) - extract(epoch from '2026-08-12 08:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140699 -2.825627)'), GeomFromEWKT('SRID=4674;POINT (-40.140766 -2.825406)'))) / (select extract(epoch from '2026-08-12 08:06:21'::timestamp) - extract(epoch from '2026-08-12 08:06:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.140802 -2.825126)', '2026-08-12 08:06:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140766 -2.825406)'), GeomFromEWKT('SRID=4674;POINT (-40.140802 -2.825126)'))) / (select extract(epoch from '2026-08-12 08:06:33'::timestamp) - extract(epoch from '2026-08-12 08:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140766 -2.825406)'), GeomFromEWKT('SRID=4674;POINT (-40.140802 -2.825126)'))) / (select extract(epoch from '2026-08-12 08:06:33'::timestamp) - extract(epoch from '2026-08-12 08:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.140813 -2.8249)', '2026-08-12 08:06:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140802 -2.825126)'), GeomFromEWKT('SRID=4674;POINT (-40.140813 -2.8249)'))) / (select extract(epoch from '2026-08-12 08:06:43'::timestamp) - extract(epoch from '2026-08-12 08:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140802 -2.825126)'), GeomFromEWKT('SRID=4674;POINT (-40.140813 -2.8249)'))) / (select extract(epoch from '2026-08-12 08:06:43'::timestamp) - extract(epoch from '2026-08-12 08:06:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.14086 -2.824702)', '2026-08-12 08:06:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140813 -2.8249)'), GeomFromEWKT('SRID=4674;POINT (-40.14086 -2.824702)'))) / (select extract(epoch from '2026-08-12 08:06:53'::timestamp) - extract(epoch from '2026-08-12 08:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140813 -2.8249)'), GeomFromEWKT('SRID=4674;POINT (-40.14086 -2.824702)'))) / (select extract(epoch from '2026-08-12 08:06:53'::timestamp) - extract(epoch from '2026-08-12 08:06:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.140945 -2.8245)', '2026-08-12 08:07:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14086 -2.824702)'), GeomFromEWKT('SRID=4674;POINT (-40.140945 -2.8245)'))) / (select extract(epoch from '2026-08-12 08:07:03'::timestamp) - extract(epoch from '2026-08-12 08:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14086 -2.824702)'), GeomFromEWKT('SRID=4674;POINT (-40.140945 -2.8245)'))) / (select extract(epoch from '2026-08-12 08:07:03'::timestamp) - extract(epoch from '2026-08-12 08:06: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'), 48198, 'SRID=4674;POINT (-40.140967 -2.824323)', '2026-08-12 08:07:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140945 -2.8245)'), GeomFromEWKT('SRID=4674;POINT (-40.140967 -2.824323)'))) / (select extract(epoch from '2026-08-12 08:07:11'::timestamp) - extract(epoch from '2026-08-12 08:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140945 -2.8245)'), GeomFromEWKT('SRID=4674;POINT (-40.140967 -2.824323)'))) / (select extract(epoch from '2026-08-12 08:07:11'::timestamp) - extract(epoch from '2026-08-12 08:07: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'), 48198, 'SRID=4674;POINT (-40.140921 -2.824093)', '2026-08-12 08:07:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140967 -2.824323)'), GeomFromEWKT('SRID=4674;POINT (-40.140921 -2.824093)'))) / (select extract(epoch from '2026-08-12 08:07:21'::timestamp) - extract(epoch from '2026-08-12 08:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140967 -2.824323)'), GeomFromEWKT('SRID=4674;POINT (-40.140921 -2.824093)'))) / (select extract(epoch from '2026-08-12 08:07:21'::timestamp) - extract(epoch from '2026-08-12 08:07:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.140845 -2.823806)', '2026-08-12 08:07:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140921 -2.824093)'), GeomFromEWKT('SRID=4674;POINT (-40.140845 -2.823806)'))) / (select extract(epoch from '2026-08-12 08:07:33'::timestamp) - extract(epoch from '2026-08-12 08:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140921 -2.824093)'), GeomFromEWKT('SRID=4674;POINT (-40.140845 -2.823806)'))) / (select extract(epoch from '2026-08-12 08:07:33'::timestamp) - extract(epoch from '2026-08-12 08:07: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'), 48198, 'SRID=4674;POINT (-40.140786 -2.823521)', '2026-08-12 08:07:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140845 -2.823806)'), GeomFromEWKT('SRID=4674;POINT (-40.140786 -2.823521)'))) / (select extract(epoch from '2026-08-12 08:07:45'::timestamp) - extract(epoch from '2026-08-12 08:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140845 -2.823806)'), GeomFromEWKT('SRID=4674;POINT (-40.140786 -2.823521)'))) / (select extract(epoch from '2026-08-12 08:07:45'::timestamp) - extract(epoch from '2026-08-12 08:07: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'), 48198, 'SRID=4674;POINT (-40.14069 -2.823249)', '2026-08-12 08:07:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140786 -2.823521)'), GeomFromEWKT('SRID=4674;POINT (-40.14069 -2.823249)'))) / (select extract(epoch from '2026-08-12 08:07:57'::timestamp) - extract(epoch from '2026-08-12 08:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140786 -2.823521)'), GeomFromEWKT('SRID=4674;POINT (-40.14069 -2.823249)'))) / (select extract(epoch from '2026-08-12 08:07:57'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.14059 -2.823008)', '2026-08-12 08:08:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14069 -2.823249)'), GeomFromEWKT('SRID=4674;POINT (-40.14059 -2.823008)'))) / (select extract(epoch from '2026-08-12 08:08:09'::timestamp) - extract(epoch from '2026-08-12 08:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14069 -2.823249)'), GeomFromEWKT('SRID=4674;POINT (-40.14059 -2.823008)'))) / (select extract(epoch from '2026-08-12 08:08:09'::timestamp) - extract(epoch from '2026-08-12 08:07:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.140434 -2.822723)', '2026-08-12 08:08:23', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14059 -2.823008)'), GeomFromEWKT('SRID=4674;POINT (-40.140434 -2.822723)'))) / (select extract(epoch from '2026-08-12 08:08:23'::timestamp) - extract(epoch from '2026-08-12 08:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14059 -2.823008)'), GeomFromEWKT('SRID=4674;POINT (-40.140434 -2.822723)'))) / (select extract(epoch from '2026-08-12 08:08:23'::timestamp) - extract(epoch from '2026-08-12 08:08: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'), 48198, 'SRID=4674;POINT (-40.140245 -2.822431)', '2026-08-12 08:08:37', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140434 -2.822723)'), GeomFromEWKT('SRID=4674;POINT (-40.140245 -2.822431)'))) / (select extract(epoch from '2026-08-12 08:08:37'::timestamp) - extract(epoch from '2026-08-12 08:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140434 -2.822723)'), GeomFromEWKT('SRID=4674;POINT (-40.140245 -2.822431)'))) / (select extract(epoch from '2026-08-12 08:08:37'::timestamp) - extract(epoch from '2026-08-12 08:08: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'), 48198, 'SRID=4674;POINT (-40.140024 -2.82213)', '2026-08-12 08:08:51', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140245 -2.822431)'), GeomFromEWKT('SRID=4674;POINT (-40.140024 -2.82213)'))) / (select extract(epoch from '2026-08-12 08:08:51'::timestamp) - extract(epoch from '2026-08-12 08:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140245 -2.822431)'), GeomFromEWKT('SRID=4674;POINT (-40.140024 -2.82213)'))) / (select extract(epoch from '2026-08-12 08:08:51'::timestamp) - extract(epoch from '2026-08-12 08:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.139836 -2.821934)', '2026-08-12 08:09:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140024 -2.82213)'), GeomFromEWKT('SRID=4674;POINT (-40.139836 -2.821934)'))) / (select extract(epoch from '2026-08-12 08:09:01'::timestamp) - extract(epoch from '2026-08-12 08:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140024 -2.82213)'), GeomFromEWKT('SRID=4674;POINT (-40.139836 -2.821934)'))) / (select extract(epoch from '2026-08-12 08:09:01'::timestamp) - extract(epoch from '2026-08-12 08:08: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'), 48198, 'SRID=4674;POINT (-40.139584 -2.821656)', '2026-08-12 08:09:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139836 -2.821934)'), GeomFromEWKT('SRID=4674;POINT (-40.139584 -2.821656)'))) / (select extract(epoch from '2026-08-12 08:09:15'::timestamp) - extract(epoch from '2026-08-12 08:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139836 -2.821934)'), GeomFromEWKT('SRID=4674;POINT (-40.139584 -2.821656)'))) / (select extract(epoch from '2026-08-12 08:09:15'::timestamp) - extract(epoch from '2026-08-12 08:09:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.139335 -2.821374)', '2026-08-12 08:09:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139584 -2.821656)'), GeomFromEWKT('SRID=4674;POINT (-40.139335 -2.821374)'))) / (select extract(epoch from '2026-08-12 08:09:29'::timestamp) - extract(epoch from '2026-08-12 08:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139584 -2.821656)'), GeomFromEWKT('SRID=4674;POINT (-40.139335 -2.821374)'))) / (select extract(epoch from '2026-08-12 08:09:29'::timestamp) - extract(epoch from '2026-08-12 08:09:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.13912 -2.821179)', '2026-08-12 08:09:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139335 -2.821374)'), GeomFromEWKT('SRID=4674;POINT (-40.13912 -2.821179)'))) / (select extract(epoch from '2026-08-12 08:09:40'::timestamp) - extract(epoch from '2026-08-12 08:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139335 -2.821374)'), GeomFromEWKT('SRID=4674;POINT (-40.13912 -2.821179)'))) / (select extract(epoch from '2026-08-12 08:09:40'::timestamp) - extract(epoch from '2026-08-12 08:09: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'), 48198, 'SRID=4674;POINT (-40.138885 -2.82096)', '2026-08-12 08:09:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13912 -2.821179)'), GeomFromEWKT('SRID=4674;POINT (-40.138885 -2.82096)'))) / (select extract(epoch from '2026-08-12 08:09:53'::timestamp) - extract(epoch from '2026-08-12 08:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13912 -2.821179)'), GeomFromEWKT('SRID=4674;POINT (-40.138885 -2.82096)'))) / (select extract(epoch from '2026-08-12 08:09:53'::timestamp) - extract(epoch from '2026-08-12 08:09: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'), 48198, 'SRID=4674;POINT (-40.138764 -2.820805)', '2026-08-12 08:10:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138885 -2.82096)'), GeomFromEWKT('SRID=4674;POINT (-40.138764 -2.820805)'))) / (select extract(epoch from '2026-08-12 08:10:02'::timestamp) - extract(epoch from '2026-08-12 08:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138885 -2.82096)'), GeomFromEWKT('SRID=4674;POINT (-40.138764 -2.820805)'))) / (select extract(epoch from '2026-08-12 08:10:02'::timestamp) - extract(epoch from '2026-08-12 08:09: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'), 48198, 'SRID=4674;POINT (-40.138659 -2.820682)', '2026-08-12 08:10:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138764 -2.820805)'), GeomFromEWKT('SRID=4674;POINT (-40.138659 -2.820682)'))) / (select extract(epoch from '2026-08-12 08:10:10'::timestamp) - extract(epoch from '2026-08-12 08:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138764 -2.820805)'), GeomFromEWKT('SRID=4674;POINT (-40.138659 -2.820682)'))) / (select extract(epoch from '2026-08-12 08:10:10'::timestamp) - extract(epoch from '2026-08-12 08:10: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'), 48198, 'SRID=4674;POINT (-40.138453 -2.820486)', '2026-08-12 08:10:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138659 -2.820682)'), GeomFromEWKT('SRID=4674;POINT (-40.138453 -2.820486)'))) / (select extract(epoch from '2026-08-12 08:10:24'::timestamp) - extract(epoch from '2026-08-12 08:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138659 -2.820682)'), GeomFromEWKT('SRID=4674;POINT (-40.138453 -2.820486)'))) / (select extract(epoch from '2026-08-12 08:10:24'::timestamp) - extract(epoch from '2026-08-12 08:10:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.138282 -2.820346)', '2026-08-12 08:10:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138453 -2.820486)'), GeomFromEWKT('SRID=4674;POINT (-40.138282 -2.820346)'))) / (select extract(epoch from '2026-08-12 08:10:35'::timestamp) - extract(epoch from '2026-08-12 08:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138453 -2.820486)'), GeomFromEWKT('SRID=4674;POINT (-40.138282 -2.820346)'))) / (select extract(epoch from '2026-08-12 08:10:35'::timestamp) - extract(epoch from '2026-08-12 08:10:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.138088 -2.820202)', '2026-08-12 08:10:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138282 -2.820346)'), GeomFromEWKT('SRID=4674;POINT (-40.138088 -2.820202)'))) / (select extract(epoch from '2026-08-12 08:10:47'::timestamp) - extract(epoch from '2026-08-12 08:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138282 -2.820346)'), GeomFromEWKT('SRID=4674;POINT (-40.138088 -2.820202)'))) / (select extract(epoch from '2026-08-12 08:10:47'::timestamp) - extract(epoch from '2026-08-12 08:10:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.137929 -2.820085)', '2026-08-12 08:10:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138088 -2.820202)'), GeomFromEWKT('SRID=4674;POINT (-40.137929 -2.820085)'))) / (select extract(epoch from '2026-08-12 08:10:57'::timestamp) - extract(epoch from '2026-08-12 08:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138088 -2.820202)'), GeomFromEWKT('SRID=4674;POINT (-40.137929 -2.820085)'))) / (select extract(epoch from '2026-08-12 08:10:57'::timestamp) - extract(epoch from '2026-08-12 08:10: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'), 48198, 'SRID=4674;POINT (-40.13774 -2.819966)', '2026-08-12 08:11:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137929 -2.820085)'), GeomFromEWKT('SRID=4674;POINT (-40.13774 -2.819966)'))) / (select extract(epoch from '2026-08-12 08:11:08'::timestamp) - extract(epoch from '2026-08-12 08:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137929 -2.820085)'), GeomFromEWKT('SRID=4674;POINT (-40.13774 -2.819966)'))) / (select extract(epoch from '2026-08-12 08:11:08'::timestamp) - extract(epoch from '2026-08-12 08:10:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.137553 -2.819847)', '2026-08-12 08:11:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13774 -2.819966)'), GeomFromEWKT('SRID=4674;POINT (-40.137553 -2.819847)'))) / (select extract(epoch from '2026-08-12 08:11:19'::timestamp) - extract(epoch from '2026-08-12 08:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13774 -2.819966)'), GeomFromEWKT('SRID=4674;POINT (-40.137553 -2.819847)'))) / (select extract(epoch from '2026-08-12 08:11:19'::timestamp) - extract(epoch from '2026-08-12 08:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.13738 -2.81975)', '2026-08-12 08:11:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137553 -2.819847)'), GeomFromEWKT('SRID=4674;POINT (-40.13738 -2.81975)'))) / (select extract(epoch from '2026-08-12 08:11:29'::timestamp) - extract(epoch from '2026-08-12 08:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137553 -2.819847)'), GeomFromEWKT('SRID=4674;POINT (-40.13738 -2.81975)'))) / (select extract(epoch from '2026-08-12 08:11:29'::timestamp) - extract(epoch from '2026-08-12 08:11:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.137093 -2.819595)', '2026-08-12 08:11:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13738 -2.81975)'), GeomFromEWKT('SRID=4674;POINT (-40.137093 -2.819595)'))) / (select extract(epoch from '2026-08-12 08:11:45'::timestamp) - extract(epoch from '2026-08-12 08:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13738 -2.81975)'), GeomFromEWKT('SRID=4674;POINT (-40.137093 -2.819595)'))) / (select extract(epoch from '2026-08-12 08:11:45'::timestamp) - extract(epoch from '2026-08-12 08:11:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.136867 -2.819504)', '2026-08-12 08:11:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137093 -2.819595)'), GeomFromEWKT('SRID=4674;POINT (-40.136867 -2.819504)'))) / (select extract(epoch from '2026-08-12 08:11:57'::timestamp) - extract(epoch from '2026-08-12 08:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137093 -2.819595)'), GeomFromEWKT('SRID=4674;POINT (-40.136867 -2.819504)'))) / (select extract(epoch from '2026-08-12 08:11:57'::timestamp) - extract(epoch from '2026-08-12 08:11: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'), 48198, 'SRID=4674;POINT (-40.136645 -2.819439)', '2026-08-12 08:12:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136867 -2.819504)'), GeomFromEWKT('SRID=4674;POINT (-40.136645 -2.819439)'))) / (select extract(epoch from '2026-08-12 08:12:09'::timestamp) - extract(epoch from '2026-08-12 08:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136867 -2.819504)'), GeomFromEWKT('SRID=4674;POINT (-40.136645 -2.819439)'))) / (select extract(epoch from '2026-08-12 08:12:09'::timestamp) - extract(epoch from '2026-08-12 08:11:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.136469 -2.819402)', '2026-08-12 08:12:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136645 -2.819439)'), GeomFromEWKT('SRID=4674;POINT (-40.136469 -2.819402)'))) / (select extract(epoch from '2026-08-12 08:12:19'::timestamp) - extract(epoch from '2026-08-12 08:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136645 -2.819439)'), GeomFromEWKT('SRID=4674;POINT (-40.136469 -2.819402)'))) / (select extract(epoch from '2026-08-12 08:12:19'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.1362 -2.819332)', '2026-08-12 08:12:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136469 -2.819402)'), GeomFromEWKT('SRID=4674;POINT (-40.1362 -2.819332)'))) / (select extract(epoch from '2026-08-12 08:12:34'::timestamp) - extract(epoch from '2026-08-12 08:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136469 -2.819402)'), GeomFromEWKT('SRID=4674;POINT (-40.1362 -2.819332)'))) / (select extract(epoch from '2026-08-12 08:12:34'::timestamp) - extract(epoch from '2026-08-12 08:12:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.136029 -2.819301)', '2026-08-12 08:12:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1362 -2.819332)'), GeomFromEWKT('SRID=4674;POINT (-40.136029 -2.819301)'))) / (select extract(epoch from '2026-08-12 08:12:44'::timestamp) - extract(epoch from '2026-08-12 08:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1362 -2.819332)'), GeomFromEWKT('SRID=4674;POINT (-40.136029 -2.819301)'))) / (select extract(epoch from '2026-08-12 08:12:44'::timestamp) - extract(epoch from '2026-08-12 08:12: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'), 48198, 'SRID=4674;POINT (-40.135851 -2.81928)', '2026-08-12 08:12:55', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136029 -2.819301)'), GeomFromEWKT('SRID=4674;POINT (-40.135851 -2.81928)'))) / (select extract(epoch from '2026-08-12 08:12:55'::timestamp) - extract(epoch from '2026-08-12 08:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136029 -2.819301)'), GeomFromEWKT('SRID=4674;POINT (-40.135851 -2.81928)'))) / (select extract(epoch from '2026-08-12 08:12:55'::timestamp) - extract(epoch from '2026-08-12 08:12: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'), 48198, 'SRID=4674;POINT (-40.135679 -2.819287)', '2026-08-12 08:13:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135851 -2.81928)'), GeomFromEWKT('SRID=4674;POINT (-40.135679 -2.819287)'))) / (select extract(epoch from '2026-08-12 08:13:06'::timestamp) - extract(epoch from '2026-08-12 08:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135851 -2.81928)'), GeomFromEWKT('SRID=4674;POINT (-40.135679 -2.819287)'))) / (select extract(epoch from '2026-08-12 08:13:06'::timestamp) - extract(epoch from '2026-08-12 08:12: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'), 48198, 'SRID=4674;POINT (-40.135504 -2.819313)', '2026-08-12 08:13:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135679 -2.819287)'), GeomFromEWKT('SRID=4674;POINT (-40.135504 -2.819313)'))) / (select extract(epoch from '2026-08-12 08:13:17'::timestamp) - extract(epoch from '2026-08-12 08:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135679 -2.819287)'), GeomFromEWKT('SRID=4674;POINT (-40.135504 -2.819313)'))) / (select extract(epoch from '2026-08-12 08:13:17'::timestamp) - extract(epoch from '2026-08-12 08:13: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'), 48198, 'SRID=4674;POINT (-40.135362 -2.819337)', '2026-08-12 08:13:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135504 -2.819313)'), GeomFromEWKT('SRID=4674;POINT (-40.135362 -2.819337)'))) / (select extract(epoch from '2026-08-12 08:13:27'::timestamp) - extract(epoch from '2026-08-12 08:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135504 -2.819313)'), GeomFromEWKT('SRID=4674;POINT (-40.135362 -2.819337)'))) / (select extract(epoch from '2026-08-12 08:13:27'::timestamp) - extract(epoch from '2026-08-12 08:13:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.135237 -2.819261)', '2026-08-12 08:13:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135362 -2.819337)'), GeomFromEWKT('SRID=4674;POINT (-40.135237 -2.819261)'))) / (select extract(epoch from '2026-08-12 08:13:36'::timestamp) - extract(epoch from '2026-08-12 08:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135362 -2.819337)'), GeomFromEWKT('SRID=4674;POINT (-40.135237 -2.819261)'))) / (select extract(epoch from '2026-08-12 08:13:36'::timestamp) - extract(epoch from '2026-08-12 08:13: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'), 48198, 'SRID=4674;POINT (-40.135046 -2.819113)', '2026-08-12 08:13:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135237 -2.819261)'), GeomFromEWKT('SRID=4674;POINT (-40.135046 -2.819113)'))) / (select extract(epoch from '2026-08-12 08:13:50'::timestamp) - extract(epoch from '2026-08-12 08:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135237 -2.819261)'), GeomFromEWKT('SRID=4674;POINT (-40.135046 -2.819113)'))) / (select extract(epoch from '2026-08-12 08:13:50'::timestamp) - extract(epoch from '2026-08-12 08:13: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'), 48198, 'SRID=4674;POINT (-40.13489 -2.818992)', '2026-08-12 08:14:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135046 -2.819113)'), GeomFromEWKT('SRID=4674;POINT (-40.13489 -2.818992)'))) / (select extract(epoch from '2026-08-12 08:14:01'::timestamp) - extract(epoch from '2026-08-12 08:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135046 -2.819113)'), GeomFromEWKT('SRID=4674;POINT (-40.13489 -2.818992)'))) / (select extract(epoch from '2026-08-12 08:14:01'::timestamp) - extract(epoch from '2026-08-12 08:13:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.134771 -2.818881)', '2026-08-12 08:14:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13489 -2.818992)'), GeomFromEWKT('SRID=4674;POINT (-40.134771 -2.818881)'))) / (select extract(epoch from '2026-08-12 08:14:10'::timestamp) - extract(epoch from '2026-08-12 08:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13489 -2.818992)'), GeomFromEWKT('SRID=4674;POINT (-40.134771 -2.818881)'))) / (select extract(epoch from '2026-08-12 08:14:10'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.134616 -2.818728)', '2026-08-12 08:14:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134771 -2.818881)'), GeomFromEWKT('SRID=4674;POINT (-40.134616 -2.818728)'))) / (select extract(epoch from '2026-08-12 08:14:22'::timestamp) - extract(epoch from '2026-08-12 08:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134771 -2.818881)'), GeomFromEWKT('SRID=4674;POINT (-40.134616 -2.818728)'))) / (select extract(epoch from '2026-08-12 08:14:22'::timestamp) - extract(epoch from '2026-08-12 08:14:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.134441 -2.818597)', '2026-08-12 08:14:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134616 -2.818728)'), GeomFromEWKT('SRID=4674;POINT (-40.134441 -2.818597)'))) / (select extract(epoch from '2026-08-12 08:14:34'::timestamp) - extract(epoch from '2026-08-12 08:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134616 -2.818728)'), GeomFromEWKT('SRID=4674;POINT (-40.134441 -2.818597)'))) / (select extract(epoch from '2026-08-12 08:14:34'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.134286 -2.818497)', '2026-08-12 08:14:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134441 -2.818597)'), GeomFromEWKT('SRID=4674;POINT (-40.134286 -2.818497)'))) / (select extract(epoch from '2026-08-12 08:14:44'::timestamp) - extract(epoch from '2026-08-12 08:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134441 -2.818597)'), GeomFromEWKT('SRID=4674;POINT (-40.134286 -2.818497)'))) / (select extract(epoch from '2026-08-12 08:14:44'::timestamp) - extract(epoch from '2026-08-12 08:14:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.13411 -2.818389)', '2026-08-12 08:14:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134286 -2.818497)'), GeomFromEWKT('SRID=4674;POINT (-40.13411 -2.818389)'))) / (select extract(epoch from '2026-08-12 08:14:55'::timestamp) - extract(epoch from '2026-08-12 08:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134286 -2.818497)'), GeomFromEWKT('SRID=4674;POINT (-40.13411 -2.818389)'))) / (select extract(epoch from '2026-08-12 08:14:55'::timestamp) - extract(epoch from '2026-08-12 08:14:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.133971 -2.818298)', '2026-08-12 08:15:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13411 -2.818389)'), GeomFromEWKT('SRID=4674;POINT (-40.133971 -2.818298)'))) / (select extract(epoch from '2026-08-12 08:15:04'::timestamp) - extract(epoch from '2026-08-12 08:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13411 -2.818389)'), GeomFromEWKT('SRID=4674;POINT (-40.133971 -2.818298)'))) / (select extract(epoch from '2026-08-12 08:15:04'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.133802 -2.818189)', '2026-08-12 08:15:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133971 -2.818298)'), GeomFromEWKT('SRID=4674;POINT (-40.133802 -2.818189)'))) / (select extract(epoch from '2026-08-12 08:15:15'::timestamp) - extract(epoch from '2026-08-12 08:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133971 -2.818298)'), GeomFromEWKT('SRID=4674;POINT (-40.133802 -2.818189)'))) / (select extract(epoch from '2026-08-12 08:15:15'::timestamp) - extract(epoch from '2026-08-12 08:15: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'), 48198, 'SRID=4674;POINT (-40.133639 -2.818088)', '2026-08-12 08:15:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133802 -2.818189)'), GeomFromEWKT('SRID=4674;POINT (-40.133639 -2.818088)'))) / (select extract(epoch from '2026-08-12 08:15:26'::timestamp) - extract(epoch from '2026-08-12 08:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133802 -2.818189)'), GeomFromEWKT('SRID=4674;POINT (-40.133639 -2.818088)'))) / (select extract(epoch from '2026-08-12 08:15:26'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.133454 -2.818007)', '2026-08-12 08:15:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133639 -2.818088)'), GeomFromEWKT('SRID=4674;POINT (-40.133454 -2.818007)'))) / (select extract(epoch from '2026-08-12 08:15:37'::timestamp) - extract(epoch from '2026-08-12 08:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133639 -2.818088)'), GeomFromEWKT('SRID=4674;POINT (-40.133454 -2.818007)'))) / (select extract(epoch from '2026-08-12 08:15:37'::timestamp) - extract(epoch from '2026-08-12 08:15: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'), 48198, 'SRID=4674;POINT (-40.133253 -2.817919)', '2026-08-12 08:15:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133454 -2.818007)'), GeomFromEWKT('SRID=4674;POINT (-40.133253 -2.817919)'))) / (select extract(epoch from '2026-08-12 08:15:49'::timestamp) - extract(epoch from '2026-08-12 08:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133454 -2.818007)'), GeomFromEWKT('SRID=4674;POINT (-40.133253 -2.817919)'))) / (select extract(epoch from '2026-08-12 08:15:49'::timestamp) - extract(epoch from '2026-08-12 08:15: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'), 48198, 'SRID=4674;POINT (-40.133056 -2.817824)', '2026-08-12 08:16:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133253 -2.817919)'), GeomFromEWKT('SRID=4674;POINT (-40.133056 -2.817824)'))) / (select extract(epoch from '2026-08-12 08:16:01'::timestamp) - extract(epoch from '2026-08-12 08:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133253 -2.817919)'), GeomFromEWKT('SRID=4674;POINT (-40.133056 -2.817824)'))) / (select extract(epoch from '2026-08-12 08:16:01'::timestamp) - extract(epoch from '2026-08-12 08:15:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.132874 -2.817711)', '2026-08-12 08:16:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133056 -2.817824)'), GeomFromEWKT('SRID=4674;POINT (-40.132874 -2.817711)'))) / (select extract(epoch from '2026-08-12 08:16:12'::timestamp) - extract(epoch from '2026-08-12 08:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133056 -2.817824)'), GeomFromEWKT('SRID=4674;POINT (-40.132874 -2.817711)'))) / (select extract(epoch from '2026-08-12 08:16:12'::timestamp) - extract(epoch from '2026-08-12 08:16: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'), 48198, 'SRID=4674;POINT (-40.132691 -2.8176)', '2026-08-12 08:16:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132874 -2.817711)'), GeomFromEWKT('SRID=4674;POINT (-40.132691 -2.8176)'))) / (select extract(epoch from '2026-08-12 08:16:23'::timestamp) - extract(epoch from '2026-08-12 08:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132874 -2.817711)'), GeomFromEWKT('SRID=4674;POINT (-40.132691 -2.8176)'))) / (select extract(epoch from '2026-08-12 08:16:23'::timestamp) - extract(epoch from '2026-08-12 08:16: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'), 48198, 'SRID=4674;POINT (-40.132531 -2.817509)', '2026-08-12 08:16:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132691 -2.8176)'), GeomFromEWKT('SRID=4674;POINT (-40.132531 -2.817509)'))) / (select extract(epoch from '2026-08-12 08:16:33'::timestamp) - extract(epoch from '2026-08-12 08:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132691 -2.8176)'), GeomFromEWKT('SRID=4674;POINT (-40.132531 -2.817509)'))) / (select extract(epoch from '2026-08-12 08:16:33'::timestamp) - extract(epoch from '2026-08-12 08:16:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.132265 -2.817372)', '2026-08-12 08:16:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132531 -2.817509)'), GeomFromEWKT('SRID=4674;POINT (-40.132265 -2.817372)'))) / (select extract(epoch from '2026-08-12 08:16:49'::timestamp) - extract(epoch from '2026-08-12 08:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132531 -2.817509)'), GeomFromEWKT('SRID=4674;POINT (-40.132265 -2.817372)'))) / (select extract(epoch from '2026-08-12 08:16:49'::timestamp) - extract(epoch from '2026-08-12 08:16:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.132067 -2.817262)', '2026-08-12 08:17:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132265 -2.817372)'), GeomFromEWKT('SRID=4674;POINT (-40.132067 -2.817262)'))) / (select extract(epoch from '2026-08-12 08:17:01'::timestamp) - extract(epoch from '2026-08-12 08:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132265 -2.817372)'), GeomFromEWKT('SRID=4674;POINT (-40.132067 -2.817262)'))) / (select extract(epoch from '2026-08-12 08:17:01'::timestamp) - extract(epoch from '2026-08-12 08:16:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.131892 -2.817146)', '2026-08-12 08:17:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132067 -2.817262)'), GeomFromEWKT('SRID=4674;POINT (-40.131892 -2.817146)'))) / (select extract(epoch from '2026-08-12 08:17:12'::timestamp) - extract(epoch from '2026-08-12 08:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132067 -2.817262)'), GeomFromEWKT('SRID=4674;POINT (-40.131892 -2.817146)'))) / (select extract(epoch from '2026-08-12 08:17:12'::timestamp) - extract(epoch from '2026-08-12 08:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.131711 -2.817031)', '2026-08-12 08:17:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131892 -2.817146)'), GeomFromEWKT('SRID=4674;POINT (-40.131711 -2.817031)'))) / (select extract(epoch from '2026-08-12 08:17:23'::timestamp) - extract(epoch from '2026-08-12 08:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131892 -2.817146)'), GeomFromEWKT('SRID=4674;POINT (-40.131711 -2.817031)'))) / (select extract(epoch from '2026-08-12 08:17:23'::timestamp) - extract(epoch from '2026-08-12 08:17:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.131521 -2.816884)', '2026-08-12 08:17:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131711 -2.817031)'), GeomFromEWKT('SRID=4674;POINT (-40.131521 -2.816884)'))) / (select extract(epoch from '2026-08-12 08:17:36'::timestamp) - extract(epoch from '2026-08-12 08:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131711 -2.817031)'), GeomFromEWKT('SRID=4674;POINT (-40.131521 -2.816884)'))) / (select extract(epoch from '2026-08-12 08:17:36'::timestamp) - extract(epoch from '2026-08-12 08:17: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'), 48198, 'SRID=4674;POINT (-40.131378 -2.816753)', '2026-08-12 08:17:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131521 -2.816884)'), GeomFromEWKT('SRID=4674;POINT (-40.131378 -2.816753)'))) / (select extract(epoch from '2026-08-12 08:17:46'::timestamp) - extract(epoch from '2026-08-12 08:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131521 -2.816884)'), GeomFromEWKT('SRID=4674;POINT (-40.131378 -2.816753)'))) / (select extract(epoch from '2026-08-12 08:17:46'::timestamp) - extract(epoch from '2026-08-12 08:17: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'), 48198, 'SRID=4674;POINT (-40.131241 -2.816603)', '2026-08-12 08:17:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131378 -2.816753)'), GeomFromEWKT('SRID=4674;POINT (-40.131241 -2.816603)'))) / (select extract(epoch from '2026-08-12 08:17:56'::timestamp) - extract(epoch from '2026-08-12 08:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131378 -2.816753)'), GeomFromEWKT('SRID=4674;POINT (-40.131241 -2.816603)'))) / (select extract(epoch from '2026-08-12 08:17:56'::timestamp) - extract(epoch from '2026-08-12 08:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.131071 -2.816413)', '2026-08-12 08:18:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131241 -2.816603)'), GeomFromEWKT('SRID=4674;POINT (-40.131071 -2.816413)'))) / (select extract(epoch from '2026-08-12 08:18:09'::timestamp) - extract(epoch from '2026-08-12 08:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131241 -2.816603)'), GeomFromEWKT('SRID=4674;POINT (-40.131071 -2.816413)'))) / (select extract(epoch from '2026-08-12 08:18:09'::timestamp) - extract(epoch from '2026-08-12 08:17: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'), 48198, 'SRID=4674;POINT (-40.130936 -2.816265)', '2026-08-12 08:18:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131071 -2.816413)'), GeomFromEWKT('SRID=4674;POINT (-40.130936 -2.816265)'))) / (select extract(epoch from '2026-08-12 08:18:19'::timestamp) - extract(epoch from '2026-08-12 08:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131071 -2.816413)'), GeomFromEWKT('SRID=4674;POINT (-40.130936 -2.816265)'))) / (select extract(epoch from '2026-08-12 08:18:19'::timestamp) - extract(epoch from '2026-08-12 08:18: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'), 48198, 'SRID=4674;POINT (-40.130798 -2.816127)', '2026-08-12 08:18:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130936 -2.816265)'), GeomFromEWKT('SRID=4674;POINT (-40.130798 -2.816127)'))) / (select extract(epoch from '2026-08-12 08:18:29'::timestamp) - extract(epoch from '2026-08-12 08:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130936 -2.816265)'), GeomFromEWKT('SRID=4674;POINT (-40.130798 -2.816127)'))) / (select extract(epoch from '2026-08-12 08:18:29'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.130662 -2.81599)', '2026-08-12 08:18:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130798 -2.816127)'), GeomFromEWKT('SRID=4674;POINT (-40.130662 -2.81599)'))) / (select extract(epoch from '2026-08-12 08:18:39'::timestamp) - extract(epoch from '2026-08-12 08:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130798 -2.816127)'), GeomFromEWKT('SRID=4674;POINT (-40.130662 -2.81599)'))) / (select extract(epoch from '2026-08-12 08:18:39'::timestamp) - extract(epoch from '2026-08-12 08:18: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'), 48198, 'SRID=4674;POINT (-40.130523 -2.815859)', '2026-08-12 08:18:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130662 -2.81599)'), GeomFromEWKT('SRID=4674;POINT (-40.130523 -2.815859)'))) / (select extract(epoch from '2026-08-12 08:18:49'::timestamp) - extract(epoch from '2026-08-12 08:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130662 -2.81599)'), GeomFromEWKT('SRID=4674;POINT (-40.130523 -2.815859)'))) / (select extract(epoch from '2026-08-12 08:18:49'::timestamp) - extract(epoch from '2026-08-12 08:18:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.130371 -2.815702)', '2026-08-12 08:19:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130523 -2.815859)'), GeomFromEWKT('SRID=4674;POINT (-40.130371 -2.815702)'))) / (select extract(epoch from '2026-08-12 08:19:00'::timestamp) - extract(epoch from '2026-08-12 08:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130523 -2.815859)'), GeomFromEWKT('SRID=4674;POINT (-40.130371 -2.815702)'))) / (select extract(epoch from '2026-08-12 08:19:00'::timestamp) - extract(epoch from '2026-08-12 08:18:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.130205 -2.815531)', '2026-08-12 08:19:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130371 -2.815702)'), GeomFromEWKT('SRID=4674;POINT (-40.130205 -2.815531)'))) / (select extract(epoch from '2026-08-12 08:19:12'::timestamp) - extract(epoch from '2026-08-12 08:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130371 -2.815702)'), GeomFromEWKT('SRID=4674;POINT (-40.130205 -2.815531)'))) / (select extract(epoch from '2026-08-12 08:19:12'::timestamp) - extract(epoch from '2026-08-12 08:19: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'), 48198, 'SRID=4674;POINT (-40.130081 -2.815413)', '2026-08-12 08:19:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130205 -2.815531)'), GeomFromEWKT('SRID=4674;POINT (-40.130081 -2.815413)'))) / (select extract(epoch from '2026-08-12 08:19:21'::timestamp) - extract(epoch from '2026-08-12 08:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130205 -2.815531)'), GeomFromEWKT('SRID=4674;POINT (-40.130081 -2.815413)'))) / (select extract(epoch from '2026-08-12 08:19:21'::timestamp) - extract(epoch from '2026-08-12 08:19:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.129906 -2.815279)', '2026-08-12 08:19:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130081 -2.815413)'), GeomFromEWKT('SRID=4674;POINT (-40.129906 -2.815279)'))) / (select extract(epoch from '2026-08-12 08:19:32'::timestamp) - extract(epoch from '2026-08-12 08:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130081 -2.815413)'), GeomFromEWKT('SRID=4674;POINT (-40.129906 -2.815279)'))) / (select extract(epoch from '2026-08-12 08:19:32'::timestamp) - extract(epoch from '2026-08-12 08:19: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'), 48198, 'SRID=4674;POINT (-40.129746 -2.815137)', '2026-08-12 08:19:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129906 -2.815279)'), GeomFromEWKT('SRID=4674;POINT (-40.129746 -2.815137)'))) / (select extract(epoch from '2026-08-12 08:19:43'::timestamp) - extract(epoch from '2026-08-12 08:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129906 -2.815279)'), GeomFromEWKT('SRID=4674;POINT (-40.129746 -2.815137)'))) / (select extract(epoch from '2026-08-12 08:19:43'::timestamp) - extract(epoch from '2026-08-12 08:19: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'), 48198, 'SRID=4674;POINT (-40.129582 -2.815026)', '2026-08-12 08:19:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129746 -2.815137)'), GeomFromEWKT('SRID=4674;POINT (-40.129582 -2.815026)'))) / (select extract(epoch from '2026-08-12 08:19:54'::timestamp) - extract(epoch from '2026-08-12 08:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129746 -2.815137)'), GeomFromEWKT('SRID=4674;POINT (-40.129582 -2.815026)'))) / (select extract(epoch from '2026-08-12 08:19:54'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.129425 -2.814946)', '2026-08-12 08:20:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129582 -2.815026)'), GeomFromEWKT('SRID=4674;POINT (-40.129425 -2.814946)'))) / (select extract(epoch from '2026-08-12 08:20:04'::timestamp) - extract(epoch from '2026-08-12 08:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129582 -2.815026)'), GeomFromEWKT('SRID=4674;POINT (-40.129425 -2.814946)'))) / (select extract(epoch from '2026-08-12 08:20:04'::timestamp) - extract(epoch from '2026-08-12 08:19:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.129258 -2.814937)', '2026-08-12 08:20:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129425 -2.814946)'), GeomFromEWKT('SRID=4674;POINT (-40.129258 -2.814937)'))) / (select extract(epoch from '2026-08-12 08:20:14'::timestamp) - extract(epoch from '2026-08-12 08:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129425 -2.814946)'), GeomFromEWKT('SRID=4674;POINT (-40.129258 -2.814937)'))) / (select extract(epoch from '2026-08-12 08:20:14'::timestamp) - extract(epoch from '2026-08-12 08:20: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'), 48198, 'SRID=4674;POINT (-40.129095 -2.814913)', '2026-08-12 08:20:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129258 -2.814937)'), GeomFromEWKT('SRID=4674;POINT (-40.129095 -2.814913)'))) / (select extract(epoch from '2026-08-12 08:20:24'::timestamp) - extract(epoch from '2026-08-12 08:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129258 -2.814937)'), GeomFromEWKT('SRID=4674;POINT (-40.129095 -2.814913)'))) / (select extract(epoch from '2026-08-12 08:20:24'::timestamp) - extract(epoch from '2026-08-12 08:20: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'), 48198, 'SRID=4674;POINT (-40.128908 -2.8149)', '2026-08-12 08:20:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129095 -2.814913)'), GeomFromEWKT('SRID=4674;POINT (-40.128908 -2.8149)'))) / (select extract(epoch from '2026-08-12 08:20:35'::timestamp) - extract(epoch from '2026-08-12 08:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129095 -2.814913)'), GeomFromEWKT('SRID=4674;POINT (-40.128908 -2.8149)'))) / (select extract(epoch from '2026-08-12 08:20:35'::timestamp) - extract(epoch from '2026-08-12 08:20: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'), 48198, 'SRID=4674;POINT (-40.128746 -2.814894)', '2026-08-12 08:20:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128908 -2.8149)'), GeomFromEWKT('SRID=4674;POINT (-40.128746 -2.814894)'))) / (select extract(epoch from '2026-08-12 08:20:45'::timestamp) - extract(epoch from '2026-08-12 08:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128908 -2.8149)'), GeomFromEWKT('SRID=4674;POINT (-40.128746 -2.814894)'))) / (select extract(epoch from '2026-08-12 08:20:45'::timestamp) - extract(epoch from '2026-08-12 08:20: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'), 48198, 'SRID=4674;POINT (-40.128593 -2.814882)', '2026-08-12 08:20:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128746 -2.814894)'), GeomFromEWKT('SRID=4674;POINT (-40.128593 -2.814882)'))) / (select extract(epoch from '2026-08-12 08:20:55'::timestamp) - extract(epoch from '2026-08-12 08:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128746 -2.814894)'), GeomFromEWKT('SRID=4674;POINT (-40.128593 -2.814882)'))) / (select extract(epoch from '2026-08-12 08:20:55'::timestamp) - extract(epoch from '2026-08-12 08:20: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'), 48198, 'SRID=4674;POINT (-40.128436 -2.814839)', '2026-08-12 08:21:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128593 -2.814882)'), GeomFromEWKT('SRID=4674;POINT (-40.128436 -2.814839)'))) / (select extract(epoch from '2026-08-12 08:21:06'::timestamp) - extract(epoch from '2026-08-12 08:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128593 -2.814882)'), GeomFromEWKT('SRID=4674;POINT (-40.128436 -2.814839)'))) / (select extract(epoch from '2026-08-12 08:21:06'::timestamp) - extract(epoch from '2026-08-12 08:20:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.128268 -2.814741)', '2026-08-12 08:21:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128436 -2.814839)'), GeomFromEWKT('SRID=4674;POINT (-40.128268 -2.814741)'))) / (select extract(epoch from '2026-08-12 08:21:17'::timestamp) - extract(epoch from '2026-08-12 08:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128436 -2.814839)'), GeomFromEWKT('SRID=4674;POINT (-40.128268 -2.814741)'))) / (select extract(epoch from '2026-08-12 08:21:17'::timestamp) - extract(epoch from '2026-08-12 08:21: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'), 48198, 'SRID=4674;POINT (-40.128106 -2.814666)', '2026-08-12 08:21:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128268 -2.814741)'), GeomFromEWKT('SRID=4674;POINT (-40.128106 -2.814666)'))) / (select extract(epoch from '2026-08-12 08:21:27'::timestamp) - extract(epoch from '2026-08-12 08:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128268 -2.814741)'), GeomFromEWKT('SRID=4674;POINT (-40.128106 -2.814666)'))) / (select extract(epoch from '2026-08-12 08:21:27'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.127894 -2.814604)', '2026-08-12 08:21:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128106 -2.814666)'), GeomFromEWKT('SRID=4674;POINT (-40.127894 -2.814604)'))) / (select extract(epoch from '2026-08-12 08:21:40'::timestamp) - extract(epoch from '2026-08-12 08:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128106 -2.814666)'), GeomFromEWKT('SRID=4674;POINT (-40.127894 -2.814604)'))) / (select extract(epoch from '2026-08-12 08:21:40'::timestamp) - extract(epoch from '2026-08-12 08:21: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'), 48198, 'SRID=4674;POINT (-40.127694 -2.814577)', '2026-08-12 08:21:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127894 -2.814604)'), GeomFromEWKT('SRID=4674;POINT (-40.127694 -2.814577)'))) / (select extract(epoch from '2026-08-12 08:21:52'::timestamp) - extract(epoch from '2026-08-12 08:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127894 -2.814604)'), GeomFromEWKT('SRID=4674;POINT (-40.127694 -2.814577)'))) / (select extract(epoch from '2026-08-12 08:21:52'::timestamp) - extract(epoch from '2026-08-12 08:21: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'), 48198, 'SRID=4674;POINT (-40.127544 -2.814552)', '2026-08-12 08:22:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127694 -2.814577)'), GeomFromEWKT('SRID=4674;POINT (-40.127544 -2.814552)'))) / (select extract(epoch from '2026-08-12 08:22:02'::timestamp) - extract(epoch from '2026-08-12 08:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127694 -2.814577)'), GeomFromEWKT('SRID=4674;POINT (-40.127544 -2.814552)'))) / (select extract(epoch from '2026-08-12 08:22:02'::timestamp) - extract(epoch from '2026-08-12 08:21: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'), 48198, 'SRID=4674;POINT (-40.127334 -2.814537)', '2026-08-12 08:22:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127544 -2.814552)'), GeomFromEWKT('SRID=4674;POINT (-40.127334 -2.814537)'))) / (select extract(epoch from '2026-08-12 08:22:15'::timestamp) - extract(epoch from '2026-08-12 08:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127544 -2.814552)'), GeomFromEWKT('SRID=4674;POINT (-40.127334 -2.814537)'))) / (select extract(epoch from '2026-08-12 08:22:15'::timestamp) - extract(epoch from '2026-08-12 08:22: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'), 48198, 'SRID=4674;POINT (-40.127135 -2.81451)', '2026-08-12 08:22:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127334 -2.814537)'), GeomFromEWKT('SRID=4674;POINT (-40.127135 -2.81451)'))) / (select extract(epoch from '2026-08-12 08:22:28'::timestamp) - extract(epoch from '2026-08-12 08:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127334 -2.814537)'), GeomFromEWKT('SRID=4674;POINT (-40.127135 -2.81451)'))) / (select extract(epoch from '2026-08-12 08:22:28'::timestamp) - extract(epoch from '2026-08-12 08:22: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'), 48198, 'SRID=4674;POINT (-40.12695 -2.81448)', '2026-08-12 08:22:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127135 -2.81451)'), GeomFromEWKT('SRID=4674;POINT (-40.12695 -2.81448)'))) / (select extract(epoch from '2026-08-12 08:22:40'::timestamp) - extract(epoch from '2026-08-12 08:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127135 -2.81451)'), GeomFromEWKT('SRID=4674;POINT (-40.12695 -2.81448)'))) / (select extract(epoch from '2026-08-12 08:22:40'::timestamp) - extract(epoch from '2026-08-12 08:22: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'), 48198, 'SRID=4674;POINT (-40.126774 -2.814457)', '2026-08-12 08:22:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12695 -2.81448)'), GeomFromEWKT('SRID=4674;POINT (-40.126774 -2.814457)'))) / (select extract(epoch from '2026-08-12 08:22:51'::timestamp) - extract(epoch from '2026-08-12 08:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12695 -2.81448)'), GeomFromEWKT('SRID=4674;POINT (-40.126774 -2.814457)'))) / (select extract(epoch from '2026-08-12 08:22:51'::timestamp) - extract(epoch from '2026-08-12 08:22: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'), 48198, 'SRID=4674;POINT (-40.126586 -2.81444)', '2026-08-12 08:23:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126774 -2.814457)'), GeomFromEWKT('SRID=4674;POINT (-40.126586 -2.81444)'))) / (select extract(epoch from '2026-08-12 08:23:03'::timestamp) - extract(epoch from '2026-08-12 08:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126774 -2.814457)'), GeomFromEWKT('SRID=4674;POINT (-40.126586 -2.81444)'))) / (select extract(epoch from '2026-08-12 08:23:03'::timestamp) - extract(epoch from '2026-08-12 08:22: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'), 48198, 'SRID=4674;POINT (-40.12643 -2.814408)', '2026-08-12 08:23:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126586 -2.81444)'), GeomFromEWKT('SRID=4674;POINT (-40.12643 -2.814408)'))) / (select extract(epoch from '2026-08-12 08:23:13'::timestamp) - extract(epoch from '2026-08-12 08:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126586 -2.81444)'), GeomFromEWKT('SRID=4674;POINT (-40.12643 -2.814408)'))) / (select extract(epoch from '2026-08-12 08:23:13'::timestamp) - extract(epoch from '2026-08-12 08:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.126267 -2.814332)', '2026-08-12 08:23:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12643 -2.814408)'), GeomFromEWKT('SRID=4674;POINT (-40.126267 -2.814332)'))) / (select extract(epoch from '2026-08-12 08:23:24'::timestamp) - extract(epoch from '2026-08-12 08:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12643 -2.814408)'), GeomFromEWKT('SRID=4674;POINT (-40.126267 -2.814332)'))) / (select extract(epoch from '2026-08-12 08:23:24'::timestamp) - extract(epoch from '2026-08-12 08:23: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'), 48198, 'SRID=4674;POINT (-40.126079 -2.814257)', '2026-08-12 08:23:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126267 -2.814332)'), GeomFromEWKT('SRID=4674;POINT (-40.126079 -2.814257)'))) / (select extract(epoch from '2026-08-12 08:23:36'::timestamp) - extract(epoch from '2026-08-12 08:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126267 -2.814332)'), GeomFromEWKT('SRID=4674;POINT (-40.126079 -2.814257)'))) / (select extract(epoch from '2026-08-12 08:23:36'::timestamp) - extract(epoch from '2026-08-12 08:23: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'), 48198, 'SRID=4674;POINT (-40.125927 -2.814203)', '2026-08-12 08:23:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126079 -2.814257)'), GeomFromEWKT('SRID=4674;POINT (-40.125927 -2.814203)'))) / (select extract(epoch from '2026-08-12 08:23:46'::timestamp) - extract(epoch from '2026-08-12 08:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126079 -2.814257)'), GeomFromEWKT('SRID=4674;POINT (-40.125927 -2.814203)'))) / (select extract(epoch from '2026-08-12 08:23:46'::timestamp) - extract(epoch from '2026-08-12 08:23: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'), 48198, 'SRID=4674;POINT (-40.125806 -2.814171)', '2026-08-12 08:23:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125927 -2.814203)'), GeomFromEWKT('SRID=4674;POINT (-40.125806 -2.814171)'))) / (select extract(epoch from '2026-08-12 08:23:54'::timestamp) - extract(epoch from '2026-08-12 08:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125927 -2.814203)'), GeomFromEWKT('SRID=4674;POINT (-40.125806 -2.814171)'))) / (select extract(epoch from '2026-08-12 08:23:54'::timestamp) - extract(epoch from '2026-08-12 08:23: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'), 48198, 'SRID=4674;POINT (-40.125657 -2.814119)', '2026-08-12 08:24:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125806 -2.814171)'), GeomFromEWKT('SRID=4674;POINT (-40.125657 -2.814119)'))) / (select extract(epoch from '2026-08-12 08:24:04'::timestamp) - extract(epoch from '2026-08-12 08:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125806 -2.814171)'), GeomFromEWKT('SRID=4674;POINT (-40.125657 -2.814119)'))) / (select extract(epoch from '2026-08-12 08:24:04'::timestamp) - extract(epoch from '2026-08-12 08:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.125497 -2.814079)', '2026-08-12 08:24:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125657 -2.814119)'), GeomFromEWKT('SRID=4674;POINT (-40.125497 -2.814079)'))) / (select extract(epoch from '2026-08-12 08:24:14'::timestamp) - extract(epoch from '2026-08-12 08:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125657 -2.814119)'), GeomFromEWKT('SRID=4674;POINT (-40.125497 -2.814079)'))) / (select extract(epoch from '2026-08-12 08:24:14'::timestamp) - extract(epoch from '2026-08-12 08:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.125339 -2.814036)', '2026-08-12 08:24:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125497 -2.814079)'), GeomFromEWKT('SRID=4674;POINT (-40.125339 -2.814036)'))) / (select extract(epoch from '2026-08-12 08:24:24'::timestamp) - extract(epoch from '2026-08-12 08:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125497 -2.814079)'), GeomFromEWKT('SRID=4674;POINT (-40.125339 -2.814036)'))) / (select extract(epoch from '2026-08-12 08:24:24'::timestamp) - extract(epoch from '2026-08-12 08:24: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'), 48198, 'SRID=4674;POINT (-40.125184 -2.813989)', '2026-08-12 08:24:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125339 -2.814036)'), GeomFromEWKT('SRID=4674;POINT (-40.125184 -2.813989)'))) / (select extract(epoch from '2026-08-12 08:24:34'::timestamp) - extract(epoch from '2026-08-12 08:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125339 -2.814036)'), GeomFromEWKT('SRID=4674;POINT (-40.125184 -2.813989)'))) / (select extract(epoch from '2026-08-12 08:24:34'::timestamp) - extract(epoch from '2026-08-12 08:24: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'), 48198, 'SRID=4674;POINT (-40.125042 -2.813942)', '2026-08-12 08:24:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125184 -2.813989)'), GeomFromEWKT('SRID=4674;POINT (-40.125042 -2.813942)'))) / (select extract(epoch from '2026-08-12 08:24:44'::timestamp) - extract(epoch from '2026-08-12 08:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125184 -2.813989)'), GeomFromEWKT('SRID=4674;POINT (-40.125042 -2.813942)'))) / (select extract(epoch from '2026-08-12 08:24:44'::timestamp) - extract(epoch from '2026-08-12 08:24:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.124901 -2.813895)', '2026-08-12 08:24:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125042 -2.813942)'), GeomFromEWKT('SRID=4674;POINT (-40.124901 -2.813895)'))) / (select extract(epoch from '2026-08-12 08:24:53'::timestamp) - extract(epoch from '2026-08-12 08:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125042 -2.813942)'), GeomFromEWKT('SRID=4674;POINT (-40.124901 -2.813895)'))) / (select extract(epoch from '2026-08-12 08:24:53'::timestamp) - extract(epoch from '2026-08-12 08:24: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'), 48198, 'SRID=4674;POINT (-40.124743 -2.813837)', '2026-08-12 08:25:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124901 -2.813895)'), GeomFromEWKT('SRID=4674;POINT (-40.124743 -2.813837)'))) / (select extract(epoch from '2026-08-12 08:25:03'::timestamp) - extract(epoch from '2026-08-12 08:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124901 -2.813895)'), GeomFromEWKT('SRID=4674;POINT (-40.124743 -2.813837)'))) / (select extract(epoch from '2026-08-12 08:25:03'::timestamp) - extract(epoch from '2026-08-12 08:24:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.124563 -2.813784)', '2026-08-12 08:25:15', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124743 -2.813837)'), GeomFromEWKT('SRID=4674;POINT (-40.124563 -2.813784)'))) / (select extract(epoch from '2026-08-12 08:25:15'::timestamp) - extract(epoch from '2026-08-12 08:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124743 -2.813837)'), GeomFromEWKT('SRID=4674;POINT (-40.124563 -2.813784)'))) / (select extract(epoch from '2026-08-12 08:25:15'::timestamp) - extract(epoch from '2026-08-12 08:25: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'), 48198, 'SRID=4674;POINT (-40.12446 -2.813754)', '2026-08-12 08:25:22', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124563 -2.813784)'), GeomFromEWKT('SRID=4674;POINT (-40.12446 -2.813754)'))) / (select extract(epoch from '2026-08-12 08:25:22'::timestamp) - extract(epoch from '2026-08-12 08:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124563 -2.813784)'), GeomFromEWKT('SRID=4674;POINT (-40.12446 -2.813754)'))) / (select extract(epoch from '2026-08-12 08:25:22'::timestamp) - extract(epoch from '2026-08-12 08:25:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.124337 -2.813732)', '2026-08-12 08:25:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12446 -2.813754)'), GeomFromEWKT('SRID=4674;POINT (-40.124337 -2.813732)'))) / (select extract(epoch from '2026-08-12 08:25:30'::timestamp) - extract(epoch from '2026-08-12 08:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12446 -2.813754)'), GeomFromEWKT('SRID=4674;POINT (-40.124337 -2.813732)'))) / (select extract(epoch from '2026-08-12 08:25:30'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.124151 -2.813716)', '2026-08-12 08:25:42', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124337 -2.813732)'), GeomFromEWKT('SRID=4674;POINT (-40.124151 -2.813716)'))) / (select extract(epoch from '2026-08-12 08:25:42'::timestamp) - extract(epoch from '2026-08-12 08:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124337 -2.813732)'), GeomFromEWKT('SRID=4674;POINT (-40.124151 -2.813716)'))) / (select extract(epoch from '2026-08-12 08:25:42'::timestamp) - extract(epoch from '2026-08-12 08:25: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'), 48198, 'SRID=4674;POINT (-40.123979 -2.813692)', '2026-08-12 08:25:53', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124151 -2.813716)'), GeomFromEWKT('SRID=4674;POINT (-40.123979 -2.813692)'))) / (select extract(epoch from '2026-08-12 08:25:53'::timestamp) - extract(epoch from '2026-08-12 08:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124151 -2.813716)'), GeomFromEWKT('SRID=4674;POINT (-40.123979 -2.813692)'))) / (select extract(epoch from '2026-08-12 08:25:53'::timestamp) - extract(epoch from '2026-08-12 08:25:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.123789 -2.813646)', '2026-08-12 08:26:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123979 -2.813692)'), GeomFromEWKT('SRID=4674;POINT (-40.123789 -2.813646)'))) / (select extract(epoch from '2026-08-12 08:26:05'::timestamp) - extract(epoch from '2026-08-12 08:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123979 -2.813692)'), GeomFromEWKT('SRID=4674;POINT (-40.123789 -2.813646)'))) / (select extract(epoch from '2026-08-12 08:26:05'::timestamp) - extract(epoch from '2026-08-12 08:25: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'), 48198, 'SRID=4674;POINT (-40.123616 -2.813619)', '2026-08-12 08:26:16', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123789 -2.813646)'), GeomFromEWKT('SRID=4674;POINT (-40.123616 -2.813619)'))) / (select extract(epoch from '2026-08-12 08:26:16'::timestamp) - extract(epoch from '2026-08-12 08:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123789 -2.813646)'), GeomFromEWKT('SRID=4674;POINT (-40.123616 -2.813619)'))) / (select extract(epoch from '2026-08-12 08:26:16'::timestamp) - extract(epoch from '2026-08-12 08:26:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.123473 -2.813597)', '2026-08-12 08:26:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123616 -2.813619)'), GeomFromEWKT('SRID=4674;POINT (-40.123473 -2.813597)'))) / (select extract(epoch from '2026-08-12 08:26:25'::timestamp) - extract(epoch from '2026-08-12 08:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123616 -2.813619)'), GeomFromEWKT('SRID=4674;POINT (-40.123473 -2.813597)'))) / (select extract(epoch from '2026-08-12 08:26:25'::timestamp) - extract(epoch from '2026-08-12 08:26: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'), 48198, 'SRID=4674;POINT (-40.123276 -2.813576)', '2026-08-12 08:26:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123473 -2.813597)'), GeomFromEWKT('SRID=4674;POINT (-40.123276 -2.813576)'))) / (select extract(epoch from '2026-08-12 08:26:37'::timestamp) - extract(epoch from '2026-08-12 08:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123473 -2.813597)'), GeomFromEWKT('SRID=4674;POINT (-40.123276 -2.813576)'))) / (select extract(epoch from '2026-08-12 08:26:37'::timestamp) - extract(epoch from '2026-08-12 08:26:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.123106 -2.813557)', '2026-08-12 08:26:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123276 -2.813576)'), GeomFromEWKT('SRID=4674;POINT (-40.123106 -2.813557)'))) / (select extract(epoch from '2026-08-12 08:26:48'::timestamp) - extract(epoch from '2026-08-12 08:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123276 -2.813576)'), GeomFromEWKT('SRID=4674;POINT (-40.123106 -2.813557)'))) / (select extract(epoch from '2026-08-12 08:26:48'::timestamp) - extract(epoch from '2026-08-12 08:26: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'), 48198, 'SRID=4674;POINT (-40.122887 -2.813536)', '2026-08-12 08:27:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123106 -2.813557)'), GeomFromEWKT('SRID=4674;POINT (-40.122887 -2.813536)'))) / (select extract(epoch from '2026-08-12 08:27:02'::timestamp) - extract(epoch from '2026-08-12 08:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123106 -2.813557)'), GeomFromEWKT('SRID=4674;POINT (-40.122887 -2.813536)'))) / (select extract(epoch from '2026-08-12 08:27:02'::timestamp) - extract(epoch from '2026-08-12 08:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.122718 -2.813522)', '2026-08-12 08:27:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122887 -2.813536)'), GeomFromEWKT('SRID=4674;POINT (-40.122718 -2.813522)'))) / (select extract(epoch from '2026-08-12 08:27:13'::timestamp) - extract(epoch from '2026-08-12 08:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122887 -2.813536)'), GeomFromEWKT('SRID=4674;POINT (-40.122718 -2.813522)'))) / (select extract(epoch from '2026-08-12 08:27:13'::timestamp) - extract(epoch from '2026-08-12 08:27: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'), 48198, 'SRID=4674;POINT (-40.122509 -2.813479)', '2026-08-12 08:27:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122718 -2.813522)'), GeomFromEWKT('SRID=4674;POINT (-40.122509 -2.813479)'))) / (select extract(epoch from '2026-08-12 08:27:27'::timestamp) - extract(epoch from '2026-08-12 08:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122718 -2.813522)'), GeomFromEWKT('SRID=4674;POINT (-40.122509 -2.813479)'))) / (select extract(epoch from '2026-08-12 08:27:27'::timestamp) - extract(epoch from '2026-08-12 08:27:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.122353 -2.813453)', '2026-08-12 08:27:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122509 -2.813479)'), GeomFromEWKT('SRID=4674;POINT (-40.122353 -2.813453)'))) / (select extract(epoch from '2026-08-12 08:27:37'::timestamp) - extract(epoch from '2026-08-12 08:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122509 -2.813479)'), GeomFromEWKT('SRID=4674;POINT (-40.122353 -2.813453)'))) / (select extract(epoch from '2026-08-12 08:27:37'::timestamp) - extract(epoch from '2026-08-12 08:27: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'), 48198, 'SRID=4674;POINT (-40.12216 -2.813435)', '2026-08-12 08:27:50', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122353 -2.813453)'), GeomFromEWKT('SRID=4674;POINT (-40.12216 -2.813435)'))) / (select extract(epoch from '2026-08-12 08:27:50'::timestamp) - extract(epoch from '2026-08-12 08:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122353 -2.813453)'), GeomFromEWKT('SRID=4674;POINT (-40.12216 -2.813435)'))) / (select extract(epoch from '2026-08-12 08:27:50'::timestamp) - extract(epoch from '2026-08-12 08:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.121987 -2.813425)', '2026-08-12 08:28:01', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12216 -2.813435)'), GeomFromEWKT('SRID=4674;POINT (-40.121987 -2.813425)'))) / (select extract(epoch from '2026-08-12 08:28:01'::timestamp) - extract(epoch from '2026-08-12 08:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12216 -2.813435)'), GeomFromEWKT('SRID=4674;POINT (-40.121987 -2.813425)'))) / (select extract(epoch from '2026-08-12 08:28:01'::timestamp) - extract(epoch from '2026-08-12 08:27:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.121788 -2.813428)', '2026-08-12 08:28:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121987 -2.813425)'), GeomFromEWKT('SRID=4674;POINT (-40.121788 -2.813428)'))) / (select extract(epoch from '2026-08-12 08:28:14'::timestamp) - extract(epoch from '2026-08-12 08:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121987 -2.813425)'), GeomFromEWKT('SRID=4674;POINT (-40.121788 -2.813428)'))) / (select extract(epoch from '2026-08-12 08:28:14'::timestamp) - extract(epoch from '2026-08-12 08:28: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'), 48198, 'SRID=4674;POINT (-40.121612 -2.813416)', '2026-08-12 08:28:25', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121788 -2.813428)'), GeomFromEWKT('SRID=4674;POINT (-40.121612 -2.813416)'))) / (select extract(epoch from '2026-08-12 08:28:25'::timestamp) - extract(epoch from '2026-08-12 08:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121788 -2.813428)'), GeomFromEWKT('SRID=4674;POINT (-40.121612 -2.813416)'))) / (select extract(epoch from '2026-08-12 08:28:25'::timestamp) - extract(epoch from '2026-08-12 08:28: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'), 48198, 'SRID=4674;POINT (-40.121458 -2.813392)', '2026-08-12 08:28:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121612 -2.813416)'), GeomFromEWKT('SRID=4674;POINT (-40.121458 -2.813392)'))) / (select extract(epoch from '2026-08-12 08:28:35'::timestamp) - extract(epoch from '2026-08-12 08:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121612 -2.813416)'), GeomFromEWKT('SRID=4674;POINT (-40.121458 -2.813392)'))) / (select extract(epoch from '2026-08-12 08:28:35'::timestamp) - extract(epoch from '2026-08-12 08:28: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'), 48198, 'SRID=4674;POINT (-40.121239 -2.813367)', '2026-08-12 08:28:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121458 -2.813392)'), GeomFromEWKT('SRID=4674;POINT (-40.121239 -2.813367)'))) / (select extract(epoch from '2026-08-12 08:28:49'::timestamp) - extract(epoch from '2026-08-12 08:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121458 -2.813392)'), GeomFromEWKT('SRID=4674;POINT (-40.121239 -2.813367)'))) / (select extract(epoch from '2026-08-12 08:28:49'::timestamp) - extract(epoch from '2026-08-12 08:28:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.12107 -2.813326)', '2026-08-12 08:29:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121239 -2.813367)'), GeomFromEWKT('SRID=4674;POINT (-40.12107 -2.813326)'))) / (select extract(epoch from '2026-08-12 08:29:00'::timestamp) - extract(epoch from '2026-08-12 08:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121239 -2.813367)'), GeomFromEWKT('SRID=4674;POINT (-40.12107 -2.813326)'))) / (select extract(epoch from '2026-08-12 08:29:00'::timestamp) - extract(epoch from '2026-08-12 08:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.120895 -2.81329)', '2026-08-12 08:29:11', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12107 -2.813326)'), GeomFromEWKT('SRID=4674;POINT (-40.120895 -2.81329)'))) / (select extract(epoch from '2026-08-12 08:29:11'::timestamp) - extract(epoch from '2026-08-12 08:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12107 -2.813326)'), GeomFromEWKT('SRID=4674;POINT (-40.120895 -2.81329)'))) / (select extract(epoch from '2026-08-12 08:29:11'::timestamp) - extract(epoch from '2026-08-12 08:29: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'), 48198, 'SRID=4674;POINT (-40.12072 -2.813258)', '2026-08-12 08:29:22', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120895 -2.81329)'), GeomFromEWKT('SRID=4674;POINT (-40.12072 -2.813258)'))) / (select extract(epoch from '2026-08-12 08:29:22'::timestamp) - extract(epoch from '2026-08-12 08:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120895 -2.81329)'), GeomFromEWKT('SRID=4674;POINT (-40.12072 -2.813258)'))) / (select extract(epoch from '2026-08-12 08:29:22'::timestamp) - extract(epoch from '2026-08-12 08:29: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'), 48198, 'SRID=4674;POINT (-40.120517 -2.813219)', '2026-08-12 08:29:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12072 -2.813258)'), GeomFromEWKT('SRID=4674;POINT (-40.120517 -2.813219)'))) / (select extract(epoch from '2026-08-12 08:29:35'::timestamp) - extract(epoch from '2026-08-12 08:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12072 -2.813258)'), GeomFromEWKT('SRID=4674;POINT (-40.120517 -2.813219)'))) / (select extract(epoch from '2026-08-12 08:29:35'::timestamp) - extract(epoch from '2026-08-12 08:29: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'), 48198, 'SRID=4674;POINT (-40.120321 -2.813186)', '2026-08-12 08:29:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120517 -2.813219)'), GeomFromEWKT('SRID=4674;POINT (-40.120321 -2.813186)'))) / (select extract(epoch from '2026-08-12 08:29:47'::timestamp) - extract(epoch from '2026-08-12 08:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120517 -2.813219)'), GeomFromEWKT('SRID=4674;POINT (-40.120321 -2.813186)'))) / (select extract(epoch from '2026-08-12 08:29:47'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.120136 -2.813146)', '2026-08-12 08:29:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120321 -2.813186)'), GeomFromEWKT('SRID=4674;POINT (-40.120136 -2.813146)'))) / (select extract(epoch from '2026-08-12 08:29:59'::timestamp) - extract(epoch from '2026-08-12 08:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120321 -2.813186)'), GeomFromEWKT('SRID=4674;POINT (-40.120136 -2.813146)'))) / (select extract(epoch from '2026-08-12 08:29:59'::timestamp) - extract(epoch from '2026-08-12 08:29: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'), 48198, 'SRID=4674;POINT (-40.11996 -2.813115)', '2026-08-12 08:30:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120136 -2.813146)'), GeomFromEWKT('SRID=4674;POINT (-40.11996 -2.813115)'))) / (select extract(epoch from '2026-08-12 08:30:10'::timestamp) - extract(epoch from '2026-08-12 08:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120136 -2.813146)'), GeomFromEWKT('SRID=4674;POINT (-40.11996 -2.813115)'))) / (select extract(epoch from '2026-08-12 08:30:10'::timestamp) - extract(epoch from '2026-08-12 08:29: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'), 48198, 'SRID=4674;POINT (-40.119802 -2.813094)', '2026-08-12 08:30:20', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11996 -2.813115)'), GeomFromEWKT('SRID=4674;POINT (-40.119802 -2.813094)'))) / (select extract(epoch from '2026-08-12 08:30:20'::timestamp) - extract(epoch from '2026-08-12 08:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11996 -2.813115)'), GeomFromEWKT('SRID=4674;POINT (-40.119802 -2.813094)'))) / (select extract(epoch from '2026-08-12 08:30:20'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.119622 -2.813084)', '2026-08-12 08:30:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119802 -2.813094)'), GeomFromEWKT('SRID=4674;POINT (-40.119622 -2.813084)'))) / (select extract(epoch from '2026-08-12 08:30:32'::timestamp) - extract(epoch from '2026-08-12 08:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119802 -2.813094)'), GeomFromEWKT('SRID=4674;POINT (-40.119622 -2.813084)'))) / (select extract(epoch from '2026-08-12 08:30:32'::timestamp) - extract(epoch from '2026-08-12 08:30: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'), 48198, 'SRID=4674;POINT (-40.119495 -2.813085)', '2026-08-12 08:30:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119622 -2.813084)'), GeomFromEWKT('SRID=4674;POINT (-40.119495 -2.813085)'))) / (select extract(epoch from '2026-08-12 08:30:41'::timestamp) - extract(epoch from '2026-08-12 08:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119622 -2.813084)'), GeomFromEWKT('SRID=4674;POINT (-40.119495 -2.813085)'))) / (select extract(epoch from '2026-08-12 08:30:41'::timestamp) - extract(epoch from '2026-08-12 08:30: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'), 48198, 'SRID=4674;POINT (-40.119341 -2.813093)', '2026-08-12 08:30:51', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119495 -2.813085)'), GeomFromEWKT('SRID=4674;POINT (-40.119341 -2.813093)'))) / (select extract(epoch from '2026-08-12 08:30:51'::timestamp) - extract(epoch from '2026-08-12 08:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119495 -2.813085)'), GeomFromEWKT('SRID=4674;POINT (-40.119341 -2.813093)'))) / (select extract(epoch from '2026-08-12 08:30:51'::timestamp) - extract(epoch from '2026-08-12 08:30:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.119166 -2.813086)', '2026-08-12 08:31:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119341 -2.813093)'), GeomFromEWKT('SRID=4674;POINT (-40.119166 -2.813086)'))) / (select extract(epoch from '2026-08-12 08:31:02'::timestamp) - extract(epoch from '2026-08-12 08:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119341 -2.813093)'), GeomFromEWKT('SRID=4674;POINT (-40.119166 -2.813086)'))) / (select extract(epoch from '2026-08-12 08:31:02'::timestamp) - extract(epoch from '2026-08-12 08:30: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'), 48198, 'SRID=4674;POINT (-40.118931 -2.813081)', '2026-08-12 08:31:18', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119166 -2.813086)'), GeomFromEWKT('SRID=4674;POINT (-40.118931 -2.813081)'))) / (select extract(epoch from '2026-08-12 08:31:18'::timestamp) - extract(epoch from '2026-08-12 08:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119166 -2.813086)'), GeomFromEWKT('SRID=4674;POINT (-40.118931 -2.813081)'))) / (select extract(epoch from '2026-08-12 08:31:18'::timestamp) - extract(epoch from '2026-08-12 08:31: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'), 48198, 'SRID=4674;POINT (-40.118725 -2.813062)', '2026-08-12 08:31:31', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118931 -2.813081)'), GeomFromEWKT('SRID=4674;POINT (-40.118725 -2.813062)'))) / (select extract(epoch from '2026-08-12 08:31:31'::timestamp) - extract(epoch from '2026-08-12 08:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118931 -2.813081)'), GeomFromEWKT('SRID=4674;POINT (-40.118725 -2.813062)'))) / (select extract(epoch from '2026-08-12 08:31:31'::timestamp) - extract(epoch from '2026-08-12 08:31: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'), 48198, 'SRID=4674;POINT (-40.118508 -2.81303)', '2026-08-12 08:31:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118725 -2.813062)'), GeomFromEWKT('SRID=4674;POINT (-40.118508 -2.81303)'))) / (select extract(epoch from '2026-08-12 08:31:45'::timestamp) - extract(epoch from '2026-08-12 08:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118725 -2.813062)'), GeomFromEWKT('SRID=4674;POINT (-40.118508 -2.81303)'))) / (select extract(epoch from '2026-08-12 08:31:45'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.118281 -2.813001)', '2026-08-12 08:32:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118508 -2.81303)'), GeomFromEWKT('SRID=4674;POINT (-40.118281 -2.813001)'))) / (select extract(epoch from '2026-08-12 08:32:00'::timestamp) - extract(epoch from '2026-08-12 08:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118508 -2.81303)'), GeomFromEWKT('SRID=4674;POINT (-40.118281 -2.813001)'))) / (select extract(epoch from '2026-08-12 08:32:00'::timestamp) - extract(epoch from '2026-08-12 08:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.118038 -2.812988)', '2026-08-12 08:32:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118281 -2.813001)'), GeomFromEWKT('SRID=4674;POINT (-40.118038 -2.812988)'))) / (select extract(epoch from '2026-08-12 08:32:15'::timestamp) - extract(epoch from '2026-08-12 08:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118281 -2.813001)'), GeomFromEWKT('SRID=4674;POINT (-40.118038 -2.812988)'))) / (select extract(epoch from '2026-08-12 08:32:15'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.117855 -2.812964)', '2026-08-12 08:32:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118038 -2.812988)'), GeomFromEWKT('SRID=4674;POINT (-40.117855 -2.812964)'))) / (select extract(epoch from '2026-08-12 08:32:27'::timestamp) - extract(epoch from '2026-08-12 08:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118038 -2.812988)'), GeomFromEWKT('SRID=4674;POINT (-40.117855 -2.812964)'))) / (select extract(epoch from '2026-08-12 08:32:27'::timestamp) - extract(epoch from '2026-08-12 08:32: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'), 48198, 'SRID=4674;POINT (-40.117717 -2.812924)', '2026-08-12 08:32:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117855 -2.812964)'), GeomFromEWKT('SRID=4674;POINT (-40.117717 -2.812924)'))) / (select extract(epoch from '2026-08-12 08:32:36'::timestamp) - extract(epoch from '2026-08-12 08:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117855 -2.812964)'), GeomFromEWKT('SRID=4674;POINT (-40.117717 -2.812924)'))) / (select extract(epoch from '2026-08-12 08:32:36'::timestamp) - extract(epoch from '2026-08-12 08:32:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.11756 -2.812889)', '2026-08-12 08:32:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117717 -2.812924)'), GeomFromEWKT('SRID=4674;POINT (-40.11756 -2.812889)'))) / (select extract(epoch from '2026-08-12 08:32:46'::timestamp) - extract(epoch from '2026-08-12 08:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117717 -2.812924)'), GeomFromEWKT('SRID=4674;POINT (-40.11756 -2.812889)'))) / (select extract(epoch from '2026-08-12 08:32:46'::timestamp) - extract(epoch from '2026-08-12 08:32: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'), 48198, 'SRID=4674;POINT (-40.117387 -2.812881)', '2026-08-12 08:32:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11756 -2.812889)'), GeomFromEWKT('SRID=4674;POINT (-40.117387 -2.812881)'))) / (select extract(epoch from '2026-08-12 08:32:57'::timestamp) - extract(epoch from '2026-08-12 08:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11756 -2.812889)'), GeomFromEWKT('SRID=4674;POINT (-40.117387 -2.812881)'))) / (select extract(epoch from '2026-08-12 08:32:57'::timestamp) - extract(epoch from '2026-08-12 08:32:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.117226 -2.812904)', '2026-08-12 08:33:08', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117387 -2.812881)'), GeomFromEWKT('SRID=4674;POINT (-40.117226 -2.812904)'))) / (select extract(epoch from '2026-08-12 08:33:08'::timestamp) - extract(epoch from '2026-08-12 08:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117387 -2.812881)'), GeomFromEWKT('SRID=4674;POINT (-40.117226 -2.812904)'))) / (select extract(epoch from '2026-08-12 08:33:08'::timestamp) - extract(epoch from '2026-08-12 08:32: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'), 48198, 'SRID=4674;POINT (-40.117052 -2.812923)', '2026-08-12 08:33:19', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117226 -2.812904)'), GeomFromEWKT('SRID=4674;POINT (-40.117052 -2.812923)'))) / (select extract(epoch from '2026-08-12 08:33:19'::timestamp) - extract(epoch from '2026-08-12 08:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117226 -2.812904)'), GeomFromEWKT('SRID=4674;POINT (-40.117052 -2.812923)'))) / (select extract(epoch from '2026-08-12 08:33:19'::timestamp) - extract(epoch from '2026-08-12 08:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.116889 -2.812926)', '2026-08-12 08:33:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117052 -2.812923)'), GeomFromEWKT('SRID=4674;POINT (-40.116889 -2.812926)'))) / (select extract(epoch from '2026-08-12 08:33:29'::timestamp) - extract(epoch from '2026-08-12 08:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117052 -2.812923)'), GeomFromEWKT('SRID=4674;POINT (-40.116889 -2.812926)'))) / (select extract(epoch from '2026-08-12 08:33:29'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.116697 -2.812957)', '2026-08-12 08:33:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116889 -2.812926)'), GeomFromEWKT('SRID=4674;POINT (-40.116697 -2.812957)'))) / (select extract(epoch from '2026-08-12 08:33:41'::timestamp) - extract(epoch from '2026-08-12 08:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116889 -2.812926)'), GeomFromEWKT('SRID=4674;POINT (-40.116697 -2.812957)'))) / (select extract(epoch from '2026-08-12 08:33:41'::timestamp) - extract(epoch from '2026-08-12 08:33: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'), 48198, 'SRID=4674;POINT (-40.116535 -2.812991)', '2026-08-12 08:33:51', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116697 -2.812957)'), GeomFromEWKT('SRID=4674;POINT (-40.116535 -2.812991)'))) / (select extract(epoch from '2026-08-12 08:33:51'::timestamp) - extract(epoch from '2026-08-12 08:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116697 -2.812957)'), GeomFromEWKT('SRID=4674;POINT (-40.116535 -2.812991)'))) / (select extract(epoch from '2026-08-12 08:33:51'::timestamp) - extract(epoch from '2026-08-12 08:33:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.116354 -2.813026)', '2026-08-12 08:34:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116535 -2.812991)'), GeomFromEWKT('SRID=4674;POINT (-40.116354 -2.813026)'))) / (select extract(epoch from '2026-08-12 08:34:02'::timestamp) - extract(epoch from '2026-08-12 08:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116535 -2.812991)'), GeomFromEWKT('SRID=4674;POINT (-40.116354 -2.813026)'))) / (select extract(epoch from '2026-08-12 08:34:02'::timestamp) - extract(epoch from '2026-08-12 08:33: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'), 48198, 'SRID=4674;POINT (-40.11616 -2.813057)', '2026-08-12 08:34:14', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116354 -2.813026)'), GeomFromEWKT('SRID=4674;POINT (-40.11616 -2.813057)'))) / (select extract(epoch from '2026-08-12 08:34:14'::timestamp) - extract(epoch from '2026-08-12 08:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116354 -2.813026)'), GeomFromEWKT('SRID=4674;POINT (-40.11616 -2.813057)'))) / (select extract(epoch from '2026-08-12 08:34:14'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.115994 -2.813098)', '2026-08-12 08:34:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11616 -2.813057)'), GeomFromEWKT('SRID=4674;POINT (-40.115994 -2.813098)'))) / (select extract(epoch from '2026-08-12 08:34:25'::timestamp) - extract(epoch from '2026-08-12 08:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11616 -2.813057)'), GeomFromEWKT('SRID=4674;POINT (-40.115994 -2.813098)'))) / (select extract(epoch from '2026-08-12 08:34:25'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.115824 -2.813128)', '2026-08-12 08:34:36', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115994 -2.813098)'), GeomFromEWKT('SRID=4674;POINT (-40.115824 -2.813128)'))) / (select extract(epoch from '2026-08-12 08:34:36'::timestamp) - extract(epoch from '2026-08-12 08:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115994 -2.813098)'), GeomFromEWKT('SRID=4674;POINT (-40.115824 -2.813128)'))) / (select extract(epoch from '2026-08-12 08:34:36'::timestamp) - extract(epoch from '2026-08-12 08:34:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.115683 -2.813141)', '2026-08-12 08:34:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115824 -2.813128)'), GeomFromEWKT('SRID=4674;POINT (-40.115683 -2.813141)'))) / (select extract(epoch from '2026-08-12 08:34:46'::timestamp) - extract(epoch from '2026-08-12 08:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115824 -2.813128)'), GeomFromEWKT('SRID=4674;POINT (-40.115683 -2.813141)'))) / (select extract(epoch from '2026-08-12 08:34:46'::timestamp) - extract(epoch from '2026-08-12 08:34: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'), 48198, 'SRID=4674;POINT (-40.115497 -2.813163)', '2026-08-12 08:34:58', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115683 -2.813141)'), GeomFromEWKT('SRID=4674;POINT (-40.115497 -2.813163)'))) / (select extract(epoch from '2026-08-12 08:34:58'::timestamp) - extract(epoch from '2026-08-12 08:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115683 -2.813141)'), GeomFromEWKT('SRID=4674;POINT (-40.115497 -2.813163)'))) / (select extract(epoch from '2026-08-12 08:34:58'::timestamp) - extract(epoch from '2026-08-12 08:34:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.115341 -2.813199)', '2026-08-12 08:35:08', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115497 -2.813163)'), GeomFromEWKT('SRID=4674;POINT (-40.115341 -2.813199)'))) / (select extract(epoch from '2026-08-12 08:35:08'::timestamp) - extract(epoch from '2026-08-12 08:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115497 -2.813163)'), GeomFromEWKT('SRID=4674;POINT (-40.115341 -2.813199)'))) / (select extract(epoch from '2026-08-12 08:35:08'::timestamp) - extract(epoch from '2026-08-12 08:34: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'), 48198, 'SRID=4674;POINT (-40.115196 -2.813244)', '2026-08-12 08:35:17', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115341 -2.813199)'), GeomFromEWKT('SRID=4674;POINT (-40.115196 -2.813244)'))) / (select extract(epoch from '2026-08-12 08:35:17'::timestamp) - extract(epoch from '2026-08-12 08:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115341 -2.813199)'), GeomFromEWKT('SRID=4674;POINT (-40.115196 -2.813244)'))) / (select extract(epoch from '2026-08-12 08:35:17'::timestamp) - extract(epoch from '2026-08-12 08:35: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'), 48198, 'SRID=4674;POINT (-40.115059 -2.81328)', '2026-08-12 08:35:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115196 -2.813244)'), GeomFromEWKT('SRID=4674;POINT (-40.115059 -2.81328)'))) / (select extract(epoch from '2026-08-12 08:35:26'::timestamp) - extract(epoch from '2026-08-12 08:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115196 -2.813244)'), GeomFromEWKT('SRID=4674;POINT (-40.115059 -2.81328)'))) / (select extract(epoch from '2026-08-12 08:35:26'::timestamp) - extract(epoch from '2026-08-12 08:35: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'), 48198, 'SRID=4674;POINT (-40.114908 -2.813324)', '2026-08-12 08:35:36', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115059 -2.81328)'), GeomFromEWKT('SRID=4674;POINT (-40.114908 -2.813324)'))) / (select extract(epoch from '2026-08-12 08:35:36'::timestamp) - extract(epoch from '2026-08-12 08:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115059 -2.81328)'), GeomFromEWKT('SRID=4674;POINT (-40.114908 -2.813324)'))) / (select extract(epoch from '2026-08-12 08:35:36'::timestamp) - extract(epoch from '2026-08-12 08:35: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'), 48198, 'SRID=4674;POINT (-40.114769 -2.81335)', '2026-08-12 08:35:45', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114908 -2.813324)'), GeomFromEWKT('SRID=4674;POINT (-40.114769 -2.81335)'))) / (select extract(epoch from '2026-08-12 08:35:45'::timestamp) - extract(epoch from '2026-08-12 08:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114908 -2.813324)'), GeomFromEWKT('SRID=4674;POINT (-40.114769 -2.81335)'))) / (select extract(epoch from '2026-08-12 08:35:45'::timestamp) - extract(epoch from '2026-08-12 08:35:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.114625 -2.813369)', '2026-08-12 08:35:54', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114769 -2.81335)'), GeomFromEWKT('SRID=4674;POINT (-40.114625 -2.813369)'))) / (select extract(epoch from '2026-08-12 08:35:54'::timestamp) - extract(epoch from '2026-08-12 08:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114769 -2.81335)'), GeomFromEWKT('SRID=4674;POINT (-40.114625 -2.813369)'))) / (select extract(epoch from '2026-08-12 08:35:54'::timestamp) - extract(epoch from '2026-08-12 08:35: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'), 48198, 'SRID=4674;POINT (-40.114501 -2.813364)', '2026-08-12 08:36:02', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114625 -2.813369)'), GeomFromEWKT('SRID=4674;POINT (-40.114501 -2.813364)'))) / (select extract(epoch from '2026-08-12 08:36:02'::timestamp) - extract(epoch from '2026-08-12 08:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114625 -2.813369)'), GeomFromEWKT('SRID=4674;POINT (-40.114501 -2.813364)'))) / (select extract(epoch from '2026-08-12 08:36:02'::timestamp) - extract(epoch from '2026-08-12 08:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.114328 -2.813367)', '2026-08-12 08:36:13', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114501 -2.813364)'), GeomFromEWKT('SRID=4674;POINT (-40.114328 -2.813367)'))) / (select extract(epoch from '2026-08-12 08:36:13'::timestamp) - extract(epoch from '2026-08-12 08:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114501 -2.813364)'), GeomFromEWKT('SRID=4674;POINT (-40.114328 -2.813367)'))) / (select extract(epoch from '2026-08-12 08:36:13'::timestamp) - extract(epoch from '2026-08-12 08:36: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'), 48198, 'SRID=4674;POINT (-40.114144 -2.813377)', '2026-08-12 08:36:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114328 -2.813367)'), GeomFromEWKT('SRID=4674;POINT (-40.114144 -2.813377)'))) / (select extract(epoch from '2026-08-12 08:36:25'::timestamp) - extract(epoch from '2026-08-12 08:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114328 -2.813367)'), GeomFromEWKT('SRID=4674;POINT (-40.114144 -2.813377)'))) / (select extract(epoch from '2026-08-12 08:36:25'::timestamp) - extract(epoch from '2026-08-12 08:36: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'), 48198, 'SRID=4674;POINT (-40.11398 -2.813368)', '2026-08-12 08:36:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114144 -2.813377)'), GeomFromEWKT('SRID=4674;POINT (-40.11398 -2.813368)'))) / (select extract(epoch from '2026-08-12 08:36:36'::timestamp) - extract(epoch from '2026-08-12 08:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114144 -2.813377)'), GeomFromEWKT('SRID=4674;POINT (-40.11398 -2.813368)'))) / (select extract(epoch from '2026-08-12 08:36:36'::timestamp) - extract(epoch from '2026-08-12 08:36: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'), 48198, 'SRID=4674;POINT (-40.113822 -2.813374)', '2026-08-12 08:36:46', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11398 -2.813368)'), GeomFromEWKT('SRID=4674;POINT (-40.113822 -2.813374)'))) / (select extract(epoch from '2026-08-12 08:36:46'::timestamp) - extract(epoch from '2026-08-12 08:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11398 -2.813368)'), GeomFromEWKT('SRID=4674;POINT (-40.113822 -2.813374)'))) / (select extract(epoch from '2026-08-12 08:36:46'::timestamp) - extract(epoch from '2026-08-12 08:36:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.113633 -2.813397)', '2026-08-12 08:36:58', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113822 -2.813374)'), GeomFromEWKT('SRID=4674;POINT (-40.113633 -2.813397)'))) / (select extract(epoch from '2026-08-12 08:36:58'::timestamp) - extract(epoch from '2026-08-12 08:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113822 -2.813374)'), GeomFromEWKT('SRID=4674;POINT (-40.113633 -2.813397)'))) / (select extract(epoch from '2026-08-12 08:36:58'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.11347 -2.813423)', '2026-08-12 08:37:09', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113633 -2.813397)'), GeomFromEWKT('SRID=4674;POINT (-40.11347 -2.813423)'))) / (select extract(epoch from '2026-08-12 08:37:09'::timestamp) - extract(epoch from '2026-08-12 08:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113633 -2.813397)'), GeomFromEWKT('SRID=4674;POINT (-40.11347 -2.813423)'))) / (select extract(epoch from '2026-08-12 08:37:09'::timestamp) - extract(epoch from '2026-08-12 08:36: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'), 48198, 'SRID=4674;POINT (-40.113257 -2.81345)', '2026-08-12 08:37:23', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11347 -2.813423)'), GeomFromEWKT('SRID=4674;POINT (-40.113257 -2.81345)'))) / (select extract(epoch from '2026-08-12 08:37:23'::timestamp) - extract(epoch from '2026-08-12 08:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11347 -2.813423)'), GeomFromEWKT('SRID=4674;POINT (-40.113257 -2.81345)'))) / (select extract(epoch from '2026-08-12 08:37:23'::timestamp) - extract(epoch from '2026-08-12 08:37:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.11308 -2.813477)', '2026-08-12 08:37:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113257 -2.81345)'), GeomFromEWKT('SRID=4674;POINT (-40.11308 -2.813477)'))) / (select extract(epoch from '2026-08-12 08:37:34'::timestamp) - extract(epoch from '2026-08-12 08:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113257 -2.81345)'), GeomFromEWKT('SRID=4674;POINT (-40.11308 -2.813477)'))) / (select extract(epoch from '2026-08-12 08:37:34'::timestamp) - extract(epoch from '2026-08-12 08:37: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'), 48198, 'SRID=4674;POINT (-40.112908 -2.813495)', '2026-08-12 08:37:45', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11308 -2.813477)'), GeomFromEWKT('SRID=4674;POINT (-40.112908 -2.813495)'))) / (select extract(epoch from '2026-08-12 08:37:45'::timestamp) - extract(epoch from '2026-08-12 08:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11308 -2.813477)'), GeomFromEWKT('SRID=4674;POINT (-40.112908 -2.813495)'))) / (select extract(epoch from '2026-08-12 08:37:45'::timestamp) - extract(epoch from '2026-08-12 08:37: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'), 48198, 'SRID=4674;POINT (-40.112751 -2.813514)', '2026-08-12 08:37:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112908 -2.813495)'), GeomFromEWKT('SRID=4674;POINT (-40.112751 -2.813514)'))) / (select extract(epoch from '2026-08-12 08:37:55'::timestamp) - extract(epoch from '2026-08-12 08:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112908 -2.813495)'), GeomFromEWKT('SRID=4674;POINT (-40.112751 -2.813514)'))) / (select extract(epoch from '2026-08-12 08:37:55'::timestamp) - extract(epoch from '2026-08-12 08:37:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.112542 -2.813557)', '2026-08-12 08:38:08', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112751 -2.813514)'), GeomFromEWKT('SRID=4674;POINT (-40.112542 -2.813557)'))) / (select extract(epoch from '2026-08-12 08:38:08'::timestamp) - extract(epoch from '2026-08-12 08:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112751 -2.813514)'), GeomFromEWKT('SRID=4674;POINT (-40.112542 -2.813557)'))) / (select extract(epoch from '2026-08-12 08:38:08'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.112405 -2.813583)', '2026-08-12 08:38:17', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112542 -2.813557)'), GeomFromEWKT('SRID=4674;POINT (-40.112405 -2.813583)'))) / (select extract(epoch from '2026-08-12 08:38:17'::timestamp) - extract(epoch from '2026-08-12 08:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112542 -2.813557)'), GeomFromEWKT('SRID=4674;POINT (-40.112405 -2.813583)'))) / (select extract(epoch from '2026-08-12 08:38:17'::timestamp) - extract(epoch from '2026-08-12 08:38: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'), 48198, 'SRID=4674;POINT (-40.112235 -2.813603)', '2026-08-12 08:38:28', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112405 -2.813583)'), GeomFromEWKT('SRID=4674;POINT (-40.112235 -2.813603)'))) / (select extract(epoch from '2026-08-12 08:38:28'::timestamp) - extract(epoch from '2026-08-12 08:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112405 -2.813583)'), GeomFromEWKT('SRID=4674;POINT (-40.112235 -2.813603)'))) / (select extract(epoch from '2026-08-12 08:38:28'::timestamp) - extract(epoch from '2026-08-12 08:38: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'), 48198, 'SRID=4674;POINT (-40.112026 -2.813614)', '2026-08-12 08:38:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112235 -2.813603)'), GeomFromEWKT('SRID=4674;POINT (-40.112026 -2.813614)'))) / (select extract(epoch from '2026-08-12 08:38:41'::timestamp) - extract(epoch from '2026-08-12 08:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112235 -2.813603)'), GeomFromEWKT('SRID=4674;POINT (-40.112026 -2.813614)'))) / (select extract(epoch from '2026-08-12 08:38:41'::timestamp) - extract(epoch from '2026-08-12 08:38:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.111854 -2.813636)', '2026-08-12 08:38:52', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112026 -2.813614)'), GeomFromEWKT('SRID=4674;POINT (-40.111854 -2.813636)'))) / (select extract(epoch from '2026-08-12 08:38:52'::timestamp) - extract(epoch from '2026-08-12 08:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112026 -2.813614)'), GeomFromEWKT('SRID=4674;POINT (-40.111854 -2.813636)'))) / (select extract(epoch from '2026-08-12 08:38:52'::timestamp) - extract(epoch from '2026-08-12 08:38: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'), 48198, 'SRID=4674;POINT (-40.111646 -2.813659)', '2026-08-12 08:39:05', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111854 -2.813636)'), GeomFromEWKT('SRID=4674;POINT (-40.111646 -2.813659)'))) / (select extract(epoch from '2026-08-12 08:39:05'::timestamp) - extract(epoch from '2026-08-12 08:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111854 -2.813636)'), GeomFromEWKT('SRID=4674;POINT (-40.111646 -2.813659)'))) / (select extract(epoch from '2026-08-12 08:39:05'::timestamp) - extract(epoch from '2026-08-12 08:38: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'), 48198, 'SRID=4674;POINT (-40.111466 -2.813676)', '2026-08-12 08:39:17', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111646 -2.813659)'), GeomFromEWKT('SRID=4674;POINT (-40.111466 -2.813676)'))) / (select extract(epoch from '2026-08-12 08:39:17'::timestamp) - extract(epoch from '2026-08-12 08:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111646 -2.813659)'), GeomFromEWKT('SRID=4674;POINT (-40.111466 -2.813676)'))) / (select extract(epoch from '2026-08-12 08:39:17'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.111306 -2.81369)', '2026-08-12 08:39:27', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111466 -2.813676)'), GeomFromEWKT('SRID=4674;POINT (-40.111306 -2.81369)'))) / (select extract(epoch from '2026-08-12 08:39:27'::timestamp) - extract(epoch from '2026-08-12 08:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111466 -2.813676)'), GeomFromEWKT('SRID=4674;POINT (-40.111306 -2.81369)'))) / (select extract(epoch from '2026-08-12 08:39:27'::timestamp) - extract(epoch from '2026-08-12 08:39: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'), 48198, 'SRID=4674;POINT (-40.111145 -2.813712)', '2026-08-12 08:39:37', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111306 -2.81369)'), GeomFromEWKT('SRID=4674;POINT (-40.111145 -2.813712)'))) / (select extract(epoch from '2026-08-12 08:39:37'::timestamp) - extract(epoch from '2026-08-12 08:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111306 -2.81369)'), GeomFromEWKT('SRID=4674;POINT (-40.111145 -2.813712)'))) / (select extract(epoch from '2026-08-12 08:39:37'::timestamp) - extract(epoch from '2026-08-12 08:39: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'), 48198, 'SRID=4674;POINT (-40.11093 -2.813735)', '2026-08-12 08:39:50', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111145 -2.813712)'), GeomFromEWKT('SRID=4674;POINT (-40.11093 -2.813735)'))) / (select extract(epoch from '2026-08-12 08:39:50'::timestamp) - extract(epoch from '2026-08-12 08:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111145 -2.813712)'), GeomFromEWKT('SRID=4674;POINT (-40.11093 -2.813735)'))) / (select extract(epoch from '2026-08-12 08:39:50'::timestamp) - extract(epoch from '2026-08-12 08:39: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'), 48198, 'SRID=4674;POINT (-40.110762 -2.813758)', '2026-08-12 08:40:01', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11093 -2.813735)'), GeomFromEWKT('SRID=4674;POINT (-40.110762 -2.813758)'))) / (select extract(epoch from '2026-08-12 08:40:01'::timestamp) - extract(epoch from '2026-08-12 08:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11093 -2.813735)'), GeomFromEWKT('SRID=4674;POINT (-40.110762 -2.813758)'))) / (select extract(epoch from '2026-08-12 08:40:01'::timestamp) - extract(epoch from '2026-08-12 08:39: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'), 48198, 'SRID=4674;POINT (-40.110587 -2.813766)', '2026-08-12 08:40:12', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110762 -2.813758)'), GeomFromEWKT('SRID=4674;POINT (-40.110587 -2.813766)'))) / (select extract(epoch from '2026-08-12 08:40:12'::timestamp) - extract(epoch from '2026-08-12 08:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110762 -2.813758)'), GeomFromEWKT('SRID=4674;POINT (-40.110587 -2.813766)'))) / (select extract(epoch from '2026-08-12 08:40:12'::timestamp) - extract(epoch from '2026-08-12 08:40: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'), 48198, 'SRID=4674;POINT (-40.110423 -2.813814)', '2026-08-12 08:40:23', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110587 -2.813766)'), GeomFromEWKT('SRID=4674;POINT (-40.110423 -2.813814)'))) / (select extract(epoch from '2026-08-12 08:40:23'::timestamp) - extract(epoch from '2026-08-12 08:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110587 -2.813766)'), GeomFromEWKT('SRID=4674;POINT (-40.110423 -2.813814)'))) / (select extract(epoch from '2026-08-12 08:40:23'::timestamp) - extract(epoch from '2026-08-12 08:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.110248 -2.813842)', '2026-08-12 08:40:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110423 -2.813814)'), GeomFromEWKT('SRID=4674;POINT (-40.110248 -2.813842)'))) / (select extract(epoch from '2026-08-12 08:40:34'::timestamp) - extract(epoch from '2026-08-12 08:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110423 -2.813814)'), GeomFromEWKT('SRID=4674;POINT (-40.110248 -2.813842)'))) / (select extract(epoch from '2026-08-12 08:40:34'::timestamp) - extract(epoch from '2026-08-12 08:40:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.110083 -2.813857)', '2026-08-12 08:40:44', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110248 -2.813842)'), GeomFromEWKT('SRID=4674;POINT (-40.110083 -2.813857)'))) / (select extract(epoch from '2026-08-12 08:40:44'::timestamp) - extract(epoch from '2026-08-12 08:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110248 -2.813842)'), GeomFromEWKT('SRID=4674;POINT (-40.110083 -2.813857)'))) / (select extract(epoch from '2026-08-12 08:40:44'::timestamp) - extract(epoch from '2026-08-12 08:40: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'), 48198, 'SRID=4674;POINT (-40.109911 -2.813863)', '2026-08-12 08:40:55', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110083 -2.813857)'), GeomFromEWKT('SRID=4674;POINT (-40.109911 -2.813863)'))) / (select extract(epoch from '2026-08-12 08:40:55'::timestamp) - extract(epoch from '2026-08-12 08:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110083 -2.813857)'), GeomFromEWKT('SRID=4674;POINT (-40.109911 -2.813863)'))) / (select extract(epoch from '2026-08-12 08:40:55'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.109699 -2.81386)', '2026-08-12 08:41:08', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109911 -2.813863)'), GeomFromEWKT('SRID=4674;POINT (-40.109699 -2.81386)'))) / (select extract(epoch from '2026-08-12 08:41:08'::timestamp) - extract(epoch from '2026-08-12 08:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109911 -2.813863)'), GeomFromEWKT('SRID=4674;POINT (-40.109699 -2.81386)'))) / (select extract(epoch from '2026-08-12 08:41:08'::timestamp) - extract(epoch from '2026-08-12 08:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.109504 -2.813851)', '2026-08-12 08:41:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109699 -2.81386)'), GeomFromEWKT('SRID=4674;POINT (-40.109504 -2.813851)'))) / (select extract(epoch from '2026-08-12 08:41:20'::timestamp) - extract(epoch from '2026-08-12 08:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109699 -2.81386)'), GeomFromEWKT('SRID=4674;POINT (-40.109504 -2.813851)'))) / (select extract(epoch from '2026-08-12 08:41:20'::timestamp) - extract(epoch from '2026-08-12 08:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.109344 -2.813845)', '2026-08-12 08:41:30', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109504 -2.813851)'), GeomFromEWKT('SRID=4674;POINT (-40.109344 -2.813845)'))) / (select extract(epoch from '2026-08-12 08:41:30'::timestamp) - extract(epoch from '2026-08-12 08:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109504 -2.813851)'), GeomFromEWKT('SRID=4674;POINT (-40.109344 -2.813845)'))) / (select extract(epoch from '2026-08-12 08:41:30'::timestamp) - extract(epoch from '2026-08-12 08:41:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.109114 -2.813833)', '2026-08-12 08:41:44', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109344 -2.813845)'), GeomFromEWKT('SRID=4674;POINT (-40.109114 -2.813833)'))) / (select extract(epoch from '2026-08-12 08:41:44'::timestamp) - extract(epoch from '2026-08-12 08:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109344 -2.813845)'), GeomFromEWKT('SRID=4674;POINT (-40.109114 -2.813833)'))) / (select extract(epoch from '2026-08-12 08:41:44'::timestamp) - extract(epoch from '2026-08-12 08:41: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'), 48198, 'SRID=4674;POINT (-40.108918 -2.81382)', '2026-08-12 08:41:56', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109114 -2.813833)'), GeomFromEWKT('SRID=4674;POINT (-40.108918 -2.81382)'))) / (select extract(epoch from '2026-08-12 08:41:56'::timestamp) - extract(epoch from '2026-08-12 08:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109114 -2.813833)'), GeomFromEWKT('SRID=4674;POINT (-40.108918 -2.81382)'))) / (select extract(epoch from '2026-08-12 08:41:56'::timestamp) - extract(epoch from '2026-08-12 08:41:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.108705 -2.813817)', '2026-08-12 08:42:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108918 -2.81382)'), GeomFromEWKT('SRID=4674;POINT (-40.108705 -2.813817)'))) / (select extract(epoch from '2026-08-12 08:42:09'::timestamp) - extract(epoch from '2026-08-12 08:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108918 -2.81382)'), GeomFromEWKT('SRID=4674;POINT (-40.108705 -2.813817)'))) / (select extract(epoch from '2026-08-12 08:42:09'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.108441 -2.813809)', '2026-08-12 08:42:25', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108705 -2.813817)'), GeomFromEWKT('SRID=4674;POINT (-40.108441 -2.813809)'))) / (select extract(epoch from '2026-08-12 08:42:25'::timestamp) - extract(epoch from '2026-08-12 08:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108705 -2.813817)'), GeomFromEWKT('SRID=4674;POINT (-40.108441 -2.813809)'))) / (select extract(epoch from '2026-08-12 08:42:25'::timestamp) - extract(epoch from '2026-08-12 08:42:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.108241 -2.813792)', '2026-08-12 08:42:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108441 -2.813809)'), GeomFromEWKT('SRID=4674;POINT (-40.108241 -2.813792)'))) / (select extract(epoch from '2026-08-12 08:42:38'::timestamp) - extract(epoch from '2026-08-12 08:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108441 -2.813809)'), GeomFromEWKT('SRID=4674;POINT (-40.108241 -2.813792)'))) / (select extract(epoch from '2026-08-12 08:42:38'::timestamp) - extract(epoch from '2026-08-12 08:42: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'), 48198, 'SRID=4674;POINT (-40.108111 -2.813793)', '2026-08-12 08:42:46', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108241 -2.813792)'), GeomFromEWKT('SRID=4674;POINT (-40.108111 -2.813793)'))) / (select extract(epoch from '2026-08-12 08:42:46'::timestamp) - extract(epoch from '2026-08-12 08:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108241 -2.813792)'), GeomFromEWKT('SRID=4674;POINT (-40.108111 -2.813793)'))) / (select extract(epoch from '2026-08-12 08:42:46'::timestamp) - extract(epoch from '2026-08-12 08:42: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'), 48198, 'SRID=4674;POINT (-40.107937 -2.813785)', '2026-08-12 08:42:57', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108111 -2.813793)'), GeomFromEWKT('SRID=4674;POINT (-40.107937 -2.813785)'))) / (select extract(epoch from '2026-08-12 08:42:57'::timestamp) - extract(epoch from '2026-08-12 08:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108111 -2.813793)'), GeomFromEWKT('SRID=4674;POINT (-40.107937 -2.813785)'))) / (select extract(epoch from '2026-08-12 08:42:57'::timestamp) - extract(epoch from '2026-08-12 08:42: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'), 48198, 'SRID=4674;POINT (-40.107779 -2.813789)', '2026-08-12 08:43:07', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107937 -2.813785)'), GeomFromEWKT('SRID=4674;POINT (-40.107779 -2.813789)'))) / (select extract(epoch from '2026-08-12 08:43:07'::timestamp) - extract(epoch from '2026-08-12 08:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107937 -2.813785)'), GeomFromEWKT('SRID=4674;POINT (-40.107779 -2.813789)'))) / (select extract(epoch from '2026-08-12 08:43:07'::timestamp) - extract(epoch from '2026-08-12 08:42:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.107582 -2.813807)', '2026-08-12 08:43:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107779 -2.813789)'), GeomFromEWKT('SRID=4674;POINT (-40.107582 -2.813807)'))) / (select extract(epoch from '2026-08-12 08:43:20'::timestamp) - extract(epoch from '2026-08-12 08:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107779 -2.813789)'), GeomFromEWKT('SRID=4674;POINT (-40.107582 -2.813807)'))) / (select extract(epoch from '2026-08-12 08:43:20'::timestamp) - extract(epoch from '2026-08-12 08:43: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'), 48198, 'SRID=4674;POINT (-40.10737 -2.813807)', '2026-08-12 08:43:34', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107582 -2.813807)'), GeomFromEWKT('SRID=4674;POINT (-40.10737 -2.813807)'))) / (select extract(epoch from '2026-08-12 08:43:34'::timestamp) - extract(epoch from '2026-08-12 08:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107582 -2.813807)'), GeomFromEWKT('SRID=4674;POINT (-40.10737 -2.813807)'))) / (select extract(epoch from '2026-08-12 08:43:34'::timestamp) - extract(epoch from '2026-08-12 08:43:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.107209 -2.813782)', '2026-08-12 08:43:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10737 -2.813807)'), GeomFromEWKT('SRID=4674;POINT (-40.107209 -2.813782)'))) / (select extract(epoch from '2026-08-12 08:43:44'::timestamp) - extract(epoch from '2026-08-12 08:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10737 -2.813807)'), GeomFromEWKT('SRID=4674;POINT (-40.107209 -2.813782)'))) / (select extract(epoch from '2026-08-12 08:43:44'::timestamp) - extract(epoch from '2026-08-12 08:43: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'), 48198, 'SRID=4674;POINT (-40.107032 -2.813768)', '2026-08-12 08:43:55', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107209 -2.813782)'), GeomFromEWKT('SRID=4674;POINT (-40.107032 -2.813768)'))) / (select extract(epoch from '2026-08-12 08:43:55'::timestamp) - extract(epoch from '2026-08-12 08:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107209 -2.813782)'), GeomFromEWKT('SRID=4674;POINT (-40.107032 -2.813768)'))) / (select extract(epoch from '2026-08-12 08:43:55'::timestamp) - extract(epoch from '2026-08-12 08:43:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.106856 -2.813765)', '2026-08-12 08:44:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107032 -2.813768)'), GeomFromEWKT('SRID=4674;POINT (-40.106856 -2.813765)'))) / (select extract(epoch from '2026-08-12 08:44:06'::timestamp) - extract(epoch from '2026-08-12 08:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107032 -2.813768)'), GeomFromEWKT('SRID=4674;POINT (-40.106856 -2.813765)'))) / (select extract(epoch from '2026-08-12 08:44:06'::timestamp) - extract(epoch from '2026-08-12 08:43: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'), 48198, 'SRID=4674;POINT (-40.10663 -2.813762)', '2026-08-12 08:44:20', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106856 -2.813765)'), GeomFromEWKT('SRID=4674;POINT (-40.10663 -2.813762)'))) / (select extract(epoch from '2026-08-12 08:44:20'::timestamp) - extract(epoch from '2026-08-12 08:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106856 -2.813765)'), GeomFromEWKT('SRID=4674;POINT (-40.10663 -2.813762)'))) / (select extract(epoch from '2026-08-12 08:44:20'::timestamp) - extract(epoch from '2026-08-12 08:44: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'), 48198, 'SRID=4674;POINT (-40.106439 -2.813759)', '2026-08-12 08:44:32', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10663 -2.813762)'), GeomFromEWKT('SRID=4674;POINT (-40.106439 -2.813759)'))) / (select extract(epoch from '2026-08-12 08:44:32'::timestamp) - extract(epoch from '2026-08-12 08:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10663 -2.813762)'), GeomFromEWKT('SRID=4674;POINT (-40.106439 -2.813759)'))) / (select extract(epoch from '2026-08-12 08:44:32'::timestamp) - extract(epoch from '2026-08-12 08:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.106233 -2.813774)', '2026-08-12 08:44:45', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106439 -2.813759)'), GeomFromEWKT('SRID=4674;POINT (-40.106233 -2.813774)'))) / (select extract(epoch from '2026-08-12 08:44:45'::timestamp) - extract(epoch from '2026-08-12 08:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106439 -2.813759)'), GeomFromEWKT('SRID=4674;POINT (-40.106233 -2.813774)'))) / (select extract(epoch from '2026-08-12 08:44:45'::timestamp) - extract(epoch from '2026-08-12 08:44:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.106024 -2.81377)', '2026-08-12 08:44:58', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106233 -2.813774)'), GeomFromEWKT('SRID=4674;POINT (-40.106024 -2.81377)'))) / (select extract(epoch from '2026-08-12 08:44:58'::timestamp) - extract(epoch from '2026-08-12 08:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106233 -2.813774)'), GeomFromEWKT('SRID=4674;POINT (-40.106024 -2.81377)'))) / (select extract(epoch from '2026-08-12 08:44:58'::timestamp) - extract(epoch from '2026-08-12 08:44:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.105892 -2.813768)', '2026-08-12 08:45:06', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106024 -2.81377)'), GeomFromEWKT('SRID=4674;POINT (-40.105892 -2.813768)'))) / (select extract(epoch from '2026-08-12 08:45:06'::timestamp) - extract(epoch from '2026-08-12 08:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106024 -2.81377)'), GeomFromEWKT('SRID=4674;POINT (-40.105892 -2.813768)'))) / (select extract(epoch from '2026-08-12 08:45:06'::timestamp) - extract(epoch from '2026-08-12 08:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.105694 -2.81377)', '2026-08-12 08:45:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105892 -2.813768)'), GeomFromEWKT('SRID=4674;POINT (-40.105694 -2.81377)'))) / (select extract(epoch from '2026-08-12 08:45:18'::timestamp) - extract(epoch from '2026-08-12 08:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105892 -2.813768)'), GeomFromEWKT('SRID=4674;POINT (-40.105694 -2.81377)'))) / (select extract(epoch from '2026-08-12 08:45:18'::timestamp) - extract(epoch from '2026-08-12 08:45:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.105549 -2.813773)', '2026-08-12 08:45:27', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105694 -2.81377)'), GeomFromEWKT('SRID=4674;POINT (-40.105549 -2.813773)'))) / (select extract(epoch from '2026-08-12 08:45:27'::timestamp) - extract(epoch from '2026-08-12 08:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105694 -2.81377)'), GeomFromEWKT('SRID=4674;POINT (-40.105549 -2.813773)'))) / (select extract(epoch from '2026-08-12 08:45:27'::timestamp) - extract(epoch from '2026-08-12 08:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.105372 -2.81377)', '2026-08-12 08:45:38', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105549 -2.813773)'), GeomFromEWKT('SRID=4674;POINT (-40.105372 -2.81377)'))) / (select extract(epoch from '2026-08-12 08:45:38'::timestamp) - extract(epoch from '2026-08-12 08:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105549 -2.813773)'), GeomFromEWKT('SRID=4674;POINT (-40.105372 -2.81377)'))) / (select extract(epoch from '2026-08-12 08:45:38'::timestamp) - extract(epoch from '2026-08-12 08:45: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'), 48198, 'SRID=4674;POINT (-40.105222 -2.813759)', '2026-08-12 08:45:47', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105372 -2.81377)'), GeomFromEWKT('SRID=4674;POINT (-40.105222 -2.813759)'))) / (select extract(epoch from '2026-08-12 08:45:47'::timestamp) - extract(epoch from '2026-08-12 08:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105372 -2.81377)'), GeomFromEWKT('SRID=4674;POINT (-40.105222 -2.813759)'))) / (select extract(epoch from '2026-08-12 08:45:47'::timestamp) - extract(epoch from '2026-08-12 08:45: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'), 48198, 'SRID=4674;POINT (-40.105029 -2.813766)', '2026-08-12 08:45:59', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105222 -2.813759)'), GeomFromEWKT('SRID=4674;POINT (-40.105029 -2.813766)'))) / (select extract(epoch from '2026-08-12 08:45:59'::timestamp) - extract(epoch from '2026-08-12 08:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105222 -2.813759)'), GeomFromEWKT('SRID=4674;POINT (-40.105029 -2.813766)'))) / (select extract(epoch from '2026-08-12 08:45:59'::timestamp) - extract(epoch from '2026-08-12 08:45: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'), 48198, 'SRID=4674;POINT (-40.104854 -2.813751)', '2026-08-12 08:46:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105029 -2.813766)'), GeomFromEWKT('SRID=4674;POINT (-40.104854 -2.813751)'))) / (select extract(epoch from '2026-08-12 08:46:10'::timestamp) - extract(epoch from '2026-08-12 08:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105029 -2.813766)'), GeomFromEWKT('SRID=4674;POINT (-40.104854 -2.813751)'))) / (select extract(epoch from '2026-08-12 08:46:10'::timestamp) - extract(epoch from '2026-08-12 08:45:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.104678 -2.813742)', '2026-08-12 08:46:21', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104854 -2.813751)'), GeomFromEWKT('SRID=4674;POINT (-40.104678 -2.813742)'))) / (select extract(epoch from '2026-08-12 08:46:21'::timestamp) - extract(epoch from '2026-08-12 08:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104854 -2.813751)'), GeomFromEWKT('SRID=4674;POINT (-40.104678 -2.813742)'))) / (select extract(epoch from '2026-08-12 08:46:21'::timestamp) - extract(epoch from '2026-08-12 08:46:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.10449 -2.813721)', '2026-08-12 08:46:33', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104678 -2.813742)'), GeomFromEWKT('SRID=4674;POINT (-40.10449 -2.813721)'))) / (select extract(epoch from '2026-08-12 08:46:33'::timestamp) - extract(epoch from '2026-08-12 08:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104678 -2.813742)'), GeomFromEWKT('SRID=4674;POINT (-40.10449 -2.813721)'))) / (select extract(epoch from '2026-08-12 08:46:33'::timestamp) - extract(epoch from '2026-08-12 08:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.104303 -2.813689)', '2026-08-12 08:46:45', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10449 -2.813721)'), GeomFromEWKT('SRID=4674;POINT (-40.104303 -2.813689)'))) / (select extract(epoch from '2026-08-12 08:46:45'::timestamp) - extract(epoch from '2026-08-12 08:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10449 -2.813721)'), GeomFromEWKT('SRID=4674;POINT (-40.104303 -2.813689)'))) / (select extract(epoch from '2026-08-12 08:46:45'::timestamp) - extract(epoch from '2026-08-12 08:46:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.104147 -2.813676)', '2026-08-12 08:46:55', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104303 -2.813689)'), GeomFromEWKT('SRID=4674;POINT (-40.104147 -2.813676)'))) / (select extract(epoch from '2026-08-12 08:46:55'::timestamp) - extract(epoch from '2026-08-12 08:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104303 -2.813689)'), GeomFromEWKT('SRID=4674;POINT (-40.104147 -2.813676)'))) / (select extract(epoch from '2026-08-12 08:46:55'::timestamp) - extract(epoch from '2026-08-12 08:46: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'), 48198, 'SRID=4674;POINT (-40.103977 -2.813659)', '2026-08-12 08:47:06', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104147 -2.813676)'), GeomFromEWKT('SRID=4674;POINT (-40.103977 -2.813659)'))) / (select extract(epoch from '2026-08-12 08:47:06'::timestamp) - extract(epoch from '2026-08-12 08:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104147 -2.813676)'), GeomFromEWKT('SRID=4674;POINT (-40.103977 -2.813659)'))) / (select extract(epoch from '2026-08-12 08:47:06'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.10377 -2.81363)', '2026-08-12 08:47:19', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103977 -2.813659)'), GeomFromEWKT('SRID=4674;POINT (-40.10377 -2.81363)'))) / (select extract(epoch from '2026-08-12 08:47:19'::timestamp) - extract(epoch from '2026-08-12 08:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103977 -2.813659)'), GeomFromEWKT('SRID=4674;POINT (-40.10377 -2.81363)'))) / (select extract(epoch from '2026-08-12 08:47:19'::timestamp) - extract(epoch from '2026-08-12 08:47:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.103578 -2.813619)', '2026-08-12 08:47:31', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10377 -2.81363)'), GeomFromEWKT('SRID=4674;POINT (-40.103578 -2.813619)'))) / (select extract(epoch from '2026-08-12 08:47:31'::timestamp) - extract(epoch from '2026-08-12 08:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10377 -2.81363)'), GeomFromEWKT('SRID=4674;POINT (-40.103578 -2.813619)'))) / (select extract(epoch from '2026-08-12 08:47:31'::timestamp) - extract(epoch from '2026-08-12 08:47:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.10343 -2.813603)', '2026-08-12 08:47:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103578 -2.813619)'), GeomFromEWKT('SRID=4674;POINT (-40.10343 -2.813603)'))) / (select extract(epoch from '2026-08-12 08:47:41'::timestamp) - extract(epoch from '2026-08-12 08:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103578 -2.813619)'), GeomFromEWKT('SRID=4674;POINT (-40.10343 -2.813603)'))) / (select extract(epoch from '2026-08-12 08:47:41'::timestamp) - extract(epoch from '2026-08-12 08:47:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.10327 -2.813581)', '2026-08-12 08:47:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10343 -2.813603)'), GeomFromEWKT('SRID=4674;POINT (-40.10327 -2.813581)'))) / (select extract(epoch from '2026-08-12 08:47:52'::timestamp) - extract(epoch from '2026-08-12 08:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10343 -2.813603)'), GeomFromEWKT('SRID=4674;POINT (-40.10327 -2.813581)'))) / (select extract(epoch from '2026-08-12 08:47:52'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.103137 -2.813562)', '2026-08-12 08:48:01', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10327 -2.813581)'), GeomFromEWKT('SRID=4674;POINT (-40.103137 -2.813562)'))) / (select extract(epoch from '2026-08-12 08:48:01'::timestamp) - extract(epoch from '2026-08-12 08:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10327 -2.813581)'), GeomFromEWKT('SRID=4674;POINT (-40.103137 -2.813562)'))) / (select extract(epoch from '2026-08-12 08:48:01'::timestamp) - extract(epoch from '2026-08-12 08:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.10292 -2.813551)', '2026-08-12 08:48:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103137 -2.813562)'), GeomFromEWKT('SRID=4674;POINT (-40.10292 -2.813551)'))) / (select extract(epoch from '2026-08-12 08:48:15'::timestamp) - extract(epoch from '2026-08-12 08:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103137 -2.813562)'), GeomFromEWKT('SRID=4674;POINT (-40.10292 -2.813551)'))) / (select extract(epoch from '2026-08-12 08:48:15'::timestamp) - extract(epoch from '2026-08-12 08:48:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.102769 -2.813529)', '2026-08-12 08:48:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10292 -2.813551)'), GeomFromEWKT('SRID=4674;POINT (-40.102769 -2.813529)'))) / (select extract(epoch from '2026-08-12 08:48:25'::timestamp) - extract(epoch from '2026-08-12 08:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10292 -2.813551)'), GeomFromEWKT('SRID=4674;POINT (-40.102769 -2.813529)'))) / (select extract(epoch from '2026-08-12 08:48:25'::timestamp) - extract(epoch from '2026-08-12 08:48:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.102583 -2.813495)', '2026-08-12 08:48:37', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102769 -2.813529)'), GeomFromEWKT('SRID=4674;POINT (-40.102583 -2.813495)'))) / (select extract(epoch from '2026-08-12 08:48:37'::timestamp) - extract(epoch from '2026-08-12 08:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102769 -2.813529)'), GeomFromEWKT('SRID=4674;POINT (-40.102583 -2.813495)'))) / (select extract(epoch from '2026-08-12 08:48:37'::timestamp) - extract(epoch from '2026-08-12 08:48: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'), 48198, 'SRID=4674;POINT (-40.102427 -2.813468)', '2026-08-12 08:48:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102583 -2.813495)'), GeomFromEWKT('SRID=4674;POINT (-40.102427 -2.813468)'))) / (select extract(epoch from '2026-08-12 08:48:47'::timestamp) - extract(epoch from '2026-08-12 08:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102583 -2.813495)'), GeomFromEWKT('SRID=4674;POINT (-40.102427 -2.813468)'))) / (select extract(epoch from '2026-08-12 08:48:47'::timestamp) - extract(epoch from '2026-08-12 08:48:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.102266 -2.81343)', '2026-08-12 08:48:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102427 -2.813468)'), GeomFromEWKT('SRID=4674;POINT (-40.102266 -2.81343)'))) / (select extract(epoch from '2026-08-12 08:48:58'::timestamp) - extract(epoch from '2026-08-12 08:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102427 -2.813468)'), GeomFromEWKT('SRID=4674;POINT (-40.102266 -2.81343)'))) / (select extract(epoch from '2026-08-12 08:48:58'::timestamp) - extract(epoch from '2026-08-12 08:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.102104 -2.813381)', '2026-08-12 08:49:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102266 -2.81343)'), GeomFromEWKT('SRID=4674;POINT (-40.102104 -2.813381)'))) / (select extract(epoch from '2026-08-12 08:49:09'::timestamp) - extract(epoch from '2026-08-12 08:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102266 -2.81343)'), GeomFromEWKT('SRID=4674;POINT (-40.102104 -2.813381)'))) / (select extract(epoch from '2026-08-12 08:49:09'::timestamp) - extract(epoch from '2026-08-12 08:48:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.101928 -2.813349)', '2026-08-12 08:49:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102104 -2.813381)'), GeomFromEWKT('SRID=4674;POINT (-40.101928 -2.813349)'))) / (select extract(epoch from '2026-08-12 08:49:21'::timestamp) - extract(epoch from '2026-08-12 08:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102104 -2.813381)'), GeomFromEWKT('SRID=4674;POINT (-40.101928 -2.813349)'))) / (select extract(epoch from '2026-08-12 08:49:21'::timestamp) - extract(epoch from '2026-08-12 08:49: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'), 48198, 'SRID=4674;POINT (-40.101753 -2.813328)', '2026-08-12 08:49:32', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101928 -2.813349)'), GeomFromEWKT('SRID=4674;POINT (-40.101753 -2.813328)'))) / (select extract(epoch from '2026-08-12 08:49:32'::timestamp) - extract(epoch from '2026-08-12 08:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101928 -2.813349)'), GeomFromEWKT('SRID=4674;POINT (-40.101753 -2.813328)'))) / (select extract(epoch from '2026-08-12 08:49:32'::timestamp) - extract(epoch from '2026-08-12 08:49:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.1016 -2.813317)', '2026-08-12 08:49:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101753 -2.813328)'), GeomFromEWKT('SRID=4674;POINT (-40.1016 -2.813317)'))) / (select extract(epoch from '2026-08-12 08:49:42'::timestamp) - extract(epoch from '2026-08-12 08:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101753 -2.813328)'), GeomFromEWKT('SRID=4674;POINT (-40.1016 -2.813317)'))) / (select extract(epoch from '2026-08-12 08:49:42'::timestamp) - extract(epoch from '2026-08-12 08:49: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'), 48198, 'SRID=4674;POINT (-40.101436 -2.813303)', '2026-08-12 08:49:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1016 -2.813317)'), GeomFromEWKT('SRID=4674;POINT (-40.101436 -2.813303)'))) / (select extract(epoch from '2026-08-12 08:49:53'::timestamp) - extract(epoch from '2026-08-12 08:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1016 -2.813317)'), GeomFromEWKT('SRID=4674;POINT (-40.101436 -2.813303)'))) / (select extract(epoch from '2026-08-12 08:49:53'::timestamp) - extract(epoch from '2026-08-12 08:49:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.10127 -2.81328)', '2026-08-12 08:50:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101436 -2.813303)'), GeomFromEWKT('SRID=4674;POINT (-40.10127 -2.81328)'))) / (select extract(epoch from '2026-08-12 08:50:04'::timestamp) - extract(epoch from '2026-08-12 08:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101436 -2.813303)'), GeomFromEWKT('SRID=4674;POINT (-40.10127 -2.81328)'))) / (select extract(epoch from '2026-08-12 08:50:04'::timestamp) - extract(epoch from '2026-08-12 08:49:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.101116 -2.813247)', '2026-08-12 08:50:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10127 -2.81328)'), GeomFromEWKT('SRID=4674;POINT (-40.101116 -2.813247)'))) / (select extract(epoch from '2026-08-12 08:50:15'::timestamp) - extract(epoch from '2026-08-12 08:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10127 -2.81328)'), GeomFromEWKT('SRID=4674;POINT (-40.101116 -2.813247)'))) / (select extract(epoch from '2026-08-12 08:50:15'::timestamp) - extract(epoch from '2026-08-12 08:50: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'), 48198, 'SRID=4674;POINT (-40.100937 -2.813206)', '2026-08-12 08:50:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101116 -2.813247)'), GeomFromEWKT('SRID=4674;POINT (-40.100937 -2.813206)'))) / (select extract(epoch from '2026-08-12 08:50:27'::timestamp) - extract(epoch from '2026-08-12 08:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.101116 -2.813247)'), GeomFromEWKT('SRID=4674;POINT (-40.100937 -2.813206)'))) / (select extract(epoch from '2026-08-12 08:50:27'::timestamp) - extract(epoch from '2026-08-12 08:50: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'), 48198, 'SRID=4674;POINT (-40.100759 -2.813182)', '2026-08-12 08:50:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100937 -2.813206)'), GeomFromEWKT('SRID=4674;POINT (-40.100759 -2.813182)'))) / (select extract(epoch from '2026-08-12 08:50:39'::timestamp) - extract(epoch from '2026-08-12 08:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100937 -2.813206)'), GeomFromEWKT('SRID=4674;POINT (-40.100759 -2.813182)'))) / (select extract(epoch from '2026-08-12 08:50:39'::timestamp) - extract(epoch from '2026-08-12 08:50:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.100556 -2.813143)', '2026-08-12 08:50:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100759 -2.813182)'), GeomFromEWKT('SRID=4674;POINT (-40.100556 -2.813143)'))) / (select extract(epoch from '2026-08-12 08:50:53'::timestamp) - extract(epoch from '2026-08-12 08:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100759 -2.813182)'), GeomFromEWKT('SRID=4674;POINT (-40.100556 -2.813143)'))) / (select extract(epoch from '2026-08-12 08:50:53'::timestamp) - extract(epoch from '2026-08-12 08:50: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'), 48198, 'SRID=4674;POINT (-40.100401 -2.813101)', '2026-08-12 08:51:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100556 -2.813143)'), GeomFromEWKT('SRID=4674;POINT (-40.100401 -2.813101)'))) / (select extract(epoch from '2026-08-12 08:51:04'::timestamp) - extract(epoch from '2026-08-12 08:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100556 -2.813143)'), GeomFromEWKT('SRID=4674;POINT (-40.100401 -2.813101)'))) / (select extract(epoch from '2026-08-12 08:51:04'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.100232 -2.813069)', '2026-08-12 08:51:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100401 -2.813101)'), GeomFromEWKT('SRID=4674;POINT (-40.100232 -2.813069)'))) / (select extract(epoch from '2026-08-12 08:51:16'::timestamp) - extract(epoch from '2026-08-12 08:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100401 -2.813101)'), GeomFromEWKT('SRID=4674;POINT (-40.100232 -2.813069)'))) / (select extract(epoch from '2026-08-12 08:51:16'::timestamp) - extract(epoch from '2026-08-12 08:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.100063 -2.813038)', '2026-08-12 08:51:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100232 -2.813069)'), GeomFromEWKT('SRID=4674;POINT (-40.100063 -2.813038)'))) / (select extract(epoch from '2026-08-12 08:51:28'::timestamp) - extract(epoch from '2026-08-12 08:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100232 -2.813069)'), GeomFromEWKT('SRID=4674;POINT (-40.100063 -2.813038)'))) / (select extract(epoch from '2026-08-12 08:51:28'::timestamp) - extract(epoch from '2026-08-12 08:51:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.09991 -2.813032)', '2026-08-12 08:51:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100063 -2.813038)'), GeomFromEWKT('SRID=4674;POINT (-40.09991 -2.813032)'))) / (select extract(epoch from '2026-08-12 08:51:39'::timestamp) - extract(epoch from '2026-08-12 08:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.100063 -2.813038)'), GeomFromEWKT('SRID=4674;POINT (-40.09991 -2.813032)'))) / (select extract(epoch from '2026-08-12 08:51:39'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.099698 -2.813009)', '2026-08-12 08:51:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.09991 -2.813032)'), GeomFromEWKT('SRID=4674;POINT (-40.099698 -2.813009)'))) / (select extract(epoch from '2026-08-12 08:51:53'::timestamp) - extract(epoch from '2026-08-12 08:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.09991 -2.813032)'), GeomFromEWKT('SRID=4674;POINT (-40.099698 -2.813009)'))) / (select extract(epoch from '2026-08-12 08:51:53'::timestamp) - extract(epoch from '2026-08-12 08:51:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.099511 -2.812981)', '2026-08-12 08:52:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099698 -2.813009)'), GeomFromEWKT('SRID=4674;POINT (-40.099511 -2.812981)'))) / (select extract(epoch from '2026-08-12 08:52:06'::timestamp) - extract(epoch from '2026-08-12 08:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099698 -2.813009)'), GeomFromEWKT('SRID=4674;POINT (-40.099511 -2.812981)'))) / (select extract(epoch from '2026-08-12 08:52:06'::timestamp) - extract(epoch from '2026-08-12 08:51: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'), 48198, 'SRID=4674;POINT (-40.099332 -2.812923)', '2026-08-12 08:52:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099511 -2.812981)'), GeomFromEWKT('SRID=4674;POINT (-40.099332 -2.812923)'))) / (select extract(epoch from '2026-08-12 08:52:18'::timestamp) - extract(epoch from '2026-08-12 08:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099511 -2.812981)'), GeomFromEWKT('SRID=4674;POINT (-40.099332 -2.812923)'))) / (select extract(epoch from '2026-08-12 08:52:18'::timestamp) - extract(epoch from '2026-08-12 08:52:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.099164 -2.812879)', '2026-08-12 08:52:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099332 -2.812923)'), GeomFromEWKT('SRID=4674;POINT (-40.099164 -2.812879)'))) / (select extract(epoch from '2026-08-12 08:52:29'::timestamp) - extract(epoch from '2026-08-12 08:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099332 -2.812923)'), GeomFromEWKT('SRID=4674;POINT (-40.099164 -2.812879)'))) / (select extract(epoch from '2026-08-12 08:52:29'::timestamp) - extract(epoch from '2026-08-12 08:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.099001 -2.812829)', '2026-08-12 08:52:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099164 -2.812879)'), GeomFromEWKT('SRID=4674;POINT (-40.099001 -2.812829)'))) / (select extract(epoch from '2026-08-12 08:52:40'::timestamp) - extract(epoch from '2026-08-12 08:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099164 -2.812879)'), GeomFromEWKT('SRID=4674;POINT (-40.099001 -2.812829)'))) / (select extract(epoch from '2026-08-12 08:52:40'::timestamp) - extract(epoch from '2026-08-12 08:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.098851 -2.8128)', '2026-08-12 08:52:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099001 -2.812829)'), GeomFromEWKT('SRID=4674;POINT (-40.098851 -2.8128)'))) / (select extract(epoch from '2026-08-12 08:52:50'::timestamp) - extract(epoch from '2026-08-12 08:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.099001 -2.812829)'), GeomFromEWKT('SRID=4674;POINT (-40.098851 -2.8128)'))) / (select extract(epoch from '2026-08-12 08:52:50'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.098692 -2.812776)', '2026-08-12 08:53:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098851 -2.8128)'), GeomFromEWKT('SRID=4674;POINT (-40.098692 -2.812776)'))) / (select extract(epoch from '2026-08-12 08:53:00'::timestamp) - extract(epoch from '2026-08-12 08:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098851 -2.8128)'), GeomFromEWKT('SRID=4674;POINT (-40.098692 -2.812776)'))) / (select extract(epoch from '2026-08-12 08:53:00'::timestamp) - extract(epoch from '2026-08-12 08:52: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'), 48198, 'SRID=4674;POINT (-40.0985 -2.812735)', '2026-08-12 08:53:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098692 -2.812776)'), GeomFromEWKT('SRID=4674;POINT (-40.0985 -2.812735)'))) / (select extract(epoch from '2026-08-12 08:53:13'::timestamp) - extract(epoch from '2026-08-12 08:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098692 -2.812776)'), GeomFromEWKT('SRID=4674;POINT (-40.0985 -2.812735)'))) / (select extract(epoch from '2026-08-12 08:53:13'::timestamp) - extract(epoch from '2026-08-12 08:53: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'), 48198, 'SRID=4674;POINT (-40.098318 -2.81269)', '2026-08-12 08:53:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0985 -2.812735)'), GeomFromEWKT('SRID=4674;POINT (-40.098318 -2.81269)'))) / (select extract(epoch from '2026-08-12 08:53:26'::timestamp) - extract(epoch from '2026-08-12 08:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0985 -2.812735)'), GeomFromEWKT('SRID=4674;POINT (-40.098318 -2.81269)'))) / (select extract(epoch from '2026-08-12 08:53:26'::timestamp) - extract(epoch from '2026-08-12 08:53: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'), 48198, 'SRID=4674;POINT (-40.098167 -2.812636)', '2026-08-12 08:53:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098318 -2.81269)'), GeomFromEWKT('SRID=4674;POINT (-40.098167 -2.812636)'))) / (select extract(epoch from '2026-08-12 08:53:37'::timestamp) - extract(epoch from '2026-08-12 08:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098318 -2.81269)'), GeomFromEWKT('SRID=4674;POINT (-40.098167 -2.812636)'))) / (select extract(epoch from '2026-08-12 08:53:37'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.09802 -2.812598)', '2026-08-12 08:53:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098167 -2.812636)'), GeomFromEWKT('SRID=4674;POINT (-40.09802 -2.812598)'))) / (select extract(epoch from '2026-08-12 08:53:48'::timestamp) - extract(epoch from '2026-08-12 08:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.098167 -2.812636)'), GeomFromEWKT('SRID=4674;POINT (-40.09802 -2.812598)'))) / (select extract(epoch from '2026-08-12 08:53:48'::timestamp) - extract(epoch from '2026-08-12 08:53: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'), 48198, 'SRID=4674;POINT (-40.097836 -2.812537)', '2026-08-12 08:54:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.09802 -2.812598)'), GeomFromEWKT('SRID=4674;POINT (-40.097836 -2.812537)'))) / (select extract(epoch from '2026-08-12 08:54:02'::timestamp) - extract(epoch from '2026-08-12 08:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.09802 -2.812598)'), GeomFromEWKT('SRID=4674;POINT (-40.097836 -2.812537)'))) / (select extract(epoch from '2026-08-12 08:54:02'::timestamp) - extract(epoch from '2026-08-12 08:53: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'), 48198, 'SRID=4674;POINT (-40.09769 -2.812477)', '2026-08-12 08:54:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097836 -2.812537)'), GeomFromEWKT('SRID=4674;POINT (-40.09769 -2.812477)'))) / (select extract(epoch from '2026-08-12 08:54:13'::timestamp) - extract(epoch from '2026-08-12 08:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097836 -2.812537)'), GeomFromEWKT('SRID=4674;POINT (-40.09769 -2.812477)'))) / (select extract(epoch from '2026-08-12 08:54:13'::timestamp) - extract(epoch from '2026-08-12 08:54: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'), 48198, 'SRID=4674;POINT (-40.097576 -2.812419)', '2026-08-12 08:54:22', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.09769 -2.812477)'), GeomFromEWKT('SRID=4674;POINT (-40.097576 -2.812419)'))) / (select extract(epoch from '2026-08-12 08:54:22'::timestamp) - extract(epoch from '2026-08-12 08:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.09769 -2.812477)'), GeomFromEWKT('SRID=4674;POINT (-40.097576 -2.812419)'))) / (select extract(epoch from '2026-08-12 08:54:22'::timestamp) - extract(epoch from '2026-08-12 08:54:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.097436 -2.812341)', '2026-08-12 08:54:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097576 -2.812419)'), GeomFromEWKT('SRID=4674;POINT (-40.097436 -2.812341)'))) / (select extract(epoch from '2026-08-12 08:54:33'::timestamp) - extract(epoch from '2026-08-12 08:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097576 -2.812419)'), GeomFromEWKT('SRID=4674;POINT (-40.097436 -2.812341)'))) / (select extract(epoch from '2026-08-12 08:54:33'::timestamp) - extract(epoch from '2026-08-12 08:54: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'), 48198, 'SRID=4674;POINT (-40.097285 -2.812263)', '2026-08-12 08:54:45', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097436 -2.812341)'), GeomFromEWKT('SRID=4674;POINT (-40.097285 -2.812263)'))) / (select extract(epoch from '2026-08-12 08:54:45'::timestamp) - extract(epoch from '2026-08-12 08:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097436 -2.812341)'), GeomFromEWKT('SRID=4674;POINT (-40.097285 -2.812263)'))) / (select extract(epoch from '2026-08-12 08:54:45'::timestamp) - extract(epoch from '2026-08-12 08:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.097139 -2.812186)', '2026-08-12 08:54:57', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097285 -2.812263)'), GeomFromEWKT('SRID=4674;POINT (-40.097139 -2.812186)'))) / (select extract(epoch from '2026-08-12 08:54:57'::timestamp) - extract(epoch from '2026-08-12 08:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097285 -2.812263)'), GeomFromEWKT('SRID=4674;POINT (-40.097139 -2.812186)'))) / (select extract(epoch from '2026-08-12 08:54:57'::timestamp) - extract(epoch from '2026-08-12 08:54:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.097042 -2.812134)', '2026-08-12 08:55:05', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097139 -2.812186)'), GeomFromEWKT('SRID=4674;POINT (-40.097042 -2.812134)'))) / (select extract(epoch from '2026-08-12 08:55:05'::timestamp) - extract(epoch from '2026-08-12 08:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097139 -2.812186)'), GeomFromEWKT('SRID=4674;POINT (-40.097042 -2.812134)'))) / (select extract(epoch from '2026-08-12 08:55:05'::timestamp) - extract(epoch from '2026-08-12 08:54: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'), 48198, 'SRID=4674;POINT (-40.096938 -2.812068)', '2026-08-12 08:55:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097042 -2.812134)'), GeomFromEWKT('SRID=4674;POINT (-40.096938 -2.812068)'))) / (select extract(epoch from '2026-08-12 08:55:15'::timestamp) - extract(epoch from '2026-08-12 08:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.097042 -2.812134)'), GeomFromEWKT('SRID=4674;POINT (-40.096938 -2.812068)'))) / (select extract(epoch from '2026-08-12 08:55:15'::timestamp) - extract(epoch from '2026-08-12 08:55:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.096818 -2.811988)', '2026-08-12 08:55:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.096938 -2.812068)'), GeomFromEWKT('SRID=4674;POINT (-40.096818 -2.811988)'))) / (select extract(epoch from '2026-08-12 08:55:25'::timestamp) - extract(epoch from '2026-08-12 08:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.096938 -2.812068)'), GeomFromEWKT('SRID=4674;POINT (-40.096818 -2.811988)'))) / (select extract(epoch from '2026-08-12 08:55:25'::timestamp) - extract(epoch from '2026-08-12 08:55: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'), 48198, 'SRID=4674;POINT (-40.096713 -2.811916)', '2026-08-12 08:55:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.096818 -2.811988)'), GeomFromEWKT('SRID=4674;POINT (-40.096713 -2.811916)'))) / (select extract(epoch from '2026-08-12 08:55:34'::timestamp) - extract(epoch from '2026-08-12 08:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.096818 -2.811988)'), GeomFromEWKT('SRID=4674;POINT (-40.096713 -2.811916)'))) / (select extract(epoch from '2026-08-12 08:55:34'::timestamp) - extract(epoch from '2026-08-12 08:55: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'), 48198, 'SRID=4674;POINT (-40.096581 -2.811856)', '2026-08-12 08:55:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.096713 -2.811916)'), GeomFromEWKT('SRID=4674;POINT (-40.096581 -2.811856)'))) / (select extract(epoch from '2026-08-12 08:55:44'::timestamp) - extract(epoch from '2026-08-12 08:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.096713 -2.811916)'), GeomFromEWKT('SRID=4674;POINT (-40.096581 -2.811856)'))) / (select extract(epoch from '2026-08-12 08:55:44'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.096441 -2.811797)', '2026-08-12 08:55:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.096581 -2.811856)'), GeomFromEWKT('SRID=4674;POINT (-40.096441 -2.811797)'))) / (select extract(epoch from '2026-08-12 08:55:55'::timestamp) - extract(epoch from '2026-08-12 08:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.096581 -2.811856)'), GeomFromEWKT('SRID=4674;POINT (-40.096441 -2.811797)'))) / (select extract(epoch from '2026-08-12 08:55:55'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.096298 -2.811754)', '2026-08-12 08:56:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.096441 -2.811797)'), GeomFromEWKT('SRID=4674;POINT (-40.096298 -2.811754)'))) / (select extract(epoch from '2026-08-12 08:56:06'::timestamp) - extract(epoch from '2026-08-12 08:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.096441 -2.811797)'), GeomFromEWKT('SRID=4674;POINT (-40.096298 -2.811754)'))) / (select extract(epoch from '2026-08-12 08:56:06'::timestamp) - extract(epoch from '2026-08-12 08:55: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'), 48198, 'SRID=4674;POINT (-40.096173 -2.811719)', '2026-08-12 08:56:16', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.096298 -2.811754)'), GeomFromEWKT('SRID=4674;POINT (-40.096173 -2.811719)'))) / (select extract(epoch from '2026-08-12 08:56:16'::timestamp) - extract(epoch from '2026-08-12 08:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.096298 -2.811754)'), GeomFromEWKT('SRID=4674;POINT (-40.096173 -2.811719)'))) / (select extract(epoch from '2026-08-12 08:56:16'::timestamp) - extract(epoch from '2026-08-12 08:56:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.096025 -2.811661)', '2026-08-12 08:56:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.096173 -2.811719)'), GeomFromEWKT('SRID=4674;POINT (-40.096025 -2.811661)'))) / (select extract(epoch from '2026-08-12 08:56:28'::timestamp) - extract(epoch from '2026-08-12 08:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.096173 -2.811719)'), GeomFromEWKT('SRID=4674;POINT (-40.096025 -2.811661)'))) / (select extract(epoch from '2026-08-12 08:56:28'::timestamp) - extract(epoch from '2026-08-12 08:56:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.095898 -2.811609)', '2026-08-12 08:56:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.096025 -2.811661)'), GeomFromEWKT('SRID=4674;POINT (-40.095898 -2.811609)'))) / (select extract(epoch from '2026-08-12 08:56:38'::timestamp) - extract(epoch from '2026-08-12 08:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.096025 -2.811661)'), GeomFromEWKT('SRID=4674;POINT (-40.095898 -2.811609)'))) / (select extract(epoch from '2026-08-12 08:56:38'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.095787 -2.811562)', '2026-08-12 08:56:47', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.095898 -2.811609)'), GeomFromEWKT('SRID=4674;POINT (-40.095787 -2.811562)'))) / (select extract(epoch from '2026-08-12 08:56:47'::timestamp) - extract(epoch from '2026-08-12 08:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.095898 -2.811609)'), GeomFromEWKT('SRID=4674;POINT (-40.095787 -2.811562)'))) / (select extract(epoch from '2026-08-12 08:56:47'::timestamp) - extract(epoch from '2026-08-12 08:56: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'), 48198, 'SRID=4674;POINT (-40.095662 -2.811519)', '2026-08-12 08:56:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.095787 -2.811562)'), GeomFromEWKT('SRID=4674;POINT (-40.095662 -2.811519)'))) / (select extract(epoch from '2026-08-12 08:56:58'::timestamp) - extract(epoch from '2026-08-12 08:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.095787 -2.811562)'), GeomFromEWKT('SRID=4674;POINT (-40.095662 -2.811519)'))) / (select extract(epoch from '2026-08-12 08:56:58'::timestamp) - extract(epoch from '2026-08-12 08:56: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'), 48198, 'SRID=4674;POINT (-40.095525 -2.811454)', '2026-08-12 08:57:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.095662 -2.811519)'), GeomFromEWKT('SRID=4674;POINT (-40.095525 -2.811454)'))) / (select extract(epoch from '2026-08-12 08:57:09'::timestamp) - extract(epoch from '2026-08-12 08:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.095662 -2.811519)'), GeomFromEWKT('SRID=4674;POINT (-40.095525 -2.811454)'))) / (select extract(epoch from '2026-08-12 08:57:09'::timestamp) - extract(epoch from '2026-08-12 08:56: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'), 48198, 'SRID=4674;POINT (-40.095397 -2.811399)', '2026-08-12 08:57:19', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.095525 -2.811454)'), GeomFromEWKT('SRID=4674;POINT (-40.095397 -2.811399)'))) / (select extract(epoch from '2026-08-12 08:57:19'::timestamp) - extract(epoch from '2026-08-12 08:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.095525 -2.811454)'), GeomFromEWKT('SRID=4674;POINT (-40.095397 -2.811399)'))) / (select extract(epoch from '2026-08-12 08:57:19'::timestamp) - extract(epoch from '2026-08-12 08:57:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.095259 -2.811336)', '2026-08-12 08:57:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.095397 -2.811399)'), GeomFromEWKT('SRID=4674;POINT (-40.095259 -2.811336)'))) / (select extract(epoch from '2026-08-12 08:57:30'::timestamp) - extract(epoch from '2026-08-12 08:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.095397 -2.811399)'), GeomFromEWKT('SRID=4674;POINT (-40.095259 -2.811336)'))) / (select extract(epoch from '2026-08-12 08:57:30'::timestamp) - extract(epoch from '2026-08-12 08:57:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.095153 -2.811285)', '2026-08-12 08:57:39', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.095259 -2.811336)'), GeomFromEWKT('SRID=4674;POINT (-40.095153 -2.811285)'))) / (select extract(epoch from '2026-08-12 08:57:39'::timestamp) - extract(epoch from '2026-08-12 08:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.095259 -2.811336)'), GeomFromEWKT('SRID=4674;POINT (-40.095153 -2.811285)'))) / (select extract(epoch from '2026-08-12 08:57:39'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.095045 -2.81124)', '2026-08-12 08:57:49', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.095153 -2.811285)'), GeomFromEWKT('SRID=4674;POINT (-40.095045 -2.81124)'))) / (select extract(epoch from '2026-08-12 08:57:49'::timestamp) - extract(epoch from '2026-08-12 08:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.095153 -2.811285)'), GeomFromEWKT('SRID=4674;POINT (-40.095045 -2.81124)'))) / (select extract(epoch from '2026-08-12 08:57:49'::timestamp) - extract(epoch from '2026-08-12 08:57:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.094905 -2.811181)', '2026-08-12 08:58:01', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.095045 -2.81124)'), GeomFromEWKT('SRID=4674;POINT (-40.094905 -2.811181)'))) / (select extract(epoch from '2026-08-12 08:58:01'::timestamp) - extract(epoch from '2026-08-12 08:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.095045 -2.81124)'), GeomFromEWKT('SRID=4674;POINT (-40.094905 -2.811181)'))) / (select extract(epoch from '2026-08-12 08:58:01'::timestamp) - extract(epoch from '2026-08-12 08: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'), 48198, 'SRID=4674;POINT (-40.094785 -2.811131)', '2026-08-12 08:58:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.094905 -2.811181)'), GeomFromEWKT('SRID=4674;POINT (-40.094785 -2.811131)'))) / (select extract(epoch from '2026-08-12 08:58:11'::timestamp) - extract(epoch from '2026-08-12 08:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.094905 -2.811181)'), GeomFromEWKT('SRID=4674;POINT (-40.094785 -2.811131)'))) / (select extract(epoch from '2026-08-12 08:58:11'::timestamp) - extract(epoch from '2026-08-12 08:58:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.094685 -2.811084)', '2026-08-12 08:58:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.094785 -2.811131)'), GeomFromEWKT('SRID=4674;POINT (-40.094685 -2.811084)'))) / (select extract(epoch from '2026-08-12 08:58:20'::timestamp) - extract(epoch from '2026-08-12 08:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.094785 -2.811131)'), GeomFromEWKT('SRID=4674;POINT (-40.094685 -2.811084)'))) / (select extract(epoch from '2026-08-12 08:58:20'::timestamp) - extract(epoch from '2026-08-12 08:58: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'), 48198, 'SRID=4674;POINT (-40.094561 -2.811026)', '2026-08-12 08:58:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.094685 -2.811084)'), GeomFromEWKT('SRID=4674;POINT (-40.094561 -2.811026)'))) / (select extract(epoch from '2026-08-12 08:58:30'::timestamp) - extract(epoch from '2026-08-12 08:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.094685 -2.811084)'), GeomFromEWKT('SRID=4674;POINT (-40.094561 -2.811026)'))) / (select extract(epoch from '2026-08-12 08:58:30'::timestamp) - extract(epoch from '2026-08-12 08:58: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'), 48198, 'SRID=4674;POINT (-40.094424 -2.810935)', '2026-08-12 08:58:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.094561 -2.811026)'), GeomFromEWKT('SRID=4674;POINT (-40.094424 -2.810935)'))) / (select extract(epoch from '2026-08-12 08:58:42'::timestamp) - extract(epoch from '2026-08-12 08:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.094561 -2.811026)'), GeomFromEWKT('SRID=4674;POINT (-40.094424 -2.810935)'))) / (select extract(epoch from '2026-08-12 08:58:42'::timestamp) - extract(epoch from '2026-08-12 08:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.094304 -2.810866)', '2026-08-12 08:58:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.094424 -2.810935)'), GeomFromEWKT('SRID=4674;POINT (-40.094304 -2.810866)'))) / (select extract(epoch from '2026-08-12 08:58:52'::timestamp) - extract(epoch from '2026-08-12 08:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.094424 -2.810935)'), GeomFromEWKT('SRID=4674;POINT (-40.094304 -2.810866)'))) / (select extract(epoch from '2026-08-12 08:58:52'::timestamp) - extract(epoch from '2026-08-12 08:58:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.094167 -2.810819)', '2026-08-12 08:59:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.094304 -2.810866)'), GeomFromEWKT('SRID=4674;POINT (-40.094167 -2.810819)'))) / (select extract(epoch from '2026-08-12 08:59:02'::timestamp) - extract(epoch from '2026-08-12 08:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.094304 -2.810866)'), GeomFromEWKT('SRID=4674;POINT (-40.094167 -2.810819)'))) / (select extract(epoch from '2026-08-12 08:59:02'::timestamp) - extract(epoch from '2026-08-12 08:58: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'), 48198, 'SRID=4674;POINT (-40.094029 -2.810792)', '2026-08-12 08:59:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.094167 -2.810819)'), GeomFromEWKT('SRID=4674;POINT (-40.094029 -2.810792)'))) / (select extract(epoch from '2026-08-12 08:59:12'::timestamp) - extract(epoch from '2026-08-12 08:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.094167 -2.810819)'), GeomFromEWKT('SRID=4674;POINT (-40.094029 -2.810792)'))) / (select extract(epoch from '2026-08-12 08:59:12'::timestamp) - extract(epoch from '2026-08-12 08:59:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.093927 -2.810748)', '2026-08-12 08:59:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.094029 -2.810792)'), GeomFromEWKT('SRID=4674;POINT (-40.093927 -2.810748)'))) / (select extract(epoch from '2026-08-12 08:59:20'::timestamp) - extract(epoch from '2026-08-12 08:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.094029 -2.810792)'), GeomFromEWKT('SRID=4674;POINT (-40.093927 -2.810748)'))) / (select extract(epoch from '2026-08-12 08:59:20'::timestamp) - extract(epoch from '2026-08-12 08:59: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'), 48198, 'SRID=4674;POINT (-40.093799 -2.810715)', '2026-08-12 08:59:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.093927 -2.810748)'), GeomFromEWKT('SRID=4674;POINT (-40.093799 -2.810715)'))) / (select extract(epoch from '2026-08-12 08:59:30'::timestamp) - extract(epoch from '2026-08-12 08:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.093927 -2.810748)'), GeomFromEWKT('SRID=4674;POINT (-40.093799 -2.810715)'))) / (select extract(epoch from '2026-08-12 08:59:30'::timestamp) - extract(epoch from '2026-08-12 08:59: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'), 48198, 'SRID=4674;POINT (-40.093653 -2.810694)', '2026-08-12 08:59:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.093799 -2.810715)'), GeomFromEWKT('SRID=4674;POINT (-40.093653 -2.810694)'))) / (select extract(epoch from '2026-08-12 08:59:40'::timestamp) - extract(epoch from '2026-08-12 08:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.093799 -2.810715)'), GeomFromEWKT('SRID=4674;POINT (-40.093653 -2.810694)'))) / (select extract(epoch from '2026-08-12 08:59:40'::timestamp) - extract(epoch from '2026-08-12 08:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.093501 -2.810672)', '2026-08-12 08:59:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.093653 -2.810694)'), GeomFromEWKT('SRID=4674;POINT (-40.093501 -2.810672)'))) / (select extract(epoch from '2026-08-12 08:59:51'::timestamp) - extract(epoch from '2026-08-12 08:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.093653 -2.810694)'), GeomFromEWKT('SRID=4674;POINT (-40.093501 -2.810672)'))) / (select extract(epoch from '2026-08-12 08:59:51'::timestamp) - extract(epoch from '2026-08-12 08:59: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'), 48198, 'SRID=4674;POINT (-40.093358 -2.810654)', '2026-08-12 09:00:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.093501 -2.810672)'), GeomFromEWKT('SRID=4674;POINT (-40.093358 -2.810654)'))) / (select extract(epoch from '2026-08-12 09:00:02'::timestamp) - extract(epoch from '2026-08-12 08:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.093501 -2.810672)'), GeomFromEWKT('SRID=4674;POINT (-40.093358 -2.810654)'))) / (select extract(epoch from '2026-08-12 09:00:02'::timestamp) - extract(epoch from '2026-08-12 08:59:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.093208 -2.810623)', '2026-08-12 09:00:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.093358 -2.810654)'), GeomFromEWKT('SRID=4674;POINT (-40.093208 -2.810623)'))) / (select extract(epoch from '2026-08-12 09:00:13'::timestamp) - extract(epoch from '2026-08-12 09:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.093358 -2.810654)'), GeomFromEWKT('SRID=4674;POINT (-40.093208 -2.810623)'))) / (select extract(epoch from '2026-08-12 09:00:13'::timestamp) - extract(epoch from '2026-08-12 09:00:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.093091 -2.810581)', '2026-08-12 09:00:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.093208 -2.810623)'), GeomFromEWKT('SRID=4674;POINT (-40.093091 -2.810581)'))) / (select extract(epoch from '2026-08-12 09:00:22'::timestamp) - extract(epoch from '2026-08-12 09:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.093208 -2.810623)'), GeomFromEWKT('SRID=4674;POINT (-40.093091 -2.810581)'))) / (select extract(epoch from '2026-08-12 09:00:22'::timestamp) - extract(epoch from '2026-08-12 09:00:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.092901 -2.810533)', '2026-08-12 09:00:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.093091 -2.810581)'), GeomFromEWKT('SRID=4674;POINT (-40.092901 -2.810533)'))) / (select extract(epoch from '2026-08-12 09:00:35'::timestamp) - extract(epoch from '2026-08-12 09:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.093091 -2.810581)'), GeomFromEWKT('SRID=4674;POINT (-40.092901 -2.810533)'))) / (select extract(epoch from '2026-08-12 09:00:35'::timestamp) - extract(epoch from '2026-08-12 09:00:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.09276 -2.810504)', '2026-08-12 09:00:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.092901 -2.810533)'), GeomFromEWKT('SRID=4674;POINT (-40.09276 -2.810504)'))) / (select extract(epoch from '2026-08-12 09:00:45'::timestamp) - extract(epoch from '2026-08-12 09:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.092901 -2.810533)'), GeomFromEWKT('SRID=4674;POINT (-40.09276 -2.810504)'))) / (select extract(epoch from '2026-08-12 09:00:45'::timestamp) - extract(epoch from '2026-08-12 09:00:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.092608 -2.810489)', '2026-08-12 09:00:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.09276 -2.810504)'), GeomFromEWKT('SRID=4674;POINT (-40.092608 -2.810489)'))) / (select extract(epoch from '2026-08-12 09:00:56'::timestamp) - extract(epoch from '2026-08-12 09:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.09276 -2.810504)'), GeomFromEWKT('SRID=4674;POINT (-40.092608 -2.810489)'))) / (select extract(epoch from '2026-08-12 09:00:56'::timestamp) - extract(epoch from '2026-08-12 09:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.092445 -2.810455)', '2026-08-12 09:01:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.092608 -2.810489)'), GeomFromEWKT('SRID=4674;POINT (-40.092445 -2.810455)'))) / (select extract(epoch from '2026-08-12 09:01:08'::timestamp) - extract(epoch from '2026-08-12 09:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.092608 -2.810489)'), GeomFromEWKT('SRID=4674;POINT (-40.092445 -2.810455)'))) / (select extract(epoch from '2026-08-12 09:01:08'::timestamp) - extract(epoch from '2026-08-12 09:00: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'), 48198, 'SRID=4674;POINT (-40.092315 -2.810431)', '2026-08-12 09:01:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.092445 -2.810455)'), GeomFromEWKT('SRID=4674;POINT (-40.092315 -2.810431)'))) / (select extract(epoch from '2026-08-12 09:01:17'::timestamp) - extract(epoch from '2026-08-12 09:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.092445 -2.810455)'), GeomFromEWKT('SRID=4674;POINT (-40.092315 -2.810431)'))) / (select extract(epoch from '2026-08-12 09:01:17'::timestamp) - extract(epoch from '2026-08-12 09:01: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'), 48198, 'SRID=4674;POINT (-40.092163 -2.810398)', '2026-08-12 09:01:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.092315 -2.810431)'), GeomFromEWKT('SRID=4674;POINT (-40.092163 -2.810398)'))) / (select extract(epoch from '2026-08-12 09:01:28'::timestamp) - extract(epoch from '2026-08-12 09:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.092315 -2.810431)'), GeomFromEWKT('SRID=4674;POINT (-40.092163 -2.810398)'))) / (select extract(epoch from '2026-08-12 09:01:28'::timestamp) - extract(epoch from '2026-08-12 09:01: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'), 48198, 'SRID=4674;POINT (-40.092012 -2.810366)', '2026-08-12 09:01:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.092163 -2.810398)'), GeomFromEWKT('SRID=4674;POINT (-40.092012 -2.810366)'))) / (select extract(epoch from '2026-08-12 09:01:39'::timestamp) - extract(epoch from '2026-08-12 09:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.092163 -2.810398)'), GeomFromEWKT('SRID=4674;POINT (-40.092012 -2.810366)'))) / (select extract(epoch from '2026-08-12 09:01:39'::timestamp) - extract(epoch from '2026-08-12 09:01:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.091874 -2.810323)', '2026-08-12 09:01:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.092012 -2.810366)'), GeomFromEWKT('SRID=4674;POINT (-40.091874 -2.810323)'))) / (select extract(epoch from '2026-08-12 09:01:49'::timestamp) - extract(epoch from '2026-08-12 09:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.092012 -2.810366)'), GeomFromEWKT('SRID=4674;POINT (-40.091874 -2.810323)'))) / (select extract(epoch from '2026-08-12 09:01:49'::timestamp) - extract(epoch from '2026-08-12 09:01: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'), 48198, 'SRID=4674;POINT (-40.091697 -2.810283)', '2026-08-12 09:02:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.091874 -2.810323)'), GeomFromEWKT('SRID=4674;POINT (-40.091697 -2.810283)'))) / (select extract(epoch from '2026-08-12 09:02:02'::timestamp) - extract(epoch from '2026-08-12 09:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.091874 -2.810323)'), GeomFromEWKT('SRID=4674;POINT (-40.091697 -2.810283)'))) / (select extract(epoch from '2026-08-12 09:02:02'::timestamp) - extract(epoch from '2026-08-12 09:01: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'), 48198, 'SRID=4674;POINT (-40.091528 -2.810279)', '2026-08-12 09:02:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.091697 -2.810283)'), GeomFromEWKT('SRID=4674;POINT (-40.091528 -2.810279)'))) / (select extract(epoch from '2026-08-12 09:02:15'::timestamp) - extract(epoch from '2026-08-12 09:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.091697 -2.810283)'), GeomFromEWKT('SRID=4674;POINT (-40.091528 -2.810279)'))) / (select extract(epoch from '2026-08-12 09:02:15'::timestamp) - extract(epoch from '2026-08-12 09:02: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'), 48198, 'SRID=4674;POINT (-40.091393 -2.810257)', '2026-08-12 09:02:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.091528 -2.810279)'), GeomFromEWKT('SRID=4674;POINT (-40.091393 -2.810257)'))) / (select extract(epoch from '2026-08-12 09:02:25'::timestamp) - extract(epoch from '2026-08-12 09:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.091528 -2.810279)'), GeomFromEWKT('SRID=4674;POINT (-40.091393 -2.810257)'))) / (select extract(epoch from '2026-08-12 09:02:25'::timestamp) - extract(epoch from '2026-08-12 09:02: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'), 48198, 'SRID=4674;POINT (-40.091252 -2.810233)', '2026-08-12 09:02:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.091393 -2.810257)'), GeomFromEWKT('SRID=4674;POINT (-40.091252 -2.810233)'))) / (select extract(epoch from '2026-08-12 09:02:35'::timestamp) - extract(epoch from '2026-08-12 09:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.091393 -2.810257)'), GeomFromEWKT('SRID=4674;POINT (-40.091252 -2.810233)'))) / (select extract(epoch from '2026-08-12 09:02:35'::timestamp) - extract(epoch from '2026-08-12 09:02: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'), 48198, 'SRID=4674;POINT (-40.091098 -2.810209)', '2026-08-12 09:02:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.091252 -2.810233)'), GeomFromEWKT('SRID=4674;POINT (-40.091098 -2.810209)'))) / (select extract(epoch from '2026-08-12 09:02:47'::timestamp) - extract(epoch from '2026-08-12 09:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.091252 -2.810233)'), GeomFromEWKT('SRID=4674;POINT (-40.091098 -2.810209)'))) / (select extract(epoch from '2026-08-12 09:02:47'::timestamp) - extract(epoch from '2026-08-12 09:02:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.090962 -2.8102)', '2026-08-12 09:02:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.091098 -2.810209)'), GeomFromEWKT('SRID=4674;POINT (-40.090962 -2.8102)'))) / (select extract(epoch from '2026-08-12 09:02:57'::timestamp) - extract(epoch from '2026-08-12 09:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.091098 -2.810209)'), GeomFromEWKT('SRID=4674;POINT (-40.090962 -2.8102)'))) / (select extract(epoch from '2026-08-12 09:02:57'::timestamp) - extract(epoch from '2026-08-12 09:02: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'), 48198, 'SRID=4674;POINT (-40.090837 -2.81019)', '2026-08-12 09:03:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.090962 -2.8102)'), GeomFromEWKT('SRID=4674;POINT (-40.090837 -2.81019)'))) / (select extract(epoch from '2026-08-12 09:03:06'::timestamp) - extract(epoch from '2026-08-12 09:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.090962 -2.8102)'), GeomFromEWKT('SRID=4674;POINT (-40.090837 -2.81019)'))) / (select extract(epoch from '2026-08-12 09:03:06'::timestamp) - extract(epoch from '2026-08-12 09:02:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.0907 -2.810167)', '2026-08-12 09:03:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.090837 -2.81019)'), GeomFromEWKT('SRID=4674;POINT (-40.0907 -2.810167)'))) / (select extract(epoch from '2026-08-12 09:03:17'::timestamp) - extract(epoch from '2026-08-12 09:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.090837 -2.81019)'), GeomFromEWKT('SRID=4674;POINT (-40.0907 -2.810167)'))) / (select extract(epoch from '2026-08-12 09:03:17'::timestamp) - extract(epoch from '2026-08-12 09:03: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'), 48198, 'SRID=4674;POINT (-40.090533 -2.810134)', '2026-08-12 09:03:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0907 -2.810167)'), GeomFromEWKT('SRID=4674;POINT (-40.090533 -2.810134)'))) / (select extract(epoch from '2026-08-12 09:03:29'::timestamp) - extract(epoch from '2026-08-12 09:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0907 -2.810167)'), GeomFromEWKT('SRID=4674;POINT (-40.090533 -2.810134)'))) / (select extract(epoch from '2026-08-12 09:03:29'::timestamp) - extract(epoch from '2026-08-12 09: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'), 48198, 'SRID=4674;POINT (-40.090376 -2.810104)', '2026-08-12 09:03:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.090533 -2.810134)'), GeomFromEWKT('SRID=4674;POINT (-40.090376 -2.810104)'))) / (select extract(epoch from '2026-08-12 09:03:40'::timestamp) - extract(epoch from '2026-08-12 09:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.090533 -2.810134)'), GeomFromEWKT('SRID=4674;POINT (-40.090376 -2.810104)'))) / (select extract(epoch from '2026-08-12 09:03:40'::timestamp) - extract(epoch from '2026-08-12 09:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.09027 -2.810082)', '2026-08-12 09:03:48', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.090376 -2.810104)'), GeomFromEWKT('SRID=4674;POINT (-40.09027 -2.810082)'))) / (select extract(epoch from '2026-08-12 09:03:48'::timestamp) - extract(epoch from '2026-08-12 09:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.090376 -2.810104)'), GeomFromEWKT('SRID=4674;POINT (-40.09027 -2.810082)'))) / (select extract(epoch from '2026-08-12 09:03:48'::timestamp) - extract(epoch from '2026-08-12 09:03:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.090144 -2.81007)', '2026-08-12 09:03:58', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.09027 -2.810082)'), GeomFromEWKT('SRID=4674;POINT (-40.090144 -2.81007)'))) / (select extract(epoch from '2026-08-12 09:03:58'::timestamp) - extract(epoch from '2026-08-12 09:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.09027 -2.810082)'), GeomFromEWKT('SRID=4674;POINT (-40.090144 -2.81007)'))) / (select extract(epoch from '2026-08-12 09:03:58'::timestamp) - extract(epoch from '2026-08-12 09:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.090036 -2.810064)', '2026-08-12 09:04:07', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.090144 -2.81007)'), GeomFromEWKT('SRID=4674;POINT (-40.090036 -2.810064)'))) / (select extract(epoch from '2026-08-12 09:04:07'::timestamp) - extract(epoch from '2026-08-12 09:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.090144 -2.81007)'), GeomFromEWKT('SRID=4674;POINT (-40.090036 -2.810064)'))) / (select extract(epoch from '2026-08-12 09:04:07'::timestamp) - extract(epoch from '2026-08-12 09:03: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'), 48198, 'SRID=4674;POINT (-40.089947 -2.810065)', '2026-08-12 09:04:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.090036 -2.810064)'), GeomFromEWKT('SRID=4674;POINT (-40.089947 -2.810065)'))) / (select extract(epoch from '2026-08-12 09:04:15'::timestamp) - extract(epoch from '2026-08-12 09:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.090036 -2.810064)'), GeomFromEWKT('SRID=4674;POINT (-40.089947 -2.810065)'))) / (select extract(epoch from '2026-08-12 09:04:15'::timestamp) - extract(epoch from '2026-08-12 09:04:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.089849 -2.810077)', '2026-08-12 09:04:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.089947 -2.810065)'), GeomFromEWKT('SRID=4674;POINT (-40.089849 -2.810077)'))) / (select extract(epoch from '2026-08-12 09:04:24'::timestamp) - extract(epoch from '2026-08-12 09:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.089947 -2.810065)'), GeomFromEWKT('SRID=4674;POINT (-40.089849 -2.810077)'))) / (select extract(epoch from '2026-08-12 09:04:24'::timestamp) - extract(epoch from '2026-08-12 09:04: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'), 48198, 'SRID=4674;POINT (-40.089741 -2.810081)', '2026-08-12 09:04:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.089849 -2.810077)'), GeomFromEWKT('SRID=4674;POINT (-40.089741 -2.810081)'))) / (select extract(epoch from '2026-08-12 09:04:33'::timestamp) - extract(epoch from '2026-08-12 09:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.089849 -2.810077)'), GeomFromEWKT('SRID=4674;POINT (-40.089741 -2.810081)'))) / (select extract(epoch from '2026-08-12 09:04:33'::timestamp) - extract(epoch from '2026-08-12 09:04: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'), 48198, 'SRID=4674;POINT (-40.08963 -2.810097)', '2026-08-12 09:04:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.089741 -2.810081)'), GeomFromEWKT('SRID=4674;POINT (-40.08963 -2.810097)'))) / (select extract(epoch from '2026-08-12 09:04:42'::timestamp) - extract(epoch from '2026-08-12 09:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.089741 -2.810081)'), GeomFromEWKT('SRID=4674;POINT (-40.08963 -2.810097)'))) / (select extract(epoch from '2026-08-12 09:04:42'::timestamp) - extract(epoch from '2026-08-12 09:04:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.08947 -2.810117)', '2026-08-12 09:04:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.08963 -2.810097)'), GeomFromEWKT('SRID=4674;POINT (-40.08947 -2.810117)'))) / (select extract(epoch from '2026-08-12 09:04:53'::timestamp) - extract(epoch from '2026-08-12 09:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.08963 -2.810097)'), GeomFromEWKT('SRID=4674;POINT (-40.08947 -2.810117)'))) / (select extract(epoch from '2026-08-12 09:04:53'::timestamp) - extract(epoch from '2026-08-12 09:04: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'), 48198, 'SRID=4674;POINT (-40.089365 -2.810129)', '2026-08-12 09:05:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.08947 -2.810117)'), GeomFromEWKT('SRID=4674;POINT (-40.089365 -2.810129)'))) / (select extract(epoch from '2026-08-12 09:05:01'::timestamp) - extract(epoch from '2026-08-12 09:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.08947 -2.810117)'), GeomFromEWKT('SRID=4674;POINT (-40.089365 -2.810129)'))) / (select extract(epoch from '2026-08-12 09:05:01'::timestamp) - extract(epoch from '2026-08-12 09:04:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.089252 -2.810137)', '2026-08-12 09:05:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.089365 -2.810129)'), GeomFromEWKT('SRID=4674;POINT (-40.089252 -2.810137)'))) / (select extract(epoch from '2026-08-12 09:05:11'::timestamp) - extract(epoch from '2026-08-12 09:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.089365 -2.810129)'), GeomFromEWKT('SRID=4674;POINT (-40.089252 -2.810137)'))) / (select extract(epoch from '2026-08-12 09:05:11'::timestamp) - extract(epoch from '2026-08-12 09:05: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'), 48198, 'SRID=4674;POINT (-40.089148 -2.810147)', '2026-08-12 09:05:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.089252 -2.810137)'), GeomFromEWKT('SRID=4674;POINT (-40.089148 -2.810147)'))) / (select extract(epoch from '2026-08-12 09:05:20'::timestamp) - extract(epoch from '2026-08-12 09:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.089252 -2.810137)'), GeomFromEWKT('SRID=4674;POINT (-40.089148 -2.810147)'))) / (select extract(epoch from '2026-08-12 09:05:20'::timestamp) - extract(epoch from '2026-08-12 09:05:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.089026 -2.810149)', '2026-08-12 09:05:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.089148 -2.810147)'), GeomFromEWKT('SRID=4674;POINT (-40.089026 -2.810149)'))) / (select extract(epoch from '2026-08-12 09:05:30'::timestamp) - extract(epoch from '2026-08-12 09:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.089148 -2.810147)'), GeomFromEWKT('SRID=4674;POINT (-40.089026 -2.810149)'))) / (select extract(epoch from '2026-08-12 09:05:30'::timestamp) - extract(epoch from '2026-08-12 09: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'), 48198, 'SRID=4674;POINT (-40.088924 -2.810128)', '2026-08-12 09:05:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.089026 -2.810149)'), GeomFromEWKT('SRID=4674;POINT (-40.088924 -2.810128)'))) / (select extract(epoch from '2026-08-12 09:05:39'::timestamp) - extract(epoch from '2026-08-12 09:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.089026 -2.810149)'), GeomFromEWKT('SRID=4674;POINT (-40.088924 -2.810128)'))) / (select extract(epoch from '2026-08-12 09:05:39'::timestamp) - extract(epoch from '2026-08-12 09:05: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'), 48198, 'SRID=4674;POINT (-40.088809 -2.810111)', '2026-08-12 09:05:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.088924 -2.810128)'), GeomFromEWKT('SRID=4674;POINT (-40.088809 -2.810111)'))) / (select extract(epoch from '2026-08-12 09:05:48'::timestamp) - extract(epoch from '2026-08-12 09:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.088924 -2.810128)'), GeomFromEWKT('SRID=4674;POINT (-40.088809 -2.810111)'))) / (select extract(epoch from '2026-08-12 09:05:48'::timestamp) - extract(epoch from '2026-08-12 09:05:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.088668 -2.810124)', '2026-08-12 09:05:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.088809 -2.810111)'), GeomFromEWKT('SRID=4674;POINT (-40.088668 -2.810124)'))) / (select extract(epoch from '2026-08-12 09:05:59'::timestamp) - extract(epoch from '2026-08-12 09:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.088809 -2.810111)'), GeomFromEWKT('SRID=4674;POINT (-40.088668 -2.810124)'))) / (select extract(epoch from '2026-08-12 09:05:59'::timestamp) - extract(epoch from '2026-08-12 09: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'), 48198, 'SRID=4674;POINT (-40.088536 -2.810124)', '2026-08-12 09:06:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.088668 -2.810124)'), GeomFromEWKT('SRID=4674;POINT (-40.088536 -2.810124)'))) / (select extract(epoch from '2026-08-12 09:06:09'::timestamp) - extract(epoch from '2026-08-12 09:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.088668 -2.810124)'), GeomFromEWKT('SRID=4674;POINT (-40.088536 -2.810124)'))) / (select extract(epoch from '2026-08-12 09:06:09'::timestamp) - extract(epoch from '2026-08-12 09:05: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'), 48198, 'SRID=4674;POINT (-40.088394 -2.810111)', '2026-08-12 09:06:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.088536 -2.810124)'), GeomFromEWKT('SRID=4674;POINT (-40.088394 -2.810111)'))) / (select extract(epoch from '2026-08-12 09:06:20'::timestamp) - extract(epoch from '2026-08-12 09:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.088536 -2.810124)'), GeomFromEWKT('SRID=4674;POINT (-40.088394 -2.810111)'))) / (select extract(epoch from '2026-08-12 09:06:20'::timestamp) - extract(epoch from '2026-08-12 09:06: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'), 48198, 'SRID=4674;POINT (-40.088246 -2.810079)', '2026-08-12 09:06:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.088394 -2.810111)'), GeomFromEWKT('SRID=4674;POINT (-40.088246 -2.810079)'))) / (select extract(epoch from '2026-08-12 09:06:31'::timestamp) - extract(epoch from '2026-08-12 09:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.088394 -2.810111)'), GeomFromEWKT('SRID=4674;POINT (-40.088246 -2.810079)'))) / (select extract(epoch from '2026-08-12 09:06:31'::timestamp) - extract(epoch from '2026-08-12 09:06: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'), 48198, 'SRID=4674;POINT (-40.088141 -2.810039)', '2026-08-12 09:06:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.088246 -2.810079)'), GeomFromEWKT('SRID=4674;POINT (-40.088141 -2.810039)'))) / (select extract(epoch from '2026-08-12 09:06:39'::timestamp) - extract(epoch from '2026-08-12 09:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.088246 -2.810079)'), GeomFromEWKT('SRID=4674;POINT (-40.088141 -2.810039)'))) / (select extract(epoch from '2026-08-12 09:06:39'::timestamp) - extract(epoch from '2026-08-12 09:06: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'), 48198, 'SRID=4674;POINT (-40.088023 -2.809983)', '2026-08-12 09:06:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.088141 -2.810039)'), GeomFromEWKT('SRID=4674;POINT (-40.088023 -2.809983)'))) / (select extract(epoch from '2026-08-12 09:06:49'::timestamp) - extract(epoch from '2026-08-12 09:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.088141 -2.810039)'), GeomFromEWKT('SRID=4674;POINT (-40.088023 -2.809983)'))) / (select extract(epoch from '2026-08-12 09:06:49'::timestamp) - extract(epoch from '2026-08-12 09:06: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'), 48198, 'SRID=4674;POINT (-40.087911 -2.809947)', '2026-08-12 09:06:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.088023 -2.809983)'), GeomFromEWKT('SRID=4674;POINT (-40.087911 -2.809947)'))) / (select extract(epoch from '2026-08-12 09:06:59'::timestamp) - extract(epoch from '2026-08-12 09:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.088023 -2.809983)'), GeomFromEWKT('SRID=4674;POINT (-40.087911 -2.809947)'))) / (select extract(epoch from '2026-08-12 09:06:59'::timestamp) - extract(epoch from '2026-08-12 09:06:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.087773 -2.809926)', '2026-08-12 09:07:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.087911 -2.809947)'), GeomFromEWKT('SRID=4674;POINT (-40.087773 -2.809926)'))) / (select extract(epoch from '2026-08-12 09:07:09'::timestamp) - extract(epoch from '2026-08-12 09:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.087911 -2.809947)'), GeomFromEWKT('SRID=4674;POINT (-40.087773 -2.809926)'))) / (select extract(epoch from '2026-08-12 09:07:09'::timestamp) - extract(epoch from '2026-08-12 09:06: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'), 48198, 'SRID=4674;POINT (-40.087637 -2.809902)', '2026-08-12 09:07:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.087773 -2.809926)'), GeomFromEWKT('SRID=4674;POINT (-40.087637 -2.809902)'))) / (select extract(epoch from '2026-08-12 09:07:20'::timestamp) - extract(epoch from '2026-08-12 09:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.087773 -2.809926)'), GeomFromEWKT('SRID=4674;POINT (-40.087637 -2.809902)'))) / (select extract(epoch from '2026-08-12 09:07:20'::timestamp) - extract(epoch from '2026-08-12 09:07: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'), 48198, 'SRID=4674;POINT (-40.087511 -2.809869)', '2026-08-12 09:07:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.087637 -2.809902)'), GeomFromEWKT('SRID=4674;POINT (-40.087511 -2.809869)'))) / (select extract(epoch from '2026-08-12 09:07:30'::timestamp) - extract(epoch from '2026-08-12 09:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.087637 -2.809902)'), GeomFromEWKT('SRID=4674;POINT (-40.087511 -2.809869)'))) / (select extract(epoch from '2026-08-12 09:07:30'::timestamp) - extract(epoch from '2026-08-12 09:07:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.087379 -2.809833)', '2026-08-12 09:07:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.087511 -2.809869)'), GeomFromEWKT('SRID=4674;POINT (-40.087379 -2.809833)'))) / (select extract(epoch from '2026-08-12 09:07:41'::timestamp) - extract(epoch from '2026-08-12 09:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.087511 -2.809869)'), GeomFromEWKT('SRID=4674;POINT (-40.087379 -2.809833)'))) / (select extract(epoch from '2026-08-12 09:07:41'::timestamp) - extract(epoch from '2026-08-12 09: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'), 48198, 'SRID=4674;POINT (-40.087276 -2.809817)', '2026-08-12 09:07:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.087379 -2.809833)'), GeomFromEWKT('SRID=4674;POINT (-40.087276 -2.809817)'))) / (select extract(epoch from '2026-08-12 09:07:50'::timestamp) - extract(epoch from '2026-08-12 09:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.087379 -2.809833)'), GeomFromEWKT('SRID=4674;POINT (-40.087276 -2.809817)'))) / (select extract(epoch from '2026-08-12 09:07:50'::timestamp) - extract(epoch from '2026-08-12 09:07:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.087158 -2.809833)', '2026-08-12 09:08:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.087276 -2.809817)'), GeomFromEWKT('SRID=4674;POINT (-40.087158 -2.809833)'))) / (select extract(epoch from '2026-08-12 09:08:01'::timestamp) - extract(epoch from '2026-08-12 09:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.087276 -2.809817)'), GeomFromEWKT('SRID=4674;POINT (-40.087158 -2.809833)'))) / (select extract(epoch from '2026-08-12 09:08:01'::timestamp) - extract(epoch from '2026-08-12 09: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'), 48198, 'SRID=4674;POINT (-40.087061 -2.809842)', '2026-08-12 09:08:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.087158 -2.809833)'), GeomFromEWKT('SRID=4674;POINT (-40.087061 -2.809842)'))) / (select extract(epoch from '2026-08-12 09:08:10'::timestamp) - extract(epoch from '2026-08-12 09:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.087158 -2.809833)'), GeomFromEWKT('SRID=4674;POINT (-40.087061 -2.809842)'))) / (select extract(epoch from '2026-08-12 09:08:10'::timestamp) - extract(epoch from '2026-08-12 09:08:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.086978 -2.809848)', '2026-08-12 09:08:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.087061 -2.809842)'), GeomFromEWKT('SRID=4674;POINT (-40.086978 -2.809848)'))) / (select extract(epoch from '2026-08-12 09:08:18'::timestamp) - extract(epoch from '2026-08-12 09:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.087061 -2.809842)'), GeomFromEWKT('SRID=4674;POINT (-40.086978 -2.809848)'))) / (select extract(epoch from '2026-08-12 09:08:18'::timestamp) - extract(epoch from '2026-08-12 09: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'), 48198, 'SRID=4674;POINT (-40.086838 -2.809813)', '2026-08-12 09:08:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.086978 -2.809848)'), GeomFromEWKT('SRID=4674;POINT (-40.086838 -2.809813)'))) / (select extract(epoch from '2026-08-12 09:08:29'::timestamp) - extract(epoch from '2026-08-12 09:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.086978 -2.809848)'), GeomFromEWKT('SRID=4674;POINT (-40.086838 -2.809813)'))) / (select extract(epoch from '2026-08-12 09:08:29'::timestamp) - extract(epoch from '2026-08-12 09:08: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'), 48198, 'SRID=4674;POINT (-40.086743 -2.809778)', '2026-08-12 09:08:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.086838 -2.809813)'), GeomFromEWKT('SRID=4674;POINT (-40.086743 -2.809778)'))) / (select extract(epoch from '2026-08-12 09:08:37'::timestamp) - extract(epoch from '2026-08-12 09:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.086838 -2.809813)'), GeomFromEWKT('SRID=4674;POINT (-40.086743 -2.809778)'))) / (select extract(epoch from '2026-08-12 09:08:37'::timestamp) - extract(epoch from '2026-08-12 09:08:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.086616 -2.809744)', '2026-08-12 09:08:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.086743 -2.809778)'), GeomFromEWKT('SRID=4674;POINT (-40.086616 -2.809744)'))) / (select extract(epoch from '2026-08-12 09:08:48'::timestamp) - extract(epoch from '2026-08-12 09:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.086743 -2.809778)'), GeomFromEWKT('SRID=4674;POINT (-40.086616 -2.809744)'))) / (select extract(epoch from '2026-08-12 09:08:48'::timestamp) - extract(epoch from '2026-08-12 09:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.086499 -2.809755)', '2026-08-12 09:08:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.086616 -2.809744)'), GeomFromEWKT('SRID=4674;POINT (-40.086499 -2.809755)'))) / (select extract(epoch from '2026-08-12 09:08:59'::timestamp) - extract(epoch from '2026-08-12 09:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.086616 -2.809744)'), GeomFromEWKT('SRID=4674;POINT (-40.086499 -2.809755)'))) / (select extract(epoch from '2026-08-12 09:08:59'::timestamp) - extract(epoch from '2026-08-12 09:08: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'), 48198, 'SRID=4674;POINT (-40.086374 -2.809788)', '2026-08-12 09:09:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.086499 -2.809755)'), GeomFromEWKT('SRID=4674;POINT (-40.086374 -2.809788)'))) / (select extract(epoch from '2026-08-12 09:09:09'::timestamp) - extract(epoch from '2026-08-12 09:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.086499 -2.809755)'), GeomFromEWKT('SRID=4674;POINT (-40.086374 -2.809788)'))) / (select extract(epoch from '2026-08-12 09:09:09'::timestamp) - extract(epoch from '2026-08-12 09:08:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.086206 -2.809798)', '2026-08-12 09:09:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.086374 -2.809788)'), GeomFromEWKT('SRID=4674;POINT (-40.086206 -2.809798)'))) / (select extract(epoch from '2026-08-12 09:09:22'::timestamp) - extract(epoch from '2026-08-12 09:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.086374 -2.809788)'), GeomFromEWKT('SRID=4674;POINT (-40.086206 -2.809798)'))) / (select extract(epoch from '2026-08-12 09:09:22'::timestamp) - extract(epoch from '2026-08-12 09:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.086075 -2.809816)', '2026-08-12 09:09:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.086206 -2.809798)'), GeomFromEWKT('SRID=4674;POINT (-40.086075 -2.809816)'))) / (select extract(epoch from '2026-08-12 09:09:32'::timestamp) - extract(epoch from '2026-08-12 09:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.086206 -2.809798)'), GeomFromEWKT('SRID=4674;POINT (-40.086075 -2.809816)'))) / (select extract(epoch from '2026-08-12 09:09:32'::timestamp) - extract(epoch from '2026-08-12 09: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'), 48198, 'SRID=4674;POINT (-40.08596 -2.80986)', '2026-08-12 09:09:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.086075 -2.809816)'), GeomFromEWKT('SRID=4674;POINT (-40.08596 -2.80986)'))) / (select extract(epoch from '2026-08-12 09:09:41'::timestamp) - extract(epoch from '2026-08-12 09:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.086075 -2.809816)'), GeomFromEWKT('SRID=4674;POINT (-40.08596 -2.80986)'))) / (select extract(epoch from '2026-08-12 09:09:41'::timestamp) - extract(epoch from '2026-08-12 09:09:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.085818 -2.809914)', '2026-08-12 09:09:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.08596 -2.80986)'), GeomFromEWKT('SRID=4674;POINT (-40.085818 -2.809914)'))) / (select extract(epoch from '2026-08-12 09:09:53'::timestamp) - extract(epoch from '2026-08-12 09:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.08596 -2.80986)'), GeomFromEWKT('SRID=4674;POINT (-40.085818 -2.809914)'))) / (select extract(epoch from '2026-08-12 09:09:53'::timestamp) - extract(epoch from '2026-08-12 09:09:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.085691 -2.809946)', '2026-08-12 09:10:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.085818 -2.809914)'), GeomFromEWKT('SRID=4674;POINT (-40.085691 -2.809946)'))) / (select extract(epoch from '2026-08-12 09:10:04'::timestamp) - extract(epoch from '2026-08-12 09:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.085818 -2.809914)'), GeomFromEWKT('SRID=4674;POINT (-40.085691 -2.809946)'))) / (select extract(epoch from '2026-08-12 09:10:04'::timestamp) - extract(epoch from '2026-08-12 09:09: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'), 48198, 'SRID=4674;POINT (-40.085569 -2.809989)', '2026-08-12 09:10:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.085691 -2.809946)'), GeomFromEWKT('SRID=4674;POINT (-40.085569 -2.809989)'))) / (select extract(epoch from '2026-08-12 09:10:14'::timestamp) - extract(epoch from '2026-08-12 09:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.085691 -2.809946)'), GeomFromEWKT('SRID=4674;POINT (-40.085569 -2.809989)'))) / (select extract(epoch from '2026-08-12 09:10:14'::timestamp) - extract(epoch from '2026-08-12 09: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'), 48198, 'SRID=4674;POINT (-40.085454 -2.810016)', '2026-08-12 09:10:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.085569 -2.809989)'), GeomFromEWKT('SRID=4674;POINT (-40.085454 -2.810016)'))) / (select extract(epoch from '2026-08-12 09:10:25'::timestamp) - extract(epoch from '2026-08-12 09:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.085569 -2.809989)'), GeomFromEWKT('SRID=4674;POINT (-40.085454 -2.810016)'))) / (select extract(epoch from '2026-08-12 09:10:25'::timestamp) - extract(epoch from '2026-08-12 09:10: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'), 48198, 'SRID=4674;POINT (-40.085306 -2.810042)', '2026-08-12 09:10:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.085454 -2.810016)'), GeomFromEWKT('SRID=4674;POINT (-40.085306 -2.810042)'))) / (select extract(epoch from '2026-08-12 09:10:37'::timestamp) - extract(epoch from '2026-08-12 09:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.085454 -2.810016)'), GeomFromEWKT('SRID=4674;POINT (-40.085306 -2.810042)'))) / (select extract(epoch from '2026-08-12 09:10:37'::timestamp) - extract(epoch from '2026-08-12 09:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48198, 'SRID=4674;POINT (-40.085239 -2.810052)', '2026-08-12 09:10:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.085306 -2.810042)'), GeomFromEWKT('SRID=4674;POINT (-40.085239 -2.810052)'))) / (select extract(epoch from '2026-08-12 09:10:43'::timestamp) - extract(epoch from '2026-08-12 09:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.085306 -2.810042)'), GeomFromEWKT('SRID=4674;POINT (-40.085239 -2.810052)'))) / (select extract(epoch from '2026-08-12 09:10:43'::timestamp) - extract(epoch from '2026-08-12 09:10:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
