 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022202 -2.787862)', '2026-07-13 07:42:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02223 -2.787946)'), GeomFromEWKT('SRID=4674;POINT (-40.022202 -2.787862)'))) / (select extract(epoch from '2026-07-13 07:42:25'::timestamp) - extract(epoch from '2026-07-13 07:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02223 -2.787946)'), GeomFromEWKT('SRID=4674;POINT (-40.022202 -2.787862)'))) / (select extract(epoch from '2026-07-13 07:42:25'::timestamp) - extract(epoch from '2026-07-13 07:42: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'), 47628, 'SRID=4674;POINT (-40.022195 -2.787824)', '2026-07-13 07:42:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022202 -2.787862)'), GeomFromEWKT('SRID=4674;POINT (-40.022195 -2.787824)'))) / (select extract(epoch from '2026-07-13 07:42:27'::timestamp) - extract(epoch from '2026-07-13 07:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022202 -2.787862)'), GeomFromEWKT('SRID=4674;POINT (-40.022195 -2.787824)'))) / (select extract(epoch from '2026-07-13 07:42:27'::timestamp) - extract(epoch from '2026-07-13 07:42:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022177 -2.787794)', '2026-07-13 07:42:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022195 -2.787824)'), GeomFromEWKT('SRID=4674;POINT (-40.022177 -2.787794)'))) / (select extract(epoch from '2026-07-13 07:42:29'::timestamp) - extract(epoch from '2026-07-13 07:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022195 -2.787824)'), GeomFromEWKT('SRID=4674;POINT (-40.022177 -2.787794)'))) / (select extract(epoch from '2026-07-13 07:42:29'::timestamp) - extract(epoch from '2026-07-13 07:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022145 -2.787762)', '2026-07-13 07:42:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022177 -2.787794)'), GeomFromEWKT('SRID=4674;POINT (-40.022145 -2.787762)'))) / (select extract(epoch from '2026-07-13 07:42:32'::timestamp) - extract(epoch from '2026-07-13 07:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022177 -2.787794)'), GeomFromEWKT('SRID=4674;POINT (-40.022145 -2.787762)'))) / (select extract(epoch from '2026-07-13 07:42:32'::timestamp) - extract(epoch from '2026-07-13 07:42: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'), 47628, 'SRID=4674;POINT (-40.022118 -2.787723)', '2026-07-13 07:42:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022145 -2.787762)'), GeomFromEWKT('SRID=4674;POINT (-40.022118 -2.787723)'))) / (select extract(epoch from '2026-07-13 07:42:35'::timestamp) - extract(epoch from '2026-07-13 07:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022145 -2.787762)'), GeomFromEWKT('SRID=4674;POINT (-40.022118 -2.787723)'))) / (select extract(epoch from '2026-07-13 07:42:35'::timestamp) - extract(epoch from '2026-07-13 07:42: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'), 47628, 'SRID=4674;POINT (-40.022063 -2.787637)', '2026-07-13 07:42:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022118 -2.787723)'), GeomFromEWKT('SRID=4674;POINT (-40.022063 -2.787637)'))) / (select extract(epoch from '2026-07-13 07:42:42'::timestamp) - extract(epoch from '2026-07-13 07:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022118 -2.787723)'), GeomFromEWKT('SRID=4674;POINT (-40.022063 -2.787637)'))) / (select extract(epoch from '2026-07-13 07:42:42'::timestamp) - extract(epoch from '2026-07-13 07:42: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'), 47628, 'SRID=4674;POINT (-40.022049 -2.787618)', '2026-07-13 07:42:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022063 -2.787637)'), GeomFromEWKT('SRID=4674;POINT (-40.022049 -2.787618)'))) / (select extract(epoch from '2026-07-13 07:42:44'::timestamp) - extract(epoch from '2026-07-13 07:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022063 -2.787637)'), GeomFromEWKT('SRID=4674;POINT (-40.022049 -2.787618)'))) / (select extract(epoch from '2026-07-13 07:42:44'::timestamp) - extract(epoch from '2026-07-13 07:42:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022031 -2.787584)', '2026-07-13 07:42:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022049 -2.787618)'), GeomFromEWKT('SRID=4674;POINT (-40.022031 -2.787584)'))) / (select extract(epoch from '2026-07-13 07:42:47'::timestamp) - extract(epoch from '2026-07-13 07:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022049 -2.787618)'), GeomFromEWKT('SRID=4674;POINT (-40.022031 -2.787584)'))) / (select extract(epoch from '2026-07-13 07:42:47'::timestamp) - extract(epoch from '2026-07-13 07:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021992 -2.787493)', '2026-07-13 07:42:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022031 -2.787584)'), GeomFromEWKT('SRID=4674;POINT (-40.021992 -2.787493)'))) / (select extract(epoch from '2026-07-13 07:42:53'::timestamp) - extract(epoch from '2026-07-13 07:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022031 -2.787584)'), GeomFromEWKT('SRID=4674;POINT (-40.021992 -2.787493)'))) / (select extract(epoch from '2026-07-13 07:42:53'::timestamp) - extract(epoch from '2026-07-13 07:42: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'), 47628, 'SRID=4674;POINT (-40.021952 -2.787409)', '2026-07-13 07:42:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021992 -2.787493)'), GeomFromEWKT('SRID=4674;POINT (-40.021952 -2.787409)'))) / (select extract(epoch from '2026-07-13 07:42:59'::timestamp) - extract(epoch from '2026-07-13 07:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021992 -2.787493)'), GeomFromEWKT('SRID=4674;POINT (-40.021952 -2.787409)'))) / (select extract(epoch from '2026-07-13 07:42:59'::timestamp) - extract(epoch from '2026-07-13 07:42: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'), 47628, 'SRID=4674;POINT (-40.021898 -2.787328)', '2026-07-13 07:43:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021952 -2.787409)'), GeomFromEWKT('SRID=4674;POINT (-40.021898 -2.787328)'))) / (select extract(epoch from '2026-07-13 07:43:05'::timestamp) - extract(epoch from '2026-07-13 07:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021952 -2.787409)'), GeomFromEWKT('SRID=4674;POINT (-40.021898 -2.787328)'))) / (select extract(epoch from '2026-07-13 07:43:05'::timestamp) - extract(epoch from '2026-07-13 07:42: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'), 47628, 'SRID=4674;POINT (-40.021865 -2.787303)', '2026-07-13 07:43:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021898 -2.787328)'), GeomFromEWKT('SRID=4674;POINT (-40.021865 -2.787303)'))) / (select extract(epoch from '2026-07-13 07:43:08'::timestamp) - extract(epoch from '2026-07-13 07:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021898 -2.787328)'), GeomFromEWKT('SRID=4674;POINT (-40.021865 -2.787303)'))) / (select extract(epoch from '2026-07-13 07:43:08'::timestamp) - extract(epoch from '2026-07-13 07:43: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'), 47628, 'SRID=4674;POINT (-40.021839 -2.787294)', '2026-07-13 07:43:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021865 -2.787303)'), GeomFromEWKT('SRID=4674;POINT (-40.021839 -2.787294)'))) / (select extract(epoch from '2026-07-13 07:43:10'::timestamp) - extract(epoch from '2026-07-13 07:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021865 -2.787303)'), GeomFromEWKT('SRID=4674;POINT (-40.021839 -2.787294)'))) / (select extract(epoch from '2026-07-13 07:43:10'::timestamp) - extract(epoch from '2026-07-13 07:43: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'), 47628, 'SRID=4674;POINT (-40.021813 -2.787264)', '2026-07-13 07:43:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021839 -2.787294)'), GeomFromEWKT('SRID=4674;POINT (-40.021813 -2.787264)'))) / (select extract(epoch from '2026-07-13 07:43:13'::timestamp) - extract(epoch from '2026-07-13 07:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021839 -2.787294)'), GeomFromEWKT('SRID=4674;POINT (-40.021813 -2.787264)'))) / (select extract(epoch from '2026-07-13 07:43:13'::timestamp) - extract(epoch from '2026-07-13 07:43: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'), 47628, 'SRID=4674;POINT (-40.0218 -2.787245)', '2026-07-13 07:43:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021813 -2.787264)'), GeomFromEWKT('SRID=4674;POINT (-40.0218 -2.787245)'))) / (select extract(epoch from '2026-07-13 07:43:15'::timestamp) - extract(epoch from '2026-07-13 07:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021813 -2.787264)'), GeomFromEWKT('SRID=4674;POINT (-40.0218 -2.787245)'))) / (select extract(epoch from '2026-07-13 07:43:15'::timestamp) - extract(epoch from '2026-07-13 07:43:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021766 -2.787171)', '2026-07-13 07:43:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0218 -2.787245)'), GeomFromEWKT('SRID=4674;POINT (-40.021766 -2.787171)'))) / (select extract(epoch from '2026-07-13 07:43:21'::timestamp) - extract(epoch from '2026-07-13 07:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0218 -2.787245)'), GeomFromEWKT('SRID=4674;POINT (-40.021766 -2.787171)'))) / (select extract(epoch from '2026-07-13 07:43:21'::timestamp) - extract(epoch from '2026-07-13 07:43: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'), 47628, 'SRID=4674;POINT (-40.021759 -2.787159)', '2026-07-13 07:43:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021766 -2.787171)'), GeomFromEWKT('SRID=4674;POINT (-40.021759 -2.787159)'))) / (select extract(epoch from '2026-07-13 07:43:22'::timestamp) - extract(epoch from '2026-07-13 07:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021766 -2.787171)'), GeomFromEWKT('SRID=4674;POINT (-40.021759 -2.787159)'))) / (select extract(epoch from '2026-07-13 07:43:22'::timestamp) - extract(epoch from '2026-07-13 07:43: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'), 47628, 'SRID=4674;POINT (-40.021729 -2.787111)', '2026-07-13 07:43:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021759 -2.787159)'), GeomFromEWKT('SRID=4674;POINT (-40.021729 -2.787111)'))) / (select extract(epoch from '2026-07-13 07:43:26'::timestamp) - extract(epoch from '2026-07-13 07:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021759 -2.787159)'), GeomFromEWKT('SRID=4674;POINT (-40.021729 -2.787111)'))) / (select extract(epoch from '2026-07-13 07:43:26'::timestamp) - extract(epoch from '2026-07-13 07:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02168 -2.787008)', '2026-07-13 07:43:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021729 -2.787111)'), GeomFromEWKT('SRID=4674;POINT (-40.02168 -2.787008)'))) / (select extract(epoch from '2026-07-13 07:43:33'::timestamp) - extract(epoch from '2026-07-13 07:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021729 -2.787111)'), GeomFromEWKT('SRID=4674;POINT (-40.02168 -2.787008)'))) / (select extract(epoch from '2026-07-13 07:43:33'::timestamp) - extract(epoch from '2026-07-13 07:43: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'), 47628, 'SRID=4674;POINT (-40.021656 -2.786923)', '2026-07-13 07:43:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02168 -2.787008)'), GeomFromEWKT('SRID=4674;POINT (-40.021656 -2.786923)'))) / (select extract(epoch from '2026-07-13 07:43:38'::timestamp) - extract(epoch from '2026-07-13 07:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02168 -2.787008)'), GeomFromEWKT('SRID=4674;POINT (-40.021656 -2.786923)'))) / (select extract(epoch from '2026-07-13 07:43:38'::timestamp) - extract(epoch from '2026-07-13 07:43: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'), 47628, 'SRID=4674;POINT (-40.021639 -2.786831)', '2026-07-13 07:43:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021656 -2.786923)'), GeomFromEWKT('SRID=4674;POINT (-40.021639 -2.786831)'))) / (select extract(epoch from '2026-07-13 07:43:43'::timestamp) - extract(epoch from '2026-07-13 07:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021656 -2.786923)'), GeomFromEWKT('SRID=4674;POINT (-40.021639 -2.786831)'))) / (select extract(epoch from '2026-07-13 07:43:43'::timestamp) - extract(epoch from '2026-07-13 07:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02161 -2.786727)', '2026-07-13 07:43:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021639 -2.786831)'), GeomFromEWKT('SRID=4674;POINT (-40.02161 -2.786727)'))) / (select extract(epoch from '2026-07-13 07:43:49'::timestamp) - extract(epoch from '2026-07-13 07:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021639 -2.786831)'), GeomFromEWKT('SRID=4674;POINT (-40.02161 -2.786727)'))) / (select extract(epoch from '2026-07-13 07:43:49'::timestamp) - extract(epoch from '2026-07-13 07:43: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'), 47628, 'SRID=4674;POINT (-40.021572 -2.786621)', '2026-07-13 07:43:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02161 -2.786727)'), GeomFromEWKT('SRID=4674;POINT (-40.021572 -2.786621)'))) / (select extract(epoch from '2026-07-13 07:43:56'::timestamp) - extract(epoch from '2026-07-13 07:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02161 -2.786727)'), GeomFromEWKT('SRID=4674;POINT (-40.021572 -2.786621)'))) / (select extract(epoch from '2026-07-13 07:43:56'::timestamp) - extract(epoch from '2026-07-13 07:43: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'), 47628, 'SRID=4674;POINT (-40.021535 -2.786547)', '2026-07-13 07:44:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021572 -2.786621)'), GeomFromEWKT('SRID=4674;POINT (-40.021535 -2.786547)'))) / (select extract(epoch from '2026-07-13 07:44:01'::timestamp) - extract(epoch from '2026-07-13 07:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021572 -2.786621)'), GeomFromEWKT('SRID=4674;POINT (-40.021535 -2.786547)'))) / (select extract(epoch from '2026-07-13 07:44:01'::timestamp) - extract(epoch from '2026-07-13 07:43:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021491 -2.786455)', '2026-07-13 07:44:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021535 -2.786547)'), GeomFromEWKT('SRID=4674;POINT (-40.021491 -2.786455)'))) / (select extract(epoch from '2026-07-13 07:44:07'::timestamp) - extract(epoch from '2026-07-13 07:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021535 -2.786547)'), GeomFromEWKT('SRID=4674;POINT (-40.021491 -2.786455)'))) / (select extract(epoch from '2026-07-13 07:44:07'::timestamp) - extract(epoch from '2026-07-13 07:44: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'), 47628, 'SRID=4674;POINT (-40.021456 -2.786349)', '2026-07-13 07:44:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021491 -2.786455)'), GeomFromEWKT('SRID=4674;POINT (-40.021456 -2.786349)'))) / (select extract(epoch from '2026-07-13 07:44:13'::timestamp) - extract(epoch from '2026-07-13 07:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021491 -2.786455)'), GeomFromEWKT('SRID=4674;POINT (-40.021456 -2.786349)'))) / (select extract(epoch from '2026-07-13 07:44:13'::timestamp) - extract(epoch from '2026-07-13 07:44: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'), 47628, 'SRID=4674;POINT (-40.021421 -2.786228)', '2026-07-13 07:44:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021456 -2.786349)'), GeomFromEWKT('SRID=4674;POINT (-40.021421 -2.786228)'))) / (select extract(epoch from '2026-07-13 07:44:20'::timestamp) - extract(epoch from '2026-07-13 07:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021456 -2.786349)'), GeomFromEWKT('SRID=4674;POINT (-40.021421 -2.786228)'))) / (select extract(epoch from '2026-07-13 07:44:20'::timestamp) - extract(epoch from '2026-07-13 07:44: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'), 47628, 'SRID=4674;POINT (-40.021362 -2.786104)', '2026-07-13 07:44:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021421 -2.786228)'), GeomFromEWKT('SRID=4674;POINT (-40.021362 -2.786104)'))) / (select extract(epoch from '2026-07-13 07:44:28'::timestamp) - extract(epoch from '2026-07-13 07:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021421 -2.786228)'), GeomFromEWKT('SRID=4674;POINT (-40.021362 -2.786104)'))) / (select extract(epoch from '2026-07-13 07:44:28'::timestamp) - extract(epoch from '2026-07-13 07:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021306 -2.785988)', '2026-07-13 07:44:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021362 -2.786104)'), GeomFromEWKT('SRID=4674;POINT (-40.021306 -2.785988)'))) / (select extract(epoch from '2026-07-13 07:44:35'::timestamp) - extract(epoch from '2026-07-13 07:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021362 -2.786104)'), GeomFromEWKT('SRID=4674;POINT (-40.021306 -2.785988)'))) / (select extract(epoch from '2026-07-13 07:44:35'::timestamp) - extract(epoch from '2026-07-13 07:44: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'), 47628, 'SRID=4674;POINT (-40.021283 -2.785859)', '2026-07-13 07:44:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021306 -2.785988)'), GeomFromEWKT('SRID=4674;POINT (-40.021283 -2.785859)'))) / (select extract(epoch from '2026-07-13 07:44:42'::timestamp) - extract(epoch from '2026-07-13 07:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021306 -2.785988)'), GeomFromEWKT('SRID=4674;POINT (-40.021283 -2.785859)'))) / (select extract(epoch from '2026-07-13 07:44:42'::timestamp) - extract(epoch from '2026-07-13 07:44: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'), 47628, 'SRID=4674;POINT (-40.021262 -2.785723)', '2026-07-13 07:44:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021283 -2.785859)'), GeomFromEWKT('SRID=4674;POINT (-40.021262 -2.785723)'))) / (select extract(epoch from '2026-07-13 07:44:49'::timestamp) - extract(epoch from '2026-07-13 07:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021283 -2.785859)'), GeomFromEWKT('SRID=4674;POINT (-40.021262 -2.785723)'))) / (select extract(epoch from '2026-07-13 07:44:49'::timestamp) - extract(epoch from '2026-07-13 07:44: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'), 47628, 'SRID=4674;POINT (-40.02125 -2.785607)', '2026-07-13 07:44:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021262 -2.785723)'), GeomFromEWKT('SRID=4674;POINT (-40.02125 -2.785607)'))) / (select extract(epoch from '2026-07-13 07:44:55'::timestamp) - extract(epoch from '2026-07-13 07:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021262 -2.785723)'), GeomFromEWKT('SRID=4674;POINT (-40.02125 -2.785607)'))) / (select extract(epoch from '2026-07-13 07:44:55'::timestamp) - extract(epoch from '2026-07-13 07:44: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'), 47628, 'SRID=4674;POINT (-40.021236 -2.785474)', '2026-07-13 07:45:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02125 -2.785607)'), GeomFromEWKT('SRID=4674;POINT (-40.021236 -2.785474)'))) / (select extract(epoch from '2026-07-13 07:45:02'::timestamp) - extract(epoch from '2026-07-13 07:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02125 -2.785607)'), GeomFromEWKT('SRID=4674;POINT (-40.021236 -2.785474)'))) / (select extract(epoch from '2026-07-13 07:45:02'::timestamp) - extract(epoch from '2026-07-13 07:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021215 -2.785382)', '2026-07-13 07:45:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021236 -2.785474)'), GeomFromEWKT('SRID=4674;POINT (-40.021215 -2.785382)'))) / (select extract(epoch from '2026-07-13 07:45:07'::timestamp) - extract(epoch from '2026-07-13 07:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021236 -2.785474)'), GeomFromEWKT('SRID=4674;POINT (-40.021215 -2.785382)'))) / (select extract(epoch from '2026-07-13 07:45:07'::timestamp) - extract(epoch from '2026-07-13 07:45:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021183 -2.785294)', '2026-07-13 07:45:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021215 -2.785382)'), GeomFromEWKT('SRID=4674;POINT (-40.021183 -2.785294)'))) / (select extract(epoch from '2026-07-13 07:45:12'::timestamp) - extract(epoch from '2026-07-13 07:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021215 -2.785382)'), GeomFromEWKT('SRID=4674;POINT (-40.021183 -2.785294)'))) / (select extract(epoch from '2026-07-13 07:45:12'::timestamp) - extract(epoch from '2026-07-13 07:45: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'), 47628, 'SRID=4674;POINT (-40.021148 -2.785215)', '2026-07-13 07:45:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021183 -2.785294)'), GeomFromEWKT('SRID=4674;POINT (-40.021148 -2.785215)'))) / (select extract(epoch from '2026-07-13 07:45:17'::timestamp) - extract(epoch from '2026-07-13 07:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021183 -2.785294)'), GeomFromEWKT('SRID=4674;POINT (-40.021148 -2.785215)'))) / (select extract(epoch from '2026-07-13 07:45:17'::timestamp) - extract(epoch from '2026-07-13 07:45:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021107 -2.785119)', '2026-07-13 07:45:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021148 -2.785215)'), GeomFromEWKT('SRID=4674;POINT (-40.021107 -2.785119)'))) / (select extract(epoch from '2026-07-13 07:45:24'::timestamp) - extract(epoch from '2026-07-13 07:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021148 -2.785215)'), GeomFromEWKT('SRID=4674;POINT (-40.021107 -2.785119)'))) / (select extract(epoch from '2026-07-13 07:45:24'::timestamp) - extract(epoch from '2026-07-13 07:45:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021076 -2.785047)', '2026-07-13 07:45:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021107 -2.785119)'), GeomFromEWKT('SRID=4674;POINT (-40.021076 -2.785047)'))) / (select extract(epoch from '2026-07-13 07:45:29'::timestamp) - extract(epoch from '2026-07-13 07:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021107 -2.785119)'), GeomFromEWKT('SRID=4674;POINT (-40.021076 -2.785047)'))) / (select extract(epoch from '2026-07-13 07:45:29'::timestamp) - extract(epoch from '2026-07-13 07:45:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021042 -2.784962)', '2026-07-13 07:45:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021076 -2.785047)'), GeomFromEWKT('SRID=4674;POINT (-40.021042 -2.784962)'))) / (select extract(epoch from '2026-07-13 07:45:34'::timestamp) - extract(epoch from '2026-07-13 07:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021076 -2.785047)'), GeomFromEWKT('SRID=4674;POINT (-40.021042 -2.784962)'))) / (select extract(epoch from '2026-07-13 07:45:34'::timestamp) - extract(epoch from '2026-07-13 07:45: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'), 47628, 'SRID=4674;POINT (-40.021024 -2.784873)', '2026-07-13 07:45:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021042 -2.784962)'), GeomFromEWKT('SRID=4674;POINT (-40.021024 -2.784873)'))) / (select extract(epoch from '2026-07-13 07:45:39'::timestamp) - extract(epoch from '2026-07-13 07:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021042 -2.784962)'), GeomFromEWKT('SRID=4674;POINT (-40.021024 -2.784873)'))) / (select extract(epoch from '2026-07-13 07:45:39'::timestamp) - extract(epoch from '2026-07-13 07:45: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'), 47628, 'SRID=4674;POINT (-40.020995 -2.784747)', '2026-07-13 07:45:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021024 -2.784873)'), GeomFromEWKT('SRID=4674;POINT (-40.020995 -2.784747)'))) / (select extract(epoch from '2026-07-13 07:45:46'::timestamp) - extract(epoch from '2026-07-13 07:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021024 -2.784873)'), GeomFromEWKT('SRID=4674;POINT (-40.020995 -2.784747)'))) / (select extract(epoch from '2026-07-13 07:45:46'::timestamp) - extract(epoch from '2026-07-13 07:45: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'), 47628, 'SRID=4674;POINT (-40.020965 -2.784664)', '2026-07-13 07:45:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020995 -2.784747)'), GeomFromEWKT('SRID=4674;POINT (-40.020965 -2.784664)'))) / (select extract(epoch from '2026-07-13 07:45:51'::timestamp) - extract(epoch from '2026-07-13 07:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020995 -2.784747)'), GeomFromEWKT('SRID=4674;POINT (-40.020965 -2.784664)'))) / (select extract(epoch from '2026-07-13 07:45:51'::timestamp) - extract(epoch from '2026-07-13 07:45: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'), 47628, 'SRID=4674;POINT (-40.020941 -2.784569)', '2026-07-13 07:45:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020965 -2.784664)'), GeomFromEWKT('SRID=4674;POINT (-40.020941 -2.784569)'))) / (select extract(epoch from '2026-07-13 07:45:57'::timestamp) - extract(epoch from '2026-07-13 07:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020965 -2.784664)'), GeomFromEWKT('SRID=4674;POINT (-40.020941 -2.784569)'))) / (select extract(epoch from '2026-07-13 07:45:57'::timestamp) - extract(epoch from '2026-07-13 07:45: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'), 47628, 'SRID=4674;POINT (-40.020933 -2.784533)', '2026-07-13 07:45:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020941 -2.784569)'), GeomFromEWKT('SRID=4674;POINT (-40.020933 -2.784533)'))) / (select extract(epoch from '2026-07-13 07:45:59'::timestamp) - extract(epoch from '2026-07-13 07:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020941 -2.784569)'), GeomFromEWKT('SRID=4674;POINT (-40.020933 -2.784533)'))) / (select extract(epoch from '2026-07-13 07:45:59'::timestamp) - extract(epoch from '2026-07-13 07:45: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'), 47628, 'SRID=4674;POINT (-40.020926 -2.784475)', '2026-07-13 07:46:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020933 -2.784533)'), GeomFromEWKT('SRID=4674;POINT (-40.020926 -2.784475)'))) / (select extract(epoch from '2026-07-13 07:46:02'::timestamp) - extract(epoch from '2026-07-13 07:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020933 -2.784533)'), GeomFromEWKT('SRID=4674;POINT (-40.020926 -2.784475)'))) / (select extract(epoch from '2026-07-13 07:46:02'::timestamp) - extract(epoch from '2026-07-13 07:45:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020906 -2.784361)', '2026-07-13 07:46:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020926 -2.784475)'), GeomFromEWKT('SRID=4674;POINT (-40.020906 -2.784361)'))) / (select extract(epoch from '2026-07-13 07:46:08'::timestamp) - extract(epoch from '2026-07-13 07:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020926 -2.784475)'), GeomFromEWKT('SRID=4674;POINT (-40.020906 -2.784361)'))) / (select extract(epoch from '2026-07-13 07:46:08'::timestamp) - extract(epoch from '2026-07-13 07:46: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'), 47628, 'SRID=4674;POINT (-40.020889 -2.784203)', '2026-07-13 07:46:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020906 -2.784361)'), GeomFromEWKT('SRID=4674;POINT (-40.020889 -2.784203)'))) / (select extract(epoch from '2026-07-13 07:46:16'::timestamp) - extract(epoch from '2026-07-13 07:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020906 -2.784361)'), GeomFromEWKT('SRID=4674;POINT (-40.020889 -2.784203)'))) / (select extract(epoch from '2026-07-13 07:46:16'::timestamp) - extract(epoch from '2026-07-13 07:46: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'), 47628, 'SRID=4674;POINT (-40.020874 -2.784069)', '2026-07-13 07:46:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020889 -2.784203)'), GeomFromEWKT('SRID=4674;POINT (-40.020874 -2.784069)'))) / (select extract(epoch from '2026-07-13 07:46:23'::timestamp) - extract(epoch from '2026-07-13 07:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020889 -2.784203)'), GeomFromEWKT('SRID=4674;POINT (-40.020874 -2.784069)'))) / (select extract(epoch from '2026-07-13 07:46:23'::timestamp) - extract(epoch from '2026-07-13 07:46: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'), 47628, 'SRID=4674;POINT (-40.020897 -2.783946)', '2026-07-13 07:46:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020874 -2.784069)'), GeomFromEWKT('SRID=4674;POINT (-40.020897 -2.783946)'))) / (select extract(epoch from '2026-07-13 07:46:29'::timestamp) - extract(epoch from '2026-07-13 07:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020874 -2.784069)'), GeomFromEWKT('SRID=4674;POINT (-40.020897 -2.783946)'))) / (select extract(epoch from '2026-07-13 07:46:29'::timestamp) - extract(epoch from '2026-07-13 07:46: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'), 47628, 'SRID=4674;POINT (-40.020934 -2.783827)', '2026-07-13 07:46:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020897 -2.783946)'), GeomFromEWKT('SRID=4674;POINT (-40.020934 -2.783827)'))) / (select extract(epoch from '2026-07-13 07:46:35'::timestamp) - extract(epoch from '2026-07-13 07:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020897 -2.783946)'), GeomFromEWKT('SRID=4674;POINT (-40.020934 -2.783827)'))) / (select extract(epoch from '2026-07-13 07:46:35'::timestamp) - extract(epoch from '2026-07-13 07:46: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'), 47628, 'SRID=4674;POINT (-40.020974 -2.783682)', '2026-07-13 07:46:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020934 -2.783827)'), GeomFromEWKT('SRID=4674;POINT (-40.020974 -2.783682)'))) / (select extract(epoch from '2026-07-13 07:46:42'::timestamp) - extract(epoch from '2026-07-13 07:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020934 -2.783827)'), GeomFromEWKT('SRID=4674;POINT (-40.020974 -2.783682)'))) / (select extract(epoch from '2026-07-13 07:46:42'::timestamp) - extract(epoch from '2026-07-13 07:46:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020997 -2.78352)', '2026-07-13 07:46:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020974 -2.783682)'), GeomFromEWKT('SRID=4674;POINT (-40.020997 -2.78352)'))) / (select extract(epoch from '2026-07-13 07:46:50'::timestamp) - extract(epoch from '2026-07-13 07:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020974 -2.783682)'), GeomFromEWKT('SRID=4674;POINT (-40.020997 -2.78352)'))) / (select extract(epoch from '2026-07-13 07:46:50'::timestamp) - extract(epoch from '2026-07-13 07:46:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021007 -2.783373)', '2026-07-13 07:46:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020997 -2.78352)'), GeomFromEWKT('SRID=4674;POINT (-40.021007 -2.783373)'))) / (select extract(epoch from '2026-07-13 07:46:57'::timestamp) - extract(epoch from '2026-07-13 07:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020997 -2.78352)'), GeomFromEWKT('SRID=4674;POINT (-40.021007 -2.783373)'))) / (select extract(epoch from '2026-07-13 07:46:57'::timestamp) - extract(epoch from '2026-07-13 07:46: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'), 47628, 'SRID=4674;POINT (-40.021033 -2.78327)', '2026-07-13 07:47:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021007 -2.783373)'), GeomFromEWKT('SRID=4674;POINT (-40.021033 -2.78327)'))) / (select extract(epoch from '2026-07-13 07:47:02'::timestamp) - extract(epoch from '2026-07-13 07:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021007 -2.783373)'), GeomFromEWKT('SRID=4674;POINT (-40.021033 -2.78327)'))) / (select extract(epoch from '2026-07-13 07:47:02'::timestamp) - extract(epoch from '2026-07-13 07:46: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'), 47628, 'SRID=4674;POINT (-40.021071 -2.783127)', '2026-07-13 07:47:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021033 -2.78327)'), GeomFromEWKT('SRID=4674;POINT (-40.021071 -2.783127)'))) / (select extract(epoch from '2026-07-13 07:47:09'::timestamp) - extract(epoch from '2026-07-13 07:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021033 -2.78327)'), GeomFromEWKT('SRID=4674;POINT (-40.021071 -2.783127)'))) / (select extract(epoch from '2026-07-13 07:47:09'::timestamp) - extract(epoch from '2026-07-13 07:47: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'), 47628, 'SRID=4674;POINT (-40.021071 -2.783008)', '2026-07-13 07:47:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021071 -2.783127)'), GeomFromEWKT('SRID=4674;POINT (-40.021071 -2.783008)'))) / (select extract(epoch from '2026-07-13 07:47:15'::timestamp) - extract(epoch from '2026-07-13 07:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021071 -2.783127)'), GeomFromEWKT('SRID=4674;POINT (-40.021071 -2.783008)'))) / (select extract(epoch from '2026-07-13 07:47:15'::timestamp) - extract(epoch from '2026-07-13 07:47: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'), 47628, 'SRID=4674;POINT (-40.02106 -2.782918)', '2026-07-13 07:47:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021071 -2.783008)'), GeomFromEWKT('SRID=4674;POINT (-40.02106 -2.782918)'))) / (select extract(epoch from '2026-07-13 07:47:20'::timestamp) - extract(epoch from '2026-07-13 07:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021071 -2.783008)'), GeomFromEWKT('SRID=4674;POINT (-40.02106 -2.782918)'))) / (select extract(epoch from '2026-07-13 07:47:20'::timestamp) - extract(epoch from '2026-07-13 07:47:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021057 -2.782821)', '2026-07-13 07:47:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02106 -2.782918)'), GeomFromEWKT('SRID=4674;POINT (-40.021057 -2.782821)'))) / (select extract(epoch from '2026-07-13 07:47:25'::timestamp) - extract(epoch from '2026-07-13 07:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02106 -2.782918)'), GeomFromEWKT('SRID=4674;POINT (-40.021057 -2.782821)'))) / (select extract(epoch from '2026-07-13 07:47:25'::timestamp) - extract(epoch from '2026-07-13 07:47: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'), 47628, 'SRID=4674;POINT (-40.021073 -2.78268)', '2026-07-13 07:47:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021057 -2.782821)'), GeomFromEWKT('SRID=4674;POINT (-40.021073 -2.78268)'))) / (select extract(epoch from '2026-07-13 07:47:32'::timestamp) - extract(epoch from '2026-07-13 07:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021057 -2.782821)'), GeomFromEWKT('SRID=4674;POINT (-40.021073 -2.78268)'))) / (select extract(epoch from '2026-07-13 07:47:32'::timestamp) - extract(epoch from '2026-07-13 07:47:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021068 -2.782582)', '2026-07-13 07:47:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021073 -2.78268)'), GeomFromEWKT('SRID=4674;POINT (-40.021068 -2.782582)'))) / (select extract(epoch from '2026-07-13 07:47:37'::timestamp) - extract(epoch from '2026-07-13 07:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021073 -2.78268)'), GeomFromEWKT('SRID=4674;POINT (-40.021068 -2.782582)'))) / (select extract(epoch from '2026-07-13 07:47:37'::timestamp) - extract(epoch from '2026-07-13 07:47: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'), 47628, 'SRID=4674;POINT (-40.021035 -2.782456)', '2026-07-13 07:47:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021068 -2.782582)'), GeomFromEWKT('SRID=4674;POINT (-40.021035 -2.782456)'))) / (select extract(epoch from '2026-07-13 07:47:44'::timestamp) - extract(epoch from '2026-07-13 07:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021068 -2.782582)'), GeomFromEWKT('SRID=4674;POINT (-40.021035 -2.782456)'))) / (select extract(epoch from '2026-07-13 07:47:44'::timestamp) - extract(epoch from '2026-07-13 07:47: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'), 47628, 'SRID=4674;POINT (-40.021031 -2.782439)', '2026-07-13 07:47:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021035 -2.782456)'), GeomFromEWKT('SRID=4674;POINT (-40.021031 -2.782439)'))) / (select extract(epoch from '2026-07-13 07:47:45'::timestamp) - extract(epoch from '2026-07-13 07:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021035 -2.782456)'), GeomFromEWKT('SRID=4674;POINT (-40.021031 -2.782439)'))) / (select extract(epoch from '2026-07-13 07:47:45'::timestamp) - extract(epoch from '2026-07-13 07:47: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'), 47628, 'SRID=4674;POINT (-40.021011 -2.78237)', '2026-07-13 07:47:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021031 -2.782439)'), GeomFromEWKT('SRID=4674;POINT (-40.021011 -2.78237)'))) / (select extract(epoch from '2026-07-13 07:47:49'::timestamp) - extract(epoch from '2026-07-13 07:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021031 -2.782439)'), GeomFromEWKT('SRID=4674;POINT (-40.021011 -2.78237)'))) / (select extract(epoch from '2026-07-13 07:47:49'::timestamp) - extract(epoch from '2026-07-13 07:47:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020982 -2.782292)', '2026-07-13 07:47:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021011 -2.78237)'), GeomFromEWKT('SRID=4674;POINT (-40.020982 -2.782292)'))) / (select extract(epoch from '2026-07-13 07:47:54'::timestamp) - extract(epoch from '2026-07-13 07:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021011 -2.78237)'), GeomFromEWKT('SRID=4674;POINT (-40.020982 -2.782292)'))) / (select extract(epoch from '2026-07-13 07:47:54'::timestamp) - extract(epoch from '2026-07-13 07:47: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'), 47628, 'SRID=4674;POINT (-40.020954 -2.782231)', '2026-07-13 07:47:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020982 -2.782292)'), GeomFromEWKT('SRID=4674;POINT (-40.020954 -2.782231)'))) / (select extract(epoch from '2026-07-13 07:47:58'::timestamp) - extract(epoch from '2026-07-13 07:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020982 -2.782292)'), GeomFromEWKT('SRID=4674;POINT (-40.020954 -2.782231)'))) / (select extract(epoch from '2026-07-13 07:47:58'::timestamp) - extract(epoch from '2026-07-13 07:47: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'), 47628, 'SRID=4674;POINT (-40.020942 -2.782201)', '2026-07-13 07:48:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020954 -2.782231)'), GeomFromEWKT('SRID=4674;POINT (-40.020942 -2.782201)'))) / (select extract(epoch from '2026-07-13 07:48:00'::timestamp) - extract(epoch from '2026-07-13 07:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020954 -2.782231)'), GeomFromEWKT('SRID=4674;POINT (-40.020942 -2.782201)'))) / (select extract(epoch from '2026-07-13 07:48:00'::timestamp) - extract(epoch from '2026-07-13 07:47: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'), 47628, 'SRID=4674;POINT (-40.020919 -2.782131)', '2026-07-13 07:48:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020942 -2.782201)'), GeomFromEWKT('SRID=4674;POINT (-40.020919 -2.782131)'))) / (select extract(epoch from '2026-07-13 07:48:06'::timestamp) - extract(epoch from '2026-07-13 07:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020942 -2.782201)'), GeomFromEWKT('SRID=4674;POINT (-40.020919 -2.782131)'))) / (select extract(epoch from '2026-07-13 07:48:06'::timestamp) - extract(epoch from '2026-07-13 07:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020917 -2.782122)', '2026-07-13 07:48:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020919 -2.782131)'), GeomFromEWKT('SRID=4674;POINT (-40.020917 -2.782122)'))) / (select extract(epoch from '2026-07-13 07:48:07'::timestamp) - extract(epoch from '2026-07-13 07:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020919 -2.782131)'), GeomFromEWKT('SRID=4674;POINT (-40.020917 -2.782122)'))) / (select extract(epoch from '2026-07-13 07:48:07'::timestamp) - extract(epoch from '2026-07-13 07:48: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'), 47628, 'SRID=4674;POINT (-40.020915 -2.782114)', '2026-07-13 07:48:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020917 -2.782122)'), GeomFromEWKT('SRID=4674;POINT (-40.020915 -2.782114)'))) / (select extract(epoch from '2026-07-13 07:48:08'::timestamp) - extract(epoch from '2026-07-13 07:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020917 -2.782122)'), GeomFromEWKT('SRID=4674;POINT (-40.020915 -2.782114)'))) / (select extract(epoch from '2026-07-13 07:48:08'::timestamp) - extract(epoch from '2026-07-13 07:48: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'), 47628, 'SRID=4674;POINT (-40.020906 -2.782069)', '2026-07-13 07:48:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020915 -2.782114)'), GeomFromEWKT('SRID=4674;POINT (-40.020906 -2.782069)'))) / (select extract(epoch from '2026-07-13 07:48:13'::timestamp) - extract(epoch from '2026-07-13 07:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020915 -2.782114)'), GeomFromEWKT('SRID=4674;POINT (-40.020906 -2.782069)'))) / (select extract(epoch from '2026-07-13 07:48:13'::timestamp) - extract(epoch from '2026-07-13 07:48:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020895 -2.782034)', '2026-07-13 07:48:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020906 -2.782069)'), GeomFromEWKT('SRID=4674;POINT (-40.020895 -2.782034)'))) / (select extract(epoch from '2026-07-13 07:48:16'::timestamp) - extract(epoch from '2026-07-13 07:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020906 -2.782069)'), GeomFromEWKT('SRID=4674;POINT (-40.020895 -2.782034)'))) / (select extract(epoch from '2026-07-13 07:48:16'::timestamp) - extract(epoch from '2026-07-13 07:48: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'), 47628, 'SRID=4674;POINT (-40.020895 -2.782028)', '2026-07-13 07:48:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020895 -2.782034)'), GeomFromEWKT('SRID=4674;POINT (-40.020895 -2.782028)'))) / (select extract(epoch from '2026-07-13 07:48:17'::timestamp) - extract(epoch from '2026-07-13 07:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020895 -2.782034)'), GeomFromEWKT('SRID=4674;POINT (-40.020895 -2.782028)'))) / (select extract(epoch from '2026-07-13 07:48:17'::timestamp) - extract(epoch from '2026-07-13 07:48:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020927 -2.782)', '2026-07-13 07:48:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020895 -2.782028)'), GeomFromEWKT('SRID=4674;POINT (-40.020927 -2.782)'))) / (select extract(epoch from '2026-07-13 07:48:25'::timestamp) - extract(epoch from '2026-07-13 07:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020895 -2.782028)'), GeomFromEWKT('SRID=4674;POINT (-40.020927 -2.782)'))) / (select extract(epoch from '2026-07-13 07:48:25'::timestamp) - extract(epoch from '2026-07-13 07:48:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020944 -2.781985)', '2026-07-13 07:48:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020927 -2.782)'), GeomFromEWKT('SRID=4674;POINT (-40.020944 -2.781985)'))) / (select extract(epoch from '2026-07-13 07:48:29'::timestamp) - extract(epoch from '2026-07-13 07:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020927 -2.782)'), GeomFromEWKT('SRID=4674;POINT (-40.020944 -2.781985)'))) / (select extract(epoch from '2026-07-13 07:48:29'::timestamp) - extract(epoch from '2026-07-13 07:48:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020972 -2.781967)', '2026-07-13 07:48:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020944 -2.781985)'), GeomFromEWKT('SRID=4674;POINT (-40.020972 -2.781967)'))) / (select extract(epoch from '2026-07-13 07:48:35'::timestamp) - extract(epoch from '2026-07-13 07:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020944 -2.781985)'), GeomFromEWKT('SRID=4674;POINT (-40.020972 -2.781967)'))) / (select extract(epoch from '2026-07-13 07:48:35'::timestamp) - extract(epoch from '2026-07-13 07:48: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'), 47628, 'SRID=4674;POINT (-40.021005 -2.781951)', '2026-07-13 07:48:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020972 -2.781967)'), GeomFromEWKT('SRID=4674;POINT (-40.021005 -2.781951)'))) / (select extract(epoch from '2026-07-13 07:48:42'::timestamp) - extract(epoch from '2026-07-13 07:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020972 -2.781967)'), GeomFromEWKT('SRID=4674;POINT (-40.021005 -2.781951)'))) / (select extract(epoch from '2026-07-13 07:48:42'::timestamp) - extract(epoch from '2026-07-13 07:48:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021045 -2.781924)', '2026-07-13 07:48:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021005 -2.781951)'), GeomFromEWKT('SRID=4674;POINT (-40.021045 -2.781924)'))) / (select extract(epoch from '2026-07-13 07:48:52'::timestamp) - extract(epoch from '2026-07-13 07:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021005 -2.781951)'), GeomFromEWKT('SRID=4674;POINT (-40.021045 -2.781924)'))) / (select extract(epoch from '2026-07-13 07:48:52'::timestamp) - extract(epoch from '2026-07-13 07:48: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'), 47628, 'SRID=4674;POINT (-40.02107 -2.781906)', '2026-07-13 07:48:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021045 -2.781924)'), GeomFromEWKT('SRID=4674;POINT (-40.02107 -2.781906)'))) / (select extract(epoch from '2026-07-13 07:48:59'::timestamp) - extract(epoch from '2026-07-13 07:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021045 -2.781924)'), GeomFromEWKT('SRID=4674;POINT (-40.02107 -2.781906)'))) / (select extract(epoch from '2026-07-13 07:48:59'::timestamp) - extract(epoch from '2026-07-13 07:48:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021075 -2.781895)', '2026-07-13 07:49:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02107 -2.781906)'), GeomFromEWKT('SRID=4674;POINT (-40.021075 -2.781895)'))) / (select extract(epoch from '2026-07-13 07:49:07'::timestamp) - extract(epoch from '2026-07-13 07:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02107 -2.781906)'), GeomFromEWKT('SRID=4674;POINT (-40.021075 -2.781895)'))) / (select extract(epoch from '2026-07-13 07:49:07'::timestamp) - extract(epoch from '2026-07-13 07:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021074 -2.781907)', '2026-07-13 07:49:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021075 -2.781895)'), GeomFromEWKT('SRID=4674;POINT (-40.021074 -2.781907)'))) / (select extract(epoch from '2026-07-13 07:49:21'::timestamp) - extract(epoch from '2026-07-13 07:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021075 -2.781895)'), GeomFromEWKT('SRID=4674;POINT (-40.021074 -2.781907)'))) / (select extract(epoch from '2026-07-13 07:49:21'::timestamp) - extract(epoch from '2026-07-13 07:49: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'), 47628, 'SRID=4674;POINT (-40.021067 -2.781915)', '2026-07-13 07:49:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021074 -2.781907)'), GeomFromEWKT('SRID=4674;POINT (-40.021067 -2.781915)'))) / (select extract(epoch from '2026-07-13 07:49:27'::timestamp) - extract(epoch from '2026-07-13 07:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021074 -2.781907)'), GeomFromEWKT('SRID=4674;POINT (-40.021067 -2.781915)'))) / (select extract(epoch from '2026-07-13 07:49:27'::timestamp) - extract(epoch from '2026-07-13 07:49:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021076 -2.781907)', '2026-07-13 07:49:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021067 -2.781915)'), GeomFromEWKT('SRID=4674;POINT (-40.021076 -2.781907)'))) / (select extract(epoch from '2026-07-13 07:49:44'::timestamp) - extract(epoch from '2026-07-13 07:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021067 -2.781915)'), GeomFromEWKT('SRID=4674;POINT (-40.021076 -2.781907)'))) / (select extract(epoch from '2026-07-13 07:49:44'::timestamp) - extract(epoch from '2026-07-13 07:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021097 -2.781906)', '2026-07-13 07:49:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021076 -2.781907)'), GeomFromEWKT('SRID=4674;POINT (-40.021097 -2.781906)'))) / (select extract(epoch from '2026-07-13 07:49:56'::timestamp) - extract(epoch from '2026-07-13 07:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021076 -2.781907)'), GeomFromEWKT('SRID=4674;POINT (-40.021097 -2.781906)'))) / (select extract(epoch from '2026-07-13 07:49:56'::timestamp) - extract(epoch from '2026-07-13 07:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021128 -2.781892)', '2026-07-13 07:50:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021097 -2.781906)'), GeomFromEWKT('SRID=4674;POINT (-40.021128 -2.781892)'))) / (select extract(epoch from '2026-07-13 07:50:13'::timestamp) - extract(epoch from '2026-07-13 07:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021097 -2.781906)'), GeomFromEWKT('SRID=4674;POINT (-40.021128 -2.781892)'))) / (select extract(epoch from '2026-07-13 07:50:13'::timestamp) - extract(epoch from '2026-07-13 07:49: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'), 47628, 'SRID=4674;POINT (-40.021149 -2.781883)', '2026-07-13 07:50:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021128 -2.781892)'), GeomFromEWKT('SRID=4674;POINT (-40.021149 -2.781883)'))) / (select extract(epoch from '2026-07-13 07:50:31'::timestamp) - extract(epoch from '2026-07-13 07:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021128 -2.781892)'), GeomFromEWKT('SRID=4674;POINT (-40.021149 -2.781883)'))) / (select extract(epoch from '2026-07-13 07:50:31'::timestamp) - extract(epoch from '2026-07-13 07:50: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'), 47628, 'SRID=4674;POINT (-40.021172 -2.781878)', '2026-07-13 07:50:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021149 -2.781883)'), GeomFromEWKT('SRID=4674;POINT (-40.021172 -2.781878)'))) / (select extract(epoch from '2026-07-13 07:50:45'::timestamp) - extract(epoch from '2026-07-13 07:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021149 -2.781883)'), GeomFromEWKT('SRID=4674;POINT (-40.021172 -2.781878)'))) / (select extract(epoch from '2026-07-13 07:50:45'::timestamp) - extract(epoch from '2026-07-13 07:50: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'), 47628, 'SRID=4674;POINT (-40.021179 -2.781857)', '2026-07-13 07:51:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021172 -2.781878)'), GeomFromEWKT('SRID=4674;POINT (-40.021179 -2.781857)'))) / (select extract(epoch from '2026-07-13 07:51:02'::timestamp) - extract(epoch from '2026-07-13 07:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021172 -2.781878)'), GeomFromEWKT('SRID=4674;POINT (-40.021179 -2.781857)'))) / (select extract(epoch from '2026-07-13 07:51:02'::timestamp) - extract(epoch from '2026-07-13 07:50:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021175 -2.781872)', '2026-07-13 07:51:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021179 -2.781857)'), GeomFromEWKT('SRID=4674;POINT (-40.021175 -2.781872)'))) / (select extract(epoch from '2026-07-13 07:51:26'::timestamp) - extract(epoch from '2026-07-13 07:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021179 -2.781857)'), GeomFromEWKT('SRID=4674;POINT (-40.021175 -2.781872)'))) / (select extract(epoch from '2026-07-13 07:51:26'::timestamp) - extract(epoch from '2026-07-13 07:51:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021174 -2.781866)', '2026-07-13 07:51:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021175 -2.781872)'), GeomFromEWKT('SRID=4674;POINT (-40.021174 -2.781866)'))) / (select extract(epoch from '2026-07-13 07:51:39'::timestamp) - extract(epoch from '2026-07-13 07:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021175 -2.781872)'), GeomFromEWKT('SRID=4674;POINT (-40.021174 -2.781866)'))) / (select extract(epoch from '2026-07-13 07:51:39'::timestamp) - extract(epoch from '2026-07-13 07:51: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'), 47628, 'SRID=4674;POINT (-40.021169 -2.781859)', '2026-07-13 07:51:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021174 -2.781866)'), GeomFromEWKT('SRID=4674;POINT (-40.021169 -2.781859)'))) / (select extract(epoch from '2026-07-13 07:51:46'::timestamp) - extract(epoch from '2026-07-13 07:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021174 -2.781866)'), GeomFromEWKT('SRID=4674;POINT (-40.021169 -2.781859)'))) / (select extract(epoch from '2026-07-13 07:51:46'::timestamp) - extract(epoch from '2026-07-13 07:51:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021185 -2.781862)', '2026-07-13 07:51:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021169 -2.781859)'), GeomFromEWKT('SRID=4674;POINT (-40.021185 -2.781862)'))) / (select extract(epoch from '2026-07-13 07:51:56'::timestamp) - extract(epoch from '2026-07-13 07:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021169 -2.781859)'), GeomFromEWKT('SRID=4674;POINT (-40.021185 -2.781862)'))) / (select extract(epoch from '2026-07-13 07:51:56'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.021188 -2.781867)', '2026-07-13 07:52:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021185 -2.781862)'), GeomFromEWKT('SRID=4674;POINT (-40.021188 -2.781867)'))) / (select extract(epoch from '2026-07-13 07:52:08'::timestamp) - extract(epoch from '2026-07-13 07:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021185 -2.781862)'), GeomFromEWKT('SRID=4674;POINT (-40.021188 -2.781867)'))) / (select extract(epoch from '2026-07-13 07:52:08'::timestamp) - extract(epoch from '2026-07-13 07:51:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021193 -2.781867)', '2026-07-13 07:52:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021188 -2.781867)'), GeomFromEWKT('SRID=4674;POINT (-40.021193 -2.781867)'))) / (select extract(epoch from '2026-07-13 07:52:26'::timestamp) - extract(epoch from '2026-07-13 07:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021188 -2.781867)'), GeomFromEWKT('SRID=4674;POINT (-40.021193 -2.781867)'))) / (select extract(epoch from '2026-07-13 07:52:26'::timestamp) - extract(epoch from '2026-07-13 07:52:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021172 -2.781882)', '2026-07-13 07:52:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021193 -2.781867)'), GeomFromEWKT('SRID=4674;POINT (-40.021172 -2.781882)'))) / (select extract(epoch from '2026-07-13 07:52:37'::timestamp) - extract(epoch from '2026-07-13 07:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021193 -2.781867)'), GeomFromEWKT('SRID=4674;POINT (-40.021172 -2.781882)'))) / (select extract(epoch from '2026-07-13 07:52:37'::timestamp) - extract(epoch from '2026-07-13 07:52:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021148 -2.781878)', '2026-07-13 07:52:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021172 -2.781882)'), GeomFromEWKT('SRID=4674;POINT (-40.021148 -2.781878)'))) / (select extract(epoch from '2026-07-13 07:52:43'::timestamp) - extract(epoch from '2026-07-13 07:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021172 -2.781882)'), GeomFromEWKT('SRID=4674;POINT (-40.021148 -2.781878)'))) / (select extract(epoch from '2026-07-13 07:52:43'::timestamp) - extract(epoch from '2026-07-13 07:52: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'), 47628, 'SRID=4674;POINT (-40.0211 -2.781873)', '2026-07-13 07:52:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021148 -2.781878)'), GeomFromEWKT('SRID=4674;POINT (-40.0211 -2.781873)'))) / (select extract(epoch from '2026-07-13 07:52:51'::timestamp) - extract(epoch from '2026-07-13 07:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021148 -2.781878)'), GeomFromEWKT('SRID=4674;POINT (-40.0211 -2.781873)'))) / (select extract(epoch from '2026-07-13 07:52:51'::timestamp) - extract(epoch from '2026-07-13 07:52: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'), 47628, 'SRID=4674;POINT (-40.021053 -2.781877)', '2026-07-13 07:52:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0211 -2.781873)'), GeomFromEWKT('SRID=4674;POINT (-40.021053 -2.781877)'))) / (select extract(epoch from '2026-07-13 07:52:56'::timestamp) - extract(epoch from '2026-07-13 07:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0211 -2.781873)'), GeomFromEWKT('SRID=4674;POINT (-40.021053 -2.781877)'))) / (select extract(epoch from '2026-07-13 07:52:56'::timestamp) - extract(epoch from '2026-07-13 07:52: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'), 47628, 'SRID=4674;POINT (-40.021037 -2.781881)', '2026-07-13 07:52:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021053 -2.781877)'), GeomFromEWKT('SRID=4674;POINT (-40.021037 -2.781881)'))) / (select extract(epoch from '2026-07-13 07:52:58'::timestamp) - extract(epoch from '2026-07-13 07:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021053 -2.781877)'), GeomFromEWKT('SRID=4674;POINT (-40.021037 -2.781881)'))) / (select extract(epoch from '2026-07-13 07:52:58'::timestamp) - extract(epoch from '2026-07-13 07:52:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020975 -2.7819)', '2026-07-13 07:53:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021037 -2.781881)'), GeomFromEWKT('SRID=4674;POINT (-40.020975 -2.7819)'))) / (select extract(epoch from '2026-07-13 07:53:05'::timestamp) - extract(epoch from '2026-07-13 07:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021037 -2.781881)'), GeomFromEWKT('SRID=4674;POINT (-40.020975 -2.7819)'))) / (select extract(epoch from '2026-07-13 07:53:05'::timestamp) - extract(epoch from '2026-07-13 07:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020947 -2.781921)', '2026-07-13 07:53:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020975 -2.7819)'), GeomFromEWKT('SRID=4674;POINT (-40.020947 -2.781921)'))) / (select extract(epoch from '2026-07-13 07:53:09'::timestamp) - extract(epoch from '2026-07-13 07:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020975 -2.7819)'), GeomFromEWKT('SRID=4674;POINT (-40.020947 -2.781921)'))) / (select extract(epoch from '2026-07-13 07:53:09'::timestamp) - extract(epoch from '2026-07-13 07:53: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'), 47628, 'SRID=4674;POINT (-40.020919 -2.781947)', '2026-07-13 07:53:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020947 -2.781921)'), GeomFromEWKT('SRID=4674;POINT (-40.020919 -2.781947)'))) / (select extract(epoch from '2026-07-13 07:53:15'::timestamp) - extract(epoch from '2026-07-13 07:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020947 -2.781921)'), GeomFromEWKT('SRID=4674;POINT (-40.020919 -2.781947)'))) / (select extract(epoch from '2026-07-13 07:53:15'::timestamp) - extract(epoch from '2026-07-13 07:53: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'), 47628, 'SRID=4674;POINT (-40.020899 -2.781936)', '2026-07-13 07:53:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020919 -2.781947)'), GeomFromEWKT('SRID=4674;POINT (-40.020899 -2.781936)'))) / (select extract(epoch from '2026-07-13 07:53:22'::timestamp) - extract(epoch from '2026-07-13 07:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020919 -2.781947)'), GeomFromEWKT('SRID=4674;POINT (-40.020899 -2.781936)'))) / (select extract(epoch from '2026-07-13 07:53:22'::timestamp) - extract(epoch from '2026-07-13 07:53:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020887 -2.781926)', '2026-07-13 07:53:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020899 -2.781936)'), GeomFromEWKT('SRID=4674;POINT (-40.020887 -2.781926)'))) / (select extract(epoch from '2026-07-13 07:53:28'::timestamp) - extract(epoch from '2026-07-13 07:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020899 -2.781936)'), GeomFromEWKT('SRID=4674;POINT (-40.020887 -2.781926)'))) / (select extract(epoch from '2026-07-13 07:53:28'::timestamp) - extract(epoch from '2026-07-13 07:53: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'), 47628, 'SRID=4674;POINT (-40.020862 -2.781876)', '2026-07-13 07:53:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020887 -2.781926)'), GeomFromEWKT('SRID=4674;POINT (-40.020862 -2.781876)'))) / (select extract(epoch from '2026-07-13 07:53:34'::timestamp) - extract(epoch from '2026-07-13 07:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020887 -2.781926)'), GeomFromEWKT('SRID=4674;POINT (-40.020862 -2.781876)'))) / (select extract(epoch from '2026-07-13 07:53:34'::timestamp) - extract(epoch from '2026-07-13 07:53: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'), 47628, 'SRID=4674;POINT (-40.020812 -2.78179)', '2026-07-13 07:53:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020862 -2.781876)'), GeomFromEWKT('SRID=4674;POINT (-40.020812 -2.78179)'))) / (select extract(epoch from '2026-07-13 07:53:41'::timestamp) - extract(epoch from '2026-07-13 07:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020862 -2.781876)'), GeomFromEWKT('SRID=4674;POINT (-40.020812 -2.78179)'))) / (select extract(epoch from '2026-07-13 07:53:41'::timestamp) - extract(epoch from '2026-07-13 07:53:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020762 -2.781699)', '2026-07-13 07:53:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020812 -2.78179)'), GeomFromEWKT('SRID=4674;POINT (-40.020762 -2.781699)'))) / (select extract(epoch from '2026-07-13 07:53:48'::timestamp) - extract(epoch from '2026-07-13 07:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020812 -2.78179)'), GeomFromEWKT('SRID=4674;POINT (-40.020762 -2.781699)'))) / (select extract(epoch from '2026-07-13 07:53:48'::timestamp) - extract(epoch from '2026-07-13 07:53:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02071 -2.781579)', '2026-07-13 07:53:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020762 -2.781699)'), GeomFromEWKT('SRID=4674;POINT (-40.02071 -2.781579)'))) / (select extract(epoch from '2026-07-13 07:53:56'::timestamp) - extract(epoch from '2026-07-13 07:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020762 -2.781699)'), GeomFromEWKT('SRID=4674;POINT (-40.02071 -2.781579)'))) / (select extract(epoch from '2026-07-13 07:53:56'::timestamp) - extract(epoch from '2026-07-13 07:53:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02068 -2.781487)', '2026-07-13 07:54:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02071 -2.781579)'), GeomFromEWKT('SRID=4674;POINT (-40.02068 -2.781487)'))) / (select extract(epoch from '2026-07-13 07:54:02'::timestamp) - extract(epoch from '2026-07-13 07:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02071 -2.781579)'), GeomFromEWKT('SRID=4674;POINT (-40.02068 -2.781487)'))) / (select extract(epoch from '2026-07-13 07:54:02'::timestamp) - extract(epoch from '2026-07-13 07:53: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'), 47628, 'SRID=4674;POINT (-40.020632 -2.781374)', '2026-07-13 07:54:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02068 -2.781487)'), GeomFromEWKT('SRID=4674;POINT (-40.020632 -2.781374)'))) / (select extract(epoch from '2026-07-13 07:54:09'::timestamp) - extract(epoch from '2026-07-13 07:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02068 -2.781487)'), GeomFromEWKT('SRID=4674;POINT (-40.020632 -2.781374)'))) / (select extract(epoch from '2026-07-13 07:54:09'::timestamp) - extract(epoch from '2026-07-13 07:54:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020554 -2.781229)', '2026-07-13 07:54:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020632 -2.781374)'), GeomFromEWKT('SRID=4674;POINT (-40.020554 -2.781229)'))) / (select extract(epoch from '2026-07-13 07:54:18'::timestamp) - extract(epoch from '2026-07-13 07:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020632 -2.781374)'), GeomFromEWKT('SRID=4674;POINT (-40.020554 -2.781229)'))) / (select extract(epoch from '2026-07-13 07:54:18'::timestamp) - extract(epoch from '2026-07-13 07:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020514 -2.781148)', '2026-07-13 07:54:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020554 -2.781229)'), GeomFromEWKT('SRID=4674;POINT (-40.020514 -2.781148)'))) / (select extract(epoch from '2026-07-13 07:54:23'::timestamp) - extract(epoch from '2026-07-13 07:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020554 -2.781229)'), GeomFromEWKT('SRID=4674;POINT (-40.020514 -2.781148)'))) / (select extract(epoch from '2026-07-13 07:54:23'::timestamp) - extract(epoch from '2026-07-13 07:54:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020495 -2.781121)', '2026-07-13 07:54:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020514 -2.781148)'), GeomFromEWKT('SRID=4674;POINT (-40.020495 -2.781121)'))) / (select extract(epoch from '2026-07-13 07:54:25'::timestamp) - extract(epoch from '2026-07-13 07:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020514 -2.781148)'), GeomFromEWKT('SRID=4674;POINT (-40.020495 -2.781121)'))) / (select extract(epoch from '2026-07-13 07:54:25'::timestamp) - extract(epoch from '2026-07-13 07:54: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'), 47628, 'SRID=4674;POINT (-40.020481 -2.781093)', '2026-07-13 07:54:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020495 -2.781121)'), GeomFromEWKT('SRID=4674;POINT (-40.020481 -2.781093)'))) / (select extract(epoch from '2026-07-13 07:54:27'::timestamp) - extract(epoch from '2026-07-13 07:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020495 -2.781121)'), GeomFromEWKT('SRID=4674;POINT (-40.020481 -2.781093)'))) / (select extract(epoch from '2026-07-13 07:54:27'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.020435 -2.78102)', '2026-07-13 07:54:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020481 -2.781093)'), GeomFromEWKT('SRID=4674;POINT (-40.020435 -2.78102)'))) / (select extract(epoch from '2026-07-13 07:54:33'::timestamp) - extract(epoch from '2026-07-13 07:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020481 -2.781093)'), GeomFromEWKT('SRID=4674;POINT (-40.020435 -2.78102)'))) / (select extract(epoch from '2026-07-13 07:54:33'::timestamp) - extract(epoch from '2026-07-13 07:54: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'), 47628, 'SRID=4674;POINT (-40.020383 -2.780939)', '2026-07-13 07:54:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020435 -2.78102)'), GeomFromEWKT('SRID=4674;POINT (-40.020383 -2.780939)'))) / (select extract(epoch from '2026-07-13 07:54:39'::timestamp) - extract(epoch from '2026-07-13 07:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020435 -2.78102)'), GeomFromEWKT('SRID=4674;POINT (-40.020383 -2.780939)'))) / (select extract(epoch from '2026-07-13 07:54:39'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.020325 -2.780843)', '2026-07-13 07:54:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020383 -2.780939)'), GeomFromEWKT('SRID=4674;POINT (-40.020325 -2.780843)'))) / (select extract(epoch from '2026-07-13 07:54:46'::timestamp) - extract(epoch from '2026-07-13 07:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020383 -2.780939)'), GeomFromEWKT('SRID=4674;POINT (-40.020325 -2.780843)'))) / (select extract(epoch from '2026-07-13 07:54:46'::timestamp) - extract(epoch from '2026-07-13 07:54:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020279 -2.78075)', '2026-07-13 07:54:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020325 -2.780843)'), GeomFromEWKT('SRID=4674;POINT (-40.020279 -2.78075)'))) / (select extract(epoch from '2026-07-13 07:54:52'::timestamp) - extract(epoch from '2026-07-13 07:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020325 -2.780843)'), GeomFromEWKT('SRID=4674;POINT (-40.020279 -2.78075)'))) / (select extract(epoch from '2026-07-13 07:54:52'::timestamp) - extract(epoch from '2026-07-13 07:54:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020252 -2.780693)', '2026-07-13 07:54:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020279 -2.78075)'), GeomFromEWKT('SRID=4674;POINT (-40.020252 -2.780693)'))) / (select extract(epoch from '2026-07-13 07:54:56'::timestamp) - extract(epoch from '2026-07-13 07:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020279 -2.78075)'), GeomFromEWKT('SRID=4674;POINT (-40.020252 -2.780693)'))) / (select extract(epoch from '2026-07-13 07:54:56'::timestamp) - extract(epoch from '2026-07-13 07:54: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'), 47628, 'SRID=4674;POINT (-40.020239 -2.780667)', '2026-07-13 07:54:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020252 -2.780693)'), GeomFromEWKT('SRID=4674;POINT (-40.020239 -2.780667)'))) / (select extract(epoch from '2026-07-13 07:54:58'::timestamp) - extract(epoch from '2026-07-13 07:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020252 -2.780693)'), GeomFromEWKT('SRID=4674;POINT (-40.020239 -2.780667)'))) / (select extract(epoch from '2026-07-13 07:54:58'::timestamp) - extract(epoch from '2026-07-13 07:54:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020234 -2.780631)', '2026-07-13 07:55:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020239 -2.780667)'), GeomFromEWKT('SRID=4674;POINT (-40.020234 -2.780631)'))) / (select extract(epoch from '2026-07-13 07:55:04'::timestamp) - extract(epoch from '2026-07-13 07:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020239 -2.780667)'), GeomFromEWKT('SRID=4674;POINT (-40.020234 -2.780631)'))) / (select extract(epoch from '2026-07-13 07:55:04'::timestamp) - extract(epoch from '2026-07-13 07:54: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'), 47628, 'SRID=4674;POINT (-40.020248 -2.780611)', '2026-07-13 07:55:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020234 -2.780631)'), GeomFromEWKT('SRID=4674;POINT (-40.020248 -2.780611)'))) / (select extract(epoch from '2026-07-13 07:55:12'::timestamp) - extract(epoch from '2026-07-13 07:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020234 -2.780631)'), GeomFromEWKT('SRID=4674;POINT (-40.020248 -2.780611)'))) / (select extract(epoch from '2026-07-13 07:55:12'::timestamp) - extract(epoch from '2026-07-13 07:55:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020279 -2.780585)', '2026-07-13 07:55:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020248 -2.780611)'), GeomFromEWKT('SRID=4674;POINT (-40.020279 -2.780585)'))) / (select extract(epoch from '2026-07-13 07:55:21'::timestamp) - extract(epoch from '2026-07-13 07:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020248 -2.780611)'), GeomFromEWKT('SRID=4674;POINT (-40.020279 -2.780585)'))) / (select extract(epoch from '2026-07-13 07:55:21'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.020344 -2.780546)', '2026-07-13 07:55:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020279 -2.780585)'), GeomFromEWKT('SRID=4674;POINT (-40.020344 -2.780546)'))) / (select extract(epoch from '2026-07-13 07:55:37'::timestamp) - extract(epoch from '2026-07-13 07:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020279 -2.780585)'), GeomFromEWKT('SRID=4674;POINT (-40.020344 -2.780546)'))) / (select extract(epoch from '2026-07-13 07:55:37'::timestamp) - extract(epoch from '2026-07-13 07:55: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'), 47628, 'SRID=4674;POINT (-40.020377 -2.780539)', '2026-07-13 07:55:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020344 -2.780546)'), GeomFromEWKT('SRID=4674;POINT (-40.020377 -2.780539)'))) / (select extract(epoch from '2026-07-13 07:55:57'::timestamp) - extract(epoch from '2026-07-13 07:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020344 -2.780546)'), GeomFromEWKT('SRID=4674;POINT (-40.020377 -2.780539)'))) / (select extract(epoch from '2026-07-13 07:55:57'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.020413 -2.780553)', '2026-07-13 07:56:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020377 -2.780539)'), GeomFromEWKT('SRID=4674;POINT (-40.020413 -2.780553)'))) / (select extract(epoch from '2026-07-13 07:56:23'::timestamp) - extract(epoch from '2026-07-13 07:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020377 -2.780539)'), GeomFromEWKT('SRID=4674;POINT (-40.020413 -2.780553)'))) / (select extract(epoch from '2026-07-13 07:56:23'::timestamp) - extract(epoch from '2026-07-13 07:55: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'), 47628, 'SRID=4674;POINT (-40.020438 -2.780548)', '2026-07-13 07:56:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020413 -2.780553)'), GeomFromEWKT('SRID=4674;POINT (-40.020438 -2.780548)'))) / (select extract(epoch from '2026-07-13 07:56:34'::timestamp) - extract(epoch from '2026-07-13 07:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020413 -2.780553)'), GeomFromEWKT('SRID=4674;POINT (-40.020438 -2.780548)'))) / (select extract(epoch from '2026-07-13 07:56:34'::timestamp) - extract(epoch from '2026-07-13 07:56:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020465 -2.780552)', '2026-07-13 07:56:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020438 -2.780548)'), GeomFromEWKT('SRID=4674;POINT (-40.020465 -2.780552)'))) / (select extract(epoch from '2026-07-13 07:56:46'::timestamp) - extract(epoch from '2026-07-13 07:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020438 -2.780548)'), GeomFromEWKT('SRID=4674;POINT (-40.020465 -2.780552)'))) / (select extract(epoch from '2026-07-13 07:56:46'::timestamp) - extract(epoch from '2026-07-13 07:56:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020498 -2.780534)', '2026-07-13 07:56:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020465 -2.780552)'), GeomFromEWKT('SRID=4674;POINT (-40.020498 -2.780534)'))) / (select extract(epoch from '2026-07-13 07:56:55'::timestamp) - extract(epoch from '2026-07-13 07:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020465 -2.780552)'), GeomFromEWKT('SRID=4674;POINT (-40.020498 -2.780534)'))) / (select extract(epoch from '2026-07-13 07:56:55'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.020523 -2.780526)', '2026-07-13 07:57:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020498 -2.780534)'), GeomFromEWKT('SRID=4674;POINT (-40.020523 -2.780526)'))) / (select extract(epoch from '2026-07-13 07:57:03'::timestamp) - extract(epoch from '2026-07-13 07:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020498 -2.780534)'), GeomFromEWKT('SRID=4674;POINT (-40.020523 -2.780526)'))) / (select extract(epoch from '2026-07-13 07:57:03'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.020528 -2.780529)', '2026-07-13 07:57:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020523 -2.780526)'), GeomFromEWKT('SRID=4674;POINT (-40.020528 -2.780529)'))) / (select extract(epoch from '2026-07-13 07:57:13'::timestamp) - extract(epoch from '2026-07-13 07:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020523 -2.780526)'), GeomFromEWKT('SRID=4674;POINT (-40.020528 -2.780529)'))) / (select extract(epoch from '2026-07-13 07:57:13'::timestamp) - extract(epoch from '2026-07-13 07:57:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020524 -2.780521)', '2026-07-13 07:57:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020528 -2.780529)'), GeomFromEWKT('SRID=4674;POINT (-40.020524 -2.780521)'))) / (select extract(epoch from '2026-07-13 07:57:29'::timestamp) - extract(epoch from '2026-07-13 07:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020528 -2.780529)'), GeomFromEWKT('SRID=4674;POINT (-40.020524 -2.780521)'))) / (select extract(epoch from '2026-07-13 07:57:29'::timestamp) - extract(epoch from '2026-07-13 07:57: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'), 47628, 'SRID=4674;POINT (-40.020523 -2.780535)', '2026-07-13 07:57:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020524 -2.780521)'), GeomFromEWKT('SRID=4674;POINT (-40.020523 -2.780535)'))) / (select extract(epoch from '2026-07-13 07:57:37'::timestamp) - extract(epoch from '2026-07-13 07:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020524 -2.780521)'), GeomFromEWKT('SRID=4674;POINT (-40.020523 -2.780535)'))) / (select extract(epoch from '2026-07-13 07:57:37'::timestamp) - extract(epoch from '2026-07-13 07:57: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'), 47628, 'SRID=4674;POINT (-40.020535 -2.780532)', '2026-07-13 07:57:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020523 -2.780535)'), GeomFromEWKT('SRID=4674;POINT (-40.020535 -2.780532)'))) / (select extract(epoch from '2026-07-13 07:57:54'::timestamp) - extract(epoch from '2026-07-13 07:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020523 -2.780535)'), GeomFromEWKT('SRID=4674;POINT (-40.020535 -2.780532)'))) / (select extract(epoch from '2026-07-13 07:57:54'::timestamp) - extract(epoch from '2026-07-13 07:57: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'), 47628, 'SRID=4674;POINT (-40.020532 -2.780533)', '2026-07-13 07:58:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020535 -2.780532)'), GeomFromEWKT('SRID=4674;POINT (-40.020532 -2.780533)'))) / (select extract(epoch from '2026-07-13 07:58:17'::timestamp) - extract(epoch from '2026-07-13 07:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020535 -2.780532)'), GeomFromEWKT('SRID=4674;POINT (-40.020532 -2.780533)'))) / (select extract(epoch from '2026-07-13 07:58:17'::timestamp) - extract(epoch from '2026-07-13 07:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020543 -2.780521)', '2026-07-13 07:58:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020532 -2.780533)'), GeomFromEWKT('SRID=4674;POINT (-40.020543 -2.780521)'))) / (select extract(epoch from '2026-07-13 07:58:24'::timestamp) - extract(epoch from '2026-07-13 07:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020532 -2.780533)'), GeomFromEWKT('SRID=4674;POINT (-40.020543 -2.780521)'))) / (select extract(epoch from '2026-07-13 07:58:24'::timestamp) - extract(epoch from '2026-07-13 07:58: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'), 47628, 'SRID=4674;POINT (-40.02054 -2.780527)', '2026-07-13 07:58:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020543 -2.780521)'), GeomFromEWKT('SRID=4674;POINT (-40.02054 -2.780527)'))) / (select extract(epoch from '2026-07-13 07:58:29'::timestamp) - extract(epoch from '2026-07-13 07:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020543 -2.780521)'), GeomFromEWKT('SRID=4674;POINT (-40.02054 -2.780527)'))) / (select extract(epoch from '2026-07-13 07:58:29'::timestamp) - extract(epoch from '2026-07-13 07:58:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02053 -2.780542)', '2026-07-13 07:58:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02054 -2.780527)'), GeomFromEWKT('SRID=4674;POINT (-40.02053 -2.780542)'))) / (select extract(epoch from '2026-07-13 07:58:36'::timestamp) - extract(epoch from '2026-07-13 07:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02054 -2.780527)'), GeomFromEWKT('SRID=4674;POINT (-40.02053 -2.780542)'))) / (select extract(epoch from '2026-07-13 07:58:36'::timestamp) - extract(epoch from '2026-07-13 07:58:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020533 -2.78054)', '2026-07-13 07:58:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02053 -2.780542)'), GeomFromEWKT('SRID=4674;POINT (-40.020533 -2.78054)'))) / (select extract(epoch from '2026-07-13 07:58:53'::timestamp) - extract(epoch from '2026-07-13 07:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02053 -2.780542)'), GeomFromEWKT('SRID=4674;POINT (-40.020533 -2.78054)'))) / (select extract(epoch from '2026-07-13 07:58:53'::timestamp) - extract(epoch from '2026-07-13 07:58: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'), 47628, 'SRID=4674;POINT (-40.020531 -2.780542)', '2026-07-13 07:59:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020533 -2.78054)'), GeomFromEWKT('SRID=4674;POINT (-40.020531 -2.780542)'))) / (select extract(epoch from '2026-07-13 07:59:04'::timestamp) - extract(epoch from '2026-07-13 07:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020533 -2.78054)'), GeomFromEWKT('SRID=4674;POINT (-40.020531 -2.780542)'))) / (select extract(epoch from '2026-07-13 07:59:04'::timestamp) - extract(epoch from '2026-07-13 07:58:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020539 -2.780541)', '2026-07-13 07:59:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020531 -2.780542)'), GeomFromEWKT('SRID=4674;POINT (-40.020539 -2.780541)'))) / (select extract(epoch from '2026-07-13 07:59:19'::timestamp) - extract(epoch from '2026-07-13 07:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020531 -2.780542)'), GeomFromEWKT('SRID=4674;POINT (-40.020539 -2.780541)'))) / (select extract(epoch from '2026-07-13 07:59:19'::timestamp) - extract(epoch from '2026-07-13 07:59: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'), 47628, 'SRID=4674;POINT (-40.020546 -2.780547)', '2026-07-13 07:59:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020539 -2.780541)'), GeomFromEWKT('SRID=4674;POINT (-40.020546 -2.780547)'))) / (select extract(epoch from '2026-07-13 07:59:29'::timestamp) - extract(epoch from '2026-07-13 07:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020539 -2.780541)'), GeomFromEWKT('SRID=4674;POINT (-40.020546 -2.780547)'))) / (select extract(epoch from '2026-07-13 07:59:29'::timestamp) - extract(epoch from '2026-07-13 07:59:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020536 -2.780549)', '2026-07-13 07:59:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020546 -2.780547)'), GeomFromEWKT('SRID=4674;POINT (-40.020536 -2.780549)'))) / (select extract(epoch from '2026-07-13 07:59:36'::timestamp) - extract(epoch from '2026-07-13 07:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020546 -2.780547)'), GeomFromEWKT('SRID=4674;POINT (-40.020536 -2.780549)'))) / (select extract(epoch from '2026-07-13 07:59:36'::timestamp) - extract(epoch from '2026-07-13 07:59:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020533 -2.780537)', '2026-07-13 07:59:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020536 -2.780549)'), GeomFromEWKT('SRID=4674;POINT (-40.020533 -2.780537)'))) / (select extract(epoch from '2026-07-13 07:59:48'::timestamp) - extract(epoch from '2026-07-13 07:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020536 -2.780549)'), GeomFromEWKT('SRID=4674;POINT (-40.020533 -2.780537)'))) / (select extract(epoch from '2026-07-13 07:59:48'::timestamp) - extract(epoch from '2026-07-13 07: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'), 47628, 'SRID=4674;POINT (-40.020511 -2.780539)', '2026-07-13 07:59:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020533 -2.780537)'), GeomFromEWKT('SRID=4674;POINT (-40.020511 -2.780539)'))) / (select extract(epoch from '2026-07-13 07:59:58'::timestamp) - extract(epoch from '2026-07-13 07:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020533 -2.780537)'), GeomFromEWKT('SRID=4674;POINT (-40.020511 -2.780539)'))) / (select extract(epoch from '2026-07-13 07:59:58'::timestamp) - extract(epoch from '2026-07-13 07:59:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020459 -2.780538)', '2026-07-13 08:00:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020511 -2.780539)'), GeomFromEWKT('SRID=4674;POINT (-40.020459 -2.780538)'))) / (select extract(epoch from '2026-07-13 08:00:05'::timestamp) - extract(epoch from '2026-07-13 07:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020511 -2.780539)'), GeomFromEWKT('SRID=4674;POINT (-40.020459 -2.780538)'))) / (select extract(epoch from '2026-07-13 08:00:05'::timestamp) - extract(epoch from '2026-07-13 07:59:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02045 -2.780539)', '2026-07-13 08:00:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020459 -2.780538)'), GeomFromEWKT('SRID=4674;POINT (-40.02045 -2.780539)'))) / (select extract(epoch from '2026-07-13 08:00:06'::timestamp) - extract(epoch from '2026-07-13 08:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020459 -2.780538)'), GeomFromEWKT('SRID=4674;POINT (-40.02045 -2.780539)'))) / (select extract(epoch from '2026-07-13 08:00:06'::timestamp) - extract(epoch from '2026-07-13 08:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020411 -2.78054)', '2026-07-13 08:00:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02045 -2.780539)'), GeomFromEWKT('SRID=4674;POINT (-40.020411 -2.78054)'))) / (select extract(epoch from '2026-07-13 08:00:10'::timestamp) - extract(epoch from '2026-07-13 08:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02045 -2.780539)'), GeomFromEWKT('SRID=4674;POINT (-40.020411 -2.78054)'))) / (select extract(epoch from '2026-07-13 08:00:10'::timestamp) - extract(epoch from '2026-07-13 08:00: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'), 47628, 'SRID=4674;POINT (-40.020319 -2.780557)', '2026-07-13 08:00:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020411 -2.78054)'), GeomFromEWKT('SRID=4674;POINT (-40.020319 -2.780557)'))) / (select extract(epoch from '2026-07-13 08:00:19'::timestamp) - extract(epoch from '2026-07-13 08:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020411 -2.78054)'), GeomFromEWKT('SRID=4674;POINT (-40.020319 -2.780557)'))) / (select extract(epoch from '2026-07-13 08:00:19'::timestamp) - extract(epoch from '2026-07-13 08:00: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'), 47628, 'SRID=4674;POINT (-40.020291 -2.780574)', '2026-07-13 08:00:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020319 -2.780557)'), GeomFromEWKT('SRID=4674;POINT (-40.020291 -2.780574)'))) / (select extract(epoch from '2026-07-13 08:00:22'::timestamp) - extract(epoch from '2026-07-13 08:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020319 -2.780557)'), GeomFromEWKT('SRID=4674;POINT (-40.020291 -2.780574)'))) / (select extract(epoch from '2026-07-13 08:00:22'::timestamp) - extract(epoch from '2026-07-13 08:00:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020281 -2.780589)', '2026-07-13 08:00:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020291 -2.780574)'), GeomFromEWKT('SRID=4674;POINT (-40.020281 -2.780589)'))) / (select extract(epoch from '2026-07-13 08:00:24'::timestamp) - extract(epoch from '2026-07-13 08:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020291 -2.780574)'), GeomFromEWKT('SRID=4674;POINT (-40.020281 -2.780589)'))) / (select extract(epoch from '2026-07-13 08:00:24'::timestamp) - extract(epoch from '2026-07-13 08:00:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020252 -2.780624)', '2026-07-13 08:00:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020281 -2.780589)'), GeomFromEWKT('SRID=4674;POINT (-40.020252 -2.780624)'))) / (select extract(epoch from '2026-07-13 08:00:31'::timestamp) - extract(epoch from '2026-07-13 08:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020281 -2.780589)'), GeomFromEWKT('SRID=4674;POINT (-40.020252 -2.780624)'))) / (select extract(epoch from '2026-07-13 08:00:31'::timestamp) - extract(epoch from '2026-07-13 08:00: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'), 47628, 'SRID=4674;POINT (-40.02022 -2.780637)', '2026-07-13 08:00:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020252 -2.780624)'), GeomFromEWKT('SRID=4674;POINT (-40.02022 -2.780637)'))) / (select extract(epoch from '2026-07-13 08:00:38'::timestamp) - extract(epoch from '2026-07-13 08:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020252 -2.780624)'), GeomFromEWKT('SRID=4674;POINT (-40.02022 -2.780637)'))) / (select extract(epoch from '2026-07-13 08:00:38'::timestamp) - extract(epoch from '2026-07-13 08:00: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'), 47628, 'SRID=4674;POINT (-40.020177 -2.780638)', '2026-07-13 08:00:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02022 -2.780637)'), GeomFromEWKT('SRID=4674;POINT (-40.020177 -2.780638)'))) / (select extract(epoch from '2026-07-13 08:00:47'::timestamp) - extract(epoch from '2026-07-13 08:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02022 -2.780637)'), GeomFromEWKT('SRID=4674;POINT (-40.020177 -2.780638)'))) / (select extract(epoch from '2026-07-13 08:00:47'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.02013 -2.780618)', '2026-07-13 08:00:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020177 -2.780638)'), GeomFromEWKT('SRID=4674;POINT (-40.02013 -2.780618)'))) / (select extract(epoch from '2026-07-13 08:00:52'::timestamp) - extract(epoch from '2026-07-13 08:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020177 -2.780638)'), GeomFromEWKT('SRID=4674;POINT (-40.02013 -2.780618)'))) / (select extract(epoch from '2026-07-13 08:00:52'::timestamp) - extract(epoch from '2026-07-13 08:00: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'), 47628, 'SRID=4674;POINT (-40.020111 -2.780603)', '2026-07-13 08:00:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02013 -2.780618)'), GeomFromEWKT('SRID=4674;POINT (-40.020111 -2.780603)'))) / (select extract(epoch from '2026-07-13 08:00:54'::timestamp) - extract(epoch from '2026-07-13 08:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02013 -2.780618)'), GeomFromEWKT('SRID=4674;POINT (-40.020111 -2.780603)'))) / (select extract(epoch from '2026-07-13 08:00:54'::timestamp) - extract(epoch from '2026-07-13 08:00: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'), 47628, 'SRID=4674;POINT (-40.020055 -2.780558)', '2026-07-13 08:01:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020111 -2.780603)'), GeomFromEWKT('SRID=4674;POINT (-40.020055 -2.780558)'))) / (select extract(epoch from '2026-07-13 08:01:00'::timestamp) - extract(epoch from '2026-07-13 08:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020111 -2.780603)'), GeomFromEWKT('SRID=4674;POINT (-40.020055 -2.780558)'))) / (select extract(epoch from '2026-07-13 08:01:00'::timestamp) - extract(epoch from '2026-07-13 08:00: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'), 47628, 'SRID=4674;POINT (-40.020035 -2.780533)', '2026-07-13 08:01:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020055 -2.780558)'), GeomFromEWKT('SRID=4674;POINT (-40.020035 -2.780533)'))) / (select extract(epoch from '2026-07-13 08:01:05'::timestamp) - extract(epoch from '2026-07-13 08:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020055 -2.780558)'), GeomFromEWKT('SRID=4674;POINT (-40.020035 -2.780533)'))) / (select extract(epoch from '2026-07-13 08:01:05'::timestamp) - extract(epoch from '2026-07-13 08:01:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020007 -2.78049)', '2026-07-13 08:01:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020035 -2.780533)'), GeomFromEWKT('SRID=4674;POINT (-40.020007 -2.78049)'))) / (select extract(epoch from '2026-07-13 08:01:12'::timestamp) - extract(epoch from '2026-07-13 08:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020035 -2.780533)'), GeomFromEWKT('SRID=4674;POINT (-40.020007 -2.78049)'))) / (select extract(epoch from '2026-07-13 08:01:12'::timestamp) - extract(epoch from '2026-07-13 08:01: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'), 47628, 'SRID=4674;POINT (-40.019963 -2.780433)', '2026-07-13 08:01:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020007 -2.78049)'), GeomFromEWKT('SRID=4674;POINT (-40.019963 -2.780433)'))) / (select extract(epoch from '2026-07-13 08:01:18'::timestamp) - extract(epoch from '2026-07-13 08:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020007 -2.78049)'), GeomFromEWKT('SRID=4674;POINT (-40.019963 -2.780433)'))) / (select extract(epoch from '2026-07-13 08:01:18'::timestamp) - extract(epoch from '2026-07-13 08:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019891 -2.78035)', '2026-07-13 08:01:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019963 -2.780433)'), GeomFromEWKT('SRID=4674;POINT (-40.019891 -2.78035)'))) / (select extract(epoch from '2026-07-13 08:01:25'::timestamp) - extract(epoch from '2026-07-13 08:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019963 -2.780433)'), GeomFromEWKT('SRID=4674;POINT (-40.019891 -2.78035)'))) / (select extract(epoch from '2026-07-13 08:01:25'::timestamp) - extract(epoch from '2026-07-13 08:01:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019818 -2.780253)', '2026-07-13 08:01:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019891 -2.78035)'), GeomFromEWKT('SRID=4674;POINT (-40.019818 -2.780253)'))) / (select extract(epoch from '2026-07-13 08:01:32'::timestamp) - extract(epoch from '2026-07-13 08:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019891 -2.78035)'), GeomFromEWKT('SRID=4674;POINT (-40.019818 -2.780253)'))) / (select extract(epoch from '2026-07-13 08:01:32'::timestamp) - extract(epoch from '2026-07-13 08:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019747 -2.780136)', '2026-07-13 08:01:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019818 -2.780253)'), GeomFromEWKT('SRID=4674;POINT (-40.019747 -2.780136)'))) / (select extract(epoch from '2026-07-13 08:01:39'::timestamp) - extract(epoch from '2026-07-13 08:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019818 -2.780253)'), GeomFromEWKT('SRID=4674;POINT (-40.019747 -2.780136)'))) / (select extract(epoch from '2026-07-13 08:01:39'::timestamp) - extract(epoch from '2026-07-13 08:01: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'), 47628, 'SRID=4674;POINT (-40.019692 -2.780035)', '2026-07-13 08:01:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019747 -2.780136)'), GeomFromEWKT('SRID=4674;POINT (-40.019692 -2.780035)'))) / (select extract(epoch from '2026-07-13 08:01:45'::timestamp) - extract(epoch from '2026-07-13 08:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019747 -2.780136)'), GeomFromEWKT('SRID=4674;POINT (-40.019692 -2.780035)'))) / (select extract(epoch from '2026-07-13 08:01:45'::timestamp) - extract(epoch from '2026-07-13 08:01:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019651 -2.779956)', '2026-07-13 08:01:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019692 -2.780035)'), GeomFromEWKT('SRID=4674;POINT (-40.019651 -2.779956)'))) / (select extract(epoch from '2026-07-13 08:01:50'::timestamp) - extract(epoch from '2026-07-13 08:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019692 -2.780035)'), GeomFromEWKT('SRID=4674;POINT (-40.019651 -2.779956)'))) / (select extract(epoch from '2026-07-13 08:01:50'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.019605 -2.779854)', '2026-07-13 08:01:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019651 -2.779956)'), GeomFromEWKT('SRID=4674;POINT (-40.019605 -2.779854)'))) / (select extract(epoch from '2026-07-13 08:01:56'::timestamp) - extract(epoch from '2026-07-13 08:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019651 -2.779956)'), GeomFromEWKT('SRID=4674;POINT (-40.019605 -2.779854)'))) / (select extract(epoch from '2026-07-13 08:01:56'::timestamp) - extract(epoch from '2026-07-13 08:01:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019556 -2.779768)', '2026-07-13 08:02:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019605 -2.779854)'), GeomFromEWKT('SRID=4674;POINT (-40.019556 -2.779768)'))) / (select extract(epoch from '2026-07-13 08:02:03'::timestamp) - extract(epoch from '2026-07-13 08:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019605 -2.779854)'), GeomFromEWKT('SRID=4674;POINT (-40.019556 -2.779768)'))) / (select extract(epoch from '2026-07-13 08:02:03'::timestamp) - extract(epoch from '2026-07-13 08:01: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'), 47628, 'SRID=4674;POINT (-40.019525 -2.779726)', '2026-07-13 08:02:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019556 -2.779768)'), GeomFromEWKT('SRID=4674;POINT (-40.019525 -2.779726)'))) / (select extract(epoch from '2026-07-13 08:02:09'::timestamp) - extract(epoch from '2026-07-13 08:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019556 -2.779768)'), GeomFromEWKT('SRID=4674;POINT (-40.019525 -2.779726)'))) / (select extract(epoch from '2026-07-13 08:02:09'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.019514 -2.779687)', '2026-07-13 08:02:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019525 -2.779726)'), GeomFromEWKT('SRID=4674;POINT (-40.019514 -2.779687)'))) / (select extract(epoch from '2026-07-13 08:02:15'::timestamp) - extract(epoch from '2026-07-13 08:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019525 -2.779726)'), GeomFromEWKT('SRID=4674;POINT (-40.019514 -2.779687)'))) / (select extract(epoch from '2026-07-13 08:02:15'::timestamp) - extract(epoch from '2026-07-13 08:02: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'), 47628, 'SRID=4674;POINT (-40.019554 -2.779625)', '2026-07-13 08:02:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019514 -2.779687)'), GeomFromEWKT('SRID=4674;POINT (-40.019554 -2.779625)'))) / (select extract(epoch from '2026-07-13 08:02:29'::timestamp) - extract(epoch from '2026-07-13 08:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019514 -2.779687)'), GeomFromEWKT('SRID=4674;POINT (-40.019554 -2.779625)'))) / (select extract(epoch from '2026-07-13 08:02:29'::timestamp) - extract(epoch from '2026-07-13 08:02:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019596 -2.779598)', '2026-07-13 08:02:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019554 -2.779625)'), GeomFromEWKT('SRID=4674;POINT (-40.019596 -2.779598)'))) / (select extract(epoch from '2026-07-13 08:02:45'::timestamp) - extract(epoch from '2026-07-13 08:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019554 -2.779625)'), GeomFromEWKT('SRID=4674;POINT (-40.019596 -2.779598)'))) / (select extract(epoch from '2026-07-13 08:02:45'::timestamp) - extract(epoch from '2026-07-13 08:02: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'), 47628, 'SRID=4674;POINT (-40.019602 -2.779606)', '2026-07-13 08:02:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019596 -2.779598)'), GeomFromEWKT('SRID=4674;POINT (-40.019602 -2.779606)'))) / (select extract(epoch from '2026-07-13 08:02:56'::timestamp) - extract(epoch from '2026-07-13 08:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019596 -2.779598)'), GeomFromEWKT('SRID=4674;POINT (-40.019602 -2.779606)'))) / (select extract(epoch from '2026-07-13 08:02:56'::timestamp) - extract(epoch from '2026-07-13 08:02: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'), 47628, 'SRID=4674;POINT (-40.019615 -2.779631)', '2026-07-13 08:03:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019602 -2.779606)'), GeomFromEWKT('SRID=4674;POINT (-40.019615 -2.779631)'))) / (select extract(epoch from '2026-07-13 08:03:08'::timestamp) - extract(epoch from '2026-07-13 08:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019602 -2.779606)'), GeomFromEWKT('SRID=4674;POINT (-40.019615 -2.779631)'))) / (select extract(epoch from '2026-07-13 08:03:08'::timestamp) - extract(epoch from '2026-07-13 08:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019619 -2.779638)', '2026-07-13 08:03:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019615 -2.779631)'), GeomFromEWKT('SRID=4674;POINT (-40.019619 -2.779638)'))) / (select extract(epoch from '2026-07-13 08:03:35'::timestamp) - extract(epoch from '2026-07-13 08:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019615 -2.779631)'), GeomFromEWKT('SRID=4674;POINT (-40.019619 -2.779638)'))) / (select extract(epoch from '2026-07-13 08:03:35'::timestamp) - extract(epoch from '2026-07-13 08:03: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'), 47628, 'SRID=4674;POINT (-40.019601 -2.779626)', '2026-07-13 08:04:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019619 -2.779638)'), GeomFromEWKT('SRID=4674;POINT (-40.019601 -2.779626)'))) / (select extract(epoch from '2026-07-13 08:04:07'::timestamp) - extract(epoch from '2026-07-13 08:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019619 -2.779638)'), GeomFromEWKT('SRID=4674;POINT (-40.019601 -2.779626)'))) / (select extract(epoch from '2026-07-13 08:04:07'::timestamp) - extract(epoch from '2026-07-13 08:03: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'), 47628, 'SRID=4674;POINT (-40.019571 -2.77964)', '2026-07-13 08:04:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019601 -2.779626)'), GeomFromEWKT('SRID=4674;POINT (-40.019571 -2.77964)'))) / (select extract(epoch from '2026-07-13 08:04:15'::timestamp) - extract(epoch from '2026-07-13 08:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019601 -2.779626)'), GeomFromEWKT('SRID=4674;POINT (-40.019571 -2.77964)'))) / (select extract(epoch from '2026-07-13 08:04:15'::timestamp) - extract(epoch from '2026-07-13 08:04:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019557 -2.779646)', '2026-07-13 08:04:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019571 -2.77964)'), GeomFromEWKT('SRID=4674;POINT (-40.019557 -2.779646)'))) / (select extract(epoch from '2026-07-13 08:04:22'::timestamp) - extract(epoch from '2026-07-13 08:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019571 -2.77964)'), GeomFromEWKT('SRID=4674;POINT (-40.019557 -2.779646)'))) / (select extract(epoch from '2026-07-13 08:04:22'::timestamp) - extract(epoch from '2026-07-13 08:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019531 -2.779658)', '2026-07-13 08:04:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019557 -2.779646)'), GeomFromEWKT('SRID=4674;POINT (-40.019531 -2.779658)'))) / (select extract(epoch from '2026-07-13 08:04:30'::timestamp) - extract(epoch from '2026-07-13 08:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019557 -2.779646)'), GeomFromEWKT('SRID=4674;POINT (-40.019531 -2.779658)'))) / (select extract(epoch from '2026-07-13 08:04:30'::timestamp) - extract(epoch from '2026-07-13 08:04: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'), 47628, 'SRID=4674;POINT (-40.019528 -2.779652)', '2026-07-13 08:04:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019531 -2.779658)'), GeomFromEWKT('SRID=4674;POINT (-40.019528 -2.779652)'))) / (select extract(epoch from '2026-07-13 08:04:36'::timestamp) - extract(epoch from '2026-07-13 08:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019531 -2.779658)'), GeomFromEWKT('SRID=4674;POINT (-40.019528 -2.779652)'))) / (select extract(epoch from '2026-07-13 08:04:36'::timestamp) - extract(epoch from '2026-07-13 08:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019547 -2.779657)', '2026-07-13 08:04:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019528 -2.779652)'), GeomFromEWKT('SRID=4674;POINT (-40.019547 -2.779657)'))) / (select extract(epoch from '2026-07-13 08:04:42'::timestamp) - extract(epoch from '2026-07-13 08:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019528 -2.779652)'), GeomFromEWKT('SRID=4674;POINT (-40.019547 -2.779657)'))) / (select extract(epoch from '2026-07-13 08:04:42'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.019527 -2.779676)', '2026-07-13 08:04:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019547 -2.779657)'), GeomFromEWKT('SRID=4674;POINT (-40.019527 -2.779676)'))) / (select extract(epoch from '2026-07-13 08:04:49'::timestamp) - extract(epoch from '2026-07-13 08:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019547 -2.779657)'), GeomFromEWKT('SRID=4674;POINT (-40.019527 -2.779676)'))) / (select extract(epoch from '2026-07-13 08:04:49'::timestamp) - extract(epoch from '2026-07-13 08:04:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019521 -2.779686)', '2026-07-13 08:04:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019527 -2.779676)'), GeomFromEWKT('SRID=4674;POINT (-40.019521 -2.779686)'))) / (select extract(epoch from '2026-07-13 08:04:59'::timestamp) - extract(epoch from '2026-07-13 08:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019527 -2.779676)'), GeomFromEWKT('SRID=4674;POINT (-40.019521 -2.779686)'))) / (select extract(epoch from '2026-07-13 08:04:59'::timestamp) - extract(epoch from '2026-07-13 08:04:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.01955 -2.779665)', '2026-07-13 08:05:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019521 -2.779686)'), GeomFromEWKT('SRID=4674;POINT (-40.01955 -2.779665)'))) / (select extract(epoch from '2026-07-13 08:05:11'::timestamp) - extract(epoch from '2026-07-13 08:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019521 -2.779686)'), GeomFromEWKT('SRID=4674;POINT (-40.01955 -2.779665)'))) / (select extract(epoch from '2026-07-13 08:05:11'::timestamp) - extract(epoch from '2026-07-13 08:04: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'), 47628, 'SRID=4674;POINT (-40.019603 -2.779645)', '2026-07-13 08:05:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01955 -2.779665)'), GeomFromEWKT('SRID=4674;POINT (-40.019603 -2.779645)'))) / (select extract(epoch from '2026-07-13 08:05:22'::timestamp) - extract(epoch from '2026-07-13 08:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01955 -2.779665)'), GeomFromEWKT('SRID=4674;POINT (-40.019603 -2.779645)'))) / (select extract(epoch from '2026-07-13 08:05:22'::timestamp) - extract(epoch from '2026-07-13 08:05:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019672 -2.779599)', '2026-07-13 08:05:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019603 -2.779645)'), GeomFromEWKT('SRID=4674;POINT (-40.019672 -2.779599)'))) / (select extract(epoch from '2026-07-13 08:05:36'::timestamp) - extract(epoch from '2026-07-13 08:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019603 -2.779645)'), GeomFromEWKT('SRID=4674;POINT (-40.019672 -2.779599)'))) / (select extract(epoch from '2026-07-13 08:05:36'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.019702 -2.779578)', '2026-07-13 08:05:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019672 -2.779599)'), GeomFromEWKT('SRID=4674;POINT (-40.019702 -2.779578)'))) / (select extract(epoch from '2026-07-13 08:05:43'::timestamp) - extract(epoch from '2026-07-13 08:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019672 -2.779599)'), GeomFromEWKT('SRID=4674;POINT (-40.019702 -2.779578)'))) / (select extract(epoch from '2026-07-13 08:05:43'::timestamp) - extract(epoch from '2026-07-13 08:05:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019727 -2.779562)', '2026-07-13 08:05:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019702 -2.779578)'), GeomFromEWKT('SRID=4674;POINT (-40.019727 -2.779562)'))) / (select extract(epoch from '2026-07-13 08:05:50'::timestamp) - extract(epoch from '2026-07-13 08:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019702 -2.779578)'), GeomFromEWKT('SRID=4674;POINT (-40.019727 -2.779562)'))) / (select extract(epoch from '2026-07-13 08:05:50'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.019749 -2.779555)', '2026-07-13 08:05:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019727 -2.779562)'), GeomFromEWKT('SRID=4674;POINT (-40.019749 -2.779555)'))) / (select extract(epoch from '2026-07-13 08:05:55'::timestamp) - extract(epoch from '2026-07-13 08:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019727 -2.779562)'), GeomFromEWKT('SRID=4674;POINT (-40.019749 -2.779555)'))) / (select extract(epoch from '2026-07-13 08:05:55'::timestamp) - extract(epoch from '2026-07-13 08:05: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'), 47628, 'SRID=4674;POINT (-40.019771 -2.779542)', '2026-07-13 08:06:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019749 -2.779555)'), GeomFromEWKT('SRID=4674;POINT (-40.019771 -2.779542)'))) / (select extract(epoch from '2026-07-13 08:06:00'::timestamp) - extract(epoch from '2026-07-13 08:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019749 -2.779555)'), GeomFromEWKT('SRID=4674;POINT (-40.019771 -2.779542)'))) / (select extract(epoch from '2026-07-13 08:06:00'::timestamp) - extract(epoch from '2026-07-13 08:05: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'), 47628, 'SRID=4674;POINT (-40.019816 -2.779508)', '2026-07-13 08:06:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019771 -2.779542)'), GeomFromEWKT('SRID=4674;POINT (-40.019816 -2.779508)'))) / (select extract(epoch from '2026-07-13 08:06:13'::timestamp) - extract(epoch from '2026-07-13 08:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019771 -2.779542)'), GeomFromEWKT('SRID=4674;POINT (-40.019816 -2.779508)'))) / (select extract(epoch from '2026-07-13 08:06:13'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.019878 -2.779473)', '2026-07-13 08:06:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019816 -2.779508)'), GeomFromEWKT('SRID=4674;POINT (-40.019878 -2.779473)'))) / (select extract(epoch from '2026-07-13 08:06:33'::timestamp) - extract(epoch from '2026-07-13 08:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019816 -2.779508)'), GeomFromEWKT('SRID=4674;POINT (-40.019878 -2.779473)'))) / (select extract(epoch from '2026-07-13 08:06:33'::timestamp) - extract(epoch from '2026-07-13 08:06: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'), 47628, 'SRID=4674;POINT (-40.019944 -2.779458)', '2026-07-13 08:06:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019878 -2.779473)'), GeomFromEWKT('SRID=4674;POINT (-40.019944 -2.779458)'))) / (select extract(epoch from '2026-07-13 08:06:58'::timestamp) - extract(epoch from '2026-07-13 08:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019878 -2.779473)'), GeomFromEWKT('SRID=4674;POINT (-40.019944 -2.779458)'))) / (select extract(epoch from '2026-07-13 08:06:58'::timestamp) - extract(epoch from '2026-07-13 08:06:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019953 -2.77948)', '2026-07-13 08:07:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019944 -2.779458)'), GeomFromEWKT('SRID=4674;POINT (-40.019953 -2.77948)'))) / (select extract(epoch from '2026-07-13 08:07:16'::timestamp) - extract(epoch from '2026-07-13 08:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019944 -2.779458)'), GeomFromEWKT('SRID=4674;POINT (-40.019953 -2.77948)'))) / (select extract(epoch from '2026-07-13 08:07:16'::timestamp) - extract(epoch from '2026-07-13 08:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019956 -2.779484)', '2026-07-13 08:07:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019953 -2.77948)'), GeomFromEWKT('SRID=4674;POINT (-40.019956 -2.779484)'))) / (select extract(epoch from '2026-07-13 08:07:32'::timestamp) - extract(epoch from '2026-07-13 08:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019953 -2.77948)'), GeomFromEWKT('SRID=4674;POINT (-40.019956 -2.779484)'))) / (select extract(epoch from '2026-07-13 08:07:32'::timestamp) - extract(epoch from '2026-07-13 08:07: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'), 47628, 'SRID=4674;POINT (-40.019987 -2.779476)', '2026-07-13 08:07:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019956 -2.779484)'), GeomFromEWKT('SRID=4674;POINT (-40.019987 -2.779476)'))) / (select extract(epoch from '2026-07-13 08:07:53'::timestamp) - extract(epoch from '2026-07-13 08:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019956 -2.779484)'), GeomFromEWKT('SRID=4674;POINT (-40.019987 -2.779476)'))) / (select extract(epoch from '2026-07-13 08:07:53'::timestamp) - extract(epoch from '2026-07-13 08:07: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'), 47628, 'SRID=4674;POINT (-40.020022 -2.779476)', '2026-07-13 08:08:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019987 -2.779476)'), GeomFromEWKT('SRID=4674;POINT (-40.020022 -2.779476)'))) / (select extract(epoch from '2026-07-13 08:08:10'::timestamp) - extract(epoch from '2026-07-13 08:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019987 -2.779476)'), GeomFromEWKT('SRID=4674;POINT (-40.020022 -2.779476)'))) / (select extract(epoch from '2026-07-13 08:08:10'::timestamp) - extract(epoch from '2026-07-13 08:07:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020043 -2.779479)', '2026-07-13 08:08:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020022 -2.779476)'), GeomFromEWKT('SRID=4674;POINT (-40.020043 -2.779479)'))) / (select extract(epoch from '2026-07-13 08:08:17'::timestamp) - extract(epoch from '2026-07-13 08:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020022 -2.779476)'), GeomFromEWKT('SRID=4674;POINT (-40.020043 -2.779479)'))) / (select extract(epoch from '2026-07-13 08:08:17'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.020032 -2.779483)', '2026-07-13 08:08:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020043 -2.779479)'), GeomFromEWKT('SRID=4674;POINT (-40.020032 -2.779483)'))) / (select extract(epoch from '2026-07-13 08:08:23'::timestamp) - extract(epoch from '2026-07-13 08:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020043 -2.779479)'), GeomFromEWKT('SRID=4674;POINT (-40.020032 -2.779483)'))) / (select extract(epoch from '2026-07-13 08:08:23'::timestamp) - extract(epoch from '2026-07-13 08:08: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'), 47628, 'SRID=4674;POINT (-40.020031 -2.779483)', '2026-07-13 08:08:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020032 -2.779483)'), GeomFromEWKT('SRID=4674;POINT (-40.020031 -2.779483)'))) / (select extract(epoch from '2026-07-13 08:08:34'::timestamp) - extract(epoch from '2026-07-13 08:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020032 -2.779483)'), GeomFromEWKT('SRID=4674;POINT (-40.020031 -2.779483)'))) / (select extract(epoch from '2026-07-13 08:08:34'::timestamp) - extract(epoch from '2026-07-13 08:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020022 -2.779476)', '2026-07-13 08:08:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020031 -2.779483)'), GeomFromEWKT('SRID=4674;POINT (-40.020022 -2.779476)'))) / (select extract(epoch from '2026-07-13 08:08:47'::timestamp) - extract(epoch from '2026-07-13 08:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020031 -2.779483)'), GeomFromEWKT('SRID=4674;POINT (-40.020022 -2.779476)'))) / (select extract(epoch from '2026-07-13 08:08:47'::timestamp) - extract(epoch from '2026-07-13 08:08: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'), 47628, 'SRID=4674;POINT (-40.020023 -2.779475)', '2026-07-13 08:08:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020022 -2.779476)'), GeomFromEWKT('SRID=4674;POINT (-40.020023 -2.779475)'))) / (select extract(epoch from '2026-07-13 08:08:56'::timestamp) - extract(epoch from '2026-07-13 08:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020022 -2.779476)'), GeomFromEWKT('SRID=4674;POINT (-40.020023 -2.779475)'))) / (select extract(epoch from '2026-07-13 08:08:56'::timestamp) - extract(epoch from '2026-07-13 08:08: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'), 47628, 'SRID=4674;POINT (-40.020024 -2.779475)', '2026-07-13 08:09:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020023 -2.779475)'), GeomFromEWKT('SRID=4674;POINT (-40.020024 -2.779475)'))) / (select extract(epoch from '2026-07-13 08:09:12'::timestamp) - extract(epoch from '2026-07-13 08:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020023 -2.779475)'), GeomFromEWKT('SRID=4674;POINT (-40.020024 -2.779475)'))) / (select extract(epoch from '2026-07-13 08:09:12'::timestamp) - extract(epoch from '2026-07-13 08:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020005 -2.779495)', '2026-07-13 08:09:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020024 -2.779475)'), GeomFromEWKT('SRID=4674;POINT (-40.020005 -2.779495)'))) / (select extract(epoch from '2026-07-13 08:09:24'::timestamp) - extract(epoch from '2026-07-13 08:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020024 -2.779475)'), GeomFromEWKT('SRID=4674;POINT (-40.020005 -2.779495)'))) / (select extract(epoch from '2026-07-13 08:09:24'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.019969 -2.779483)', '2026-07-13 08:09:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020005 -2.779495)'), GeomFromEWKT('SRID=4674;POINT (-40.019969 -2.779483)'))) / (select extract(epoch from '2026-07-13 08:09:30'::timestamp) - extract(epoch from '2026-07-13 08:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020005 -2.779495)'), GeomFromEWKT('SRID=4674;POINT (-40.019969 -2.779483)'))) / (select extract(epoch from '2026-07-13 08:09:30'::timestamp) - extract(epoch from '2026-07-13 08:09: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'), 47628, 'SRID=4674;POINT (-40.019913 -2.779457)', '2026-07-13 08:09:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019969 -2.779483)'), GeomFromEWKT('SRID=4674;POINT (-40.019913 -2.779457)'))) / (select extract(epoch from '2026-07-13 08:09:38'::timestamp) - extract(epoch from '2026-07-13 08:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019969 -2.779483)'), GeomFromEWKT('SRID=4674;POINT (-40.019913 -2.779457)'))) / (select extract(epoch from '2026-07-13 08:09:38'::timestamp) - extract(epoch from '2026-07-13 08:09: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'), 47628, 'SRID=4674;POINT (-40.019849 -2.779455)', '2026-07-13 08:09:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019913 -2.779457)'), GeomFromEWKT('SRID=4674;POINT (-40.019849 -2.779455)'))) / (select extract(epoch from '2026-07-13 08:09:46'::timestamp) - extract(epoch from '2026-07-13 08:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019913 -2.779457)'), GeomFromEWKT('SRID=4674;POINT (-40.019849 -2.779455)'))) / (select extract(epoch from '2026-07-13 08:09:46'::timestamp) - extract(epoch from '2026-07-13 08:09: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'), 47628, 'SRID=4674;POINT (-40.019797 -2.779488)', '2026-07-13 08:09:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019849 -2.779455)'), GeomFromEWKT('SRID=4674;POINT (-40.019797 -2.779488)'))) / (select extract(epoch from '2026-07-13 08:09:52'::timestamp) - extract(epoch from '2026-07-13 08:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019849 -2.779455)'), GeomFromEWKT('SRID=4674;POINT (-40.019797 -2.779488)'))) / (select extract(epoch from '2026-07-13 08:09:52'::timestamp) - extract(epoch from '2026-07-13 08:09: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'), 47628, 'SRID=4674;POINT (-40.019758 -2.779536)', '2026-07-13 08:10:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019797 -2.779488)'), GeomFromEWKT('SRID=4674;POINT (-40.019758 -2.779536)'))) / (select extract(epoch from '2026-07-13 08:10:04'::timestamp) - extract(epoch from '2026-07-13 08:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019797 -2.779488)'), GeomFromEWKT('SRID=4674;POINT (-40.019758 -2.779536)'))) / (select extract(epoch from '2026-07-13 08:10:04'::timestamp) - extract(epoch from '2026-07-13 08:09: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'), 47628, 'SRID=4674;POINT (-40.019713 -2.779516)', '2026-07-13 08:10:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019758 -2.779536)'), GeomFromEWKT('SRID=4674;POINT (-40.019713 -2.779516)'))) / (select extract(epoch from '2026-07-13 08:10:18'::timestamp) - extract(epoch from '2026-07-13 08:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019758 -2.779536)'), GeomFromEWKT('SRID=4674;POINT (-40.019713 -2.779516)'))) / (select extract(epoch from '2026-07-13 08:10:18'::timestamp) - extract(epoch from '2026-07-13 08:10:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019656 -2.779435)', '2026-07-13 08:10:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019713 -2.779516)'), GeomFromEWKT('SRID=4674;POINT (-40.019656 -2.779435)'))) / (select extract(epoch from '2026-07-13 08:10:26'::timestamp) - extract(epoch from '2026-07-13 08:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019713 -2.779516)'), GeomFromEWKT('SRID=4674;POINT (-40.019656 -2.779435)'))) / (select extract(epoch from '2026-07-13 08:10:26'::timestamp) - extract(epoch from '2026-07-13 08:10: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'), 47628, 'SRID=4674;POINT (-40.019605 -2.779345)', '2026-07-13 08:10:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019656 -2.779435)'), GeomFromEWKT('SRID=4674;POINT (-40.019605 -2.779345)'))) / (select extract(epoch from '2026-07-13 08:10:33'::timestamp) - extract(epoch from '2026-07-13 08:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019656 -2.779435)'), GeomFromEWKT('SRID=4674;POINT (-40.019605 -2.779345)'))) / (select extract(epoch from '2026-07-13 08:10:33'::timestamp) - extract(epoch from '2026-07-13 08:10:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019556 -2.779259)', '2026-07-13 08:10:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019605 -2.779345)'), GeomFromEWKT('SRID=4674;POINT (-40.019556 -2.779259)'))) / (select extract(epoch from '2026-07-13 08:10:40'::timestamp) - extract(epoch from '2026-07-13 08:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019605 -2.779345)'), GeomFromEWKT('SRID=4674;POINT (-40.019556 -2.779259)'))) / (select extract(epoch from '2026-07-13 08:10:40'::timestamp) - extract(epoch from '2026-07-13 08:10: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'), 47628, 'SRID=4674;POINT (-40.019529 -2.779146)', '2026-07-13 08:10:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019556 -2.779259)'), GeomFromEWKT('SRID=4674;POINT (-40.019529 -2.779146)'))) / (select extract(epoch from '2026-07-13 08:10:47'::timestamp) - extract(epoch from '2026-07-13 08:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019556 -2.779259)'), GeomFromEWKT('SRID=4674;POINT (-40.019529 -2.779146)'))) / (select extract(epoch from '2026-07-13 08:10:47'::timestamp) - extract(epoch from '2026-07-13 08:10:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.01948 -2.779056)', '2026-07-13 08:10:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019529 -2.779146)'), GeomFromEWKT('SRID=4674;POINT (-40.01948 -2.779056)'))) / (select extract(epoch from '2026-07-13 08:10:55'::timestamp) - extract(epoch from '2026-07-13 08:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019529 -2.779146)'), GeomFromEWKT('SRID=4674;POINT (-40.01948 -2.779056)'))) / (select extract(epoch from '2026-07-13 08:10:55'::timestamp) - extract(epoch from '2026-07-13 08:10:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019454 -2.778947)', '2026-07-13 08:11:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01948 -2.779056)'), GeomFromEWKT('SRID=4674;POINT (-40.019454 -2.778947)'))) / (select extract(epoch from '2026-07-13 08:11:02'::timestamp) - extract(epoch from '2026-07-13 08:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01948 -2.779056)'), GeomFromEWKT('SRID=4674;POINT (-40.019454 -2.778947)'))) / (select extract(epoch from '2026-07-13 08:11:02'::timestamp) - extract(epoch from '2026-07-13 08:10: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'), 47628, 'SRID=4674;POINT (-40.019445 -2.778771)', '2026-07-13 08:11:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019454 -2.778947)'), GeomFromEWKT('SRID=4674;POINT (-40.019445 -2.778771)'))) / (select extract(epoch from '2026-07-13 08:11:11'::timestamp) - extract(epoch from '2026-07-13 08:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019454 -2.778947)'), GeomFromEWKT('SRID=4674;POINT (-40.019445 -2.778771)'))) / (select extract(epoch from '2026-07-13 08:11:11'::timestamp) - extract(epoch from '2026-07-13 08:11: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'), 47628, 'SRID=4674;POINT (-40.019438 -2.778616)', '2026-07-13 08:11:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019445 -2.778771)'), GeomFromEWKT('SRID=4674;POINT (-40.019438 -2.778616)'))) / (select extract(epoch from '2026-07-13 08:11:19'::timestamp) - extract(epoch from '2026-07-13 08:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019445 -2.778771)'), GeomFromEWKT('SRID=4674;POINT (-40.019438 -2.778616)'))) / (select extract(epoch from '2026-07-13 08:11:19'::timestamp) - extract(epoch from '2026-07-13 08:11: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'), 47628, 'SRID=4674;POINT (-40.019432 -2.778528)', '2026-07-13 08:11:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019438 -2.778616)'), GeomFromEWKT('SRID=4674;POINT (-40.019432 -2.778528)'))) / (select extract(epoch from '2026-07-13 08:11:24'::timestamp) - extract(epoch from '2026-07-13 08:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019438 -2.778616)'), GeomFromEWKT('SRID=4674;POINT (-40.019432 -2.778528)'))) / (select extract(epoch from '2026-07-13 08:11:24'::timestamp) - extract(epoch from '2026-07-13 08:11:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.01942 -2.778434)', '2026-07-13 08:11:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019432 -2.778528)'), GeomFromEWKT('SRID=4674;POINT (-40.01942 -2.778434)'))) / (select extract(epoch from '2026-07-13 08:11:31'::timestamp) - extract(epoch from '2026-07-13 08:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019432 -2.778528)'), GeomFromEWKT('SRID=4674;POINT (-40.01942 -2.778434)'))) / (select extract(epoch from '2026-07-13 08:11:31'::timestamp) - extract(epoch from '2026-07-13 08:11: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'), 47628, 'SRID=4674;POINT (-40.019425 -2.778391)', '2026-07-13 08:11:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01942 -2.778434)'), GeomFromEWKT('SRID=4674;POINT (-40.019425 -2.778391)'))) / (select extract(epoch from '2026-07-13 08:11:37'::timestamp) - extract(epoch from '2026-07-13 08:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01942 -2.778434)'), GeomFromEWKT('SRID=4674;POINT (-40.019425 -2.778391)'))) / (select extract(epoch from '2026-07-13 08:11:37'::timestamp) - extract(epoch from '2026-07-13 08:11: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'), 47628, 'SRID=4674;POINT (-40.019473 -2.778355)', '2026-07-13 08:11:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019425 -2.778391)'), GeomFromEWKT('SRID=4674;POINT (-40.019473 -2.778355)'))) / (select extract(epoch from '2026-07-13 08:11:49'::timestamp) - extract(epoch from '2026-07-13 08:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019425 -2.778391)'), GeomFromEWKT('SRID=4674;POINT (-40.019473 -2.778355)'))) / (select extract(epoch from '2026-07-13 08:11:49'::timestamp) - extract(epoch from '2026-07-13 08:11: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'), 47628, 'SRID=4674;POINT (-40.019516 -2.778337)', '2026-07-13 08:11:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019473 -2.778355)'), GeomFromEWKT('SRID=4674;POINT (-40.019516 -2.778337)'))) / (select extract(epoch from '2026-07-13 08:11:58'::timestamp) - extract(epoch from '2026-07-13 08:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019473 -2.778355)'), GeomFromEWKT('SRID=4674;POINT (-40.019516 -2.778337)'))) / (select extract(epoch from '2026-07-13 08:11:58'::timestamp) - extract(epoch from '2026-07-13 08:11:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019542 -2.778316)', '2026-07-13 08:12:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019516 -2.778337)'), GeomFromEWKT('SRID=4674;POINT (-40.019542 -2.778316)'))) / (select extract(epoch from '2026-07-13 08:12:06'::timestamp) - extract(epoch from '2026-07-13 08:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019516 -2.778337)'), GeomFromEWKT('SRID=4674;POINT (-40.019542 -2.778316)'))) / (select extract(epoch from '2026-07-13 08:12:06'::timestamp) - extract(epoch from '2026-07-13 08:11:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019554 -2.7783)', '2026-07-13 08:12:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019542 -2.778316)'), GeomFromEWKT('SRID=4674;POINT (-40.019554 -2.7783)'))) / (select extract(epoch from '2026-07-13 08:12:18'::timestamp) - extract(epoch from '2026-07-13 08:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019542 -2.778316)'), GeomFromEWKT('SRID=4674;POINT (-40.019554 -2.7783)'))) / (select extract(epoch from '2026-07-13 08:12:18'::timestamp) - extract(epoch from '2026-07-13 08:12: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'), 47628, 'SRID=4674;POINT (-40.019576 -2.778307)', '2026-07-13 08:12:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019554 -2.7783)'), GeomFromEWKT('SRID=4674;POINT (-40.019576 -2.778307)'))) / (select extract(epoch from '2026-07-13 08:12:35'::timestamp) - extract(epoch from '2026-07-13 08:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019554 -2.7783)'), GeomFromEWKT('SRID=4674;POINT (-40.019576 -2.778307)'))) / (select extract(epoch from '2026-07-13 08:12:35'::timestamp) - extract(epoch from '2026-07-13 08:12:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019621 -2.778295)', '2026-07-13 08:12:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019576 -2.778307)'), GeomFromEWKT('SRID=4674;POINT (-40.019621 -2.778295)'))) / (select extract(epoch from '2026-07-13 08:12:56'::timestamp) - extract(epoch from '2026-07-13 08:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019576 -2.778307)'), GeomFromEWKT('SRID=4674;POINT (-40.019621 -2.778295)'))) / (select extract(epoch from '2026-07-13 08:12:56'::timestamp) - extract(epoch from '2026-07-13 08:12: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'), 47628, 'SRID=4674;POINT (-40.019652 -2.778275)', '2026-07-13 08:13:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019621 -2.778295)'), GeomFromEWKT('SRID=4674;POINT (-40.019652 -2.778275)'))) / (select extract(epoch from '2026-07-13 08:13:15'::timestamp) - extract(epoch from '2026-07-13 08:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019621 -2.778295)'), GeomFromEWKT('SRID=4674;POINT (-40.019652 -2.778275)'))) / (select extract(epoch from '2026-07-13 08:13:15'::timestamp) - extract(epoch from '2026-07-13 08:12: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'), 47628, 'SRID=4674;POINT (-40.019691 -2.778259)', '2026-07-13 08:13:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019652 -2.778275)'), GeomFromEWKT('SRID=4674;POINT (-40.019691 -2.778259)'))) / (select extract(epoch from '2026-07-13 08:13:33'::timestamp) - extract(epoch from '2026-07-13 08:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019652 -2.778275)'), GeomFromEWKT('SRID=4674;POINT (-40.019691 -2.778259)'))) / (select extract(epoch from '2026-07-13 08:13:33'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.019701 -2.778286)', '2026-07-13 08:13:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019691 -2.778259)'), GeomFromEWKT('SRID=4674;POINT (-40.019701 -2.778286)'))) / (select extract(epoch from '2026-07-13 08:13:56'::timestamp) - extract(epoch from '2026-07-13 08:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019691 -2.778259)'), GeomFromEWKT('SRID=4674;POINT (-40.019701 -2.778286)'))) / (select extract(epoch from '2026-07-13 08:13:56'::timestamp) - extract(epoch from '2026-07-13 08:13: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'), 47628, 'SRID=4674;POINT (-40.019701 -2.778298)', '2026-07-13 08:14:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019701 -2.778286)'), GeomFromEWKT('SRID=4674;POINT (-40.019701 -2.778298)'))) / (select extract(epoch from '2026-07-13 08:14:11'::timestamp) - extract(epoch from '2026-07-13 08:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019701 -2.778286)'), GeomFromEWKT('SRID=4674;POINT (-40.019701 -2.778298)'))) / (select extract(epoch from '2026-07-13 08:14:11'::timestamp) - extract(epoch from '2026-07-13 08:13: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'), 47628, 'SRID=4674;POINT (-40.019716 -2.778316)', '2026-07-13 08:14:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019701 -2.778298)'), GeomFromEWKT('SRID=4674;POINT (-40.019716 -2.778316)'))) / (select extract(epoch from '2026-07-13 08:14:42'::timestamp) - extract(epoch from '2026-07-13 08:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019701 -2.778298)'), GeomFromEWKT('SRID=4674;POINT (-40.019716 -2.778316)'))) / (select extract(epoch from '2026-07-13 08:14:42'::timestamp) - extract(epoch from '2026-07-13 08:14:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019695 -2.778293)', '2026-07-13 08:14:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019716 -2.778316)'), GeomFromEWKT('SRID=4674;POINT (-40.019695 -2.778293)'))) / (select extract(epoch from '2026-07-13 08:14:50'::timestamp) - extract(epoch from '2026-07-13 08:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019716 -2.778316)'), GeomFromEWKT('SRID=4674;POINT (-40.019695 -2.778293)'))) / (select extract(epoch from '2026-07-13 08:14:50'::timestamp) - extract(epoch from '2026-07-13 08:14: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'), 47628, 'SRID=4674;POINT (-40.019693 -2.778282)', '2026-07-13 08:15:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019695 -2.778293)'), GeomFromEWKT('SRID=4674;POINT (-40.019693 -2.778282)'))) / (select extract(epoch from '2026-07-13 08:15:03'::timestamp) - extract(epoch from '2026-07-13 08:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019695 -2.778293)'), GeomFromEWKT('SRID=4674;POINT (-40.019693 -2.778282)'))) / (select extract(epoch from '2026-07-13 08:15:03'::timestamp) - extract(epoch from '2026-07-13 08:14: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'), 47628, 'SRID=4674;POINT (-40.019701 -2.778291)', '2026-07-13 08:15:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019693 -2.778282)'), GeomFromEWKT('SRID=4674;POINT (-40.019701 -2.778291)'))) / (select extract(epoch from '2026-07-13 08:15:22'::timestamp) - extract(epoch from '2026-07-13 08:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019693 -2.778282)'), GeomFromEWKT('SRID=4674;POINT (-40.019701 -2.778291)'))) / (select extract(epoch from '2026-07-13 08:15:22'::timestamp) - extract(epoch from '2026-07-13 08:15: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'), 47628, 'SRID=4674;POINT (-40.019687 -2.778297)', '2026-07-13 08:15:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019701 -2.778291)'), GeomFromEWKT('SRID=4674;POINT (-40.019687 -2.778297)'))) / (select extract(epoch from '2026-07-13 08:15:31'::timestamp) - extract(epoch from '2026-07-13 08:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019701 -2.778291)'), GeomFromEWKT('SRID=4674;POINT (-40.019687 -2.778297)'))) / (select extract(epoch from '2026-07-13 08:15:31'::timestamp) - extract(epoch from '2026-07-13 08:15: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'), 47628, 'SRID=4674;POINT (-40.01965 -2.778274)', '2026-07-13 08:15:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019687 -2.778297)'), GeomFromEWKT('SRID=4674;POINT (-40.01965 -2.778274)'))) / (select extract(epoch from '2026-07-13 08:15:40'::timestamp) - extract(epoch from '2026-07-13 08:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019687 -2.778297)'), GeomFromEWKT('SRID=4674;POINT (-40.01965 -2.778274)'))) / (select extract(epoch from '2026-07-13 08:15:40'::timestamp) - extract(epoch from '2026-07-13 08:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019611 -2.778253)', '2026-07-13 08:15:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01965 -2.778274)'), GeomFromEWKT('SRID=4674;POINT (-40.019611 -2.778253)'))) / (select extract(epoch from '2026-07-13 08:15:46'::timestamp) - extract(epoch from '2026-07-13 08:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01965 -2.778274)'), GeomFromEWKT('SRID=4674;POINT (-40.019611 -2.778253)'))) / (select extract(epoch from '2026-07-13 08:15:46'::timestamp) - extract(epoch from '2026-07-13 08:15: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'), 47628, 'SRID=4674;POINT (-40.019529 -2.778266)', '2026-07-13 08:15:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019611 -2.778253)'), GeomFromEWKT('SRID=4674;POINT (-40.019529 -2.778266)'))) / (select extract(epoch from '2026-07-13 08:15:54'::timestamp) - extract(epoch from '2026-07-13 08:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019611 -2.778253)'), GeomFromEWKT('SRID=4674;POINT (-40.019529 -2.778266)'))) / (select extract(epoch from '2026-07-13 08:15:54'::timestamp) - extract(epoch from '2026-07-13 08:15: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'), 47628, 'SRID=4674;POINT (-40.019499 -2.778288)', '2026-07-13 08:15:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019529 -2.778266)'), GeomFromEWKT('SRID=4674;POINT (-40.019499 -2.778288)'))) / (select extract(epoch from '2026-07-13 08:15:59'::timestamp) - extract(epoch from '2026-07-13 08:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019529 -2.778266)'), GeomFromEWKT('SRID=4674;POINT (-40.019499 -2.778288)'))) / (select extract(epoch from '2026-07-13 08:15:59'::timestamp) - extract(epoch from '2026-07-13 08:15:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.01945 -2.778308)', '2026-07-13 08:16:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019499 -2.778288)'), GeomFromEWKT('SRID=4674;POINT (-40.01945 -2.778308)'))) / (select extract(epoch from '2026-07-13 08:16:08'::timestamp) - extract(epoch from '2026-07-13 08:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019499 -2.778288)'), GeomFromEWKT('SRID=4674;POINT (-40.01945 -2.778308)'))) / (select extract(epoch from '2026-07-13 08:16:08'::timestamp) - extract(epoch from '2026-07-13 08:15: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'), 47628, 'SRID=4674;POINT (-40.019431 -2.778337)', '2026-07-13 08:16:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01945 -2.778308)'), GeomFromEWKT('SRID=4674;POINT (-40.019431 -2.778337)'))) / (select extract(epoch from '2026-07-13 08:16:15'::timestamp) - extract(epoch from '2026-07-13 08:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01945 -2.778308)'), GeomFromEWKT('SRID=4674;POINT (-40.019431 -2.778337)'))) / (select extract(epoch from '2026-07-13 08:16:15'::timestamp) - extract(epoch from '2026-07-13 08:16: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'), 47628, 'SRID=4674;POINT (-40.019414 -2.778361)', '2026-07-13 08:16:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019431 -2.778337)'), GeomFromEWKT('SRID=4674;POINT (-40.019414 -2.778361)'))) / (select extract(epoch from '2026-07-13 08:16:23'::timestamp) - extract(epoch from '2026-07-13 08:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019431 -2.778337)'), GeomFromEWKT('SRID=4674;POINT (-40.019414 -2.778361)'))) / (select extract(epoch from '2026-07-13 08:16:23'::timestamp) - extract(epoch from '2026-07-13 08:16: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'), 47628, 'SRID=4674;POINT (-40.019349 -2.778332)', '2026-07-13 08:16:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019414 -2.778361)'), GeomFromEWKT('SRID=4674;POINT (-40.019349 -2.778332)'))) / (select extract(epoch from '2026-07-13 08:16:32'::timestamp) - extract(epoch from '2026-07-13 08:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019414 -2.778361)'), GeomFromEWKT('SRID=4674;POINT (-40.019349 -2.778332)'))) / (select extract(epoch from '2026-07-13 08:16:32'::timestamp) - extract(epoch from '2026-07-13 08:16:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019328 -2.778302)', '2026-07-13 08:16:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019349 -2.778332)'), GeomFromEWKT('SRID=4674;POINT (-40.019328 -2.778302)'))) / (select extract(epoch from '2026-07-13 08:16:35'::timestamp) - extract(epoch from '2026-07-13 08:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019349 -2.778332)'), GeomFromEWKT('SRID=4674;POINT (-40.019328 -2.778302)'))) / (select extract(epoch from '2026-07-13 08:16:35'::timestamp) - extract(epoch from '2026-07-13 08:16: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'), 47628, 'SRID=4674;POINT (-40.01932 -2.778265)', '2026-07-13 08:16:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019328 -2.778302)'), GeomFromEWKT('SRID=4674;POINT (-40.01932 -2.778265)'))) / (select extract(epoch from '2026-07-13 08:16:38'::timestamp) - extract(epoch from '2026-07-13 08:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019328 -2.778302)'), GeomFromEWKT('SRID=4674;POINT (-40.01932 -2.778265)'))) / (select extract(epoch from '2026-07-13 08:16:38'::timestamp) - extract(epoch from '2026-07-13 08:16: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'), 47628, 'SRID=4674;POINT (-40.019306 -2.778203)', '2026-07-13 08:16:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01932 -2.778265)'), GeomFromEWKT('SRID=4674;POINT (-40.019306 -2.778203)'))) / (select extract(epoch from '2026-07-13 08:16:43'::timestamp) - extract(epoch from '2026-07-13 08:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01932 -2.778265)'), GeomFromEWKT('SRID=4674;POINT (-40.019306 -2.778203)'))) / (select extract(epoch from '2026-07-13 08:16:43'::timestamp) - extract(epoch from '2026-07-13 08:16: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'), 47628, 'SRID=4674;POINT (-40.019304 -2.778189)', '2026-07-13 08:16:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019306 -2.778203)'), GeomFromEWKT('SRID=4674;POINT (-40.019304 -2.778189)'))) / (select extract(epoch from '2026-07-13 08:16:44'::timestamp) - extract(epoch from '2026-07-13 08:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019306 -2.778203)'), GeomFromEWKT('SRID=4674;POINT (-40.019304 -2.778189)'))) / (select extract(epoch from '2026-07-13 08:16:44'::timestamp) - extract(epoch from '2026-07-13 08:16:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019293 -2.778095)', '2026-07-13 08:16:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019304 -2.778189)'), GeomFromEWKT('SRID=4674;POINT (-40.019293 -2.778095)'))) / (select extract(epoch from '2026-07-13 08:16:50'::timestamp) - extract(epoch from '2026-07-13 08:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019304 -2.778189)'), GeomFromEWKT('SRID=4674;POINT (-40.019293 -2.778095)'))) / (select extract(epoch from '2026-07-13 08:16:50'::timestamp) - extract(epoch from '2026-07-13 08:16:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019266 -2.777975)', '2026-07-13 08:16:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019293 -2.778095)'), GeomFromEWKT('SRID=4674;POINT (-40.019266 -2.777975)'))) / (select extract(epoch from '2026-07-13 08:16:57'::timestamp) - extract(epoch from '2026-07-13 08:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019293 -2.778095)'), GeomFromEWKT('SRID=4674;POINT (-40.019266 -2.777975)'))) / (select extract(epoch from '2026-07-13 08:16:57'::timestamp) - extract(epoch from '2026-07-13 08:16: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'), 47628, 'SRID=4674;POINT (-40.019246 -2.777867)', '2026-07-13 08:17:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019266 -2.777975)'), GeomFromEWKT('SRID=4674;POINT (-40.019246 -2.777867)'))) / (select extract(epoch from '2026-07-13 08:17:03'::timestamp) - extract(epoch from '2026-07-13 08:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019266 -2.777975)'), GeomFromEWKT('SRID=4674;POINT (-40.019246 -2.777867)'))) / (select extract(epoch from '2026-07-13 08:17:03'::timestamp) - extract(epoch from '2026-07-13 08:16: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'), 47628, 'SRID=4674;POINT (-40.019214 -2.777745)', '2026-07-13 08:17:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019246 -2.777867)'), GeomFromEWKT('SRID=4674;POINT (-40.019214 -2.777745)'))) / (select extract(epoch from '2026-07-13 08:17:10'::timestamp) - extract(epoch from '2026-07-13 08:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019246 -2.777867)'), GeomFromEWKT('SRID=4674;POINT (-40.019214 -2.777745)'))) / (select extract(epoch from '2026-07-13 08:17:10'::timestamp) - extract(epoch from '2026-07-13 08:17: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'), 47628, 'SRID=4674;POINT (-40.019194 -2.777659)', '2026-07-13 08:17:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019214 -2.777745)'), GeomFromEWKT('SRID=4674;POINT (-40.019194 -2.777659)'))) / (select extract(epoch from '2026-07-13 08:17:15'::timestamp) - extract(epoch from '2026-07-13 08:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019214 -2.777745)'), GeomFromEWKT('SRID=4674;POINT (-40.019194 -2.777659)'))) / (select extract(epoch from '2026-07-13 08:17:15'::timestamp) - extract(epoch from '2026-07-13 08:17: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'), 47628, 'SRID=4674;POINT (-40.019147 -2.777522)', '2026-07-13 08:17:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019194 -2.777659)'), GeomFromEWKT('SRID=4674;POINT (-40.019147 -2.777522)'))) / (select extract(epoch from '2026-07-13 08:17:23'::timestamp) - extract(epoch from '2026-07-13 08:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019194 -2.777659)'), GeomFromEWKT('SRID=4674;POINT (-40.019147 -2.777522)'))) / (select extract(epoch from '2026-07-13 08:17:23'::timestamp) - extract(epoch from '2026-07-13 08:17: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'), 47628, 'SRID=4674;POINT (-40.019131 -2.777474)', '2026-07-13 08:17:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019147 -2.777522)'), GeomFromEWKT('SRID=4674;POINT (-40.019131 -2.777474)'))) / (select extract(epoch from '2026-07-13 08:17:26'::timestamp) - extract(epoch from '2026-07-13 08:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019147 -2.777522)'), GeomFromEWKT('SRID=4674;POINT (-40.019131 -2.777474)'))) / (select extract(epoch from '2026-07-13 08:17:26'::timestamp) - extract(epoch from '2026-07-13 08:17:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019122 -2.777441)', '2026-07-13 08:17:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019131 -2.777474)'), GeomFromEWKT('SRID=4674;POINT (-40.019122 -2.777441)'))) / (select extract(epoch from '2026-07-13 08:17:28'::timestamp) - extract(epoch from '2026-07-13 08:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019131 -2.777474)'), GeomFromEWKT('SRID=4674;POINT (-40.019122 -2.777441)'))) / (select extract(epoch from '2026-07-13 08:17:28'::timestamp) - extract(epoch from '2026-07-13 08:17:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019102 -2.777376)', '2026-07-13 08:17:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019122 -2.777441)'), GeomFromEWKT('SRID=4674;POINT (-40.019102 -2.777376)'))) / (select extract(epoch from '2026-07-13 08:17:32'::timestamp) - extract(epoch from '2026-07-13 08:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019122 -2.777441)'), GeomFromEWKT('SRID=4674;POINT (-40.019102 -2.777376)'))) / (select extract(epoch from '2026-07-13 08:17:32'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.019095 -2.777362)', '2026-07-13 08:17:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019102 -2.777376)'), GeomFromEWKT('SRID=4674;POINT (-40.019095 -2.777362)'))) / (select extract(epoch from '2026-07-13 08:17:33'::timestamp) - extract(epoch from '2026-07-13 08:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019102 -2.777376)'), GeomFromEWKT('SRID=4674;POINT (-40.019095 -2.777362)'))) / (select extract(epoch from '2026-07-13 08:17:33'::timestamp) - extract(epoch from '2026-07-13 08:17: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'), 47628, 'SRID=4674;POINT (-40.01908 -2.777325)', '2026-07-13 08:17:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019095 -2.777362)'), GeomFromEWKT('SRID=4674;POINT (-40.01908 -2.777325)'))) / (select extract(epoch from '2026-07-13 08:17:36'::timestamp) - extract(epoch from '2026-07-13 08:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019095 -2.777362)'), GeomFromEWKT('SRID=4674;POINT (-40.01908 -2.777325)'))) / (select extract(epoch from '2026-07-13 08:17:36'::timestamp) - extract(epoch from '2026-07-13 08:17: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'), 47628, 'SRID=4674;POINT (-40.019063 -2.777303)', '2026-07-13 08:17:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01908 -2.777325)'), GeomFromEWKT('SRID=4674;POINT (-40.019063 -2.777303)'))) / (select extract(epoch from '2026-07-13 08:17:38'::timestamp) - extract(epoch from '2026-07-13 08:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01908 -2.777325)'), GeomFromEWKT('SRID=4674;POINT (-40.019063 -2.777303)'))) / (select extract(epoch from '2026-07-13 08:17:38'::timestamp) - extract(epoch from '2026-07-13 08:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019051 -2.777269)', '2026-07-13 08:17:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019063 -2.777303)'), GeomFromEWKT('SRID=4674;POINT (-40.019051 -2.777269)'))) / (select extract(epoch from '2026-07-13 08:17:44'::timestamp) - extract(epoch from '2026-07-13 08:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019063 -2.777303)'), GeomFromEWKT('SRID=4674;POINT (-40.019051 -2.777269)'))) / (select extract(epoch from '2026-07-13 08:17:44'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.019057 -2.777238)', '2026-07-13 08:17:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019051 -2.777269)'), GeomFromEWKT('SRID=4674;POINT (-40.019057 -2.777238)'))) / (select extract(epoch from '2026-07-13 08:17:51'::timestamp) - extract(epoch from '2026-07-13 08:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019051 -2.777269)'), GeomFromEWKT('SRID=4674;POINT (-40.019057 -2.777238)'))) / (select extract(epoch from '2026-07-13 08:17:51'::timestamp) - extract(epoch from '2026-07-13 08:17: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'), 47628, 'SRID=4674;POINT (-40.019105 -2.777212)', '2026-07-13 08:18:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019057 -2.777238)'), GeomFromEWKT('SRID=4674;POINT (-40.019105 -2.777212)'))) / (select extract(epoch from '2026-07-13 08:18:04'::timestamp) - extract(epoch from '2026-07-13 08:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019057 -2.777238)'), GeomFromEWKT('SRID=4674;POINT (-40.019105 -2.777212)'))) / (select extract(epoch from '2026-07-13 08:18:04'::timestamp) - extract(epoch from '2026-07-13 08:17: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'), 47628, 'SRID=4674;POINT (-40.019147 -2.777199)', '2026-07-13 08:18:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019105 -2.777212)'), GeomFromEWKT('SRID=4674;POINT (-40.019147 -2.777199)'))) / (select extract(epoch from '2026-07-13 08:18:13'::timestamp) - extract(epoch from '2026-07-13 08:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019105 -2.777212)'), GeomFromEWKT('SRID=4674;POINT (-40.019147 -2.777199)'))) / (select extract(epoch from '2026-07-13 08:18:13'::timestamp) - extract(epoch from '2026-07-13 08:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019177 -2.777183)', '2026-07-13 08:18:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019147 -2.777199)'), GeomFromEWKT('SRID=4674;POINT (-40.019177 -2.777183)'))) / (select extract(epoch from '2026-07-13 08:18:22'::timestamp) - extract(epoch from '2026-07-13 08:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019147 -2.777199)'), GeomFromEWKT('SRID=4674;POINT (-40.019177 -2.777183)'))) / (select extract(epoch from '2026-07-13 08:18:22'::timestamp) - extract(epoch from '2026-07-13 08:18: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'), 47628, 'SRID=4674;POINT (-40.019187 -2.77719)', '2026-07-13 08:18:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019177 -2.777183)'), GeomFromEWKT('SRID=4674;POINT (-40.019187 -2.77719)'))) / (select extract(epoch from '2026-07-13 08:18:31'::timestamp) - extract(epoch from '2026-07-13 08:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019177 -2.777183)'), GeomFromEWKT('SRID=4674;POINT (-40.019187 -2.77719)'))) / (select extract(epoch from '2026-07-13 08:18:31'::timestamp) - extract(epoch from '2026-07-13 08:18: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'), 47628, 'SRID=4674;POINT (-40.01922 -2.777181)', '2026-07-13 08:18:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019187 -2.77719)'), GeomFromEWKT('SRID=4674;POINT (-40.01922 -2.777181)'))) / (select extract(epoch from '2026-07-13 08:18:44'::timestamp) - extract(epoch from '2026-07-13 08:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019187 -2.77719)'), GeomFromEWKT('SRID=4674;POINT (-40.01922 -2.777181)'))) / (select extract(epoch from '2026-07-13 08:18:44'::timestamp) - extract(epoch from '2026-07-13 08:18: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'), 47628, 'SRID=4674;POINT (-40.019274 -2.777163)', '2026-07-13 08:19:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01922 -2.777181)'), GeomFromEWKT('SRID=4674;POINT (-40.019274 -2.777163)'))) / (select extract(epoch from '2026-07-13 08:19:00'::timestamp) - extract(epoch from '2026-07-13 08:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01922 -2.777181)'), GeomFromEWKT('SRID=4674;POINT (-40.019274 -2.777163)'))) / (select extract(epoch from '2026-07-13 08:19:00'::timestamp) - extract(epoch from '2026-07-13 08:18: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'), 47628, 'SRID=4674;POINT (-40.019334 -2.777161)', '2026-07-13 08:19:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019274 -2.777163)'), GeomFromEWKT('SRID=4674;POINT (-40.019334 -2.777161)'))) / (select extract(epoch from '2026-07-13 08:19:18'::timestamp) - extract(epoch from '2026-07-13 08:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019274 -2.777163)'), GeomFromEWKT('SRID=4674;POINT (-40.019334 -2.777161)'))) / (select extract(epoch from '2026-07-13 08:19:18'::timestamp) - extract(epoch from '2026-07-13 08:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019345 -2.777172)', '2026-07-13 08:19:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019334 -2.777161)'), GeomFromEWKT('SRID=4674;POINT (-40.019345 -2.777172)'))) / (select extract(epoch from '2026-07-13 08:19:32'::timestamp) - extract(epoch from '2026-07-13 08:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019334 -2.777161)'), GeomFromEWKT('SRID=4674;POINT (-40.019345 -2.777172)'))) / (select extract(epoch from '2026-07-13 08:19:32'::timestamp) - extract(epoch from '2026-07-13 08:19: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'), 47628, 'SRID=4674;POINT (-40.019353 -2.777172)', '2026-07-13 08:19:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019345 -2.777172)'), GeomFromEWKT('SRID=4674;POINT (-40.019353 -2.777172)'))) / (select extract(epoch from '2026-07-13 08:19:51'::timestamp) - extract(epoch from '2026-07-13 08:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019345 -2.777172)'), GeomFromEWKT('SRID=4674;POINT (-40.019353 -2.777172)'))) / (select extract(epoch from '2026-07-13 08:19:51'::timestamp) - extract(epoch from '2026-07-13 08:19:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019352 -2.777166)', '2026-07-13 08:20:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019353 -2.777172)'), GeomFromEWKT('SRID=4674;POINT (-40.019352 -2.777166)'))) / (select extract(epoch from '2026-07-13 08:20:09'::timestamp) - extract(epoch from '2026-07-13 08:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019353 -2.777172)'), GeomFromEWKT('SRID=4674;POINT (-40.019352 -2.777166)'))) / (select extract(epoch from '2026-07-13 08:20:09'::timestamp) - extract(epoch from '2026-07-13 08:19: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'), 47628, 'SRID=4674;POINT (-40.019338 -2.777142)', '2026-07-13 08:20:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019352 -2.777166)'), GeomFromEWKT('SRID=4674;POINT (-40.019338 -2.777142)'))) / (select extract(epoch from '2026-07-13 08:20:44'::timestamp) - extract(epoch from '2026-07-13 08:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019352 -2.777166)'), GeomFromEWKT('SRID=4674;POINT (-40.019338 -2.777142)'))) / (select extract(epoch from '2026-07-13 08:20:44'::timestamp) - extract(epoch from '2026-07-13 08:20: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'), 47628, 'SRID=4674;POINT (-40.019335 -2.777134)', '2026-07-13 08:21:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019338 -2.777142)'), GeomFromEWKT('SRID=4674;POINT (-40.019335 -2.777134)'))) / (select extract(epoch from '2026-07-13 08:21:00'::timestamp) - extract(epoch from '2026-07-13 08:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019338 -2.777142)'), GeomFromEWKT('SRID=4674;POINT (-40.019335 -2.777134)'))) / (select extract(epoch from '2026-07-13 08:21:00'::timestamp) - extract(epoch from '2026-07-13 08:20: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'), 47628, 'SRID=4674;POINT (-40.019336 -2.777171)', '2026-07-13 08:21:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019335 -2.777134)'), GeomFromEWKT('SRID=4674;POINT (-40.019336 -2.777171)'))) / (select extract(epoch from '2026-07-13 08:21:41'::timestamp) - extract(epoch from '2026-07-13 08:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019335 -2.777134)'), GeomFromEWKT('SRID=4674;POINT (-40.019336 -2.777171)'))) / (select extract(epoch from '2026-07-13 08:21:41'::timestamp) - extract(epoch from '2026-07-13 08:21: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'), 47628, 'SRID=4674;POINT (-40.019343 -2.777185)', '2026-07-13 08:21:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019336 -2.777171)'), GeomFromEWKT('SRID=4674;POINT (-40.019343 -2.777185)'))) / (select extract(epoch from '2026-07-13 08:21:54'::timestamp) - extract(epoch from '2026-07-13 08:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019336 -2.777171)'), GeomFromEWKT('SRID=4674;POINT (-40.019343 -2.777185)'))) / (select extract(epoch from '2026-07-13 08:21:54'::timestamp) - extract(epoch from '2026-07-13 08:21: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'), 47628, 'SRID=4674;POINT (-40.019353 -2.777211)', '2026-07-13 08:22:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019343 -2.777185)'), GeomFromEWKT('SRID=4674;POINT (-40.019353 -2.777211)'))) / (select extract(epoch from '2026-07-13 08:22:08'::timestamp) - extract(epoch from '2026-07-13 08:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019343 -2.777185)'), GeomFromEWKT('SRID=4674;POINT (-40.019353 -2.777211)'))) / (select extract(epoch from '2026-07-13 08:22:08'::timestamp) - extract(epoch from '2026-07-13 08:21: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'), 47628, 'SRID=4674;POINT (-40.019356 -2.777202)', '2026-07-13 08:22:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019353 -2.777211)'), GeomFromEWKT('SRID=4674;POINT (-40.019356 -2.777202)'))) / (select extract(epoch from '2026-07-13 08:22:16'::timestamp) - extract(epoch from '2026-07-13 08:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019353 -2.777211)'), GeomFromEWKT('SRID=4674;POINT (-40.019356 -2.777202)'))) / (select extract(epoch from '2026-07-13 08:22:16'::timestamp) - extract(epoch from '2026-07-13 08:22: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'), 47628, 'SRID=4674;POINT (-40.019353 -2.777218)', '2026-07-13 08:22:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019356 -2.777202)'), GeomFromEWKT('SRID=4674;POINT (-40.019353 -2.777218)'))) / (select extract(epoch from '2026-07-13 08:22:32'::timestamp) - extract(epoch from '2026-07-13 08:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019356 -2.777202)'), GeomFromEWKT('SRID=4674;POINT (-40.019353 -2.777218)'))) / (select extract(epoch from '2026-07-13 08:22:32'::timestamp) - extract(epoch from '2026-07-13 08:22: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'), 47628, 'SRID=4674;POINT (-40.019358 -2.777237)', '2026-07-13 08:22:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019353 -2.777218)'), GeomFromEWKT('SRID=4674;POINT (-40.019358 -2.777237)'))) / (select extract(epoch from '2026-07-13 08:22:46'::timestamp) - extract(epoch from '2026-07-13 08:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019353 -2.777218)'), GeomFromEWKT('SRID=4674;POINT (-40.019358 -2.777237)'))) / (select extract(epoch from '2026-07-13 08:22:46'::timestamp) - extract(epoch from '2026-07-13 08:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019363 -2.777233)', '2026-07-13 08:22:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019358 -2.777237)'), GeomFromEWKT('SRID=4674;POINT (-40.019363 -2.777233)'))) / (select extract(epoch from '2026-07-13 08:22:47'::timestamp) - extract(epoch from '2026-07-13 08:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019358 -2.777237)'), GeomFromEWKT('SRID=4674;POINT (-40.019363 -2.777233)'))) / (select extract(epoch from '2026-07-13 08:22:47'::timestamp) - extract(epoch from '2026-07-13 08:22:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019365 -2.777226)', '2026-07-13 08:22:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019363 -2.777233)'), GeomFromEWKT('SRID=4674;POINT (-40.019365 -2.777226)'))) / (select extract(epoch from '2026-07-13 08:22:49'::timestamp) - extract(epoch from '2026-07-13 08:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019363 -2.777233)'), GeomFromEWKT('SRID=4674;POINT (-40.019365 -2.777226)'))) / (select extract(epoch from '2026-07-13 08:22:49'::timestamp) - extract(epoch from '2026-07-13 08:22: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'), 47628, 'SRID=4674;POINT (-40.019374 -2.77722)', '2026-07-13 08:22:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019365 -2.777226)'), GeomFromEWKT('SRID=4674;POINT (-40.019374 -2.77722)'))) / (select extract(epoch from '2026-07-13 08:22:55'::timestamp) - extract(epoch from '2026-07-13 08:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019365 -2.777226)'), GeomFromEWKT('SRID=4674;POINT (-40.019374 -2.77722)'))) / (select extract(epoch from '2026-07-13 08:22:55'::timestamp) - extract(epoch from '2026-07-13 08:22: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'), 47628, 'SRID=4674;POINT (-40.019365 -2.777232)', '2026-07-13 08:22:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019374 -2.77722)'), GeomFromEWKT('SRID=4674;POINT (-40.019365 -2.777232)'))) / (select extract(epoch from '2026-07-13 08:22:59'::timestamp) - extract(epoch from '2026-07-13 08:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019374 -2.77722)'), GeomFromEWKT('SRID=4674;POINT (-40.019365 -2.777232)'))) / (select extract(epoch from '2026-07-13 08:22:59'::timestamp) - extract(epoch from '2026-07-13 08:22:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019362 -2.777243)', '2026-07-13 08:23:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019365 -2.777232)'), GeomFromEWKT('SRID=4674;POINT (-40.019362 -2.777243)'))) / (select extract(epoch from '2026-07-13 08:23:05'::timestamp) - extract(epoch from '2026-07-13 08:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019365 -2.777232)'), GeomFromEWKT('SRID=4674;POINT (-40.019362 -2.777243)'))) / (select extract(epoch from '2026-07-13 08:23:05'::timestamp) - extract(epoch from '2026-07-13 08:22:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019361 -2.777254)', '2026-07-13 08:23:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019362 -2.777243)'), GeomFromEWKT('SRID=4674;POINT (-40.019361 -2.777254)'))) / (select extract(epoch from '2026-07-13 08:23:12'::timestamp) - extract(epoch from '2026-07-13 08:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019362 -2.777243)'), GeomFromEWKT('SRID=4674;POINT (-40.019361 -2.777254)'))) / (select extract(epoch from '2026-07-13 08:23:12'::timestamp) - extract(epoch from '2026-07-13 08:23: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'), 47628, 'SRID=4674;POINT (-40.019359 -2.777252)', '2026-07-13 08:23:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019361 -2.777254)'), GeomFromEWKT('SRID=4674;POINT (-40.019359 -2.777252)'))) / (select extract(epoch from '2026-07-13 08:23:25'::timestamp) - extract(epoch from '2026-07-13 08:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019361 -2.777254)'), GeomFromEWKT('SRID=4674;POINT (-40.019359 -2.777252)'))) / (select extract(epoch from '2026-07-13 08:23:25'::timestamp) - extract(epoch from '2026-07-13 08:23: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'), 47628, 'SRID=4674;POINT (-40.019354 -2.777253)', '2026-07-13 08:23:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019359 -2.777252)'), GeomFromEWKT('SRID=4674;POINT (-40.019354 -2.777253)'))) / (select extract(epoch from '2026-07-13 08:23:41'::timestamp) - extract(epoch from '2026-07-13 08:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019359 -2.777252)'), GeomFromEWKT('SRID=4674;POINT (-40.019354 -2.777253)'))) / (select extract(epoch from '2026-07-13 08:23:41'::timestamp) - extract(epoch from '2026-07-13 08:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019357 -2.77726)', '2026-07-13 08:23:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019354 -2.777253)'), GeomFromEWKT('SRID=4674;POINT (-40.019357 -2.77726)'))) / (select extract(epoch from '2026-07-13 08:23:57'::timestamp) - extract(epoch from '2026-07-13 08:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019354 -2.777253)'), GeomFromEWKT('SRID=4674;POINT (-40.019357 -2.77726)'))) / (select extract(epoch from '2026-07-13 08:23:57'::timestamp) - extract(epoch from '2026-07-13 08:23:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019354 -2.777257)', '2026-07-13 08:24:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019357 -2.77726)'), GeomFromEWKT('SRID=4674;POINT (-40.019354 -2.777257)'))) / (select extract(epoch from '2026-07-13 08:24:15'::timestamp) - extract(epoch from '2026-07-13 08:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019357 -2.77726)'), GeomFromEWKT('SRID=4674;POINT (-40.019354 -2.777257)'))) / (select extract(epoch from '2026-07-13 08:24:15'::timestamp) - extract(epoch from '2026-07-13 08:23:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019351 -2.777268)', '2026-07-13 08:24:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019354 -2.777257)'), GeomFromEWKT('SRID=4674;POINT (-40.019351 -2.777268)'))) / (select extract(epoch from '2026-07-13 08:24:28'::timestamp) - extract(epoch from '2026-07-13 08:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019354 -2.777257)'), GeomFromEWKT('SRID=4674;POINT (-40.019351 -2.777268)'))) / (select extract(epoch from '2026-07-13 08:24:28'::timestamp) - extract(epoch from '2026-07-13 08:24: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'), 47628, 'SRID=4674;POINT (-40.019309 -2.777265)', '2026-07-13 08:24:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019351 -2.777268)'), GeomFromEWKT('SRID=4674;POINT (-40.019309 -2.777265)'))) / (select extract(epoch from '2026-07-13 08:24:40'::timestamp) - extract(epoch from '2026-07-13 08:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019351 -2.777268)'), GeomFromEWKT('SRID=4674;POINT (-40.019309 -2.777265)'))) / (select extract(epoch from '2026-07-13 08:24:40'::timestamp) - extract(epoch from '2026-07-13 08:24: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'), 47628, 'SRID=4674;POINT (-40.019239 -2.777246)', '2026-07-13 08:24:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019309 -2.777265)'), GeomFromEWKT('SRID=4674;POINT (-40.019239 -2.777246)'))) / (select extract(epoch from '2026-07-13 08:24:49'::timestamp) - extract(epoch from '2026-07-13 08:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019309 -2.777265)'), GeomFromEWKT('SRID=4674;POINT (-40.019239 -2.777246)'))) / (select extract(epoch from '2026-07-13 08:24:49'::timestamp) - extract(epoch from '2026-07-13 08:24: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'), 47628, 'SRID=4674;POINT (-40.019183 -2.777231)', '2026-07-13 08:24:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019239 -2.777246)'), GeomFromEWKT('SRID=4674;POINT (-40.019183 -2.777231)'))) / (select extract(epoch from '2026-07-13 08:24:56'::timestamp) - extract(epoch from '2026-07-13 08:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019239 -2.777246)'), GeomFromEWKT('SRID=4674;POINT (-40.019183 -2.777231)'))) / (select extract(epoch from '2026-07-13 08:24:56'::timestamp) - extract(epoch from '2026-07-13 08:24:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019089 -2.77724)', '2026-07-13 08:25:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019183 -2.777231)'), GeomFromEWKT('SRID=4674;POINT (-40.019089 -2.77724)'))) / (select extract(epoch from '2026-07-13 08:25:08'::timestamp) - extract(epoch from '2026-07-13 08:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019183 -2.777231)'), GeomFromEWKT('SRID=4674;POINT (-40.019089 -2.77724)'))) / (select extract(epoch from '2026-07-13 08:25:08'::timestamp) - extract(epoch from '2026-07-13 08:24: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'), 47628, 'SRID=4674;POINT (-40.019045 -2.777275)', '2026-07-13 08:25:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019089 -2.77724)'), GeomFromEWKT('SRID=4674;POINT (-40.019045 -2.777275)'))) / (select extract(epoch from '2026-07-13 08:25:16'::timestamp) - extract(epoch from '2026-07-13 08:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019089 -2.77724)'), GeomFromEWKT('SRID=4674;POINT (-40.019045 -2.777275)'))) / (select extract(epoch from '2026-07-13 08:25:16'::timestamp) - extract(epoch from '2026-07-13 08:25: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'), 47628, 'SRID=4674;POINT (-40.019017 -2.777309)', '2026-07-13 08:25:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019045 -2.777275)'), GeomFromEWKT('SRID=4674;POINT (-40.019017 -2.777309)'))) / (select extract(epoch from '2026-07-13 08:25:26'::timestamp) - extract(epoch from '2026-07-13 08:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019045 -2.777275)'), GeomFromEWKT('SRID=4674;POINT (-40.019017 -2.777309)'))) / (select extract(epoch from '2026-07-13 08:25:26'::timestamp) - extract(epoch from '2026-07-13 08:25: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'), 47628, 'SRID=4674;POINT (-40.018969 -2.777265)', '2026-07-13 08:25:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019017 -2.777309)'), GeomFromEWKT('SRID=4674;POINT (-40.018969 -2.777265)'))) / (select extract(epoch from '2026-07-13 08:25:35'::timestamp) - extract(epoch from '2026-07-13 08:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019017 -2.777309)'), GeomFromEWKT('SRID=4674;POINT (-40.018969 -2.777265)'))) / (select extract(epoch from '2026-07-13 08:25:35'::timestamp) - extract(epoch from '2026-07-13 08:25: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'), 47628, 'SRID=4674;POINT (-40.018947 -2.777177)', '2026-07-13 08:25:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018969 -2.777265)'), GeomFromEWKT('SRID=4674;POINT (-40.018947 -2.777177)'))) / (select extract(epoch from '2026-07-13 08:25:44'::timestamp) - extract(epoch from '2026-07-13 08:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018969 -2.777265)'), GeomFromEWKT('SRID=4674;POINT (-40.018947 -2.777177)'))) / (select extract(epoch from '2026-07-13 08:25:44'::timestamp) - extract(epoch from '2026-07-13 08:25: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'), 47628, 'SRID=4674;POINT (-40.018923 -2.777095)', '2026-07-13 08:25:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018947 -2.777177)'), GeomFromEWKT('SRID=4674;POINT (-40.018923 -2.777095)'))) / (select extract(epoch from '2026-07-13 08:25:50'::timestamp) - extract(epoch from '2026-07-13 08:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018947 -2.777177)'), GeomFromEWKT('SRID=4674;POINT (-40.018923 -2.777095)'))) / (select extract(epoch from '2026-07-13 08:25:50'::timestamp) - extract(epoch from '2026-07-13 08:25: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'), 47628, 'SRID=4674;POINT (-40.018927 -2.776999)', '2026-07-13 08:25:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018923 -2.777095)'), GeomFromEWKT('SRID=4674;POINT (-40.018927 -2.776999)'))) / (select extract(epoch from '2026-07-13 08:25:56'::timestamp) - extract(epoch from '2026-07-13 08:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018923 -2.777095)'), GeomFromEWKT('SRID=4674;POINT (-40.018927 -2.776999)'))) / (select extract(epoch from '2026-07-13 08:25:56'::timestamp) - extract(epoch from '2026-07-13 08:25:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.018957 -2.776883)', '2026-07-13 08:26:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018927 -2.776999)'), GeomFromEWKT('SRID=4674;POINT (-40.018957 -2.776883)'))) / (select extract(epoch from '2026-07-13 08:26:02'::timestamp) - extract(epoch from '2026-07-13 08:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018927 -2.776999)'), GeomFromEWKT('SRID=4674;POINT (-40.018957 -2.776883)'))) / (select extract(epoch from '2026-07-13 08:26:02'::timestamp) - extract(epoch from '2026-07-13 08:25: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'), 47628, 'SRID=4674;POINT (-40.019009 -2.776769)', '2026-07-13 08:26:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018957 -2.776883)'), GeomFromEWKT('SRID=4674;POINT (-40.019009 -2.776769)'))) / (select extract(epoch from '2026-07-13 08:26:08'::timestamp) - extract(epoch from '2026-07-13 08:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018957 -2.776883)'), GeomFromEWKT('SRID=4674;POINT (-40.019009 -2.776769)'))) / (select extract(epoch from '2026-07-13 08:26:08'::timestamp) - extract(epoch from '2026-07-13 08:26:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019068 -2.776629)', '2026-07-13 08:26:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019009 -2.776769)'), GeomFromEWKT('SRID=4674;POINT (-40.019068 -2.776629)'))) / (select extract(epoch from '2026-07-13 08:26:15'::timestamp) - extract(epoch from '2026-07-13 08:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019009 -2.776769)'), GeomFromEWKT('SRID=4674;POINT (-40.019068 -2.776629)'))) / (select extract(epoch from '2026-07-13 08:26:15'::timestamp) - extract(epoch from '2026-07-13 08:26:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019122 -2.77653)', '2026-07-13 08:26:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019068 -2.776629)'), GeomFromEWKT('SRID=4674;POINT (-40.019122 -2.77653)'))) / (select extract(epoch from '2026-07-13 08:26:20'::timestamp) - extract(epoch from '2026-07-13 08:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019068 -2.776629)'), GeomFromEWKT('SRID=4674;POINT (-40.019122 -2.77653)'))) / (select extract(epoch from '2026-07-13 08:26:20'::timestamp) - extract(epoch from '2026-07-13 08:26: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'), 47628, 'SRID=4674;POINT (-40.019176 -2.776438)', '2026-07-13 08:26:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019122 -2.77653)'), GeomFromEWKT('SRID=4674;POINT (-40.019176 -2.776438)'))) / (select extract(epoch from '2026-07-13 08:26:25'::timestamp) - extract(epoch from '2026-07-13 08:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019122 -2.77653)'), GeomFromEWKT('SRID=4674;POINT (-40.019176 -2.776438)'))) / (select extract(epoch from '2026-07-13 08:26:25'::timestamp) - extract(epoch from '2026-07-13 08:26: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'), 47628, 'SRID=4674;POINT (-40.01921 -2.776354)', '2026-07-13 08:26:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019176 -2.776438)'), GeomFromEWKT('SRID=4674;POINT (-40.01921 -2.776354)'))) / (select extract(epoch from '2026-07-13 08:26:29'::timestamp) - extract(epoch from '2026-07-13 08:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019176 -2.776438)'), GeomFromEWKT('SRID=4674;POINT (-40.01921 -2.776354)'))) / (select extract(epoch from '2026-07-13 08:26:29'::timestamp) - extract(epoch from '2026-07-13 08:26:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019241 -2.776221)', '2026-07-13 08:26:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01921 -2.776354)'), GeomFromEWKT('SRID=4674;POINT (-40.019241 -2.776221)'))) / (select extract(epoch from '2026-07-13 08:26:36'::timestamp) - extract(epoch from '2026-07-13 08:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01921 -2.776354)'), GeomFromEWKT('SRID=4674;POINT (-40.019241 -2.776221)'))) / (select extract(epoch from '2026-07-13 08:26:36'::timestamp) - extract(epoch from '2026-07-13 08:26: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'), 47628, 'SRID=4674;POINT (-40.019241 -2.776102)', '2026-07-13 08:26:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019241 -2.776221)'), GeomFromEWKT('SRID=4674;POINT (-40.019241 -2.776102)'))) / (select extract(epoch from '2026-07-13 08:26:42'::timestamp) - extract(epoch from '2026-07-13 08:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019241 -2.776221)'), GeomFromEWKT('SRID=4674;POINT (-40.019241 -2.776102)'))) / (select extract(epoch from '2026-07-13 08:26:42'::timestamp) - extract(epoch from '2026-07-13 08:26: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'), 47628, 'SRID=4674;POINT (-40.019252 -2.775978)', '2026-07-13 08:26:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019241 -2.776102)'), GeomFromEWKT('SRID=4674;POINT (-40.019252 -2.775978)'))) / (select extract(epoch from '2026-07-13 08:26:48'::timestamp) - extract(epoch from '2026-07-13 08:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019241 -2.776102)'), GeomFromEWKT('SRID=4674;POINT (-40.019252 -2.775978)'))) / (select extract(epoch from '2026-07-13 08:26:48'::timestamp) - extract(epoch from '2026-07-13 08:26: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'), 47628, 'SRID=4674;POINT (-40.019255 -2.77592)', '2026-07-13 08:26:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019252 -2.775978)'), GeomFromEWKT('SRID=4674;POINT (-40.019255 -2.77592)'))) / (select extract(epoch from '2026-07-13 08:26:52'::timestamp) - extract(epoch from '2026-07-13 08:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019252 -2.775978)'), GeomFromEWKT('SRID=4674;POINT (-40.019255 -2.77592)'))) / (select extract(epoch from '2026-07-13 08:26:52'::timestamp) - extract(epoch from '2026-07-13 08:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019251 -2.775897)', '2026-07-13 08:26:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019255 -2.77592)'), GeomFromEWKT('SRID=4674;POINT (-40.019251 -2.775897)'))) / (select extract(epoch from '2026-07-13 08:26:54'::timestamp) - extract(epoch from '2026-07-13 08:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019255 -2.77592)'), GeomFromEWKT('SRID=4674;POINT (-40.019251 -2.775897)'))) / (select extract(epoch from '2026-07-13 08:26:54'::timestamp) - extract(epoch from '2026-07-13 08:26: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'), 47628, 'SRID=4674;POINT (-40.019244 -2.775872)', '2026-07-13 08:26:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019251 -2.775897)'), GeomFromEWKT('SRID=4674;POINT (-40.019244 -2.775872)'))) / (select extract(epoch from '2026-07-13 08:26:57'::timestamp) - extract(epoch from '2026-07-13 08:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019251 -2.775897)'), GeomFromEWKT('SRID=4674;POINT (-40.019244 -2.775872)'))) / (select extract(epoch from '2026-07-13 08:26:57'::timestamp) - extract(epoch from '2026-07-13 08:26: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'), 47628, 'SRID=4674;POINT (-40.019247 -2.775857)', '2026-07-13 08:27:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019244 -2.775872)'), GeomFromEWKT('SRID=4674;POINT (-40.019247 -2.775857)'))) / (select extract(epoch from '2026-07-13 08:27:00'::timestamp) - extract(epoch from '2026-07-13 08:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019244 -2.775872)'), GeomFromEWKT('SRID=4674;POINT (-40.019247 -2.775857)'))) / (select extract(epoch from '2026-07-13 08:27:00'::timestamp) - extract(epoch from '2026-07-13 08:26: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'), 47628, 'SRID=4674;POINT (-40.019266 -2.775834)', '2026-07-13 08:27:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019247 -2.775857)'), GeomFromEWKT('SRID=4674;POINT (-40.019266 -2.775834)'))) / (select extract(epoch from '2026-07-13 08:27:07'::timestamp) - extract(epoch from '2026-07-13 08:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019247 -2.775857)'), GeomFromEWKT('SRID=4674;POINT (-40.019266 -2.775834)'))) / (select extract(epoch from '2026-07-13 08:27:07'::timestamp) - extract(epoch from '2026-07-13 08:27: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'), 47628, 'SRID=4674;POINT (-40.019297 -2.775806)', '2026-07-13 08:27:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019266 -2.775834)'), GeomFromEWKT('SRID=4674;POINT (-40.019297 -2.775806)'))) / (select extract(epoch from '2026-07-13 08:27:16'::timestamp) - extract(epoch from '2026-07-13 08:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019266 -2.775834)'), GeomFromEWKT('SRID=4674;POINT (-40.019297 -2.775806)'))) / (select extract(epoch from '2026-07-13 08:27:16'::timestamp) - extract(epoch from '2026-07-13 08:27: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'), 47628, 'SRID=4674;POINT (-40.019328 -2.77579)', '2026-07-13 08:27:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019297 -2.775806)'), GeomFromEWKT('SRID=4674;POINT (-40.019328 -2.77579)'))) / (select extract(epoch from '2026-07-13 08:27:24'::timestamp) - extract(epoch from '2026-07-13 08:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019297 -2.775806)'), GeomFromEWKT('SRID=4674;POINT (-40.019328 -2.77579)'))) / (select extract(epoch from '2026-07-13 08:27:24'::timestamp) - extract(epoch from '2026-07-13 08:27:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019359 -2.775781)', '2026-07-13 08:27:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019328 -2.77579)'), GeomFromEWKT('SRID=4674;POINT (-40.019359 -2.775781)'))) / (select extract(epoch from '2026-07-13 08:27:31'::timestamp) - extract(epoch from '2026-07-13 08:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019328 -2.77579)'), GeomFromEWKT('SRID=4674;POINT (-40.019359 -2.775781)'))) / (select extract(epoch from '2026-07-13 08:27:31'::timestamp) - extract(epoch from '2026-07-13 08:27:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019383 -2.775769)', '2026-07-13 08:27:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019359 -2.775781)'), GeomFromEWKT('SRID=4674;POINT (-40.019383 -2.775769)'))) / (select extract(epoch from '2026-07-13 08:27:40'::timestamp) - extract(epoch from '2026-07-13 08:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019359 -2.775781)'), GeomFromEWKT('SRID=4674;POINT (-40.019383 -2.775769)'))) / (select extract(epoch from '2026-07-13 08:27:40'::timestamp) - extract(epoch from '2026-07-13 08:27: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'), 47628, 'SRID=4674;POINT (-40.019384 -2.775764)', '2026-07-13 08:27:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019383 -2.775769)'), GeomFromEWKT('SRID=4674;POINT (-40.019384 -2.775764)'))) / (select extract(epoch from '2026-07-13 08:27:57'::timestamp) - extract(epoch from '2026-07-13 08:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019383 -2.775769)'), GeomFromEWKT('SRID=4674;POINT (-40.019384 -2.775764)'))) / (select extract(epoch from '2026-07-13 08:27:57'::timestamp) - extract(epoch from '2026-07-13 08:27: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'), 47628, 'SRID=4674;POINT (-40.01937 -2.775769)', '2026-07-13 08:28:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019384 -2.775764)'), GeomFromEWKT('SRID=4674;POINT (-40.01937 -2.775769)'))) / (select extract(epoch from '2026-07-13 08:28:06'::timestamp) - extract(epoch from '2026-07-13 08:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019384 -2.775764)'), GeomFromEWKT('SRID=4674;POINT (-40.01937 -2.775769)'))) / (select extract(epoch from '2026-07-13 08:28:06'::timestamp) - extract(epoch from '2026-07-13 08:27: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'), 47628, 'SRID=4674;POINT (-40.019369 -2.775765)', '2026-07-13 08:28:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01937 -2.775769)'), GeomFromEWKT('SRID=4674;POINT (-40.019369 -2.775765)'))) / (select extract(epoch from '2026-07-13 08:28:21'::timestamp) - extract(epoch from '2026-07-13 08:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01937 -2.775769)'), GeomFromEWKT('SRID=4674;POINT (-40.019369 -2.775765)'))) / (select extract(epoch from '2026-07-13 08:28:21'::timestamp) - extract(epoch from '2026-07-13 08:28:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019348 -2.775748)', '2026-07-13 08:28:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019369 -2.775765)'), GeomFromEWKT('SRID=4674;POINT (-40.019348 -2.775748)'))) / (select extract(epoch from '2026-07-13 08:28:26'::timestamp) - extract(epoch from '2026-07-13 08:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019369 -2.775765)'), GeomFromEWKT('SRID=4674;POINT (-40.019348 -2.775748)'))) / (select extract(epoch from '2026-07-13 08:28:26'::timestamp) - extract(epoch from '2026-07-13 08:28: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'), 47628, 'SRID=4674;POINT (-40.019363 -2.775753)', '2026-07-13 08:28:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019348 -2.775748)'), GeomFromEWKT('SRID=4674;POINT (-40.019363 -2.775753)'))) / (select extract(epoch from '2026-07-13 08:28:30'::timestamp) - extract(epoch from '2026-07-13 08:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019348 -2.775748)'), GeomFromEWKT('SRID=4674;POINT (-40.019363 -2.775753)'))) / (select extract(epoch from '2026-07-13 08:28:30'::timestamp) - extract(epoch from '2026-07-13 08:28: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'), 47628, 'SRID=4674;POINT (-40.019375 -2.775755)', '2026-07-13 08:28:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019363 -2.775753)'), GeomFromEWKT('SRID=4674;POINT (-40.019375 -2.775755)'))) / (select extract(epoch from '2026-07-13 08:28:32'::timestamp) - extract(epoch from '2026-07-13 08:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019363 -2.775753)'), GeomFromEWKT('SRID=4674;POINT (-40.019375 -2.775755)'))) / (select extract(epoch from '2026-07-13 08:28:32'::timestamp) - extract(epoch from '2026-07-13 08:28: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'), 47628, 'SRID=4674;POINT (-40.019386 -2.775755)', '2026-07-13 08:28:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019375 -2.775755)'), GeomFromEWKT('SRID=4674;POINT (-40.019386 -2.775755)'))) / (select extract(epoch from '2026-07-13 08:28:38'::timestamp) - extract(epoch from '2026-07-13 08:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019375 -2.775755)'), GeomFromEWKT('SRID=4674;POINT (-40.019386 -2.775755)'))) / (select extract(epoch from '2026-07-13 08:28:38'::timestamp) - extract(epoch from '2026-07-13 08:28: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'), 47628, 'SRID=4674;POINT (-40.019386 -2.775764)', '2026-07-13 08:28:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019386 -2.775755)'), GeomFromEWKT('SRID=4674;POINT (-40.019386 -2.775764)'))) / (select extract(epoch from '2026-07-13 08:28:49'::timestamp) - extract(epoch from '2026-07-13 08:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019386 -2.775755)'), GeomFromEWKT('SRID=4674;POINT (-40.019386 -2.775764)'))) / (select extract(epoch from '2026-07-13 08:28:49'::timestamp) - extract(epoch from '2026-07-13 08:28: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'), 47628, 'SRID=4674;POINT (-40.019393 -2.77578)', '2026-07-13 08:28:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019386 -2.775764)'), GeomFromEWKT('SRID=4674;POINT (-40.019393 -2.77578)'))) / (select extract(epoch from '2026-07-13 08:28:59'::timestamp) - extract(epoch from '2026-07-13 08:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019386 -2.775764)'), GeomFromEWKT('SRID=4674;POINT (-40.019393 -2.77578)'))) / (select extract(epoch from '2026-07-13 08:28:59'::timestamp) - extract(epoch from '2026-07-13 08:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019373 -2.775762)', '2026-07-13 08:29:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019393 -2.77578)'), GeomFromEWKT('SRID=4674;POINT (-40.019373 -2.775762)'))) / (select extract(epoch from '2026-07-13 08:29:16'::timestamp) - extract(epoch from '2026-07-13 08:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019393 -2.77578)'), GeomFromEWKT('SRID=4674;POINT (-40.019373 -2.775762)'))) / (select extract(epoch from '2026-07-13 08:29:16'::timestamp) - extract(epoch from '2026-07-13 08:28: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'), 47628, 'SRID=4674;POINT (-40.019326 -2.775772)', '2026-07-13 08:29:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019373 -2.775762)'), GeomFromEWKT('SRID=4674;POINT (-40.019326 -2.775772)'))) / (select extract(epoch from '2026-07-13 08:29:24'::timestamp) - extract(epoch from '2026-07-13 08:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019373 -2.775762)'), GeomFromEWKT('SRID=4674;POINT (-40.019326 -2.775772)'))) / (select extract(epoch from '2026-07-13 08:29:24'::timestamp) - extract(epoch from '2026-07-13 08:29:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019276 -2.775808)', '2026-07-13 08:29:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019326 -2.775772)'), GeomFromEWKT('SRID=4674;POINT (-40.019276 -2.775808)'))) / (select extract(epoch from '2026-07-13 08:29:31'::timestamp) - extract(epoch from '2026-07-13 08:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019326 -2.775772)'), GeomFromEWKT('SRID=4674;POINT (-40.019276 -2.775808)'))) / (select extract(epoch from '2026-07-13 08:29:31'::timestamp) - extract(epoch from '2026-07-13 08:29: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'), 47628, 'SRID=4674;POINT (-40.019252 -2.775825)', '2026-07-13 08:29:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019276 -2.775808)'), GeomFromEWKT('SRID=4674;POINT (-40.019252 -2.775825)'))) / (select extract(epoch from '2026-07-13 08:29:38'::timestamp) - extract(epoch from '2026-07-13 08:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019276 -2.775808)'), GeomFromEWKT('SRID=4674;POINT (-40.019252 -2.775825)'))) / (select extract(epoch from '2026-07-13 08:29:38'::timestamp) - extract(epoch from '2026-07-13 08:29: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'), 47628, 'SRID=4674;POINT (-40.019212 -2.775835)', '2026-07-13 08:29:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019252 -2.775825)'), GeomFromEWKT('SRID=4674;POINT (-40.019212 -2.775835)'))) / (select extract(epoch from '2026-07-13 08:29:48'::timestamp) - extract(epoch from '2026-07-13 08:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019252 -2.775825)'), GeomFromEWKT('SRID=4674;POINT (-40.019212 -2.775835)'))) / (select extract(epoch from '2026-07-13 08:29:48'::timestamp) - extract(epoch from '2026-07-13 08:29: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'), 47628, 'SRID=4674;POINT (-40.019172 -2.775756)', '2026-07-13 08:29:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019212 -2.775835)'), GeomFromEWKT('SRID=4674;POINT (-40.019172 -2.775756)'))) / (select extract(epoch from '2026-07-13 08:29:56'::timestamp) - extract(epoch from '2026-07-13 08:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019212 -2.775835)'), GeomFromEWKT('SRID=4674;POINT (-40.019172 -2.775756)'))) / (select extract(epoch from '2026-07-13 08:29:56'::timestamp) - extract(epoch from '2026-07-13 08:29: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'), 47628, 'SRID=4674;POINT (-40.019124 -2.77567)', '2026-07-13 08:30:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019172 -2.775756)'), GeomFromEWKT('SRID=4674;POINT (-40.019124 -2.77567)'))) / (select extract(epoch from '2026-07-13 08:30:02'::timestamp) - extract(epoch from '2026-07-13 08:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019172 -2.775756)'), GeomFromEWKT('SRID=4674;POINT (-40.019124 -2.77567)'))) / (select extract(epoch from '2026-07-13 08:30:02'::timestamp) - extract(epoch from '2026-07-13 08:29: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'), 47628, 'SRID=4674;POINT (-40.019084 -2.775569)', '2026-07-13 08:30:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019124 -2.77567)'), GeomFromEWKT('SRID=4674;POINT (-40.019084 -2.775569)'))) / (select extract(epoch from '2026-07-13 08:30:09'::timestamp) - extract(epoch from '2026-07-13 08:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019124 -2.77567)'), GeomFromEWKT('SRID=4674;POINT (-40.019084 -2.775569)'))) / (select extract(epoch from '2026-07-13 08:30:09'::timestamp) - extract(epoch from '2026-07-13 08:30: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'), 47628, 'SRID=4674;POINT (-40.019053 -2.775463)', '2026-07-13 08:30:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019084 -2.775569)'), GeomFromEWKT('SRID=4674;POINT (-40.019053 -2.775463)'))) / (select extract(epoch from '2026-07-13 08:30:15'::timestamp) - extract(epoch from '2026-07-13 08:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019084 -2.775569)'), GeomFromEWKT('SRID=4674;POINT (-40.019053 -2.775463)'))) / (select extract(epoch from '2026-07-13 08:30:15'::timestamp) - extract(epoch from '2026-07-13 08:30: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'), 47628, 'SRID=4674;POINT (-40.019045 -2.775331)', '2026-07-13 08:30:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019053 -2.775463)'), GeomFromEWKT('SRID=4674;POINT (-40.019045 -2.775331)'))) / (select extract(epoch from '2026-07-13 08:30:22'::timestamp) - extract(epoch from '2026-07-13 08:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019053 -2.775463)'), GeomFromEWKT('SRID=4674;POINT (-40.019045 -2.775331)'))) / (select extract(epoch from '2026-07-13 08:30:22'::timestamp) - extract(epoch from '2026-07-13 08:30: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'), 47628, 'SRID=4674;POINT (-40.019023 -2.77518)', '2026-07-13 08:30:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019045 -2.775331)'), GeomFromEWKT('SRID=4674;POINT (-40.019023 -2.77518)'))) / (select extract(epoch from '2026-07-13 08:30:30'::timestamp) - extract(epoch from '2026-07-13 08:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019045 -2.775331)'), GeomFromEWKT('SRID=4674;POINT (-40.019023 -2.77518)'))) / (select extract(epoch from '2026-07-13 08:30:30'::timestamp) - extract(epoch from '2026-07-13 08:30:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.018999 -2.775063)', '2026-07-13 08:30:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019023 -2.77518)'), GeomFromEWKT('SRID=4674;POINT (-40.018999 -2.775063)'))) / (select extract(epoch from '2026-07-13 08:30:36'::timestamp) - extract(epoch from '2026-07-13 08:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019023 -2.77518)'), GeomFromEWKT('SRID=4674;POINT (-40.018999 -2.775063)'))) / (select extract(epoch from '2026-07-13 08:30:36'::timestamp) - extract(epoch from '2026-07-13 08:30: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'), 47628, 'SRID=4674;POINT (-40.018996 -2.775044)', '2026-07-13 08:30:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018999 -2.775063)'), GeomFromEWKT('SRID=4674;POINT (-40.018996 -2.775044)'))) / (select extract(epoch from '2026-07-13 08:30:37'::timestamp) - extract(epoch from '2026-07-13 08:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018999 -2.775063)'), GeomFromEWKT('SRID=4674;POINT (-40.018996 -2.775044)'))) / (select extract(epoch from '2026-07-13 08:30:37'::timestamp) - extract(epoch from '2026-07-13 08:30: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'), 47628, 'SRID=4674;POINT (-40.018978 -2.774951)', '2026-07-13 08:30:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018996 -2.775044)'), GeomFromEWKT('SRID=4674;POINT (-40.018978 -2.774951)'))) / (select extract(epoch from '2026-07-13 08:30:42'::timestamp) - extract(epoch from '2026-07-13 08:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018996 -2.775044)'), GeomFromEWKT('SRID=4674;POINT (-40.018978 -2.774951)'))) / (select extract(epoch from '2026-07-13 08:30:42'::timestamp) - extract(epoch from '2026-07-13 08:30: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'), 47628, 'SRID=4674;POINT (-40.018927 -2.774801)', '2026-07-13 08:30:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018978 -2.774951)'), GeomFromEWKT('SRID=4674;POINT (-40.018927 -2.774801)'))) / (select extract(epoch from '2026-07-13 08:30:51'::timestamp) - extract(epoch from '2026-07-13 08:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018978 -2.774951)'), GeomFromEWKT('SRID=4674;POINT (-40.018927 -2.774801)'))) / (select extract(epoch from '2026-07-13 08:30:51'::timestamp) - extract(epoch from '2026-07-13 08:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.018892 -2.774721)', '2026-07-13 08:30:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018927 -2.774801)'), GeomFromEWKT('SRID=4674;POINT (-40.018892 -2.774721)'))) / (select extract(epoch from '2026-07-13 08:30:56'::timestamp) - extract(epoch from '2026-07-13 08:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018927 -2.774801)'), GeomFromEWKT('SRID=4674;POINT (-40.018892 -2.774721)'))) / (select extract(epoch from '2026-07-13 08:30:56'::timestamp) - extract(epoch from '2026-07-13 08:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.018857 -2.774647)', '2026-07-13 08:31:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018892 -2.774721)'), GeomFromEWKT('SRID=4674;POINT (-40.018857 -2.774647)'))) / (select extract(epoch from '2026-07-13 08:31:02'::timestamp) - extract(epoch from '2026-07-13 08:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018892 -2.774721)'), GeomFromEWKT('SRID=4674;POINT (-40.018857 -2.774647)'))) / (select extract(epoch from '2026-07-13 08:31:02'::timestamp) - extract(epoch from '2026-07-13 08:30: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'), 47628, 'SRID=4674;POINT (-40.018817 -2.774598)', '2026-07-13 08:31:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018857 -2.774647)'), GeomFromEWKT('SRID=4674;POINT (-40.018817 -2.774598)'))) / (select extract(epoch from '2026-07-13 08:31:07'::timestamp) - extract(epoch from '2026-07-13 08:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018857 -2.774647)'), GeomFromEWKT('SRID=4674;POINT (-40.018817 -2.774598)'))) / (select extract(epoch from '2026-07-13 08:31:07'::timestamp) - extract(epoch from '2026-07-13 08:31:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.0188 -2.774579)', '2026-07-13 08:31:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018817 -2.774598)'), GeomFromEWKT('SRID=4674;POINT (-40.0188 -2.774579)'))) / (select extract(epoch from '2026-07-13 08:31:09'::timestamp) - extract(epoch from '2026-07-13 08:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018817 -2.774598)'), GeomFromEWKT('SRID=4674;POINT (-40.0188 -2.774579)'))) / (select extract(epoch from '2026-07-13 08:31:09'::timestamp) - extract(epoch from '2026-07-13 08:31: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'), 47628, 'SRID=4674;POINT (-40.018779 -2.774548)', '2026-07-13 08:31:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0188 -2.774579)'), GeomFromEWKT('SRID=4674;POINT (-40.018779 -2.774548)'))) / (select extract(epoch from '2026-07-13 08:31:12'::timestamp) - extract(epoch from '2026-07-13 08:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0188 -2.774579)'), GeomFromEWKT('SRID=4674;POINT (-40.018779 -2.774548)'))) / (select extract(epoch from '2026-07-13 08:31:12'::timestamp) - extract(epoch from '2026-07-13 08:31: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'), 47628, 'SRID=4674;POINT (-40.018775 -2.77453)', '2026-07-13 08:31:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018779 -2.774548)'), GeomFromEWKT('SRID=4674;POINT (-40.018775 -2.77453)'))) / (select extract(epoch from '2026-07-13 08:31:14'::timestamp) - extract(epoch from '2026-07-13 08:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018779 -2.774548)'), GeomFromEWKT('SRID=4674;POINT (-40.018775 -2.77453)'))) / (select extract(epoch from '2026-07-13 08:31:14'::timestamp) - extract(epoch from '2026-07-13 08:31: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'), 47628, 'SRID=4674;POINT (-40.018788 -2.774477)', '2026-07-13 08:31:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018775 -2.77453)'), GeomFromEWKT('SRID=4674;POINT (-40.018788 -2.774477)'))) / (select extract(epoch from '2026-07-13 08:31:22'::timestamp) - extract(epoch from '2026-07-13 08:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018775 -2.77453)'), GeomFromEWKT('SRID=4674;POINT (-40.018788 -2.774477)'))) / (select extract(epoch from '2026-07-13 08:31:22'::timestamp) - extract(epoch from '2026-07-13 08:31: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'), 47628, 'SRID=4674;POINT (-40.018821 -2.774448)', '2026-07-13 08:31:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018788 -2.774477)'), GeomFromEWKT('SRID=4674;POINT (-40.018821 -2.774448)'))) / (select extract(epoch from '2026-07-13 08:31:30'::timestamp) - extract(epoch from '2026-07-13 08:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018788 -2.774477)'), GeomFromEWKT('SRID=4674;POINT (-40.018821 -2.774448)'))) / (select extract(epoch from '2026-07-13 08:31:30'::timestamp) - extract(epoch from '2026-07-13 08:31: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'), 47628, 'SRID=4674;POINT (-40.018896 -2.774418)', '2026-07-13 08:31:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018821 -2.774448)'), GeomFromEWKT('SRID=4674;POINT (-40.018896 -2.774418)'))) / (select extract(epoch from '2026-07-13 08:31:45'::timestamp) - extract(epoch from '2026-07-13 08:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018821 -2.774448)'), GeomFromEWKT('SRID=4674;POINT (-40.018896 -2.774418)'))) / (select extract(epoch from '2026-07-13 08:31:45'::timestamp) - extract(epoch from '2026-07-13 08:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.018919 -2.774411)', '2026-07-13 08:31:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018896 -2.774418)'), GeomFromEWKT('SRID=4674;POINT (-40.018919 -2.774411)'))) / (select extract(epoch from '2026-07-13 08:31:58'::timestamp) - extract(epoch from '2026-07-13 08:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018896 -2.774418)'), GeomFromEWKT('SRID=4674;POINT (-40.018919 -2.774411)'))) / (select extract(epoch from '2026-07-13 08:31:58'::timestamp) - extract(epoch from '2026-07-13 08:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.018914 -2.774408)', '2026-07-13 08:32:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018919 -2.774411)'), GeomFromEWKT('SRID=4674;POINT (-40.018914 -2.774408)'))) / (select extract(epoch from '2026-07-13 08:32:24'::timestamp) - extract(epoch from '2026-07-13 08:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018919 -2.774411)'), GeomFromEWKT('SRID=4674;POINT (-40.018914 -2.774408)'))) / (select extract(epoch from '2026-07-13 08:32:24'::timestamp) - extract(epoch from '2026-07-13 08:31: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'), 47628, 'SRID=4674;POINT (-40.01891 -2.774419)', '2026-07-13 08:32:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018914 -2.774408)'), GeomFromEWKT('SRID=4674;POINT (-40.01891 -2.774419)'))) / (select extract(epoch from '2026-07-13 08:32:34'::timestamp) - extract(epoch from '2026-07-13 08:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018914 -2.774408)'), GeomFromEWKT('SRID=4674;POINT (-40.01891 -2.774419)'))) / (select extract(epoch from '2026-07-13 08:32:34'::timestamp) - extract(epoch from '2026-07-13 08:32: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'), 47628, 'SRID=4674;POINT (-40.018907 -2.774415)', '2026-07-13 08:32:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01891 -2.774419)'), GeomFromEWKT('SRID=4674;POINT (-40.018907 -2.774415)'))) / (select extract(epoch from '2026-07-13 08:32:45'::timestamp) - extract(epoch from '2026-07-13 08:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01891 -2.774419)'), GeomFromEWKT('SRID=4674;POINT (-40.018907 -2.774415)'))) / (select extract(epoch from '2026-07-13 08:32:45'::timestamp) - extract(epoch from '2026-07-13 08:32: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'), 47628, 'SRID=4674;POINT (-40.018891 -2.77439)', '2026-07-13 08:32:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018907 -2.774415)'), GeomFromEWKT('SRID=4674;POINT (-40.018891 -2.77439)'))) / (select extract(epoch from '2026-07-13 08:32:53'::timestamp) - extract(epoch from '2026-07-13 08:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018907 -2.774415)'), GeomFromEWKT('SRID=4674;POINT (-40.018891 -2.77439)'))) / (select extract(epoch from '2026-07-13 08:32:53'::timestamp) - extract(epoch from '2026-07-13 08:32: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'), 47628, 'SRID=4674;POINT (-40.018912 -2.774404)', '2026-07-13 08:33:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018891 -2.77439)'), GeomFromEWKT('SRID=4674;POINT (-40.018912 -2.774404)'))) / (select extract(epoch from '2026-07-13 08:33:00'::timestamp) - extract(epoch from '2026-07-13 08:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018891 -2.77439)'), GeomFromEWKT('SRID=4674;POINT (-40.018912 -2.774404)'))) / (select extract(epoch from '2026-07-13 08:33:00'::timestamp) - extract(epoch from '2026-07-13 08:32: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'), 47628, 'SRID=4674;POINT (-40.018922 -2.774423)', '2026-07-13 08:33:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018912 -2.774404)'), GeomFromEWKT('SRID=4674;POINT (-40.018922 -2.774423)'))) / (select extract(epoch from '2026-07-13 08:33:06'::timestamp) - extract(epoch from '2026-07-13 08:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018912 -2.774404)'), GeomFromEWKT('SRID=4674;POINT (-40.018922 -2.774423)'))) / (select extract(epoch from '2026-07-13 08:33:06'::timestamp) - extract(epoch from '2026-07-13 08:33: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'), 47628, 'SRID=4674;POINT (-40.01892 -2.774412)', '2026-07-13 08:33:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018922 -2.774423)'), GeomFromEWKT('SRID=4674;POINT (-40.01892 -2.774412)'))) / (select extract(epoch from '2026-07-13 08:33:17'::timestamp) - extract(epoch from '2026-07-13 08:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018922 -2.774423)'), GeomFromEWKT('SRID=4674;POINT (-40.01892 -2.774412)'))) / (select extract(epoch from '2026-07-13 08:33:17'::timestamp) - extract(epoch from '2026-07-13 08:33: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'), 47628, 'SRID=4674;POINT (-40.018919 -2.774418)', '2026-07-13 08:33:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01892 -2.774412)'), GeomFromEWKT('SRID=4674;POINT (-40.018919 -2.774418)'))) / (select extract(epoch from '2026-07-13 08:33:34'::timestamp) - extract(epoch from '2026-07-13 08:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01892 -2.774412)'), GeomFromEWKT('SRID=4674;POINT (-40.018919 -2.774418)'))) / (select extract(epoch from '2026-07-13 08:33:34'::timestamp) - extract(epoch from '2026-07-13 08:33: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'), 47628, 'SRID=4674;POINT (-40.018893 -2.774457)', '2026-07-13 08:33:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018919 -2.774418)'), GeomFromEWKT('SRID=4674;POINT (-40.018893 -2.774457)'))) / (select extract(epoch from '2026-07-13 08:33:43'::timestamp) - extract(epoch from '2026-07-13 08:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018919 -2.774418)'), GeomFromEWKT('SRID=4674;POINT (-40.018893 -2.774457)'))) / (select extract(epoch from '2026-07-13 08:33:43'::timestamp) - extract(epoch from '2026-07-13 08:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.018856 -2.77447)', '2026-07-13 08:33:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018893 -2.774457)'), GeomFromEWKT('SRID=4674;POINT (-40.018856 -2.77447)'))) / (select extract(epoch from '2026-07-13 08:33:50'::timestamp) - extract(epoch from '2026-07-13 08:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018893 -2.774457)'), GeomFromEWKT('SRID=4674;POINT (-40.018856 -2.77447)'))) / (select extract(epoch from '2026-07-13 08:33:50'::timestamp) - extract(epoch from '2026-07-13 08:33: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'), 47628, 'SRID=4674;POINT (-40.018809 -2.774466)', '2026-07-13 08:33:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018856 -2.77447)'), GeomFromEWKT('SRID=4674;POINT (-40.018809 -2.774466)'))) / (select extract(epoch from '2026-07-13 08:33:58'::timestamp) - extract(epoch from '2026-07-13 08:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018856 -2.77447)'), GeomFromEWKT('SRID=4674;POINT (-40.018809 -2.774466)'))) / (select extract(epoch from '2026-07-13 08:33:58'::timestamp) - extract(epoch from '2026-07-13 08:33: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'), 47628, 'SRID=4674;POINT (-40.018771 -2.774483)', '2026-07-13 08:34:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018809 -2.774466)'), GeomFromEWKT('SRID=4674;POINT (-40.018771 -2.774483)'))) / (select extract(epoch from '2026-07-13 08:34:09'::timestamp) - extract(epoch from '2026-07-13 08:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018809 -2.774466)'), GeomFromEWKT('SRID=4674;POINT (-40.018771 -2.774483)'))) / (select extract(epoch from '2026-07-13 08:34:09'::timestamp) - extract(epoch from '2026-07-13 08:33:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.018779 -2.774512)', '2026-07-13 08:34:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018771 -2.774483)'), GeomFromEWKT('SRID=4674;POINT (-40.018779 -2.774512)'))) / (select extract(epoch from '2026-07-13 08:34:15'::timestamp) - extract(epoch from '2026-07-13 08:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018771 -2.774483)'), GeomFromEWKT('SRID=4674;POINT (-40.018779 -2.774512)'))) / (select extract(epoch from '2026-07-13 08:34:15'::timestamp) - extract(epoch from '2026-07-13 08:34:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.018821 -2.774566)', '2026-07-13 08:34:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018779 -2.774512)'), GeomFromEWKT('SRID=4674;POINT (-40.018821 -2.774566)'))) / (select extract(epoch from '2026-07-13 08:34:23'::timestamp) - extract(epoch from '2026-07-13 08:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018779 -2.774512)'), GeomFromEWKT('SRID=4674;POINT (-40.018821 -2.774566)'))) / (select extract(epoch from '2026-07-13 08:34:23'::timestamp) - extract(epoch from '2026-07-13 08:34: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'), 47628, 'SRID=4674;POINT (-40.018844 -2.774621)', '2026-07-13 08:34:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018821 -2.774566)'), GeomFromEWKT('SRID=4674;POINT (-40.018844 -2.774621)'))) / (select extract(epoch from '2026-07-13 08:34:32'::timestamp) - extract(epoch from '2026-07-13 08:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018821 -2.774566)'), GeomFromEWKT('SRID=4674;POINT (-40.018844 -2.774621)'))) / (select extract(epoch from '2026-07-13 08:34:32'::timestamp) - extract(epoch from '2026-07-13 08:34: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'), 47628, 'SRID=4674;POINT (-40.018849 -2.774656)', '2026-07-13 08:34:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018844 -2.774621)'), GeomFromEWKT('SRID=4674;POINT (-40.018849 -2.774656)'))) / (select extract(epoch from '2026-07-13 08:34:38'::timestamp) - extract(epoch from '2026-07-13 08:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018844 -2.774621)'), GeomFromEWKT('SRID=4674;POINT (-40.018849 -2.774656)'))) / (select extract(epoch from '2026-07-13 08:34:38'::timestamp) - extract(epoch from '2026-07-13 08:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.018862 -2.774733)', '2026-07-13 08:34:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018849 -2.774656)'), GeomFromEWKT('SRID=4674;POINT (-40.018862 -2.774733)'))) / (select extract(epoch from '2026-07-13 08:34:45'::timestamp) - extract(epoch from '2026-07-13 08:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018849 -2.774656)'), GeomFromEWKT('SRID=4674;POINT (-40.018862 -2.774733)'))) / (select extract(epoch from '2026-07-13 08:34:45'::timestamp) - extract(epoch from '2026-07-13 08:34: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'), 47628, 'SRID=4674;POINT (-40.018875 -2.774759)', '2026-07-13 08:34:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018862 -2.774733)'), GeomFromEWKT('SRID=4674;POINT (-40.018875 -2.774759)'))) / (select extract(epoch from '2026-07-13 08:34:47'::timestamp) - extract(epoch from '2026-07-13 08:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018862 -2.774733)'), GeomFromEWKT('SRID=4674;POINT (-40.018875 -2.774759)'))) / (select extract(epoch from '2026-07-13 08:34:47'::timestamp) - extract(epoch from '2026-07-13 08:34: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'), 47628, 'SRID=4674;POINT (-40.018887 -2.774804)', '2026-07-13 08:34:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018875 -2.774759)'), GeomFromEWKT('SRID=4674;POINT (-40.018887 -2.774804)'))) / (select extract(epoch from '2026-07-13 08:34:50'::timestamp) - extract(epoch from '2026-07-13 08:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018875 -2.774759)'), GeomFromEWKT('SRID=4674;POINT (-40.018887 -2.774804)'))) / (select extract(epoch from '2026-07-13 08:34:50'::timestamp) - extract(epoch from '2026-07-13 08:34: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'), 47628, 'SRID=4674;POINT (-40.018905 -2.774878)', '2026-07-13 08:34:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018887 -2.774804)'), GeomFromEWKT('SRID=4674;POINT (-40.018905 -2.774878)'))) / (select extract(epoch from '2026-07-13 08:34:55'::timestamp) - extract(epoch from '2026-07-13 08:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018887 -2.774804)'), GeomFromEWKT('SRID=4674;POINT (-40.018905 -2.774878)'))) / (select extract(epoch from '2026-07-13 08:34:55'::timestamp) - extract(epoch from '2026-07-13 08:34:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.018957 -2.774981)', '2026-07-13 08:35:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018905 -2.774878)'), GeomFromEWKT('SRID=4674;POINT (-40.018957 -2.774981)'))) / (select extract(epoch from '2026-07-13 08:35:02'::timestamp) - extract(epoch from '2026-07-13 08:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018905 -2.774878)'), GeomFromEWKT('SRID=4674;POINT (-40.018957 -2.774981)'))) / (select extract(epoch from '2026-07-13 08:35:02'::timestamp) - extract(epoch from '2026-07-13 08:34: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'), 47628, 'SRID=4674;POINT (-40.019011 -2.775037)', '2026-07-13 08:35:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018957 -2.774981)'), GeomFromEWKT('SRID=4674;POINT (-40.019011 -2.775037)'))) / (select extract(epoch from '2026-07-13 08:35:07'::timestamp) - extract(epoch from '2026-07-13 08:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018957 -2.774981)'), GeomFromEWKT('SRID=4674;POINT (-40.019011 -2.775037)'))) / (select extract(epoch from '2026-07-13 08:35:07'::timestamp) - extract(epoch from '2026-07-13 08:35:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019058 -2.775138)', '2026-07-13 08:35:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019011 -2.775037)'), GeomFromEWKT('SRID=4674;POINT (-40.019058 -2.775138)'))) / (select extract(epoch from '2026-07-13 08:35:14'::timestamp) - extract(epoch from '2026-07-13 08:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019011 -2.775037)'), GeomFromEWKT('SRID=4674;POINT (-40.019058 -2.775138)'))) / (select extract(epoch from '2026-07-13 08:35:14'::timestamp) - extract(epoch from '2026-07-13 08:35:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.01911 -2.775233)', '2026-07-13 08:35:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019058 -2.775138)'), GeomFromEWKT('SRID=4674;POINT (-40.01911 -2.775233)'))) / (select extract(epoch from '2026-07-13 08:35:21'::timestamp) - extract(epoch from '2026-07-13 08:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019058 -2.775138)'), GeomFromEWKT('SRID=4674;POINT (-40.01911 -2.775233)'))) / (select extract(epoch from '2026-07-13 08:35:21'::timestamp) - extract(epoch from '2026-07-13 08:35:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019153 -2.775311)', '2026-07-13 08:35:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01911 -2.775233)'), GeomFromEWKT('SRID=4674;POINT (-40.019153 -2.775311)'))) / (select extract(epoch from '2026-07-13 08:35:27'::timestamp) - extract(epoch from '2026-07-13 08:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01911 -2.775233)'), GeomFromEWKT('SRID=4674;POINT (-40.019153 -2.775311)'))) / (select extract(epoch from '2026-07-13 08:35:27'::timestamp) - extract(epoch from '2026-07-13 08:35: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'), 47628, 'SRID=4674;POINT (-40.019202 -2.775384)', '2026-07-13 08:35:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019153 -2.775311)'), GeomFromEWKT('SRID=4674;POINT (-40.019202 -2.775384)'))) / (select extract(epoch from '2026-07-13 08:35:32'::timestamp) - extract(epoch from '2026-07-13 08:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019153 -2.775311)'), GeomFromEWKT('SRID=4674;POINT (-40.019202 -2.775384)'))) / (select extract(epoch from '2026-07-13 08:35:32'::timestamp) - extract(epoch from '2026-07-13 08:35: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'), 47628, 'SRID=4674;POINT (-40.019213 -2.775397)', '2026-07-13 08:35:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019202 -2.775384)'), GeomFromEWKT('SRID=4674;POINT (-40.019213 -2.775397)'))) / (select extract(epoch from '2026-07-13 08:35:33'::timestamp) - extract(epoch from '2026-07-13 08:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019202 -2.775384)'), GeomFromEWKT('SRID=4674;POINT (-40.019213 -2.775397)'))) / (select extract(epoch from '2026-07-13 08:35:33'::timestamp) - extract(epoch from '2026-07-13 08:35: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'), 47628, 'SRID=4674;POINT (-40.01924 -2.77544)', '2026-07-13 08:35:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019213 -2.775397)'), GeomFromEWKT('SRID=4674;POINT (-40.01924 -2.77544)'))) / (select extract(epoch from '2026-07-13 08:35:36'::timestamp) - extract(epoch from '2026-07-13 08:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019213 -2.775397)'), GeomFromEWKT('SRID=4674;POINT (-40.01924 -2.77544)'))) / (select extract(epoch from '2026-07-13 08:35:36'::timestamp) - extract(epoch from '2026-07-13 08:35: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'), 47628, 'SRID=4674;POINT (-40.019288 -2.775522)', '2026-07-13 08:35:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01924 -2.77544)'), GeomFromEWKT('SRID=4674;POINT (-40.019288 -2.775522)'))) / (select extract(epoch from '2026-07-13 08:35:42'::timestamp) - extract(epoch from '2026-07-13 08:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01924 -2.77544)'), GeomFromEWKT('SRID=4674;POINT (-40.019288 -2.775522)'))) / (select extract(epoch from '2026-07-13 08:35:42'::timestamp) - extract(epoch from '2026-07-13 08:35:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019322 -2.7756)', '2026-07-13 08:35:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019288 -2.775522)'), GeomFromEWKT('SRID=4674;POINT (-40.019322 -2.7756)'))) / (select extract(epoch from '2026-07-13 08:35:47'::timestamp) - extract(epoch from '2026-07-13 08:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019288 -2.775522)'), GeomFromEWKT('SRID=4674;POINT (-40.019322 -2.7756)'))) / (select extract(epoch from '2026-07-13 08:35:47'::timestamp) - extract(epoch from '2026-07-13 08:35: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'), 47628, 'SRID=4674;POINT (-40.019385 -2.775695)', '2026-07-13 08:35:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019322 -2.7756)'), GeomFromEWKT('SRID=4674;POINT (-40.019385 -2.775695)'))) / (select extract(epoch from '2026-07-13 08:35:54'::timestamp) - extract(epoch from '2026-07-13 08:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019322 -2.7756)'), GeomFromEWKT('SRID=4674;POINT (-40.019385 -2.775695)'))) / (select extract(epoch from '2026-07-13 08:35:54'::timestamp) - extract(epoch from '2026-07-13 08:35: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'), 47628, 'SRID=4674;POINT (-40.019453 -2.775793)', '2026-07-13 08:36:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019385 -2.775695)'), GeomFromEWKT('SRID=4674;POINT (-40.019453 -2.775793)'))) / (select extract(epoch from '2026-07-13 08:36:01'::timestamp) - extract(epoch from '2026-07-13 08:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019385 -2.775695)'), GeomFromEWKT('SRID=4674;POINT (-40.019453 -2.775793)'))) / (select extract(epoch from '2026-07-13 08:36:01'::timestamp) - extract(epoch from '2026-07-13 08:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019495 -2.775836)', '2026-07-13 08:36:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019453 -2.775793)'), GeomFromEWKT('SRID=4674;POINT (-40.019495 -2.775836)'))) / (select extract(epoch from '2026-07-13 08:36:05'::timestamp) - extract(epoch from '2026-07-13 08:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019453 -2.775793)'), GeomFromEWKT('SRID=4674;POINT (-40.019495 -2.775836)'))) / (select extract(epoch from '2026-07-13 08:36:05'::timestamp) - extract(epoch from '2026-07-13 08:36:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019559 -2.775904)', '2026-07-13 08:36:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019495 -2.775836)'), GeomFromEWKT('SRID=4674;POINT (-40.019559 -2.775904)'))) / (select extract(epoch from '2026-07-13 08:36:11'::timestamp) - extract(epoch from '2026-07-13 08:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019495 -2.775836)'), GeomFromEWKT('SRID=4674;POINT (-40.019559 -2.775904)'))) / (select extract(epoch from '2026-07-13 08:36:11'::timestamp) - extract(epoch from '2026-07-13 08:36: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'), 47628, 'SRID=4674;POINT (-40.019653 -2.775983)', '2026-07-13 08:36:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019559 -2.775904)'), GeomFromEWKT('SRID=4674;POINT (-40.019653 -2.775983)'))) / (select extract(epoch from '2026-07-13 08:36:18'::timestamp) - extract(epoch from '2026-07-13 08:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019559 -2.775904)'), GeomFromEWKT('SRID=4674;POINT (-40.019653 -2.775983)'))) / (select extract(epoch from '2026-07-13 08:36:18'::timestamp) - extract(epoch from '2026-07-13 08:36: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'), 47628, 'SRID=4674;POINT (-40.019665 -2.775995)', '2026-07-13 08:36:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019653 -2.775983)'), GeomFromEWKT('SRID=4674;POINT (-40.019665 -2.775995)'))) / (select extract(epoch from '2026-07-13 08:36:19'::timestamp) - extract(epoch from '2026-07-13 08:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019653 -2.775983)'), GeomFromEWKT('SRID=4674;POINT (-40.019665 -2.775995)'))) / (select extract(epoch from '2026-07-13 08:36:19'::timestamp) - extract(epoch from '2026-07-13 08:36: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'), 47628, 'SRID=4674;POINT (-40.0197 -2.776041)', '2026-07-13 08:36:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019665 -2.775995)'), GeomFromEWKT('SRID=4674;POINT (-40.0197 -2.776041)'))) / (select extract(epoch from '2026-07-13 08:36:23'::timestamp) - extract(epoch from '2026-07-13 08:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019665 -2.775995)'), GeomFromEWKT('SRID=4674;POINT (-40.0197 -2.776041)'))) / (select extract(epoch from '2026-07-13 08:36:23'::timestamp) - extract(epoch from '2026-07-13 08:36: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'), 47628, 'SRID=4674;POINT (-40.019731 -2.776087)', '2026-07-13 08:36:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0197 -2.776041)'), GeomFromEWKT('SRID=4674;POINT (-40.019731 -2.776087)'))) / (select extract(epoch from '2026-07-13 08:36:27'::timestamp) - extract(epoch from '2026-07-13 08:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0197 -2.776041)'), GeomFromEWKT('SRID=4674;POINT (-40.019731 -2.776087)'))) / (select extract(epoch from '2026-07-13 08:36:27'::timestamp) - extract(epoch from '2026-07-13 08:36: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'), 47628, 'SRID=4674;POINT (-40.019748 -2.776106)', '2026-07-13 08:36:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019731 -2.776087)'), GeomFromEWKT('SRID=4674;POINT (-40.019748 -2.776106)'))) / (select extract(epoch from '2026-07-13 08:36:29'::timestamp) - extract(epoch from '2026-07-13 08:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019731 -2.776087)'), GeomFromEWKT('SRID=4674;POINT (-40.019748 -2.776106)'))) / (select extract(epoch from '2026-07-13 08:36:29'::timestamp) - extract(epoch from '2026-07-13 08:36: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'), 47628, 'SRID=4674;POINT (-40.019783 -2.776168)', '2026-07-13 08:36:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019748 -2.776106)'), GeomFromEWKT('SRID=4674;POINT (-40.019783 -2.776168)'))) / (select extract(epoch from '2026-07-13 08:36:34'::timestamp) - extract(epoch from '2026-07-13 08:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019748 -2.776106)'), GeomFromEWKT('SRID=4674;POINT (-40.019783 -2.776168)'))) / (select extract(epoch from '2026-07-13 08:36:34'::timestamp) - extract(epoch from '2026-07-13 08:36: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'), 47628, 'SRID=4674;POINT (-40.019829 -2.776223)', '2026-07-13 08:36:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019783 -2.776168)'), GeomFromEWKT('SRID=4674;POINT (-40.019829 -2.776223)'))) / (select extract(epoch from '2026-07-13 08:36:39'::timestamp) - extract(epoch from '2026-07-13 08:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019783 -2.776168)'), GeomFromEWKT('SRID=4674;POINT (-40.019829 -2.776223)'))) / (select extract(epoch from '2026-07-13 08:36:39'::timestamp) - extract(epoch from '2026-07-13 08:36: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'), 47628, 'SRID=4674;POINT (-40.019909 -2.776314)', '2026-07-13 08:36:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019829 -2.776223)'), GeomFromEWKT('SRID=4674;POINT (-40.019909 -2.776314)'))) / (select extract(epoch from '2026-07-13 08:36:48'::timestamp) - extract(epoch from '2026-07-13 08:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019829 -2.776223)'), GeomFromEWKT('SRID=4674;POINT (-40.019909 -2.776314)'))) / (select extract(epoch from '2026-07-13 08:36:48'::timestamp) - extract(epoch from '2026-07-13 08:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.019996 -2.776411)', '2026-07-13 08:36:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019909 -2.776314)'), GeomFromEWKT('SRID=4674;POINT (-40.019996 -2.776411)'))) / (select extract(epoch from '2026-07-13 08:36:56'::timestamp) - extract(epoch from '2026-07-13 08:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019909 -2.776314)'), GeomFromEWKT('SRID=4674;POINT (-40.019996 -2.776411)'))) / (select extract(epoch from '2026-07-13 08:36:56'::timestamp) - extract(epoch from '2026-07-13 08:36:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020039 -2.776506)', '2026-07-13 08:37:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019996 -2.776411)'), GeomFromEWKT('SRID=4674;POINT (-40.020039 -2.776506)'))) / (select extract(epoch from '2026-07-13 08:37:02'::timestamp) - extract(epoch from '2026-07-13 08:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019996 -2.776411)'), GeomFromEWKT('SRID=4674;POINT (-40.020039 -2.776506)'))) / (select extract(epoch from '2026-07-13 08:37:02'::timestamp) - extract(epoch from '2026-07-13 08:36: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'), 47628, 'SRID=4674;POINT (-40.020085 -2.776616)', '2026-07-13 08:37:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020039 -2.776506)'), GeomFromEWKT('SRID=4674;POINT (-40.020085 -2.776616)'))) / (select extract(epoch from '2026-07-13 08:37:09'::timestamp) - extract(epoch from '2026-07-13 08:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020039 -2.776506)'), GeomFromEWKT('SRID=4674;POINT (-40.020085 -2.776616)'))) / (select extract(epoch from '2026-07-13 08:37:09'::timestamp) - extract(epoch from '2026-07-13 08:37: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'), 47628, 'SRID=4674;POINT (-40.020094 -2.776731)', '2026-07-13 08:37:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020085 -2.776616)'), GeomFromEWKT('SRID=4674;POINT (-40.020094 -2.776731)'))) / (select extract(epoch from '2026-07-13 08:37:16'::timestamp) - extract(epoch from '2026-07-13 08:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020085 -2.776616)'), GeomFromEWKT('SRID=4674;POINT (-40.020094 -2.776731)'))) / (select extract(epoch from '2026-07-13 08:37:16'::timestamp) - extract(epoch from '2026-07-13 08:37:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020082 -2.776824)', '2026-07-13 08:37:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020094 -2.776731)'), GeomFromEWKT('SRID=4674;POINT (-40.020082 -2.776824)'))) / (select extract(epoch from '2026-07-13 08:37:22'::timestamp) - extract(epoch from '2026-07-13 08:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020094 -2.776731)'), GeomFromEWKT('SRID=4674;POINT (-40.020082 -2.776824)'))) / (select extract(epoch from '2026-07-13 08:37:22'::timestamp) - extract(epoch from '2026-07-13 08:37: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'), 47628, 'SRID=4674;POINT (-40.02008 -2.776896)', '2026-07-13 08:37:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020082 -2.776824)'), GeomFromEWKT('SRID=4674;POINT (-40.02008 -2.776896)'))) / (select extract(epoch from '2026-07-13 08:37:27'::timestamp) - extract(epoch from '2026-07-13 08:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020082 -2.776824)'), GeomFromEWKT('SRID=4674;POINT (-40.02008 -2.776896)'))) / (select extract(epoch from '2026-07-13 08:37:27'::timestamp) - extract(epoch from '2026-07-13 08:37: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'), 47628, 'SRID=4674;POINT (-40.020084 -2.776999)', '2026-07-13 08:37:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02008 -2.776896)'), GeomFromEWKT('SRID=4674;POINT (-40.020084 -2.776999)'))) / (select extract(epoch from '2026-07-13 08:37:34'::timestamp) - extract(epoch from '2026-07-13 08:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02008 -2.776896)'), GeomFromEWKT('SRID=4674;POINT (-40.020084 -2.776999)'))) / (select extract(epoch from '2026-07-13 08:37:34'::timestamp) - extract(epoch from '2026-07-13 08:37:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020126 -2.777082)', '2026-07-13 08:37:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020084 -2.776999)'), GeomFromEWKT('SRID=4674;POINT (-40.020126 -2.777082)'))) / (select extract(epoch from '2026-07-13 08:37:39'::timestamp) - extract(epoch from '2026-07-13 08:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020084 -2.776999)'), GeomFromEWKT('SRID=4674;POINT (-40.020126 -2.777082)'))) / (select extract(epoch from '2026-07-13 08:37:39'::timestamp) - extract(epoch from '2026-07-13 08:37:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020132 -2.777098)', '2026-07-13 08:37:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020126 -2.777082)'), GeomFromEWKT('SRID=4674;POINT (-40.020132 -2.777098)'))) / (select extract(epoch from '2026-07-13 08:37:40'::timestamp) - extract(epoch from '2026-07-13 08:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020126 -2.777082)'), GeomFromEWKT('SRID=4674;POINT (-40.020132 -2.777098)'))) / (select extract(epoch from '2026-07-13 08:37:40'::timestamp) - extract(epoch from '2026-07-13 08:37: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'), 47628, 'SRID=4674;POINT (-40.020172 -2.777191)', '2026-07-13 08:37:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020132 -2.777098)'), GeomFromEWKT('SRID=4674;POINT (-40.020172 -2.777191)'))) / (select extract(epoch from '2026-07-13 08:37:46'::timestamp) - extract(epoch from '2026-07-13 08:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020132 -2.777098)'), GeomFromEWKT('SRID=4674;POINT (-40.020172 -2.777191)'))) / (select extract(epoch from '2026-07-13 08:37:46'::timestamp) - extract(epoch from '2026-07-13 08:37: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'), 47628, 'SRID=4674;POINT (-40.020224 -2.777293)', '2026-07-13 08:37:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020172 -2.777191)'), GeomFromEWKT('SRID=4674;POINT (-40.020224 -2.777293)'))) / (select extract(epoch from '2026-07-13 08:37:52'::timestamp) - extract(epoch from '2026-07-13 08:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020172 -2.777191)'), GeomFromEWKT('SRID=4674;POINT (-40.020224 -2.777293)'))) / (select extract(epoch from '2026-07-13 08:37:52'::timestamp) - extract(epoch from '2026-07-13 08:37: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'), 47628, 'SRID=4674;POINT (-40.020241 -2.777341)', '2026-07-13 08:37:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020224 -2.777293)'), GeomFromEWKT('SRID=4674;POINT (-40.020241 -2.777341)'))) / (select extract(epoch from '2026-07-13 08:37:55'::timestamp) - extract(epoch from '2026-07-13 08:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020224 -2.777293)'), GeomFromEWKT('SRID=4674;POINT (-40.020241 -2.777341)'))) / (select extract(epoch from '2026-07-13 08:37:55'::timestamp) - extract(epoch from '2026-07-13 08:37:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020255 -2.777376)', '2026-07-13 08:37:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020241 -2.777341)'), GeomFromEWKT('SRID=4674;POINT (-40.020255 -2.777376)'))) / (select extract(epoch from '2026-07-13 08:37:57'::timestamp) - extract(epoch from '2026-07-13 08:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020241 -2.777341)'), GeomFromEWKT('SRID=4674;POINT (-40.020255 -2.777376)'))) / (select extract(epoch from '2026-07-13 08:37:57'::timestamp) - extract(epoch from '2026-07-13 08:37:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02031 -2.777477)', '2026-07-13 08:38:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020255 -2.777376)'), GeomFromEWKT('SRID=4674;POINT (-40.02031 -2.777477)'))) / (select extract(epoch from '2026-07-13 08:38:04'::timestamp) - extract(epoch from '2026-07-13 08:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020255 -2.777376)'), GeomFromEWKT('SRID=4674;POINT (-40.02031 -2.777477)'))) / (select extract(epoch from '2026-07-13 08:38:04'::timestamp) - extract(epoch from '2026-07-13 08:37: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'), 47628, 'SRID=4674;POINT (-40.020357 -2.777553)', '2026-07-13 08:38:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02031 -2.777477)'), GeomFromEWKT('SRID=4674;POINT (-40.020357 -2.777553)'))) / (select extract(epoch from '2026-07-13 08:38:09'::timestamp) - extract(epoch from '2026-07-13 08:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02031 -2.777477)'), GeomFromEWKT('SRID=4674;POINT (-40.020357 -2.777553)'))) / (select extract(epoch from '2026-07-13 08:38:09'::timestamp) - extract(epoch from '2026-07-13 08:38: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'), 47628, 'SRID=4674;POINT (-40.020446 -2.777652)', '2026-07-13 08:38:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020357 -2.777553)'), GeomFromEWKT('SRID=4674;POINT (-40.020446 -2.777652)'))) / (select extract(epoch from '2026-07-13 08:38:16'::timestamp) - extract(epoch from '2026-07-13 08:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020357 -2.777553)'), GeomFromEWKT('SRID=4674;POINT (-40.020446 -2.777652)'))) / (select extract(epoch from '2026-07-13 08:38:16'::timestamp) - extract(epoch from '2026-07-13 08:38: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'), 47628, 'SRID=4674;POINT (-40.020525 -2.777737)', '2026-07-13 08:38:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020446 -2.777652)'), GeomFromEWKT('SRID=4674;POINT (-40.020525 -2.777737)'))) / (select extract(epoch from '2026-07-13 08:38:22'::timestamp) - extract(epoch from '2026-07-13 08:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020446 -2.777652)'), GeomFromEWKT('SRID=4674;POINT (-40.020525 -2.777737)'))) / (select extract(epoch from '2026-07-13 08:38:22'::timestamp) - extract(epoch from '2026-07-13 08:38: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'), 47628, 'SRID=4674;POINT (-40.020588 -2.777847)', '2026-07-13 08:38:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020525 -2.777737)'), GeomFromEWKT('SRID=4674;POINT (-40.020588 -2.777847)'))) / (select extract(epoch from '2026-07-13 08:38:29'::timestamp) - extract(epoch from '2026-07-13 08:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020525 -2.777737)'), GeomFromEWKT('SRID=4674;POINT (-40.020588 -2.777847)'))) / (select extract(epoch from '2026-07-13 08:38:29'::timestamp) - extract(epoch from '2026-07-13 08:38: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'), 47628, 'SRID=4674;POINT (-40.020638 -2.777939)', '2026-07-13 08:38:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020588 -2.777847)'), GeomFromEWKT('SRID=4674;POINT (-40.020638 -2.777939)'))) / (select extract(epoch from '2026-07-13 08:38:35'::timestamp) - extract(epoch from '2026-07-13 08:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020588 -2.777847)'), GeomFromEWKT('SRID=4674;POINT (-40.020638 -2.777939)'))) / (select extract(epoch from '2026-07-13 08:38:35'::timestamp) - extract(epoch from '2026-07-13 08:38: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'), 47628, 'SRID=4674;POINT (-40.020672 -2.778051)', '2026-07-13 08:38:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020638 -2.777939)'), GeomFromEWKT('SRID=4674;POINT (-40.020672 -2.778051)'))) / (select extract(epoch from '2026-07-13 08:38:42'::timestamp) - extract(epoch from '2026-07-13 08:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020638 -2.777939)'), GeomFromEWKT('SRID=4674;POINT (-40.020672 -2.778051)'))) / (select extract(epoch from '2026-07-13 08:38:42'::timestamp) - extract(epoch from '2026-07-13 08:38: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'), 47628, 'SRID=4674;POINT (-40.020709 -2.778161)', '2026-07-13 08:38:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020672 -2.778051)'), GeomFromEWKT('SRID=4674;POINT (-40.020709 -2.778161)'))) / (select extract(epoch from '2026-07-13 08:38:49'::timestamp) - extract(epoch from '2026-07-13 08:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020672 -2.778051)'), GeomFromEWKT('SRID=4674;POINT (-40.020709 -2.778161)'))) / (select extract(epoch from '2026-07-13 08:38:49'::timestamp) - extract(epoch from '2026-07-13 08:38: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'), 47628, 'SRID=4674;POINT (-40.020749 -2.77822)', '2026-07-13 08:38:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020709 -2.778161)'), GeomFromEWKT('SRID=4674;POINT (-40.020749 -2.77822)'))) / (select extract(epoch from '2026-07-13 08:38:53'::timestamp) - extract(epoch from '2026-07-13 08:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020709 -2.778161)'), GeomFromEWKT('SRID=4674;POINT (-40.020749 -2.77822)'))) / (select extract(epoch from '2026-07-13 08:38:53'::timestamp) - extract(epoch from '2026-07-13 08:38: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'), 47628, 'SRID=4674;POINT (-40.020769 -2.77825)', '2026-07-13 08:38:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020749 -2.77822)'), GeomFromEWKT('SRID=4674;POINT (-40.020769 -2.77825)'))) / (select extract(epoch from '2026-07-13 08:38:55'::timestamp) - extract(epoch from '2026-07-13 08:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020749 -2.77822)'), GeomFromEWKT('SRID=4674;POINT (-40.020769 -2.77825)'))) / (select extract(epoch from '2026-07-13 08:38:55'::timestamp) - extract(epoch from '2026-07-13 08:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.020828 -2.77834)', '2026-07-13 08:39:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020769 -2.77825)'), GeomFromEWKT('SRID=4674;POINT (-40.020828 -2.77834)'))) / (select extract(epoch from '2026-07-13 08:39:01'::timestamp) - extract(epoch from '2026-07-13 08:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020769 -2.77825)'), GeomFromEWKT('SRID=4674;POINT (-40.020828 -2.77834)'))) / (select extract(epoch from '2026-07-13 08:39:01'::timestamp) - extract(epoch from '2026-07-13 08:38: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'), 47628, 'SRID=4674;POINT (-40.020887 -2.778425)', '2026-07-13 08:39:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020828 -2.77834)'), GeomFromEWKT('SRID=4674;POINT (-40.020887 -2.778425)'))) / (select extract(epoch from '2026-07-13 08:39:07'::timestamp) - extract(epoch from '2026-07-13 08:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020828 -2.77834)'), GeomFromEWKT('SRID=4674;POINT (-40.020887 -2.778425)'))) / (select extract(epoch from '2026-07-13 08:39:07'::timestamp) - extract(epoch from '2026-07-13 08:39:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02095 -2.778512)', '2026-07-13 08:39:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020887 -2.778425)'), GeomFromEWKT('SRID=4674;POINT (-40.02095 -2.778512)'))) / (select extract(epoch from '2026-07-13 08:39:13'::timestamp) - extract(epoch from '2026-07-13 08:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020887 -2.778425)'), GeomFromEWKT('SRID=4674;POINT (-40.02095 -2.778512)'))) / (select extract(epoch from '2026-07-13 08:39:13'::timestamp) - extract(epoch from '2026-07-13 08:39: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'), 47628, 'SRID=4674;POINT (-40.021021 -2.778616)', '2026-07-13 08:39:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02095 -2.778512)'), GeomFromEWKT('SRID=4674;POINT (-40.021021 -2.778616)'))) / (select extract(epoch from '2026-07-13 08:39:20'::timestamp) - extract(epoch from '2026-07-13 08:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02095 -2.778512)'), GeomFromEWKT('SRID=4674;POINT (-40.021021 -2.778616)'))) / (select extract(epoch from '2026-07-13 08:39:20'::timestamp) - extract(epoch from '2026-07-13 08:39:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021073 -2.778709)', '2026-07-13 08:39:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021021 -2.778616)'), GeomFromEWKT('SRID=4674;POINT (-40.021073 -2.778709)'))) / (select extract(epoch from '2026-07-13 08:39:26'::timestamp) - extract(epoch from '2026-07-13 08:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021021 -2.778616)'), GeomFromEWKT('SRID=4674;POINT (-40.021073 -2.778709)'))) / (select extract(epoch from '2026-07-13 08:39:26'::timestamp) - extract(epoch from '2026-07-13 08:39: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'), 47628, 'SRID=4674;POINT (-40.021138 -2.778809)', '2026-07-13 08:39:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021073 -2.778709)'), GeomFromEWKT('SRID=4674;POINT (-40.021138 -2.778809)'))) / (select extract(epoch from '2026-07-13 08:39:33'::timestamp) - extract(epoch from '2026-07-13 08:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021073 -2.778709)'), GeomFromEWKT('SRID=4674;POINT (-40.021138 -2.778809)'))) / (select extract(epoch from '2026-07-13 08:39:33'::timestamp) - extract(epoch from '2026-07-13 08:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021199 -2.778872)', '2026-07-13 08:39:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021138 -2.778809)'), GeomFromEWKT('SRID=4674;POINT (-40.021199 -2.778872)'))) / (select extract(epoch from '2026-07-13 08:39:38'::timestamp) - extract(epoch from '2026-07-13 08:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021138 -2.778809)'), GeomFromEWKT('SRID=4674;POINT (-40.021199 -2.778872)'))) / (select extract(epoch from '2026-07-13 08:39:38'::timestamp) - extract(epoch from '2026-07-13 08:39:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021284 -2.778959)', '2026-07-13 08:39:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021199 -2.778872)'), GeomFromEWKT('SRID=4674;POINT (-40.021284 -2.778959)'))) / (select extract(epoch from '2026-07-13 08:39:45'::timestamp) - extract(epoch from '2026-07-13 08:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021199 -2.778872)'), GeomFromEWKT('SRID=4674;POINT (-40.021284 -2.778959)'))) / (select extract(epoch from '2026-07-13 08:39:45'::timestamp) - extract(epoch from '2026-07-13 08:39: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'), 47628, 'SRID=4674;POINT (-40.021368 -2.779059)', '2026-07-13 08:39:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021284 -2.778959)'), GeomFromEWKT('SRID=4674;POINT (-40.021368 -2.779059)'))) / (select extract(epoch from '2026-07-13 08:39:52'::timestamp) - extract(epoch from '2026-07-13 08:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021284 -2.778959)'), GeomFromEWKT('SRID=4674;POINT (-40.021368 -2.779059)'))) / (select extract(epoch from '2026-07-13 08:39:52'::timestamp) - extract(epoch from '2026-07-13 08:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021438 -2.779165)', '2026-07-13 08:39:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021368 -2.779059)'), GeomFromEWKT('SRID=4674;POINT (-40.021438 -2.779165)'))) / (select extract(epoch from '2026-07-13 08:39:59'::timestamp) - extract(epoch from '2026-07-13 08:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021368 -2.779059)'), GeomFromEWKT('SRID=4674;POINT (-40.021438 -2.779165)'))) / (select extract(epoch from '2026-07-13 08:39:59'::timestamp) - extract(epoch from '2026-07-13 08:39:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021479 -2.779244)', '2026-07-13 08:40:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021438 -2.779165)'), GeomFromEWKT('SRID=4674;POINT (-40.021479 -2.779244)'))) / (select extract(epoch from '2026-07-13 08:40:04'::timestamp) - extract(epoch from '2026-07-13 08:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021438 -2.779165)'), GeomFromEWKT('SRID=4674;POINT (-40.021479 -2.779244)'))) / (select extract(epoch from '2026-07-13 08:40:04'::timestamp) - extract(epoch from '2026-07-13 08:39: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'), 47628, 'SRID=4674;POINT (-40.021519 -2.779315)', '2026-07-13 08:40:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021479 -2.779244)'), GeomFromEWKT('SRID=4674;POINT (-40.021519 -2.779315)'))) / (select extract(epoch from '2026-07-13 08:40:09'::timestamp) - extract(epoch from '2026-07-13 08:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021479 -2.779244)'), GeomFromEWKT('SRID=4674;POINT (-40.021519 -2.779315)'))) / (select extract(epoch from '2026-07-13 08:40:09'::timestamp) - extract(epoch from '2026-07-13 08:40: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'), 47628, 'SRID=4674;POINT (-40.021531 -2.779328)', '2026-07-13 08:40:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021519 -2.779315)'), GeomFromEWKT('SRID=4674;POINT (-40.021531 -2.779328)'))) / (select extract(epoch from '2026-07-13 08:40:10'::timestamp) - extract(epoch from '2026-07-13 08:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021519 -2.779315)'), GeomFromEWKT('SRID=4674;POINT (-40.021531 -2.779328)'))) / (select extract(epoch from '2026-07-13 08:40:10'::timestamp) - extract(epoch from '2026-07-13 08:40: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'), 47628, 'SRID=4674;POINT (-40.02157 -2.779389)', '2026-07-13 08:40:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021531 -2.779328)'), GeomFromEWKT('SRID=4674;POINT (-40.02157 -2.779389)'))) / (select extract(epoch from '2026-07-13 08:40:14'::timestamp) - extract(epoch from '2026-07-13 08:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021531 -2.779328)'), GeomFromEWKT('SRID=4674;POINT (-40.02157 -2.779389)'))) / (select extract(epoch from '2026-07-13 08:40:14'::timestamp) - extract(epoch from '2026-07-13 08:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021586 -2.779418)', '2026-07-13 08:40:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02157 -2.779389)'), GeomFromEWKT('SRID=4674;POINT (-40.021586 -2.779418)'))) / (select extract(epoch from '2026-07-13 08:40:16'::timestamp) - extract(epoch from '2026-07-13 08:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02157 -2.779389)'), GeomFromEWKT('SRID=4674;POINT (-40.021586 -2.779418)'))) / (select extract(epoch from '2026-07-13 08:40:16'::timestamp) - extract(epoch from '2026-07-13 08:40: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'), 47628, 'SRID=4674;POINT (-40.021613 -2.779462)', '2026-07-13 08:40:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021586 -2.779418)'), GeomFromEWKT('SRID=4674;POINT (-40.021613 -2.779462)'))) / (select extract(epoch from '2026-07-13 08:40:19'::timestamp) - extract(epoch from '2026-07-13 08:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021586 -2.779418)'), GeomFromEWKT('SRID=4674;POINT (-40.021613 -2.779462)'))) / (select extract(epoch from '2026-07-13 08:40:19'::timestamp) - extract(epoch from '2026-07-13 08:40: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'), 47628, 'SRID=4674;POINT (-40.021622 -2.779477)', '2026-07-13 08:40:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021613 -2.779462)'), GeomFromEWKT('SRID=4674;POINT (-40.021622 -2.779477)'))) / (select extract(epoch from '2026-07-13 08:40:20'::timestamp) - extract(epoch from '2026-07-13 08:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021613 -2.779462)'), GeomFromEWKT('SRID=4674;POINT (-40.021622 -2.779477)'))) / (select extract(epoch from '2026-07-13 08:40:20'::timestamp) - extract(epoch from '2026-07-13 08:40: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'), 47628, 'SRID=4674;POINT (-40.021652 -2.77952)', '2026-07-13 08:40:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021622 -2.779477)'), GeomFromEWKT('SRID=4674;POINT (-40.021652 -2.77952)'))) / (select extract(epoch from '2026-07-13 08:40:23'::timestamp) - extract(epoch from '2026-07-13 08:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021622 -2.779477)'), GeomFromEWKT('SRID=4674;POINT (-40.021652 -2.77952)'))) / (select extract(epoch from '2026-07-13 08:40:23'::timestamp) - extract(epoch from '2026-07-13 08:40: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'), 47628, 'SRID=4674;POINT (-40.021659 -2.779534)', '2026-07-13 08:40:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021652 -2.77952)'), GeomFromEWKT('SRID=4674;POINT (-40.021659 -2.779534)'))) / (select extract(epoch from '2026-07-13 08:40:24'::timestamp) - extract(epoch from '2026-07-13 08:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021652 -2.77952)'), GeomFromEWKT('SRID=4674;POINT (-40.021659 -2.779534)'))) / (select extract(epoch from '2026-07-13 08:40:24'::timestamp) - extract(epoch from '2026-07-13 08:40:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02169 -2.779577)', '2026-07-13 08:40:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021659 -2.779534)'), GeomFromEWKT('SRID=4674;POINT (-40.02169 -2.779577)'))) / (select extract(epoch from '2026-07-13 08:40:27'::timestamp) - extract(epoch from '2026-07-13 08:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021659 -2.779534)'), GeomFromEWKT('SRID=4674;POINT (-40.02169 -2.779577)'))) / (select extract(epoch from '2026-07-13 08:40:27'::timestamp) - extract(epoch from '2026-07-13 08:40:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021744 -2.779666)', '2026-07-13 08:40:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02169 -2.779577)'), GeomFromEWKT('SRID=4674;POINT (-40.021744 -2.779666)'))) / (select extract(epoch from '2026-07-13 08:40:33'::timestamp) - extract(epoch from '2026-07-13 08:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02169 -2.779577)'), GeomFromEWKT('SRID=4674;POINT (-40.021744 -2.779666)'))) / (select extract(epoch from '2026-07-13 08:40:33'::timestamp) - extract(epoch from '2026-07-13 08:40: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'), 47628, 'SRID=4674;POINT (-40.021749 -2.779681)', '2026-07-13 08:40:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021744 -2.779666)'), GeomFromEWKT('SRID=4674;POINT (-40.021749 -2.779681)'))) / (select extract(epoch from '2026-07-13 08:40:34'::timestamp) - extract(epoch from '2026-07-13 08:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021744 -2.779666)'), GeomFromEWKT('SRID=4674;POINT (-40.021749 -2.779681)'))) / (select extract(epoch from '2026-07-13 08:40:34'::timestamp) - extract(epoch from '2026-07-13 08:40:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021775 -2.779728)', '2026-07-13 08:40:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021749 -2.779681)'), GeomFromEWKT('SRID=4674;POINT (-40.021775 -2.779728)'))) / (select extract(epoch from '2026-07-13 08:40:37'::timestamp) - extract(epoch from '2026-07-13 08:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021749 -2.779681)'), GeomFromEWKT('SRID=4674;POINT (-40.021775 -2.779728)'))) / (select extract(epoch from '2026-07-13 08:40:37'::timestamp) - extract(epoch from '2026-07-13 08:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021825 -2.779811)', '2026-07-13 08:40:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021775 -2.779728)'), GeomFromEWKT('SRID=4674;POINT (-40.021825 -2.779811)'))) / (select extract(epoch from '2026-07-13 08:40:43'::timestamp) - extract(epoch from '2026-07-13 08:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021775 -2.779728)'), GeomFromEWKT('SRID=4674;POINT (-40.021825 -2.779811)'))) / (select extract(epoch from '2026-07-13 08:40:43'::timestamp) - extract(epoch from '2026-07-13 08:40:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02187 -2.779896)', '2026-07-13 08:40:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021825 -2.779811)'), GeomFromEWKT('SRID=4674;POINT (-40.02187 -2.779896)'))) / (select extract(epoch from '2026-07-13 08:40:49'::timestamp) - extract(epoch from '2026-07-13 08:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021825 -2.779811)'), GeomFromEWKT('SRID=4674;POINT (-40.02187 -2.779896)'))) / (select extract(epoch from '2026-07-13 08:40:49'::timestamp) - extract(epoch from '2026-07-13 08:40: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'), 47628, 'SRID=4674;POINT (-40.0219 -2.779954)', '2026-07-13 08:40:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02187 -2.779896)'), GeomFromEWKT('SRID=4674;POINT (-40.0219 -2.779954)'))) / (select extract(epoch from '2026-07-13 08:40:53'::timestamp) - extract(epoch from '2026-07-13 08:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02187 -2.779896)'), GeomFromEWKT('SRID=4674;POINT (-40.0219 -2.779954)'))) / (select extract(epoch from '2026-07-13 08:40:53'::timestamp) - extract(epoch from '2026-07-13 08:40: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'), 47628, 'SRID=4674;POINT (-40.021911 -2.779985)', '2026-07-13 08:40:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0219 -2.779954)'), GeomFromEWKT('SRID=4674;POINT (-40.021911 -2.779985)'))) / (select extract(epoch from '2026-07-13 08:40:55'::timestamp) - extract(epoch from '2026-07-13 08:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0219 -2.779954)'), GeomFromEWKT('SRID=4674;POINT (-40.021911 -2.779985)'))) / (select extract(epoch from '2026-07-13 08:40:55'::timestamp) - extract(epoch from '2026-07-13 08:40: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'), 47628, 'SRID=4674;POINT (-40.021924 -2.780019)', '2026-07-13 08:40:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021911 -2.779985)'), GeomFromEWKT('SRID=4674;POINT (-40.021924 -2.780019)'))) / (select extract(epoch from '2026-07-13 08:40:57'::timestamp) - extract(epoch from '2026-07-13 08:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021911 -2.779985)'), GeomFromEWKT('SRID=4674;POINT (-40.021924 -2.780019)'))) / (select extract(epoch from '2026-07-13 08:40:57'::timestamp) - extract(epoch from '2026-07-13 08:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021945 -2.780068)', '2026-07-13 08:41:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021924 -2.780019)'), GeomFromEWKT('SRID=4674;POINT (-40.021945 -2.780068)'))) / (select extract(epoch from '2026-07-13 08:41:00'::timestamp) - extract(epoch from '2026-07-13 08:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021924 -2.780019)'), GeomFromEWKT('SRID=4674;POINT (-40.021945 -2.780068)'))) / (select extract(epoch from '2026-07-13 08:41:00'::timestamp) - extract(epoch from '2026-07-13 08:40:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.021986 -2.780159)', '2026-07-13 08:41:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021945 -2.780068)'), GeomFromEWKT('SRID=4674;POINT (-40.021986 -2.780159)'))) / (select extract(epoch from '2026-07-13 08:41:06'::timestamp) - extract(epoch from '2026-07-13 08:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021945 -2.780068)'), GeomFromEWKT('SRID=4674;POINT (-40.021986 -2.780159)'))) / (select extract(epoch from '2026-07-13 08:41:06'::timestamp) - extract(epoch from '2026-07-13 08:41:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02202 -2.780222)', '2026-07-13 08:41:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021986 -2.780159)'), GeomFromEWKT('SRID=4674;POINT (-40.02202 -2.780222)'))) / (select extract(epoch from '2026-07-13 08:41:10'::timestamp) - extract(epoch from '2026-07-13 08:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021986 -2.780159)'), GeomFromEWKT('SRID=4674;POINT (-40.02202 -2.780222)'))) / (select extract(epoch from '2026-07-13 08:41:10'::timestamp) - extract(epoch from '2026-07-13 08:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022029 -2.780236)', '2026-07-13 08:41:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02202 -2.780222)'), GeomFromEWKT('SRID=4674;POINT (-40.022029 -2.780236)'))) / (select extract(epoch from '2026-07-13 08:41:11'::timestamp) - extract(epoch from '2026-07-13 08:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02202 -2.780222)'), GeomFromEWKT('SRID=4674;POINT (-40.022029 -2.780236)'))) / (select extract(epoch from '2026-07-13 08:41:11'::timestamp) - extract(epoch from '2026-07-13 08:41: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'), 47628, 'SRID=4674;POINT (-40.022071 -2.78033)', '2026-07-13 08:41:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022029 -2.780236)'), GeomFromEWKT('SRID=4674;POINT (-40.022071 -2.78033)'))) / (select extract(epoch from '2026-07-13 08:41:17'::timestamp) - extract(epoch from '2026-07-13 08:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022029 -2.780236)'), GeomFromEWKT('SRID=4674;POINT (-40.022071 -2.78033)'))) / (select extract(epoch from '2026-07-13 08:41:17'::timestamp) - extract(epoch from '2026-07-13 08:41: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'), 47628, 'SRID=4674;POINT (-40.02211 -2.780405)', '2026-07-13 08:41:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022071 -2.78033)'), GeomFromEWKT('SRID=4674;POINT (-40.02211 -2.780405)'))) / (select extract(epoch from '2026-07-13 08:41:22'::timestamp) - extract(epoch from '2026-07-13 08:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022071 -2.78033)'), GeomFromEWKT('SRID=4674;POINT (-40.02211 -2.780405)'))) / (select extract(epoch from '2026-07-13 08:41:22'::timestamp) - extract(epoch from '2026-07-13 08:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022117 -2.780418)', '2026-07-13 08:41:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02211 -2.780405)'), GeomFromEWKT('SRID=4674;POINT (-40.022117 -2.780418)'))) / (select extract(epoch from '2026-07-13 08:41:23'::timestamp) - extract(epoch from '2026-07-13 08:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02211 -2.780405)'), GeomFromEWKT('SRID=4674;POINT (-40.022117 -2.780418)'))) / (select extract(epoch from '2026-07-13 08:41:23'::timestamp) - extract(epoch from '2026-07-13 08:41: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'), 47628, 'SRID=4674;POINT (-40.022155 -2.780488)', '2026-07-13 08:41:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022117 -2.780418)'), GeomFromEWKT('SRID=4674;POINT (-40.022155 -2.780488)'))) / (select extract(epoch from '2026-07-13 08:41:28'::timestamp) - extract(epoch from '2026-07-13 08:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022117 -2.780418)'), GeomFromEWKT('SRID=4674;POINT (-40.022155 -2.780488)'))) / (select extract(epoch from '2026-07-13 08:41:28'::timestamp) - extract(epoch from '2026-07-13 08:41: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'), 47628, 'SRID=4674;POINT (-40.022161 -2.780502)', '2026-07-13 08:41:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022155 -2.780488)'), GeomFromEWKT('SRID=4674;POINT (-40.022161 -2.780502)'))) / (select extract(epoch from '2026-07-13 08:41:29'::timestamp) - extract(epoch from '2026-07-13 08:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022155 -2.780488)'), GeomFromEWKT('SRID=4674;POINT (-40.022161 -2.780502)'))) / (select extract(epoch from '2026-07-13 08:41:29'::timestamp) - extract(epoch from '2026-07-13 08:41: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'), 47628, 'SRID=4674;POINT (-40.022235 -2.780573)', '2026-07-13 08:41:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022161 -2.780502)'), GeomFromEWKT('SRID=4674;POINT (-40.022235 -2.780573)'))) / (select extract(epoch from '2026-07-13 08:41:35'::timestamp) - extract(epoch from '2026-07-13 08:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022161 -2.780502)'), GeomFromEWKT('SRID=4674;POINT (-40.022235 -2.780573)'))) / (select extract(epoch from '2026-07-13 08:41:35'::timestamp) - extract(epoch from '2026-07-13 08:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022296 -2.780621)', '2026-07-13 08:41:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022235 -2.780573)'), GeomFromEWKT('SRID=4674;POINT (-40.022296 -2.780621)'))) / (select extract(epoch from '2026-07-13 08:41:39'::timestamp) - extract(epoch from '2026-07-13 08:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022235 -2.780573)'), GeomFromEWKT('SRID=4674;POINT (-40.022296 -2.780621)'))) / (select extract(epoch from '2026-07-13 08:41:39'::timestamp) - extract(epoch from '2026-07-13 08:41:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022333 -2.780655)', '2026-07-13 08:41:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022296 -2.780621)'), GeomFromEWKT('SRID=4674;POINT (-40.022333 -2.780655)'))) / (select extract(epoch from '2026-07-13 08:41:42'::timestamp) - extract(epoch from '2026-07-13 08:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022296 -2.780621)'), GeomFromEWKT('SRID=4674;POINT (-40.022333 -2.780655)'))) / (select extract(epoch from '2026-07-13 08:41:42'::timestamp) - extract(epoch from '2026-07-13 08:41: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'), 47628, 'SRID=4674;POINT (-40.022356 -2.780701)', '2026-07-13 08:41:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022333 -2.780655)'), GeomFromEWKT('SRID=4674;POINT (-40.022356 -2.780701)'))) / (select extract(epoch from '2026-07-13 08:41:45'::timestamp) - extract(epoch from '2026-07-13 08:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022333 -2.780655)'), GeomFromEWKT('SRID=4674;POINT (-40.022356 -2.780701)'))) / (select extract(epoch from '2026-07-13 08:41:45'::timestamp) - extract(epoch from '2026-07-13 08:41: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'), 47628, 'SRID=4674;POINT (-40.022379 -2.78073)', '2026-07-13 08:41:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022356 -2.780701)'), GeomFromEWKT('SRID=4674;POINT (-40.022379 -2.78073)'))) / (select extract(epoch from '2026-07-13 08:41:47'::timestamp) - extract(epoch from '2026-07-13 08:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022356 -2.780701)'), GeomFromEWKT('SRID=4674;POINT (-40.022379 -2.78073)'))) / (select extract(epoch from '2026-07-13 08:41:47'::timestamp) - extract(epoch from '2026-07-13 08:41: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'), 47628, 'SRID=4674;POINT (-40.022391 -2.780759)', '2026-07-13 08:41:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022379 -2.78073)'), GeomFromEWKT('SRID=4674;POINT (-40.022391 -2.780759)'))) / (select extract(epoch from '2026-07-13 08:41:49'::timestamp) - extract(epoch from '2026-07-13 08:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022379 -2.78073)'), GeomFromEWKT('SRID=4674;POINT (-40.022391 -2.780759)'))) / (select extract(epoch from '2026-07-13 08:41:49'::timestamp) - extract(epoch from '2026-07-13 08:41:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022427 -2.780834)', '2026-07-13 08:41:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022391 -2.780759)'), GeomFromEWKT('SRID=4674;POINT (-40.022427 -2.780834)'))) / (select extract(epoch from '2026-07-13 08:41:54'::timestamp) - extract(epoch from '2026-07-13 08:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022391 -2.780759)'), GeomFromEWKT('SRID=4674;POINT (-40.022427 -2.780834)'))) / (select extract(epoch from '2026-07-13 08:41:54'::timestamp) - extract(epoch from '2026-07-13 08:41: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'), 47628, 'SRID=4674;POINT (-40.02244 -2.780864)', '2026-07-13 08:41:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022427 -2.780834)'), GeomFromEWKT('SRID=4674;POINT (-40.02244 -2.780864)'))) / (select extract(epoch from '2026-07-13 08:41:56'::timestamp) - extract(epoch from '2026-07-13 08:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022427 -2.780834)'), GeomFromEWKT('SRID=4674;POINT (-40.02244 -2.780864)'))) / (select extract(epoch from '2026-07-13 08:41:56'::timestamp) - extract(epoch from '2026-07-13 08:41:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022451 -2.780896)', '2026-07-13 08:41:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02244 -2.780864)'), GeomFromEWKT('SRID=4674;POINT (-40.022451 -2.780896)'))) / (select extract(epoch from '2026-07-13 08:41:58'::timestamp) - extract(epoch from '2026-07-13 08:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02244 -2.780864)'), GeomFromEWKT('SRID=4674;POINT (-40.022451 -2.780896)'))) / (select extract(epoch from '2026-07-13 08:41:58'::timestamp) - extract(epoch from '2026-07-13 08:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022469 -2.780956)', '2026-07-13 08:42:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022451 -2.780896)'), GeomFromEWKT('SRID=4674;POINT (-40.022469 -2.780956)'))) / (select extract(epoch from '2026-07-13 08:42:02'::timestamp) - extract(epoch from '2026-07-13 08:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022451 -2.780896)'), GeomFromEWKT('SRID=4674;POINT (-40.022469 -2.780956)'))) / (select extract(epoch from '2026-07-13 08:42:02'::timestamp) - extract(epoch from '2026-07-13 08:41: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'), 47628, 'SRID=4674;POINT (-40.022471 -2.780969)', '2026-07-13 08:42:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022469 -2.780956)'), GeomFromEWKT('SRID=4674;POINT (-40.022471 -2.780969)'))) / (select extract(epoch from '2026-07-13 08:42:03'::timestamp) - extract(epoch from '2026-07-13 08:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022469 -2.780956)'), GeomFromEWKT('SRID=4674;POINT (-40.022471 -2.780969)'))) / (select extract(epoch from '2026-07-13 08:42:03'::timestamp) - extract(epoch from '2026-07-13 08:42: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'), 47628, 'SRID=4674;POINT (-40.022476 -2.78104)', '2026-07-13 08:42:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022471 -2.780969)'), GeomFromEWKT('SRID=4674;POINT (-40.022476 -2.78104)'))) / (select extract(epoch from '2026-07-13 08:42:08'::timestamp) - extract(epoch from '2026-07-13 08:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022471 -2.780969)'), GeomFromEWKT('SRID=4674;POINT (-40.022476 -2.78104)'))) / (select extract(epoch from '2026-07-13 08:42:08'::timestamp) - extract(epoch from '2026-07-13 08:42: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'), 47628, 'SRID=4674;POINT (-40.022479 -2.781055)', '2026-07-13 08:42:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022476 -2.78104)'), GeomFromEWKT('SRID=4674;POINT (-40.022479 -2.781055)'))) / (select extract(epoch from '2026-07-13 08:42:09'::timestamp) - extract(epoch from '2026-07-13 08:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022476 -2.78104)'), GeomFromEWKT('SRID=4674;POINT (-40.022479 -2.781055)'))) / (select extract(epoch from '2026-07-13 08:42:09'::timestamp) - extract(epoch from '2026-07-13 08:42:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022496 -2.781126)', '2026-07-13 08:42:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022479 -2.781055)'), GeomFromEWKT('SRID=4674;POINT (-40.022496 -2.781126)'))) / (select extract(epoch from '2026-07-13 08:42:14'::timestamp) - extract(epoch from '2026-07-13 08:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022479 -2.781055)'), GeomFromEWKT('SRID=4674;POINT (-40.022496 -2.781126)'))) / (select extract(epoch from '2026-07-13 08:42:14'::timestamp) - extract(epoch from '2026-07-13 08:42:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022527 -2.781187)', '2026-07-13 08:42:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022496 -2.781126)'), GeomFromEWKT('SRID=4674;POINT (-40.022527 -2.781187)'))) / (select extract(epoch from '2026-07-13 08:42:18'::timestamp) - extract(epoch from '2026-07-13 08:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022496 -2.781126)'), GeomFromEWKT('SRID=4674;POINT (-40.022527 -2.781187)'))) / (select extract(epoch from '2026-07-13 08:42:18'::timestamp) - extract(epoch from '2026-07-13 08:42:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022557 -2.78126)', '2026-07-13 08:42:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022527 -2.781187)'), GeomFromEWKT('SRID=4674;POINT (-40.022557 -2.78126)'))) / (select extract(epoch from '2026-07-13 08:42:23'::timestamp) - extract(epoch from '2026-07-13 08:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022527 -2.781187)'), GeomFromEWKT('SRID=4674;POINT (-40.022557 -2.78126)'))) / (select extract(epoch from '2026-07-13 08:42:23'::timestamp) - extract(epoch from '2026-07-13 08:42: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'), 47628, 'SRID=4674;POINT (-40.022563 -2.781352)', '2026-07-13 08:42:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022557 -2.78126)'), GeomFromEWKT('SRID=4674;POINT (-40.022563 -2.781352)'))) / (select extract(epoch from '2026-07-13 08:42:29'::timestamp) - extract(epoch from '2026-07-13 08:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022557 -2.78126)'), GeomFromEWKT('SRID=4674;POINT (-40.022563 -2.781352)'))) / (select extract(epoch from '2026-07-13 08:42:29'::timestamp) - extract(epoch from '2026-07-13 08:42: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'), 47628, 'SRID=4674;POINT (-40.022559 -2.781425)', '2026-07-13 08:42:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022563 -2.781352)'), GeomFromEWKT('SRID=4674;POINT (-40.022559 -2.781425)'))) / (select extract(epoch from '2026-07-13 08:42:34'::timestamp) - extract(epoch from '2026-07-13 08:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022563 -2.781352)'), GeomFromEWKT('SRID=4674;POINT (-40.022559 -2.781425)'))) / (select extract(epoch from '2026-07-13 08:42:34'::timestamp) - extract(epoch from '2026-07-13 08:42: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'), 47628, 'SRID=4674;POINT (-40.02256 -2.78144)', '2026-07-13 08:42:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022559 -2.781425)'), GeomFromEWKT('SRID=4674;POINT (-40.02256 -2.78144)'))) / (select extract(epoch from '2026-07-13 08:42:35'::timestamp) - extract(epoch from '2026-07-13 08:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022559 -2.781425)'), GeomFromEWKT('SRID=4674;POINT (-40.02256 -2.78144)'))) / (select extract(epoch from '2026-07-13 08:42:35'::timestamp) - extract(epoch from '2026-07-13 08:42: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'), 47628, 'SRID=4674;POINT (-40.022563 -2.781455)', '2026-07-13 08:42:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02256 -2.78144)'), GeomFromEWKT('SRID=4674;POINT (-40.022563 -2.781455)'))) / (select extract(epoch from '2026-07-13 08:42:36'::timestamp) - extract(epoch from '2026-07-13 08:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02256 -2.78144)'), GeomFromEWKT('SRID=4674;POINT (-40.022563 -2.781455)'))) / (select extract(epoch from '2026-07-13 08:42:36'::timestamp) - extract(epoch from '2026-07-13 08:42:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
