 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112647 -2.817247)', '2026-07-08 18:54:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112542 -2.817205)'), GeomFromEWKT('SRID=4674;POINT (-40.112647 -2.817247)'))) / (select extract(epoch from '2026-07-08 18:54:25'::timestamp) - extract(epoch from '2026-07-08 18:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112542 -2.817205)'), GeomFromEWKT('SRID=4674;POINT (-40.112647 -2.817247)'))) / (select extract(epoch from '2026-07-08 18:54:25'::timestamp) - extract(epoch from '2026-07-08 18:54:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112764 -2.817286)', '2026-07-08 18:54:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112647 -2.817247)'), GeomFromEWKT('SRID=4674;POINT (-40.112764 -2.817286)'))) / (select extract(epoch from '2026-07-08 18:54:33'::timestamp) - extract(epoch from '2026-07-08 18:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112647 -2.817247)'), GeomFromEWKT('SRID=4674;POINT (-40.112764 -2.817286)'))) / (select extract(epoch from '2026-07-08 18:54:33'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.112884 -2.817283)', '2026-07-08 18:54:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112764 -2.817286)'), GeomFromEWKT('SRID=4674;POINT (-40.112884 -2.817283)'))) / (select extract(epoch from '2026-07-08 18:54:41'::timestamp) - extract(epoch from '2026-07-08 18:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112764 -2.817286)'), GeomFromEWKT('SRID=4674;POINT (-40.112884 -2.817283)'))) / (select extract(epoch from '2026-07-08 18:54:41'::timestamp) - extract(epoch from '2026-07-08 18:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112987 -2.817278)', '2026-07-08 18:54:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112884 -2.817283)'), GeomFromEWKT('SRID=4674;POINT (-40.112987 -2.817278)'))) / (select extract(epoch from '2026-07-08 18:54:48'::timestamp) - extract(epoch from '2026-07-08 18:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112884 -2.817283)'), GeomFromEWKT('SRID=4674;POINT (-40.112987 -2.817278)'))) / (select extract(epoch from '2026-07-08 18:54:48'::timestamp) - extract(epoch from '2026-07-08 18:54: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'), 47631, 'SRID=4674;POINT (-40.113085 -2.817247)', '2026-07-08 18:54:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112987 -2.817278)'), GeomFromEWKT('SRID=4674;POINT (-40.113085 -2.817247)'))) / (select extract(epoch from '2026-07-08 18:54:55'::timestamp) - extract(epoch from '2026-07-08 18:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112987 -2.817278)'), GeomFromEWKT('SRID=4674;POINT (-40.113085 -2.817247)'))) / (select extract(epoch from '2026-07-08 18:54:55'::timestamp) - extract(epoch from '2026-07-08 18:54:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113204 -2.817201)', '2026-07-08 18:55:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113085 -2.817247)'), GeomFromEWKT('SRID=4674;POINT (-40.113204 -2.817201)'))) / (select extract(epoch from '2026-07-08 18:55:03'::timestamp) - extract(epoch from '2026-07-08 18:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113085 -2.817247)'), GeomFromEWKT('SRID=4674;POINT (-40.113204 -2.817201)'))) / (select extract(epoch from '2026-07-08 18:55:03'::timestamp) - extract(epoch from '2026-07-08 18:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11334 -2.817161)', '2026-07-08 18:55:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113204 -2.817201)'), GeomFromEWKT('SRID=4674;POINT (-40.11334 -2.817161)'))) / (select extract(epoch from '2026-07-08 18:55:12'::timestamp) - extract(epoch from '2026-07-08 18:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113204 -2.817201)'), GeomFromEWKT('SRID=4674;POINT (-40.11334 -2.817161)'))) / (select extract(epoch from '2026-07-08 18:55:12'::timestamp) - extract(epoch from '2026-07-08 18:55:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113473 -2.817124)', '2026-07-08 18:55:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11334 -2.817161)'), GeomFromEWKT('SRID=4674;POINT (-40.113473 -2.817124)'))) / (select extract(epoch from '2026-07-08 18:55:20'::timestamp) - extract(epoch from '2026-07-08 18:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11334 -2.817161)'), GeomFromEWKT('SRID=4674;POINT (-40.113473 -2.817124)'))) / (select extract(epoch from '2026-07-08 18:55:20'::timestamp) - extract(epoch from '2026-07-08 18:55:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11362 -2.817081)', '2026-07-08 18:55:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113473 -2.817124)'), GeomFromEWKT('SRID=4674;POINT (-40.11362 -2.817081)'))) / (select extract(epoch from '2026-07-08 18:55:29'::timestamp) - extract(epoch from '2026-07-08 18:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113473 -2.817124)'), GeomFromEWKT('SRID=4674;POINT (-40.11362 -2.817081)'))) / (select extract(epoch from '2026-07-08 18:55:29'::timestamp) - extract(epoch from '2026-07-08 18:55: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'), 47631, 'SRID=4674;POINT (-40.113738 -2.81704)', '2026-07-08 18:55:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11362 -2.817081)'), GeomFromEWKT('SRID=4674;POINT (-40.113738 -2.81704)'))) / (select extract(epoch from '2026-07-08 18:55:37'::timestamp) - extract(epoch from '2026-07-08 18:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11362 -2.817081)'), GeomFromEWKT('SRID=4674;POINT (-40.113738 -2.81704)'))) / (select extract(epoch from '2026-07-08 18:55:37'::timestamp) - extract(epoch from '2026-07-08 18:55:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11386 -2.817032)', '2026-07-08 18:55:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113738 -2.81704)'), GeomFromEWKT('SRID=4674;POINT (-40.11386 -2.817032)'))) / (select extract(epoch from '2026-07-08 18:55:44'::timestamp) - extract(epoch from '2026-07-08 18:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113738 -2.81704)'), GeomFromEWKT('SRID=4674;POINT (-40.11386 -2.817032)'))) / (select extract(epoch from '2026-07-08 18:55:44'::timestamp) - extract(epoch from '2026-07-08 18:55: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'), 47631, 'SRID=4674;POINT (-40.114027 -2.817065)', '2026-07-08 18:55:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11386 -2.817032)'), GeomFromEWKT('SRID=4674;POINT (-40.114027 -2.817065)'))) / (select extract(epoch from '2026-07-08 18:55:54'::timestamp) - extract(epoch from '2026-07-08 18:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11386 -2.817032)'), GeomFromEWKT('SRID=4674;POINT (-40.114027 -2.817065)'))) / (select extract(epoch from '2026-07-08 18:55:54'::timestamp) - extract(epoch from '2026-07-08 18:55:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.114241 -2.817125)', '2026-07-08 18:56:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114027 -2.817065)'), GeomFromEWKT('SRID=4674;POINT (-40.114241 -2.817125)'))) / (select extract(epoch from '2026-07-08 18:56:06'::timestamp) - extract(epoch from '2026-07-08 18:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114027 -2.817065)'), GeomFromEWKT('SRID=4674;POINT (-40.114241 -2.817125)'))) / (select extract(epoch from '2026-07-08 18:56:06'::timestamp) - extract(epoch from '2026-07-08 18:55: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'), 47631, 'SRID=4674;POINT (-40.114398 -2.817137)', '2026-07-08 18:56:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114241 -2.817125)'), GeomFromEWKT('SRID=4674;POINT (-40.114398 -2.817137)'))) / (select extract(epoch from '2026-07-08 18:56:15'::timestamp) - extract(epoch from '2026-07-08 18:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114241 -2.817125)'), GeomFromEWKT('SRID=4674;POINT (-40.114398 -2.817137)'))) / (select extract(epoch from '2026-07-08 18:56:15'::timestamp) - extract(epoch from '2026-07-08 18:56:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.114554 -2.817129)', '2026-07-08 18:56:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114398 -2.817137)'), GeomFromEWKT('SRID=4674;POINT (-40.114554 -2.817129)'))) / (select extract(epoch from '2026-07-08 18:56:24'::timestamp) - extract(epoch from '2026-07-08 18:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114398 -2.817137)'), GeomFromEWKT('SRID=4674;POINT (-40.114554 -2.817129)'))) / (select extract(epoch from '2026-07-08 18:56:24'::timestamp) - extract(epoch from '2026-07-08 18:56:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.114673 -2.817126)', '2026-07-08 18:56:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114554 -2.817129)'), GeomFromEWKT('SRID=4674;POINT (-40.114673 -2.817126)'))) / (select extract(epoch from '2026-07-08 18:56:31'::timestamp) - extract(epoch from '2026-07-08 18:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114554 -2.817129)'), GeomFromEWKT('SRID=4674;POINT (-40.114673 -2.817126)'))) / (select extract(epoch from '2026-07-08 18:56:31'::timestamp) - extract(epoch from '2026-07-08 18:56: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'), 47631, 'SRID=4674;POINT (-40.114806 -2.817136)', '2026-07-08 18:56:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114673 -2.817126)'), GeomFromEWKT('SRID=4674;POINT (-40.114806 -2.817136)'))) / (select extract(epoch from '2026-07-08 18:56:39'::timestamp) - extract(epoch from '2026-07-08 18:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114673 -2.817126)'), GeomFromEWKT('SRID=4674;POINT (-40.114806 -2.817136)'))) / (select extract(epoch from '2026-07-08 18:56:39'::timestamp) - extract(epoch from '2026-07-08 18:56:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.114919 -2.817149)', '2026-07-08 18:56:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114806 -2.817136)'), GeomFromEWKT('SRID=4674;POINT (-40.114919 -2.817149)'))) / (select extract(epoch from '2026-07-08 18:56:46'::timestamp) - extract(epoch from '2026-07-08 18:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114806 -2.817136)'), GeomFromEWKT('SRID=4674;POINT (-40.114919 -2.817149)'))) / (select extract(epoch from '2026-07-08 18:56:46'::timestamp) - extract(epoch from '2026-07-08 18:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11507 -2.817157)', '2026-07-08 18:56:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114919 -2.817149)'), GeomFromEWKT('SRID=4674;POINT (-40.11507 -2.817157)'))) / (select extract(epoch from '2026-07-08 18:56:55'::timestamp) - extract(epoch from '2026-07-08 18:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114919 -2.817149)'), GeomFromEWKT('SRID=4674;POINT (-40.11507 -2.817157)'))) / (select extract(epoch from '2026-07-08 18:56:55'::timestamp) - extract(epoch from '2026-07-08 18:56: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'), 47631, 'SRID=4674;POINT (-40.11526 -2.817141)', '2026-07-08 18:57:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11507 -2.817157)'), GeomFromEWKT('SRID=4674;POINT (-40.11526 -2.817141)'))) / (select extract(epoch from '2026-07-08 18:57:06'::timestamp) - extract(epoch from '2026-07-08 18:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11507 -2.817157)'), GeomFromEWKT('SRID=4674;POINT (-40.11526 -2.817141)'))) / (select extract(epoch from '2026-07-08 18:57:06'::timestamp) - extract(epoch from '2026-07-08 18:56:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11542 -2.817146)', '2026-07-08 18:57:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11526 -2.817141)'), GeomFromEWKT('SRID=4674;POINT (-40.11542 -2.817146)'))) / (select extract(epoch from '2026-07-08 18:57:15'::timestamp) - extract(epoch from '2026-07-08 18:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11526 -2.817141)'), GeomFromEWKT('SRID=4674;POINT (-40.11542 -2.817146)'))) / (select extract(epoch from '2026-07-08 18:57:15'::timestamp) - extract(epoch from '2026-07-08 18:57:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.115574 -2.817151)', '2026-07-08 18:57:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11542 -2.817146)'), GeomFromEWKT('SRID=4674;POINT (-40.115574 -2.817151)'))) / (select extract(epoch from '2026-07-08 18:57:24'::timestamp) - extract(epoch from '2026-07-08 18:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11542 -2.817146)'), GeomFromEWKT('SRID=4674;POINT (-40.115574 -2.817151)'))) / (select extract(epoch from '2026-07-08 18:57:24'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.115716 -2.81714)', '2026-07-08 18:57:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115574 -2.817151)'), GeomFromEWKT('SRID=4674;POINT (-40.115716 -2.81714)'))) / (select extract(epoch from '2026-07-08 18:57:32'::timestamp) - extract(epoch from '2026-07-08 18:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115574 -2.817151)'), GeomFromEWKT('SRID=4674;POINT (-40.115716 -2.81714)'))) / (select extract(epoch from '2026-07-08 18:57:32'::timestamp) - extract(epoch from '2026-07-08 18:57:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.115851 -2.817122)', '2026-07-08 18:57:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115716 -2.81714)'), GeomFromEWKT('SRID=4674;POINT (-40.115851 -2.817122)'))) / (select extract(epoch from '2026-07-08 18:57:40'::timestamp) - extract(epoch from '2026-07-08 18:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115716 -2.81714)'), GeomFromEWKT('SRID=4674;POINT (-40.115851 -2.817122)'))) / (select extract(epoch from '2026-07-08 18:57:40'::timestamp) - extract(epoch from '2026-07-08 18:57: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'), 47631, 'SRID=4674;POINT (-40.115983 -2.817089)', '2026-07-08 18:57:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115851 -2.817122)'), GeomFromEWKT('SRID=4674;POINT (-40.115983 -2.817089)'))) / (select extract(epoch from '2026-07-08 18:57:48'::timestamp) - extract(epoch from '2026-07-08 18:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115851 -2.817122)'), GeomFromEWKT('SRID=4674;POINT (-40.115983 -2.817089)'))) / (select extract(epoch from '2026-07-08 18:57:48'::timestamp) - extract(epoch from '2026-07-08 18:57: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'), 47631, 'SRID=4674;POINT (-40.116111 -2.817067)', '2026-07-08 18:57:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115983 -2.817089)'), GeomFromEWKT('SRID=4674;POINT (-40.116111 -2.817067)'))) / (select extract(epoch from '2026-07-08 18:57:56'::timestamp) - extract(epoch from '2026-07-08 18:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115983 -2.817089)'), GeomFromEWKT('SRID=4674;POINT (-40.116111 -2.817067)'))) / (select extract(epoch from '2026-07-08 18:57:56'::timestamp) - extract(epoch from '2026-07-08 18:57:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.116205 -2.817044)', '2026-07-08 18:58:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116111 -2.817067)'), GeomFromEWKT('SRID=4674;POINT (-40.116205 -2.817044)'))) / (select extract(epoch from '2026-07-08 18:58:02'::timestamp) - extract(epoch from '2026-07-08 18:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116111 -2.817067)'), GeomFromEWKT('SRID=4674;POINT (-40.116205 -2.817044)'))) / (select extract(epoch from '2026-07-08 18:58:02'::timestamp) - extract(epoch from '2026-07-08 18:57: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'), 47631, 'SRID=4674;POINT (-40.116352 -2.817009)', '2026-07-08 18:58:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116205 -2.817044)'), GeomFromEWKT('SRID=4674;POINT (-40.116352 -2.817009)'))) / (select extract(epoch from '2026-07-08 18:58:11'::timestamp) - extract(epoch from '2026-07-08 18:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116205 -2.817044)'), GeomFromEWKT('SRID=4674;POINT (-40.116352 -2.817009)'))) / (select extract(epoch from '2026-07-08 18:58:11'::timestamp) - extract(epoch from '2026-07-08 18:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.116461 -2.816997)', '2026-07-08 18:58:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116352 -2.817009)'), GeomFromEWKT('SRID=4674;POINT (-40.116461 -2.816997)'))) / (select extract(epoch from '2026-07-08 18:58:18'::timestamp) - extract(epoch from '2026-07-08 18:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116352 -2.817009)'), GeomFromEWKT('SRID=4674;POINT (-40.116461 -2.816997)'))) / (select extract(epoch from '2026-07-08 18:58:18'::timestamp) - extract(epoch from '2026-07-08 18:58:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.116615 -2.817003)', '2026-07-08 18:58:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116461 -2.816997)'), GeomFromEWKT('SRID=4674;POINT (-40.116615 -2.817003)'))) / (select extract(epoch from '2026-07-08 18:58:27'::timestamp) - extract(epoch from '2026-07-08 18:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116461 -2.816997)'), GeomFromEWKT('SRID=4674;POINT (-40.116615 -2.817003)'))) / (select extract(epoch from '2026-07-08 18:58:27'::timestamp) - extract(epoch from '2026-07-08 18:58:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.116731 -2.817018)', '2026-07-08 18:58:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116615 -2.817003)'), GeomFromEWKT('SRID=4674;POINT (-40.116731 -2.817018)'))) / (select extract(epoch from '2026-07-08 18:58:34'::timestamp) - extract(epoch from '2026-07-08 18:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116615 -2.817003)'), GeomFromEWKT('SRID=4674;POINT (-40.116731 -2.817018)'))) / (select extract(epoch from '2026-07-08 18:58:34'::timestamp) - extract(epoch from '2026-07-08 18:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.116888 -2.817057)', '2026-07-08 18:58:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116731 -2.817018)'), GeomFromEWKT('SRID=4674;POINT (-40.116888 -2.817057)'))) / (select extract(epoch from '2026-07-08 18:58:43'::timestamp) - extract(epoch from '2026-07-08 18:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116731 -2.817018)'), GeomFromEWKT('SRID=4674;POINT (-40.116888 -2.817057)'))) / (select extract(epoch from '2026-07-08 18:58:43'::timestamp) - extract(epoch from '2026-07-08 18:58: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'), 47631, 'SRID=4674;POINT (-40.117069 -2.817112)', '2026-07-08 18:58:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116888 -2.817057)'), GeomFromEWKT('SRID=4674;POINT (-40.117069 -2.817112)'))) / (select extract(epoch from '2026-07-08 18:58:53'::timestamp) - extract(epoch from '2026-07-08 18:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116888 -2.817057)'), GeomFromEWKT('SRID=4674;POINT (-40.117069 -2.817112)'))) / (select extract(epoch from '2026-07-08 18:58:53'::timestamp) - extract(epoch from '2026-07-08 18:58:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.117186 -2.817139)', '2026-07-08 18:59:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117069 -2.817112)'), GeomFromEWKT('SRID=4674;POINT (-40.117186 -2.817139)'))) / (select extract(epoch from '2026-07-08 18:59:00'::timestamp) - extract(epoch from '2026-07-08 18:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117069 -2.817112)'), GeomFromEWKT('SRID=4674;POINT (-40.117186 -2.817139)'))) / (select extract(epoch from '2026-07-08 18:59:00'::timestamp) - extract(epoch from '2026-07-08 18:58:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.117329 -2.817176)', '2026-07-08 18:59:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117186 -2.817139)'), GeomFromEWKT('SRID=4674;POINT (-40.117329 -2.817176)'))) / (select extract(epoch from '2026-07-08 18:59:08'::timestamp) - extract(epoch from '2026-07-08 18:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117186 -2.817139)'), GeomFromEWKT('SRID=4674;POINT (-40.117329 -2.817176)'))) / (select extract(epoch from '2026-07-08 18:59:08'::timestamp) - extract(epoch from '2026-07-08 18:59:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.117509 -2.817226)', '2026-07-08 18:59:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117329 -2.817176)'), GeomFromEWKT('SRID=4674;POINT (-40.117509 -2.817226)'))) / (select extract(epoch from '2026-07-08 18:59:18'::timestamp) - extract(epoch from '2026-07-08 18:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117329 -2.817176)'), GeomFromEWKT('SRID=4674;POINT (-40.117509 -2.817226)'))) / (select extract(epoch from '2026-07-08 18:59:18'::timestamp) - extract(epoch from '2026-07-08 18:59:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.117667 -2.817255)', '2026-07-08 18:59:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117509 -2.817226)'), GeomFromEWKT('SRID=4674;POINT (-40.117667 -2.817255)'))) / (select extract(epoch from '2026-07-08 18:59:27'::timestamp) - extract(epoch from '2026-07-08 18:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117509 -2.817226)'), GeomFromEWKT('SRID=4674;POINT (-40.117667 -2.817255)'))) / (select extract(epoch from '2026-07-08 18:59:27'::timestamp) - extract(epoch from '2026-07-08 18:59:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.117825 -2.817281)', '2026-07-08 18:59:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117667 -2.817255)'), GeomFromEWKT('SRID=4674;POINT (-40.117825 -2.817281)'))) / (select extract(epoch from '2026-07-08 18:59:36'::timestamp) - extract(epoch from '2026-07-08 18:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117667 -2.817255)'), GeomFromEWKT('SRID=4674;POINT (-40.117825 -2.817281)'))) / (select extract(epoch from '2026-07-08 18:59:36'::timestamp) - extract(epoch from '2026-07-08 18:59: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'), 47631, 'SRID=4674;POINT (-40.117977 -2.817307)', '2026-07-08 18:59:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117825 -2.817281)'), GeomFromEWKT('SRID=4674;POINT (-40.117977 -2.817307)'))) / (select extract(epoch from '2026-07-08 18:59:45'::timestamp) - extract(epoch from '2026-07-08 18:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117825 -2.817281)'), GeomFromEWKT('SRID=4674;POINT (-40.117977 -2.817307)'))) / (select extract(epoch from '2026-07-08 18:59:45'::timestamp) - extract(epoch from '2026-07-08 18:59: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'), 47631, 'SRID=4674;POINT (-40.11812 -2.817338)', '2026-07-08 18:59:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117977 -2.817307)'), GeomFromEWKT('SRID=4674;POINT (-40.11812 -2.817338)'))) / (select extract(epoch from '2026-07-08 18:59:53'::timestamp) - extract(epoch from '2026-07-08 18:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117977 -2.817307)'), GeomFromEWKT('SRID=4674;POINT (-40.11812 -2.817338)'))) / (select extract(epoch from '2026-07-08 18:59:53'::timestamp) - extract(epoch from '2026-07-08 18: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'), 47631, 'SRID=4674;POINT (-40.118295 -2.817386)', '2026-07-08 19:00:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11812 -2.817338)'), GeomFromEWKT('SRID=4674;POINT (-40.118295 -2.817386)'))) / (select extract(epoch from '2026-07-08 19:00:04'::timestamp) - extract(epoch from '2026-07-08 18:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11812 -2.817338)'), GeomFromEWKT('SRID=4674;POINT (-40.118295 -2.817386)'))) / (select extract(epoch from '2026-07-08 19:00:04'::timestamp) - extract(epoch from '2026-07-08 18:59: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'), 47631, 'SRID=4674;POINT (-40.118416 -2.817417)', '2026-07-08 19:00:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118295 -2.817386)'), GeomFromEWKT('SRID=4674;POINT (-40.118416 -2.817417)'))) / (select extract(epoch from '2026-07-08 19:00:11'::timestamp) - extract(epoch from '2026-07-08 19:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118295 -2.817386)'), GeomFromEWKT('SRID=4674;POINT (-40.118416 -2.817417)'))) / (select extract(epoch from '2026-07-08 19:00:11'::timestamp) - extract(epoch from '2026-07-08 19:00:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11856 -2.817434)', '2026-07-08 19:00:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118416 -2.817417)'), GeomFromEWKT('SRID=4674;POINT (-40.11856 -2.817434)'))) / (select extract(epoch from '2026-07-08 19:00:20'::timestamp) - extract(epoch from '2026-07-08 19:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118416 -2.817417)'), GeomFromEWKT('SRID=4674;POINT (-40.11856 -2.817434)'))) / (select extract(epoch from '2026-07-08 19:00:20'::timestamp) - extract(epoch from '2026-07-08 19:00: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'), 47631, 'SRID=4674;POINT (-40.118686 -2.817435)', '2026-07-08 19:00:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11856 -2.817434)'), GeomFromEWKT('SRID=4674;POINT (-40.118686 -2.817435)'))) / (select extract(epoch from '2026-07-08 19:00:28'::timestamp) - extract(epoch from '2026-07-08 19:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11856 -2.817434)'), GeomFromEWKT('SRID=4674;POINT (-40.118686 -2.817435)'))) / (select extract(epoch from '2026-07-08 19:00:28'::timestamp) - extract(epoch from '2026-07-08 19:00:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.118859 -2.817479)', '2026-07-08 19:00:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118686 -2.817435)'), GeomFromEWKT('SRID=4674;POINT (-40.118859 -2.817479)'))) / (select extract(epoch from '2026-07-08 19:00:38'::timestamp) - extract(epoch from '2026-07-08 19:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118686 -2.817435)'), GeomFromEWKT('SRID=4674;POINT (-40.118859 -2.817479)'))) / (select extract(epoch from '2026-07-08 19:00:38'::timestamp) - extract(epoch from '2026-07-08 19: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'), 47631, 'SRID=4674;POINT (-40.118976 -2.817506)', '2026-07-08 19:00:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118859 -2.817479)'), GeomFromEWKT('SRID=4674;POINT (-40.118976 -2.817506)'))) / (select extract(epoch from '2026-07-08 19:00:45'::timestamp) - extract(epoch from '2026-07-08 19:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118859 -2.817479)'), GeomFromEWKT('SRID=4674;POINT (-40.118976 -2.817506)'))) / (select extract(epoch from '2026-07-08 19:00:45'::timestamp) - extract(epoch from '2026-07-08 19: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'), 47631, 'SRID=4674;POINT (-40.119112 -2.817539)', '2026-07-08 19:00:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118976 -2.817506)'), GeomFromEWKT('SRID=4674;POINT (-40.119112 -2.817539)'))) / (select extract(epoch from '2026-07-08 19:00:53'::timestamp) - extract(epoch from '2026-07-08 19:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118976 -2.817506)'), GeomFromEWKT('SRID=4674;POINT (-40.119112 -2.817539)'))) / (select extract(epoch from '2026-07-08 19:00:53'::timestamp) - extract(epoch from '2026-07-08 19:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.119254 -2.81758)', '2026-07-08 19:01:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119112 -2.817539)'), GeomFromEWKT('SRID=4674;POINT (-40.119254 -2.81758)'))) / (select extract(epoch from '2026-07-08 19:01:01'::timestamp) - extract(epoch from '2026-07-08 19:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119112 -2.817539)'), GeomFromEWKT('SRID=4674;POINT (-40.119254 -2.81758)'))) / (select extract(epoch from '2026-07-08 19:01:01'::timestamp) - extract(epoch from '2026-07-08 19:00: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'), 47631, 'SRID=4674;POINT (-40.119412 -2.817613)', '2026-07-08 19:01:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119254 -2.81758)'), GeomFromEWKT('SRID=4674;POINT (-40.119412 -2.817613)'))) / (select extract(epoch from '2026-07-08 19:01:10'::timestamp) - extract(epoch from '2026-07-08 19:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119254 -2.81758)'), GeomFromEWKT('SRID=4674;POINT (-40.119412 -2.817613)'))) / (select extract(epoch from '2026-07-08 19:01:10'::timestamp) - extract(epoch from '2026-07-08 19:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.119541 -2.817644)', '2026-07-08 19:01:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119412 -2.817613)'), GeomFromEWKT('SRID=4674;POINT (-40.119541 -2.817644)'))) / (select extract(epoch from '2026-07-08 19:01:18'::timestamp) - extract(epoch from '2026-07-08 19:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119412 -2.817613)'), GeomFromEWKT('SRID=4674;POINT (-40.119541 -2.817644)'))) / (select extract(epoch from '2026-07-08 19:01:18'::timestamp) - extract(epoch from '2026-07-08 19:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.119678 -2.817687)', '2026-07-08 19:01:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119541 -2.817644)'), GeomFromEWKT('SRID=4674;POINT (-40.119678 -2.817687)'))) / (select extract(epoch from '2026-07-08 19:01:26'::timestamp) - extract(epoch from '2026-07-08 19:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119541 -2.817644)'), GeomFromEWKT('SRID=4674;POINT (-40.119678 -2.817687)'))) / (select extract(epoch from '2026-07-08 19:01:26'::timestamp) - extract(epoch from '2026-07-08 19:01:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.119827 -2.817746)', '2026-07-08 19:01:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119678 -2.817687)'), GeomFromEWKT('SRID=4674;POINT (-40.119827 -2.817746)'))) / (select extract(epoch from '2026-07-08 19:01:35'::timestamp) - extract(epoch from '2026-07-08 19:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119678 -2.817687)'), GeomFromEWKT('SRID=4674;POINT (-40.119827 -2.817746)'))) / (select extract(epoch from '2026-07-08 19:01:35'::timestamp) - extract(epoch from '2026-07-08 19: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'), 47631, 'SRID=4674;POINT (-40.120006 -2.817815)', '2026-07-08 19:01:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119827 -2.817746)'), GeomFromEWKT('SRID=4674;POINT (-40.120006 -2.817815)'))) / (select extract(epoch from '2026-07-08 19:01:46'::timestamp) - extract(epoch from '2026-07-08 19:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119827 -2.817746)'), GeomFromEWKT('SRID=4674;POINT (-40.120006 -2.817815)'))) / (select extract(epoch from '2026-07-08 19:01:46'::timestamp) - extract(epoch from '2026-07-08 19:01: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'), 47631, 'SRID=4674;POINT (-40.120155 -2.817863)', '2026-07-08 19:01:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120006 -2.817815)'), GeomFromEWKT('SRID=4674;POINT (-40.120155 -2.817863)'))) / (select extract(epoch from '2026-07-08 19:01:55'::timestamp) - extract(epoch from '2026-07-08 19:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120006 -2.817815)'), GeomFromEWKT('SRID=4674;POINT (-40.120155 -2.817863)'))) / (select extract(epoch from '2026-07-08 19:01:55'::timestamp) - extract(epoch from '2026-07-08 19:01: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'), 47631, 'SRID=4674;POINT (-40.120279 -2.817907)', '2026-07-08 19:02:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120155 -2.817863)'), GeomFromEWKT('SRID=4674;POINT (-40.120279 -2.817907)'))) / (select extract(epoch from '2026-07-08 19:02:03'::timestamp) - extract(epoch from '2026-07-08 19:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120155 -2.817863)'), GeomFromEWKT('SRID=4674;POINT (-40.120279 -2.817907)'))) / (select extract(epoch from '2026-07-08 19:02:03'::timestamp) - extract(epoch from '2026-07-08 19:01:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.120441 -2.817955)', '2026-07-08 19:02:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120279 -2.817907)'), GeomFromEWKT('SRID=4674;POINT (-40.120441 -2.817955)'))) / (select extract(epoch from '2026-07-08 19:02:13'::timestamp) - extract(epoch from '2026-07-08 19:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120279 -2.817907)'), GeomFromEWKT('SRID=4674;POINT (-40.120441 -2.817955)'))) / (select extract(epoch from '2026-07-08 19:02:13'::timestamp) - extract(epoch from '2026-07-08 19: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'), 47631, 'SRID=4674;POINT (-40.120624 -2.818025)', '2026-07-08 19:02:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120441 -2.817955)'), GeomFromEWKT('SRID=4674;POINT (-40.120624 -2.818025)'))) / (select extract(epoch from '2026-07-08 19:02:24'::timestamp) - extract(epoch from '2026-07-08 19:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120441 -2.817955)'), GeomFromEWKT('SRID=4674;POINT (-40.120624 -2.818025)'))) / (select extract(epoch from '2026-07-08 19:02:24'::timestamp) - extract(epoch from '2026-07-08 19:02:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.120756 -2.818044)', '2026-07-08 19:02:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120624 -2.818025)'), GeomFromEWKT('SRID=4674;POINT (-40.120756 -2.818044)'))) / (select extract(epoch from '2026-07-08 19:02:32'::timestamp) - extract(epoch from '2026-07-08 19:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120624 -2.818025)'), GeomFromEWKT('SRID=4674;POINT (-40.120756 -2.818044)'))) / (select extract(epoch from '2026-07-08 19:02:32'::timestamp) - extract(epoch from '2026-07-08 19: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'), 47631, 'SRID=4674;POINT (-40.12089 -2.818059)', '2026-07-08 19:02:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120756 -2.818044)'), GeomFromEWKT('SRID=4674;POINT (-40.12089 -2.818059)'))) / (select extract(epoch from '2026-07-08 19:02:40'::timestamp) - extract(epoch from '2026-07-08 19:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120756 -2.818044)'), GeomFromEWKT('SRID=4674;POINT (-40.12089 -2.818059)'))) / (select extract(epoch from '2026-07-08 19:02:40'::timestamp) - extract(epoch from '2026-07-08 19:02: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'), 47631, 'SRID=4674;POINT (-40.121023 -2.818069)', '2026-07-08 19:02:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12089 -2.818059)'), GeomFromEWKT('SRID=4674;POINT (-40.121023 -2.818069)'))) / (select extract(epoch from '2026-07-08 19:02:48'::timestamp) - extract(epoch from '2026-07-08 19:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12089 -2.818059)'), GeomFromEWKT('SRID=4674;POINT (-40.121023 -2.818069)'))) / (select extract(epoch from '2026-07-08 19:02:48'::timestamp) - extract(epoch from '2026-07-08 19:02: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'), 47631, 'SRID=4674;POINT (-40.121173 -2.818084)', '2026-07-08 19:02:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121023 -2.818069)'), GeomFromEWKT('SRID=4674;POINT (-40.121173 -2.818084)'))) / (select extract(epoch from '2026-07-08 19:02:57'::timestamp) - extract(epoch from '2026-07-08 19:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121023 -2.818069)'), GeomFromEWKT('SRID=4674;POINT (-40.121173 -2.818084)'))) / (select extract(epoch from '2026-07-08 19:02:57'::timestamp) - extract(epoch from '2026-07-08 19:02: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'), 47631, 'SRID=4674;POINT (-40.121326 -2.818129)', '2026-07-08 19:03:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121173 -2.818084)'), GeomFromEWKT('SRID=4674;POINT (-40.121326 -2.818129)'))) / (select extract(epoch from '2026-07-08 19:03:06'::timestamp) - extract(epoch from '2026-07-08 19:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121173 -2.818084)'), GeomFromEWKT('SRID=4674;POINT (-40.121326 -2.818129)'))) / (select extract(epoch from '2026-07-08 19:03:06'::timestamp) - extract(epoch from '2026-07-08 19:02:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.121449 -2.818168)', '2026-07-08 19:03:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121326 -2.818129)'), GeomFromEWKT('SRID=4674;POINT (-40.121449 -2.818168)'))) / (select extract(epoch from '2026-07-08 19:03:14'::timestamp) - extract(epoch from '2026-07-08 19:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121326 -2.818129)'), GeomFromEWKT('SRID=4674;POINT (-40.121449 -2.818168)'))) / (select extract(epoch from '2026-07-08 19:03:14'::timestamp) - extract(epoch from '2026-07-08 19:03:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.121578 -2.818218)', '2026-07-08 19:03:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121449 -2.818168)'), GeomFromEWKT('SRID=4674;POINT (-40.121578 -2.818218)'))) / (select extract(epoch from '2026-07-08 19:03:22'::timestamp) - extract(epoch from '2026-07-08 19:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121449 -2.818168)'), GeomFromEWKT('SRID=4674;POINT (-40.121578 -2.818218)'))) / (select extract(epoch from '2026-07-08 19:03:22'::timestamp) - extract(epoch from '2026-07-08 19:03:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.121701 -2.818258)', '2026-07-08 19:03:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121578 -2.818218)'), GeomFromEWKT('SRID=4674;POINT (-40.121701 -2.818258)'))) / (select extract(epoch from '2026-07-08 19:03:30'::timestamp) - extract(epoch from '2026-07-08 19:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121578 -2.818218)'), GeomFromEWKT('SRID=4674;POINT (-40.121701 -2.818258)'))) / (select extract(epoch from '2026-07-08 19:03:30'::timestamp) - extract(epoch from '2026-07-08 19:03:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.121796 -2.818298)', '2026-07-08 19:03:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121701 -2.818258)'), GeomFromEWKT('SRID=4674;POINT (-40.121796 -2.818298)'))) / (select extract(epoch from '2026-07-08 19:03:37'::timestamp) - extract(epoch from '2026-07-08 19:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121701 -2.818258)'), GeomFromEWKT('SRID=4674;POINT (-40.121796 -2.818298)'))) / (select extract(epoch from '2026-07-08 19:03:37'::timestamp) - extract(epoch from '2026-07-08 19:03:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.121894 -2.818334)', '2026-07-08 19:03:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121796 -2.818298)'), GeomFromEWKT('SRID=4674;POINT (-40.121894 -2.818334)'))) / (select extract(epoch from '2026-07-08 19:03:43'::timestamp) - extract(epoch from '2026-07-08 19:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121796 -2.818298)'), GeomFromEWKT('SRID=4674;POINT (-40.121894 -2.818334)'))) / (select extract(epoch from '2026-07-08 19:03:43'::timestamp) - extract(epoch from '2026-07-08 19:03:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122028 -2.818364)', '2026-07-08 19:03:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121894 -2.818334)'), GeomFromEWKT('SRID=4674;POINT (-40.122028 -2.818364)'))) / (select extract(epoch from '2026-07-08 19:03:51'::timestamp) - extract(epoch from '2026-07-08 19:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121894 -2.818334)'), GeomFromEWKT('SRID=4674;POINT (-40.122028 -2.818364)'))) / (select extract(epoch from '2026-07-08 19:03:51'::timestamp) - extract(epoch from '2026-07-08 19: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'), 47631, 'SRID=4674;POINT (-40.122197 -2.818416)', '2026-07-08 19:04:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122028 -2.818364)'), GeomFromEWKT('SRID=4674;POINT (-40.122197 -2.818416)'))) / (select extract(epoch from '2026-07-08 19:04:01'::timestamp) - extract(epoch from '2026-07-08 19:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122028 -2.818364)'), GeomFromEWKT('SRID=4674;POINT (-40.122197 -2.818416)'))) / (select extract(epoch from '2026-07-08 19:04:01'::timestamp) - extract(epoch from '2026-07-08 19:03:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122331 -2.818444)', '2026-07-08 19:04:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122197 -2.818416)'), GeomFromEWKT('SRID=4674;POINT (-40.122331 -2.818444)'))) / (select extract(epoch from '2026-07-08 19:04:09'::timestamp) - extract(epoch from '2026-07-08 19:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122197 -2.818416)'), GeomFromEWKT('SRID=4674;POINT (-40.122331 -2.818444)'))) / (select extract(epoch from '2026-07-08 19:04:09'::timestamp) - extract(epoch from '2026-07-08 19:04:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122461 -2.818454)', '2026-07-08 19:04:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122331 -2.818444)'), GeomFromEWKT('SRID=4674;POINT (-40.122461 -2.818454)'))) / (select extract(epoch from '2026-07-08 19:04:17'::timestamp) - extract(epoch from '2026-07-08 19:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122331 -2.818444)'), GeomFromEWKT('SRID=4674;POINT (-40.122461 -2.818454)'))) / (select extract(epoch from '2026-07-08 19:04:17'::timestamp) - extract(epoch from '2026-07-08 19: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'), 47631, 'SRID=4674;POINT (-40.122592 -2.818472)', '2026-07-08 19:04:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122461 -2.818454)'), GeomFromEWKT('SRID=4674;POINT (-40.122592 -2.818472)'))) / (select extract(epoch from '2026-07-08 19:04:25'::timestamp) - extract(epoch from '2026-07-08 19:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122461 -2.818454)'), GeomFromEWKT('SRID=4674;POINT (-40.122592 -2.818472)'))) / (select extract(epoch from '2026-07-08 19:04:25'::timestamp) - extract(epoch from '2026-07-08 19:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122718 -2.818466)', '2026-07-08 19:04:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122592 -2.818472)'), GeomFromEWKT('SRID=4674;POINT (-40.122718 -2.818466)'))) / (select extract(epoch from '2026-07-08 19:04:33'::timestamp) - extract(epoch from '2026-07-08 19:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122592 -2.818472)'), GeomFromEWKT('SRID=4674;POINT (-40.122718 -2.818466)'))) / (select extract(epoch from '2026-07-08 19:04:33'::timestamp) - extract(epoch from '2026-07-08 19:04: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'), 47631, 'SRID=4674;POINT (-40.122851 -2.818458)', '2026-07-08 19:04:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122718 -2.818466)'), GeomFromEWKT('SRID=4674;POINT (-40.122851 -2.818458)'))) / (select extract(epoch from '2026-07-08 19:04:41'::timestamp) - extract(epoch from '2026-07-08 19:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122718 -2.818466)'), GeomFromEWKT('SRID=4674;POINT (-40.122851 -2.818458)'))) / (select extract(epoch from '2026-07-08 19:04:41'::timestamp) - extract(epoch from '2026-07-08 19:04:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123006 -2.81843)', '2026-07-08 19:04:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122851 -2.818458)'), GeomFromEWKT('SRID=4674;POINT (-40.123006 -2.81843)'))) / (select extract(epoch from '2026-07-08 19:04:51'::timestamp) - extract(epoch from '2026-07-08 19:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122851 -2.818458)'), GeomFromEWKT('SRID=4674;POINT (-40.123006 -2.81843)'))) / (select extract(epoch from '2026-07-08 19:04:51'::timestamp) - extract(epoch from '2026-07-08 19:04: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'), 47631, 'SRID=4674;POINT (-40.123122 -2.818421)', '2026-07-08 19:04:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123006 -2.81843)'), GeomFromEWKT('SRID=4674;POINT (-40.123122 -2.818421)'))) / (select extract(epoch from '2026-07-08 19:04:58'::timestamp) - extract(epoch from '2026-07-08 19:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123006 -2.81843)'), GeomFromEWKT('SRID=4674;POINT (-40.123122 -2.818421)'))) / (select extract(epoch from '2026-07-08 19:04:58'::timestamp) - extract(epoch from '2026-07-08 19:04: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'), 47631, 'SRID=4674;POINT (-40.123242 -2.818437)', '2026-07-08 19:05:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123122 -2.818421)'), GeomFromEWKT('SRID=4674;POINT (-40.123242 -2.818437)'))) / (select extract(epoch from '2026-07-08 19:05:05'::timestamp) - extract(epoch from '2026-07-08 19:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123122 -2.818421)'), GeomFromEWKT('SRID=4674;POINT (-40.123242 -2.818437)'))) / (select extract(epoch from '2026-07-08 19:05:05'::timestamp) - extract(epoch from '2026-07-08 19:04:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123398 -2.818493)', '2026-07-08 19:05:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123242 -2.818437)'), GeomFromEWKT('SRID=4674;POINT (-40.123398 -2.818493)'))) / (select extract(epoch from '2026-07-08 19:05:15'::timestamp) - extract(epoch from '2026-07-08 19:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123242 -2.818437)'), GeomFromEWKT('SRID=4674;POINT (-40.123398 -2.818493)'))) / (select extract(epoch from '2026-07-08 19:05:15'::timestamp) - extract(epoch from '2026-07-08 19:05:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123562 -2.818533)', '2026-07-08 19:05:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123398 -2.818493)'), GeomFromEWKT('SRID=4674;POINT (-40.123562 -2.818533)'))) / (select extract(epoch from '2026-07-08 19:05:25'::timestamp) - extract(epoch from '2026-07-08 19:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123398 -2.818493)'), GeomFromEWKT('SRID=4674;POINT (-40.123562 -2.818533)'))) / (select extract(epoch from '2026-07-08 19:05:25'::timestamp) - extract(epoch from '2026-07-08 19:05:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.12372 -2.81855)', '2026-07-08 19:05:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123562 -2.818533)'), GeomFromEWKT('SRID=4674;POINT (-40.12372 -2.81855)'))) / (select extract(epoch from '2026-07-08 19:05:35'::timestamp) - extract(epoch from '2026-07-08 19:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123562 -2.818533)'), GeomFromEWKT('SRID=4674;POINT (-40.12372 -2.81855)'))) / (select extract(epoch from '2026-07-08 19:05:35'::timestamp) - extract(epoch from '2026-07-08 19:05:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123853 -2.818568)', '2026-07-08 19:05:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12372 -2.81855)'), GeomFromEWKT('SRID=4674;POINT (-40.123853 -2.818568)'))) / (select extract(epoch from '2026-07-08 19:05:43'::timestamp) - extract(epoch from '2026-07-08 19:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12372 -2.81855)'), GeomFromEWKT('SRID=4674;POINT (-40.123853 -2.818568)'))) / (select extract(epoch from '2026-07-08 19:05:43'::timestamp) - extract(epoch from '2026-07-08 19:05:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123987 -2.818585)', '2026-07-08 19:05:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123853 -2.818568)'), GeomFromEWKT('SRID=4674;POINT (-40.123987 -2.818585)'))) / (select extract(epoch from '2026-07-08 19:05:51'::timestamp) - extract(epoch from '2026-07-08 19:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123853 -2.818568)'), GeomFromEWKT('SRID=4674;POINT (-40.123987 -2.818585)'))) / (select extract(epoch from '2026-07-08 19:05:51'::timestamp) - extract(epoch from '2026-07-08 19:05: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'), 47631, 'SRID=4674;POINT (-40.124134 -2.818626)', '2026-07-08 19:06:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123987 -2.818585)'), GeomFromEWKT('SRID=4674;POINT (-40.124134 -2.818626)'))) / (select extract(epoch from '2026-07-08 19:06:00'::timestamp) - extract(epoch from '2026-07-08 19:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123987 -2.818585)'), GeomFromEWKT('SRID=4674;POINT (-40.124134 -2.818626)'))) / (select extract(epoch from '2026-07-08 19:06:00'::timestamp) - extract(epoch from '2026-07-08 19:05: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'), 47631, 'SRID=4674;POINT (-40.124299 -2.818656)', '2026-07-08 19:06:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124134 -2.818626)'), GeomFromEWKT('SRID=4674;POINT (-40.124299 -2.818656)'))) / (select extract(epoch from '2026-07-08 19:06:10'::timestamp) - extract(epoch from '2026-07-08 19:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124134 -2.818626)'), GeomFromEWKT('SRID=4674;POINT (-40.124299 -2.818656)'))) / (select extract(epoch from '2026-07-08 19:06:10'::timestamp) - extract(epoch from '2026-07-08 19:06: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'), 47631, 'SRID=4674;POINT (-40.12441 -2.818662)', '2026-07-08 19:06:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124299 -2.818656)'), GeomFromEWKT('SRID=4674;POINT (-40.12441 -2.818662)'))) / (select extract(epoch from '2026-07-08 19:06:17'::timestamp) - extract(epoch from '2026-07-08 19:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124299 -2.818656)'), GeomFromEWKT('SRID=4674;POINT (-40.12441 -2.818662)'))) / (select extract(epoch from '2026-07-08 19:06:17'::timestamp) - extract(epoch from '2026-07-08 19:06:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124525 -2.818681)', '2026-07-08 19:06:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12441 -2.818662)'), GeomFromEWKT('SRID=4674;POINT (-40.124525 -2.818681)'))) / (select extract(epoch from '2026-07-08 19:06:24'::timestamp) - extract(epoch from '2026-07-08 19:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12441 -2.818662)'), GeomFromEWKT('SRID=4674;POINT (-40.124525 -2.818681)'))) / (select extract(epoch from '2026-07-08 19:06:24'::timestamp) - extract(epoch from '2026-07-08 19:06:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124658 -2.818716)', '2026-07-08 19:06:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124525 -2.818681)'), GeomFromEWKT('SRID=4674;POINT (-40.124658 -2.818716)'))) / (select extract(epoch from '2026-07-08 19:06:32'::timestamp) - extract(epoch from '2026-07-08 19:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124525 -2.818681)'), GeomFromEWKT('SRID=4674;POINT (-40.124658 -2.818716)'))) / (select extract(epoch from '2026-07-08 19:06:32'::timestamp) - extract(epoch from '2026-07-08 19:06: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'), 47631, 'SRID=4674;POINT (-40.124836 -2.818738)', '2026-07-08 19:06:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124658 -2.818716)'), GeomFromEWKT('SRID=4674;POINT (-40.124836 -2.818738)'))) / (select extract(epoch from '2026-07-08 19:06:43'::timestamp) - extract(epoch from '2026-07-08 19:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124658 -2.818716)'), GeomFromEWKT('SRID=4674;POINT (-40.124836 -2.818738)'))) / (select extract(epoch from '2026-07-08 19:06:43'::timestamp) - extract(epoch from '2026-07-08 19:06: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'), 47631, 'SRID=4674;POINT (-40.124971 -2.818781)', '2026-07-08 19:06:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124836 -2.818738)'), GeomFromEWKT('SRID=4674;POINT (-40.124971 -2.818781)'))) / (select extract(epoch from '2026-07-08 19:06:51'::timestamp) - extract(epoch from '2026-07-08 19:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124836 -2.818738)'), GeomFromEWKT('SRID=4674;POINT (-40.124971 -2.818781)'))) / (select extract(epoch from '2026-07-08 19:06:51'::timestamp) - extract(epoch from '2026-07-08 19:06:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125171 -2.818837)', '2026-07-08 19:07:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124971 -2.818781)'), GeomFromEWKT('SRID=4674;POINT (-40.125171 -2.818837)'))) / (select extract(epoch from '2026-07-08 19:07:03'::timestamp) - extract(epoch from '2026-07-08 19:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124971 -2.818781)'), GeomFromEWKT('SRID=4674;POINT (-40.125171 -2.818837)'))) / (select extract(epoch from '2026-07-08 19:07:03'::timestamp) - extract(epoch from '2026-07-08 19:06: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'), 47631, 'SRID=4674;POINT (-40.125364 -2.818885)', '2026-07-08 19:07:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125171 -2.818837)'), GeomFromEWKT('SRID=4674;POINT (-40.125364 -2.818885)'))) / (select extract(epoch from '2026-07-08 19:07:15'::timestamp) - extract(epoch from '2026-07-08 19:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125171 -2.818837)'), GeomFromEWKT('SRID=4674;POINT (-40.125364 -2.818885)'))) / (select extract(epoch from '2026-07-08 19:07:15'::timestamp) - extract(epoch from '2026-07-08 19:07:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125473 -2.81893)', '2026-07-08 19:07:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125364 -2.818885)'), GeomFromEWKT('SRID=4674;POINT (-40.125473 -2.81893)'))) / (select extract(epoch from '2026-07-08 19:07:22'::timestamp) - extract(epoch from '2026-07-08 19:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125364 -2.818885)'), GeomFromEWKT('SRID=4674;POINT (-40.125473 -2.81893)'))) / (select extract(epoch from '2026-07-08 19:07:22'::timestamp) - extract(epoch from '2026-07-08 19:07: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'), 47631, 'SRID=4674;POINT (-40.125585 -2.818967)', '2026-07-08 19:07:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125473 -2.81893)'), GeomFromEWKT('SRID=4674;POINT (-40.125585 -2.818967)'))) / (select extract(epoch from '2026-07-08 19:07:29'::timestamp) - extract(epoch from '2026-07-08 19:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125473 -2.81893)'), GeomFromEWKT('SRID=4674;POINT (-40.125585 -2.818967)'))) / (select extract(epoch from '2026-07-08 19:07:29'::timestamp) - extract(epoch from '2026-07-08 19:07:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125709 -2.819007)', '2026-07-08 19:07:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125585 -2.818967)'), GeomFromEWKT('SRID=4674;POINT (-40.125709 -2.819007)'))) / (select extract(epoch from '2026-07-08 19:07:37'::timestamp) - extract(epoch from '2026-07-08 19:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125585 -2.818967)'), GeomFromEWKT('SRID=4674;POINT (-40.125709 -2.819007)'))) / (select extract(epoch from '2026-07-08 19:07:37'::timestamp) - extract(epoch from '2026-07-08 19:07: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'), 47631, 'SRID=4674;POINT (-40.125842 -2.81903)', '2026-07-08 19:07:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125709 -2.819007)'), GeomFromEWKT('SRID=4674;POINT (-40.125842 -2.81903)'))) / (select extract(epoch from '2026-07-08 19:07:46'::timestamp) - extract(epoch from '2026-07-08 19:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125709 -2.819007)'), GeomFromEWKT('SRID=4674;POINT (-40.125842 -2.81903)'))) / (select extract(epoch from '2026-07-08 19:07:46'::timestamp) - extract(epoch from '2026-07-08 19:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.12598 -2.819054)', '2026-07-08 19:07:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125842 -2.81903)'), GeomFromEWKT('SRID=4674;POINT (-40.12598 -2.819054)'))) / (select extract(epoch from '2026-07-08 19:07:55'::timestamp) - extract(epoch from '2026-07-08 19:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125842 -2.81903)'), GeomFromEWKT('SRID=4674;POINT (-40.12598 -2.819054)'))) / (select extract(epoch from '2026-07-08 19:07:55'::timestamp) - extract(epoch from '2026-07-08 19:07: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'), 47631, 'SRID=4674;POINT (-40.126089 -2.819081)', '2026-07-08 19:08:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12598 -2.819054)'), GeomFromEWKT('SRID=4674;POINT (-40.126089 -2.819081)'))) / (select extract(epoch from '2026-07-08 19:08:02'::timestamp) - extract(epoch from '2026-07-08 19:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12598 -2.819054)'), GeomFromEWKT('SRID=4674;POINT (-40.126089 -2.819081)'))) / (select extract(epoch from '2026-07-08 19:08:02'::timestamp) - extract(epoch from '2026-07-08 19:07: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'), 47631, 'SRID=4674;POINT (-40.126216 -2.819114)', '2026-07-08 19:08:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126089 -2.819081)'), GeomFromEWKT('SRID=4674;POINT (-40.126216 -2.819114)'))) / (select extract(epoch from '2026-07-08 19:08:10'::timestamp) - extract(epoch from '2026-07-08 19:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126089 -2.819081)'), GeomFromEWKT('SRID=4674;POINT (-40.126216 -2.819114)'))) / (select extract(epoch from '2026-07-08 19:08:10'::timestamp) - extract(epoch from '2026-07-08 19:08: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'), 47631, 'SRID=4674;POINT (-40.126342 -2.819176)', '2026-07-08 19:08:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126216 -2.819114)'), GeomFromEWKT('SRID=4674;POINT (-40.126342 -2.819176)'))) / (select extract(epoch from '2026-07-08 19:08:19'::timestamp) - extract(epoch from '2026-07-08 19:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126216 -2.819114)'), GeomFromEWKT('SRID=4674;POINT (-40.126342 -2.819176)'))) / (select extract(epoch from '2026-07-08 19:08:19'::timestamp) - extract(epoch from '2026-07-08 19:08:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.126491 -2.819227)', '2026-07-08 19:08:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126342 -2.819176)'), GeomFromEWKT('SRID=4674;POINT (-40.126491 -2.819227)'))) / (select extract(epoch from '2026-07-08 19:08:28'::timestamp) - extract(epoch from '2026-07-08 19:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126342 -2.819176)'), GeomFromEWKT('SRID=4674;POINT (-40.126491 -2.819227)'))) / (select extract(epoch from '2026-07-08 19:08:28'::timestamp) - extract(epoch from '2026-07-08 19:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.126657 -2.819257)', '2026-07-08 19:08:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126491 -2.819227)'), GeomFromEWKT('SRID=4674;POINT (-40.126657 -2.819257)'))) / (select extract(epoch from '2026-07-08 19:08:38'::timestamp) - extract(epoch from '2026-07-08 19:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126491 -2.819227)'), GeomFromEWKT('SRID=4674;POINT (-40.126657 -2.819257)'))) / (select extract(epoch from '2026-07-08 19:08:38'::timestamp) - extract(epoch from '2026-07-08 19:08: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'), 47631, 'SRID=4674;POINT (-40.126784 -2.819272)', '2026-07-08 19:08:46', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126657 -2.819257)'), GeomFromEWKT('SRID=4674;POINT (-40.126784 -2.819272)'))) / (select extract(epoch from '2026-07-08 19:08:46'::timestamp) - extract(epoch from '2026-07-08 19:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126657 -2.819257)'), GeomFromEWKT('SRID=4674;POINT (-40.126784 -2.819272)'))) / (select extract(epoch from '2026-07-08 19:08:46'::timestamp) - extract(epoch from '2026-07-08 19: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'), 47631, 'SRID=4674;POINT (-40.126911 -2.81929)', '2026-07-08 19:08:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126784 -2.819272)'), GeomFromEWKT('SRID=4674;POINT (-40.126911 -2.81929)'))) / (select extract(epoch from '2026-07-08 19:08:54'::timestamp) - extract(epoch from '2026-07-08 19:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126784 -2.819272)'), GeomFromEWKT('SRID=4674;POINT (-40.126911 -2.81929)'))) / (select extract(epoch from '2026-07-08 19:08:54'::timestamp) - extract(epoch from '2026-07-08 19:08:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.127035 -2.819311)', '2026-07-08 19:09:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126911 -2.81929)'), GeomFromEWKT('SRID=4674;POINT (-40.127035 -2.819311)'))) / (select extract(epoch from '2026-07-08 19:09:02'::timestamp) - extract(epoch from '2026-07-08 19:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126911 -2.81929)'), GeomFromEWKT('SRID=4674;POINT (-40.127035 -2.819311)'))) / (select extract(epoch from '2026-07-08 19:09:02'::timestamp) - extract(epoch from '2026-07-08 19:08:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.127181 -2.819341)', '2026-07-08 19:09:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127035 -2.819311)'), GeomFromEWKT('SRID=4674;POINT (-40.127181 -2.819341)'))) / (select extract(epoch from '2026-07-08 19:09:12'::timestamp) - extract(epoch from '2026-07-08 19:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127035 -2.819311)'), GeomFromEWKT('SRID=4674;POINT (-40.127181 -2.819341)'))) / (select extract(epoch from '2026-07-08 19:09:12'::timestamp) - extract(epoch from '2026-07-08 19:09:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.127287 -2.819346)', '2026-07-08 19:09:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127181 -2.819341)'), GeomFromEWKT('SRID=4674;POINT (-40.127287 -2.819346)'))) / (select extract(epoch from '2026-07-08 19:09:19'::timestamp) - extract(epoch from '2026-07-08 19:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127181 -2.819341)'), GeomFromEWKT('SRID=4674;POINT (-40.127287 -2.819346)'))) / (select extract(epoch from '2026-07-08 19:09:19'::timestamp) - extract(epoch from '2026-07-08 19:09: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'), 47631, 'SRID=4674;POINT (-40.127411 -2.819339)', '2026-07-08 19:09:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127287 -2.819346)'), GeomFromEWKT('SRID=4674;POINT (-40.127411 -2.819339)'))) / (select extract(epoch from '2026-07-08 19:09:27'::timestamp) - extract(epoch from '2026-07-08 19:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127287 -2.819346)'), GeomFromEWKT('SRID=4674;POINT (-40.127411 -2.819339)'))) / (select extract(epoch from '2026-07-08 19:09:27'::timestamp) - extract(epoch from '2026-07-08 19:09: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'), 47631, 'SRID=4674;POINT (-40.127559 -2.819344)', '2026-07-08 19:09:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127411 -2.819339)'), GeomFromEWKT('SRID=4674;POINT (-40.127559 -2.819344)'))) / (select extract(epoch from '2026-07-08 19:09:36'::timestamp) - extract(epoch from '2026-07-08 19:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127411 -2.819339)'), GeomFromEWKT('SRID=4674;POINT (-40.127559 -2.819344)'))) / (select extract(epoch from '2026-07-08 19:09:36'::timestamp) - extract(epoch from '2026-07-08 19:09:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.127731 -2.819354)', '2026-07-08 19:09:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127559 -2.819344)'), GeomFromEWKT('SRID=4674;POINT (-40.127731 -2.819354)'))) / (select extract(epoch from '2026-07-08 19:09:47'::timestamp) - extract(epoch from '2026-07-08 19:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127559 -2.819344)'), GeomFromEWKT('SRID=4674;POINT (-40.127731 -2.819354)'))) / (select extract(epoch from '2026-07-08 19:09:47'::timestamp) - extract(epoch from '2026-07-08 19:09: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'), 47631, 'SRID=4674;POINT (-40.127848 -2.819388)', '2026-07-08 19:09:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127731 -2.819354)'), GeomFromEWKT('SRID=4674;POINT (-40.127848 -2.819388)'))) / (select extract(epoch from '2026-07-08 19:09:55'::timestamp) - extract(epoch from '2026-07-08 19:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127731 -2.819354)'), GeomFromEWKT('SRID=4674;POINT (-40.127848 -2.819388)'))) / (select extract(epoch from '2026-07-08 19:09:55'::timestamp) - extract(epoch from '2026-07-08 19:09:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.127969 -2.81939)', '2026-07-08 19:10:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127848 -2.819388)'), GeomFromEWKT('SRID=4674;POINT (-40.127969 -2.81939)'))) / (select extract(epoch from '2026-07-08 19:10:03'::timestamp) - extract(epoch from '2026-07-08 19:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127848 -2.819388)'), GeomFromEWKT('SRID=4674;POINT (-40.127969 -2.81939)'))) / (select extract(epoch from '2026-07-08 19:10:03'::timestamp) - extract(epoch from '2026-07-08 19:09:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.128087 -2.819393)', '2026-07-08 19:10:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127969 -2.81939)'), GeomFromEWKT('SRID=4674;POINT (-40.128087 -2.819393)'))) / (select extract(epoch from '2026-07-08 19:10:11'::timestamp) - extract(epoch from '2026-07-08 19:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127969 -2.81939)'), GeomFromEWKT('SRID=4674;POINT (-40.128087 -2.819393)'))) / (select extract(epoch from '2026-07-08 19:10:11'::timestamp) - extract(epoch from '2026-07-08 19: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'), 47631, 'SRID=4674;POINT (-40.128209 -2.819431)', '2026-07-08 19:10:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128087 -2.819393)'), GeomFromEWKT('SRID=4674;POINT (-40.128209 -2.819431)'))) / (select extract(epoch from '2026-07-08 19:10:19'::timestamp) - extract(epoch from '2026-07-08 19:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128087 -2.819393)'), GeomFromEWKT('SRID=4674;POINT (-40.128209 -2.819431)'))) / (select extract(epoch from '2026-07-08 19:10:19'::timestamp) - extract(epoch from '2026-07-08 19:10: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'), 47631, 'SRID=4674;POINT (-40.128368 -2.819451)', '2026-07-08 19:10:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128209 -2.819431)'), GeomFromEWKT('SRID=4674;POINT (-40.128368 -2.819451)'))) / (select extract(epoch from '2026-07-08 19:10:29'::timestamp) - extract(epoch from '2026-07-08 19:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128209 -2.819431)'), GeomFromEWKT('SRID=4674;POINT (-40.128368 -2.819451)'))) / (select extract(epoch from '2026-07-08 19:10:29'::timestamp) - extract(epoch from '2026-07-08 19:10:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.12852 -2.819479)', '2026-07-08 19:10:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128368 -2.819451)'), GeomFromEWKT('SRID=4674;POINT (-40.12852 -2.819479)'))) / (select extract(epoch from '2026-07-08 19:10:38'::timestamp) - extract(epoch from '2026-07-08 19:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128368 -2.819451)'), GeomFromEWKT('SRID=4674;POINT (-40.12852 -2.819479)'))) / (select extract(epoch from '2026-07-08 19:10:38'::timestamp) - extract(epoch from '2026-07-08 19:10: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'), 47631, 'SRID=4674;POINT (-40.128633 -2.8195)', '2026-07-08 19:10:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12852 -2.819479)'), GeomFromEWKT('SRID=4674;POINT (-40.128633 -2.8195)'))) / (select extract(epoch from '2026-07-08 19:10:45'::timestamp) - extract(epoch from '2026-07-08 19:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12852 -2.819479)'), GeomFromEWKT('SRID=4674;POINT (-40.128633 -2.8195)'))) / (select extract(epoch from '2026-07-08 19:10:45'::timestamp) - extract(epoch from '2026-07-08 19:10: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'), 47631, 'SRID=4674;POINT (-40.128765 -2.819524)', '2026-07-08 19:10:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128633 -2.8195)'), GeomFromEWKT('SRID=4674;POINT (-40.128765 -2.819524)'))) / (select extract(epoch from '2026-07-08 19:10:53'::timestamp) - extract(epoch from '2026-07-08 19:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128633 -2.8195)'), GeomFromEWKT('SRID=4674;POINT (-40.128765 -2.819524)'))) / (select extract(epoch from '2026-07-08 19:10:53'::timestamp) - extract(epoch from '2026-07-08 19:10: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'), 47631, 'SRID=4674;POINT (-40.128867 -2.81954)', '2026-07-08 19:10:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128765 -2.819524)'), GeomFromEWKT('SRID=4674;POINT (-40.128867 -2.81954)'))) / (select extract(epoch from '2026-07-08 19:10:59'::timestamp) - extract(epoch from '2026-07-08 19:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128765 -2.819524)'), GeomFromEWKT('SRID=4674;POINT (-40.128867 -2.81954)'))) / (select extract(epoch from '2026-07-08 19:10:59'::timestamp) - extract(epoch from '2026-07-08 19: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'), 47631, 'SRID=4674;POINT (-40.128996 -2.819568)', '2026-07-08 19:11:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128867 -2.81954)'), GeomFromEWKT('SRID=4674;POINT (-40.128996 -2.819568)'))) / (select extract(epoch from '2026-07-08 19:11:07'::timestamp) - extract(epoch from '2026-07-08 19:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128867 -2.81954)'), GeomFromEWKT('SRID=4674;POINT (-40.128996 -2.819568)'))) / (select extract(epoch from '2026-07-08 19:11:07'::timestamp) - extract(epoch from '2026-07-08 19:10:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.12911 -2.819595)', '2026-07-08 19:11:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128996 -2.819568)'), GeomFromEWKT('SRID=4674;POINT (-40.12911 -2.819595)'))) / (select extract(epoch from '2026-07-08 19:11:14'::timestamp) - extract(epoch from '2026-07-08 19:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128996 -2.819568)'), GeomFromEWKT('SRID=4674;POINT (-40.12911 -2.819595)'))) / (select extract(epoch from '2026-07-08 19:11:14'::timestamp) - extract(epoch from '2026-07-08 19:11: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'), 47631, 'SRID=4674;POINT (-40.129253 -2.819642)', '2026-07-08 19:11:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12911 -2.819595)'), GeomFromEWKT('SRID=4674;POINT (-40.129253 -2.819642)'))) / (select extract(epoch from '2026-07-08 19:11:23'::timestamp) - extract(epoch from '2026-07-08 19:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12911 -2.819595)'), GeomFromEWKT('SRID=4674;POINT (-40.129253 -2.819642)'))) / (select extract(epoch from '2026-07-08 19:11:23'::timestamp) - extract(epoch from '2026-07-08 19:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129389 -2.819707)', '2026-07-08 19:11:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129253 -2.819642)'), GeomFromEWKT('SRID=4674;POINT (-40.129389 -2.819707)'))) / (select extract(epoch from '2026-07-08 19:11:32'::timestamp) - extract(epoch from '2026-07-08 19:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129253 -2.819642)'), GeomFromEWKT('SRID=4674;POINT (-40.129389 -2.819707)'))) / (select extract(epoch from '2026-07-08 19:11:32'::timestamp) - extract(epoch from '2026-07-08 19:11:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129498 -2.819773)', '2026-07-08 19:11:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129389 -2.819707)'), GeomFromEWKT('SRID=4674;POINT (-40.129498 -2.819773)'))) / (select extract(epoch from '2026-07-08 19:11:40'::timestamp) - extract(epoch from '2026-07-08 19:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129389 -2.819707)'), GeomFromEWKT('SRID=4674;POINT (-40.129498 -2.819773)'))) / (select extract(epoch from '2026-07-08 19:11:40'::timestamp) - extract(epoch from '2026-07-08 19:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129612 -2.819839)', '2026-07-08 19:11:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129498 -2.819773)'), GeomFromEWKT('SRID=4674;POINT (-40.129612 -2.819839)'))) / (select extract(epoch from '2026-07-08 19:11:48'::timestamp) - extract(epoch from '2026-07-08 19:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129498 -2.819773)'), GeomFromEWKT('SRID=4674;POINT (-40.129612 -2.819839)'))) / (select extract(epoch from '2026-07-08 19:11:48'::timestamp) - extract(epoch from '2026-07-08 19:11: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'), 47631, 'SRID=4674;POINT (-40.129728 -2.819892)', '2026-07-08 19:11:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129612 -2.819839)'), GeomFromEWKT('SRID=4674;POINT (-40.129728 -2.819892)'))) / (select extract(epoch from '2026-07-08 19:11:56'::timestamp) - extract(epoch from '2026-07-08 19:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129612 -2.819839)'), GeomFromEWKT('SRID=4674;POINT (-40.129728 -2.819892)'))) / (select extract(epoch from '2026-07-08 19:11:56'::timestamp) - extract(epoch from '2026-07-08 19:11:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129854 -2.819949)', '2026-07-08 19:12:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129728 -2.819892)'), GeomFromEWKT('SRID=4674;POINT (-40.129854 -2.819949)'))) / (select extract(epoch from '2026-07-08 19:12:04'::timestamp) - extract(epoch from '2026-07-08 19:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129728 -2.819892)'), GeomFromEWKT('SRID=4674;POINT (-40.129854 -2.819949)'))) / (select extract(epoch from '2026-07-08 19:12:04'::timestamp) - extract(epoch from '2026-07-08 19:11: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'), 47631, 'SRID=4674;POINT (-40.129968 -2.820019)', '2026-07-08 19:12:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129854 -2.819949)'), GeomFromEWKT('SRID=4674;POINT (-40.129968 -2.820019)'))) / (select extract(epoch from '2026-07-08 19:12:12'::timestamp) - extract(epoch from '2026-07-08 19:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129854 -2.819949)'), GeomFromEWKT('SRID=4674;POINT (-40.129968 -2.820019)'))) / (select extract(epoch from '2026-07-08 19:12:12'::timestamp) - extract(epoch from '2026-07-08 19:12: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'), 47631, 'SRID=4674;POINT (-40.130075 -2.820063)', '2026-07-08 19:12:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129968 -2.820019)'), GeomFromEWKT('SRID=4674;POINT (-40.130075 -2.820063)'))) / (select extract(epoch from '2026-07-08 19:12:19'::timestamp) - extract(epoch from '2026-07-08 19:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129968 -2.820019)'), GeomFromEWKT('SRID=4674;POINT (-40.130075 -2.820063)'))) / (select extract(epoch from '2026-07-08 19:12:19'::timestamp) - extract(epoch from '2026-07-08 19:12:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130207 -2.820122)', '2026-07-08 19:12:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130075 -2.820063)'), GeomFromEWKT('SRID=4674;POINT (-40.130207 -2.820122)'))) / (select extract(epoch from '2026-07-08 19:12:28'::timestamp) - extract(epoch from '2026-07-08 19:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130075 -2.820063)'), GeomFromEWKT('SRID=4674;POINT (-40.130207 -2.820122)'))) / (select extract(epoch from '2026-07-08 19:12:28'::timestamp) - extract(epoch from '2026-07-08 19:12:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130341 -2.820181)', '2026-07-08 19:12:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130207 -2.820122)'), GeomFromEWKT('SRID=4674;POINT (-40.130341 -2.820181)'))) / (select extract(epoch from '2026-07-08 19:12:37'::timestamp) - extract(epoch from '2026-07-08 19:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130207 -2.820122)'), GeomFromEWKT('SRID=4674;POINT (-40.130341 -2.820181)'))) / (select extract(epoch from '2026-07-08 19:12:37'::timestamp) - extract(epoch from '2026-07-08 19:12: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'), 47631, 'SRID=4674;POINT (-40.13048 -2.820228)', '2026-07-08 19:12:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130341 -2.820181)'), GeomFromEWKT('SRID=4674;POINT (-40.13048 -2.820228)'))) / (select extract(epoch from '2026-07-08 19:12:46'::timestamp) - extract(epoch from '2026-07-08 19:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130341 -2.820181)'), GeomFromEWKT('SRID=4674;POINT (-40.13048 -2.820228)'))) / (select extract(epoch from '2026-07-08 19:12:46'::timestamp) - extract(epoch from '2026-07-08 19:12: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'), 47631, 'SRID=4674;POINT (-40.130586 -2.820262)', '2026-07-08 19:12:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13048 -2.820228)'), GeomFromEWKT('SRID=4674;POINT (-40.130586 -2.820262)'))) / (select extract(epoch from '2026-07-08 19:12:53'::timestamp) - extract(epoch from '2026-07-08 19:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13048 -2.820228)'), GeomFromEWKT('SRID=4674;POINT (-40.130586 -2.820262)'))) / (select extract(epoch from '2026-07-08 19:12:53'::timestamp) - extract(epoch from '2026-07-08 19:12: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'), 47631, 'SRID=4674;POINT (-40.130716 -2.820285)', '2026-07-08 19:13:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130586 -2.820262)'), GeomFromEWKT('SRID=4674;POINT (-40.130716 -2.820285)'))) / (select extract(epoch from '2026-07-08 19:13:01'::timestamp) - extract(epoch from '2026-07-08 19:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130586 -2.820262)'), GeomFromEWKT('SRID=4674;POINT (-40.130716 -2.820285)'))) / (select extract(epoch from '2026-07-08 19:13:01'::timestamp) - extract(epoch from '2026-07-08 19:12: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'), 47631, 'SRID=4674;POINT (-40.130829 -2.820321)', '2026-07-08 19:13:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130716 -2.820285)'), GeomFromEWKT('SRID=4674;POINT (-40.130829 -2.820321)'))) / (select extract(epoch from '2026-07-08 19:13:09'::timestamp) - extract(epoch from '2026-07-08 19:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130716 -2.820285)'), GeomFromEWKT('SRID=4674;POINT (-40.130829 -2.820321)'))) / (select extract(epoch from '2026-07-08 19:13:09'::timestamp) - extract(epoch from '2026-07-08 19:13: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'), 47631, 'SRID=4674;POINT (-40.130944 -2.820362)', '2026-07-08 19:13:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130829 -2.820321)'), GeomFromEWKT('SRID=4674;POINT (-40.130944 -2.820362)'))) / (select extract(epoch from '2026-07-08 19:13:17'::timestamp) - extract(epoch from '2026-07-08 19:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130829 -2.820321)'), GeomFromEWKT('SRID=4674;POINT (-40.130944 -2.820362)'))) / (select extract(epoch from '2026-07-08 19:13:17'::timestamp) - extract(epoch from '2026-07-08 19:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131069 -2.820401)', '2026-07-08 19:13:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130944 -2.820362)'), GeomFromEWKT('SRID=4674;POINT (-40.131069 -2.820401)'))) / (select extract(epoch from '2026-07-08 19:13:26'::timestamp) - extract(epoch from '2026-07-08 19:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130944 -2.820362)'), GeomFromEWKT('SRID=4674;POINT (-40.131069 -2.820401)'))) / (select extract(epoch from '2026-07-08 19:13:26'::timestamp) - extract(epoch from '2026-07-08 19:13:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131177 -2.820445)', '2026-07-08 19:13:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131069 -2.820401)'), GeomFromEWKT('SRID=4674;POINT (-40.131177 -2.820445)'))) / (select extract(epoch from '2026-07-08 19:13:34'::timestamp) - extract(epoch from '2026-07-08 19:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131069 -2.820401)'), GeomFromEWKT('SRID=4674;POINT (-40.131177 -2.820445)'))) / (select extract(epoch from '2026-07-08 19:13:34'::timestamp) - extract(epoch from '2026-07-08 19:13:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131321 -2.820508)', '2026-07-08 19:13:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131177 -2.820445)'), GeomFromEWKT('SRID=4674;POINT (-40.131321 -2.820508)'))) / (select extract(epoch from '2026-07-08 19:13:44'::timestamp) - extract(epoch from '2026-07-08 19:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131177 -2.820445)'), GeomFromEWKT('SRID=4674;POINT (-40.131321 -2.820508)'))) / (select extract(epoch from '2026-07-08 19:13:44'::timestamp) - extract(epoch from '2026-07-08 19:13: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'), 47631, 'SRID=4674;POINT (-40.131446 -2.820567)', '2026-07-08 19:13:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131321 -2.820508)'), GeomFromEWKT('SRID=4674;POINT (-40.131446 -2.820567)'))) / (select extract(epoch from '2026-07-08 19:13:53'::timestamp) - extract(epoch from '2026-07-08 19:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131321 -2.820508)'), GeomFromEWKT('SRID=4674;POINT (-40.131446 -2.820567)'))) / (select extract(epoch from '2026-07-08 19:13:53'::timestamp) - extract(epoch from '2026-07-08 19:13:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131544 -2.820605)', '2026-07-08 19:14:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131446 -2.820567)'), GeomFromEWKT('SRID=4674;POINT (-40.131544 -2.820605)'))) / (select extract(epoch from '2026-07-08 19:14:01'::timestamp) - extract(epoch from '2026-07-08 19:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131446 -2.820567)'), GeomFromEWKT('SRID=4674;POINT (-40.131544 -2.820605)'))) / (select extract(epoch from '2026-07-08 19:14:01'::timestamp) - extract(epoch from '2026-07-08 19:13: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'), 47631, 'SRID=4674;POINT (-40.131654 -2.82065)', '2026-07-08 19:14:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131544 -2.820605)'), GeomFromEWKT('SRID=4674;POINT (-40.131654 -2.82065)'))) / (select extract(epoch from '2026-07-08 19:14:10'::timestamp) - extract(epoch from '2026-07-08 19:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131544 -2.820605)'), GeomFromEWKT('SRID=4674;POINT (-40.131654 -2.82065)'))) / (select extract(epoch from '2026-07-08 19:14:10'::timestamp) - extract(epoch from '2026-07-08 19:14:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131759 -2.820682)', '2026-07-08 19:14:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131654 -2.82065)'), GeomFromEWKT('SRID=4674;POINT (-40.131759 -2.820682)'))) / (select extract(epoch from '2026-07-08 19:14:19'::timestamp) - extract(epoch from '2026-07-08 19:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131654 -2.82065)'), GeomFromEWKT('SRID=4674;POINT (-40.131759 -2.820682)'))) / (select extract(epoch from '2026-07-08 19:14:19'::timestamp) - extract(epoch from '2026-07-08 19:14:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131862 -2.820687)', '2026-07-08 19:14:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131759 -2.820682)'), GeomFromEWKT('SRID=4674;POINT (-40.131862 -2.820687)'))) / (select extract(epoch from '2026-07-08 19:14:28'::timestamp) - extract(epoch from '2026-07-08 19:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131759 -2.820682)'), GeomFromEWKT('SRID=4674;POINT (-40.131862 -2.820687)'))) / (select extract(epoch from '2026-07-08 19:14:28'::timestamp) - extract(epoch from '2026-07-08 19:14: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'), 47631, 'SRID=4674;POINT (-40.131966 -2.82068)', '2026-07-08 19:14:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131862 -2.820687)'), GeomFromEWKT('SRID=4674;POINT (-40.131966 -2.82068)'))) / (select extract(epoch from '2026-07-08 19:14:37'::timestamp) - extract(epoch from '2026-07-08 19:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131862 -2.820687)'), GeomFromEWKT('SRID=4674;POINT (-40.131966 -2.82068)'))) / (select extract(epoch from '2026-07-08 19:14:37'::timestamp) - extract(epoch from '2026-07-08 19:14: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'), 47631, 'SRID=4674;POINT (-40.132064 -2.820692)', '2026-07-08 19:14:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131966 -2.82068)'), GeomFromEWKT('SRID=4674;POINT (-40.132064 -2.820692)'))) / (select extract(epoch from '2026-07-08 19:14:45'::timestamp) - extract(epoch from '2026-07-08 19:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131966 -2.82068)'), GeomFromEWKT('SRID=4674;POINT (-40.132064 -2.820692)'))) / (select extract(epoch from '2026-07-08 19:14:45'::timestamp) - extract(epoch from '2026-07-08 19:14: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'), 47631, 'SRID=4674;POINT (-40.132181 -2.820697)', '2026-07-08 19:14:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132064 -2.820692)'), GeomFromEWKT('SRID=4674;POINT (-40.132181 -2.820697)'))) / (select extract(epoch from '2026-07-08 19:14:54'::timestamp) - extract(epoch from '2026-07-08 19:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132064 -2.820692)'), GeomFromEWKT('SRID=4674;POINT (-40.132181 -2.820697)'))) / (select extract(epoch from '2026-07-08 19:14:54'::timestamp) - extract(epoch from '2026-07-08 19:14: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'), 47631, 'SRID=4674;POINT (-40.132265 -2.8207)', '2026-07-08 19:15:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132181 -2.820697)'), GeomFromEWKT('SRID=4674;POINT (-40.132265 -2.8207)'))) / (select extract(epoch from '2026-07-08 19:15:01'::timestamp) - extract(epoch from '2026-07-08 19:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132181 -2.820697)'), GeomFromEWKT('SRID=4674;POINT (-40.132265 -2.8207)'))) / (select extract(epoch from '2026-07-08 19:15:01'::timestamp) - extract(epoch from '2026-07-08 19:14: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'), 47631, 'SRID=4674;POINT (-40.132333 -2.820716)', '2026-07-08 19:15:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132265 -2.8207)'), GeomFromEWKT('SRID=4674;POINT (-40.132333 -2.820716)'))) / (select extract(epoch from '2026-07-08 19:15:08'::timestamp) - extract(epoch from '2026-07-08 19:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132265 -2.8207)'), GeomFromEWKT('SRID=4674;POINT (-40.132333 -2.820716)'))) / (select extract(epoch from '2026-07-08 19:15:08'::timestamp) - extract(epoch from '2026-07-08 19:15: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'), 47631, 'SRID=4674;POINT (-40.132428 -2.820746)', '2026-07-08 19:15:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132333 -2.820716)'), GeomFromEWKT('SRID=4674;POINT (-40.132428 -2.820746)'))) / (select extract(epoch from '2026-07-08 19:15:18'::timestamp) - extract(epoch from '2026-07-08 19:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132333 -2.820716)'), GeomFromEWKT('SRID=4674;POINT (-40.132428 -2.820746)'))) / (select extract(epoch from '2026-07-08 19:15:18'::timestamp) - extract(epoch from '2026-07-08 19:15:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.132522 -2.820775)', '2026-07-08 19:15:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132428 -2.820746)'), GeomFromEWKT('SRID=4674;POINT (-40.132522 -2.820775)'))) / (select extract(epoch from '2026-07-08 19:15:26'::timestamp) - extract(epoch from '2026-07-08 19:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132428 -2.820746)'), GeomFromEWKT('SRID=4674;POINT (-40.132522 -2.820775)'))) / (select extract(epoch from '2026-07-08 19:15:26'::timestamp) - extract(epoch from '2026-07-08 19:15: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'), 47631, 'SRID=4674;POINT (-40.132627 -2.820795)', '2026-07-08 19:15:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132522 -2.820775)'), GeomFromEWKT('SRID=4674;POINT (-40.132627 -2.820795)'))) / (select extract(epoch from '2026-07-08 19:15:34'::timestamp) - extract(epoch from '2026-07-08 19:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132522 -2.820775)'), GeomFromEWKT('SRID=4674;POINT (-40.132627 -2.820795)'))) / (select extract(epoch from '2026-07-08 19:15:34'::timestamp) - extract(epoch from '2026-07-08 19: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'), 47631, 'SRID=4674;POINT (-40.13272 -2.820794)', '2026-07-08 19:15:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132627 -2.820795)'), GeomFromEWKT('SRID=4674;POINT (-40.13272 -2.820794)'))) / (select extract(epoch from '2026-07-08 19:15:41'::timestamp) - extract(epoch from '2026-07-08 19:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132627 -2.820795)'), GeomFromEWKT('SRID=4674;POINT (-40.13272 -2.820794)'))) / (select extract(epoch from '2026-07-08 19:15:41'::timestamp) - extract(epoch from '2026-07-08 19:15: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'), 47631, 'SRID=4674;POINT (-40.132851 -2.820829)', '2026-07-08 19:15:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13272 -2.820794)'), GeomFromEWKT('SRID=4674;POINT (-40.132851 -2.820829)'))) / (select extract(epoch from '2026-07-08 19:15:50'::timestamp) - extract(epoch from '2026-07-08 19:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13272 -2.820794)'), GeomFromEWKT('SRID=4674;POINT (-40.132851 -2.820829)'))) / (select extract(epoch from '2026-07-08 19:15:50'::timestamp) - extract(epoch from '2026-07-08 19:15:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.133036 -2.820903)', '2026-07-08 19:16:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132851 -2.820829)'), GeomFromEWKT('SRID=4674;POINT (-40.133036 -2.820903)'))) / (select extract(epoch from '2026-07-08 19:16:02'::timestamp) - extract(epoch from '2026-07-08 19:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132851 -2.820829)'), GeomFromEWKT('SRID=4674;POINT (-40.133036 -2.820903)'))) / (select extract(epoch from '2026-07-08 19:16:02'::timestamp) - extract(epoch from '2026-07-08 19:15:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.133157 -2.820981)', '2026-07-08 19:16:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133036 -2.820903)'), GeomFromEWKT('SRID=4674;POINT (-40.133157 -2.820981)'))) / (select extract(epoch from '2026-07-08 19:16:11'::timestamp) - extract(epoch from '2026-07-08 19:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133036 -2.820903)'), GeomFromEWKT('SRID=4674;POINT (-40.133157 -2.820981)'))) / (select extract(epoch from '2026-07-08 19:16:11'::timestamp) - extract(epoch from '2026-07-08 19:16: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'), 47631, 'SRID=4674;POINT (-40.13329 -2.821058)', '2026-07-08 19:16:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133157 -2.820981)'), GeomFromEWKT('SRID=4674;POINT (-40.13329 -2.821058)'))) / (select extract(epoch from '2026-07-08 19:16:20'::timestamp) - extract(epoch from '2026-07-08 19:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133157 -2.820981)'), GeomFromEWKT('SRID=4674;POINT (-40.13329 -2.821058)'))) / (select extract(epoch from '2026-07-08 19:16:20'::timestamp) - extract(epoch from '2026-07-08 19:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.133413 -2.82114)', '2026-07-08 19:16:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13329 -2.821058)'), GeomFromEWKT('SRID=4674;POINT (-40.133413 -2.82114)'))) / (select extract(epoch from '2026-07-08 19:16:29'::timestamp) - extract(epoch from '2026-07-08 19:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13329 -2.821058)'), GeomFromEWKT('SRID=4674;POINT (-40.133413 -2.82114)'))) / (select extract(epoch from '2026-07-08 19:16:29'::timestamp) - extract(epoch from '2026-07-08 19:16:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.13356 -2.821237)', '2026-07-08 19:16:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133413 -2.82114)'), GeomFromEWKT('SRID=4674;POINT (-40.13356 -2.821237)'))) / (select extract(epoch from '2026-07-08 19:16:39'::timestamp) - extract(epoch from '2026-07-08 19:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133413 -2.82114)'), GeomFromEWKT('SRID=4674;POINT (-40.13356 -2.821237)'))) / (select extract(epoch from '2026-07-08 19:16:39'::timestamp) - extract(epoch from '2026-07-08 19:16: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'), 47631, 'SRID=4674;POINT (-40.133695 -2.82132)', '2026-07-08 19:16:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13356 -2.821237)'), GeomFromEWKT('SRID=4674;POINT (-40.133695 -2.82132)'))) / (select extract(epoch from '2026-07-08 19:16:48'::timestamp) - extract(epoch from '2026-07-08 19:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13356 -2.821237)'), GeomFromEWKT('SRID=4674;POINT (-40.133695 -2.82132)'))) / (select extract(epoch from '2026-07-08 19:16:48'::timestamp) - extract(epoch from '2026-07-08 19:16: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'), 47631, 'SRID=4674;POINT (-40.133851 -2.821407)', '2026-07-08 19:16:59', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133695 -2.82132)'), GeomFromEWKT('SRID=4674;POINT (-40.133851 -2.821407)'))) / (select extract(epoch from '2026-07-08 19:16:59'::timestamp) - extract(epoch from '2026-07-08 19:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133695 -2.82132)'), GeomFromEWKT('SRID=4674;POINT (-40.133851 -2.821407)'))) / (select extract(epoch from '2026-07-08 19:16:59'::timestamp) - extract(epoch from '2026-07-08 19:16: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'), 47631, 'SRID=4674;POINT (-40.133978 -2.821493)', '2026-07-08 19:17:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133851 -2.821407)'), GeomFromEWKT('SRID=4674;POINT (-40.133978 -2.821493)'))) / (select extract(epoch from '2026-07-08 19:17:08'::timestamp) - extract(epoch from '2026-07-08 19:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133851 -2.821407)'), GeomFromEWKT('SRID=4674;POINT (-40.133978 -2.821493)'))) / (select extract(epoch from '2026-07-08 19:17:08'::timestamp) - extract(epoch from '2026-07-08 19:16: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'), 47631, 'SRID=4674;POINT (-40.134112 -2.821585)', '2026-07-08 19:17:18', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133978 -2.821493)'), GeomFromEWKT('SRID=4674;POINT (-40.134112 -2.821585)'))) / (select extract(epoch from '2026-07-08 19:17:18'::timestamp) - extract(epoch from '2026-07-08 19:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133978 -2.821493)'), GeomFromEWKT('SRID=4674;POINT (-40.134112 -2.821585)'))) / (select extract(epoch from '2026-07-08 19:17:18'::timestamp) - extract(epoch from '2026-07-08 19:17: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'), 47631, 'SRID=4674;POINT (-40.13425 -2.821685)', '2026-07-08 19:17:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134112 -2.821585)'), GeomFromEWKT('SRID=4674;POINT (-40.13425 -2.821685)'))) / (select extract(epoch from '2026-07-08 19:17:28'::timestamp) - extract(epoch from '2026-07-08 19:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134112 -2.821585)'), GeomFromEWKT('SRID=4674;POINT (-40.13425 -2.821685)'))) / (select extract(epoch from '2026-07-08 19:17:28'::timestamp) - extract(epoch from '2026-07-08 19:17: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'), 47631, 'SRID=4674;POINT (-40.134387 -2.821783)', '2026-07-08 19:17:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13425 -2.821685)'), GeomFromEWKT('SRID=4674;POINT (-40.134387 -2.821783)'))) / (select extract(epoch from '2026-07-08 19:17:38'::timestamp) - extract(epoch from '2026-07-08 19:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13425 -2.821685)'), GeomFromEWKT('SRID=4674;POINT (-40.134387 -2.821783)'))) / (select extract(epoch from '2026-07-08 19:17:38'::timestamp) - extract(epoch from '2026-07-08 19:17: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'), 47631, 'SRID=4674;POINT (-40.134514 -2.821878)', '2026-07-08 19:17:48', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134387 -2.821783)'), GeomFromEWKT('SRID=4674;POINT (-40.134514 -2.821878)'))) / (select extract(epoch from '2026-07-08 19:17:48'::timestamp) - extract(epoch from '2026-07-08 19:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134387 -2.821783)'), GeomFromEWKT('SRID=4674;POINT (-40.134514 -2.821878)'))) / (select extract(epoch from '2026-07-08 19:17:48'::timestamp) - extract(epoch from '2026-07-08 19:17: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'), 47631, 'SRID=4674;POINT (-40.134628 -2.821974)', '2026-07-08 19:17:57', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134514 -2.821878)'), GeomFromEWKT('SRID=4674;POINT (-40.134628 -2.821974)'))) / (select extract(epoch from '2026-07-08 19:17:57'::timestamp) - extract(epoch from '2026-07-08 19:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134514 -2.821878)'), GeomFromEWKT('SRID=4674;POINT (-40.134628 -2.821974)'))) / (select extract(epoch from '2026-07-08 19:17:57'::timestamp) - extract(epoch from '2026-07-08 19:17: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'), 47631, 'SRID=4674;POINT (-40.134728 -2.822081)', '2026-07-08 19:18:06', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134628 -2.821974)'), GeomFromEWKT('SRID=4674;POINT (-40.134728 -2.822081)'))) / (select extract(epoch from '2026-07-08 19:18:06'::timestamp) - extract(epoch from '2026-07-08 19:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134628 -2.821974)'), GeomFromEWKT('SRID=4674;POINT (-40.134728 -2.822081)'))) / (select extract(epoch from '2026-07-08 19:18:06'::timestamp) - extract(epoch from '2026-07-08 19:17:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.13484 -2.82219)', '2026-07-08 19:18:16', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134728 -2.822081)'), GeomFromEWKT('SRID=4674;POINT (-40.13484 -2.82219)'))) / (select extract(epoch from '2026-07-08 19:18:16'::timestamp) - extract(epoch from '2026-07-08 19:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134728 -2.822081)'), GeomFromEWKT('SRID=4674;POINT (-40.13484 -2.82219)'))) / (select extract(epoch from '2026-07-08 19:18:16'::timestamp) - extract(epoch from '2026-07-08 19:18: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'), 47631, 'SRID=4674;POINT (-40.134967 -2.822308)', '2026-07-08 19:18:27', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13484 -2.82219)'), GeomFromEWKT('SRID=4674;POINT (-40.134967 -2.822308)'))) / (select extract(epoch from '2026-07-08 19:18:27'::timestamp) - extract(epoch from '2026-07-08 19:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13484 -2.82219)'), GeomFromEWKT('SRID=4674;POINT (-40.134967 -2.822308)'))) / (select extract(epoch from '2026-07-08 19:18:27'::timestamp) - extract(epoch from '2026-07-08 19:18: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'), 47631, 'SRID=4674;POINT (-40.135068 -2.822407)', '2026-07-08 19:18:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134967 -2.822308)'), GeomFromEWKT('SRID=4674;POINT (-40.135068 -2.822407)'))) / (select extract(epoch from '2026-07-08 19:18:35'::timestamp) - extract(epoch from '2026-07-08 19:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134967 -2.822308)'), GeomFromEWKT('SRID=4674;POINT (-40.135068 -2.822407)'))) / (select extract(epoch from '2026-07-08 19:18:35'::timestamp) - extract(epoch from '2026-07-08 19:18:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.135189 -2.822511)', '2026-07-08 19:18:45', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135068 -2.822407)'), GeomFromEWKT('SRID=4674;POINT (-40.135189 -2.822511)'))) / (select extract(epoch from '2026-07-08 19:18:45'::timestamp) - extract(epoch from '2026-07-08 19:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135068 -2.822407)'), GeomFromEWKT('SRID=4674;POINT (-40.135189 -2.822511)'))) / (select extract(epoch from '2026-07-08 19:18:45'::timestamp) - extract(epoch from '2026-07-08 19:18: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'), 47631, 'SRID=4674;POINT (-40.135324 -2.822637)', '2026-07-08 19:18:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135189 -2.822511)'), GeomFromEWKT('SRID=4674;POINT (-40.135324 -2.822637)'))) / (select extract(epoch from '2026-07-08 19:18:57'::timestamp) - extract(epoch from '2026-07-08 19:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135189 -2.822511)'), GeomFromEWKT('SRID=4674;POINT (-40.135324 -2.822637)'))) / (select extract(epoch from '2026-07-08 19:18:57'::timestamp) - extract(epoch from '2026-07-08 19:18: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'), 47631, 'SRID=4674;POINT (-40.135439 -2.822743)', '2026-07-08 19:19:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135324 -2.822637)'), GeomFromEWKT('SRID=4674;POINT (-40.135439 -2.822743)'))) / (select extract(epoch from '2026-07-08 19:19:06'::timestamp) - extract(epoch from '2026-07-08 19:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135324 -2.822637)'), GeomFromEWKT('SRID=4674;POINT (-40.135439 -2.822743)'))) / (select extract(epoch from '2026-07-08 19:19:06'::timestamp) - extract(epoch from '2026-07-08 19:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.135543 -2.822847)', '2026-07-08 19:19:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135439 -2.822743)'), GeomFromEWKT('SRID=4674;POINT (-40.135543 -2.822847)'))) / (select extract(epoch from '2026-07-08 19:19:15'::timestamp) - extract(epoch from '2026-07-08 19:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135439 -2.822743)'), GeomFromEWKT('SRID=4674;POINT (-40.135543 -2.822847)'))) / (select extract(epoch from '2026-07-08 19:19:15'::timestamp) - extract(epoch from '2026-07-08 19:19: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'), 47631, 'SRID=4674;POINT (-40.135643 -2.822962)', '2026-07-08 19:19:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135543 -2.822847)'), GeomFromEWKT('SRID=4674;POINT (-40.135643 -2.822962)'))) / (select extract(epoch from '2026-07-08 19:19:25'::timestamp) - extract(epoch from '2026-07-08 19:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135543 -2.822847)'), GeomFromEWKT('SRID=4674;POINT (-40.135643 -2.822962)'))) / (select extract(epoch from '2026-07-08 19:19:25'::timestamp) - extract(epoch from '2026-07-08 19:19:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.135743 -2.82309)', '2026-07-08 19:19:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135643 -2.822962)'), GeomFromEWKT('SRID=4674;POINT (-40.135743 -2.82309)'))) / (select extract(epoch from '2026-07-08 19:19:36'::timestamp) - extract(epoch from '2026-07-08 19:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135643 -2.822962)'), GeomFromEWKT('SRID=4674;POINT (-40.135743 -2.82309)'))) / (select extract(epoch from '2026-07-08 19:19:36'::timestamp) - extract(epoch from '2026-07-08 19:19: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'), 47631, 'SRID=4674;POINT (-40.135822 -2.823188)', '2026-07-08 19:19:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135743 -2.82309)'), GeomFromEWKT('SRID=4674;POINT (-40.135822 -2.823188)'))) / (select extract(epoch from '2026-07-08 19:19:45'::timestamp) - extract(epoch from '2026-07-08 19:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135743 -2.82309)'), GeomFromEWKT('SRID=4674;POINT (-40.135822 -2.823188)'))) / (select extract(epoch from '2026-07-08 19:19:45'::timestamp) - extract(epoch from '2026-07-08 19:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.135925 -2.823293)', '2026-07-08 19:19:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135822 -2.823188)'), GeomFromEWKT('SRID=4674;POINT (-40.135925 -2.823293)'))) / (select extract(epoch from '2026-07-08 19:19:55'::timestamp) - extract(epoch from '2026-07-08 19:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135822 -2.823188)'), GeomFromEWKT('SRID=4674;POINT (-40.135925 -2.823293)'))) / (select extract(epoch from '2026-07-08 19:19:55'::timestamp) - extract(epoch from '2026-07-08 19:19: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'), 47631, 'SRID=4674;POINT (-40.136047 -2.823379)', '2026-07-08 19:20:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135925 -2.823293)'), GeomFromEWKT('SRID=4674;POINT (-40.136047 -2.823379)'))) / (select extract(epoch from '2026-07-08 19:20:05'::timestamp) - extract(epoch from '2026-07-08 19:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135925 -2.823293)'), GeomFromEWKT('SRID=4674;POINT (-40.136047 -2.823379)'))) / (select extract(epoch from '2026-07-08 19:20:05'::timestamp) - extract(epoch from '2026-07-08 19:19: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'), 47631, 'SRID=4674;POINT (-40.136173 -2.823468)', '2026-07-08 19:20:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136047 -2.823379)'), GeomFromEWKT('SRID=4674;POINT (-40.136173 -2.823468)'))) / (select extract(epoch from '2026-07-08 19:20:16'::timestamp) - extract(epoch from '2026-07-08 19:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136047 -2.823379)'), GeomFromEWKT('SRID=4674;POINT (-40.136173 -2.823468)'))) / (select extract(epoch from '2026-07-08 19:20:16'::timestamp) - extract(epoch from '2026-07-08 19:20: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'), 47631, 'SRID=4674;POINT (-40.136304 -2.823551)', '2026-07-08 19:20:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136173 -2.823468)'), GeomFromEWKT('SRID=4674;POINT (-40.136304 -2.823551)'))) / (select extract(epoch from '2026-07-08 19:20:27'::timestamp) - extract(epoch from '2026-07-08 19:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136173 -2.823468)'), GeomFromEWKT('SRID=4674;POINT (-40.136304 -2.823551)'))) / (select extract(epoch from '2026-07-08 19:20:27'::timestamp) - extract(epoch from '2026-07-08 19:20: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'), 47631, 'SRID=4674;POINT (-40.136433 -2.823632)', '2026-07-08 19:20:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136304 -2.823551)'), GeomFromEWKT('SRID=4674;POINT (-40.136433 -2.823632)'))) / (select extract(epoch from '2026-07-08 19:20:38'::timestamp) - extract(epoch from '2026-07-08 19:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136304 -2.823551)'), GeomFromEWKT('SRID=4674;POINT (-40.136433 -2.823632)'))) / (select extract(epoch from '2026-07-08 19:20:38'::timestamp) - extract(epoch from '2026-07-08 19:20: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'), 47631, 'SRID=4674;POINT (-40.136565 -2.823702)', '2026-07-08 19:20:48', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136433 -2.823632)'), GeomFromEWKT('SRID=4674;POINT (-40.136565 -2.823702)'))) / (select extract(epoch from '2026-07-08 19:20:48'::timestamp) - extract(epoch from '2026-07-08 19:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136433 -2.823632)'), GeomFromEWKT('SRID=4674;POINT (-40.136565 -2.823702)'))) / (select extract(epoch from '2026-07-08 19:20:48'::timestamp) - extract(epoch from '2026-07-08 19:20: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'), 47631, 'SRID=4674;POINT (-40.136726 -2.823821)', '2026-07-08 19:21:01', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136565 -2.823702)'), GeomFromEWKT('SRID=4674;POINT (-40.136726 -2.823821)'))) / (select extract(epoch from '2026-07-08 19:21:01'::timestamp) - extract(epoch from '2026-07-08 19:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136565 -2.823702)'), GeomFromEWKT('SRID=4674;POINT (-40.136726 -2.823821)'))) / (select extract(epoch from '2026-07-08 19:21:01'::timestamp) - extract(epoch from '2026-07-08 19:20:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.136816 -2.823914)', '2026-07-08 19:21:10', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136726 -2.823821)'), GeomFromEWKT('SRID=4674;POINT (-40.136816 -2.823914)'))) / (select extract(epoch from '2026-07-08 19:21:10'::timestamp) - extract(epoch from '2026-07-08 19:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136726 -2.823821)'), GeomFromEWKT('SRID=4674;POINT (-40.136816 -2.823914)'))) / (select extract(epoch from '2026-07-08 19:21:10'::timestamp) - extract(epoch from '2026-07-08 19:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.136926 -2.824)', '2026-07-08 19:21:19', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136816 -2.823914)'), GeomFromEWKT('SRID=4674;POINT (-40.136926 -2.824)'))) / (select extract(epoch from '2026-07-08 19:21:19'::timestamp) - extract(epoch from '2026-07-08 19:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136816 -2.823914)'), GeomFromEWKT('SRID=4674;POINT (-40.136926 -2.824)'))) / (select extract(epoch from '2026-07-08 19:21:19'::timestamp) - extract(epoch from '2026-07-08 19:21:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.137068 -2.824106)', '2026-07-08 19:21:30', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136926 -2.824)'), GeomFromEWKT('SRID=4674;POINT (-40.137068 -2.824106)'))) / (select extract(epoch from '2026-07-08 19:21:30'::timestamp) - extract(epoch from '2026-07-08 19:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136926 -2.824)'), GeomFromEWKT('SRID=4674;POINT (-40.137068 -2.824106)'))) / (select extract(epoch from '2026-07-08 19:21:30'::timestamp) - extract(epoch from '2026-07-08 19:21: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'), 47631, 'SRID=4674;POINT (-40.137205 -2.824244)', '2026-07-08 19:21:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137068 -2.824106)'), GeomFromEWKT('SRID=4674;POINT (-40.137205 -2.824244)'))) / (select extract(epoch from '2026-07-08 19:21:42'::timestamp) - extract(epoch from '2026-07-08 19:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137068 -2.824106)'), GeomFromEWKT('SRID=4674;POINT (-40.137205 -2.824244)'))) / (select extract(epoch from '2026-07-08 19:21:42'::timestamp) - extract(epoch from '2026-07-08 19:21: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'), 47631, 'SRID=4674;POINT (-40.137295 -2.824364)', '2026-07-08 19:21:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137205 -2.824244)'), GeomFromEWKT('SRID=4674;POINT (-40.137295 -2.824364)'))) / (select extract(epoch from '2026-07-08 19:21:52'::timestamp) - extract(epoch from '2026-07-08 19:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137205 -2.824244)'), GeomFromEWKT('SRID=4674;POINT (-40.137295 -2.824364)'))) / (select extract(epoch from '2026-07-08 19:21:52'::timestamp) - extract(epoch from '2026-07-08 19:21: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'), 47631, 'SRID=4674;POINT (-40.137386 -2.824477)', '2026-07-08 19:22:01', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137295 -2.824364)'), GeomFromEWKT('SRID=4674;POINT (-40.137386 -2.824477)'))) / (select extract(epoch from '2026-07-08 19:22:01'::timestamp) - extract(epoch from '2026-07-08 19:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137295 -2.824364)'), GeomFromEWKT('SRID=4674;POINT (-40.137386 -2.824477)'))) / (select extract(epoch from '2026-07-08 19:22:01'::timestamp) - extract(epoch from '2026-07-08 19:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.13747 -2.824583)', '2026-07-08 19:22:10', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137386 -2.824477)'), GeomFromEWKT('SRID=4674;POINT (-40.13747 -2.824583)'))) / (select extract(epoch from '2026-07-08 19:22:10'::timestamp) - extract(epoch from '2026-07-08 19:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137386 -2.824477)'), GeomFromEWKT('SRID=4674;POINT (-40.13747 -2.824583)'))) / (select extract(epoch from '2026-07-08 19:22:10'::timestamp) - extract(epoch from '2026-07-08 19:22: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'), 47631, 'SRID=4674;POINT (-40.137566 -2.824697)', '2026-07-08 19:22:20', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13747 -2.824583)'), GeomFromEWKT('SRID=4674;POINT (-40.137566 -2.824697)'))) / (select extract(epoch from '2026-07-08 19:22:20'::timestamp) - extract(epoch from '2026-07-08 19:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13747 -2.824583)'), GeomFromEWKT('SRID=4674;POINT (-40.137566 -2.824697)'))) / (select extract(epoch from '2026-07-08 19:22:20'::timestamp) - extract(epoch from '2026-07-08 19:22:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.137688 -2.824848)', '2026-07-08 19:22:33', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137566 -2.824697)'), GeomFromEWKT('SRID=4674;POINT (-40.137688 -2.824848)'))) / (select extract(epoch from '2026-07-08 19:22:33'::timestamp) - extract(epoch from '2026-07-08 19:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137566 -2.824697)'), GeomFromEWKT('SRID=4674;POINT (-40.137688 -2.824848)'))) / (select extract(epoch from '2026-07-08 19:22:33'::timestamp) - extract(epoch from '2026-07-08 19:22: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'), 47631, 'SRID=4674;POINT (-40.137791 -2.82497)', '2026-07-08 19:22:44', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137688 -2.824848)'), GeomFromEWKT('SRID=4674;POINT (-40.137791 -2.82497)'))) / (select extract(epoch from '2026-07-08 19:22:44'::timestamp) - extract(epoch from '2026-07-08 19:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137688 -2.824848)'), GeomFromEWKT('SRID=4674;POINT (-40.137791 -2.82497)'))) / (select extract(epoch from '2026-07-08 19:22:44'::timestamp) - extract(epoch from '2026-07-08 19:22: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'), 47631, 'SRID=4674;POINT (-40.137871 -2.825104)', '2026-07-08 19:22:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137791 -2.82497)'), GeomFromEWKT('SRID=4674;POINT (-40.137871 -2.825104)'))) / (select extract(epoch from '2026-07-08 19:22:55'::timestamp) - extract(epoch from '2026-07-08 19:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137791 -2.82497)'), GeomFromEWKT('SRID=4674;POINT (-40.137871 -2.825104)'))) / (select extract(epoch from '2026-07-08 19:22:55'::timestamp) - extract(epoch from '2026-07-08 19:22:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.137951 -2.825277)', '2026-07-08 19:23:08', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137871 -2.825104)'), GeomFromEWKT('SRID=4674;POINT (-40.137951 -2.825277)'))) / (select extract(epoch from '2026-07-08 19:23:08'::timestamp) - extract(epoch from '2026-07-08 19:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137871 -2.825104)'), GeomFromEWKT('SRID=4674;POINT (-40.137951 -2.825277)'))) / (select extract(epoch from '2026-07-08 19:23:08'::timestamp) - extract(epoch from '2026-07-08 19:22:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.138015 -2.825411)', '2026-07-08 19:23:18', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137951 -2.825277)'), GeomFromEWKT('SRID=4674;POINT (-40.138015 -2.825411)'))) / (select extract(epoch from '2026-07-08 19:23:18'::timestamp) - extract(epoch from '2026-07-08 19:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137951 -2.825277)'), GeomFromEWKT('SRID=4674;POINT (-40.138015 -2.825411)'))) / (select extract(epoch from '2026-07-08 19:23:18'::timestamp) - extract(epoch from '2026-07-08 19:23: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'), 47631, 'SRID=4674;POINT (-40.138096 -2.825528)', '2026-07-08 19:23:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138015 -2.825411)'), GeomFromEWKT('SRID=4674;POINT (-40.138096 -2.825528)'))) / (select extract(epoch from '2026-07-08 19:23:27'::timestamp) - extract(epoch from '2026-07-08 19:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138015 -2.825411)'), GeomFromEWKT('SRID=4674;POINT (-40.138096 -2.825528)'))) / (select extract(epoch from '2026-07-08 19:23:27'::timestamp) - extract(epoch from '2026-07-08 19:23:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.138233 -2.825661)', '2026-07-08 19:23:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138096 -2.825528)'), GeomFromEWKT('SRID=4674;POINT (-40.138233 -2.825661)'))) / (select extract(epoch from '2026-07-08 19:23:39'::timestamp) - extract(epoch from '2026-07-08 19:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138096 -2.825528)'), GeomFromEWKT('SRID=4674;POINT (-40.138233 -2.825661)'))) / (select extract(epoch from '2026-07-08 19:23:39'::timestamp) - extract(epoch from '2026-07-08 19:23: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'), 47631, 'SRID=4674;POINT (-40.138366 -2.825754)', '2026-07-08 19:23:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138233 -2.825661)'), GeomFromEWKT('SRID=4674;POINT (-40.138366 -2.825754)'))) / (select extract(epoch from '2026-07-08 19:23:49'::timestamp) - extract(epoch from '2026-07-08 19:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138233 -2.825661)'), GeomFromEWKT('SRID=4674;POINT (-40.138366 -2.825754)'))) / (select extract(epoch from '2026-07-08 19:23:49'::timestamp) - extract(epoch from '2026-07-08 19:23: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'), 47631, 'SRID=4674;POINT (-40.138513 -2.825847)', '2026-07-08 19:24:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138366 -2.825754)'), GeomFromEWKT('SRID=4674;POINT (-40.138513 -2.825847)'))) / (select extract(epoch from '2026-07-08 19:24:00'::timestamp) - extract(epoch from '2026-07-08 19:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138366 -2.825754)'), GeomFromEWKT('SRID=4674;POINT (-40.138513 -2.825847)'))) / (select extract(epoch from '2026-07-08 19:24:00'::timestamp) - extract(epoch from '2026-07-08 19:23:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.138647 -2.825952)', '2026-07-08 19:24:12', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138513 -2.825847)'), GeomFromEWKT('SRID=4674;POINT (-40.138647 -2.825952)'))) / (select extract(epoch from '2026-07-08 19:24:12'::timestamp) - extract(epoch from '2026-07-08 19:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138513 -2.825847)'), GeomFromEWKT('SRID=4674;POINT (-40.138647 -2.825952)'))) / (select extract(epoch from '2026-07-08 19:24:12'::timestamp) - extract(epoch from '2026-07-08 19:24: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'), 47631, 'SRID=4674;POINT (-40.138752 -2.826031)', '2026-07-08 19:24:22', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138647 -2.825952)'), GeomFromEWKT('SRID=4674;POINT (-40.138752 -2.826031)'))) / (select extract(epoch from '2026-07-08 19:24:22'::timestamp) - extract(epoch from '2026-07-08 19:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138647 -2.825952)'), GeomFromEWKT('SRID=4674;POINT (-40.138752 -2.826031)'))) / (select extract(epoch from '2026-07-08 19:24:22'::timestamp) - extract(epoch from '2026-07-08 19:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.138851 -2.826093)', '2026-07-08 19:24:32', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138752 -2.826031)'), GeomFromEWKT('SRID=4674;POINT (-40.138851 -2.826093)'))) / (select extract(epoch from '2026-07-08 19:24:32'::timestamp) - extract(epoch from '2026-07-08 19:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138752 -2.826031)'), GeomFromEWKT('SRID=4674;POINT (-40.138851 -2.826093)'))) / (select extract(epoch from '2026-07-08 19:24:32'::timestamp) - extract(epoch from '2026-07-08 19:24:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.138947 -2.826126)', '2026-07-08 19:24:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138851 -2.826093)'), GeomFromEWKT('SRID=4674;POINT (-40.138947 -2.826126)'))) / (select extract(epoch from '2026-07-08 19:24:43'::timestamp) - extract(epoch from '2026-07-08 19:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138851 -2.826093)'), GeomFromEWKT('SRID=4674;POINT (-40.138947 -2.826126)'))) / (select extract(epoch from '2026-07-08 19:24:43'::timestamp) - extract(epoch from '2026-07-08 19:24: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'), 47631, 'SRID=4674;POINT (-40.138958 -2.826136)', '2026-07-08 19:24:54', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138947 -2.826126)'), GeomFromEWKT('SRID=4674;POINT (-40.138958 -2.826136)'))) / (select extract(epoch from '2026-07-08 19:24:54'::timestamp) - extract(epoch from '2026-07-08 19:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138947 -2.826126)'), GeomFromEWKT('SRID=4674;POINT (-40.138958 -2.826136)'))) / (select extract(epoch from '2026-07-08 19:24:54'::timestamp) - extract(epoch from '2026-07-08 19:24:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.139043 -2.826171)', '2026-07-08 19:38:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138958 -2.826136)'), GeomFromEWKT('SRID=4674;POINT (-40.139043 -2.826171)'))) / (select extract(epoch from '2026-07-08 19:38:27'::timestamp) - extract(epoch from '2026-07-08 19:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138958 -2.826136)'), GeomFromEWKT('SRID=4674;POINT (-40.139043 -2.826171)'))) / (select extract(epoch from '2026-07-08 19:38:27'::timestamp) - extract(epoch from '2026-07-08 19:24: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'), 47631, 'SRID=4674;POINT (-40.138972 -2.826222)', '2026-07-08 19:45:40', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139043 -2.826171)'), GeomFromEWKT('SRID=4674;POINT (-40.138972 -2.826222)'))) / (select extract(epoch from '2026-07-08 19:45:40'::timestamp) - extract(epoch from '2026-07-08 19:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139043 -2.826171)'), GeomFromEWKT('SRID=4674;POINT (-40.138972 -2.826222)'))) / (select extract(epoch from '2026-07-08 19:45:40'::timestamp) - extract(epoch from '2026-07-08 19:38: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'), 47631, 'SRID=4674;POINT (-40.138857 -2.826288)', '2026-07-08 19:45:58', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138972 -2.826222)'), GeomFromEWKT('SRID=4674;POINT (-40.138857 -2.826288)'))) / (select extract(epoch from '2026-07-08 19:45:58'::timestamp) - extract(epoch from '2026-07-08 19:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138972 -2.826222)'), GeomFromEWKT('SRID=4674;POINT (-40.138857 -2.826288)'))) / (select extract(epoch from '2026-07-08 19:45:58'::timestamp) - extract(epoch from '2026-07-08 19:45:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.138855 -2.826289)', '2026-07-08 19:46:06', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138857 -2.826288)'), GeomFromEWKT('SRID=4674;POINT (-40.138855 -2.826289)'))) / (select extract(epoch from '2026-07-08 19:46:06'::timestamp) - extract(epoch from '2026-07-08 19:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138857 -2.826288)'), GeomFromEWKT('SRID=4674;POINT (-40.138855 -2.826289)'))) / (select extract(epoch from '2026-07-08 19:46:06'::timestamp) - extract(epoch from '2026-07-08 19:45:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.138931 -2.826326)', '2026-07-08 19:47:43', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138855 -2.826289)'), GeomFromEWKT('SRID=4674;POINT (-40.138931 -2.826326)'))) / (select extract(epoch from '2026-07-08 19:47:43'::timestamp) - extract(epoch from '2026-07-08 19:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138855 -2.826289)'), GeomFromEWKT('SRID=4674;POINT (-40.138931 -2.826326)'))) / (select extract(epoch from '2026-07-08 19:47:43'::timestamp) - extract(epoch from '2026-07-08 19:46: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'), 47631, 'SRID=4674;POINT (-40.13898 -2.82644)', '2026-07-08 19:48:47', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138931 -2.826326)'), GeomFromEWKT('SRID=4674;POINT (-40.13898 -2.82644)'))) / (select extract(epoch from '2026-07-08 19:48:47'::timestamp) - extract(epoch from '2026-07-08 19:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138931 -2.826326)'), GeomFromEWKT('SRID=4674;POINT (-40.13898 -2.82644)'))) / (select extract(epoch from '2026-07-08 19:48:47'::timestamp) - extract(epoch from '2026-07-08 19:47: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'), 47631, 'SRID=4674;POINT (-40.139018 -2.826587)', '2026-07-08 19:49:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13898 -2.82644)'), GeomFromEWKT('SRID=4674;POINT (-40.139018 -2.826587)'))) / (select extract(epoch from '2026-07-08 19:49:02'::timestamp) - extract(epoch from '2026-07-08 19:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13898 -2.82644)'), GeomFromEWKT('SRID=4674;POINT (-40.139018 -2.826587)'))) / (select extract(epoch from '2026-07-08 19:49:02'::timestamp) - extract(epoch from '2026-07-08 19:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.139023 -2.826643)', '2026-07-08 19:49:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139018 -2.826587)'), GeomFromEWKT('SRID=4674;POINT (-40.139023 -2.826643)'))) / (select extract(epoch from '2026-07-08 19:49:14'::timestamp) - extract(epoch from '2026-07-08 19:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139018 -2.826587)'), GeomFromEWKT('SRID=4674;POINT (-40.139023 -2.826643)'))) / (select extract(epoch from '2026-07-08 19:49:14'::timestamp) - extract(epoch from '2026-07-08 19:49:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.13897 -2.826699)', '2026-07-08 19:49:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139023 -2.826643)'), GeomFromEWKT('SRID=4674;POINT (-40.13897 -2.826699)'))) / (select extract(epoch from '2026-07-08 19:49:41'::timestamp) - extract(epoch from '2026-07-08 19:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139023 -2.826643)'), GeomFromEWKT('SRID=4674;POINT (-40.13897 -2.826699)'))) / (select extract(epoch from '2026-07-08 19:49:41'::timestamp) - extract(epoch from '2026-07-08 19:49: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'), 47631, 'SRID=4674;POINT (-40.138904 -2.82679)', '2026-07-08 19:49:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13897 -2.826699)'), GeomFromEWKT('SRID=4674;POINT (-40.138904 -2.82679)'))) / (select extract(epoch from '2026-07-08 19:49:54'::timestamp) - extract(epoch from '2026-07-08 19:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13897 -2.826699)'), GeomFromEWKT('SRID=4674;POINT (-40.138904 -2.82679)'))) / (select extract(epoch from '2026-07-08 19:49:54'::timestamp) - extract(epoch from '2026-07-08 19:49: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'), 47631, 'SRID=4674;POINT (-40.138889 -2.826825)', '2026-07-08 19:50:06', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138904 -2.82679)'), GeomFromEWKT('SRID=4674;POINT (-40.138889 -2.826825)'))) / (select extract(epoch from '2026-07-08 19:50:06'::timestamp) - extract(epoch from '2026-07-08 19:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138904 -2.82679)'), GeomFromEWKT('SRID=4674;POINT (-40.138889 -2.826825)'))) / (select extract(epoch from '2026-07-08 19:50:06'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.138893 -2.826898)', '2026-07-08 19:50:29', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138889 -2.826825)'), GeomFromEWKT('SRID=4674;POINT (-40.138893 -2.826898)'))) / (select extract(epoch from '2026-07-08 19:50:29'::timestamp) - extract(epoch from '2026-07-08 19:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138889 -2.826825)'), GeomFromEWKT('SRID=4674;POINT (-40.138893 -2.826898)'))) / (select extract(epoch from '2026-07-08 19:50:29'::timestamp) - extract(epoch from '2026-07-08 19:50:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.138873 -2.826983)', '2026-07-08 19:50:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138893 -2.826898)'), GeomFromEWKT('SRID=4674;POINT (-40.138873 -2.826983)'))) / (select extract(epoch from '2026-07-08 19:50:40'::timestamp) - extract(epoch from '2026-07-08 19:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138893 -2.826898)'), GeomFromEWKT('SRID=4674;POINT (-40.138873 -2.826983)'))) / (select extract(epoch from '2026-07-08 19:50:40'::timestamp) - extract(epoch from '2026-07-08 19:50:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.138798 -2.827107)', '2026-07-08 19:50:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138873 -2.826983)'), GeomFromEWKT('SRID=4674;POINT (-40.138798 -2.827107)'))) / (select extract(epoch from '2026-07-08 19:50:57'::timestamp) - extract(epoch from '2026-07-08 19:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138873 -2.826983)'), GeomFromEWKT('SRID=4674;POINT (-40.138798 -2.827107)'))) / (select extract(epoch from '2026-07-08 19:50:57'::timestamp) - extract(epoch from '2026-07-08 19:50: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'), 47631, 'SRID=4674;POINT (-40.138704 -2.827233)', '2026-07-08 19:51:15', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138798 -2.827107)'), GeomFromEWKT('SRID=4674;POINT (-40.138704 -2.827233)'))) / (select extract(epoch from '2026-07-08 19:51:15'::timestamp) - extract(epoch from '2026-07-08 19:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138798 -2.827107)'), GeomFromEWKT('SRID=4674;POINT (-40.138704 -2.827233)'))) / (select extract(epoch from '2026-07-08 19:51:15'::timestamp) - extract(epoch from '2026-07-08 19:50:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.13855 -2.827297)', '2026-07-08 19:51:30', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138704 -2.827233)'), GeomFromEWKT('SRID=4674;POINT (-40.13855 -2.827297)'))) / (select extract(epoch from '2026-07-08 19:51:30'::timestamp) - extract(epoch from '2026-07-08 19:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138704 -2.827233)'), GeomFromEWKT('SRID=4674;POINT (-40.13855 -2.827297)'))) / (select extract(epoch from '2026-07-08 19:51:30'::timestamp) - extract(epoch from '2026-07-08 19:51: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'), 47631, 'SRID=4674;POINT (-40.138356 -2.827362)', '2026-07-08 19:51:46', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13855 -2.827297)'), GeomFromEWKT('SRID=4674;POINT (-40.138356 -2.827362)'))) / (select extract(epoch from '2026-07-08 19:51:46'::timestamp) - extract(epoch from '2026-07-08 19:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13855 -2.827297)'), GeomFromEWKT('SRID=4674;POINT (-40.138356 -2.827362)'))) / (select extract(epoch from '2026-07-08 19:51:46'::timestamp) - extract(epoch from '2026-07-08 19:51: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'), 47631, 'SRID=4674;POINT (-40.138199 -2.827401)', '2026-07-08 19:51:57', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138356 -2.827362)'), GeomFromEWKT('SRID=4674;POINT (-40.138199 -2.827401)'))) / (select extract(epoch from '2026-07-08 19:51:57'::timestamp) - extract(epoch from '2026-07-08 19:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138356 -2.827362)'), GeomFromEWKT('SRID=4674;POINT (-40.138199 -2.827401)'))) / (select extract(epoch from '2026-07-08 19:51:57'::timestamp) - extract(epoch from '2026-07-08 19:51: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'), 47631, 'SRID=4674;POINT (-40.138014 -2.827421)', '2026-07-08 19:52:08', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138199 -2.827401)'), GeomFromEWKT('SRID=4674;POINT (-40.138014 -2.827421)'))) / (select extract(epoch from '2026-07-08 19:52:08'::timestamp) - extract(epoch from '2026-07-08 19:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138199 -2.827401)'), GeomFromEWKT('SRID=4674;POINT (-40.138014 -2.827421)'))) / (select extract(epoch from '2026-07-08 19:52:08'::timestamp) - extract(epoch from '2026-07-08 19:51: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'), 47631, 'SRID=4674;POINT (-40.137819 -2.82742)', '2026-07-08 19:52:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138014 -2.827421)'), GeomFromEWKT('SRID=4674;POINT (-40.137819 -2.82742)'))) / (select extract(epoch from '2026-07-08 19:52:18'::timestamp) - extract(epoch from '2026-07-08 19:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138014 -2.827421)'), GeomFromEWKT('SRID=4674;POINT (-40.137819 -2.82742)'))) / (select extract(epoch from '2026-07-08 19:52:18'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.137533 -2.827436)', '2026-07-08 19:52:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137819 -2.82742)'), GeomFromEWKT('SRID=4674;POINT (-40.137533 -2.827436)'))) / (select extract(epoch from '2026-07-08 19:52:32'::timestamp) - extract(epoch from '2026-07-08 19:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137819 -2.82742)'), GeomFromEWKT('SRID=4674;POINT (-40.137533 -2.827436)'))) / (select extract(epoch from '2026-07-08 19:52:32'::timestamp) - extract(epoch from '2026-07-08 19:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.137323 -2.827429)', '2026-07-08 19:52:42', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137533 -2.827436)'), GeomFromEWKT('SRID=4674;POINT (-40.137323 -2.827429)'))) / (select extract(epoch from '2026-07-08 19:52:42'::timestamp) - extract(epoch from '2026-07-08 19:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137533 -2.827436)'), GeomFromEWKT('SRID=4674;POINT (-40.137323 -2.827429)'))) / (select extract(epoch from '2026-07-08 19:52:42'::timestamp) - extract(epoch from '2026-07-08 19:52:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.137123 -2.827411)', '2026-07-08 19:52:52', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137323 -2.827429)'), GeomFromEWKT('SRID=4674;POINT (-40.137123 -2.827411)'))) / (select extract(epoch from '2026-07-08 19:52:52'::timestamp) - extract(epoch from '2026-07-08 19:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137323 -2.827429)'), GeomFromEWKT('SRID=4674;POINT (-40.137123 -2.827411)'))) / (select extract(epoch from '2026-07-08 19:52:52'::timestamp) - extract(epoch from '2026-07-08 19:52:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.136932 -2.82739)', '2026-07-08 19:53:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137123 -2.827411)'), GeomFromEWKT('SRID=4674;POINT (-40.136932 -2.82739)'))) / (select extract(epoch from '2026-07-08 19:53:02'::timestamp) - extract(epoch from '2026-07-08 19:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137123 -2.827411)'), GeomFromEWKT('SRID=4674;POINT (-40.136932 -2.82739)'))) / (select extract(epoch from '2026-07-08 19:53:02'::timestamp) - extract(epoch from '2026-07-08 19:52:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.136699 -2.827334)', '2026-07-08 19:53:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136932 -2.82739)'), GeomFromEWKT('SRID=4674;POINT (-40.136699 -2.827334)'))) / (select extract(epoch from '2026-07-08 19:53:14'::timestamp) - extract(epoch from '2026-07-08 19:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136932 -2.82739)'), GeomFromEWKT('SRID=4674;POINT (-40.136699 -2.827334)'))) / (select extract(epoch from '2026-07-08 19:53:14'::timestamp) - extract(epoch from '2026-07-08 19:53: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'), 47631, 'SRID=4674;POINT (-40.136476 -2.827259)', '2026-07-08 19:53:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136699 -2.827334)'), GeomFromEWKT('SRID=4674;POINT (-40.136476 -2.827259)'))) / (select extract(epoch from '2026-07-08 19:53:26'::timestamp) - extract(epoch from '2026-07-08 19:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136699 -2.827334)'), GeomFromEWKT('SRID=4674;POINT (-40.136476 -2.827259)'))) / (select extract(epoch from '2026-07-08 19:53:26'::timestamp) - extract(epoch from '2026-07-08 19:53: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'), 47631, 'SRID=4674;POINT (-40.136283 -2.827178)', '2026-07-08 19:53:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136476 -2.827259)'), GeomFromEWKT('SRID=4674;POINT (-40.136283 -2.827178)'))) / (select extract(epoch from '2026-07-08 19:53:36'::timestamp) - extract(epoch from '2026-07-08 19:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136476 -2.827259)'), GeomFromEWKT('SRID=4674;POINT (-40.136283 -2.827178)'))) / (select extract(epoch from '2026-07-08 19:53:36'::timestamp) - extract(epoch from '2026-07-08 19:53:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.136065 -2.827073)', '2026-07-08 19:53:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136283 -2.827178)'), GeomFromEWKT('SRID=4674;POINT (-40.136065 -2.827073)'))) / (select extract(epoch from '2026-07-08 19:53:47'::timestamp) - extract(epoch from '2026-07-08 19:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136283 -2.827178)'), GeomFromEWKT('SRID=4674;POINT (-40.136065 -2.827073)'))) / (select extract(epoch from '2026-07-08 19:53:47'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.135861 -2.826977)', '2026-07-08 19:53:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136065 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.135861 -2.826977)'))) / (select extract(epoch from '2026-07-08 19:53:57'::timestamp) - extract(epoch from '2026-07-08 19:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136065 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.135861 -2.826977)'))) / (select extract(epoch from '2026-07-08 19:53:57'::timestamp) - extract(epoch from '2026-07-08 19:53:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.135647 -2.826912)', '2026-07-08 19:54:07', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135861 -2.826977)'), GeomFromEWKT('SRID=4674;POINT (-40.135647 -2.826912)'))) / (select extract(epoch from '2026-07-08 19:54:07'::timestamp) - extract(epoch from '2026-07-08 19:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135861 -2.826977)'), GeomFromEWKT('SRID=4674;POINT (-40.135647 -2.826912)'))) / (select extract(epoch from '2026-07-08 19:54:07'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.135403 -2.826911)', '2026-07-08 19:54:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135647 -2.826912)'), GeomFromEWKT('SRID=4674;POINT (-40.135403 -2.826911)'))) / (select extract(epoch from '2026-07-08 19:54:17'::timestamp) - extract(epoch from '2026-07-08 19:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135647 -2.826912)'), GeomFromEWKT('SRID=4674;POINT (-40.135403 -2.826911)'))) / (select extract(epoch from '2026-07-08 19:54:17'::timestamp) - extract(epoch from '2026-07-08 19:54: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'), 47631, 'SRID=4674;POINT (-40.135089 -2.826961)', '2026-07-08 19:54:30', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135403 -2.826911)'), GeomFromEWKT('SRID=4674;POINT (-40.135089 -2.826961)'))) / (select extract(epoch from '2026-07-08 19:54:30'::timestamp) - extract(epoch from '2026-07-08 19:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135403 -2.826911)'), GeomFromEWKT('SRID=4674;POINT (-40.135089 -2.826961)'))) / (select extract(epoch from '2026-07-08 19:54:30'::timestamp) - extract(epoch from '2026-07-08 19:54: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'), 47631, 'SRID=4674;POINT (-40.134852 -2.827081)', '2026-07-08 19:54:41', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135089 -2.826961)'), GeomFromEWKT('SRID=4674;POINT (-40.134852 -2.827081)'))) / (select extract(epoch from '2026-07-08 19:54:41'::timestamp) - extract(epoch from '2026-07-08 19:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135089 -2.826961)'), GeomFromEWKT('SRID=4674;POINT (-40.134852 -2.827081)'))) / (select extract(epoch from '2026-07-08 19:54:41'::timestamp) - extract(epoch from '2026-07-08 19:54: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'), 47631, 'SRID=4674;POINT (-40.134686 -2.827233)', '2026-07-08 19:54:50', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134852 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.134686 -2.827233)'))) / (select extract(epoch from '2026-07-08 19:54:50'::timestamp) - extract(epoch from '2026-07-08 19:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134852 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.134686 -2.827233)'))) / (select extract(epoch from '2026-07-08 19:54:50'::timestamp) - extract(epoch from '2026-07-08 19:54: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'), 47631, 'SRID=4674;POINT (-40.134484 -2.827416)', '2026-07-08 19:55:01', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134686 -2.827233)'), GeomFromEWKT('SRID=4674;POINT (-40.134484 -2.827416)'))) / (select extract(epoch from '2026-07-08 19:55:01'::timestamp) - extract(epoch from '2026-07-08 19:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134686 -2.827233)'), GeomFromEWKT('SRID=4674;POINT (-40.134484 -2.827416)'))) / (select extract(epoch from '2026-07-08 19:55:01'::timestamp) - extract(epoch from '2026-07-08 19:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.134326 -2.8276)', '2026-07-08 19:55:11', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134484 -2.827416)'), GeomFromEWKT('SRID=4674;POINT (-40.134326 -2.8276)'))) / (select extract(epoch from '2026-07-08 19:55:11'::timestamp) - extract(epoch from '2026-07-08 19:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134484 -2.827416)'), GeomFromEWKT('SRID=4674;POINT (-40.134326 -2.8276)'))) / (select extract(epoch from '2026-07-08 19:55:11'::timestamp) - extract(epoch from '2026-07-08 19:55:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.134178 -2.827827)', '2026-07-08 19:55:23', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134326 -2.8276)'), GeomFromEWKT('SRID=4674;POINT (-40.134178 -2.827827)'))) / (select extract(epoch from '2026-07-08 19:55:23'::timestamp) - extract(epoch from '2026-07-08 19:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134326 -2.8276)'), GeomFromEWKT('SRID=4674;POINT (-40.134178 -2.827827)'))) / (select extract(epoch from '2026-07-08 19:55:23'::timestamp) - extract(epoch from '2026-07-08 19:55:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.134079 -2.828026)', '2026-07-08 19:55:33', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134178 -2.827827)'), GeomFromEWKT('SRID=4674;POINT (-40.134079 -2.828026)'))) / (select extract(epoch from '2026-07-08 19:55:33'::timestamp) - extract(epoch from '2026-07-08 19:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134178 -2.827827)'), GeomFromEWKT('SRID=4674;POINT (-40.134079 -2.828026)'))) / (select extract(epoch from '2026-07-08 19:55:33'::timestamp) - extract(epoch from '2026-07-08 19:55:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.133975 -2.828365)', '2026-07-08 19:55:48', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134079 -2.828026)'), GeomFromEWKT('SRID=4674;POINT (-40.133975 -2.828365)'))) / (select extract(epoch from '2026-07-08 19:55:48'::timestamp) - extract(epoch from '2026-07-08 19:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134079 -2.828026)'), GeomFromEWKT('SRID=4674;POINT (-40.133975 -2.828365)'))) / (select extract(epoch from '2026-07-08 19:55:48'::timestamp) - extract(epoch from '2026-07-08 19:55: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'), 47631, 'SRID=4674;POINT (-40.133882 -2.828616)', '2026-07-08 19:55:59', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133975 -2.828365)'), GeomFromEWKT('SRID=4674;POINT (-40.133882 -2.828616)'))) / (select extract(epoch from '2026-07-08 19:55:59'::timestamp) - extract(epoch from '2026-07-08 19:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133975 -2.828365)'), GeomFromEWKT('SRID=4674;POINT (-40.133882 -2.828616)'))) / (select extract(epoch from '2026-07-08 19:55:59'::timestamp) - extract(epoch from '2026-07-08 19:55:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.133773 -2.828824)', '2026-07-08 19:56:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133882 -2.828616)'), GeomFromEWKT('SRID=4674;POINT (-40.133773 -2.828824)'))) / (select extract(epoch from '2026-07-08 19:56:09'::timestamp) - extract(epoch from '2026-07-08 19:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133882 -2.828616)'), GeomFromEWKT('SRID=4674;POINT (-40.133773 -2.828824)'))) / (select extract(epoch from '2026-07-08 19:56:09'::timestamp) - extract(epoch from '2026-07-08 19:55:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.133655 -2.829006)', '2026-07-08 19:56:19', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133773 -2.828824)'), GeomFromEWKT('SRID=4674;POINT (-40.133655 -2.829006)'))) / (select extract(epoch from '2026-07-08 19:56:19'::timestamp) - extract(epoch from '2026-07-08 19:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133773 -2.828824)'), GeomFromEWKT('SRID=4674;POINT (-40.133655 -2.829006)'))) / (select extract(epoch from '2026-07-08 19:56:19'::timestamp) - extract(epoch from '2026-07-08 19:56: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'), 47631, 'SRID=4674;POINT (-40.133551 -2.829186)', '2026-07-08 19:56:29', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133655 -2.829006)'), GeomFromEWKT('SRID=4674;POINT (-40.133551 -2.829186)'))) / (select extract(epoch from '2026-07-08 19:56:29'::timestamp) - extract(epoch from '2026-07-08 19:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133655 -2.829006)'), GeomFromEWKT('SRID=4674;POINT (-40.133551 -2.829186)'))) / (select extract(epoch from '2026-07-08 19:56:29'::timestamp) - extract(epoch from '2026-07-08 19:56: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'), 47631, 'SRID=4674;POINT (-40.133433 -2.82941)', '2026-07-08 19:56:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133551 -2.829186)'), GeomFromEWKT('SRID=4674;POINT (-40.133433 -2.82941)'))) / (select extract(epoch from '2026-07-08 19:56:41'::timestamp) - extract(epoch from '2026-07-08 19:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133551 -2.829186)'), GeomFromEWKT('SRID=4674;POINT (-40.133433 -2.82941)'))) / (select extract(epoch from '2026-07-08 19:56:41'::timestamp) - extract(epoch from '2026-07-08 19:56: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'), 47631, 'SRID=4674;POINT (-40.133295 -2.829686)', '2026-07-08 19:56:56', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133433 -2.82941)'), GeomFromEWKT('SRID=4674;POINT (-40.133295 -2.829686)'))) / (select extract(epoch from '2026-07-08 19:56:56'::timestamp) - extract(epoch from '2026-07-08 19:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133433 -2.82941)'), GeomFromEWKT('SRID=4674;POINT (-40.133295 -2.829686)'))) / (select extract(epoch from '2026-07-08 19:56:56'::timestamp) - extract(epoch from '2026-07-08 19:56: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'), 47631, 'SRID=4674;POINT (-40.1332 -2.829882)', '2026-07-08 19:57:07', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133295 -2.829686)'), GeomFromEWKT('SRID=4674;POINT (-40.1332 -2.829882)'))) / (select extract(epoch from '2026-07-08 19:57:07'::timestamp) - extract(epoch from '2026-07-08 19:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133295 -2.829686)'), GeomFromEWKT('SRID=4674;POINT (-40.1332 -2.829882)'))) / (select extract(epoch from '2026-07-08 19:57:07'::timestamp) - extract(epoch from '2026-07-08 19:56: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'), 47631, 'SRID=4674;POINT (-40.133113 -2.830064)', '2026-07-08 19:57:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1332 -2.829882)'), GeomFromEWKT('SRID=4674;POINT (-40.133113 -2.830064)'))) / (select extract(epoch from '2026-07-08 19:57:17'::timestamp) - extract(epoch from '2026-07-08 19:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1332 -2.829882)'), GeomFromEWKT('SRID=4674;POINT (-40.133113 -2.830064)'))) / (select extract(epoch from '2026-07-08 19:57:17'::timestamp) - extract(epoch from '2026-07-08 19:57: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'), 47631, 'SRID=4674;POINT (-40.133017 -2.830301)', '2026-07-08 19:57:30', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133113 -2.830064)'), GeomFromEWKT('SRID=4674;POINT (-40.133017 -2.830301)'))) / (select extract(epoch from '2026-07-08 19:57:30'::timestamp) - extract(epoch from '2026-07-08 19:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133113 -2.830064)'), GeomFromEWKT('SRID=4674;POINT (-40.133017 -2.830301)'))) / (select extract(epoch from '2026-07-08 19:57:30'::timestamp) - extract(epoch from '2026-07-08 19:57:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.132945 -2.830481)', '2026-07-08 19:57:40', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133017 -2.830301)'), GeomFromEWKT('SRID=4674;POINT (-40.132945 -2.830481)'))) / (select extract(epoch from '2026-07-08 19:57:40'::timestamp) - extract(epoch from '2026-07-08 19:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133017 -2.830301)'), GeomFromEWKT('SRID=4674;POINT (-40.132945 -2.830481)'))) / (select extract(epoch from '2026-07-08 19:57:40'::timestamp) - extract(epoch from '2026-07-08 19:57:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.132867 -2.830717)', '2026-07-08 19:57:53', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132945 -2.830481)'), GeomFromEWKT('SRID=4674;POINT (-40.132867 -2.830717)'))) / (select extract(epoch from '2026-07-08 19:57:53'::timestamp) - extract(epoch from '2026-07-08 19:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132945 -2.830481)'), GeomFromEWKT('SRID=4674;POINT (-40.132867 -2.830717)'))) / (select extract(epoch from '2026-07-08 19:57:53'::timestamp) - extract(epoch from '2026-07-08 19:57: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'), 47631, 'SRID=4674;POINT (-40.132797 -2.830945)', '2026-07-08 19:58:05', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132867 -2.830717)'), GeomFromEWKT('SRID=4674;POINT (-40.132797 -2.830945)'))) / (select extract(epoch from '2026-07-08 19:58:05'::timestamp) - extract(epoch from '2026-07-08 19:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132867 -2.830717)'), GeomFromEWKT('SRID=4674;POINT (-40.132797 -2.830945)'))) / (select extract(epoch from '2026-07-08 19:58:05'::timestamp) - extract(epoch from '2026-07-08 19:57:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.132722 -2.831192)', '2026-07-08 19:58:18', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132797 -2.830945)'), GeomFromEWKT('SRID=4674;POINT (-40.132722 -2.831192)'))) / (select extract(epoch from '2026-07-08 19:58:18'::timestamp) - extract(epoch from '2026-07-08 19:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132797 -2.830945)'), GeomFromEWKT('SRID=4674;POINT (-40.132722 -2.831192)'))) / (select extract(epoch from '2026-07-08 19:58:18'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.132638 -2.831411)', '2026-07-08 19:58:30', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132722 -2.831192)'), GeomFromEWKT('SRID=4674;POINT (-40.132638 -2.831411)'))) / (select extract(epoch from '2026-07-08 19:58:30'::timestamp) - extract(epoch from '2026-07-08 19:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132722 -2.831192)'), GeomFromEWKT('SRID=4674;POINT (-40.132638 -2.831411)'))) / (select extract(epoch from '2026-07-08 19:58:30'::timestamp) - extract(epoch from '2026-07-08 19:58:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.132519 -2.83167)', '2026-07-08 19:58:45', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132638 -2.831411)'), GeomFromEWKT('SRID=4674;POINT (-40.132519 -2.83167)'))) / (select extract(epoch from '2026-07-08 19:58:45'::timestamp) - extract(epoch from '2026-07-08 19:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132638 -2.831411)'), GeomFromEWKT('SRID=4674;POINT (-40.132519 -2.83167)'))) / (select extract(epoch from '2026-07-08 19:58:45'::timestamp) - extract(epoch from '2026-07-08 19:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.132435 -2.831863)', '2026-07-08 19:58:56', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132519 -2.83167)'), GeomFromEWKT('SRID=4674;POINT (-40.132435 -2.831863)'))) / (select extract(epoch from '2026-07-08 19:58:56'::timestamp) - extract(epoch from '2026-07-08 19:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132519 -2.83167)'), GeomFromEWKT('SRID=4674;POINT (-40.132435 -2.831863)'))) / (select extract(epoch from '2026-07-08 19:58:56'::timestamp) - extract(epoch from '2026-07-08 19:58: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'), 47631, 'SRID=4674;POINT (-40.132326 -2.832094)', '2026-07-08 19:59:09', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132435 -2.831863)'), GeomFromEWKT('SRID=4674;POINT (-40.132326 -2.832094)'))) / (select extract(epoch from '2026-07-08 19:59:09'::timestamp) - extract(epoch from '2026-07-08 19:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132435 -2.831863)'), GeomFromEWKT('SRID=4674;POINT (-40.132326 -2.832094)'))) / (select extract(epoch from '2026-07-08 19:59:09'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.132166 -2.832418)', '2026-07-08 19:59:27', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132326 -2.832094)'), GeomFromEWKT('SRID=4674;POINT (-40.132166 -2.832418)'))) / (select extract(epoch from '2026-07-08 19:59:27'::timestamp) - extract(epoch from '2026-07-08 19:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132326 -2.832094)'), GeomFromEWKT('SRID=4674;POINT (-40.132166 -2.832418)'))) / (select extract(epoch from '2026-07-08 19:59:27'::timestamp) - extract(epoch from '2026-07-08 19:59:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.132077 -2.832593)', '2026-07-08 19:59:37', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132166 -2.832418)'), GeomFromEWKT('SRID=4674;POINT (-40.132077 -2.832593)'))) / (select extract(epoch from '2026-07-08 19:59:37'::timestamp) - extract(epoch from '2026-07-08 19:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132166 -2.832418)'), GeomFromEWKT('SRID=4674;POINT (-40.132077 -2.832593)'))) / (select extract(epoch from '2026-07-08 19:59:37'::timestamp) - extract(epoch from '2026-07-08 19:59: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'), 47631, 'SRID=4674;POINT (-40.13198 -2.83276)', '2026-07-08 19:59:47', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132077 -2.832593)'), GeomFromEWKT('SRID=4674;POINT (-40.13198 -2.83276)'))) / (select extract(epoch from '2026-07-08 19:59:47'::timestamp) - extract(epoch from '2026-07-08 19:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132077 -2.832593)'), GeomFromEWKT('SRID=4674;POINT (-40.13198 -2.83276)'))) / (select extract(epoch from '2026-07-08 19:59:47'::timestamp) - extract(epoch from '2026-07-08 19:59:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.13188 -2.832979)', '2026-07-08 19:59:59', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13198 -2.83276)'), GeomFromEWKT('SRID=4674;POINT (-40.13188 -2.832979)'))) / (select extract(epoch from '2026-07-08 19:59:59'::timestamp) - extract(epoch from '2026-07-08 19:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13198 -2.83276)'), GeomFromEWKT('SRID=4674;POINT (-40.13188 -2.832979)'))) / (select extract(epoch from '2026-07-08 19:59:59'::timestamp) - extract(epoch from '2026-07-08 19:59: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'), 47631, 'SRID=4674;POINT (-40.131774 -2.833201)', '2026-07-08 20:00:11', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13188 -2.832979)'), GeomFromEWKT('SRID=4674;POINT (-40.131774 -2.833201)'))) / (select extract(epoch from '2026-07-08 20:00:11'::timestamp) - extract(epoch from '2026-07-08 19:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13188 -2.832979)'), GeomFromEWKT('SRID=4674;POINT (-40.131774 -2.833201)'))) / (select extract(epoch from '2026-07-08 20:00:11'::timestamp) - extract(epoch from '2026-07-08 19:59:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131652 -2.833482)', '2026-07-08 20:00:26', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131774 -2.833201)'), GeomFromEWKT('SRID=4674;POINT (-40.131652 -2.833482)'))) / (select extract(epoch from '2026-07-08 20:00:26'::timestamp) - extract(epoch from '2026-07-08 20:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131774 -2.833201)'), GeomFromEWKT('SRID=4674;POINT (-40.131652 -2.833482)'))) / (select extract(epoch from '2026-07-08 20:00:26'::timestamp) - extract(epoch from '2026-07-08 20:00: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'), 47631, 'SRID=4674;POINT (-40.131545 -2.833779)', '2026-07-08 20:00:41', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131652 -2.833482)'), GeomFromEWKT('SRID=4674;POINT (-40.131545 -2.833779)'))) / (select extract(epoch from '2026-07-08 20:00:41'::timestamp) - extract(epoch from '2026-07-08 20:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131652 -2.833482)'), GeomFromEWKT('SRID=4674;POINT (-40.131545 -2.833779)'))) / (select extract(epoch from '2026-07-08 20:00:41'::timestamp) - extract(epoch from '2026-07-08 20:00: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'), 47631, 'SRID=4674;POINT (-40.131414 -2.834079)', '2026-07-08 20:00:57', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131545 -2.833779)'), GeomFromEWKT('SRID=4674;POINT (-40.131414 -2.834079)'))) / (select extract(epoch from '2026-07-08 20:00:57'::timestamp) - extract(epoch from '2026-07-08 20:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131545 -2.833779)'), GeomFromEWKT('SRID=4674;POINT (-40.131414 -2.834079)'))) / (select extract(epoch from '2026-07-08 20:00:57'::timestamp) - extract(epoch from '2026-07-08 20:00:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131309 -2.834322)', '2026-07-08 20:01:10', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131414 -2.834079)'), GeomFromEWKT('SRID=4674;POINT (-40.131309 -2.834322)'))) / (select extract(epoch from '2026-07-08 20:01:10'::timestamp) - extract(epoch from '2026-07-08 20:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131414 -2.834079)'), GeomFromEWKT('SRID=4674;POINT (-40.131309 -2.834322)'))) / (select extract(epoch from '2026-07-08 20:01:10'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.131212 -2.834539)', '2026-07-08 20:01:22', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131309 -2.834322)'), GeomFromEWKT('SRID=4674;POINT (-40.131212 -2.834539)'))) / (select extract(epoch from '2026-07-08 20:01:22'::timestamp) - extract(epoch from '2026-07-08 20:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131309 -2.834322)'), GeomFromEWKT('SRID=4674;POINT (-40.131212 -2.834539)'))) / (select extract(epoch from '2026-07-08 20:01:22'::timestamp) - extract(epoch from '2026-07-08 20:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131108 -2.834755)', '2026-07-08 20:01:34', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131212 -2.834539)'), GeomFromEWKT('SRID=4674;POINT (-40.131108 -2.834755)'))) / (select extract(epoch from '2026-07-08 20:01:34'::timestamp) - extract(epoch from '2026-07-08 20:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131212 -2.834539)'), GeomFromEWKT('SRID=4674;POINT (-40.131108 -2.834755)'))) / (select extract(epoch from '2026-07-08 20:01:34'::timestamp) - extract(epoch from '2026-07-08 20:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.131015 -2.83496)', '2026-07-08 20:01:45', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131108 -2.834755)'), GeomFromEWKT('SRID=4674;POINT (-40.131015 -2.83496)'))) / (select extract(epoch from '2026-07-08 20:01:45'::timestamp) - extract(epoch from '2026-07-08 20:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131108 -2.834755)'), GeomFromEWKT('SRID=4674;POINT (-40.131015 -2.83496)'))) / (select extract(epoch from '2026-07-08 20:01:45'::timestamp) - extract(epoch from '2026-07-08 20:01:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130911 -2.835172)', '2026-07-08 20:01:57', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131015 -2.83496)'), GeomFromEWKT('SRID=4674;POINT (-40.130911 -2.835172)'))) / (select extract(epoch from '2026-07-08 20:01:57'::timestamp) - extract(epoch from '2026-07-08 20:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131015 -2.83496)'), GeomFromEWKT('SRID=4674;POINT (-40.130911 -2.835172)'))) / (select extract(epoch from '2026-07-08 20:01:57'::timestamp) - extract(epoch from '2026-07-08 20:01:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130819 -2.835373)', '2026-07-08 20:02:08', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130911 -2.835172)'), GeomFromEWKT('SRID=4674;POINT (-40.130819 -2.835373)'))) / (select extract(epoch from '2026-07-08 20:02:08'::timestamp) - extract(epoch from '2026-07-08 20:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130911 -2.835172)'), GeomFromEWKT('SRID=4674;POINT (-40.130819 -2.835373)'))) / (select extract(epoch from '2026-07-08 20:02:08'::timestamp) - extract(epoch from '2026-07-08 20:01:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130727 -2.83562)', '2026-07-08 20:02:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130819 -2.835373)'), GeomFromEWKT('SRID=4674;POINT (-40.130727 -2.83562)'))) / (select extract(epoch from '2026-07-08 20:02:21'::timestamp) - extract(epoch from '2026-07-08 20:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130819 -2.835373)'), GeomFromEWKT('SRID=4674;POINT (-40.130727 -2.83562)'))) / (select extract(epoch from '2026-07-08 20:02:21'::timestamp) - extract(epoch from '2026-07-08 20:02:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130611 -2.835925)', '2026-07-08 20:02:37', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130727 -2.83562)'), GeomFromEWKT('SRID=4674;POINT (-40.130611 -2.835925)'))) / (select extract(epoch from '2026-07-08 20:02:37'::timestamp) - extract(epoch from '2026-07-08 20:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130727 -2.83562)'), GeomFromEWKT('SRID=4674;POINT (-40.130611 -2.835925)'))) / (select extract(epoch from '2026-07-08 20:02:37'::timestamp) - extract(epoch from '2026-07-08 20:02: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'), 47631, 'SRID=4674;POINT (-40.13054 -2.83618)', '2026-07-08 20:02:50', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130611 -2.835925)'), GeomFromEWKT('SRID=4674;POINT (-40.13054 -2.83618)'))) / (select extract(epoch from '2026-07-08 20:02:50'::timestamp) - extract(epoch from '2026-07-08 20:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130611 -2.835925)'), GeomFromEWKT('SRID=4674;POINT (-40.13054 -2.83618)'))) / (select extract(epoch from '2026-07-08 20:02:50'::timestamp) - extract(epoch from '2026-07-08 20:02:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130495 -2.836401)', '2026-07-08 20:03:01', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13054 -2.83618)'), GeomFromEWKT('SRID=4674;POINT (-40.130495 -2.836401)'))) / (select extract(epoch from '2026-07-08 20:03:01'::timestamp) - extract(epoch from '2026-07-08 20:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13054 -2.83618)'), GeomFromEWKT('SRID=4674;POINT (-40.130495 -2.836401)'))) / (select extract(epoch from '2026-07-08 20:03:01'::timestamp) - extract(epoch from '2026-07-08 20:02: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'), 47631, 'SRID=4674;POINT (-40.130456 -2.83662)', '2026-07-08 20:03:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130495 -2.836401)'), GeomFromEWKT('SRID=4674;POINT (-40.130456 -2.83662)'))) / (select extract(epoch from '2026-07-08 20:03:12'::timestamp) - extract(epoch from '2026-07-08 20:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130495 -2.836401)'), GeomFromEWKT('SRID=4674;POINT (-40.130456 -2.83662)'))) / (select extract(epoch from '2026-07-08 20:03:12'::timestamp) - extract(epoch from '2026-07-08 20:03: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'), 47631, 'SRID=4674;POINT (-40.130424 -2.836842)', '2026-07-08 20:03:23', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130456 -2.83662)'), GeomFromEWKT('SRID=4674;POINT (-40.130424 -2.836842)'))) / (select extract(epoch from '2026-07-08 20:03:23'::timestamp) - extract(epoch from '2026-07-08 20:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130456 -2.83662)'), GeomFromEWKT('SRID=4674;POINT (-40.130424 -2.836842)'))) / (select extract(epoch from '2026-07-08 20:03:23'::timestamp) - extract(epoch from '2026-07-08 20:03: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'), 47631, 'SRID=4674;POINT (-40.130392 -2.837053)', '2026-07-08 20:03:34', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130424 -2.836842)'), GeomFromEWKT('SRID=4674;POINT (-40.130392 -2.837053)'))) / (select extract(epoch from '2026-07-08 20:03:34'::timestamp) - extract(epoch from '2026-07-08 20:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130424 -2.836842)'), GeomFromEWKT('SRID=4674;POINT (-40.130392 -2.837053)'))) / (select extract(epoch from '2026-07-08 20:03:34'::timestamp) - extract(epoch from '2026-07-08 20:03: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'), 47631, 'SRID=4674;POINT (-40.13037 -2.837247)', '2026-07-08 20:03:44', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130392 -2.837053)'), GeomFromEWKT('SRID=4674;POINT (-40.13037 -2.837247)'))) / (select extract(epoch from '2026-07-08 20:03:44'::timestamp) - extract(epoch from '2026-07-08 20:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130392 -2.837053)'), GeomFromEWKT('SRID=4674;POINT (-40.13037 -2.837247)'))) / (select extract(epoch from '2026-07-08 20:03:44'::timestamp) - extract(epoch from '2026-07-08 20:03: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'), 47631, 'SRID=4674;POINT (-40.130348 -2.837461)', '2026-07-08 20:03:55', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13037 -2.837247)'), GeomFromEWKT('SRID=4674;POINT (-40.130348 -2.837461)'))) / (select extract(epoch from '2026-07-08 20:03:55'::timestamp) - extract(epoch from '2026-07-08 20:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13037 -2.837247)'), GeomFromEWKT('SRID=4674;POINT (-40.130348 -2.837461)'))) / (select extract(epoch from '2026-07-08 20:03:55'::timestamp) - extract(epoch from '2026-07-08 20:03: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'), 47631, 'SRID=4674;POINT (-40.130338 -2.837678)', '2026-07-08 20:04:06', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130348 -2.837461)'), GeomFromEWKT('SRID=4674;POINT (-40.130338 -2.837678)'))) / (select extract(epoch from '2026-07-08 20:04:06'::timestamp) - extract(epoch from '2026-07-08 20:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130348 -2.837461)'), GeomFromEWKT('SRID=4674;POINT (-40.130338 -2.837678)'))) / (select extract(epoch from '2026-07-08 20:04:06'::timestamp) - extract(epoch from '2026-07-08 20:03:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130326 -2.837869)', '2026-07-08 20:04:16', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130338 -2.837678)'), GeomFromEWKT('SRID=4674;POINT (-40.130326 -2.837869)'))) / (select extract(epoch from '2026-07-08 20:04:16'::timestamp) - extract(epoch from '2026-07-08 20:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130338 -2.837678)'), GeomFromEWKT('SRID=4674;POINT (-40.130326 -2.837869)'))) / (select extract(epoch from '2026-07-08 20:04:16'::timestamp) - extract(epoch from '2026-07-08 20:04: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'), 47631, 'SRID=4674;POINT (-40.130307 -2.83809)', '2026-07-08 20:04:27', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130326 -2.837869)'), GeomFromEWKT('SRID=4674;POINT (-40.130307 -2.83809)'))) / (select extract(epoch from '2026-07-08 20:04:27'::timestamp) - extract(epoch from '2026-07-08 20:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130326 -2.837869)'), GeomFromEWKT('SRID=4674;POINT (-40.130307 -2.83809)'))) / (select extract(epoch from '2026-07-08 20:04:27'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.130308 -2.838253)', '2026-07-08 20:04:36', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130307 -2.83809)'), GeomFromEWKT('SRID=4674;POINT (-40.130308 -2.838253)'))) / (select extract(epoch from '2026-07-08 20:04:36'::timestamp) - extract(epoch from '2026-07-08 20:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130307 -2.83809)'), GeomFromEWKT('SRID=4674;POINT (-40.130308 -2.838253)'))) / (select extract(epoch from '2026-07-08 20:04:36'::timestamp) - extract(epoch from '2026-07-08 20:04: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'), 47631, 'SRID=4674;POINT (-40.130309 -2.838467)', '2026-07-08 20:04:47', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130308 -2.838253)'), GeomFromEWKT('SRID=4674;POINT (-40.130309 -2.838467)'))) / (select extract(epoch from '2026-07-08 20:04:47'::timestamp) - extract(epoch from '2026-07-08 20:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130308 -2.838253)'), GeomFromEWKT('SRID=4674;POINT (-40.130309 -2.838467)'))) / (select extract(epoch from '2026-07-08 20:04:47'::timestamp) - extract(epoch from '2026-07-08 20:04: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'), 47631, 'SRID=4674;POINT (-40.130284 -2.83869)', '2026-07-08 20:04:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130309 -2.838467)'), GeomFromEWKT('SRID=4674;POINT (-40.130284 -2.83869)'))) / (select extract(epoch from '2026-07-08 20:04:58'::timestamp) - extract(epoch from '2026-07-08 20:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130309 -2.838467)'), GeomFromEWKT('SRID=4674;POINT (-40.130284 -2.83869)'))) / (select extract(epoch from '2026-07-08 20:04:58'::timestamp) - extract(epoch from '2026-07-08 20:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130237 -2.838919)', '2026-07-08 20:05:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130284 -2.83869)'), GeomFromEWKT('SRID=4674;POINT (-40.130237 -2.838919)'))) / (select extract(epoch from '2026-07-08 20:05:10'::timestamp) - extract(epoch from '2026-07-08 20:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130284 -2.83869)'), GeomFromEWKT('SRID=4674;POINT (-40.130237 -2.838919)'))) / (select extract(epoch from '2026-07-08 20:05:10'::timestamp) - extract(epoch from '2026-07-08 20:04:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130197 -2.839148)', '2026-07-08 20:05:22', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130237 -2.838919)'), GeomFromEWKT('SRID=4674;POINT (-40.130197 -2.839148)'))) / (select extract(epoch from '2026-07-08 20:05:22'::timestamp) - extract(epoch from '2026-07-08 20:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130237 -2.838919)'), GeomFromEWKT('SRID=4674;POINT (-40.130197 -2.839148)'))) / (select extract(epoch from '2026-07-08 20:05:22'::timestamp) - extract(epoch from '2026-07-08 20:05:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130153 -2.839357)', '2026-07-08 20:05:33', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130197 -2.839148)'), GeomFromEWKT('SRID=4674;POINT (-40.130153 -2.839357)'))) / (select extract(epoch from '2026-07-08 20:05:33'::timestamp) - extract(epoch from '2026-07-08 20:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130197 -2.839148)'), GeomFromEWKT('SRID=4674;POINT (-40.130153 -2.839357)'))) / (select extract(epoch from '2026-07-08 20:05:33'::timestamp) - extract(epoch from '2026-07-08 20:05:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.130112 -2.839615)', '2026-07-08 20:05:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130153 -2.839357)'), GeomFromEWKT('SRID=4674;POINT (-40.130112 -2.839615)'))) / (select extract(epoch from '2026-07-08 20:05:46'::timestamp) - extract(epoch from '2026-07-08 20:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130153 -2.839357)'), GeomFromEWKT('SRID=4674;POINT (-40.130112 -2.839615)'))) / (select extract(epoch from '2026-07-08 20:05:46'::timestamp) - extract(epoch from '2026-07-08 20:05: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'), 47631, 'SRID=4674;POINT (-40.130079 -2.839823)', '2026-07-08 20:05:57', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130112 -2.839615)'), GeomFromEWKT('SRID=4674;POINT (-40.130079 -2.839823)'))) / (select extract(epoch from '2026-07-08 20:05:57'::timestamp) - extract(epoch from '2026-07-08 20:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130112 -2.839615)'), GeomFromEWKT('SRID=4674;POINT (-40.130079 -2.839823)'))) / (select extract(epoch from '2026-07-08 20:05:57'::timestamp) - extract(epoch from '2026-07-08 20:05: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'), 47631, 'SRID=4674;POINT (-40.130036 -2.839976)', '2026-07-08 20:06:05', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130079 -2.839823)'), GeomFromEWKT('SRID=4674;POINT (-40.130036 -2.839976)'))) / (select extract(epoch from '2026-07-08 20:06:05'::timestamp) - extract(epoch from '2026-07-08 20:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130079 -2.839823)'), GeomFromEWKT('SRID=4674;POINT (-40.130036 -2.839976)'))) / (select extract(epoch from '2026-07-08 20:06:05'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.129949 -2.840205)', '2026-07-08 20:06:18', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130036 -2.839976)'), GeomFromEWKT('SRID=4674;POINT (-40.129949 -2.840205)'))) / (select extract(epoch from '2026-07-08 20:06:18'::timestamp) - extract(epoch from '2026-07-08 20:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130036 -2.839976)'), GeomFromEWKT('SRID=4674;POINT (-40.129949 -2.840205)'))) / (select extract(epoch from '2026-07-08 20:06:18'::timestamp) - extract(epoch from '2026-07-08 20:06: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'), 47631, 'SRID=4674;POINT (-40.129877 -2.840423)', '2026-07-08 20:06:30', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129949 -2.840205)'), GeomFromEWKT('SRID=4674;POINT (-40.129877 -2.840423)'))) / (select extract(epoch from '2026-07-08 20:06:30'::timestamp) - extract(epoch from '2026-07-08 20:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129949 -2.840205)'), GeomFromEWKT('SRID=4674;POINT (-40.129877 -2.840423)'))) / (select extract(epoch from '2026-07-08 20:06:30'::timestamp) - extract(epoch from '2026-07-08 20:06: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'), 47631, 'SRID=4674;POINT (-40.129826 -2.840639)', '2026-07-08 20:06:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129877 -2.840423)'), GeomFromEWKT('SRID=4674;POINT (-40.129826 -2.840639)'))) / (select extract(epoch from '2026-07-08 20:06:42'::timestamp) - extract(epoch from '2026-07-08 20:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129877 -2.840423)'), GeomFromEWKT('SRID=4674;POINT (-40.129826 -2.840639)'))) / (select extract(epoch from '2026-07-08 20:06:42'::timestamp) - extract(epoch from '2026-07-08 20:06:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129779 -2.840865)', '2026-07-08 20:06:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129826 -2.840639)'), GeomFromEWKT('SRID=4674;POINT (-40.129779 -2.840865)'))) / (select extract(epoch from '2026-07-08 20:06:56'::timestamp) - extract(epoch from '2026-07-08 20:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129826 -2.840639)'), GeomFromEWKT('SRID=4674;POINT (-40.129779 -2.840865)'))) / (select extract(epoch from '2026-07-08 20:06:56'::timestamp) - extract(epoch from '2026-07-08 20:06: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'), 47631, 'SRID=4674;POINT (-40.129758 -2.841031)', '2026-07-08 20:07:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129779 -2.840865)'), GeomFromEWKT('SRID=4674;POINT (-40.129758 -2.841031)'))) / (select extract(epoch from '2026-07-08 20:07:06'::timestamp) - extract(epoch from '2026-07-08 20:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129779 -2.840865)'), GeomFromEWKT('SRID=4674;POINT (-40.129758 -2.841031)'))) / (select extract(epoch from '2026-07-08 20:07:06'::timestamp) - extract(epoch from '2026-07-08 20:06:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129683 -2.841286)', '2026-07-08 20:07:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129758 -2.841031)'), GeomFromEWKT('SRID=4674;POINT (-40.129683 -2.841286)'))) / (select extract(epoch from '2026-07-08 20:07:20'::timestamp) - extract(epoch from '2026-07-08 20:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129758 -2.841031)'), GeomFromEWKT('SRID=4674;POINT (-40.129683 -2.841286)'))) / (select extract(epoch from '2026-07-08 20:07:20'::timestamp) - extract(epoch from '2026-07-08 20:07: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'), 47631, 'SRID=4674;POINT (-40.12953 -2.841577)', '2026-07-08 20:07:37', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129683 -2.841286)'), GeomFromEWKT('SRID=4674;POINT (-40.12953 -2.841577)'))) / (select extract(epoch from '2026-07-08 20:07:37'::timestamp) - extract(epoch from '2026-07-08 20:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129683 -2.841286)'), GeomFromEWKT('SRID=4674;POINT (-40.12953 -2.841577)'))) / (select extract(epoch from '2026-07-08 20:07:37'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.129426 -2.841788)', '2026-07-08 20:07:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12953 -2.841577)'), GeomFromEWKT('SRID=4674;POINT (-40.129426 -2.841788)'))) / (select extract(epoch from '2026-07-08 20:07:49'::timestamp) - extract(epoch from '2026-07-08 20:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12953 -2.841577)'), GeomFromEWKT('SRID=4674;POINT (-40.129426 -2.841788)'))) / (select extract(epoch from '2026-07-08 20:07:49'::timestamp) - extract(epoch from '2026-07-08 20:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.129302 -2.841993)', '2026-07-08 20:08:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129426 -2.841788)'), GeomFromEWKT('SRID=4674;POINT (-40.129302 -2.841993)'))) / (select extract(epoch from '2026-07-08 20:08:02'::timestamp) - extract(epoch from '2026-07-08 20:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129426 -2.841788)'), GeomFromEWKT('SRID=4674;POINT (-40.129302 -2.841993)'))) / (select extract(epoch from '2026-07-08 20:08:02'::timestamp) - extract(epoch from '2026-07-08 20:07: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'), 47631, 'SRID=4674;POINT (-40.129202 -2.842208)', '2026-07-08 20:08:15', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129302 -2.841993)'), GeomFromEWKT('SRID=4674;POINT (-40.129202 -2.842208)'))) / (select extract(epoch from '2026-07-08 20:08:15'::timestamp) - extract(epoch from '2026-07-08 20:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129302 -2.841993)'), GeomFromEWKT('SRID=4674;POINT (-40.129202 -2.842208)'))) / (select extract(epoch from '2026-07-08 20:08:15'::timestamp) - extract(epoch from '2026-07-08 20:08: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'), 47631, 'SRID=4674;POINT (-40.129082 -2.842466)', '2026-07-08 20:08:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129202 -2.842208)'), GeomFromEWKT('SRID=4674;POINT (-40.129082 -2.842466)'))) / (select extract(epoch from '2026-07-08 20:08:30'::timestamp) - extract(epoch from '2026-07-08 20:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129202 -2.842208)'), GeomFromEWKT('SRID=4674;POINT (-40.129082 -2.842466)'))) / (select extract(epoch from '2026-07-08 20:08:30'::timestamp) - extract(epoch from '2026-07-08 20:08:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.128967 -2.842723)', '2026-07-08 20:08:45', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129082 -2.842466)'), GeomFromEWKT('SRID=4674;POINT (-40.128967 -2.842723)'))) / (select extract(epoch from '2026-07-08 20:08:45'::timestamp) - extract(epoch from '2026-07-08 20:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129082 -2.842466)'), GeomFromEWKT('SRID=4674;POINT (-40.128967 -2.842723)'))) / (select extract(epoch from '2026-07-08 20:08:45'::timestamp) - extract(epoch from '2026-07-08 20:08: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'), 47631, 'SRID=4674;POINT (-40.128862 -2.842913)', '2026-07-08 20:08:57', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128967 -2.842723)'), GeomFromEWKT('SRID=4674;POINT (-40.128862 -2.842913)'))) / (select extract(epoch from '2026-07-08 20:08:57'::timestamp) - extract(epoch from '2026-07-08 20:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128967 -2.842723)'), GeomFromEWKT('SRID=4674;POINT (-40.128862 -2.842913)'))) / (select extract(epoch from '2026-07-08 20:08:57'::timestamp) - extract(epoch from '2026-07-08 20:08: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'), 47631, 'SRID=4674;POINT (-40.128787 -2.843086)', '2026-07-08 20:09:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128862 -2.842913)'), GeomFromEWKT('SRID=4674;POINT (-40.128787 -2.843086)'))) / (select extract(epoch from '2026-07-08 20:09:07'::timestamp) - extract(epoch from '2026-07-08 20:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128862 -2.842913)'), GeomFromEWKT('SRID=4674;POINT (-40.128787 -2.843086)'))) / (select extract(epoch from '2026-07-08 20:09:07'::timestamp) - extract(epoch from '2026-07-08 20:08: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'), 47631, 'SRID=4674;POINT (-40.12868 -2.843269)', '2026-07-08 20:09:18', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128787 -2.843086)'), GeomFromEWKT('SRID=4674;POINT (-40.12868 -2.843269)'))) / (select extract(epoch from '2026-07-08 20:09:18'::timestamp) - extract(epoch from '2026-07-08 20:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128787 -2.843086)'), GeomFromEWKT('SRID=4674;POINT (-40.12868 -2.843269)'))) / (select extract(epoch from '2026-07-08 20:09:18'::timestamp) - extract(epoch from '2026-07-08 20:09: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'), 47631, 'SRID=4674;POINT (-40.128569 -2.843478)', '2026-07-08 20:09:31', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12868 -2.843269)'), GeomFromEWKT('SRID=4674;POINT (-40.128569 -2.843478)'))) / (select extract(epoch from '2026-07-08 20:09:31'::timestamp) - extract(epoch from '2026-07-08 20:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12868 -2.843269)'), GeomFromEWKT('SRID=4674;POINT (-40.128569 -2.843478)'))) / (select extract(epoch from '2026-07-08 20:09:31'::timestamp) - extract(epoch from '2026-07-08 20:09:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.128455 -2.843662)', '2026-07-08 20:09:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128569 -2.843478)'), GeomFromEWKT('SRID=4674;POINT (-40.128455 -2.843662)'))) / (select extract(epoch from '2026-07-08 20:09:43'::timestamp) - extract(epoch from '2026-07-08 20:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128569 -2.843478)'), GeomFromEWKT('SRID=4674;POINT (-40.128455 -2.843662)'))) / (select extract(epoch from '2026-07-08 20:09:43'::timestamp) - extract(epoch from '2026-07-08 20:09: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'), 47631, 'SRID=4674;POINT (-40.128302 -2.84389)', '2026-07-08 20:09:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128455 -2.843662)'), GeomFromEWKT('SRID=4674;POINT (-40.128302 -2.84389)'))) / (select extract(epoch from '2026-07-08 20:09:58'::timestamp) - extract(epoch from '2026-07-08 20:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128455 -2.843662)'), GeomFromEWKT('SRID=4674;POINT (-40.128302 -2.84389)'))) / (select extract(epoch from '2026-07-08 20:09:58'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.128206 -2.844049)', '2026-07-08 20:10:08', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128302 -2.84389)'), GeomFromEWKT('SRID=4674;POINT (-40.128206 -2.844049)'))) / (select extract(epoch from '2026-07-08 20:10:08'::timestamp) - extract(epoch from '2026-07-08 20:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128302 -2.84389)'), GeomFromEWKT('SRID=4674;POINT (-40.128206 -2.844049)'))) / (select extract(epoch from '2026-07-08 20:10:08'::timestamp) - extract(epoch from '2026-07-08 20:09: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'), 47631, 'SRID=4674;POINT (-40.128115 -2.844193)', '2026-07-08 20:10:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128206 -2.844049)'), GeomFromEWKT('SRID=4674;POINT (-40.128115 -2.844193)'))) / (select extract(epoch from '2026-07-08 20:10:17'::timestamp) - extract(epoch from '2026-07-08 20:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128206 -2.844049)'), GeomFromEWKT('SRID=4674;POINT (-40.128115 -2.844193)'))) / (select extract(epoch from '2026-07-08 20:10:17'::timestamp) - extract(epoch from '2026-07-08 20:10: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'), 47631, 'SRID=4674;POINT (-40.128039 -2.844328)', '2026-07-08 20:10:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128115 -2.844193)'), GeomFromEWKT('SRID=4674;POINT (-40.128039 -2.844328)'))) / (select extract(epoch from '2026-07-08 20:10:26'::timestamp) - extract(epoch from '2026-07-08 20:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128115 -2.844193)'), GeomFromEWKT('SRID=4674;POINT (-40.128039 -2.844328)'))) / (select extract(epoch from '2026-07-08 20:10:26'::timestamp) - extract(epoch from '2026-07-08 20:10:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.127986 -2.844454)', '2026-07-08 20:10:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128039 -2.844328)'), GeomFromEWKT('SRID=4674;POINT (-40.127986 -2.844454)'))) / (select extract(epoch from '2026-07-08 20:10:34'::timestamp) - extract(epoch from '2026-07-08 20:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128039 -2.844328)'), GeomFromEWKT('SRID=4674;POINT (-40.127986 -2.844454)'))) / (select extract(epoch from '2026-07-08 20:10:34'::timestamp) - extract(epoch from '2026-07-08 20:10:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.127877 -2.844619)', '2026-07-08 20:10:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127986 -2.844454)'), GeomFromEWKT('SRID=4674;POINT (-40.127877 -2.844619)'))) / (select extract(epoch from '2026-07-08 20:10:45'::timestamp) - extract(epoch from '2026-07-08 20:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127986 -2.844454)'), GeomFromEWKT('SRID=4674;POINT (-40.127877 -2.844619)'))) / (select extract(epoch from '2026-07-08 20:10:45'::timestamp) - extract(epoch from '2026-07-08 20:10: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'), 47631, 'SRID=4674;POINT (-40.127745 -2.844818)', '2026-07-08 20:10:59', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127877 -2.844619)'), GeomFromEWKT('SRID=4674;POINT (-40.127745 -2.844818)'))) / (select extract(epoch from '2026-07-08 20:10:59'::timestamp) - extract(epoch from '2026-07-08 20:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127877 -2.844619)'), GeomFromEWKT('SRID=4674;POINT (-40.127745 -2.844818)'))) / (select extract(epoch from '2026-07-08 20:10:59'::timestamp) - extract(epoch from '2026-07-08 20:10: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'), 47631, 'SRID=4674;POINT (-40.127649 -2.844976)', '2026-07-08 20:11:10', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127745 -2.844818)'), GeomFromEWKT('SRID=4674;POINT (-40.127649 -2.844976)'))) / (select extract(epoch from '2026-07-08 20:11:10'::timestamp) - extract(epoch from '2026-07-08 20:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127745 -2.844818)'), GeomFromEWKT('SRID=4674;POINT (-40.127649 -2.844976)'))) / (select extract(epoch from '2026-07-08 20:11:10'::timestamp) - extract(epoch from '2026-07-08 20:10:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.127514 -2.845184)', '2026-07-08 20:11:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127649 -2.844976)'), GeomFromEWKT('SRID=4674;POINT (-40.127514 -2.845184)'))) / (select extract(epoch from '2026-07-08 20:11:25'::timestamp) - extract(epoch from '2026-07-08 20:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127649 -2.844976)'), GeomFromEWKT('SRID=4674;POINT (-40.127514 -2.845184)'))) / (select extract(epoch from '2026-07-08 20:11:25'::timestamp) - extract(epoch from '2026-07-08 20:11:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.127382 -2.845358)', '2026-07-08 20:11:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127514 -2.845184)'), GeomFromEWKT('SRID=4674;POINT (-40.127382 -2.845358)'))) / (select extract(epoch from '2026-07-08 20:11:38'::timestamp) - extract(epoch from '2026-07-08 20:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127514 -2.845184)'), GeomFromEWKT('SRID=4674;POINT (-40.127382 -2.845358)'))) / (select extract(epoch from '2026-07-08 20:11:38'::timestamp) - extract(epoch from '2026-07-08 20:11: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'), 47631, 'SRID=4674;POINT (-40.127248 -2.845579)', '2026-07-08 20:11:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127382 -2.845358)'), GeomFromEWKT('SRID=4674;POINT (-40.127248 -2.845579)'))) / (select extract(epoch from '2026-07-08 20:11:54'::timestamp) - extract(epoch from '2026-07-08 20:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127382 -2.845358)'), GeomFromEWKT('SRID=4674;POINT (-40.127248 -2.845579)'))) / (select extract(epoch from '2026-07-08 20:11:54'::timestamp) - extract(epoch from '2026-07-08 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'), 47631, 'SRID=4674;POINT (-40.127172 -2.845777)', '2026-07-08 20:12:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127248 -2.845579)'), GeomFromEWKT('SRID=4674;POINT (-40.127172 -2.845777)'))) / (select extract(epoch from '2026-07-08 20:12:07'::timestamp) - extract(epoch from '2026-07-08 20:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127248 -2.845579)'), GeomFromEWKT('SRID=4674;POINT (-40.127172 -2.845777)'))) / (select extract(epoch from '2026-07-08 20:12:07'::timestamp) - extract(epoch from '2026-07-08 20:11: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'), 47631, 'SRID=4674;POINT (-40.127117 -2.845988)', '2026-07-08 20:12:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127172 -2.845777)'), GeomFromEWKT('SRID=4674;POINT (-40.127117 -2.845988)'))) / (select extract(epoch from '2026-07-08 20:12:20'::timestamp) - extract(epoch from '2026-07-08 20:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127172 -2.845777)'), GeomFromEWKT('SRID=4674;POINT (-40.127117 -2.845988)'))) / (select extract(epoch from '2026-07-08 20:12:20'::timestamp) - extract(epoch from '2026-07-08 20:12: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'), 47631, 'SRID=4674;POINT (-40.127085 -2.846182)', '2026-07-08 20:12:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127117 -2.845988)'), GeomFromEWKT('SRID=4674;POINT (-40.127085 -2.846182)'))) / (select extract(epoch from '2026-07-08 20:12:32'::timestamp) - extract(epoch from '2026-07-08 20:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127117 -2.845988)'), GeomFromEWKT('SRID=4674;POINT (-40.127085 -2.846182)'))) / (select extract(epoch from '2026-07-08 20:12:32'::timestamp) - extract(epoch from '2026-07-08 20:12: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'), 47631, 'SRID=4674;POINT (-40.127052 -2.846348)', '2026-07-08 20:12:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127085 -2.846182)'), GeomFromEWKT('SRID=4674;POINT (-40.127052 -2.846348)'))) / (select extract(epoch from '2026-07-08 20:12:43'::timestamp) - extract(epoch from '2026-07-08 20:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127085 -2.846182)'), GeomFromEWKT('SRID=4674;POINT (-40.127052 -2.846348)'))) / (select extract(epoch from '2026-07-08 20:12:43'::timestamp) - extract(epoch from '2026-07-08 20:12:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.127009 -2.846513)', '2026-07-08 20:12:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127052 -2.846348)'), GeomFromEWKT('SRID=4674;POINT (-40.127009 -2.846513)'))) / (select extract(epoch from '2026-07-08 20:12:54'::timestamp) - extract(epoch from '2026-07-08 20:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127052 -2.846348)'), GeomFromEWKT('SRID=4674;POINT (-40.127009 -2.846513)'))) / (select extract(epoch from '2026-07-08 20:12:54'::timestamp) - extract(epoch from '2026-07-08 20:12:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.126982 -2.846682)', '2026-07-08 20:13:05', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127009 -2.846513)'), GeomFromEWKT('SRID=4674;POINT (-40.126982 -2.846682)'))) / (select extract(epoch from '2026-07-08 20:13:05'::timestamp) - extract(epoch from '2026-07-08 20:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127009 -2.846513)'), GeomFromEWKT('SRID=4674;POINT (-40.126982 -2.846682)'))) / (select extract(epoch from '2026-07-08 20:13:05'::timestamp) - extract(epoch from '2026-07-08 20:12: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'), 47631, 'SRID=4674;POINT (-40.126977 -2.846831)', '2026-07-08 20:13:15', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126982 -2.846682)'), GeomFromEWKT('SRID=4674;POINT (-40.126977 -2.846831)'))) / (select extract(epoch from '2026-07-08 20:13:15'::timestamp) - extract(epoch from '2026-07-08 20:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126982 -2.846682)'), GeomFromEWKT('SRID=4674;POINT (-40.126977 -2.846831)'))) / (select extract(epoch from '2026-07-08 20:13:15'::timestamp) - extract(epoch from '2026-07-08 20:13: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'), 47631, 'SRID=4674;POINT (-40.126973 -2.846993)', '2026-07-08 20:13:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126977 -2.846831)'), GeomFromEWKT('SRID=4674;POINT (-40.126973 -2.846993)'))) / (select extract(epoch from '2026-07-08 20:13:27'::timestamp) - extract(epoch from '2026-07-08 20:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126977 -2.846831)'), GeomFromEWKT('SRID=4674;POINT (-40.126973 -2.846993)'))) / (select extract(epoch from '2026-07-08 20:13:27'::timestamp) - extract(epoch from '2026-07-08 20:13: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'), 47631, 'SRID=4674;POINT (-40.126946 -2.847159)', '2026-07-08 20:13:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126973 -2.846993)'), GeomFromEWKT('SRID=4674;POINT (-40.126946 -2.847159)'))) / (select extract(epoch from '2026-07-08 20:13:40'::timestamp) - extract(epoch from '2026-07-08 20:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126973 -2.846993)'), GeomFromEWKT('SRID=4674;POINT (-40.126946 -2.847159)'))) / (select extract(epoch from '2026-07-08 20:13:40'::timestamp) - extract(epoch from '2026-07-08 20:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
