 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143796 -2.824738)', '2026-08-19 19:25:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143704 -2.824679)'), GeomFromEWKT('SRID=4674;POINT (-40.143796 -2.824738)'))) / (select extract(epoch from '2026-08-19 19:25:33'::timestamp) - extract(epoch from '2026-08-19 19:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143704 -2.824679)'), GeomFromEWKT('SRID=4674;POINT (-40.143796 -2.824738)'))) / (select extract(epoch from '2026-08-19 19:25:33'::timestamp) - extract(epoch from '2026-08-19 19:25: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'), 48199, 'SRID=4674;POINT (-40.143895 -2.824774)', '2026-08-19 19:25:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143796 -2.824738)'), GeomFromEWKT('SRID=4674;POINT (-40.143895 -2.824774)'))) / (select extract(epoch from '2026-08-19 19:25:47'::timestamp) - extract(epoch from '2026-08-19 19:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143796 -2.824738)'), GeomFromEWKT('SRID=4674;POINT (-40.143895 -2.824774)'))) / (select extract(epoch from '2026-08-19 19:25:47'::timestamp) - extract(epoch from '2026-08-19 19:25: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'), 48199, 'SRID=4674;POINT (-40.144003 -2.82485)', '2026-08-19 19:26:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143895 -2.824774)'), GeomFromEWKT('SRID=4674;POINT (-40.144003 -2.82485)'))) / (select extract(epoch from '2026-08-19 19:26:05'::timestamp) - extract(epoch from '2026-08-19 19:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143895 -2.824774)'), GeomFromEWKT('SRID=4674;POINT (-40.144003 -2.82485)'))) / (select extract(epoch from '2026-08-19 19:26:05'::timestamp) - extract(epoch from '2026-08-19 19:25: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'), 48199, 'SRID=4674;POINT (-40.144056 -2.824924)', '2026-08-19 19:26:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144003 -2.82485)'), GeomFromEWKT('SRID=4674;POINT (-40.144056 -2.824924)'))) / (select extract(epoch from '2026-08-19 19:26:19'::timestamp) - extract(epoch from '2026-08-19 19:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144003 -2.82485)'), GeomFromEWKT('SRID=4674;POINT (-40.144056 -2.824924)'))) / (select extract(epoch from '2026-08-19 19:26:19'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.144127 -2.824999)', '2026-08-19 19:26:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144056 -2.824924)'), GeomFromEWKT('SRID=4674;POINT (-40.144127 -2.824999)'))) / (select extract(epoch from '2026-08-19 19:26:33'::timestamp) - extract(epoch from '2026-08-19 19:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144056 -2.824924)'), GeomFromEWKT('SRID=4674;POINT (-40.144127 -2.824999)'))) / (select extract(epoch from '2026-08-19 19:26:33'::timestamp) - extract(epoch from '2026-08-19 19:26:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144234 -2.825014)', '2026-08-19 19:26:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144127 -2.824999)'), GeomFromEWKT('SRID=4674;POINT (-40.144234 -2.825014)'))) / (select extract(epoch from '2026-08-19 19:26:47'::timestamp) - extract(epoch from '2026-08-19 19:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144127 -2.824999)'), GeomFromEWKT('SRID=4674;POINT (-40.144234 -2.825014)'))) / (select extract(epoch from '2026-08-19 19:26:47'::timestamp) - extract(epoch from '2026-08-19 19:26: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'), 48199, 'SRID=4674;POINT (-40.144328 -2.825048)', '2026-08-19 19:27:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144234 -2.825014)'), GeomFromEWKT('SRID=4674;POINT (-40.144328 -2.825048)'))) / (select extract(epoch from '2026-08-19 19:27:02'::timestamp) - extract(epoch from '2026-08-19 19:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144234 -2.825014)'), GeomFromEWKT('SRID=4674;POINT (-40.144328 -2.825048)'))) / (select extract(epoch from '2026-08-19 19:27:02'::timestamp) - extract(epoch from '2026-08-19 19:26: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'), 48199, 'SRID=4674;POINT (-40.144411 -2.825063)', '2026-08-19 19:27:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144328 -2.825048)'), GeomFromEWKT('SRID=4674;POINT (-40.144411 -2.825063)'))) / (select extract(epoch from '2026-08-19 19:27:16'::timestamp) - extract(epoch from '2026-08-19 19:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144328 -2.825048)'), GeomFromEWKT('SRID=4674;POINT (-40.144411 -2.825063)'))) / (select extract(epoch from '2026-08-19 19:27:16'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.144508 -2.825089)', '2026-08-19 19:27:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144411 -2.825063)'), GeomFromEWKT('SRID=4674;POINT (-40.144508 -2.825089)'))) / (select extract(epoch from '2026-08-19 19:27:32'::timestamp) - extract(epoch from '2026-08-19 19:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144411 -2.825063)'), GeomFromEWKT('SRID=4674;POINT (-40.144508 -2.825089)'))) / (select extract(epoch from '2026-08-19 19:27:32'::timestamp) - extract(epoch from '2026-08-19 19:27: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'), 48199, 'SRID=4674;POINT (-40.144565 -2.825112)', '2026-08-19 19:27:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144508 -2.825089)'), GeomFromEWKT('SRID=4674;POINT (-40.144565 -2.825112)'))) / (select extract(epoch from '2026-08-19 19:27:46'::timestamp) - extract(epoch from '2026-08-19 19:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144508 -2.825089)'), GeomFromEWKT('SRID=4674;POINT (-40.144565 -2.825112)'))) / (select extract(epoch from '2026-08-19 19:27:46'::timestamp) - extract(epoch from '2026-08-19 19:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144582 -2.825111)', '2026-08-19 19:28:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144565 -2.825112)'), GeomFromEWKT('SRID=4674;POINT (-40.144582 -2.825111)'))) / (select extract(epoch from '2026-08-19 19:28:01'::timestamp) - extract(epoch from '2026-08-19 19:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144565 -2.825112)'), GeomFromEWKT('SRID=4674;POINT (-40.144582 -2.825111)'))) / (select extract(epoch from '2026-08-19 19:28:01'::timestamp) - extract(epoch from '2026-08-19 19:27: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'), 48199, 'SRID=4674;POINT (-40.144566 -2.825137)', '2026-08-19 19:28:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144582 -2.825111)'), GeomFromEWKT('SRID=4674;POINT (-40.144566 -2.825137)'))) / (select extract(epoch from '2026-08-19 19:28:15'::timestamp) - extract(epoch from '2026-08-19 19:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144582 -2.825111)'), GeomFromEWKT('SRID=4674;POINT (-40.144566 -2.825137)'))) / (select extract(epoch from '2026-08-19 19:28:15'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.14456 -2.825151)', '2026-08-19 19:28:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144566 -2.825137)'), GeomFromEWKT('SRID=4674;POINT (-40.14456 -2.825151)'))) / (select extract(epoch from '2026-08-19 19:28:29'::timestamp) - extract(epoch from '2026-08-19 19:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144566 -2.825137)'), GeomFromEWKT('SRID=4674;POINT (-40.14456 -2.825151)'))) / (select extract(epoch from '2026-08-19 19:28:29'::timestamp) - extract(epoch from '2026-08-19 19:28: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'), 48199, 'SRID=4674;POINT (-40.144559 -2.82514)', '2026-08-19 19:28:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14456 -2.825151)'), GeomFromEWKT('SRID=4674;POINT (-40.144559 -2.82514)'))) / (select extract(epoch from '2026-08-19 19:28:40'::timestamp) - extract(epoch from '2026-08-19 19:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14456 -2.825151)'), GeomFromEWKT('SRID=4674;POINT (-40.144559 -2.82514)'))) / (select extract(epoch from '2026-08-19 19:28:40'::timestamp) - extract(epoch from '2026-08-19 19:28: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'), 48199, 'SRID=4674;POINT (-40.144569 -2.825139)', '2026-08-19 19:28:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144559 -2.82514)'), GeomFromEWKT('SRID=4674;POINT (-40.144569 -2.825139)'))) / (select extract(epoch from '2026-08-19 19:28:54'::timestamp) - extract(epoch from '2026-08-19 19:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144559 -2.82514)'), GeomFromEWKT('SRID=4674;POINT (-40.144569 -2.825139)'))) / (select extract(epoch from '2026-08-19 19:28:54'::timestamp) - extract(epoch from '2026-08-19 19:28: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'), 48199, 'SRID=4674;POINT (-40.144575 -2.82515)', '2026-08-19 19:29:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144569 -2.825139)'), GeomFromEWKT('SRID=4674;POINT (-40.144575 -2.82515)'))) / (select extract(epoch from '2026-08-19 19:29:11'::timestamp) - extract(epoch from '2026-08-19 19:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144569 -2.825139)'), GeomFromEWKT('SRID=4674;POINT (-40.144575 -2.82515)'))) / (select extract(epoch from '2026-08-19 19:29:11'::timestamp) - extract(epoch from '2026-08-19 19:28: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'), 48199, 'SRID=4674;POINT (-40.144574 -2.825153)', '2026-08-19 19:29:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144575 -2.82515)'), GeomFromEWKT('SRID=4674;POINT (-40.144574 -2.825153)'))) / (select extract(epoch from '2026-08-19 19:29:25'::timestamp) - extract(epoch from '2026-08-19 19:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144575 -2.82515)'), GeomFromEWKT('SRID=4674;POINT (-40.144574 -2.825153)'))) / (select extract(epoch from '2026-08-19 19:29:25'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.144571 -2.825147)', '2026-08-19 19:29:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144574 -2.825153)'), GeomFromEWKT('SRID=4674;POINT (-40.144571 -2.825147)'))) / (select extract(epoch from '2026-08-19 19:29:43'::timestamp) - extract(epoch from '2026-08-19 19:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144574 -2.825153)'), GeomFromEWKT('SRID=4674;POINT (-40.144571 -2.825147)'))) / (select extract(epoch from '2026-08-19 19:29:43'::timestamp) - extract(epoch from '2026-08-19 19:29:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144575 -2.825135)', '2026-08-19 19:29:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144571 -2.825147)'), GeomFromEWKT('SRID=4674;POINT (-40.144575 -2.825135)'))) / (select extract(epoch from '2026-08-19 19:29:59'::timestamp) - extract(epoch from '2026-08-19 19:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144571 -2.825147)'), GeomFromEWKT('SRID=4674;POINT (-40.144575 -2.825135)'))) / (select extract(epoch from '2026-08-19 19:29:59'::timestamp) - extract(epoch from '2026-08-19 19:29: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'), 48199, 'SRID=4674;POINT (-40.144575 -2.825139)', '2026-08-19 19:30:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144575 -2.825135)'), GeomFromEWKT('SRID=4674;POINT (-40.144575 -2.825139)'))) / (select extract(epoch from '2026-08-19 19:30:14'::timestamp) - extract(epoch from '2026-08-19 19:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144575 -2.825135)'), GeomFromEWKT('SRID=4674;POINT (-40.144575 -2.825139)'))) / (select extract(epoch from '2026-08-19 19:30:14'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.144575 -2.825131)', '2026-08-19 19:30:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144575 -2.825139)'), GeomFromEWKT('SRID=4674;POINT (-40.144575 -2.825131)'))) / (select extract(epoch from '2026-08-19 19:30:24'::timestamp) - extract(epoch from '2026-08-19 19:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144575 -2.825139)'), GeomFromEWKT('SRID=4674;POINT (-40.144575 -2.825131)'))) / (select extract(epoch from '2026-08-19 19:30:24'::timestamp) - extract(epoch from '2026-08-19 19:30:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144573 -2.825136)', '2026-08-19 19:30:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144575 -2.825131)'), GeomFromEWKT('SRID=4674;POINT (-40.144573 -2.825136)'))) / (select extract(epoch from '2026-08-19 19:30:33'::timestamp) - extract(epoch from '2026-08-19 19:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144575 -2.825131)'), GeomFromEWKT('SRID=4674;POINT (-40.144573 -2.825136)'))) / (select extract(epoch from '2026-08-19 19:30:33'::timestamp) - extract(epoch from '2026-08-19 19:30:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144582 -2.825137)', '2026-08-19 19:30:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144573 -2.825136)'), GeomFromEWKT('SRID=4674;POINT (-40.144582 -2.825137)'))) / (select extract(epoch from '2026-08-19 19:30:47'::timestamp) - extract(epoch from '2026-08-19 19:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144573 -2.825136)'), GeomFromEWKT('SRID=4674;POINT (-40.144582 -2.825137)'))) / (select extract(epoch from '2026-08-19 19:30:47'::timestamp) - extract(epoch from '2026-08-19 19:30:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144582 -2.825146)', '2026-08-19 19:31:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144582 -2.825137)'), GeomFromEWKT('SRID=4674;POINT (-40.144582 -2.825146)'))) / (select extract(epoch from '2026-08-19 19:31:04'::timestamp) - extract(epoch from '2026-08-19 19:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144582 -2.825137)'), GeomFromEWKT('SRID=4674;POINT (-40.144582 -2.825146)'))) / (select extract(epoch from '2026-08-19 19:31:04'::timestamp) - extract(epoch from '2026-08-19 19:30: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'), 48199, 'SRID=4674;POINT (-40.144583 -2.825149)', '2026-08-19 19:31:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144582 -2.825146)'), GeomFromEWKT('SRID=4674;POINT (-40.144583 -2.825149)'))) / (select extract(epoch from '2026-08-19 19:31:17'::timestamp) - extract(epoch from '2026-08-19 19:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144582 -2.825146)'), GeomFromEWKT('SRID=4674;POINT (-40.144583 -2.825149)'))) / (select extract(epoch from '2026-08-19 19:31:17'::timestamp) - extract(epoch from '2026-08-19 19:31:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.14458 -2.825154)', '2026-08-19 19:31:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144583 -2.825149)'), GeomFromEWKT('SRID=4674;POINT (-40.14458 -2.825154)'))) / (select extract(epoch from '2026-08-19 19:31:30'::timestamp) - extract(epoch from '2026-08-19 19:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144583 -2.825149)'), GeomFromEWKT('SRID=4674;POINT (-40.14458 -2.825154)'))) / (select extract(epoch from '2026-08-19 19:31:30'::timestamp) - extract(epoch from '2026-08-19 19:31: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'), 48199, 'SRID=4674;POINT (-40.144578 -2.82516)', '2026-08-19 19:31:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14458 -2.825154)'), GeomFromEWKT('SRID=4674;POINT (-40.144578 -2.82516)'))) / (select extract(epoch from '2026-08-19 19:31:43'::timestamp) - extract(epoch from '2026-08-19 19:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14458 -2.825154)'), GeomFromEWKT('SRID=4674;POINT (-40.144578 -2.82516)'))) / (select extract(epoch from '2026-08-19 19:31:43'::timestamp) - extract(epoch from '2026-08-19 19:31: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'), 48199, 'SRID=4674;POINT (-40.144579 -2.825163)', '2026-08-19 19:31:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144578 -2.82516)'), GeomFromEWKT('SRID=4674;POINT (-40.144579 -2.825163)'))) / (select extract(epoch from '2026-08-19 19:31:56'::timestamp) - extract(epoch from '2026-08-19 19:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144578 -2.82516)'), GeomFromEWKT('SRID=4674;POINT (-40.144579 -2.825163)'))) / (select extract(epoch from '2026-08-19 19:31:56'::timestamp) - extract(epoch from '2026-08-19 19:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144587 -2.825154)', '2026-08-19 19:32:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144579 -2.825163)'), GeomFromEWKT('SRID=4674;POINT (-40.144587 -2.825154)'))) / (select extract(epoch from '2026-08-19 19:32:09'::timestamp) - extract(epoch from '2026-08-19 19:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144579 -2.825163)'), GeomFromEWKT('SRID=4674;POINT (-40.144587 -2.825154)'))) / (select extract(epoch from '2026-08-19 19:32:09'::timestamp) - extract(epoch from '2026-08-19 19:31: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'), 48199, 'SRID=4674;POINT (-40.144587 -2.825159)', '2026-08-19 19:32:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144587 -2.825154)'), GeomFromEWKT('SRID=4674;POINT (-40.144587 -2.825159)'))) / (select extract(epoch from '2026-08-19 19:32:25'::timestamp) - extract(epoch from '2026-08-19 19:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144587 -2.825154)'), GeomFromEWKT('SRID=4674;POINT (-40.144587 -2.825159)'))) / (select extract(epoch from '2026-08-19 19:32:25'::timestamp) - extract(epoch from '2026-08-19 19:32: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'), 48199, 'SRID=4674;POINT (-40.144591 -2.825157)', '2026-08-19 19:32:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144587 -2.825159)'), GeomFromEWKT('SRID=4674;POINT (-40.144591 -2.825157)'))) / (select extract(epoch from '2026-08-19 19:32:39'::timestamp) - extract(epoch from '2026-08-19 19:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144587 -2.825159)'), GeomFromEWKT('SRID=4674;POINT (-40.144591 -2.825157)'))) / (select extract(epoch from '2026-08-19 19:32:39'::timestamp) - extract(epoch from '2026-08-19 19:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144593 -2.82515)', '2026-08-19 19:32:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144591 -2.825157)'), GeomFromEWKT('SRID=4674;POINT (-40.144593 -2.82515)'))) / (select extract(epoch from '2026-08-19 19:32:49'::timestamp) - extract(epoch from '2026-08-19 19:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144591 -2.825157)'), GeomFromEWKT('SRID=4674;POINT (-40.144593 -2.82515)'))) / (select extract(epoch from '2026-08-19 19:32:49'::timestamp) - extract(epoch from '2026-08-19 19:32: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'), 48199, 'SRID=4674;POINT (-40.144592 -2.825133)', '2026-08-19 19:33:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144593 -2.82515)'), GeomFromEWKT('SRID=4674;POINT (-40.144592 -2.825133)'))) / (select extract(epoch from '2026-08-19 19:33:01'::timestamp) - extract(epoch from '2026-08-19 19:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144593 -2.82515)'), GeomFromEWKT('SRID=4674;POINT (-40.144592 -2.825133)'))) / (select extract(epoch from '2026-08-19 19:33:01'::timestamp) - extract(epoch from '2026-08-19 19:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144585 -2.825138)', '2026-08-19 19:33:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144592 -2.825133)'), GeomFromEWKT('SRID=4674;POINT (-40.144585 -2.825138)'))) / (select extract(epoch from '2026-08-19 19:33:14'::timestamp) - extract(epoch from '2026-08-19 19:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144592 -2.825133)'), GeomFromEWKT('SRID=4674;POINT (-40.144585 -2.825138)'))) / (select extract(epoch from '2026-08-19 19:33:14'::timestamp) - extract(epoch from '2026-08-19 19:33:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.14458 -2.825142)', '2026-08-19 19:33:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144585 -2.825138)'), GeomFromEWKT('SRID=4674;POINT (-40.14458 -2.825142)'))) / (select extract(epoch from '2026-08-19 19:33:29'::timestamp) - extract(epoch from '2026-08-19 19:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144585 -2.825138)'), GeomFromEWKT('SRID=4674;POINT (-40.14458 -2.825142)'))) / (select extract(epoch from '2026-08-19 19:33:29'::timestamp) - extract(epoch from '2026-08-19 19:33: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'), 48199, 'SRID=4674;POINT (-40.144583 -2.825138)', '2026-08-19 19:33:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14458 -2.825142)'), GeomFromEWKT('SRID=4674;POINT (-40.144583 -2.825138)'))) / (select extract(epoch from '2026-08-19 19:33:47'::timestamp) - extract(epoch from '2026-08-19 19:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14458 -2.825142)'), GeomFromEWKT('SRID=4674;POINT (-40.144583 -2.825138)'))) / (select extract(epoch from '2026-08-19 19:33:47'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.144581 -2.82513)', '2026-08-19 19:33:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144583 -2.825138)'), GeomFromEWKT('SRID=4674;POINT (-40.144581 -2.82513)'))) / (select extract(epoch from '2026-08-19 19:33:56'::timestamp) - extract(epoch from '2026-08-19 19:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144583 -2.825138)'), GeomFromEWKT('SRID=4674;POINT (-40.144581 -2.82513)'))) / (select extract(epoch from '2026-08-19 19:33:56'::timestamp) - extract(epoch from '2026-08-19 19:33: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'), 48199, 'SRID=4674;POINT (-40.14458 -2.825127)', '2026-08-19 19:34:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144581 -2.82513)'), GeomFromEWKT('SRID=4674;POINT (-40.14458 -2.825127)'))) / (select extract(epoch from '2026-08-19 19:34:12'::timestamp) - extract(epoch from '2026-08-19 19:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144581 -2.82513)'), GeomFromEWKT('SRID=4674;POINT (-40.14458 -2.825127)'))) / (select extract(epoch from '2026-08-19 19:34:12'::timestamp) - extract(epoch from '2026-08-19 19:33: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'), 48199, 'SRID=4674;POINT (-40.144562 -2.825136)', '2026-08-19 19:34:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14458 -2.825127)'), GeomFromEWKT('SRID=4674;POINT (-40.144562 -2.825136)'))) / (select extract(epoch from '2026-08-19 19:34:27'::timestamp) - extract(epoch from '2026-08-19 19:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14458 -2.825127)'), GeomFromEWKT('SRID=4674;POINT (-40.144562 -2.825136)'))) / (select extract(epoch from '2026-08-19 19:34:27'::timestamp) - extract(epoch from '2026-08-19 19:34:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144475 -2.82511)', '2026-08-19 19:34:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144562 -2.825136)'), GeomFromEWKT('SRID=4674;POINT (-40.144475 -2.82511)'))) / (select extract(epoch from '2026-08-19 19:34:41'::timestamp) - extract(epoch from '2026-08-19 19:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144562 -2.825136)'), GeomFromEWKT('SRID=4674;POINT (-40.144475 -2.82511)'))) / (select extract(epoch from '2026-08-19 19:34:41'::timestamp) - extract(epoch from '2026-08-19 19:34:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144379 -2.825083)', '2026-08-19 19:34:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144475 -2.82511)'), GeomFromEWKT('SRID=4674;POINT (-40.144379 -2.825083)'))) / (select extract(epoch from '2026-08-19 19:34:52'::timestamp) - extract(epoch from '2026-08-19 19:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144475 -2.82511)'), GeomFromEWKT('SRID=4674;POINT (-40.144379 -2.825083)'))) / (select extract(epoch from '2026-08-19 19:34:52'::timestamp) - extract(epoch from '2026-08-19 19:34:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144347 -2.82512)', '2026-08-19 19:35:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144379 -2.825083)'), GeomFromEWKT('SRID=4674;POINT (-40.144347 -2.82512)'))) / (select extract(epoch from '2026-08-19 19:35:02'::timestamp) - extract(epoch from '2026-08-19 19:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144379 -2.825083)'), GeomFromEWKT('SRID=4674;POINT (-40.144347 -2.82512)'))) / (select extract(epoch from '2026-08-19 19:35:02'::timestamp) - extract(epoch from '2026-08-19 19:34:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144369 -2.825244)', '2026-08-19 19:35:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144347 -2.82512)'), GeomFromEWKT('SRID=4674;POINT (-40.144369 -2.825244)'))) / (select extract(epoch from '2026-08-19 19:35:14'::timestamp) - extract(epoch from '2026-08-19 19:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144347 -2.82512)'), GeomFromEWKT('SRID=4674;POINT (-40.144369 -2.825244)'))) / (select extract(epoch from '2026-08-19 19:35:14'::timestamp) - extract(epoch from '2026-08-19 19:35: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'), 48199, 'SRID=4674;POINT (-40.144353 -2.825282)', '2026-08-19 19:35:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144369 -2.825244)'), GeomFromEWKT('SRID=4674;POINT (-40.144353 -2.825282)'))) / (select extract(epoch from '2026-08-19 19:35:26'::timestamp) - extract(epoch from '2026-08-19 19:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144369 -2.825244)'), GeomFromEWKT('SRID=4674;POINT (-40.144353 -2.825282)'))) / (select extract(epoch from '2026-08-19 19:35:26'::timestamp) - extract(epoch from '2026-08-19 19:35:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144345 -2.825295)', '2026-08-19 19:35:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144353 -2.825282)'), GeomFromEWKT('SRID=4674;POINT (-40.144345 -2.825295)'))) / (select extract(epoch from '2026-08-19 19:35:39'::timestamp) - extract(epoch from '2026-08-19 19:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144353 -2.825282)'), GeomFromEWKT('SRID=4674;POINT (-40.144345 -2.825295)'))) / (select extract(epoch from '2026-08-19 19:35:39'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.144315 -2.825268)', '2026-08-19 19:35:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144345 -2.825295)'), GeomFromEWKT('SRID=4674;POINT (-40.144315 -2.825268)'))) / (select extract(epoch from '2026-08-19 19:35:49'::timestamp) - extract(epoch from '2026-08-19 19:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144345 -2.825295)'), GeomFromEWKT('SRID=4674;POINT (-40.144315 -2.825268)'))) / (select extract(epoch from '2026-08-19 19:35:49'::timestamp) - extract(epoch from '2026-08-19 19:35:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144236 -2.825254)', '2026-08-19 19:36:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144315 -2.825268)'), GeomFromEWKT('SRID=4674;POINT (-40.144236 -2.825254)'))) / (select extract(epoch from '2026-08-19 19:36:01'::timestamp) - extract(epoch from '2026-08-19 19:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144315 -2.825268)'), GeomFromEWKT('SRID=4674;POINT (-40.144236 -2.825254)'))) / (select extract(epoch from '2026-08-19 19:36:01'::timestamp) - extract(epoch from '2026-08-19 19:35:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.14416 -2.825203)', '2026-08-19 19:36:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144236 -2.825254)'), GeomFromEWKT('SRID=4674;POINT (-40.14416 -2.825203)'))) / (select extract(epoch from '2026-08-19 19:36:16'::timestamp) - extract(epoch from '2026-08-19 19:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144236 -2.825254)'), GeomFromEWKT('SRID=4674;POINT (-40.14416 -2.825203)'))) / (select extract(epoch from '2026-08-19 19:36:16'::timestamp) - extract(epoch from '2026-08-19 19:36: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'), 48199, 'SRID=4674;POINT (-40.144092 -2.825173)', '2026-08-19 19:36:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14416 -2.825203)'), GeomFromEWKT('SRID=4674;POINT (-40.144092 -2.825173)'))) / (select extract(epoch from '2026-08-19 19:36:30'::timestamp) - extract(epoch from '2026-08-19 19:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14416 -2.825203)'), GeomFromEWKT('SRID=4674;POINT (-40.144092 -2.825173)'))) / (select extract(epoch from '2026-08-19 19:36:30'::timestamp) - extract(epoch from '2026-08-19 19:36: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'), 48199, 'SRID=4674;POINT (-40.144012 -2.825149)', '2026-08-19 19:36:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144092 -2.825173)'), GeomFromEWKT('SRID=4674;POINT (-40.144012 -2.825149)'))) / (select extract(epoch from '2026-08-19 19:36:48'::timestamp) - extract(epoch from '2026-08-19 19:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144092 -2.825173)'), GeomFromEWKT('SRID=4674;POINT (-40.144012 -2.825149)'))) / (select extract(epoch from '2026-08-19 19:36:48'::timestamp) - extract(epoch from '2026-08-19 19:36:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143965 -2.825155)', '2026-08-19 19:37:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144012 -2.825149)'), GeomFromEWKT('SRID=4674;POINT (-40.143965 -2.825155)'))) / (select extract(epoch from '2026-08-19 19:37:00'::timestamp) - extract(epoch from '2026-08-19 19:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144012 -2.825149)'), GeomFromEWKT('SRID=4674;POINT (-40.143965 -2.825155)'))) / (select extract(epoch from '2026-08-19 19:37:00'::timestamp) - extract(epoch from '2026-08-19 19:36: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'), 48199, 'SRID=4674;POINT (-40.143929 -2.825135)', '2026-08-19 19:37:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143965 -2.825155)'), GeomFromEWKT('SRID=4674;POINT (-40.143929 -2.825135)'))) / (select extract(epoch from '2026-08-19 19:37:11'::timestamp) - extract(epoch from '2026-08-19 19:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143965 -2.825155)'), GeomFromEWKT('SRID=4674;POINT (-40.143929 -2.825135)'))) / (select extract(epoch from '2026-08-19 19:37:11'::timestamp) - extract(epoch from '2026-08-19 19:37:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143856 -2.825064)', '2026-08-19 19:37:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143929 -2.825135)'), GeomFromEWKT('SRID=4674;POINT (-40.143856 -2.825064)'))) / (select extract(epoch from '2026-08-19 19:37:27'::timestamp) - extract(epoch from '2026-08-19 19:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143929 -2.825135)'), GeomFromEWKT('SRID=4674;POINT (-40.143856 -2.825064)'))) / (select extract(epoch from '2026-08-19 19:37:27'::timestamp) - extract(epoch from '2026-08-19 19:37: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'), 48199, 'SRID=4674;POINT (-40.143789 -2.825065)', '2026-08-19 19:37:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143856 -2.825064)'), GeomFromEWKT('SRID=4674;POINT (-40.143789 -2.825065)'))) / (select extract(epoch from '2026-08-19 19:37:42'::timestamp) - extract(epoch from '2026-08-19 19:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143856 -2.825064)'), GeomFromEWKT('SRID=4674;POINT (-40.143789 -2.825065)'))) / (select extract(epoch from '2026-08-19 19:37:42'::timestamp) - extract(epoch from '2026-08-19 19:37: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'), 48199, 'SRID=4674;POINT (-40.14379 -2.825136)', '2026-08-19 19:37:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143789 -2.825065)'), GeomFromEWKT('SRID=4674;POINT (-40.14379 -2.825136)'))) / (select extract(epoch from '2026-08-19 19:37:52'::timestamp) - extract(epoch from '2026-08-19 19:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143789 -2.825065)'), GeomFromEWKT('SRID=4674;POINT (-40.14379 -2.825136)'))) / (select extract(epoch from '2026-08-19 19:37:52'::timestamp) - extract(epoch from '2026-08-19 19:37:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143806 -2.82527)', '2026-08-19 19:38:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14379 -2.825136)'), GeomFromEWKT('SRID=4674;POINT (-40.143806 -2.82527)'))) / (select extract(epoch from '2026-08-19 19:38:06'::timestamp) - extract(epoch from '2026-08-19 19:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14379 -2.825136)'), GeomFromEWKT('SRID=4674;POINT (-40.143806 -2.82527)'))) / (select extract(epoch from '2026-08-19 19:38:06'::timestamp) - extract(epoch from '2026-08-19 19:37:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143836 -2.82543)', '2026-08-19 19:38:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143806 -2.82527)'), GeomFromEWKT('SRID=4674;POINT (-40.143836 -2.82543)'))) / (select extract(epoch from '2026-08-19 19:38:26'::timestamp) - extract(epoch from '2026-08-19 19:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143806 -2.82527)'), GeomFromEWKT('SRID=4674;POINT (-40.143836 -2.82543)'))) / (select extract(epoch from '2026-08-19 19:38:26'::timestamp) - extract(epoch from '2026-08-19 19:38: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'), 48199, 'SRID=4674;POINT (-40.143858 -2.825483)', '2026-08-19 19:38:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143836 -2.82543)'), GeomFromEWKT('SRID=4674;POINT (-40.143858 -2.825483)'))) / (select extract(epoch from '2026-08-19 19:38:34'::timestamp) - extract(epoch from '2026-08-19 19:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143836 -2.82543)'), GeomFromEWKT('SRID=4674;POINT (-40.143858 -2.825483)'))) / (select extract(epoch from '2026-08-19 19:38:34'::timestamp) - extract(epoch from '2026-08-19 19:38: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'), 48199, 'SRID=4674;POINT (-40.14387 -2.825554)', '2026-08-19 19:38:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143858 -2.825483)'), GeomFromEWKT('SRID=4674;POINT (-40.14387 -2.825554)'))) / (select extract(epoch from '2026-08-19 19:38:43'::timestamp) - extract(epoch from '2026-08-19 19:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143858 -2.825483)'), GeomFromEWKT('SRID=4674;POINT (-40.14387 -2.825554)'))) / (select extract(epoch from '2026-08-19 19:38:43'::timestamp) - extract(epoch from '2026-08-19 19:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143891 -2.825659)', '2026-08-19 19:38:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14387 -2.825554)'), GeomFromEWKT('SRID=4674;POINT (-40.143891 -2.825659)'))) / (select extract(epoch from '2026-08-19 19:38:56'::timestamp) - extract(epoch from '2026-08-19 19:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14387 -2.825554)'), GeomFromEWKT('SRID=4674;POINT (-40.143891 -2.825659)'))) / (select extract(epoch from '2026-08-19 19:38:56'::timestamp) - extract(epoch from '2026-08-19 19:38:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143915 -2.825793)', '2026-08-19 19:39:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143891 -2.825659)'), GeomFromEWKT('SRID=4674;POINT (-40.143915 -2.825793)'))) / (select extract(epoch from '2026-08-19 19:39:13'::timestamp) - extract(epoch from '2026-08-19 19:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143891 -2.825659)'), GeomFromEWKT('SRID=4674;POINT (-40.143915 -2.825793)'))) / (select extract(epoch from '2026-08-19 19:39:13'::timestamp) - extract(epoch from '2026-08-19 19:38:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143956 -2.825955)', '2026-08-19 19:39:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143915 -2.825793)'), GeomFromEWKT('SRID=4674;POINT (-40.143956 -2.825955)'))) / (select extract(epoch from '2026-08-19 19:39:31'::timestamp) - extract(epoch from '2026-08-19 19:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143915 -2.825793)'), GeomFromEWKT('SRID=4674;POINT (-40.143956 -2.825955)'))) / (select extract(epoch from '2026-08-19 19:39:31'::timestamp) - extract(epoch from '2026-08-19 19:39: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'), 48199, 'SRID=4674;POINT (-40.143975 -2.826073)', '2026-08-19 19:39:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143956 -2.825955)'), GeomFromEWKT('SRID=4674;POINT (-40.143975 -2.826073)'))) / (select extract(epoch from '2026-08-19 19:39:45'::timestamp) - extract(epoch from '2026-08-19 19:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143956 -2.825955)'), GeomFromEWKT('SRID=4674;POINT (-40.143975 -2.826073)'))) / (select extract(epoch from '2026-08-19 19:39:45'::timestamp) - extract(epoch from '2026-08-19 19:39:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143989 -2.826233)', '2026-08-19 19:40:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143975 -2.826073)'), GeomFromEWKT('SRID=4674;POINT (-40.143989 -2.826233)'))) / (select extract(epoch from '2026-08-19 19:40:02'::timestamp) - extract(epoch from '2026-08-19 19:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143975 -2.826073)'), GeomFromEWKT('SRID=4674;POINT (-40.143989 -2.826233)'))) / (select extract(epoch from '2026-08-19 19:40:02'::timestamp) - extract(epoch from '2026-08-19 19:39: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'), 48199, 'SRID=4674;POINT (-40.144031 -2.826364)', '2026-08-19 19:40:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143989 -2.826233)'), GeomFromEWKT('SRID=4674;POINT (-40.144031 -2.826364)'))) / (select extract(epoch from '2026-08-19 19:40:17'::timestamp) - extract(epoch from '2026-08-19 19:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143989 -2.826233)'), GeomFromEWKT('SRID=4674;POINT (-40.144031 -2.826364)'))) / (select extract(epoch from '2026-08-19 19:40:17'::timestamp) - extract(epoch from '2026-08-19 19:40: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'), 48199, 'SRID=4674;POINT (-40.144063 -2.826472)', '2026-08-19 19:40:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144031 -2.826364)'), GeomFromEWKT('SRID=4674;POINT (-40.144063 -2.826472)'))) / (select extract(epoch from '2026-08-19 19:40:31'::timestamp) - extract(epoch from '2026-08-19 19:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144031 -2.826364)'), GeomFromEWKT('SRID=4674;POINT (-40.144063 -2.826472)'))) / (select extract(epoch from '2026-08-19 19:40:31'::timestamp) - extract(epoch from '2026-08-19 19:40: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'), 48199, 'SRID=4674;POINT (-40.144065 -2.82655)', '2026-08-19 19:40:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144063 -2.826472)'), GeomFromEWKT('SRID=4674;POINT (-40.144065 -2.82655)'))) / (select extract(epoch from '2026-08-19 19:40:41'::timestamp) - extract(epoch from '2026-08-19 19:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144063 -2.826472)'), GeomFromEWKT('SRID=4674;POINT (-40.144065 -2.82655)'))) / (select extract(epoch from '2026-08-19 19:40:41'::timestamp) - extract(epoch from '2026-08-19 19:40:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144095 -2.826634)', '2026-08-19 19:40:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144065 -2.82655)'), GeomFromEWKT('SRID=4674;POINT (-40.144095 -2.826634)'))) / (select extract(epoch from '2026-08-19 19:40:50'::timestamp) - extract(epoch from '2026-08-19 19:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144065 -2.82655)'), GeomFromEWKT('SRID=4674;POINT (-40.144095 -2.826634)'))) / (select extract(epoch from '2026-08-19 19:40:50'::timestamp) - extract(epoch from '2026-08-19 19:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144116 -2.826705)', '2026-08-19 19:40:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144095 -2.826634)'), GeomFromEWKT('SRID=4674;POINT (-40.144116 -2.826705)'))) / (select extract(epoch from '2026-08-19 19:40:59'::timestamp) - extract(epoch from '2026-08-19 19:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144095 -2.826634)'), GeomFromEWKT('SRID=4674;POINT (-40.144116 -2.826705)'))) / (select extract(epoch from '2026-08-19 19:40:59'::timestamp) - extract(epoch from '2026-08-19 19:40: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'), 48199, 'SRID=4674;POINT (-40.144134 -2.826834)', '2026-08-19 19:41:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144116 -2.826705)'), GeomFromEWKT('SRID=4674;POINT (-40.144134 -2.826834)'))) / (select extract(epoch from '2026-08-19 19:41:13'::timestamp) - extract(epoch from '2026-08-19 19:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144116 -2.826705)'), GeomFromEWKT('SRID=4674;POINT (-40.144134 -2.826834)'))) / (select extract(epoch from '2026-08-19 19:41:13'::timestamp) - extract(epoch from '2026-08-19 19:40:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144159 -2.82698)', '2026-08-19 19:41:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144134 -2.826834)'), GeomFromEWKT('SRID=4674;POINT (-40.144159 -2.82698)'))) / (select extract(epoch from '2026-08-19 19:41:29'::timestamp) - extract(epoch from '2026-08-19 19:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144134 -2.826834)'), GeomFromEWKT('SRID=4674;POINT (-40.144159 -2.82698)'))) / (select extract(epoch from '2026-08-19 19:41:29'::timestamp) - extract(epoch from '2026-08-19 19:41:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144137 -2.82708)', '2026-08-19 19:41:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144159 -2.82698)'), GeomFromEWKT('SRID=4674;POINT (-40.144137 -2.82708)'))) / (select extract(epoch from '2026-08-19 19:41:43'::timestamp) - extract(epoch from '2026-08-19 19:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144159 -2.82698)'), GeomFromEWKT('SRID=4674;POINT (-40.144137 -2.82708)'))) / (select extract(epoch from '2026-08-19 19:41:43'::timestamp) - extract(epoch from '2026-08-19 19:41: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'), 48199, 'SRID=4674;POINT (-40.144106 -2.827155)', '2026-08-19 19:42:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144137 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.144106 -2.827155)'))) / (select extract(epoch from '2026-08-19 19:42:00'::timestamp) - extract(epoch from '2026-08-19 19:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144137 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.144106 -2.827155)'))) / (select extract(epoch from '2026-08-19 19:42:00'::timestamp) - extract(epoch from '2026-08-19 19:41: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'), 48199, 'SRID=4674;POINT (-40.144053 -2.827205)', '2026-08-19 19:42:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144106 -2.827155)'), GeomFromEWKT('SRID=4674;POINT (-40.144053 -2.827205)'))) / (select extract(epoch from '2026-08-19 19:42:14'::timestamp) - extract(epoch from '2026-08-19 19:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144106 -2.827155)'), GeomFromEWKT('SRID=4674;POINT (-40.144053 -2.827205)'))) / (select extract(epoch from '2026-08-19 19:42:14'::timestamp) - extract(epoch from '2026-08-19 19:42: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'), 48199, 'SRID=4674;POINT (-40.143991 -2.827244)', '2026-08-19 19:42:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144053 -2.827205)'), GeomFromEWKT('SRID=4674;POINT (-40.143991 -2.827244)'))) / (select extract(epoch from '2026-08-19 19:42:27'::timestamp) - extract(epoch from '2026-08-19 19:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144053 -2.827205)'), GeomFromEWKT('SRID=4674;POINT (-40.143991 -2.827244)'))) / (select extract(epoch from '2026-08-19 19:42:27'::timestamp) - extract(epoch from '2026-08-19 19:42: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'), 48199, 'SRID=4674;POINT (-40.143939 -2.827247)', '2026-08-19 19:42:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143991 -2.827244)'), GeomFromEWKT('SRID=4674;POINT (-40.143939 -2.827247)'))) / (select extract(epoch from '2026-08-19 19:42:43'::timestamp) - extract(epoch from '2026-08-19 19:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143991 -2.827244)'), GeomFromEWKT('SRID=4674;POINT (-40.143939 -2.827247)'))) / (select extract(epoch from '2026-08-19 19:42:43'::timestamp) - extract(epoch from '2026-08-19 19:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143873 -2.827223)', '2026-08-19 19:42:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143939 -2.827247)'), GeomFromEWKT('SRID=4674;POINT (-40.143873 -2.827223)'))) / (select extract(epoch from '2026-08-19 19:42:58'::timestamp) - extract(epoch from '2026-08-19 19:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143939 -2.827247)'), GeomFromEWKT('SRID=4674;POINT (-40.143873 -2.827223)'))) / (select extract(epoch from '2026-08-19 19:42:58'::timestamp) - extract(epoch from '2026-08-19 19:42: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'), 48199, 'SRID=4674;POINT (-40.143846 -2.827268)', '2026-08-19 19:43:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143873 -2.827223)'), GeomFromEWKT('SRID=4674;POINT (-40.143846 -2.827268)'))) / (select extract(epoch from '2026-08-19 19:43:13'::timestamp) - extract(epoch from '2026-08-19 19:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143873 -2.827223)'), GeomFromEWKT('SRID=4674;POINT (-40.143846 -2.827268)'))) / (select extract(epoch from '2026-08-19 19:43:13'::timestamp) - extract(epoch from '2026-08-19 19:42: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'), 48199, 'SRID=4674;POINT (-40.143874 -2.827279)', '2026-08-19 19:43:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143846 -2.827268)'), GeomFromEWKT('SRID=4674;POINT (-40.143874 -2.827279)'))) / (select extract(epoch from '2026-08-19 19:43:29'::timestamp) - extract(epoch from '2026-08-19 19:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143846 -2.827268)'), GeomFromEWKT('SRID=4674;POINT (-40.143874 -2.827279)'))) / (select extract(epoch from '2026-08-19 19:43:29'::timestamp) - extract(epoch from '2026-08-19 19:43:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143894 -2.827257)', '2026-08-19 19:43:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143874 -2.827279)'), GeomFromEWKT('SRID=4674;POINT (-40.143894 -2.827257)'))) / (select extract(epoch from '2026-08-19 19:43:46'::timestamp) - extract(epoch from '2026-08-19 19:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143874 -2.827279)'), GeomFromEWKT('SRID=4674;POINT (-40.143894 -2.827257)'))) / (select extract(epoch from '2026-08-19 19:43:46'::timestamp) - extract(epoch from '2026-08-19 19:43: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'), 48199, 'SRID=4674;POINT (-40.143889 -2.827256)', '2026-08-19 19:43:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143894 -2.827257)'), GeomFromEWKT('SRID=4674;POINT (-40.143889 -2.827256)'))) / (select extract(epoch from '2026-08-19 19:43:52'::timestamp) - extract(epoch from '2026-08-19 19:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143894 -2.827257)'), GeomFromEWKT('SRID=4674;POINT (-40.143889 -2.827256)'))) / (select extract(epoch from '2026-08-19 19:43:52'::timestamp) - extract(epoch from '2026-08-19 19:43: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'), 48199, 'SRID=4674;POINT (-40.143886 -2.827237)', '2026-08-19 19:44:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143889 -2.827256)'), GeomFromEWKT('SRID=4674;POINT (-40.143886 -2.827237)'))) / (select extract(epoch from '2026-08-19 19:44:02'::timestamp) - extract(epoch from '2026-08-19 19:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143889 -2.827256)'), GeomFromEWKT('SRID=4674;POINT (-40.143886 -2.827237)'))) / (select extract(epoch from '2026-08-19 19:44:02'::timestamp) - extract(epoch from '2026-08-19 19:43: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'), 48199, 'SRID=4674;POINT (-40.14387 -2.827214)', '2026-08-19 19:44:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143886 -2.827237)'), GeomFromEWKT('SRID=4674;POINT (-40.14387 -2.827214)'))) / (select extract(epoch from '2026-08-19 19:44:18'::timestamp) - extract(epoch from '2026-08-19 19:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143886 -2.827237)'), GeomFromEWKT('SRID=4674;POINT (-40.14387 -2.827214)'))) / (select extract(epoch from '2026-08-19 19:44:18'::timestamp) - extract(epoch from '2026-08-19 19:44: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'), 48199, 'SRID=4674;POINT (-40.143863 -2.8272)', '2026-08-19 19:44:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14387 -2.827214)'), GeomFromEWKT('SRID=4674;POINT (-40.143863 -2.8272)'))) / (select extract(epoch from '2026-08-19 19:44:32'::timestamp) - extract(epoch from '2026-08-19 19:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14387 -2.827214)'), GeomFromEWKT('SRID=4674;POINT (-40.143863 -2.8272)'))) / (select extract(epoch from '2026-08-19 19:44:32'::timestamp) - extract(epoch from '2026-08-19 19:44:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143843 -2.827137)', '2026-08-19 19:44:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143863 -2.8272)'), GeomFromEWKT('SRID=4674;POINT (-40.143843 -2.827137)'))) / (select extract(epoch from '2026-08-19 19:44:51'::timestamp) - extract(epoch from '2026-08-19 19:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143863 -2.8272)'), GeomFromEWKT('SRID=4674;POINT (-40.143843 -2.827137)'))) / (select extract(epoch from '2026-08-19 19:44:51'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.143825 -2.827121)', '2026-08-19 19:45:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143843 -2.827137)'), GeomFromEWKT('SRID=4674;POINT (-40.143825 -2.827121)'))) / (select extract(epoch from '2026-08-19 19:45:05'::timestamp) - extract(epoch from '2026-08-19 19:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143843 -2.827137)'), GeomFromEWKT('SRID=4674;POINT (-40.143825 -2.827121)'))) / (select extract(epoch from '2026-08-19 19:45:05'::timestamp) - extract(epoch from '2026-08-19 19:44:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143821 -2.827114)', '2026-08-19 19:45:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143825 -2.827121)'), GeomFromEWKT('SRID=4674;POINT (-40.143821 -2.827114)'))) / (select extract(epoch from '2026-08-19 19:45:20'::timestamp) - extract(epoch from '2026-08-19 19:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143825 -2.827121)'), GeomFromEWKT('SRID=4674;POINT (-40.143821 -2.827114)'))) / (select extract(epoch from '2026-08-19 19:45:20'::timestamp) - extract(epoch from '2026-08-19 19:45:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143842 -2.827106)', '2026-08-19 19:45:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143821 -2.827114)'), GeomFromEWKT('SRID=4674;POINT (-40.143842 -2.827106)'))) / (select extract(epoch from '2026-08-19 19:45:37'::timestamp) - extract(epoch from '2026-08-19 19:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143821 -2.827114)'), GeomFromEWKT('SRID=4674;POINT (-40.143842 -2.827106)'))) / (select extract(epoch from '2026-08-19 19:45:37'::timestamp) - extract(epoch from '2026-08-19 19:45:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143848 -2.827071)', '2026-08-19 19:45:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143842 -2.827106)'), GeomFromEWKT('SRID=4674;POINT (-40.143848 -2.827071)'))) / (select extract(epoch from '2026-08-19 19:45:50'::timestamp) - extract(epoch from '2026-08-19 19:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143842 -2.827106)'), GeomFromEWKT('SRID=4674;POINT (-40.143848 -2.827071)'))) / (select extract(epoch from '2026-08-19 19:45:50'::timestamp) - extract(epoch from '2026-08-19 19:45: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'), 48199, 'SRID=4674;POINT (-40.143816 -2.827074)', '2026-08-19 19:46:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143848 -2.827071)'), GeomFromEWKT('SRID=4674;POINT (-40.143816 -2.827074)'))) / (select extract(epoch from '2026-08-19 19:46:07'::timestamp) - extract(epoch from '2026-08-19 19:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143848 -2.827071)'), GeomFromEWKT('SRID=4674;POINT (-40.143816 -2.827074)'))) / (select extract(epoch from '2026-08-19 19:46:07'::timestamp) - extract(epoch from '2026-08-19 19:45: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'), 48199, 'SRID=4674;POINT (-40.143793 -2.827086)', '2026-08-19 19:46:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143816 -2.827074)'), GeomFromEWKT('SRID=4674;POINT (-40.143793 -2.827086)'))) / (select extract(epoch from '2026-08-19 19:46:18'::timestamp) - extract(epoch from '2026-08-19 19:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143816 -2.827074)'), GeomFromEWKT('SRID=4674;POINT (-40.143793 -2.827086)'))) / (select extract(epoch from '2026-08-19 19:46:18'::timestamp) - extract(epoch from '2026-08-19 19:46:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143747 -2.827045)', '2026-08-19 19:46:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143793 -2.827086)'), GeomFromEWKT('SRID=4674;POINT (-40.143747 -2.827045)'))) / (select extract(epoch from '2026-08-19 19:46:33'::timestamp) - extract(epoch from '2026-08-19 19:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143793 -2.827086)'), GeomFromEWKT('SRID=4674;POINT (-40.143747 -2.827045)'))) / (select extract(epoch from '2026-08-19 19:46:33'::timestamp) - extract(epoch from '2026-08-19 19:46:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143702 -2.827023)', '2026-08-19 19:46:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143747 -2.827045)'), GeomFromEWKT('SRID=4674;POINT (-40.143702 -2.827023)'))) / (select extract(epoch from '2026-08-19 19:46:47'::timestamp) - extract(epoch from '2026-08-19 19:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143747 -2.827045)'), GeomFromEWKT('SRID=4674;POINT (-40.143702 -2.827023)'))) / (select extract(epoch from '2026-08-19 19:46:47'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.143689 -2.827022)', '2026-08-19 19:46:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143702 -2.827023)'), GeomFromEWKT('SRID=4674;POINT (-40.143689 -2.827022)'))) / (select extract(epoch from '2026-08-19 19:46:59'::timestamp) - extract(epoch from '2026-08-19 19:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143702 -2.827023)'), GeomFromEWKT('SRID=4674;POINT (-40.143689 -2.827022)'))) / (select extract(epoch from '2026-08-19 19:46:59'::timestamp) - extract(epoch from '2026-08-19 19:46: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'), 48199, 'SRID=4674;POINT (-40.143702 -2.827007)', '2026-08-19 19:47:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143689 -2.827022)'), GeomFromEWKT('SRID=4674;POINT (-40.143702 -2.827007)'))) / (select extract(epoch from '2026-08-19 19:47:13'::timestamp) - extract(epoch from '2026-08-19 19:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143689 -2.827022)'), GeomFromEWKT('SRID=4674;POINT (-40.143702 -2.827007)'))) / (select extract(epoch from '2026-08-19 19:47:13'::timestamp) - extract(epoch from '2026-08-19 19:46:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143708 -2.827001)', '2026-08-19 19:47:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143702 -2.827007)'), GeomFromEWKT('SRID=4674;POINT (-40.143708 -2.827001)'))) / (select extract(epoch from '2026-08-19 19:47:24'::timestamp) - extract(epoch from '2026-08-19 19:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143702 -2.827007)'), GeomFromEWKT('SRID=4674;POINT (-40.143708 -2.827001)'))) / (select extract(epoch from '2026-08-19 19:47:24'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.143729 -2.826986)', '2026-08-19 19:47:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143708 -2.827001)'), GeomFromEWKT('SRID=4674;POINT (-40.143729 -2.826986)'))) / (select extract(epoch from '2026-08-19 19:47:38'::timestamp) - extract(epoch from '2026-08-19 19:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143708 -2.827001)'), GeomFromEWKT('SRID=4674;POINT (-40.143729 -2.826986)'))) / (select extract(epoch from '2026-08-19 19:47:38'::timestamp) - extract(epoch from '2026-08-19 19:47: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'), 48199, 'SRID=4674;POINT (-40.143758 -2.826917)', '2026-08-19 19:47:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143729 -2.826986)'), GeomFromEWKT('SRID=4674;POINT (-40.143758 -2.826917)'))) / (select extract(epoch from '2026-08-19 19:47:52'::timestamp) - extract(epoch from '2026-08-19 19:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143729 -2.826986)'), GeomFromEWKT('SRID=4674;POINT (-40.143758 -2.826917)'))) / (select extract(epoch from '2026-08-19 19:47:52'::timestamp) - extract(epoch from '2026-08-19 19:47:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143755 -2.826891)', '2026-08-19 19:48:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143758 -2.826917)'), GeomFromEWKT('SRID=4674;POINT (-40.143755 -2.826891)'))) / (select extract(epoch from '2026-08-19 19:48:05'::timestamp) - extract(epoch from '2026-08-19 19:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143758 -2.826917)'), GeomFromEWKT('SRID=4674;POINT (-40.143755 -2.826891)'))) / (select extract(epoch from '2026-08-19 19:48:05'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.143703 -2.826952)', '2026-08-19 19:48:17', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143755 -2.826891)'), GeomFromEWKT('SRID=4674;POINT (-40.143703 -2.826952)'))) / (select extract(epoch from '2026-08-19 19:48:17'::timestamp) - extract(epoch from '2026-08-19 19:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143755 -2.826891)'), GeomFromEWKT('SRID=4674;POINT (-40.143703 -2.826952)'))) / (select extract(epoch from '2026-08-19 19:48:17'::timestamp) - extract(epoch from '2026-08-19 19:48:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143561 -2.827002)', '2026-08-19 19:48:30', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143703 -2.826952)'), GeomFromEWKT('SRID=4674;POINT (-40.143561 -2.827002)'))) / (select extract(epoch from '2026-08-19 19:48:30'::timestamp) - extract(epoch from '2026-08-19 19:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143703 -2.826952)'), GeomFromEWKT('SRID=4674;POINT (-40.143561 -2.827002)'))) / (select extract(epoch from '2026-08-19 19:48:30'::timestamp) - extract(epoch from '2026-08-19 19:48:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143383 -2.827051)', '2026-08-19 19:48:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143561 -2.827002)'), GeomFromEWKT('SRID=4674;POINT (-40.143383 -2.827051)'))) / (select extract(epoch from '2026-08-19 19:48:43'::timestamp) - extract(epoch from '2026-08-19 19:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143561 -2.827002)'), GeomFromEWKT('SRID=4674;POINT (-40.143383 -2.827051)'))) / (select extract(epoch from '2026-08-19 19:48:43'::timestamp) - extract(epoch from '2026-08-19 19:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143296 -2.82711)', '2026-08-19 19:48:52', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143383 -2.827051)'), GeomFromEWKT('SRID=4674;POINT (-40.143296 -2.82711)'))) / (select extract(epoch from '2026-08-19 19:48:52'::timestamp) - extract(epoch from '2026-08-19 19:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143383 -2.827051)'), GeomFromEWKT('SRID=4674;POINT (-40.143296 -2.82711)'))) / (select extract(epoch from '2026-08-19 19:48:52'::timestamp) - extract(epoch from '2026-08-19 19:48:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143231 -2.827134)', '2026-08-19 19:49:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143296 -2.82711)'), GeomFromEWKT('SRID=4674;POINT (-40.143231 -2.827134)'))) / (select extract(epoch from '2026-08-19 19:49:00'::timestamp) - extract(epoch from '2026-08-19 19:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143296 -2.82711)'), GeomFromEWKT('SRID=4674;POINT (-40.143231 -2.827134)'))) / (select extract(epoch from '2026-08-19 19:49:00'::timestamp) - extract(epoch from '2026-08-19 19:48:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143168 -2.827149)', '2026-08-19 19:49:08', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143231 -2.827134)'), GeomFromEWKT('SRID=4674;POINT (-40.143168 -2.827149)'))) / (select extract(epoch from '2026-08-19 19:49:08'::timestamp) - extract(epoch from '2026-08-19 19:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143231 -2.827134)'), GeomFromEWKT('SRID=4674;POINT (-40.143168 -2.827149)'))) / (select extract(epoch from '2026-08-19 19:49:08'::timestamp) - extract(epoch from '2026-08-19 19:49: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'), 48199, 'SRID=4674;POINT (-40.143083 -2.827162)', '2026-08-19 19:49:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143168 -2.827149)'), GeomFromEWKT('SRID=4674;POINT (-40.143083 -2.827162)'))) / (select extract(epoch from '2026-08-19 19:49:19'::timestamp) - extract(epoch from '2026-08-19 19:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143168 -2.827149)'), GeomFromEWKT('SRID=4674;POINT (-40.143083 -2.827162)'))) / (select extract(epoch from '2026-08-19 19:49:19'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.142989 -2.827173)', '2026-08-19 19:49:28', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143083 -2.827162)'), GeomFromEWKT('SRID=4674;POINT (-40.142989 -2.827173)'))) / (select extract(epoch from '2026-08-19 19:49:28'::timestamp) - extract(epoch from '2026-08-19 19:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143083 -2.827162)'), GeomFromEWKT('SRID=4674;POINT (-40.142989 -2.827173)'))) / (select extract(epoch from '2026-08-19 19:49:28'::timestamp) - extract(epoch from '2026-08-19 19:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.142879 -2.827168)', '2026-08-19 19:49:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142989 -2.827173)'), GeomFromEWKT('SRID=4674;POINT (-40.142879 -2.827168)'))) / (select extract(epoch from '2026-08-19 19:49:36'::timestamp) - extract(epoch from '2026-08-19 19:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142989 -2.827173)'), GeomFromEWKT('SRID=4674;POINT (-40.142879 -2.827168)'))) / (select extract(epoch from '2026-08-19 19:49:36'::timestamp) - extract(epoch from '2026-08-19 19:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.142719 -2.827185)', '2026-08-19 19:49:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142879 -2.827168)'), GeomFromEWKT('SRID=4674;POINT (-40.142719 -2.827185)'))) / (select extract(epoch from '2026-08-19 19:49:46'::timestamp) - extract(epoch from '2026-08-19 19:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142879 -2.827168)'), GeomFromEWKT('SRID=4674;POINT (-40.142719 -2.827185)'))) / (select extract(epoch from '2026-08-19 19:49:46'::timestamp) - extract(epoch from '2026-08-19 19:49: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'), 48199, 'SRID=4674;POINT (-40.142583 -2.827218)', '2026-08-19 19:49:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142719 -2.827185)'), GeomFromEWKT('SRID=4674;POINT (-40.142583 -2.827218)'))) / (select extract(epoch from '2026-08-19 19:49:54'::timestamp) - extract(epoch from '2026-08-19 19:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142719 -2.827185)'), GeomFromEWKT('SRID=4674;POINT (-40.142583 -2.827218)'))) / (select extract(epoch from '2026-08-19 19:49:54'::timestamp) - extract(epoch from '2026-08-19 19:49: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'), 48199, 'SRID=4674;POINT (-40.142424 -2.827234)', '2026-08-19 19:50:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142583 -2.827218)'), GeomFromEWKT('SRID=4674;POINT (-40.142424 -2.827234)'))) / (select extract(epoch from '2026-08-19 19:50:04'::timestamp) - extract(epoch from '2026-08-19 19:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142583 -2.827218)'), GeomFromEWKT('SRID=4674;POINT (-40.142424 -2.827234)'))) / (select extract(epoch from '2026-08-19 19:50:04'::timestamp) - extract(epoch from '2026-08-19 19:49: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'), 48199, 'SRID=4674;POINT (-40.142248 -2.827216)', '2026-08-19 19:50:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142424 -2.827234)'), GeomFromEWKT('SRID=4674;POINT (-40.142248 -2.827216)'))) / (select extract(epoch from '2026-08-19 19:50:15'::timestamp) - extract(epoch from '2026-08-19 19:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142424 -2.827234)'), GeomFromEWKT('SRID=4674;POINT (-40.142248 -2.827216)'))) / (select extract(epoch from '2026-08-19 19:50:15'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.142107 -2.827222)', '2026-08-19 19:50:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142248 -2.827216)'), GeomFromEWKT('SRID=4674;POINT (-40.142107 -2.827222)'))) / (select extract(epoch from '2026-08-19 19:50:24'::timestamp) - extract(epoch from '2026-08-19 19:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142248 -2.827216)'), GeomFromEWKT('SRID=4674;POINT (-40.142107 -2.827222)'))) / (select extract(epoch from '2026-08-19 19:50:24'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.141921 -2.827267)', '2026-08-19 19:50:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142107 -2.827222)'), GeomFromEWKT('SRID=4674;POINT (-40.141921 -2.827267)'))) / (select extract(epoch from '2026-08-19 19:50:36'::timestamp) - extract(epoch from '2026-08-19 19:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142107 -2.827222)'), GeomFromEWKT('SRID=4674;POINT (-40.141921 -2.827267)'))) / (select extract(epoch from '2026-08-19 19:50:36'::timestamp) - extract(epoch from '2026-08-19 19:50:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.141803 -2.827283)', '2026-08-19 19:50:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141921 -2.827267)'), GeomFromEWKT('SRID=4674;POINT (-40.141803 -2.827283)'))) / (select extract(epoch from '2026-08-19 19:50:44'::timestamp) - extract(epoch from '2026-08-19 19:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141921 -2.827267)'), GeomFromEWKT('SRID=4674;POINT (-40.141803 -2.827283)'))) / (select extract(epoch from '2026-08-19 19:50:44'::timestamp) - extract(epoch from '2026-08-19 19:50: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'), 48199, 'SRID=4674;POINT (-40.141662 -2.827292)', '2026-08-19 19:50:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141803 -2.827283)'), GeomFromEWKT('SRID=4674;POINT (-40.141662 -2.827292)'))) / (select extract(epoch from '2026-08-19 19:50:53'::timestamp) - extract(epoch from '2026-08-19 19:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141803 -2.827283)'), GeomFromEWKT('SRID=4674;POINT (-40.141662 -2.827292)'))) / (select extract(epoch from '2026-08-19 19:50:53'::timestamp) - extract(epoch from '2026-08-19 19:50: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'), 48199, 'SRID=4674;POINT (-40.141501 -2.827287)', '2026-08-19 19:51:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141662 -2.827292)'), GeomFromEWKT('SRID=4674;POINT (-40.141501 -2.827287)'))) / (select extract(epoch from '2026-08-19 19:51:03'::timestamp) - extract(epoch from '2026-08-19 19:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141662 -2.827292)'), GeomFromEWKT('SRID=4674;POINT (-40.141501 -2.827287)'))) / (select extract(epoch from '2026-08-19 19:51:03'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.14137 -2.827313)', '2026-08-19 19:51:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141501 -2.827287)'), GeomFromEWKT('SRID=4674;POINT (-40.14137 -2.827313)'))) / (select extract(epoch from '2026-08-19 19:51:11'::timestamp) - extract(epoch from '2026-08-19 19:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141501 -2.827287)'), GeomFromEWKT('SRID=4674;POINT (-40.14137 -2.827313)'))) / (select extract(epoch from '2026-08-19 19:51:11'::timestamp) - extract(epoch from '2026-08-19 19:51: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'), 48199, 'SRID=4674;POINT (-40.141243 -2.827338)', '2026-08-19 19:51:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14137 -2.827313)'), GeomFromEWKT('SRID=4674;POINT (-40.141243 -2.827338)'))) / (select extract(epoch from '2026-08-19 19:51:20'::timestamp) - extract(epoch from '2026-08-19 19:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14137 -2.827313)'), GeomFromEWKT('SRID=4674;POINT (-40.141243 -2.827338)'))) / (select extract(epoch from '2026-08-19 19:51:20'::timestamp) - extract(epoch from '2026-08-19 19:51: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'), 48199, 'SRID=4674;POINT (-40.141073 -2.827346)', '2026-08-19 19:51:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141243 -2.827338)'), GeomFromEWKT('SRID=4674;POINT (-40.141073 -2.827346)'))) / (select extract(epoch from '2026-08-19 19:51:31'::timestamp) - extract(epoch from '2026-08-19 19:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141243 -2.827338)'), GeomFromEWKT('SRID=4674;POINT (-40.141073 -2.827346)'))) / (select extract(epoch from '2026-08-19 19:51:31'::timestamp) - extract(epoch from '2026-08-19 19:51:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.140943 -2.827351)', '2026-08-19 19:51:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141073 -2.827346)'), GeomFromEWKT('SRID=4674;POINT (-40.140943 -2.827351)'))) / (select extract(epoch from '2026-08-19 19:51:39'::timestamp) - extract(epoch from '2026-08-19 19:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141073 -2.827346)'), GeomFromEWKT('SRID=4674;POINT (-40.140943 -2.827351)'))) / (select extract(epoch from '2026-08-19 19:51:39'::timestamp) - extract(epoch from '2026-08-19 19:51:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.140783 -2.82735)', '2026-08-19 19:51:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140943 -2.827351)'), GeomFromEWKT('SRID=4674;POINT (-40.140783 -2.82735)'))) / (select extract(epoch from '2026-08-19 19:51:49'::timestamp) - extract(epoch from '2026-08-19 19:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140943 -2.827351)'), GeomFromEWKT('SRID=4674;POINT (-40.140783 -2.82735)'))) / (select extract(epoch from '2026-08-19 19:51:49'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.140632 -2.827362)', '2026-08-19 19:51:58', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140783 -2.82735)'), GeomFromEWKT('SRID=4674;POINT (-40.140632 -2.827362)'))) / (select extract(epoch from '2026-08-19 19:51:58'::timestamp) - extract(epoch from '2026-08-19 19:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140783 -2.82735)'), GeomFromEWKT('SRID=4674;POINT (-40.140632 -2.827362)'))) / (select extract(epoch from '2026-08-19 19:51:58'::timestamp) - extract(epoch from '2026-08-19 19:51:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.140462 -2.827371)', '2026-08-19 19:52:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140632 -2.827362)'), GeomFromEWKT('SRID=4674;POINT (-40.140462 -2.827371)'))) / (select extract(epoch from '2026-08-19 19:52:08'::timestamp) - extract(epoch from '2026-08-19 19:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140632 -2.827362)'), GeomFromEWKT('SRID=4674;POINT (-40.140462 -2.827371)'))) / (select extract(epoch from '2026-08-19 19:52:08'::timestamp) - extract(epoch from '2026-08-19 19:51: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'), 48199, 'SRID=4674;POINT (-40.140331 -2.82736)', '2026-08-19 19:52:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140462 -2.827371)'), GeomFromEWKT('SRID=4674;POINT (-40.140331 -2.82736)'))) / (select extract(epoch from '2026-08-19 19:52:16'::timestamp) - extract(epoch from '2026-08-19 19:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140462 -2.827371)'), GeomFromEWKT('SRID=4674;POINT (-40.140331 -2.82736)'))) / (select extract(epoch from '2026-08-19 19:52:16'::timestamp) - extract(epoch from '2026-08-19 19:52:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.140176 -2.827343)', '2026-08-19 19:52:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140331 -2.82736)'), GeomFromEWKT('SRID=4674;POINT (-40.140176 -2.827343)'))) / (select extract(epoch from '2026-08-19 19:52:25'::timestamp) - extract(epoch from '2026-08-19 19:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140331 -2.82736)'), GeomFromEWKT('SRID=4674;POINT (-40.140176 -2.827343)'))) / (select extract(epoch from '2026-08-19 19:52:25'::timestamp) - extract(epoch from '2026-08-19 19:52: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'), 48199, 'SRID=4674;POINT (-40.139966 -2.82732)', '2026-08-19 19:52:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140176 -2.827343)'), GeomFromEWKT('SRID=4674;POINT (-40.139966 -2.82732)'))) / (select extract(epoch from '2026-08-19 19:52:39'::timestamp) - extract(epoch from '2026-08-19 19:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140176 -2.827343)'), GeomFromEWKT('SRID=4674;POINT (-40.139966 -2.82732)'))) / (select extract(epoch from '2026-08-19 19:52:39'::timestamp) - extract(epoch from '2026-08-19 19:52:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.139824 -2.827309)', '2026-08-19 19:52:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139966 -2.82732)'), GeomFromEWKT('SRID=4674;POINT (-40.139824 -2.827309)'))) / (select extract(epoch from '2026-08-19 19:52:48'::timestamp) - extract(epoch from '2026-08-19 19:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139966 -2.82732)'), GeomFromEWKT('SRID=4674;POINT (-40.139824 -2.827309)'))) / (select extract(epoch from '2026-08-19 19:52:48'::timestamp) - extract(epoch from '2026-08-19 19:52:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.139702 -2.827314)', '2026-08-19 19:52:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139824 -2.827309)'), GeomFromEWKT('SRID=4674;POINT (-40.139702 -2.827314)'))) / (select extract(epoch from '2026-08-19 19:52:56'::timestamp) - extract(epoch from '2026-08-19 19:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139824 -2.827309)'), GeomFromEWKT('SRID=4674;POINT (-40.139702 -2.827314)'))) / (select extract(epoch from '2026-08-19 19:52:56'::timestamp) - extract(epoch from '2026-08-19 19:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.139547 -2.827289)', '2026-08-19 19:53:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139702 -2.827314)'), GeomFromEWKT('SRID=4674;POINT (-40.139547 -2.827289)'))) / (select extract(epoch from '2026-08-19 19:53:06'::timestamp) - extract(epoch from '2026-08-19 19:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139702 -2.827314)'), GeomFromEWKT('SRID=4674;POINT (-40.139547 -2.827289)'))) / (select extract(epoch from '2026-08-19 19:53:06'::timestamp) - extract(epoch from '2026-08-19 19:52:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.139393 -2.827252)', '2026-08-19 19:53:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139547 -2.827289)'), GeomFromEWKT('SRID=4674;POINT (-40.139393 -2.827252)'))) / (select extract(epoch from '2026-08-19 19:53:15'::timestamp) - extract(epoch from '2026-08-19 19:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139547 -2.827289)'), GeomFromEWKT('SRID=4674;POINT (-40.139393 -2.827252)'))) / (select extract(epoch from '2026-08-19 19:53:15'::timestamp) - extract(epoch from '2026-08-19 19:53: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'), 48199, 'SRID=4674;POINT (-40.139219 -2.827232)', '2026-08-19 19:53:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139393 -2.827252)'), GeomFromEWKT('SRID=4674;POINT (-40.139219 -2.827232)'))) / (select extract(epoch from '2026-08-19 19:53:24'::timestamp) - extract(epoch from '2026-08-19 19:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139393 -2.827252)'), GeomFromEWKT('SRID=4674;POINT (-40.139219 -2.827232)'))) / (select extract(epoch from '2026-08-19 19:53:24'::timestamp) - extract(epoch from '2026-08-19 19:53:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.138999 -2.827205)', '2026-08-19 19:53:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139219 -2.827232)'), GeomFromEWKT('SRID=4674;POINT (-40.138999 -2.827205)'))) / (select extract(epoch from '2026-08-19 19:53:36'::timestamp) - extract(epoch from '2026-08-19 19:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139219 -2.827232)'), GeomFromEWKT('SRID=4674;POINT (-40.138999 -2.827205)'))) / (select extract(epoch from '2026-08-19 19:53:36'::timestamp) - extract(epoch from '2026-08-19 19:53: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'), 48199, 'SRID=4674;POINT (-40.138781 -2.827197)', '2026-08-19 19:53:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138999 -2.827205)'), GeomFromEWKT('SRID=4674;POINT (-40.138781 -2.827197)'))) / (select extract(epoch from '2026-08-19 19:53:48'::timestamp) - extract(epoch from '2026-08-19 19:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138999 -2.827205)'), GeomFromEWKT('SRID=4674;POINT (-40.138781 -2.827197)'))) / (select extract(epoch from '2026-08-19 19:53:48'::timestamp) - extract(epoch from '2026-08-19 19:53: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'), 48199, 'SRID=4674;POINT (-40.138618 -2.827208)', '2026-08-19 19:53:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138781 -2.827197)'), GeomFromEWKT('SRID=4674;POINT (-40.138618 -2.827208)'))) / (select extract(epoch from '2026-08-19 19:53:57'::timestamp) - extract(epoch from '2026-08-19 19:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138781 -2.827197)'), GeomFromEWKT('SRID=4674;POINT (-40.138618 -2.827208)'))) / (select extract(epoch from '2026-08-19 19:53:57'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.138442 -2.827219)', '2026-08-19 19:54:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138618 -2.827208)'), GeomFromEWKT('SRID=4674;POINT (-40.138442 -2.827219)'))) / (select extract(epoch from '2026-08-19 19:54:06'::timestamp) - extract(epoch from '2026-08-19 19:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138618 -2.827208)'), GeomFromEWKT('SRID=4674;POINT (-40.138442 -2.827219)'))) / (select extract(epoch from '2026-08-19 19:54:06'::timestamp) - extract(epoch from '2026-08-19 19:53: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'), 48199, 'SRID=4674;POINT (-40.138288 -2.827232)', '2026-08-19 19:54:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138442 -2.827219)'), GeomFromEWKT('SRID=4674;POINT (-40.138288 -2.827232)'))) / (select extract(epoch from '2026-08-19 19:54:14'::timestamp) - extract(epoch from '2026-08-19 19:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138442 -2.827219)'), GeomFromEWKT('SRID=4674;POINT (-40.138288 -2.827232)'))) / (select extract(epoch from '2026-08-19 19:54:14'::timestamp) - extract(epoch from '2026-08-19 19:54: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'), 48199, 'SRID=4674;POINT (-40.138077 -2.827226)', '2026-08-19 19:54:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138288 -2.827232)'), GeomFromEWKT('SRID=4674;POINT (-40.138077 -2.827226)'))) / (select extract(epoch from '2026-08-19 19:54:25'::timestamp) - extract(epoch from '2026-08-19 19:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138288 -2.827232)'), GeomFromEWKT('SRID=4674;POINT (-40.138077 -2.827226)'))) / (select extract(epoch from '2026-08-19 19:54:25'::timestamp) - extract(epoch from '2026-08-19 19:54: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'), 48199, 'SRID=4674;POINT (-40.137899 -2.82722)', '2026-08-19 19:54:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138077 -2.827226)'), GeomFromEWKT('SRID=4674;POINT (-40.137899 -2.82722)'))) / (select extract(epoch from '2026-08-19 19:54:34'::timestamp) - extract(epoch from '2026-08-19 19:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138077 -2.827226)'), GeomFromEWKT('SRID=4674;POINT (-40.137899 -2.82722)'))) / (select extract(epoch from '2026-08-19 19:54:34'::timestamp) - extract(epoch from '2026-08-19 19:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.13772 -2.827194)', '2026-08-19 19:54:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137899 -2.82722)'), GeomFromEWKT('SRID=4674;POINT (-40.13772 -2.827194)'))) / (select extract(epoch from '2026-08-19 19:54:43'::timestamp) - extract(epoch from '2026-08-19 19:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137899 -2.82722)'), GeomFromEWKT('SRID=4674;POINT (-40.13772 -2.827194)'))) / (select extract(epoch from '2026-08-19 19:54:43'::timestamp) - extract(epoch from '2026-08-19 19:54:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.137576 -2.827146)', '2026-08-19 19:54:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13772 -2.827194)'), GeomFromEWKT('SRID=4674;POINT (-40.137576 -2.827146)'))) / (select extract(epoch from '2026-08-19 19:54:51'::timestamp) - extract(epoch from '2026-08-19 19:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13772 -2.827194)'), GeomFromEWKT('SRID=4674;POINT (-40.137576 -2.827146)'))) / (select extract(epoch from '2026-08-19 19:54:51'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.137324 -2.827084)', '2026-08-19 19:55:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137576 -2.827146)'), GeomFromEWKT('SRID=4674;POINT (-40.137324 -2.827084)'))) / (select extract(epoch from '2026-08-19 19:55:04'::timestamp) - extract(epoch from '2026-08-19 19:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137576 -2.827146)'), GeomFromEWKT('SRID=4674;POINT (-40.137324 -2.827084)'))) / (select extract(epoch from '2026-08-19 19:55:04'::timestamp) - extract(epoch from '2026-08-19 19:54: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'), 48199, 'SRID=4674;POINT (-40.137111 -2.827056)', '2026-08-19 19:55:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137324 -2.827084)'), GeomFromEWKT('SRID=4674;POINT (-40.137111 -2.827056)'))) / (select extract(epoch from '2026-08-19 19:55:15'::timestamp) - extract(epoch from '2026-08-19 19:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137324 -2.827084)'), GeomFromEWKT('SRID=4674;POINT (-40.137111 -2.827056)'))) / (select extract(epoch from '2026-08-19 19:55:15'::timestamp) - extract(epoch from '2026-08-19 19:55:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136887 -2.82704)', '2026-08-19 19:55:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137111 -2.827056)'), GeomFromEWKT('SRID=4674;POINT (-40.136887 -2.82704)'))) / (select extract(epoch from '2026-08-19 19:55:27'::timestamp) - extract(epoch from '2026-08-19 19:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137111 -2.827056)'), GeomFromEWKT('SRID=4674;POINT (-40.136887 -2.82704)'))) / (select extract(epoch from '2026-08-19 19:55:27'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.136659 -2.827012)', '2026-08-19 19:55:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136887 -2.82704)'), GeomFromEWKT('SRID=4674;POINT (-40.136659 -2.827012)'))) / (select extract(epoch from '2026-08-19 19:55:39'::timestamp) - extract(epoch from '2026-08-19 19:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136887 -2.82704)'), GeomFromEWKT('SRID=4674;POINT (-40.136659 -2.827012)'))) / (select extract(epoch from '2026-08-19 19:55:39'::timestamp) - extract(epoch from '2026-08-19 19:55:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136468 -2.826992)', '2026-08-19 19:55:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136659 -2.827012)'), GeomFromEWKT('SRID=4674;POINT (-40.136468 -2.826992)'))) / (select extract(epoch from '2026-08-19 19:55:49'::timestamp) - extract(epoch from '2026-08-19 19:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136659 -2.827012)'), GeomFromEWKT('SRID=4674;POINT (-40.136468 -2.826992)'))) / (select extract(epoch from '2026-08-19 19:55:49'::timestamp) - extract(epoch from '2026-08-19 19:55:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136236 -2.826967)', '2026-08-19 19:56:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136468 -2.826992)'), GeomFromEWKT('SRID=4674;POINT (-40.136236 -2.826967)'))) / (select extract(epoch from '2026-08-19 19:56:01'::timestamp) - extract(epoch from '2026-08-19 19:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136468 -2.826992)'), GeomFromEWKT('SRID=4674;POINT (-40.136236 -2.826967)'))) / (select extract(epoch from '2026-08-19 19:56:01'::timestamp) - extract(epoch from '2026-08-19 19:55: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'), 48199, 'SRID=4674;POINT (-40.136012 -2.82694)', '2026-08-19 19:56:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136236 -2.826967)'), GeomFromEWKT('SRID=4674;POINT (-40.136012 -2.82694)'))) / (select extract(epoch from '2026-08-19 19:56:12'::timestamp) - extract(epoch from '2026-08-19 19:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136236 -2.826967)'), GeomFromEWKT('SRID=4674;POINT (-40.136012 -2.82694)'))) / (select extract(epoch from '2026-08-19 19:56:12'::timestamp) - extract(epoch from '2026-08-19 19:56:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.135818 -2.82692)', '2026-08-19 19:56:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136012 -2.82694)'), GeomFromEWKT('SRID=4674;POINT (-40.135818 -2.82692)'))) / (select extract(epoch from '2026-08-19 19:56:21'::timestamp) - extract(epoch from '2026-08-19 19:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136012 -2.82694)'), GeomFromEWKT('SRID=4674;POINT (-40.135818 -2.82692)'))) / (select extract(epoch from '2026-08-19 19:56:21'::timestamp) - extract(epoch from '2026-08-19 19:56: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'), 48199, 'SRID=4674;POINT (-40.135627 -2.826907)', '2026-08-19 19:56:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135818 -2.82692)'), GeomFromEWKT('SRID=4674;POINT (-40.135627 -2.826907)'))) / (select extract(epoch from '2026-08-19 19:56:30'::timestamp) - extract(epoch from '2026-08-19 19:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135818 -2.82692)'), GeomFromEWKT('SRID=4674;POINT (-40.135627 -2.826907)'))) / (select extract(epoch from '2026-08-19 19:56:30'::timestamp) - extract(epoch from '2026-08-19 19:56: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'), 48199, 'SRID=4674;POINT (-40.135467 -2.826936)', '2026-08-19 19:56:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135627 -2.826907)'), GeomFromEWKT('SRID=4674;POINT (-40.135467 -2.826936)'))) / (select extract(epoch from '2026-08-19 19:56:38'::timestamp) - extract(epoch from '2026-08-19 19:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135627 -2.826907)'), GeomFromEWKT('SRID=4674;POINT (-40.135467 -2.826936)'))) / (select extract(epoch from '2026-08-19 19:56:38'::timestamp) - extract(epoch from '2026-08-19 19:56:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.135255 -2.826975)', '2026-08-19 19:56:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135467 -2.826936)'), GeomFromEWKT('SRID=4674;POINT (-40.135255 -2.826975)'))) / (select extract(epoch from '2026-08-19 19:56:48'::timestamp) - extract(epoch from '2026-08-19 19:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135467 -2.826936)'), GeomFromEWKT('SRID=4674;POINT (-40.135255 -2.826975)'))) / (select extract(epoch from '2026-08-19 19:56:48'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.135042 -2.827039)', '2026-08-19 19:56:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135255 -2.826975)'), GeomFromEWKT('SRID=4674;POINT (-40.135042 -2.827039)'))) / (select extract(epoch from '2026-08-19 19:56:59'::timestamp) - extract(epoch from '2026-08-19 19:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135255 -2.826975)'), GeomFromEWKT('SRID=4674;POINT (-40.135042 -2.827039)'))) / (select extract(epoch from '2026-08-19 19:56:59'::timestamp) - extract(epoch from '2026-08-19 19:56: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'), 48199, 'SRID=4674;POINT (-40.134867 -2.82712)', '2026-08-19 19:57:08', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135042 -2.827039)'), GeomFromEWKT('SRID=4674;POINT (-40.134867 -2.82712)'))) / (select extract(epoch from '2026-08-19 19:57:08'::timestamp) - extract(epoch from '2026-08-19 19:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135042 -2.827039)'), GeomFromEWKT('SRID=4674;POINT (-40.134867 -2.82712)'))) / (select extract(epoch from '2026-08-19 19:57:08'::timestamp) - extract(epoch from '2026-08-19 19:56:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.134745 -2.827214)', '2026-08-19 19:57:15', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134867 -2.82712)'), GeomFromEWKT('SRID=4674;POINT (-40.134745 -2.827214)'))) / (select extract(epoch from '2026-08-19 19:57:15'::timestamp) - extract(epoch from '2026-08-19 19:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134867 -2.82712)'), GeomFromEWKT('SRID=4674;POINT (-40.134745 -2.827214)'))) / (select extract(epoch from '2026-08-19 19:57:15'::timestamp) - extract(epoch from '2026-08-19 19:57:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.134569 -2.827346)', '2026-08-19 19:57:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134745 -2.827214)'), GeomFromEWKT('SRID=4674;POINT (-40.134569 -2.827346)'))) / (select extract(epoch from '2026-08-19 19:57:25'::timestamp) - extract(epoch from '2026-08-19 19:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134745 -2.827214)'), GeomFromEWKT('SRID=4674;POINT (-40.134569 -2.827346)'))) / (select extract(epoch from '2026-08-19 19:57:25'::timestamp) - extract(epoch from '2026-08-19 19:57: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'), 48199, 'SRID=4674;POINT (-40.134398 -2.827473)', '2026-08-19 19:57:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134569 -2.827346)'), GeomFromEWKT('SRID=4674;POINT (-40.134398 -2.827473)'))) / (select extract(epoch from '2026-08-19 19:57:34'::timestamp) - extract(epoch from '2026-08-19 19:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134569 -2.827346)'), GeomFromEWKT('SRID=4674;POINT (-40.134398 -2.827473)'))) / (select extract(epoch from '2026-08-19 19:57:34'::timestamp) - extract(epoch from '2026-08-19 19:57:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.134212 -2.827661)', '2026-08-19 19:57:46', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134398 -2.827473)'), GeomFromEWKT('SRID=4674;POINT (-40.134212 -2.827661)'))) / (select extract(epoch from '2026-08-19 19:57:46'::timestamp) - extract(epoch from '2026-08-19 19:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134398 -2.827473)'), GeomFromEWKT('SRID=4674;POINT (-40.134212 -2.827661)'))) / (select extract(epoch from '2026-08-19 19:57:46'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.13412 -2.827836)', '2026-08-19 19:57:54', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134212 -2.827661)'), GeomFromEWKT('SRID=4674;POINT (-40.13412 -2.827836)'))) / (select extract(epoch from '2026-08-19 19:57:54'::timestamp) - extract(epoch from '2026-08-19 19:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134212 -2.827661)'), GeomFromEWKT('SRID=4674;POINT (-40.13412 -2.827836)'))) / (select extract(epoch from '2026-08-19 19:57:54'::timestamp) - extract(epoch from '2026-08-19 19:57: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'), 48199, 'SRID=4674;POINT (-40.134024 -2.828077)', '2026-08-19 19:58:05', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13412 -2.827836)'), GeomFromEWKT('SRID=4674;POINT (-40.134024 -2.828077)'))) / (select extract(epoch from '2026-08-19 19:58:05'::timestamp) - extract(epoch from '2026-08-19 19:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13412 -2.827836)'), GeomFromEWKT('SRID=4674;POINT (-40.134024 -2.828077)'))) / (select extract(epoch from '2026-08-19 19:58:05'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.133959 -2.828297)', '2026-08-19 19:58:15', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134024 -2.828077)'), GeomFromEWKT('SRID=4674;POINT (-40.133959 -2.828297)'))) / (select extract(epoch from '2026-08-19 19:58:15'::timestamp) - extract(epoch from '2026-08-19 19:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134024 -2.828077)'), GeomFromEWKT('SRID=4674;POINT (-40.133959 -2.828297)'))) / (select extract(epoch from '2026-08-19 19:58:15'::timestamp) - extract(epoch from '2026-08-19 19:58:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.133876 -2.828599)', '2026-08-19 19:58:29', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133959 -2.828297)'), GeomFromEWKT('SRID=4674;POINT (-40.133876 -2.828599)'))) / (select extract(epoch from '2026-08-19 19:58:29'::timestamp) - extract(epoch from '2026-08-19 19:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133959 -2.828297)'), GeomFromEWKT('SRID=4674;POINT (-40.133876 -2.828599)'))) / (select extract(epoch from '2026-08-19 19:58:29'::timestamp) - extract(epoch from '2026-08-19 19:58:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.133769 -2.82876)', '2026-08-19 19:58:37', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133876 -2.828599)'), GeomFromEWKT('SRID=4674;POINT (-40.133769 -2.82876)'))) / (select extract(epoch from '2026-08-19 19:58:37'::timestamp) - extract(epoch from '2026-08-19 19:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133876 -2.828599)'), GeomFromEWKT('SRID=4674;POINT (-40.133769 -2.82876)'))) / (select extract(epoch from '2026-08-19 19:58:37'::timestamp) - extract(epoch from '2026-08-19 19:58:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.133646 -2.828964)', '2026-08-19 19:58:47', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133769 -2.82876)'), GeomFromEWKT('SRID=4674;POINT (-40.133646 -2.828964)'))) / (select extract(epoch from '2026-08-19 19:58:47'::timestamp) - extract(epoch from '2026-08-19 19:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133769 -2.82876)'), GeomFromEWKT('SRID=4674;POINT (-40.133646 -2.828964)'))) / (select extract(epoch from '2026-08-19 19:58:47'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.133532 -2.829143)', '2026-08-19 19:58:56', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133646 -2.828964)'), GeomFromEWKT('SRID=4674;POINT (-40.133532 -2.829143)'))) / (select extract(epoch from '2026-08-19 19:58:56'::timestamp) - extract(epoch from '2026-08-19 19:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133646 -2.828964)'), GeomFromEWKT('SRID=4674;POINT (-40.133532 -2.829143)'))) / (select extract(epoch from '2026-08-19 19:58:56'::timestamp) - extract(epoch from '2026-08-19 19:58:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.133479 -2.829332)', '2026-08-19 19:59:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133532 -2.829143)'), GeomFromEWKT('SRID=4674;POINT (-40.133479 -2.829332)'))) / (select extract(epoch from '2026-08-19 19:59:05'::timestamp) - extract(epoch from '2026-08-19 19:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133532 -2.829143)'), GeomFromEWKT('SRID=4674;POINT (-40.133479 -2.829332)'))) / (select extract(epoch from '2026-08-19 19:59:05'::timestamp) - extract(epoch from '2026-08-19 19:58: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'), 48199, 'SRID=4674;POINT (-40.133393 -2.82951)', '2026-08-19 19:59:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133479 -2.829332)'), GeomFromEWKT('SRID=4674;POINT (-40.133393 -2.82951)'))) / (select extract(epoch from '2026-08-19 19:59:14'::timestamp) - extract(epoch from '2026-08-19 19:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133479 -2.829332)'), GeomFromEWKT('SRID=4674;POINT (-40.133393 -2.82951)'))) / (select extract(epoch from '2026-08-19 19:59:14'::timestamp) - extract(epoch from '2026-08-19 19:59: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'), 48199, 'SRID=4674;POINT (-40.133286 -2.829715)', '2026-08-19 19:59:25', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133393 -2.82951)'), GeomFromEWKT('SRID=4674;POINT (-40.133286 -2.829715)'))) / (select extract(epoch from '2026-08-19 19:59:25'::timestamp) - extract(epoch from '2026-08-19 19:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133393 -2.82951)'), GeomFromEWKT('SRID=4674;POINT (-40.133286 -2.829715)'))) / (select extract(epoch from '2026-08-19 19:59:25'::timestamp) - extract(epoch from '2026-08-19 19:59:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.133186 -2.829913)', '2026-08-19 19:59:35', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133286 -2.829715)'), GeomFromEWKT('SRID=4674;POINT (-40.133186 -2.829913)'))) / (select extract(epoch from '2026-08-19 19:59:35'::timestamp) - extract(epoch from '2026-08-19 19:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133286 -2.829715)'), GeomFromEWKT('SRID=4674;POINT (-40.133186 -2.829913)'))) / (select extract(epoch from '2026-08-19 19:59:35'::timestamp) - extract(epoch from '2026-08-19 19:59: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'), 48199, 'SRID=4674;POINT (-40.133065 -2.830116)', '2026-08-19 19:59:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133186 -2.829913)'), GeomFromEWKT('SRID=4674;POINT (-40.133065 -2.830116)'))) / (select extract(epoch from '2026-08-19 19:59:45'::timestamp) - extract(epoch from '2026-08-19 19:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133186 -2.829913)'), GeomFromEWKT('SRID=4674;POINT (-40.133065 -2.830116)'))) / (select extract(epoch from '2026-08-19 19:59:45'::timestamp) - extract(epoch from '2026-08-19 19:59: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'), 48199, 'SRID=4674;POINT (-40.132923 -2.830366)', '2026-08-19 19:59:58', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133065 -2.830116)'), GeomFromEWKT('SRID=4674;POINT (-40.132923 -2.830366)'))) / (select extract(epoch from '2026-08-19 19:59:58'::timestamp) - extract(epoch from '2026-08-19 19:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133065 -2.830116)'), GeomFromEWKT('SRID=4674;POINT (-40.132923 -2.830366)'))) / (select extract(epoch from '2026-08-19 19:59:58'::timestamp) - extract(epoch from '2026-08-19 19:59:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.13281 -2.830579)', '2026-08-19 20:00:09', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132923 -2.830366)'), GeomFromEWKT('SRID=4674;POINT (-40.13281 -2.830579)'))) / (select extract(epoch from '2026-08-19 20:00:09'::timestamp) - extract(epoch from '2026-08-19 19:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132923 -2.830366)'), GeomFromEWKT('SRID=4674;POINT (-40.13281 -2.830579)'))) / (select extract(epoch from '2026-08-19 20:00:09'::timestamp) - extract(epoch from '2026-08-19 19: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'), 48199, 'SRID=4674;POINT (-40.132715 -2.83076)', '2026-08-19 20:00:19', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13281 -2.830579)'), GeomFromEWKT('SRID=4674;POINT (-40.132715 -2.83076)'))) / (select extract(epoch from '2026-08-19 20:00:19'::timestamp) - extract(epoch from '2026-08-19 20:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13281 -2.830579)'), GeomFromEWKT('SRID=4674;POINT (-40.132715 -2.83076)'))) / (select extract(epoch from '2026-08-19 20:00:19'::timestamp) - extract(epoch from '2026-08-19 20:00:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132639 -2.830933)', '2026-08-19 20:00:28', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132715 -2.83076)'), GeomFromEWKT('SRID=4674;POINT (-40.132639 -2.830933)'))) / (select extract(epoch from '2026-08-19 20:00:28'::timestamp) - extract(epoch from '2026-08-19 20:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132715 -2.83076)'), GeomFromEWKT('SRID=4674;POINT (-40.132639 -2.830933)'))) / (select extract(epoch from '2026-08-19 20:00:28'::timestamp) - extract(epoch from '2026-08-19 20:00: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'), 48199, 'SRID=4674;POINT (-40.13254 -2.831137)', '2026-08-19 20:00:38', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132639 -2.830933)'), GeomFromEWKT('SRID=4674;POINT (-40.13254 -2.831137)'))) / (select extract(epoch from '2026-08-19 20:00:38'::timestamp) - extract(epoch from '2026-08-19 20:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132639 -2.830933)'), GeomFromEWKT('SRID=4674;POINT (-40.13254 -2.831137)'))) / (select extract(epoch from '2026-08-19 20:00:38'::timestamp) - extract(epoch from '2026-08-19 20:00:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132472 -2.831302)', '2026-08-19 20:00:46', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13254 -2.831137)'), GeomFromEWKT('SRID=4674;POINT (-40.132472 -2.831302)'))) / (select extract(epoch from '2026-08-19 20:00:46'::timestamp) - extract(epoch from '2026-08-19 20:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13254 -2.831137)'), GeomFromEWKT('SRID=4674;POINT (-40.132472 -2.831302)'))) / (select extract(epoch from '2026-08-19 20:00:46'::timestamp) - extract(epoch from '2026-08-19 20:00: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'), 48199, 'SRID=4674;POINT (-40.132372 -2.831531)', '2026-08-19 20:00:57', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132472 -2.831302)'), GeomFromEWKT('SRID=4674;POINT (-40.132372 -2.831531)'))) / (select extract(epoch from '2026-08-19 20:00:57'::timestamp) - extract(epoch from '2026-08-19 20:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132472 -2.831302)'), GeomFromEWKT('SRID=4674;POINT (-40.132372 -2.831531)'))) / (select extract(epoch from '2026-08-19 20:00:57'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.132301 -2.831669)', '2026-08-19 20:01:04', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132372 -2.831531)'), GeomFromEWKT('SRID=4674;POINT (-40.132301 -2.831669)'))) / (select extract(epoch from '2026-08-19 20:01:04'::timestamp) - extract(epoch from '2026-08-19 20:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132372 -2.831531)'), GeomFromEWKT('SRID=4674;POINT (-40.132301 -2.831669)'))) / (select extract(epoch from '2026-08-19 20:01:04'::timestamp) - extract(epoch from '2026-08-19 20:00: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'), 48199, 'SRID=4674;POINT (-40.132204 -2.831884)', '2026-08-19 20:01:15', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132301 -2.831669)'), GeomFromEWKT('SRID=4674;POINT (-40.132204 -2.831884)'))) / (select extract(epoch from '2026-08-19 20:01:15'::timestamp) - extract(epoch from '2026-08-19 20:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132301 -2.831669)'), GeomFromEWKT('SRID=4674;POINT (-40.132204 -2.831884)'))) / (select extract(epoch from '2026-08-19 20:01:15'::timestamp) - extract(epoch from '2026-08-19 20:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132095 -2.832101)', '2026-08-19 20:01:26', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132204 -2.831884)'), GeomFromEWKT('SRID=4674;POINT (-40.132095 -2.832101)'))) / (select extract(epoch from '2026-08-19 20:01:26'::timestamp) - extract(epoch from '2026-08-19 20:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132204 -2.831884)'), GeomFromEWKT('SRID=4674;POINT (-40.132095 -2.832101)'))) / (select extract(epoch from '2026-08-19 20:01:26'::timestamp) - extract(epoch from '2026-08-19 20:01:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132005 -2.832307)', '2026-08-19 20:01:36', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132095 -2.832101)'), GeomFromEWKT('SRID=4674;POINT (-40.132005 -2.832307)'))) / (select extract(epoch from '2026-08-19 20:01:36'::timestamp) - extract(epoch from '2026-08-19 20:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132095 -2.832101)'), GeomFromEWKT('SRID=4674;POINT (-40.132005 -2.832307)'))) / (select extract(epoch from '2026-08-19 20:01:36'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.131925 -2.83247)', '2026-08-19 20:01:44', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132005 -2.832307)'), GeomFromEWKT('SRID=4674;POINT (-40.131925 -2.83247)'))) / (select extract(epoch from '2026-08-19 20:01:44'::timestamp) - extract(epoch from '2026-08-19 20:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132005 -2.832307)'), GeomFromEWKT('SRID=4674;POINT (-40.131925 -2.83247)'))) / (select extract(epoch from '2026-08-19 20:01:44'::timestamp) - extract(epoch from '2026-08-19 20:01: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'), 48199, 'SRID=4674;POINT (-40.131869 -2.83263)', '2026-08-19 20:01:52', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131925 -2.83247)'), GeomFromEWKT('SRID=4674;POINT (-40.131869 -2.83263)'))) / (select extract(epoch from '2026-08-19 20:01:52'::timestamp) - extract(epoch from '2026-08-19 20:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131925 -2.83247)'), GeomFromEWKT('SRID=4674;POINT (-40.131869 -2.83263)'))) / (select extract(epoch from '2026-08-19 20:01:52'::timestamp) - extract(epoch from '2026-08-19 20:01:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.131767 -2.83286)', '2026-08-19 20:02:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131869 -2.83263)'), GeomFromEWKT('SRID=4674;POINT (-40.131767 -2.83286)'))) / (select extract(epoch from '2026-08-19 20:02:03'::timestamp) - extract(epoch from '2026-08-19 20:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131869 -2.83263)'), GeomFromEWKT('SRID=4674;POINT (-40.131767 -2.83286)'))) / (select extract(epoch from '2026-08-19 20:02:03'::timestamp) - extract(epoch from '2026-08-19 20:01:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.131707 -2.833088)', '2026-08-19 20:02:14', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131767 -2.83286)'), GeomFromEWKT('SRID=4674;POINT (-40.131707 -2.833088)'))) / (select extract(epoch from '2026-08-19 20:02:14'::timestamp) - extract(epoch from '2026-08-19 20:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131767 -2.83286)'), GeomFromEWKT('SRID=4674;POINT (-40.131707 -2.833088)'))) / (select extract(epoch from '2026-08-19 20:02:14'::timestamp) - extract(epoch from '2026-08-19 20:02: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'), 48199, 'SRID=4674;POINT (-40.131657 -2.833284)', '2026-08-19 20:02:24', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131707 -2.833088)'), GeomFromEWKT('SRID=4674;POINT (-40.131657 -2.833284)'))) / (select extract(epoch from '2026-08-19 20:02:24'::timestamp) - extract(epoch from '2026-08-19 20:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131707 -2.833088)'), GeomFromEWKT('SRID=4674;POINT (-40.131657 -2.833284)'))) / (select extract(epoch from '2026-08-19 20:02:24'::timestamp) - extract(epoch from '2026-08-19 20:02: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'), 48199, 'SRID=4674;POINT (-40.131594 -2.833489)', '2026-08-19 20:02:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131657 -2.833284)'), GeomFromEWKT('SRID=4674;POINT (-40.131594 -2.833489)'))) / (select extract(epoch from '2026-08-19 20:02:34'::timestamp) - extract(epoch from '2026-08-19 20:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131657 -2.833284)'), GeomFromEWKT('SRID=4674;POINT (-40.131594 -2.833489)'))) / (select extract(epoch from '2026-08-19 20:02:34'::timestamp) - extract(epoch from '2026-08-19 20:02:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.131506 -2.833697)', '2026-08-19 20:02:44', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131594 -2.833489)'), GeomFromEWKT('SRID=4674;POINT (-40.131506 -2.833697)'))) / (select extract(epoch from '2026-08-19 20:02:44'::timestamp) - extract(epoch from '2026-08-19 20:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131594 -2.833489)'), GeomFromEWKT('SRID=4674;POINT (-40.131506 -2.833697)'))) / (select extract(epoch from '2026-08-19 20:02:44'::timestamp) - extract(epoch from '2026-08-19 20:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.131412 -2.833858)', '2026-08-19 20:02:52', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131506 -2.833697)'), GeomFromEWKT('SRID=4674;POINT (-40.131412 -2.833858)'))) / (select extract(epoch from '2026-08-19 20:02:52'::timestamp) - extract(epoch from '2026-08-19 20:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131506 -2.833697)'), GeomFromEWKT('SRID=4674;POINT (-40.131412 -2.833858)'))) / (select extract(epoch from '2026-08-19 20:02:52'::timestamp) - extract(epoch from '2026-08-19 20:02: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'), 48199, 'SRID=4674;POINT (-40.131344 -2.834021)', '2026-08-19 20:03:00', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131412 -2.833858)'), GeomFromEWKT('SRID=4674;POINT (-40.131344 -2.834021)'))) / (select extract(epoch from '2026-08-19 20:03:00'::timestamp) - extract(epoch from '2026-08-19 20:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131412 -2.833858)'), GeomFromEWKT('SRID=4674;POINT (-40.131344 -2.834021)'))) / (select extract(epoch from '2026-08-19 20:03:00'::timestamp) - extract(epoch from '2026-08-19 20:02: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'), 48199, 'SRID=4674;POINT (-40.13126 -2.834212)', '2026-08-19 20:03:09', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131344 -2.834021)'), GeomFromEWKT('SRID=4674;POINT (-40.13126 -2.834212)'))) / (select extract(epoch from '2026-08-19 20:03:09'::timestamp) - extract(epoch from '2026-08-19 20:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131344 -2.834021)'), GeomFromEWKT('SRID=4674;POINT (-40.13126 -2.834212)'))) / (select extract(epoch from '2026-08-19 20:03:09'::timestamp) - extract(epoch from '2026-08-19 20:03:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.131179 -2.834384)', '2026-08-19 20:03:17', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13126 -2.834212)'), GeomFromEWKT('SRID=4674;POINT (-40.131179 -2.834384)'))) / (select extract(epoch from '2026-08-19 20:03:17'::timestamp) - extract(epoch from '2026-08-19 20:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13126 -2.834212)'), GeomFromEWKT('SRID=4674;POINT (-40.131179 -2.834384)'))) / (select extract(epoch from '2026-08-19 20:03:17'::timestamp) - extract(epoch from '2026-08-19 20:03:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.131104 -2.83454)', '2026-08-19 20:03:25', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131179 -2.834384)'), GeomFromEWKT('SRID=4674;POINT (-40.131104 -2.83454)'))) / (select extract(epoch from '2026-08-19 20:03:25'::timestamp) - extract(epoch from '2026-08-19 20:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131179 -2.834384)'), GeomFromEWKT('SRID=4674;POINT (-40.131104 -2.83454)'))) / (select extract(epoch from '2026-08-19 20:03:25'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.131033 -2.834708)', '2026-08-19 20:03:33', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131104 -2.83454)'), GeomFromEWKT('SRID=4674;POINT (-40.131033 -2.834708)'))) / (select extract(epoch from '2026-08-19 20:03:33'::timestamp) - extract(epoch from '2026-08-19 20:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131104 -2.83454)'), GeomFromEWKT('SRID=4674;POINT (-40.131033 -2.834708)'))) / (select extract(epoch from '2026-08-19 20:03:33'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.130965 -2.834925)', '2026-08-19 20:03:43', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131033 -2.834708)'), GeomFromEWKT('SRID=4674;POINT (-40.130965 -2.834925)'))) / (select extract(epoch from '2026-08-19 20:03:43'::timestamp) - extract(epoch from '2026-08-19 20:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131033 -2.834708)'), GeomFromEWKT('SRID=4674;POINT (-40.130965 -2.834925)'))) / (select extract(epoch from '2026-08-19 20:03:43'::timestamp) - extract(epoch from '2026-08-19 20:03: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'), 48199, 'SRID=4674;POINT (-40.13085 -2.835102)', '2026-08-19 20:03:52', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130965 -2.834925)'), GeomFromEWKT('SRID=4674;POINT (-40.13085 -2.835102)'))) / (select extract(epoch from '2026-08-19 20:03:52'::timestamp) - extract(epoch from '2026-08-19 20:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130965 -2.834925)'), GeomFromEWKT('SRID=4674;POINT (-40.13085 -2.835102)'))) / (select extract(epoch from '2026-08-19 20:03:52'::timestamp) - extract(epoch from '2026-08-19 20:03:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.130759 -2.835255)', '2026-08-19 20:04:00', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13085 -2.835102)'), GeomFromEWKT('SRID=4674;POINT (-40.130759 -2.835255)'))) / (select extract(epoch from '2026-08-19 20:04:00'::timestamp) - extract(epoch from '2026-08-19 20:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13085 -2.835102)'), GeomFromEWKT('SRID=4674;POINT (-40.130759 -2.835255)'))) / (select extract(epoch from '2026-08-19 20:04:00'::timestamp) - extract(epoch from '2026-08-19 20:03: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'), 48199, 'SRID=4674;POINT (-40.130691 -2.835445)', '2026-08-19 20:04:09', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130759 -2.835255)'), GeomFromEWKT('SRID=4674;POINT (-40.130691 -2.835445)'))) / (select extract(epoch from '2026-08-19 20:04:09'::timestamp) - extract(epoch from '2026-08-19 20:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130759 -2.835255)'), GeomFromEWKT('SRID=4674;POINT (-40.130691 -2.835445)'))) / (select extract(epoch from '2026-08-19 20:04:09'::timestamp) - extract(epoch from '2026-08-19 20:04:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.13065 -2.835601)', '2026-08-19 20:04:16', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130691 -2.835445)'), GeomFromEWKT('SRID=4674;POINT (-40.13065 -2.835601)'))) / (select extract(epoch from '2026-08-19 20:04:16'::timestamp) - extract(epoch from '2026-08-19 20:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130691 -2.835445)'), GeomFromEWKT('SRID=4674;POINT (-40.13065 -2.835601)'))) / (select extract(epoch from '2026-08-19 20:04:16'::timestamp) - extract(epoch from '2026-08-19 20:04: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'), 48199, 'SRID=4674;POINT (-40.130588 -2.835775)', '2026-08-19 20:04:24', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13065 -2.835601)'), GeomFromEWKT('SRID=4674;POINT (-40.130588 -2.835775)'))) / (select extract(epoch from '2026-08-19 20:04:24'::timestamp) - extract(epoch from '2026-08-19 20:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13065 -2.835601)'), GeomFromEWKT('SRID=4674;POINT (-40.130588 -2.835775)'))) / (select extract(epoch from '2026-08-19 20:04:24'::timestamp) - extract(epoch from '2026-08-19 20:04: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'), 48199, 'SRID=4674;POINT (-40.130532 -2.836014)', '2026-08-19 20:04:35', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130588 -2.835775)'), GeomFromEWKT('SRID=4674;POINT (-40.130532 -2.836014)'))) / (select extract(epoch from '2026-08-19 20:04:35'::timestamp) - extract(epoch from '2026-08-19 20:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130588 -2.835775)'), GeomFromEWKT('SRID=4674;POINT (-40.130532 -2.836014)'))) / (select extract(epoch from '2026-08-19 20:04:35'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.130451 -2.836197)', '2026-08-19 20:04:44', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130532 -2.836014)'), GeomFromEWKT('SRID=4674;POINT (-40.130451 -2.836197)'))) / (select extract(epoch from '2026-08-19 20:04:44'::timestamp) - extract(epoch from '2026-08-19 20:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130532 -2.836014)'), GeomFromEWKT('SRID=4674;POINT (-40.130451 -2.836197)'))) / (select extract(epoch from '2026-08-19 20:04:44'::timestamp) - extract(epoch from '2026-08-19 20:04: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'), 48199, 'SRID=4674;POINT (-40.130403 -2.8364)', '2026-08-19 20:04:53', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130451 -2.836197)'), GeomFromEWKT('SRID=4674;POINT (-40.130403 -2.8364)'))) / (select extract(epoch from '2026-08-19 20:04:53'::timestamp) - extract(epoch from '2026-08-19 20:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130451 -2.836197)'), GeomFromEWKT('SRID=4674;POINT (-40.130403 -2.8364)'))) / (select extract(epoch from '2026-08-19 20:04:53'::timestamp) - extract(epoch from '2026-08-19 20:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.130404 -2.836592)', '2026-08-19 20:05:01', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130403 -2.8364)'), GeomFromEWKT('SRID=4674;POINT (-40.130404 -2.836592)'))) / (select extract(epoch from '2026-08-19 20:05:01'::timestamp) - extract(epoch from '2026-08-19 20:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130403 -2.8364)'), GeomFromEWKT('SRID=4674;POINT (-40.130404 -2.836592)'))) / (select extract(epoch from '2026-08-19 20:05:01'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.130407 -2.836752)', '2026-08-19 20:05:08', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130404 -2.836592)'), GeomFromEWKT('SRID=4674;POINT (-40.130407 -2.836752)'))) / (select extract(epoch from '2026-08-19 20:05:08'::timestamp) - extract(epoch from '2026-08-19 20:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130404 -2.836592)'), GeomFromEWKT('SRID=4674;POINT (-40.130407 -2.836752)'))) / (select extract(epoch from '2026-08-19 20:05:08'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.130393 -2.836971)', '2026-08-19 20:05:18', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130407 -2.836752)'), GeomFromEWKT('SRID=4674;POINT (-40.130393 -2.836971)'))) / (select extract(epoch from '2026-08-19 20:05:18'::timestamp) - extract(epoch from '2026-08-19 20:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130407 -2.836752)'), GeomFromEWKT('SRID=4674;POINT (-40.130393 -2.836971)'))) / (select extract(epoch from '2026-08-19 20:05:18'::timestamp) - extract(epoch from '2026-08-19 20:05: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'), 48199, 'SRID=4674;POINT (-40.130365 -2.837164)', '2026-08-19 20:05:26', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130393 -2.836971)'), GeomFromEWKT('SRID=4674;POINT (-40.130365 -2.837164)'))) / (select extract(epoch from '2026-08-19 20:05:26'::timestamp) - extract(epoch from '2026-08-19 20:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130393 -2.836971)'), GeomFromEWKT('SRID=4674;POINT (-40.130365 -2.837164)'))) / (select extract(epoch from '2026-08-19 20:05:26'::timestamp) - extract(epoch from '2026-08-19 20:05:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.130331 -2.837399)', '2026-08-19 20:05:36', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130365 -2.837164)'), GeomFromEWKT('SRID=4674;POINT (-40.130331 -2.837399)'))) / (select extract(epoch from '2026-08-19 20:05:36'::timestamp) - extract(epoch from '2026-08-19 20:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130365 -2.837164)'), GeomFromEWKT('SRID=4674;POINT (-40.130331 -2.837399)'))) / (select extract(epoch from '2026-08-19 20:05:36'::timestamp) - extract(epoch from '2026-08-19 20:05:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.130321 -2.837655)', '2026-08-19 20:05:47', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130331 -2.837399)'), GeomFromEWKT('SRID=4674;POINT (-40.130321 -2.837655)'))) / (select extract(epoch from '2026-08-19 20:05:47'::timestamp) - extract(epoch from '2026-08-19 20:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130331 -2.837399)'), GeomFromEWKT('SRID=4674;POINT (-40.130321 -2.837655)'))) / (select extract(epoch from '2026-08-19 20:05:47'::timestamp) - extract(epoch from '2026-08-19 20:05: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'), 48199, 'SRID=4674;POINT (-40.130299 -2.837881)', '2026-08-19 20:05:57', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130321 -2.837655)'), GeomFromEWKT('SRID=4674;POINT (-40.130299 -2.837881)'))) / (select extract(epoch from '2026-08-19 20:05:57'::timestamp) - extract(epoch from '2026-08-19 20:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130321 -2.837655)'), GeomFromEWKT('SRID=4674;POINT (-40.130299 -2.837881)'))) / (select extract(epoch from '2026-08-19 20:05:57'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.130272 -2.838151)', '2026-08-19 20:06:08', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130299 -2.837881)'), GeomFromEWKT('SRID=4674;POINT (-40.130272 -2.838151)'))) / (select extract(epoch from '2026-08-19 20:06:08'::timestamp) - extract(epoch from '2026-08-19 20:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130299 -2.837881)'), GeomFromEWKT('SRID=4674;POINT (-40.130272 -2.838151)'))) / (select extract(epoch from '2026-08-19 20:06:08'::timestamp) - extract(epoch from '2026-08-19 20:05:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.130266 -2.838403)', '2026-08-19 20:06:20', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130272 -2.838151)'), GeomFromEWKT('SRID=4674;POINT (-40.130266 -2.838403)'))) / (select extract(epoch from '2026-08-19 20:06:20'::timestamp) - extract(epoch from '2026-08-19 20:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130272 -2.838151)'), GeomFromEWKT('SRID=4674;POINT (-40.130266 -2.838403)'))) / (select extract(epoch from '2026-08-19 20:06:20'::timestamp) - extract(epoch from '2026-08-19 20:06:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.130258 -2.838572)', '2026-08-19 20:06:28', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130266 -2.838403)'), GeomFromEWKT('SRID=4674;POINT (-40.130258 -2.838572)'))) / (select extract(epoch from '2026-08-19 20:06:28'::timestamp) - extract(epoch from '2026-08-19 20:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130266 -2.838403)'), GeomFromEWKT('SRID=4674;POINT (-40.130258 -2.838572)'))) / (select extract(epoch from '2026-08-19 20:06:28'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.130234 -2.838804)', '2026-08-19 20:06:37', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130258 -2.838572)'), GeomFromEWKT('SRID=4674;POINT (-40.130234 -2.838804)'))) / (select extract(epoch from '2026-08-19 20:06:37'::timestamp) - extract(epoch from '2026-08-19 20:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130258 -2.838572)'), GeomFromEWKT('SRID=4674;POINT (-40.130234 -2.838804)'))) / (select extract(epoch from '2026-08-19 20:06:37'::timestamp) - extract(epoch from '2026-08-19 20:06: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'), 48199, 'SRID=4674;POINT (-40.130186 -2.838994)', '2026-08-19 20:06:47', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130234 -2.838804)'), GeomFromEWKT('SRID=4674;POINT (-40.130186 -2.838994)'))) / (select extract(epoch from '2026-08-19 20:06:47'::timestamp) - extract(epoch from '2026-08-19 20:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130234 -2.838804)'), GeomFromEWKT('SRID=4674;POINT (-40.130186 -2.838994)'))) / (select extract(epoch from '2026-08-19 20:06:47'::timestamp) - extract(epoch from '2026-08-19 20:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.130113 -2.839208)', '2026-08-19 20:06:58', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130186 -2.838994)'), GeomFromEWKT('SRID=4674;POINT (-40.130113 -2.839208)'))) / (select extract(epoch from '2026-08-19 20:06:58'::timestamp) - extract(epoch from '2026-08-19 20:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130186 -2.838994)'), GeomFromEWKT('SRID=4674;POINT (-40.130113 -2.839208)'))) / (select extract(epoch from '2026-08-19 20:06:58'::timestamp) - extract(epoch from '2026-08-19 20:06: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'), 48199, 'SRID=4674;POINT (-40.13008 -2.839433)', '2026-08-19 20:07:09', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130113 -2.839208)'), GeomFromEWKT('SRID=4674;POINT (-40.13008 -2.839433)'))) / (select extract(epoch from '2026-08-19 20:07:09'::timestamp) - extract(epoch from '2026-08-19 20:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130113 -2.839208)'), GeomFromEWKT('SRID=4674;POINT (-40.13008 -2.839433)'))) / (select extract(epoch from '2026-08-19 20:07:09'::timestamp) - extract(epoch from '2026-08-19 20:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.130042 -2.839669)', '2026-08-19 20:07:20', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13008 -2.839433)'), GeomFromEWKT('SRID=4674;POINT (-40.130042 -2.839669)'))) / (select extract(epoch from '2026-08-19 20:07:20'::timestamp) - extract(epoch from '2026-08-19 20:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13008 -2.839433)'), GeomFromEWKT('SRID=4674;POINT (-40.130042 -2.839669)'))) / (select extract(epoch from '2026-08-19 20:07:20'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.129981 -2.83995)', '2026-08-19 20:07:33', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130042 -2.839669)'), GeomFromEWKT('SRID=4674;POINT (-40.129981 -2.83995)'))) / (select extract(epoch from '2026-08-19 20:07:33'::timestamp) - extract(epoch from '2026-08-19 20:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130042 -2.839669)'), GeomFromEWKT('SRID=4674;POINT (-40.129981 -2.83995)'))) / (select extract(epoch from '2026-08-19 20:07:33'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.129876 -2.840182)', '2026-08-19 20:07:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129981 -2.83995)'), GeomFromEWKT('SRID=4674;POINT (-40.129876 -2.840182)'))) / (select extract(epoch from '2026-08-19 20:07:44'::timestamp) - extract(epoch from '2026-08-19 20:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129981 -2.83995)'), GeomFromEWKT('SRID=4674;POINT (-40.129876 -2.840182)'))) / (select extract(epoch from '2026-08-19 20:07:44'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.129785 -2.840347)', '2026-08-19 20:07:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129876 -2.840182)'), GeomFromEWKT('SRID=4674;POINT (-40.129785 -2.840347)'))) / (select extract(epoch from '2026-08-19 20:07:52'::timestamp) - extract(epoch from '2026-08-19 20:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129876 -2.840182)'), GeomFromEWKT('SRID=4674;POINT (-40.129785 -2.840347)'))) / (select extract(epoch from '2026-08-19 20:07:52'::timestamp) - extract(epoch from '2026-08-19 20:07: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'), 48199, 'SRID=4674;POINT (-40.129739 -2.840533)', '2026-08-19 20:08:01', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129785 -2.840347)'), GeomFromEWKT('SRID=4674;POINT (-40.129739 -2.840533)'))) / (select extract(epoch from '2026-08-19 20:08:01'::timestamp) - extract(epoch from '2026-08-19 20:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129785 -2.840347)'), GeomFromEWKT('SRID=4674;POINT (-40.129739 -2.840533)'))) / (select extract(epoch from '2026-08-19 20:08:01'::timestamp) - extract(epoch from '2026-08-19 20:07: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'), 48199, 'SRID=4674;POINT (-40.129697 -2.84075)', '2026-08-19 20:08:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129739 -2.840533)'), GeomFromEWKT('SRID=4674;POINT (-40.129697 -2.84075)'))) / (select extract(epoch from '2026-08-19 20:08:11'::timestamp) - extract(epoch from '2026-08-19 20:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129739 -2.840533)'), GeomFromEWKT('SRID=4674;POINT (-40.129697 -2.84075)'))) / (select extract(epoch from '2026-08-19 20:08:11'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.129666 -2.840941)', '2026-08-19 20:08:20', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129697 -2.84075)'), GeomFromEWKT('SRID=4674;POINT (-40.129666 -2.840941)'))) / (select extract(epoch from '2026-08-19 20:08:20'::timestamp) - extract(epoch from '2026-08-19 20:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129697 -2.84075)'), GeomFromEWKT('SRID=4674;POINT (-40.129666 -2.840941)'))) / (select extract(epoch from '2026-08-19 20:08:20'::timestamp) - extract(epoch from '2026-08-19 20:08: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'), 48199, 'SRID=4674;POINT (-40.129623 -2.84113)', '2026-08-19 20:08:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129666 -2.840941)'), GeomFromEWKT('SRID=4674;POINT (-40.129623 -2.84113)'))) / (select extract(epoch from '2026-08-19 20:08:29'::timestamp) - extract(epoch from '2026-08-19 20:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129666 -2.840941)'), GeomFromEWKT('SRID=4674;POINT (-40.129623 -2.84113)'))) / (select extract(epoch from '2026-08-19 20:08:29'::timestamp) - extract(epoch from '2026-08-19 20:08: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'), 48199, 'SRID=4674;POINT (-40.129574 -2.84133)', '2026-08-19 20:08:38', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129623 -2.84113)'), GeomFromEWKT('SRID=4674;POINT (-40.129574 -2.84133)'))) / (select extract(epoch from '2026-08-19 20:08:38'::timestamp) - extract(epoch from '2026-08-19 20:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129623 -2.84113)'), GeomFromEWKT('SRID=4674;POINT (-40.129574 -2.84133)'))) / (select extract(epoch from '2026-08-19 20:08:38'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.129507 -2.841522)', '2026-08-19 20:08:48', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129574 -2.84133)'), GeomFromEWKT('SRID=4674;POINT (-40.129507 -2.841522)'))) / (select extract(epoch from '2026-08-19 20:08:48'::timestamp) - extract(epoch from '2026-08-19 20:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129574 -2.84133)'), GeomFromEWKT('SRID=4674;POINT (-40.129507 -2.841522)'))) / (select extract(epoch from '2026-08-19 20:08:48'::timestamp) - extract(epoch from '2026-08-19 20:08:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.12947 -2.841683)', '2026-08-19 20:08:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129507 -2.841522)'), GeomFromEWKT('SRID=4674;POINT (-40.12947 -2.841683)'))) / (select extract(epoch from '2026-08-19 20:08:56'::timestamp) - extract(epoch from '2026-08-19 20:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129507 -2.841522)'), GeomFromEWKT('SRID=4674;POINT (-40.12947 -2.841683)'))) / (select extract(epoch from '2026-08-19 20:08:56'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.129363 -2.841885)', '2026-08-19 20:09:06', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12947 -2.841683)'), GeomFromEWKT('SRID=4674;POINT (-40.129363 -2.841885)'))) / (select extract(epoch from '2026-08-19 20:09:06'::timestamp) - extract(epoch from '2026-08-19 20:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12947 -2.841683)'), GeomFromEWKT('SRID=4674;POINT (-40.129363 -2.841885)'))) / (select extract(epoch from '2026-08-19 20:09:06'::timestamp) - extract(epoch from '2026-08-19 20:08: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'), 48199, 'SRID=4674;POINT (-40.129277 -2.842045)', '2026-08-19 20:09:14', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129363 -2.841885)'), GeomFromEWKT('SRID=4674;POINT (-40.129277 -2.842045)'))) / (select extract(epoch from '2026-08-19 20:09:14'::timestamp) - extract(epoch from '2026-08-19 20:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129363 -2.841885)'), GeomFromEWKT('SRID=4674;POINT (-40.129277 -2.842045)'))) / (select extract(epoch from '2026-08-19 20:09:14'::timestamp) - extract(epoch from '2026-08-19 20:09: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'), 48199, 'SRID=4674;POINT (-40.129181 -2.842204)', '2026-08-19 20:09:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129277 -2.842045)'), GeomFromEWKT('SRID=4674;POINT (-40.129181 -2.842204)'))) / (select extract(epoch from '2026-08-19 20:09:23'::timestamp) - extract(epoch from '2026-08-19 20:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129277 -2.842045)'), GeomFromEWKT('SRID=4674;POINT (-40.129181 -2.842204)'))) / (select extract(epoch from '2026-08-19 20:09:23'::timestamp) - extract(epoch from '2026-08-19 20:09: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'), 48199, 'SRID=4674;POINT (-40.129083 -2.842408)', '2026-08-19 20:09:33', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129181 -2.842204)'), GeomFromEWKT('SRID=4674;POINT (-40.129083 -2.842408)'))) / (select extract(epoch from '2026-08-19 20:09:33'::timestamp) - extract(epoch from '2026-08-19 20:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129181 -2.842204)'), GeomFromEWKT('SRID=4674;POINT (-40.129083 -2.842408)'))) / (select extract(epoch from '2026-08-19 20:09:33'::timestamp) - extract(epoch from '2026-08-19 20:09: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'), 48199, 'SRID=4674;POINT (-40.128982 -2.842597)', '2026-08-19 20:09:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129083 -2.842408)'), GeomFromEWKT('SRID=4674;POINT (-40.128982 -2.842597)'))) / (select extract(epoch from '2026-08-19 20:09:43'::timestamp) - extract(epoch from '2026-08-19 20:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129083 -2.842408)'), GeomFromEWKT('SRID=4674;POINT (-40.128982 -2.842597)'))) / (select extract(epoch from '2026-08-19 20:09:43'::timestamp) - extract(epoch from '2026-08-19 20:09: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'), 48199, 'SRID=4674;POINT (-40.12889 -2.842791)', '2026-08-19 20:09:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128982 -2.842597)'), GeomFromEWKT('SRID=4674;POINT (-40.12889 -2.842791)'))) / (select extract(epoch from '2026-08-19 20:09:53'::timestamp) - extract(epoch from '2026-08-19 20:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128982 -2.842597)'), GeomFromEWKT('SRID=4674;POINT (-40.12889 -2.842791)'))) / (select extract(epoch from '2026-08-19 20:09:53'::timestamp) - extract(epoch from '2026-08-19 20:09:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.128796 -2.842994)', '2026-08-19 20:10:03', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12889 -2.842791)'), GeomFromEWKT('SRID=4674;POINT (-40.128796 -2.842994)'))) / (select extract(epoch from '2026-08-19 20:10:03'::timestamp) - extract(epoch from '2026-08-19 20:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12889 -2.842791)'), GeomFromEWKT('SRID=4674;POINT (-40.128796 -2.842994)'))) / (select extract(epoch from '2026-08-19 20:10:03'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.128692 -2.843185)', '2026-08-19 20:10:13', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128796 -2.842994)'), GeomFromEWKT('SRID=4674;POINT (-40.128692 -2.843185)'))) / (select extract(epoch from '2026-08-19 20:10:13'::timestamp) - extract(epoch from '2026-08-19 20:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128796 -2.842994)'), GeomFromEWKT('SRID=4674;POINT (-40.128692 -2.843185)'))) / (select extract(epoch from '2026-08-19 20:10:13'::timestamp) - extract(epoch from '2026-08-19 20:10:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.128578 -2.84339)', '2026-08-19 20:10:24', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128692 -2.843185)'), GeomFromEWKT('SRID=4674;POINT (-40.128578 -2.84339)'))) / (select extract(epoch from '2026-08-19 20:10:24'::timestamp) - extract(epoch from '2026-08-19 20:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128692 -2.843185)'), GeomFromEWKT('SRID=4674;POINT (-40.128578 -2.84339)'))) / (select extract(epoch from '2026-08-19 20:10:24'::timestamp) - extract(epoch from '2026-08-19 20:10: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'), 48199, 'SRID=4674;POINT (-40.128521 -2.843541)', '2026-08-19 20:10:32', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128578 -2.84339)'), GeomFromEWKT('SRID=4674;POINT (-40.128521 -2.843541)'))) / (select extract(epoch from '2026-08-19 20:10:32'::timestamp) - extract(epoch from '2026-08-19 20:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128578 -2.84339)'), GeomFromEWKT('SRID=4674;POINT (-40.128521 -2.843541)'))) / (select extract(epoch from '2026-08-19 20:10:32'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.128418 -2.843746)', '2026-08-19 20:10:43', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128521 -2.843541)'), GeomFromEWKT('SRID=4674;POINT (-40.128418 -2.843746)'))) / (select extract(epoch from '2026-08-19 20:10:43'::timestamp) - extract(epoch from '2026-08-19 20:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128521 -2.843541)'), GeomFromEWKT('SRID=4674;POINT (-40.128418 -2.843746)'))) / (select extract(epoch from '2026-08-19 20:10:43'::timestamp) - extract(epoch from '2026-08-19 20:10:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.128302 -2.843939)', '2026-08-19 20:10:53', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128418 -2.843746)'), GeomFromEWKT('SRID=4674;POINT (-40.128302 -2.843939)'))) / (select extract(epoch from '2026-08-19 20:10:53'::timestamp) - extract(epoch from '2026-08-19 20:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128418 -2.843746)'), GeomFromEWKT('SRID=4674;POINT (-40.128302 -2.843939)'))) / (select extract(epoch from '2026-08-19 20:10:53'::timestamp) - extract(epoch from '2026-08-19 20:10: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'), 48199, 'SRID=4674;POINT (-40.128207 -2.84409)', '2026-08-19 20:11:01', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128302 -2.843939)'), GeomFromEWKT('SRID=4674;POINT (-40.128207 -2.84409)'))) / (select extract(epoch from '2026-08-19 20:11:01'::timestamp) - extract(epoch from '2026-08-19 20:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128302 -2.843939)'), GeomFromEWKT('SRID=4674;POINT (-40.128207 -2.84409)'))) / (select extract(epoch from '2026-08-19 20:11:01'::timestamp) - extract(epoch from '2026-08-19 20:10:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.128102 -2.844236)', '2026-08-19 20:11:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128207 -2.84409)'), GeomFromEWKT('SRID=4674;POINT (-40.128102 -2.844236)'))) / (select extract(epoch from '2026-08-19 20:11:09'::timestamp) - extract(epoch from '2026-08-19 20:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128207 -2.84409)'), GeomFromEWKT('SRID=4674;POINT (-40.128102 -2.844236)'))) / (select extract(epoch from '2026-08-19 20:11:09'::timestamp) - extract(epoch from '2026-08-19 20:11: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'), 48199, 'SRID=4674;POINT (-40.128011 -2.844426)', '2026-08-19 20:11:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128102 -2.844236)'), GeomFromEWKT('SRID=4674;POINT (-40.128011 -2.844426)'))) / (select extract(epoch from '2026-08-19 20:11:19'::timestamp) - extract(epoch from '2026-08-19 20:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128102 -2.844236)'), GeomFromEWKT('SRID=4674;POINT (-40.128011 -2.844426)'))) / (select extract(epoch from '2026-08-19 20:11:19'::timestamp) - extract(epoch from '2026-08-19 20:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127943 -2.844616)', '2026-08-19 20:11:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128011 -2.844426)'), GeomFromEWKT('SRID=4674;POINT (-40.127943 -2.844616)'))) / (select extract(epoch from '2026-08-19 20:11:29'::timestamp) - extract(epoch from '2026-08-19 20:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128011 -2.844426)'), GeomFromEWKT('SRID=4674;POINT (-40.127943 -2.844616)'))) / (select extract(epoch from '2026-08-19 20:11:29'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.127846 -2.844774)', '2026-08-19 20:11:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127943 -2.844616)'), GeomFromEWKT('SRID=4674;POINT (-40.127846 -2.844774)'))) / (select extract(epoch from '2026-08-19 20:11:38'::timestamp) - extract(epoch from '2026-08-19 20:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127943 -2.844616)'), GeomFromEWKT('SRID=4674;POINT (-40.127846 -2.844774)'))) / (select extract(epoch from '2026-08-19 20:11:38'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.127672 -2.844955)', '2026-08-19 20:11:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127846 -2.844774)'), GeomFromEWKT('SRID=4674;POINT (-40.127672 -2.844955)'))) / (select extract(epoch from '2026-08-19 20:11:49'::timestamp) - extract(epoch from '2026-08-19 20:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127846 -2.844774)'), GeomFromEWKT('SRID=4674;POINT (-40.127672 -2.844955)'))) / (select extract(epoch from '2026-08-19 20:11:49'::timestamp) - extract(epoch from '2026-08-19 20:11: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'), 48199, 'SRID=4674;POINT (-40.127533 -2.845093)', '2026-08-19 20:11:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127672 -2.844955)'), GeomFromEWKT('SRID=4674;POINT (-40.127533 -2.845093)'))) / (select extract(epoch from '2026-08-19 20:11:58'::timestamp) - extract(epoch from '2026-08-19 20:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127672 -2.844955)'), GeomFromEWKT('SRID=4674;POINT (-40.127533 -2.845093)'))) / (select extract(epoch from '2026-08-19 20:11:58'::timestamp) - extract(epoch from '2026-08-19 20:11: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'), 48199, 'SRID=4674;POINT (-40.127409 -2.845256)', '2026-08-19 20:12:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127533 -2.845093)'), GeomFromEWKT('SRID=4674;POINT (-40.127409 -2.845256)'))) / (select extract(epoch from '2026-08-19 20:12:08'::timestamp) - extract(epoch from '2026-08-19 20:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127533 -2.845093)'), GeomFromEWKT('SRID=4674;POINT (-40.127409 -2.845256)'))) / (select extract(epoch from '2026-08-19 20:12:08'::timestamp) - extract(epoch from '2026-08-19 20:11: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'), 48199, 'SRID=4674;POINT (-40.127285 -2.845428)', '2026-08-19 20:12:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127409 -2.845256)'), GeomFromEWKT('SRID=4674;POINT (-40.127285 -2.845428)'))) / (select extract(epoch from '2026-08-19 20:12:18'::timestamp) - extract(epoch from '2026-08-19 20:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127409 -2.845256)'), GeomFromEWKT('SRID=4674;POINT (-40.127285 -2.845428)'))) / (select extract(epoch from '2026-08-19 20:12:18'::timestamp) - extract(epoch from '2026-08-19 20:12: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'), 48199, 'SRID=4674;POINT (-40.127224 -2.845597)', '2026-08-19 20:12:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127285 -2.845428)'), GeomFromEWKT('SRID=4674;POINT (-40.127224 -2.845597)'))) / (select extract(epoch from '2026-08-19 20:12:27'::timestamp) - extract(epoch from '2026-08-19 20:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127285 -2.845428)'), GeomFromEWKT('SRID=4674;POINT (-40.127224 -2.845597)'))) / (select extract(epoch from '2026-08-19 20:12:27'::timestamp) - extract(epoch from '2026-08-19 20:12:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127189 -2.845777)', '2026-08-19 20:12:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127224 -2.845597)'), GeomFromEWKT('SRID=4674;POINT (-40.127189 -2.845777)'))) / (select extract(epoch from '2026-08-19 20:12:36'::timestamp) - extract(epoch from '2026-08-19 20:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127224 -2.845597)'), GeomFromEWKT('SRID=4674;POINT (-40.127189 -2.845777)'))) / (select extract(epoch from '2026-08-19 20:12:36'::timestamp) - extract(epoch from '2026-08-19 20:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127184 -2.846007)', '2026-08-19 20:12:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127189 -2.845777)'), GeomFromEWKT('SRID=4674;POINT (-40.127184 -2.846007)'))) / (select extract(epoch from '2026-08-19 20:12:47'::timestamp) - extract(epoch from '2026-08-19 20:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127189 -2.845777)'), GeomFromEWKT('SRID=4674;POINT (-40.127184 -2.846007)'))) / (select extract(epoch from '2026-08-19 20:12:47'::timestamp) - extract(epoch from '2026-08-19 20:12:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127074 -2.84612)', '2026-08-19 20:12:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127184 -2.846007)'), GeomFromEWKT('SRID=4674;POINT (-40.127074 -2.84612)'))) / (select extract(epoch from '2026-08-19 20:12:55'::timestamp) - extract(epoch from '2026-08-19 20:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127184 -2.846007)'), GeomFromEWKT('SRID=4674;POINT (-40.127074 -2.84612)'))) / (select extract(epoch from '2026-08-19 20:12:55'::timestamp) - extract(epoch from '2026-08-19 20:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127056 -2.846293)', '2026-08-19 20:13:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127074 -2.84612)'), GeomFromEWKT('SRID=4674;POINT (-40.127056 -2.846293)'))) / (select extract(epoch from '2026-08-19 20:13:03'::timestamp) - extract(epoch from '2026-08-19 20:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127074 -2.84612)'), GeomFromEWKT('SRID=4674;POINT (-40.127056 -2.846293)'))) / (select extract(epoch from '2026-08-19 20:13:03'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.127038 -2.84651)', '2026-08-19 20:13:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127056 -2.846293)'), GeomFromEWKT('SRID=4674;POINT (-40.127038 -2.84651)'))) / (select extract(epoch from '2026-08-19 20:13:12'::timestamp) - extract(epoch from '2026-08-19 20:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127056 -2.846293)'), GeomFromEWKT('SRID=4674;POINT (-40.127038 -2.84651)'))) / (select extract(epoch from '2026-08-19 20:13:12'::timestamp) - extract(epoch from '2026-08-19 20:13:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127008 -2.846685)', '2026-08-19 20:13:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127038 -2.84651)'), GeomFromEWKT('SRID=4674;POINT (-40.127008 -2.846685)'))) / (select extract(epoch from '2026-08-19 20:13:20'::timestamp) - extract(epoch from '2026-08-19 20:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127038 -2.84651)'), GeomFromEWKT('SRID=4674;POINT (-40.127008 -2.846685)'))) / (select extract(epoch from '2026-08-19 20:13:20'::timestamp) - extract(epoch from '2026-08-19 20:13: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'), 48199, 'SRID=4674;POINT (-40.126996 -2.846855)', '2026-08-19 20:13:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127008 -2.846685)'), GeomFromEWKT('SRID=4674;POINT (-40.126996 -2.846855)'))) / (select extract(epoch from '2026-08-19 20:13:28'::timestamp) - extract(epoch from '2026-08-19 20:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127008 -2.846685)'), GeomFromEWKT('SRID=4674;POINT (-40.126996 -2.846855)'))) / (select extract(epoch from '2026-08-19 20:13:28'::timestamp) - extract(epoch from '2026-08-19 20:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126978 -2.84707)', '2026-08-19 20:13:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126996 -2.846855)'), GeomFromEWKT('SRID=4674;POINT (-40.126978 -2.84707)'))) / (select extract(epoch from '2026-08-19 20:13:38'::timestamp) - extract(epoch from '2026-08-19 20:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126996 -2.846855)'), GeomFromEWKT('SRID=4674;POINT (-40.126978 -2.84707)'))) / (select extract(epoch from '2026-08-19 20:13:38'::timestamp) - extract(epoch from '2026-08-19 20:13:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.12694 -2.847269)', '2026-08-19 20:13:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126978 -2.84707)'), GeomFromEWKT('SRID=4674;POINT (-40.12694 -2.847269)'))) / (select extract(epoch from '2026-08-19 20:13:48'::timestamp) - extract(epoch from '2026-08-19 20:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126978 -2.84707)'), GeomFromEWKT('SRID=4674;POINT (-40.12694 -2.847269)'))) / (select extract(epoch from '2026-08-19 20:13:48'::timestamp) - extract(epoch from '2026-08-19 20:13:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126863 -2.847456)', '2026-08-19 20:13:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12694 -2.847269)'), GeomFromEWKT('SRID=4674;POINT (-40.126863 -2.847456)'))) / (select extract(epoch from '2026-08-19 20:13:58'::timestamp) - extract(epoch from '2026-08-19 20:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12694 -2.847269)'), GeomFromEWKT('SRID=4674;POINT (-40.126863 -2.847456)'))) / (select extract(epoch from '2026-08-19 20:13:58'::timestamp) - extract(epoch from '2026-08-19 20:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126828 -2.847673)', '2026-08-19 20:14:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126863 -2.847456)'), GeomFromEWKT('SRID=4674;POINT (-40.126828 -2.847673)'))) / (select extract(epoch from '2026-08-19 20:14:08'::timestamp) - extract(epoch from '2026-08-19 20:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126863 -2.847456)'), GeomFromEWKT('SRID=4674;POINT (-40.126828 -2.847673)'))) / (select extract(epoch from '2026-08-19 20:14:08'::timestamp) - extract(epoch from '2026-08-19 20:13: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'), 48199, 'SRID=4674;POINT (-40.126783 -2.847863)', '2026-08-19 20:14:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126828 -2.847673)'), GeomFromEWKT('SRID=4674;POINT (-40.126783 -2.847863)'))) / (select extract(epoch from '2026-08-19 20:14:17'::timestamp) - extract(epoch from '2026-08-19 20:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126828 -2.847673)'), GeomFromEWKT('SRID=4674;POINT (-40.126783 -2.847863)'))) / (select extract(epoch from '2026-08-19 20:14:17'::timestamp) - extract(epoch from '2026-08-19 20:14: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'), 48199, 'SRID=4674;POINT (-40.126746 -2.848032)', '2026-08-19 20:14:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126783 -2.847863)'), GeomFromEWKT('SRID=4674;POINT (-40.126746 -2.848032)'))) / (select extract(epoch from '2026-08-19 20:14:26'::timestamp) - extract(epoch from '2026-08-19 20:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126783 -2.847863)'), GeomFromEWKT('SRID=4674;POINT (-40.126746 -2.848032)'))) / (select extract(epoch from '2026-08-19 20:14:26'::timestamp) - extract(epoch from '2026-08-19 20:14: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'), 48199, 'SRID=4674;POINT (-40.126732 -2.848199)', '2026-08-19 20:14:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126746 -2.848032)'), GeomFromEWKT('SRID=4674;POINT (-40.126732 -2.848199)'))) / (select extract(epoch from '2026-08-19 20:14:35'::timestamp) - extract(epoch from '2026-08-19 20:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126746 -2.848032)'), GeomFromEWKT('SRID=4674;POINT (-40.126732 -2.848199)'))) / (select extract(epoch from '2026-08-19 20:14:35'::timestamp) - extract(epoch from '2026-08-19 20:14:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126743 -2.848351)', '2026-08-19 20:14:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126732 -2.848199)'), GeomFromEWKT('SRID=4674;POINT (-40.126743 -2.848351)'))) / (select extract(epoch from '2026-08-19 20:14:43'::timestamp) - extract(epoch from '2026-08-19 20:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126732 -2.848199)'), GeomFromEWKT('SRID=4674;POINT (-40.126743 -2.848351)'))) / (select extract(epoch from '2026-08-19 20:14:43'::timestamp) - extract(epoch from '2026-08-19 20:14:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126787 -2.848502)', '2026-08-19 20:14:51', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126743 -2.848351)'), GeomFromEWKT('SRID=4674;POINT (-40.126787 -2.848502)'))) / (select extract(epoch from '2026-08-19 20:14:51'::timestamp) - extract(epoch from '2026-08-19 20:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126743 -2.848351)'), GeomFromEWKT('SRID=4674;POINT (-40.126787 -2.848502)'))) / (select extract(epoch from '2026-08-19 20:14:51'::timestamp) - extract(epoch from '2026-08-19 20:14: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'), 48199, 'SRID=4674;POINT (-40.126855 -2.848651)', '2026-08-19 20:14:59', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126787 -2.848502)'), GeomFromEWKT('SRID=4674;POINT (-40.126855 -2.848651)'))) / (select extract(epoch from '2026-08-19 20:14:59'::timestamp) - extract(epoch from '2026-08-19 20:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126787 -2.848502)'), GeomFromEWKT('SRID=4674;POINT (-40.126855 -2.848651)'))) / (select extract(epoch from '2026-08-19 20:14:59'::timestamp) - extract(epoch from '2026-08-19 20:14:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.12697 -2.848828)', '2026-08-19 20:15:09', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126855 -2.848651)'), GeomFromEWKT('SRID=4674;POINT (-40.12697 -2.848828)'))) / (select extract(epoch from '2026-08-19 20:15:09'::timestamp) - extract(epoch from '2026-08-19 20:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126855 -2.848651)'), GeomFromEWKT('SRID=4674;POINT (-40.12697 -2.848828)'))) / (select extract(epoch from '2026-08-19 20:15:09'::timestamp) - extract(epoch from '2026-08-19 20:14:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127056 -2.848949)', '2026-08-19 20:15:17', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12697 -2.848828)'), GeomFromEWKT('SRID=4674;POINT (-40.127056 -2.848949)'))) / (select extract(epoch from '2026-08-19 20:15:17'::timestamp) - extract(epoch from '2026-08-19 20:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12697 -2.848828)'), GeomFromEWKT('SRID=4674;POINT (-40.127056 -2.848949)'))) / (select extract(epoch from '2026-08-19 20:15:17'::timestamp) - extract(epoch from '2026-08-19 20:15: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'), 48199, 'SRID=4674;POINT (-40.127177 -2.849058)', '2026-08-19 20:15:26', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127056 -2.848949)'), GeomFromEWKT('SRID=4674;POINT (-40.127177 -2.849058)'))) / (select extract(epoch from '2026-08-19 20:15:26'::timestamp) - extract(epoch from '2026-08-19 20:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127056 -2.848949)'), GeomFromEWKT('SRID=4674;POINT (-40.127177 -2.849058)'))) / (select extract(epoch from '2026-08-19 20:15:26'::timestamp) - extract(epoch from '2026-08-19 20:15: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'), 48199, 'SRID=4674;POINT (-40.127299 -2.849181)', '2026-08-19 20:15:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127177 -2.849058)'), GeomFromEWKT('SRID=4674;POINT (-40.127299 -2.849181)'))) / (select extract(epoch from '2026-08-19 20:15:35'::timestamp) - extract(epoch from '2026-08-19 20:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127177 -2.849058)'), GeomFromEWKT('SRID=4674;POINT (-40.127299 -2.849181)'))) / (select extract(epoch from '2026-08-19 20:15:35'::timestamp) - extract(epoch from '2026-08-19 20: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'), 48199, 'SRID=4674;POINT (-40.127426 -2.849319)', '2026-08-19 20:15:45', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127299 -2.849181)'), GeomFromEWKT('SRID=4674;POINT (-40.127426 -2.849319)'))) / (select extract(epoch from '2026-08-19 20:15:45'::timestamp) - extract(epoch from '2026-08-19 20:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127299 -2.849181)'), GeomFromEWKT('SRID=4674;POINT (-40.127426 -2.849319)'))) / (select extract(epoch from '2026-08-19 20:15:45'::timestamp) - extract(epoch from '2026-08-19 20:15: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'), 48199, 'SRID=4674;POINT (-40.127565 -2.849457)', '2026-08-19 20:15:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127426 -2.849319)'), GeomFromEWKT('SRID=4674;POINT (-40.127565 -2.849457)'))) / (select extract(epoch from '2026-08-19 20:15:56'::timestamp) - extract(epoch from '2026-08-19 20:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127426 -2.849319)'), GeomFromEWKT('SRID=4674;POINT (-40.127565 -2.849457)'))) / (select extract(epoch from '2026-08-19 20:15:56'::timestamp) - extract(epoch from '2026-08-19 20:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.12767 -2.849574)', '2026-08-19 20:16:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127565 -2.849457)'), GeomFromEWKT('SRID=4674;POINT (-40.12767 -2.849574)'))) / (select extract(epoch from '2026-08-19 20:16:05'::timestamp) - extract(epoch from '2026-08-19 20:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127565 -2.849457)'), GeomFromEWKT('SRID=4674;POINT (-40.12767 -2.849574)'))) / (select extract(epoch from '2026-08-19 20:16:05'::timestamp) - extract(epoch from '2026-08-19 20:15: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'), 48199, 'SRID=4674;POINT (-40.127751 -2.849683)', '2026-08-19 20:16:13', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12767 -2.849574)'), GeomFromEWKT('SRID=4674;POINT (-40.127751 -2.849683)'))) / (select extract(epoch from '2026-08-19 20:16:13'::timestamp) - extract(epoch from '2026-08-19 20:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12767 -2.849574)'), GeomFromEWKT('SRID=4674;POINT (-40.127751 -2.849683)'))) / (select extract(epoch from '2026-08-19 20:16:13'::timestamp) - extract(epoch from '2026-08-19 20:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
