 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050013 -2.803882)', '2026-06-26 09:41:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050038 -2.803796)'), GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.803882)'))) / (select extract(epoch from '2026-06-26 09:41:52'::timestamp) - extract(epoch from '2026-06-26 09:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050038 -2.803796)'), GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.803882)'))) / (select extract(epoch from '2026-06-26 09:41:52'::timestamp) - extract(epoch from '2026-06-26 09:41: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'), 46941, 'SRID=4674;POINT (-40.049977 -2.803968)', '2026-06-26 09:41:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.803882)'), GeomFromEWKT('SRID=4674;POINT (-40.049977 -2.803968)'))) / (select extract(epoch from '2026-06-26 09:41:59'::timestamp) - extract(epoch from '2026-06-26 09:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.803882)'), GeomFromEWKT('SRID=4674;POINT (-40.049977 -2.803968)'))) / (select extract(epoch from '2026-06-26 09:41:59'::timestamp) - extract(epoch from '2026-06-26 09:41: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'), 46941, 'SRID=4674;POINT (-40.04997 -2.803992)', '2026-06-26 09:42:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049977 -2.803968)'), GeomFromEWKT('SRID=4674;POINT (-40.04997 -2.803992)'))) / (select extract(epoch from '2026-06-26 09:42:01'::timestamp) - extract(epoch from '2026-06-26 09:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049977 -2.803968)'), GeomFromEWKT('SRID=4674;POINT (-40.04997 -2.803992)'))) / (select extract(epoch from '2026-06-26 09:42:01'::timestamp) - extract(epoch from '2026-06-26 09:41: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'), 46941, 'SRID=4674;POINT (-40.049969 -2.80404)', '2026-06-26 09:42:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04997 -2.803992)'), GeomFromEWKT('SRID=4674;POINT (-40.049969 -2.80404)'))) / (select extract(epoch from '2026-06-26 09:42:05'::timestamp) - extract(epoch from '2026-06-26 09:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04997 -2.803992)'), GeomFromEWKT('SRID=4674;POINT (-40.049969 -2.80404)'))) / (select extract(epoch from '2026-06-26 09:42:05'::timestamp) - extract(epoch from '2026-06-26 09:42: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'), 46941, 'SRID=4674;POINT (-40.049961 -2.804149)', '2026-06-26 09:42:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049969 -2.80404)'), GeomFromEWKT('SRID=4674;POINT (-40.049961 -2.804149)'))) / (select extract(epoch from '2026-06-26 09:42:13'::timestamp) - extract(epoch from '2026-06-26 09:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049969 -2.80404)'), GeomFromEWKT('SRID=4674;POINT (-40.049961 -2.804149)'))) / (select extract(epoch from '2026-06-26 09:42:13'::timestamp) - extract(epoch from '2026-06-26 09:42: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'), 46941, 'SRID=4674;POINT (-40.049962 -2.804217)', '2026-06-26 09:42:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049961 -2.804149)'), GeomFromEWKT('SRID=4674;POINT (-40.049962 -2.804217)'))) / (select extract(epoch from '2026-06-26 09:42:20'::timestamp) - extract(epoch from '2026-06-26 09:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049961 -2.804149)'), GeomFromEWKT('SRID=4674;POINT (-40.049962 -2.804217)'))) / (select extract(epoch from '2026-06-26 09:42:20'::timestamp) - extract(epoch from '2026-06-26 09:42: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'), 46941, 'SRID=4674;POINT (-40.049965 -2.804251)', '2026-06-26 09:42:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049962 -2.804217)'), GeomFromEWKT('SRID=4674;POINT (-40.049965 -2.804251)'))) / (select extract(epoch from '2026-06-26 09:42:31'::timestamp) - extract(epoch from '2026-06-26 09:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049962 -2.804217)'), GeomFromEWKT('SRID=4674;POINT (-40.049965 -2.804251)'))) / (select extract(epoch from '2026-06-26 09:42:31'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.049982 -2.804253)', '2026-06-26 09:42:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049965 -2.804251)'), GeomFromEWKT('SRID=4674;POINT (-40.049982 -2.804253)'))) / (select extract(epoch from '2026-06-26 09:42:37'::timestamp) - extract(epoch from '2026-06-26 09:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049965 -2.804251)'), GeomFromEWKT('SRID=4674;POINT (-40.049982 -2.804253)'))) / (select extract(epoch from '2026-06-26 09:42:37'::timestamp) - extract(epoch from '2026-06-26 09:42: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'), 46941, 'SRID=4674;POINT (-40.049982 -2.804253)', '2026-06-26 09:42:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049982 -2.804253)'), GeomFromEWKT('SRID=4674;POINT (-40.049982 -2.804253)'))) / (select extract(epoch from '2026-06-26 09:42:38'::timestamp) - extract(epoch from '2026-06-26 09:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049982 -2.804253)'), GeomFromEWKT('SRID=4674;POINT (-40.049982 -2.804253)'))) / (select extract(epoch from '2026-06-26 09:42:38'::timestamp) - extract(epoch from '2026-06-26 09:42: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'), 46941, 'SRID=4674;POINT (-40.049994 -2.804269)', '2026-06-26 09:42:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049982 -2.804253)'), GeomFromEWKT('SRID=4674;POINT (-40.049994 -2.804269)'))) / (select extract(epoch from '2026-06-26 09:42:41'::timestamp) - extract(epoch from '2026-06-26 09:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049982 -2.804253)'), GeomFromEWKT('SRID=4674;POINT (-40.049994 -2.804269)'))) / (select extract(epoch from '2026-06-26 09:42:41'::timestamp) - extract(epoch from '2026-06-26 09:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050001 -2.804283)', '2026-06-26 09:42:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049994 -2.804269)'), GeomFromEWKT('SRID=4674;POINT (-40.050001 -2.804283)'))) / (select extract(epoch from '2026-06-26 09:42:43'::timestamp) - extract(epoch from '2026-06-26 09:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049994 -2.804269)'), GeomFromEWKT('SRID=4674;POINT (-40.050001 -2.804283)'))) / (select extract(epoch from '2026-06-26 09:42:43'::timestamp) - extract(epoch from '2026-06-26 09:42: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'), 46941, 'SRID=4674;POINT (-40.05001 -2.804304)', '2026-06-26 09:42:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050001 -2.804283)'), GeomFromEWKT('SRID=4674;POINT (-40.05001 -2.804304)'))) / (select extract(epoch from '2026-06-26 09:42:45'::timestamp) - extract(epoch from '2026-06-26 09:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050001 -2.804283)'), GeomFromEWKT('SRID=4674;POINT (-40.05001 -2.804304)'))) / (select extract(epoch from '2026-06-26 09:42:45'::timestamp) - extract(epoch from '2026-06-26 09:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050012 -2.804325)', '2026-06-26 09:42:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05001 -2.804304)'), GeomFromEWKT('SRID=4674;POINT (-40.050012 -2.804325)'))) / (select extract(epoch from '2026-06-26 09:42:47'::timestamp) - extract(epoch from '2026-06-26 09:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05001 -2.804304)'), GeomFromEWKT('SRID=4674;POINT (-40.050012 -2.804325)'))) / (select extract(epoch from '2026-06-26 09:42:47'::timestamp) - extract(epoch from '2026-06-26 09:42: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'), 46941, 'SRID=4674;POINT (-40.050007 -2.804341)', '2026-06-26 09:42:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050012 -2.804325)'), GeomFromEWKT('SRID=4674;POINT (-40.050007 -2.804341)'))) / (select extract(epoch from '2026-06-26 09:42:49'::timestamp) - extract(epoch from '2026-06-26 09:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050012 -2.804325)'), GeomFromEWKT('SRID=4674;POINT (-40.050007 -2.804341)'))) / (select extract(epoch from '2026-06-26 09:42:49'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050001 -2.804373)', '2026-06-26 09:42:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050007 -2.804341)'), GeomFromEWKT('SRID=4674;POINT (-40.050001 -2.804373)'))) / (select extract(epoch from '2026-06-26 09:42:56'::timestamp) - extract(epoch from '2026-06-26 09:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050007 -2.804341)'), GeomFromEWKT('SRID=4674;POINT (-40.050001 -2.804373)'))) / (select extract(epoch from '2026-06-26 09:42:56'::timestamp) - extract(epoch from '2026-06-26 09:42: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'), 46941, 'SRID=4674;POINT (-40.049992 -2.804373)', '2026-06-26 09:43:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050001 -2.804373)'), GeomFromEWKT('SRID=4674;POINT (-40.049992 -2.804373)'))) / (select extract(epoch from '2026-06-26 09:43:05'::timestamp) - extract(epoch from '2026-06-26 09:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050001 -2.804373)'), GeomFromEWKT('SRID=4674;POINT (-40.049992 -2.804373)'))) / (select extract(epoch from '2026-06-26 09:43:05'::timestamp) - extract(epoch from '2026-06-26 09:42: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'), 46941, 'SRID=4674;POINT (-40.049996 -2.804319)', '2026-06-26 09:43:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049992 -2.804373)'), GeomFromEWKT('SRID=4674;POINT (-40.049996 -2.804319)'))) / (select extract(epoch from '2026-06-26 09:43:16'::timestamp) - extract(epoch from '2026-06-26 09:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049992 -2.804373)'), GeomFromEWKT('SRID=4674;POINT (-40.049996 -2.804319)'))) / (select extract(epoch from '2026-06-26 09:43:16'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.049984 -2.804252)', '2026-06-26 09:43:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049996 -2.804319)'), GeomFromEWKT('SRID=4674;POINT (-40.049984 -2.804252)'))) / (select extract(epoch from '2026-06-26 09:43:31'::timestamp) - extract(epoch from '2026-06-26 09:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049996 -2.804319)'), GeomFromEWKT('SRID=4674;POINT (-40.049984 -2.804252)'))) / (select extract(epoch from '2026-06-26 09:43:31'::timestamp) - extract(epoch from '2026-06-26 09:43: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'), 46941, 'SRID=4674;POINT (-40.049912 -2.804234)', '2026-06-26 09:43:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049984 -2.804252)'), GeomFromEWKT('SRID=4674;POINT (-40.049912 -2.804234)'))) / (select extract(epoch from '2026-06-26 09:43:42'::timestamp) - extract(epoch from '2026-06-26 09:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049984 -2.804252)'), GeomFromEWKT('SRID=4674;POINT (-40.049912 -2.804234)'))) / (select extract(epoch from '2026-06-26 09:43:42'::timestamp) - extract(epoch from '2026-06-26 09:43: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'), 46941, 'SRID=4674;POINT (-40.049907 -2.804242)', '2026-06-26 09:43:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049912 -2.804234)'), GeomFromEWKT('SRID=4674;POINT (-40.049907 -2.804242)'))) / (select extract(epoch from '2026-06-26 09:43:43'::timestamp) - extract(epoch from '2026-06-26 09:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049912 -2.804234)'), GeomFromEWKT('SRID=4674;POINT (-40.049907 -2.804242)'))) / (select extract(epoch from '2026-06-26 09:43:43'::timestamp) - extract(epoch from '2026-06-26 09:43: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'), 46941, 'SRID=4674;POINT (-40.049896 -2.804261)', '2026-06-26 09:43:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049907 -2.804242)'), GeomFromEWKT('SRID=4674;POINT (-40.049896 -2.804261)'))) / (select extract(epoch from '2026-06-26 09:43:45'::timestamp) - extract(epoch from '2026-06-26 09:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049907 -2.804242)'), GeomFromEWKT('SRID=4674;POINT (-40.049896 -2.804261)'))) / (select extract(epoch from '2026-06-26 09:43:45'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.049885 -2.804283)', '2026-06-26 09:43:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049896 -2.804261)'), GeomFromEWKT('SRID=4674;POINT (-40.049885 -2.804283)'))) / (select extract(epoch from '2026-06-26 09:43:47'::timestamp) - extract(epoch from '2026-06-26 09:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049896 -2.804261)'), GeomFromEWKT('SRID=4674;POINT (-40.049885 -2.804283)'))) / (select extract(epoch from '2026-06-26 09:43:47'::timestamp) - extract(epoch from '2026-06-26 09:43: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'), 46941, 'SRID=4674;POINT (-40.049884 -2.804379)', '2026-06-26 09:43:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049885 -2.804283)'), GeomFromEWKT('SRID=4674;POINT (-40.049884 -2.804379)'))) / (select extract(epoch from '2026-06-26 09:43:54'::timestamp) - extract(epoch from '2026-06-26 09:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049885 -2.804283)'), GeomFromEWKT('SRID=4674;POINT (-40.049884 -2.804379)'))) / (select extract(epoch from '2026-06-26 09:43:54'::timestamp) - extract(epoch from '2026-06-26 09:43: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'), 46941, 'SRID=4674;POINT (-40.049951 -2.804481)', '2026-06-26 09:44:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049884 -2.804379)'), GeomFromEWKT('SRID=4674;POINT (-40.049951 -2.804481)'))) / (select extract(epoch from '2026-06-26 09:44:02'::timestamp) - extract(epoch from '2026-06-26 09:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049884 -2.804379)'), GeomFromEWKT('SRID=4674;POINT (-40.049951 -2.804481)'))) / (select extract(epoch from '2026-06-26 09:44:02'::timestamp) - extract(epoch from '2026-06-26 09:43: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'), 46941, 'SRID=4674;POINT (-40.050009 -2.804595)', '2026-06-26 09:44:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049951 -2.804481)'), GeomFromEWKT('SRID=4674;POINT (-40.050009 -2.804595)'))) / (select extract(epoch from '2026-06-26 09:44:09'::timestamp) - extract(epoch from '2026-06-26 09:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049951 -2.804481)'), GeomFromEWKT('SRID=4674;POINT (-40.050009 -2.804595)'))) / (select extract(epoch from '2026-06-26 09:44:09'::timestamp) - extract(epoch from '2026-06-26 09:44:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050059 -2.804699)', '2026-06-26 09:44:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050009 -2.804595)'), GeomFromEWKT('SRID=4674;POINT (-40.050059 -2.804699)'))) / (select extract(epoch from '2026-06-26 09:44:15'::timestamp) - extract(epoch from '2026-06-26 09:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050009 -2.804595)'), GeomFromEWKT('SRID=4674;POINT (-40.050059 -2.804699)'))) / (select extract(epoch from '2026-06-26 09:44:15'::timestamp) - extract(epoch from '2026-06-26 09:44: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'), 46941, 'SRID=4674;POINT (-40.050111 -2.804829)', '2026-06-26 09:44:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050059 -2.804699)'), GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.804829)'))) / (select extract(epoch from '2026-06-26 09:44:22'::timestamp) - extract(epoch from '2026-06-26 09:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050059 -2.804699)'), GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.804829)'))) / (select extract(epoch from '2026-06-26 09:44:22'::timestamp) - extract(epoch from '2026-06-26 09:44: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'), 46941, 'SRID=4674;POINT (-40.050161 -2.804958)', '2026-06-26 09:44:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.804829)'), GeomFromEWKT('SRID=4674;POINT (-40.050161 -2.804958)'))) / (select extract(epoch from '2026-06-26 09:44:29'::timestamp) - extract(epoch from '2026-06-26 09:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.804829)'), GeomFromEWKT('SRID=4674;POINT (-40.050161 -2.804958)'))) / (select extract(epoch from '2026-06-26 09:44:29'::timestamp) - extract(epoch from '2026-06-26 09:44: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'), 46941, 'SRID=4674;POINT (-40.05021 -2.805082)', '2026-06-26 09:44:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050161 -2.804958)'), GeomFromEWKT('SRID=4674;POINT (-40.05021 -2.805082)'))) / (select extract(epoch from '2026-06-26 09:44:36'::timestamp) - extract(epoch from '2026-06-26 09:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050161 -2.804958)'), GeomFromEWKT('SRID=4674;POINT (-40.05021 -2.805082)'))) / (select extract(epoch from '2026-06-26 09:44:36'::timestamp) - extract(epoch from '2026-06-26 09:44: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'), 46941, 'SRID=4674;POINT (-40.050267 -2.805181)', '2026-06-26 09:44:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05021 -2.805082)'), GeomFromEWKT('SRID=4674;POINT (-40.050267 -2.805181)'))) / (select extract(epoch from '2026-06-26 09:44:42'::timestamp) - extract(epoch from '2026-06-26 09:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05021 -2.805082)'), GeomFromEWKT('SRID=4674;POINT (-40.050267 -2.805181)'))) / (select extract(epoch from '2026-06-26 09:44:42'::timestamp) - extract(epoch from '2026-06-26 09:44: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'), 46941, 'SRID=4674;POINT (-40.050372 -2.805264)', '2026-06-26 09:44:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050267 -2.805181)'), GeomFromEWKT('SRID=4674;POINT (-40.050372 -2.805264)'))) / (select extract(epoch from '2026-06-26 09:44:49'::timestamp) - extract(epoch from '2026-06-26 09:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050267 -2.805181)'), GeomFromEWKT('SRID=4674;POINT (-40.050372 -2.805264)'))) / (select extract(epoch from '2026-06-26 09:44:49'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050465 -2.805306)', '2026-06-26 09:44:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050372 -2.805264)'), GeomFromEWKT('SRID=4674;POINT (-40.050465 -2.805306)'))) / (select extract(epoch from '2026-06-26 09:44:55'::timestamp) - extract(epoch from '2026-06-26 09:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050372 -2.805264)'), GeomFromEWKT('SRID=4674;POINT (-40.050465 -2.805306)'))) / (select extract(epoch from '2026-06-26 09:44:55'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050523 -2.805365)', '2026-06-26 09:45:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050465 -2.805306)'), GeomFromEWKT('SRID=4674;POINT (-40.050523 -2.805365)'))) / (select extract(epoch from '2026-06-26 09:45:02'::timestamp) - extract(epoch from '2026-06-26 09:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050465 -2.805306)'), GeomFromEWKT('SRID=4674;POINT (-40.050523 -2.805365)'))) / (select extract(epoch from '2026-06-26 09:45:02'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050546 -2.805401)', '2026-06-26 09:45:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050523 -2.805365)'), GeomFromEWKT('SRID=4674;POINT (-40.050546 -2.805401)'))) / (select extract(epoch from '2026-06-26 09:45:07'::timestamp) - extract(epoch from '2026-06-26 09:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050523 -2.805365)'), GeomFromEWKT('SRID=4674;POINT (-40.050546 -2.805401)'))) / (select extract(epoch from '2026-06-26 09:45:07'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050553 -2.805444)', '2026-06-26 09:45:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050546 -2.805401)'), GeomFromEWKT('SRID=4674;POINT (-40.050553 -2.805444)'))) / (select extract(epoch from '2026-06-26 09:45:16'::timestamp) - extract(epoch from '2026-06-26 09:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050546 -2.805401)'), GeomFromEWKT('SRID=4674;POINT (-40.050553 -2.805444)'))) / (select extract(epoch from '2026-06-26 09:45:16'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050561 -2.805457)', '2026-06-26 09:45:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050553 -2.805444)'), GeomFromEWKT('SRID=4674;POINT (-40.050561 -2.805457)'))) / (select extract(epoch from '2026-06-26 09:45:24'::timestamp) - extract(epoch from '2026-06-26 09:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050553 -2.805444)'), GeomFromEWKT('SRID=4674;POINT (-40.050561 -2.805457)'))) / (select extract(epoch from '2026-06-26 09:45:24'::timestamp) - extract(epoch from '2026-06-26 09:45: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'), 46941, 'SRID=4674;POINT (-40.050539 -2.805468)', '2026-06-26 09:45:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050561 -2.805457)'), GeomFromEWKT('SRID=4674;POINT (-40.050539 -2.805468)'))) / (select extract(epoch from '2026-06-26 09:45:34'::timestamp) - extract(epoch from '2026-06-26 09:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050561 -2.805457)'), GeomFromEWKT('SRID=4674;POINT (-40.050539 -2.805468)'))) / (select extract(epoch from '2026-06-26 09:45:34'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050551 -2.805446)', '2026-06-26 09:45:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050539 -2.805468)'), GeomFromEWKT('SRID=4674;POINT (-40.050551 -2.805446)'))) / (select extract(epoch from '2026-06-26 09:45:42'::timestamp) - extract(epoch from '2026-06-26 09:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050539 -2.805468)'), GeomFromEWKT('SRID=4674;POINT (-40.050551 -2.805446)'))) / (select extract(epoch from '2026-06-26 09:45:42'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050575 -2.805379)', '2026-06-26 09:45:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050551 -2.805446)'), GeomFromEWKT('SRID=4674;POINT (-40.050575 -2.805379)'))) / (select extract(epoch from '2026-06-26 09:45:50'::timestamp) - extract(epoch from '2026-06-26 09:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050551 -2.805446)'), GeomFromEWKT('SRID=4674;POINT (-40.050575 -2.805379)'))) / (select extract(epoch from '2026-06-26 09:45:50'::timestamp) - extract(epoch from '2026-06-26 09:45: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'), 46941, 'SRID=4674;POINT (-40.05053 -2.805351)', '2026-06-26 09:45:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050575 -2.805379)'), GeomFromEWKT('SRID=4674;POINT (-40.05053 -2.805351)'))) / (select extract(epoch from '2026-06-26 09:45:59'::timestamp) - extract(epoch from '2026-06-26 09:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050575 -2.805379)'), GeomFromEWKT('SRID=4674;POINT (-40.05053 -2.805351)'))) / (select extract(epoch from '2026-06-26 09:45:59'::timestamp) - extract(epoch from '2026-06-26 09:45:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050437 -2.805374)', '2026-06-26 09:46:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05053 -2.805351)'), GeomFromEWKT('SRID=4674;POINT (-40.050437 -2.805374)'))) / (select extract(epoch from '2026-06-26 09:46:07'::timestamp) - extract(epoch from '2026-06-26 09:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05053 -2.805351)'), GeomFromEWKT('SRID=4674;POINT (-40.050437 -2.805374)'))) / (select extract(epoch from '2026-06-26 09:46:07'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050343 -2.805376)', '2026-06-26 09:46:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050437 -2.805374)'), GeomFromEWKT('SRID=4674;POINT (-40.050343 -2.805376)'))) / (select extract(epoch from '2026-06-26 09:46:15'::timestamp) - extract(epoch from '2026-06-26 09:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050437 -2.805374)'), GeomFromEWKT('SRID=4674;POINT (-40.050343 -2.805376)'))) / (select extract(epoch from '2026-06-26 09:46:15'::timestamp) - extract(epoch from '2026-06-26 09:46:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050285 -2.80535)', '2026-06-26 09:46:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050343 -2.805376)'), GeomFromEWKT('SRID=4674;POINT (-40.050285 -2.80535)'))) / (select extract(epoch from '2026-06-26 09:46:22'::timestamp) - extract(epoch from '2026-06-26 09:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050343 -2.805376)'), GeomFromEWKT('SRID=4674;POINT (-40.050285 -2.80535)'))) / (select extract(epoch from '2026-06-26 09:46:22'::timestamp) - extract(epoch from '2026-06-26 09:46: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'), 46941, 'SRID=4674;POINT (-40.050282 -2.80532)', '2026-06-26 09:46:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050285 -2.80535)'), GeomFromEWKT('SRID=4674;POINT (-40.050282 -2.80532)'))) / (select extract(epoch from '2026-06-26 09:46:32'::timestamp) - extract(epoch from '2026-06-26 09:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050285 -2.80535)'), GeomFromEWKT('SRID=4674;POINT (-40.050282 -2.80532)'))) / (select extract(epoch from '2026-06-26 09:46:32'::timestamp) - extract(epoch from '2026-06-26 09:46: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'), 46941, 'SRID=4674;POINT (-40.050339 -2.805315)', '2026-06-26 09:46:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050282 -2.80532)'), GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.805315)'))) / (select extract(epoch from '2026-06-26 09:46:44'::timestamp) - extract(epoch from '2026-06-26 09:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050282 -2.80532)'), GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.805315)'))) / (select extract(epoch from '2026-06-26 09:46:44'::timestamp) - extract(epoch from '2026-06-26 09:46: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'), 46941, 'SRID=4674;POINT (-40.0504 -2.805315)', '2026-06-26 09:46:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.805315)'), GeomFromEWKT('SRID=4674;POINT (-40.0504 -2.805315)'))) / (select extract(epoch from '2026-06-26 09:46:57'::timestamp) - extract(epoch from '2026-06-26 09:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.805315)'), GeomFromEWKT('SRID=4674;POINT (-40.0504 -2.805315)'))) / (select extract(epoch from '2026-06-26 09:46:57'::timestamp) - extract(epoch from '2026-06-26 09:46:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050479 -2.805292)', '2026-06-26 09:47:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0504 -2.805315)'), GeomFromEWKT('SRID=4674;POINT (-40.050479 -2.805292)'))) / (select extract(epoch from '2026-06-26 09:47:27'::timestamp) - extract(epoch from '2026-06-26 09:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0504 -2.805315)'), GeomFromEWKT('SRID=4674;POINT (-40.050479 -2.805292)'))) / (select extract(epoch from '2026-06-26 09:47:27'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050486 -2.805315)', '2026-06-26 09:47:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050479 -2.805292)'), GeomFromEWKT('SRID=4674;POINT (-40.050486 -2.805315)'))) / (select extract(epoch from '2026-06-26 09:47:46'::timestamp) - extract(epoch from '2026-06-26 09:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050479 -2.805292)'), GeomFromEWKT('SRID=4674;POINT (-40.050486 -2.805315)'))) / (select extract(epoch from '2026-06-26 09:47:46'::timestamp) - extract(epoch from '2026-06-26 09:47: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'), 46941, 'SRID=4674;POINT (-40.050493 -2.805333)', '2026-06-26 09:48:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050486 -2.805315)'), GeomFromEWKT('SRID=4674;POINT (-40.050493 -2.805333)'))) / (select extract(epoch from '2026-06-26 09:48:09'::timestamp) - extract(epoch from '2026-06-26 09:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050486 -2.805315)'), GeomFromEWKT('SRID=4674;POINT (-40.050493 -2.805333)'))) / (select extract(epoch from '2026-06-26 09:48:09'::timestamp) - extract(epoch from '2026-06-26 09:47: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'), 46941, 'SRID=4674;POINT (-40.050492 -2.805324)', '2026-06-26 09:48:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050493 -2.805333)'), GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805324)'))) / (select extract(epoch from '2026-06-26 09:48:26'::timestamp) - extract(epoch from '2026-06-26 09:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050493 -2.805333)'), GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805324)'))) / (select extract(epoch from '2026-06-26 09:48:26'::timestamp) - extract(epoch from '2026-06-26 09:48: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'), 46941, 'SRID=4674;POINT (-40.050491 -2.805331)', '2026-06-26 09:49:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805324)'), GeomFromEWKT('SRID=4674;POINT (-40.050491 -2.805331)'))) / (select extract(epoch from '2026-06-26 09:49:05'::timestamp) - extract(epoch from '2026-06-26 09:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805324)'), GeomFromEWKT('SRID=4674;POINT (-40.050491 -2.805331)'))) / (select extract(epoch from '2026-06-26 09:49:05'::timestamp) - extract(epoch from '2026-06-26 09:48: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'), 46941, 'SRID=4674;POINT (-40.050492 -2.805315)', '2026-06-26 09:49:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050491 -2.805331)'), GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805315)'))) / (select extract(epoch from '2026-06-26 09:49:24'::timestamp) - extract(epoch from '2026-06-26 09:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050491 -2.805331)'), GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805315)'))) / (select extract(epoch from '2026-06-26 09:49:24'::timestamp) - extract(epoch from '2026-06-26 09:49: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'), 46941, 'SRID=4674;POINT (-40.050492 -2.805314)', '2026-06-26 09:49:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805315)'), GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805314)'))) / (select extract(epoch from '2026-06-26 09:49:50'::timestamp) - extract(epoch from '2026-06-26 09:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805315)'), GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805314)'))) / (select extract(epoch from '2026-06-26 09:49:50'::timestamp) - extract(epoch from '2026-06-26 09:49:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050492 -2.80533)', '2026-06-26 09:50:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805314)'), GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.80533)'))) / (select extract(epoch from '2026-06-26 09:50:05'::timestamp) - extract(epoch from '2026-06-26 09:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805314)'), GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.80533)'))) / (select extract(epoch from '2026-06-26 09:50:05'::timestamp) - extract(epoch from '2026-06-26 09:49: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'), 46941, 'SRID=4674;POINT (-40.05049 -2.805313)', '2026-06-26 09:50:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.80533)'), GeomFromEWKT('SRID=4674;POINT (-40.05049 -2.805313)'))) / (select extract(epoch from '2026-06-26 09:50:26'::timestamp) - extract(epoch from '2026-06-26 09:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.80533)'), GeomFromEWKT('SRID=4674;POINT (-40.05049 -2.805313)'))) / (select extract(epoch from '2026-06-26 09:50:26'::timestamp) - extract(epoch from '2026-06-26 09:50: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'), 46941, 'SRID=4674;POINT (-40.050487 -2.805315)', '2026-06-26 09:50:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05049 -2.805313)'), GeomFromEWKT('SRID=4674;POINT (-40.050487 -2.805315)'))) / (select extract(epoch from '2026-06-26 09:50:53'::timestamp) - extract(epoch from '2026-06-26 09:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05049 -2.805313)'), GeomFromEWKT('SRID=4674;POINT (-40.050487 -2.805315)'))) / (select extract(epoch from '2026-06-26 09:50:53'::timestamp) - extract(epoch from '2026-06-26 09:50: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'), 46941, 'SRID=4674;POINT (-40.050487 -2.805326)', '2026-06-26 09:51:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050487 -2.805315)'), GeomFromEWKT('SRID=4674;POINT (-40.050487 -2.805326)'))) / (select extract(epoch from '2026-06-26 09:51:06'::timestamp) - extract(epoch from '2026-06-26 09:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050487 -2.805315)'), GeomFromEWKT('SRID=4674;POINT (-40.050487 -2.805326)'))) / (select extract(epoch from '2026-06-26 09:51:06'::timestamp) - extract(epoch from '2026-06-26 09:50:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050493 -2.805336)', '2026-06-26 09:51:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050487 -2.805326)'), GeomFromEWKT('SRID=4674;POINT (-40.050493 -2.805336)'))) / (select extract(epoch from '2026-06-26 09:51:31'::timestamp) - extract(epoch from '2026-06-26 09:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050487 -2.805326)'), GeomFromEWKT('SRID=4674;POINT (-40.050493 -2.805336)'))) / (select extract(epoch from '2026-06-26 09:51:31'::timestamp) - extract(epoch from '2026-06-26 09:51: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'), 46941, 'SRID=4674;POINT (-40.050492 -2.805316)', '2026-06-26 09:51:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050493 -2.805336)'), GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805316)'))) / (select extract(epoch from '2026-06-26 09:51:56'::timestamp) - extract(epoch from '2026-06-26 09:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050493 -2.805336)'), GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805316)'))) / (select extract(epoch from '2026-06-26 09:51:56'::timestamp) - extract(epoch from '2026-06-26 09:51:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050491 -2.805295)', '2026-06-26 09:52:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805316)'), GeomFromEWKT('SRID=4674;POINT (-40.050491 -2.805295)'))) / (select extract(epoch from '2026-06-26 09:52:16'::timestamp) - extract(epoch from '2026-06-26 09:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805316)'), GeomFromEWKT('SRID=4674;POINT (-40.050491 -2.805295)'))) / (select extract(epoch from '2026-06-26 09:52:16'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.05049 -2.805317)', '2026-06-26 09:52:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050491 -2.805295)'), GeomFromEWKT('SRID=4674;POINT (-40.05049 -2.805317)'))) / (select extract(epoch from '2026-06-26 09:52:32'::timestamp) - extract(epoch from '2026-06-26 09:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050491 -2.805295)'), GeomFromEWKT('SRID=4674;POINT (-40.05049 -2.805317)'))) / (select extract(epoch from '2026-06-26 09:52:32'::timestamp) - extract(epoch from '2026-06-26 09:52:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050494 -2.805328)', '2026-06-26 09:52:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05049 -2.805317)'), GeomFromEWKT('SRID=4674;POINT (-40.050494 -2.805328)'))) / (select extract(epoch from '2026-06-26 09:52:58'::timestamp) - extract(epoch from '2026-06-26 09:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05049 -2.805317)'), GeomFromEWKT('SRID=4674;POINT (-40.050494 -2.805328)'))) / (select extract(epoch from '2026-06-26 09:52:58'::timestamp) - extract(epoch from '2026-06-26 09:52:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050489 -2.80531)', '2026-06-26 09:53:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050494 -2.805328)'), GeomFromEWKT('SRID=4674;POINT (-40.050489 -2.80531)'))) / (select extract(epoch from '2026-06-26 09:53:24'::timestamp) - extract(epoch from '2026-06-26 09:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050494 -2.805328)'), GeomFromEWKT('SRID=4674;POINT (-40.050489 -2.80531)'))) / (select extract(epoch from '2026-06-26 09:53:24'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050492 -2.805324)', '2026-06-26 09:53:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050489 -2.80531)'), GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805324)'))) / (select extract(epoch from '2026-06-26 09:53:53'::timestamp) - extract(epoch from '2026-06-26 09:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050489 -2.80531)'), GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805324)'))) / (select extract(epoch from '2026-06-26 09:53:53'::timestamp) - extract(epoch from '2026-06-26 09:53:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050496 -2.80532)', '2026-06-26 09:54:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805324)'), GeomFromEWKT('SRID=4674;POINT (-40.050496 -2.80532)'))) / (select extract(epoch from '2026-06-26 09:54:13'::timestamp) - extract(epoch from '2026-06-26 09:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.805324)'), GeomFromEWKT('SRID=4674;POINT (-40.050496 -2.80532)'))) / (select extract(epoch from '2026-06-26 09:54:13'::timestamp) - extract(epoch from '2026-06-26 09:53:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050497 -2.805307)', '2026-06-26 09:54:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050496 -2.80532)'), GeomFromEWKT('SRID=4674;POINT (-40.050497 -2.805307)'))) / (select extract(epoch from '2026-06-26 09:54:31'::timestamp) - extract(epoch from '2026-06-26 09:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050496 -2.80532)'), GeomFromEWKT('SRID=4674;POINT (-40.050497 -2.805307)'))) / (select extract(epoch from '2026-06-26 09:54:31'::timestamp) - extract(epoch from '2026-06-26 09:54:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050463 -2.805341)', '2026-06-26 09:54:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050497 -2.805307)'), GeomFromEWKT('SRID=4674;POINT (-40.050463 -2.805341)'))) / (select extract(epoch from '2026-06-26 09:54:51'::timestamp) - extract(epoch from '2026-06-26 09:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050497 -2.805307)'), GeomFromEWKT('SRID=4674;POINT (-40.050463 -2.805341)'))) / (select extract(epoch from '2026-06-26 09:54:51'::timestamp) - extract(epoch from '2026-06-26 09:54:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05036 -2.805326)', '2026-06-26 09:55:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050463 -2.805341)'), GeomFromEWKT('SRID=4674;POINT (-40.05036 -2.805326)'))) / (select extract(epoch from '2026-06-26 09:55:08'::timestamp) - extract(epoch from '2026-06-26 09:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050463 -2.805341)'), GeomFromEWKT('SRID=4674;POINT (-40.05036 -2.805326)'))) / (select extract(epoch from '2026-06-26 09:55:08'::timestamp) - extract(epoch from '2026-06-26 09:54:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050263 -2.805331)', '2026-06-26 09:55:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05036 -2.805326)'), GeomFromEWKT('SRID=4674;POINT (-40.050263 -2.805331)'))) / (select extract(epoch from '2026-06-26 09:55:21'::timestamp) - extract(epoch from '2026-06-26 09:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05036 -2.805326)'), GeomFromEWKT('SRID=4674;POINT (-40.050263 -2.805331)'))) / (select extract(epoch from '2026-06-26 09:55:21'::timestamp) - extract(epoch from '2026-06-26 09:55: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'), 46941, 'SRID=4674;POINT (-40.05019 -2.805334)', '2026-06-26 09:55:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050263 -2.805331)'), GeomFromEWKT('SRID=4674;POINT (-40.05019 -2.805334)'))) / (select extract(epoch from '2026-06-26 09:55:33'::timestamp) - extract(epoch from '2026-06-26 09:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050263 -2.805331)'), GeomFromEWKT('SRID=4674;POINT (-40.05019 -2.805334)'))) / (select extract(epoch from '2026-06-26 09:55:33'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050155 -2.805397)', '2026-06-26 09:55:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05019 -2.805334)'), GeomFromEWKT('SRID=4674;POINT (-40.050155 -2.805397)'))) / (select extract(epoch from '2026-06-26 09:55:43'::timestamp) - extract(epoch from '2026-06-26 09:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05019 -2.805334)'), GeomFromEWKT('SRID=4674;POINT (-40.050155 -2.805397)'))) / (select extract(epoch from '2026-06-26 09:55:43'::timestamp) - extract(epoch from '2026-06-26 09:55:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050156 -2.805435)', '2026-06-26 09:55:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050155 -2.805397)'), GeomFromEWKT('SRID=4674;POINT (-40.050156 -2.805435)'))) / (select extract(epoch from '2026-06-26 09:55:47'::timestamp) - extract(epoch from '2026-06-26 09:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050155 -2.805397)'), GeomFromEWKT('SRID=4674;POINT (-40.050156 -2.805435)'))) / (select extract(epoch from '2026-06-26 09:55:47'::timestamp) - extract(epoch from '2026-06-26 09:55: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'), 46941, 'SRID=4674;POINT (-40.050178 -2.805475)', '2026-06-26 09:55:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050156 -2.805435)'), GeomFromEWKT('SRID=4674;POINT (-40.050178 -2.805475)'))) / (select extract(epoch from '2026-06-26 09:55:51'::timestamp) - extract(epoch from '2026-06-26 09:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050156 -2.805435)'), GeomFromEWKT('SRID=4674;POINT (-40.050178 -2.805475)'))) / (select extract(epoch from '2026-06-26 09:55:51'::timestamp) - extract(epoch from '2026-06-26 09:55: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'), 46941, 'SRID=4674;POINT (-40.050187 -2.805484)', '2026-06-26 09:55:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050178 -2.805475)'), GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.805484)'))) / (select extract(epoch from '2026-06-26 09:55:52'::timestamp) - extract(epoch from '2026-06-26 09:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050178 -2.805475)'), GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.805484)'))) / (select extract(epoch from '2026-06-26 09:55:52'::timestamp) - extract(epoch from '2026-06-26 09:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050237 -2.805535)', '2026-06-26 09:55:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.805484)'), GeomFromEWKT('SRID=4674;POINT (-40.050237 -2.805535)'))) / (select extract(epoch from '2026-06-26 09:55:57'::timestamp) - extract(epoch from '2026-06-26 09:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.805484)'), GeomFromEWKT('SRID=4674;POINT (-40.050237 -2.805535)'))) / (select extract(epoch from '2026-06-26 09:55:57'::timestamp) - extract(epoch from '2026-06-26 09:55: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'), 46941, 'SRID=4674;POINT (-40.050277 -2.805639)', '2026-06-26 09:56:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050237 -2.805535)'), GeomFromEWKT('SRID=4674;POINT (-40.050277 -2.805639)'))) / (select extract(epoch from '2026-06-26 09:56:04'::timestamp) - extract(epoch from '2026-06-26 09:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050237 -2.805535)'), GeomFromEWKT('SRID=4674;POINT (-40.050277 -2.805639)'))) / (select extract(epoch from '2026-06-26 09:56:04'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050281 -2.80575)', '2026-06-26 09:56:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050277 -2.805639)'), GeomFromEWKT('SRID=4674;POINT (-40.050281 -2.80575)'))) / (select extract(epoch from '2026-06-26 09:56:11'::timestamp) - extract(epoch from '2026-06-26 09:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050277 -2.805639)'), GeomFromEWKT('SRID=4674;POINT (-40.050281 -2.80575)'))) / (select extract(epoch from '2026-06-26 09:56:11'::timestamp) - extract(epoch from '2026-06-26 09:56: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'), 46941, 'SRID=4674;POINT (-40.050281 -2.805846)', '2026-06-26 09:56:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050281 -2.80575)'), GeomFromEWKT('SRID=4674;POINT (-40.050281 -2.805846)'))) / (select extract(epoch from '2026-06-26 09:56:17'::timestamp) - extract(epoch from '2026-06-26 09:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050281 -2.80575)'), GeomFromEWKT('SRID=4674;POINT (-40.050281 -2.805846)'))) / (select extract(epoch from '2026-06-26 09:56:17'::timestamp) - extract(epoch from '2026-06-26 09:56:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050267 -2.805967)', '2026-06-26 09:56:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050281 -2.805846)'), GeomFromEWKT('SRID=4674;POINT (-40.050267 -2.805967)'))) / (select extract(epoch from '2026-06-26 09:56:24'::timestamp) - extract(epoch from '2026-06-26 09:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050281 -2.805846)'), GeomFromEWKT('SRID=4674;POINT (-40.050267 -2.805967)'))) / (select extract(epoch from '2026-06-26 09:56:24'::timestamp) - extract(epoch from '2026-06-26 09:56:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05025 -2.80608)', '2026-06-26 09:56:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050267 -2.805967)'), GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.80608)'))) / (select extract(epoch from '2026-06-26 09:56:31'::timestamp) - extract(epoch from '2026-06-26 09:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050267 -2.805967)'), GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.80608)'))) / (select extract(epoch from '2026-06-26 09:56:31'::timestamp) - extract(epoch from '2026-06-26 09:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050239 -2.806118)', '2026-06-26 09:56:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.80608)'), GeomFromEWKT('SRID=4674;POINT (-40.050239 -2.806118)'))) / (select extract(epoch from '2026-06-26 09:56:34'::timestamp) - extract(epoch from '2026-06-26 09:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.80608)'), GeomFromEWKT('SRID=4674;POINT (-40.050239 -2.806118)'))) / (select extract(epoch from '2026-06-26 09:56:34'::timestamp) - extract(epoch from '2026-06-26 09:56:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050225 -2.806152)', '2026-06-26 09:56:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050239 -2.806118)'), GeomFromEWKT('SRID=4674;POINT (-40.050225 -2.806152)'))) / (select extract(epoch from '2026-06-26 09:56:37'::timestamp) - extract(epoch from '2026-06-26 09:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050239 -2.806118)'), GeomFromEWKT('SRID=4674;POINT (-40.050225 -2.806152)'))) / (select extract(epoch from '2026-06-26 09:56:37'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050222 -2.806164)', '2026-06-26 09:56:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050225 -2.806152)'), GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.806164)'))) / (select extract(epoch from '2026-06-26 09:56:38'::timestamp) - extract(epoch from '2026-06-26 09:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050225 -2.806152)'), GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.806164)'))) / (select extract(epoch from '2026-06-26 09:56:38'::timestamp) - extract(epoch from '2026-06-26 09:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05022 -2.806188)', '2026-06-26 09:56:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.806164)'), GeomFromEWKT('SRID=4674;POINT (-40.05022 -2.806188)'))) / (select extract(epoch from '2026-06-26 09:56:40'::timestamp) - extract(epoch from '2026-06-26 09:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.806164)'), GeomFromEWKT('SRID=4674;POINT (-40.05022 -2.806188)'))) / (select extract(epoch from '2026-06-26 09:56:40'::timestamp) - extract(epoch from '2026-06-26 09:56:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050218 -2.806213)', '2026-06-26 09:56:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05022 -2.806188)'), GeomFromEWKT('SRID=4674;POINT (-40.050218 -2.806213)'))) / (select extract(epoch from '2026-06-26 09:56:42'::timestamp) - extract(epoch from '2026-06-26 09:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05022 -2.806188)'), GeomFromEWKT('SRID=4674;POINT (-40.050218 -2.806213)'))) / (select extract(epoch from '2026-06-26 09:56:42'::timestamp) - extract(epoch from '2026-06-26 09:56: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'), 46941, 'SRID=4674;POINT (-40.050219 -2.806239)', '2026-06-26 09:56:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050218 -2.806213)'), GeomFromEWKT('SRID=4674;POINT (-40.050219 -2.806239)'))) / (select extract(epoch from '2026-06-26 09:56:44'::timestamp) - extract(epoch from '2026-06-26 09:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050218 -2.806213)'), GeomFromEWKT('SRID=4674;POINT (-40.050219 -2.806239)'))) / (select extract(epoch from '2026-06-26 09:56:44'::timestamp) - extract(epoch from '2026-06-26 09:56: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'), 46941, 'SRID=4674;POINT (-40.050223 -2.806281)', '2026-06-26 09:56:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050219 -2.806239)'), GeomFromEWKT('SRID=4674;POINT (-40.050223 -2.806281)'))) / (select extract(epoch from '2026-06-26 09:56:47'::timestamp) - extract(epoch from '2026-06-26 09:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050219 -2.806239)'), GeomFromEWKT('SRID=4674;POINT (-40.050223 -2.806281)'))) / (select extract(epoch from '2026-06-26 09:56:47'::timestamp) - extract(epoch from '2026-06-26 09:56: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'), 46941, 'SRID=4674;POINT (-40.050222 -2.806364)', '2026-06-26 09:56:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050223 -2.806281)'), GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.806364)'))) / (select extract(epoch from '2026-06-26 09:56:53'::timestamp) - extract(epoch from '2026-06-26 09:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050223 -2.806281)'), GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.806364)'))) / (select extract(epoch from '2026-06-26 09:56:53'::timestamp) - extract(epoch from '2026-06-26 09:56:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050223 -2.806438)', '2026-06-26 09:57:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.806364)'), GeomFromEWKT('SRID=4674;POINT (-40.050223 -2.806438)'))) / (select extract(epoch from '2026-06-26 09:57:00'::timestamp) - extract(epoch from '2026-06-26 09:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.806364)'), GeomFromEWKT('SRID=4674;POINT (-40.050223 -2.806438)'))) / (select extract(epoch from '2026-06-26 09:57:00'::timestamp) - extract(epoch from '2026-06-26 09:56: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'), 46941, 'SRID=4674;POINT (-40.050223 -2.80647)', '2026-06-26 09:57:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050223 -2.806438)'), GeomFromEWKT('SRID=4674;POINT (-40.050223 -2.80647)'))) / (select extract(epoch from '2026-06-26 09:57:04'::timestamp) - extract(epoch from '2026-06-26 09:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050223 -2.806438)'), GeomFromEWKT('SRID=4674;POINT (-40.050223 -2.80647)'))) / (select extract(epoch from '2026-06-26 09:57:04'::timestamp) - extract(epoch from '2026-06-26 09:57:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050226 -2.806483)', '2026-06-26 09:57:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050223 -2.80647)'), GeomFromEWKT('SRID=4674;POINT (-40.050226 -2.806483)'))) / (select extract(epoch from '2026-06-26 09:57:06'::timestamp) - extract(epoch from '2026-06-26 09:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050223 -2.80647)'), GeomFromEWKT('SRID=4674;POINT (-40.050226 -2.806483)'))) / (select extract(epoch from '2026-06-26 09:57:06'::timestamp) - extract(epoch from '2026-06-26 09:57: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'), 46941, 'SRID=4674;POINT (-40.050229 -2.80652)', '2026-06-26 09:57:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050226 -2.806483)'), GeomFromEWKT('SRID=4674;POINT (-40.050229 -2.80652)'))) / (select extract(epoch from '2026-06-26 09:57:13'::timestamp) - extract(epoch from '2026-06-26 09:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050226 -2.806483)'), GeomFromEWKT('SRID=4674;POINT (-40.050229 -2.80652)'))) / (select extract(epoch from '2026-06-26 09:57:13'::timestamp) - extract(epoch from '2026-06-26 09:57:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050244 -2.806557)', '2026-06-26 09:57:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050229 -2.80652)'), GeomFromEWKT('SRID=4674;POINT (-40.050244 -2.806557)'))) / (select extract(epoch from '2026-06-26 09:57:20'::timestamp) - extract(epoch from '2026-06-26 09:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050229 -2.80652)'), GeomFromEWKT('SRID=4674;POINT (-40.050244 -2.806557)'))) / (select extract(epoch from '2026-06-26 09:57:20'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050249 -2.806617)', '2026-06-26 09:57:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050244 -2.806557)'), GeomFromEWKT('SRID=4674;POINT (-40.050249 -2.806617)'))) / (select extract(epoch from '2026-06-26 09:57:27'::timestamp) - extract(epoch from '2026-06-26 09:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050244 -2.806557)'), GeomFromEWKT('SRID=4674;POINT (-40.050249 -2.806617)'))) / (select extract(epoch from '2026-06-26 09:57:27'::timestamp) - extract(epoch from '2026-06-26 09:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050232 -2.806647)', '2026-06-26 09:57:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050249 -2.806617)'), GeomFromEWKT('SRID=4674;POINT (-40.050232 -2.806647)'))) / (select extract(epoch from '2026-06-26 09:57:31'::timestamp) - extract(epoch from '2026-06-26 09:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050249 -2.806617)'), GeomFromEWKT('SRID=4674;POINT (-40.050232 -2.806647)'))) / (select extract(epoch from '2026-06-26 09:57:31'::timestamp) - extract(epoch from '2026-06-26 09:57: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'), 46941, 'SRID=4674;POINT (-40.050215 -2.806656)', '2026-06-26 09:57:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050232 -2.806647)'), GeomFromEWKT('SRID=4674;POINT (-40.050215 -2.806656)'))) / (select extract(epoch from '2026-06-26 09:57:34'::timestamp) - extract(epoch from '2026-06-26 09:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050232 -2.806647)'), GeomFromEWKT('SRID=4674;POINT (-40.050215 -2.806656)'))) / (select extract(epoch from '2026-06-26 09:57:34'::timestamp) - extract(epoch from '2026-06-26 09:57: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'), 46941, 'SRID=4674;POINT (-40.050146 -2.806637)', '2026-06-26 09:57:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050215 -2.806656)'), GeomFromEWKT('SRID=4674;POINT (-40.050146 -2.806637)'))) / (select extract(epoch from '2026-06-26 09:57:44'::timestamp) - extract(epoch from '2026-06-26 09:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050215 -2.806656)'), GeomFromEWKT('SRID=4674;POINT (-40.050146 -2.806637)'))) / (select extract(epoch from '2026-06-26 09:57:44'::timestamp) - extract(epoch from '2026-06-26 09:57:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05005 -2.806582)', '2026-06-26 09:57:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050146 -2.806637)'), GeomFromEWKT('SRID=4674;POINT (-40.05005 -2.806582)'))) / (select extract(epoch from '2026-06-26 09:57:53'::timestamp) - extract(epoch from '2026-06-26 09:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050146 -2.806637)'), GeomFromEWKT('SRID=4674;POINT (-40.05005 -2.806582)'))) / (select extract(epoch from '2026-06-26 09:57:53'::timestamp) - extract(epoch from '2026-06-26 09:57:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049992 -2.806532)', '2026-06-26 09:58:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05005 -2.806582)'), GeomFromEWKT('SRID=4674;POINT (-40.049992 -2.806532)'))) / (select extract(epoch from '2026-06-26 09:58:00'::timestamp) - extract(epoch from '2026-06-26 09:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05005 -2.806582)'), GeomFromEWKT('SRID=4674;POINT (-40.049992 -2.806532)'))) / (select extract(epoch from '2026-06-26 09:58:00'::timestamp) - extract(epoch from '2026-06-26 09:57:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049957 -2.80647)', '2026-06-26 09:58:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049992 -2.806532)'), GeomFromEWKT('SRID=4674;POINT (-40.049957 -2.80647)'))) / (select extract(epoch from '2026-06-26 09:58:09'::timestamp) - extract(epoch from '2026-06-26 09:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049992 -2.806532)'), GeomFromEWKT('SRID=4674;POINT (-40.049957 -2.80647)'))) / (select extract(epoch from '2026-06-26 09:58:09'::timestamp) - extract(epoch from '2026-06-26 09:58: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'), 46941, 'SRID=4674;POINT (-40.04995 -2.806426)', '2026-06-26 09:58:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049957 -2.80647)'), GeomFromEWKT('SRID=4674;POINT (-40.04995 -2.806426)'))) / (select extract(epoch from '2026-06-26 09:58:18'::timestamp) - extract(epoch from '2026-06-26 09:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049957 -2.80647)'), GeomFromEWKT('SRID=4674;POINT (-40.04995 -2.806426)'))) / (select extract(epoch from '2026-06-26 09:58:18'::timestamp) - extract(epoch from '2026-06-26 09:58: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'), 46941, 'SRID=4674;POINT (-40.04998 -2.806392)', '2026-06-26 09:58:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04995 -2.806426)'), GeomFromEWKT('SRID=4674;POINT (-40.04998 -2.806392)'))) / (select extract(epoch from '2026-06-26 09:58:27'::timestamp) - extract(epoch from '2026-06-26 09:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04995 -2.806426)'), GeomFromEWKT('SRID=4674;POINT (-40.04998 -2.806392)'))) / (select extract(epoch from '2026-06-26 09:58:27'::timestamp) - extract(epoch from '2026-06-26 09:58:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05001 -2.806382)', '2026-06-26 09:58:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04998 -2.806392)'), GeomFromEWKT('SRID=4674;POINT (-40.05001 -2.806382)'))) / (select extract(epoch from '2026-06-26 09:58:34'::timestamp) - extract(epoch from '2026-06-26 09:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04998 -2.806392)'), GeomFromEWKT('SRID=4674;POINT (-40.05001 -2.806382)'))) / (select extract(epoch from '2026-06-26 09:58:34'::timestamp) - extract(epoch from '2026-06-26 09:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050045 -2.806377)', '2026-06-26 09:58:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05001 -2.806382)'), GeomFromEWKT('SRID=4674;POINT (-40.050045 -2.806377)'))) / (select extract(epoch from '2026-06-26 09:58:41'::timestamp) - extract(epoch from '2026-06-26 09:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05001 -2.806382)'), GeomFromEWKT('SRID=4674;POINT (-40.050045 -2.806377)'))) / (select extract(epoch from '2026-06-26 09:58:41'::timestamp) - extract(epoch from '2026-06-26 09:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05011 -2.806372)', '2026-06-26 09:58:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050045 -2.806377)'), GeomFromEWKT('SRID=4674;POINT (-40.05011 -2.806372)'))) / (select extract(epoch from '2026-06-26 09:58:55'::timestamp) - extract(epoch from '2026-06-26 09:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050045 -2.806377)'), GeomFromEWKT('SRID=4674;POINT (-40.05011 -2.806372)'))) / (select extract(epoch from '2026-06-26 09:58:55'::timestamp) - extract(epoch from '2026-06-26 09:58: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'), 46941, 'SRID=4674;POINT (-40.050167 -2.806366)', '2026-06-26 09:59:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05011 -2.806372)'), GeomFromEWKT('SRID=4674;POINT (-40.050167 -2.806366)'))) / (select extract(epoch from '2026-06-26 09:59:09'::timestamp) - extract(epoch from '2026-06-26 09:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05011 -2.806372)'), GeomFromEWKT('SRID=4674;POINT (-40.050167 -2.806366)'))) / (select extract(epoch from '2026-06-26 09:59:09'::timestamp) - extract(epoch from '2026-06-26 09:58: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'), 46941, 'SRID=4674;POINT (-40.05017 -2.806361)', '2026-06-26 09:59:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050167 -2.806366)'), GeomFromEWKT('SRID=4674;POINT (-40.05017 -2.806361)'))) / (select extract(epoch from '2026-06-26 09:59:19'::timestamp) - extract(epoch from '2026-06-26 09:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050167 -2.806366)'), GeomFromEWKT('SRID=4674;POINT (-40.05017 -2.806361)'))) / (select extract(epoch from '2026-06-26 09:59:19'::timestamp) - extract(epoch from '2026-06-26 09:59:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050168 -2.806375)', '2026-06-26 09:59:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05017 -2.806361)'), GeomFromEWKT('SRID=4674;POINT (-40.050168 -2.806375)'))) / (select extract(epoch from '2026-06-26 09:59:27'::timestamp) - extract(epoch from '2026-06-26 09:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05017 -2.806361)'), GeomFromEWKT('SRID=4674;POINT (-40.050168 -2.806375)'))) / (select extract(epoch from '2026-06-26 09:59:27'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050174 -2.80639)', '2026-06-26 09:59:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050168 -2.806375)'), GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.80639)'))) / (select extract(epoch from '2026-06-26 09:59:46'::timestamp) - extract(epoch from '2026-06-26 09:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050168 -2.806375)'), GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.80639)'))) / (select extract(epoch from '2026-06-26 09:59:46'::timestamp) - extract(epoch from '2026-06-26 09:59:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050171 -2.806373)', '2026-06-26 10:00:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.80639)'), GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.806373)'))) / (select extract(epoch from '2026-06-26 10:00:06'::timestamp) - extract(epoch from '2026-06-26 09:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.80639)'), GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.806373)'))) / (select extract(epoch from '2026-06-26 10:00:06'::timestamp) - extract(epoch from '2026-06-26 09:59: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'), 46941, 'SRID=4674;POINT (-40.050174 -2.806395)', '2026-06-26 10:00:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.806373)'), GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.806395)'))) / (select extract(epoch from '2026-06-26 10:00:21'::timestamp) - extract(epoch from '2026-06-26 10:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.806373)'), GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.806395)'))) / (select extract(epoch from '2026-06-26 10:00:21'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.050181 -2.806405)', '2026-06-26 10:00:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.806395)'), GeomFromEWKT('SRID=4674;POINT (-40.050181 -2.806405)'))) / (select extract(epoch from '2026-06-26 10:00:54'::timestamp) - extract(epoch from '2026-06-26 10:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050174 -2.806395)'), GeomFromEWKT('SRID=4674;POINT (-40.050181 -2.806405)'))) / (select extract(epoch from '2026-06-26 10:00:54'::timestamp) - extract(epoch from '2026-06-26 10:00: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'), 46941, 'SRID=4674;POINT (-40.050181 -2.806424)', '2026-06-26 10:01:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050181 -2.806405)'), GeomFromEWKT('SRID=4674;POINT (-40.050181 -2.806424)'))) / (select extract(epoch from '2026-06-26 10:01:29'::timestamp) - extract(epoch from '2026-06-26 10:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050181 -2.806405)'), GeomFromEWKT('SRID=4674;POINT (-40.050181 -2.806424)'))) / (select extract(epoch from '2026-06-26 10:01:29'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.050181 -2.806435)', '2026-06-26 10:01:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050181 -2.806424)'), GeomFromEWKT('SRID=4674;POINT (-40.050181 -2.806435)'))) / (select extract(epoch from '2026-06-26 10:01:39'::timestamp) - extract(epoch from '2026-06-26 10:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050181 -2.806424)'), GeomFromEWKT('SRID=4674;POINT (-40.050181 -2.806435)'))) / (select extract(epoch from '2026-06-26 10:01:39'::timestamp) - extract(epoch from '2026-06-26 10:01:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050184 -2.806436)', '2026-06-26 10:01:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050181 -2.806435)'), GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.806436)'))) / (select extract(epoch from '2026-06-26 10:01:52'::timestamp) - extract(epoch from '2026-06-26 10:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050181 -2.806435)'), GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.806436)'))) / (select extract(epoch from '2026-06-26 10:01:52'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.05018 -2.806439)', '2026-06-26 10:02:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.806436)'), GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.806439)'))) / (select extract(epoch from '2026-06-26 10:02:09'::timestamp) - extract(epoch from '2026-06-26 10:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.806436)'), GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.806439)'))) / (select extract(epoch from '2026-06-26 10:02:09'::timestamp) - extract(epoch from '2026-06-26 10:01:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050176 -2.806451)', '2026-06-26 10:02:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.806439)'), GeomFromEWKT('SRID=4674;POINT (-40.050176 -2.806451)'))) / (select extract(epoch from '2026-06-26 10:02:25'::timestamp) - extract(epoch from '2026-06-26 10:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.806439)'), GeomFromEWKT('SRID=4674;POINT (-40.050176 -2.806451)'))) / (select extract(epoch from '2026-06-26 10:02:25'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.050177 -2.806445)', '2026-06-26 10:02:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050176 -2.806451)'), GeomFromEWKT('SRID=4674;POINT (-40.050177 -2.806445)'))) / (select extract(epoch from '2026-06-26 10:02:47'::timestamp) - extract(epoch from '2026-06-26 10:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050176 -2.806451)'), GeomFromEWKT('SRID=4674;POINT (-40.050177 -2.806445)'))) / (select extract(epoch from '2026-06-26 10:02:47'::timestamp) - extract(epoch from '2026-06-26 10:02:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050187 -2.806407)', '2026-06-26 10:03:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050177 -2.806445)'), GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.806407)'))) / (select extract(epoch from '2026-06-26 10:03:11'::timestamp) - extract(epoch from '2026-06-26 10:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050177 -2.806445)'), GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.806407)'))) / (select extract(epoch from '2026-06-26 10:03:11'::timestamp) - extract(epoch from '2026-06-26 10:02:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050179 -2.806396)', '2026-06-26 10:03:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.806407)'), GeomFromEWKT('SRID=4674;POINT (-40.050179 -2.806396)'))) / (select extract(epoch from '2026-06-26 10:03:36'::timestamp) - extract(epoch from '2026-06-26 10:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.806407)'), GeomFromEWKT('SRID=4674;POINT (-40.050179 -2.806396)'))) / (select extract(epoch from '2026-06-26 10:03:36'::timestamp) - extract(epoch from '2026-06-26 10:03: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'), 46941, 'SRID=4674;POINT (-40.050178 -2.806424)', '2026-06-26 10:03:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050179 -2.806396)'), GeomFromEWKT('SRID=4674;POINT (-40.050178 -2.806424)'))) / (select extract(epoch from '2026-06-26 10:03:51'::timestamp) - extract(epoch from '2026-06-26 10:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050179 -2.806396)'), GeomFromEWKT('SRID=4674;POINT (-40.050178 -2.806424)'))) / (select extract(epoch from '2026-06-26 10:03:51'::timestamp) - extract(epoch from '2026-06-26 10:03: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'), 46941, 'SRID=4674;POINT (-40.05018 -2.806436)', '2026-06-26 10:04:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050178 -2.806424)'), GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.806436)'))) / (select extract(epoch from '2026-06-26 10:04:24'::timestamp) - extract(epoch from '2026-06-26 10:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050178 -2.806424)'), GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.806436)'))) / (select extract(epoch from '2026-06-26 10:04:24'::timestamp) - extract(epoch from '2026-06-26 10:03:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050177 -2.806403)', '2026-06-26 10:04:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.806436)'), GeomFromEWKT('SRID=4674;POINT (-40.050177 -2.806403)'))) / (select extract(epoch from '2026-06-26 10:04:58'::timestamp) - extract(epoch from '2026-06-26 10:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.806436)'), GeomFromEWKT('SRID=4674;POINT (-40.050177 -2.806403)'))) / (select extract(epoch from '2026-06-26 10:04:58'::timestamp) - extract(epoch from '2026-06-26 10:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050176 -2.806438)', '2026-06-26 10:05:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050177 -2.806403)'), GeomFromEWKT('SRID=4674;POINT (-40.050176 -2.806438)'))) / (select extract(epoch from '2026-06-26 10:05:34'::timestamp) - extract(epoch from '2026-06-26 10:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050177 -2.806403)'), GeomFromEWKT('SRID=4674;POINT (-40.050176 -2.806438)'))) / (select extract(epoch from '2026-06-26 10:05:34'::timestamp) - extract(epoch from '2026-06-26 10:04:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050179 -2.806415)', '2026-06-26 10:06:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050176 -2.806438)'), GeomFromEWKT('SRID=4674;POINT (-40.050179 -2.806415)'))) / (select extract(epoch from '2026-06-26 10:06:03'::timestamp) - extract(epoch from '2026-06-26 10:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050176 -2.806438)'), GeomFromEWKT('SRID=4674;POINT (-40.050179 -2.806415)'))) / (select extract(epoch from '2026-06-26 10:06:03'::timestamp) - extract(epoch from '2026-06-26 10:05: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'), 46941, 'SRID=4674;POINT (-40.05018 -2.806405)', '2026-06-26 10:06:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050179 -2.806415)'), GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.806405)'))) / (select extract(epoch from '2026-06-26 10:06:13'::timestamp) - extract(epoch from '2026-06-26 10:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050179 -2.806415)'), GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.806405)'))) / (select extract(epoch from '2026-06-26 10:06:13'::timestamp) - extract(epoch from '2026-06-26 10:06: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'), 46941, 'SRID=4674;POINT (-40.050184 -2.806425)', '2026-06-26 10:06:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.806405)'), GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.806425)'))) / (select extract(epoch from '2026-06-26 10:06:38'::timestamp) - extract(epoch from '2026-06-26 10:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.806405)'), GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.806425)'))) / (select extract(epoch from '2026-06-26 10:06:38'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.050185 -2.806439)', '2026-06-26 10:07:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.806425)'), GeomFromEWKT('SRID=4674;POINT (-40.050185 -2.806439)'))) / (select extract(epoch from '2026-06-26 10:07:06'::timestamp) - extract(epoch from '2026-06-26 10:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050184 -2.806425)'), GeomFromEWKT('SRID=4674;POINT (-40.050185 -2.806439)'))) / (select extract(epoch from '2026-06-26 10:07:06'::timestamp) - extract(epoch from '2026-06-26 10:06:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050175 -2.80644)', '2026-06-26 10:07:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050185 -2.806439)'), GeomFromEWKT('SRID=4674;POINT (-40.050175 -2.80644)'))) / (select extract(epoch from '2026-06-26 10:07:50'::timestamp) - extract(epoch from '2026-06-26 10:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050185 -2.806439)'), GeomFromEWKT('SRID=4674;POINT (-40.050175 -2.80644)'))) / (select extract(epoch from '2026-06-26 10:07:50'::timestamp) - extract(epoch from '2026-06-26 10:07:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050116 -2.806437)', '2026-06-26 10:08:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050175 -2.80644)'), GeomFromEWKT('SRID=4674;POINT (-40.050116 -2.806437)'))) / (select extract(epoch from '2026-06-26 10:08:08'::timestamp) - extract(epoch from '2026-06-26 10:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050175 -2.80644)'), GeomFromEWKT('SRID=4674;POINT (-40.050116 -2.806437)'))) / (select extract(epoch from '2026-06-26 10:08:08'::timestamp) - extract(epoch from '2026-06-26 10:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050013 -2.806401)', '2026-06-26 10:08:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050116 -2.806437)'), GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.806401)'))) / (select extract(epoch from '2026-06-26 10:08:21'::timestamp) - extract(epoch from '2026-06-26 10:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050116 -2.806437)'), GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.806401)'))) / (select extract(epoch from '2026-06-26 10:08:21'::timestamp) - extract(epoch from '2026-06-26 10:08: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'), 46941, 'SRID=4674;POINT (-40.04996 -2.80639)', '2026-06-26 10:08:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.806401)'), GeomFromEWKT('SRID=4674;POINT (-40.04996 -2.80639)'))) / (select extract(epoch from '2026-06-26 10:08:30'::timestamp) - extract(epoch from '2026-06-26 10:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.806401)'), GeomFromEWKT('SRID=4674;POINT (-40.04996 -2.80639)'))) / (select extract(epoch from '2026-06-26 10:08:30'::timestamp) - extract(epoch from '2026-06-26 10:08: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'), 46941, 'SRID=4674;POINT (-40.049908 -2.80641)', '2026-06-26 10:08:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04996 -2.80639)'), GeomFromEWKT('SRID=4674;POINT (-40.049908 -2.80641)'))) / (select extract(epoch from '2026-06-26 10:08:44'::timestamp) - extract(epoch from '2026-06-26 10:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04996 -2.80639)'), GeomFromEWKT('SRID=4674;POINT (-40.049908 -2.80641)'))) / (select extract(epoch from '2026-06-26 10:08:44'::timestamp) - extract(epoch from '2026-06-26 10:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049905 -2.806489)', '2026-06-26 10:08:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049908 -2.80641)'), GeomFromEWKT('SRID=4674;POINT (-40.049905 -2.806489)'))) / (select extract(epoch from '2026-06-26 10:08:53'::timestamp) - extract(epoch from '2026-06-26 10:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049908 -2.80641)'), GeomFromEWKT('SRID=4674;POINT (-40.049905 -2.806489)'))) / (select extract(epoch from '2026-06-26 10:08:53'::timestamp) - extract(epoch from '2026-06-26 10:08: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'), 46941, 'SRID=4674;POINT (-40.049938 -2.806588)', '2026-06-26 10:09:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049905 -2.806489)'), GeomFromEWKT('SRID=4674;POINT (-40.049938 -2.806588)'))) / (select extract(epoch from '2026-06-26 10:09:00'::timestamp) - extract(epoch from '2026-06-26 10:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049905 -2.806489)'), GeomFromEWKT('SRID=4674;POINT (-40.049938 -2.806588)'))) / (select extract(epoch from '2026-06-26 10:09:00'::timestamp) - extract(epoch from '2026-06-26 10:08: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'), 46941, 'SRID=4674;POINT (-40.050018 -2.806688)', '2026-06-26 10:09:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049938 -2.806588)'), GeomFromEWKT('SRID=4674;POINT (-40.050018 -2.806688)'))) / (select extract(epoch from '2026-06-26 10:09:08'::timestamp) - extract(epoch from '2026-06-26 10:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049938 -2.806588)'), GeomFromEWKT('SRID=4674;POINT (-40.050018 -2.806688)'))) / (select extract(epoch from '2026-06-26 10:09:08'::timestamp) - extract(epoch from '2026-06-26 10:09: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'), 46941, 'SRID=4674;POINT (-40.050058 -2.806773)', '2026-06-26 10:09:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050018 -2.806688)'), GeomFromEWKT('SRID=4674;POINT (-40.050058 -2.806773)'))) / (select extract(epoch from '2026-06-26 10:09:14'::timestamp) - extract(epoch from '2026-06-26 10:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050018 -2.806688)'), GeomFromEWKT('SRID=4674;POINT (-40.050058 -2.806773)'))) / (select extract(epoch from '2026-06-26 10:09:14'::timestamp) - extract(epoch from '2026-06-26 10:09:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050087 -2.806915)', '2026-06-26 10:09:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050058 -2.806773)'), GeomFromEWKT('SRID=4674;POINT (-40.050087 -2.806915)'))) / (select extract(epoch from '2026-06-26 10:09:22'::timestamp) - extract(epoch from '2026-06-26 10:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050058 -2.806773)'), GeomFromEWKT('SRID=4674;POINT (-40.050087 -2.806915)'))) / (select extract(epoch from '2026-06-26 10:09:22'::timestamp) - extract(epoch from '2026-06-26 10:09:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050152 -2.807045)', '2026-06-26 10:09:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050087 -2.806915)'), GeomFromEWKT('SRID=4674;POINT (-40.050152 -2.807045)'))) / (select extract(epoch from '2026-06-26 10:09:30'::timestamp) - extract(epoch from '2026-06-26 10:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050087 -2.806915)'), GeomFromEWKT('SRID=4674;POINT (-40.050152 -2.807045)'))) / (select extract(epoch from '2026-06-26 10:09:30'::timestamp) - extract(epoch from '2026-06-26 10:09:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050196 -2.807136)', '2026-06-26 10:09:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050152 -2.807045)'), GeomFromEWKT('SRID=4674;POINT (-40.050196 -2.807136)'))) / (select extract(epoch from '2026-06-26 10:09:36'::timestamp) - extract(epoch from '2026-06-26 10:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050152 -2.807045)'), GeomFromEWKT('SRID=4674;POINT (-40.050196 -2.807136)'))) / (select extract(epoch from '2026-06-26 10:09:36'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.050256 -2.807252)', '2026-06-26 10:09:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050196 -2.807136)'), GeomFromEWKT('SRID=4674;POINT (-40.050256 -2.807252)'))) / (select extract(epoch from '2026-06-26 10:09:44'::timestamp) - extract(epoch from '2026-06-26 10:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050196 -2.807136)'), GeomFromEWKT('SRID=4674;POINT (-40.050256 -2.807252)'))) / (select extract(epoch from '2026-06-26 10:09:44'::timestamp) - extract(epoch from '2026-06-26 10:09:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050289 -2.807322)', '2026-06-26 10:09:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050256 -2.807252)'), GeomFromEWKT('SRID=4674;POINT (-40.050289 -2.807322)'))) / (select extract(epoch from '2026-06-26 10:09:49'::timestamp) - extract(epoch from '2026-06-26 10:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050256 -2.807252)'), GeomFromEWKT('SRID=4674;POINT (-40.050289 -2.807322)'))) / (select extract(epoch from '2026-06-26 10:09:49'::timestamp) - extract(epoch from '2026-06-26 10:09: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'), 46941, 'SRID=4674;POINT (-40.050327 -2.807392)', '2026-06-26 10:09:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050289 -2.807322)'), GeomFromEWKT('SRID=4674;POINT (-40.050327 -2.807392)'))) / (select extract(epoch from '2026-06-26 10:09:54'::timestamp) - extract(epoch from '2026-06-26 10:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050289 -2.807322)'), GeomFromEWKT('SRID=4674;POINT (-40.050327 -2.807392)'))) / (select extract(epoch from '2026-06-26 10:09:54'::timestamp) - extract(epoch from '2026-06-26 10:09: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'), 46941, 'SRID=4674;POINT (-40.05036 -2.807497)', '2026-06-26 10:10:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050327 -2.807392)'), GeomFromEWKT('SRID=4674;POINT (-40.05036 -2.807497)'))) / (select extract(epoch from '2026-06-26 10:10:02'::timestamp) - extract(epoch from '2026-06-26 10:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050327 -2.807392)'), GeomFromEWKT('SRID=4674;POINT (-40.05036 -2.807497)'))) / (select extract(epoch from '2026-06-26 10:10:02'::timestamp) - extract(epoch from '2026-06-26 10:09: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'), 46941, 'SRID=4674;POINT (-40.050347 -2.807575)', '2026-06-26 10:10:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05036 -2.807497)'), GeomFromEWKT('SRID=4674;POINT (-40.050347 -2.807575)'))) / (select extract(epoch from '2026-06-26 10:10:10'::timestamp) - extract(epoch from '2026-06-26 10:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05036 -2.807497)'), GeomFromEWKT('SRID=4674;POINT (-40.050347 -2.807575)'))) / (select extract(epoch from '2026-06-26 10:10:10'::timestamp) - extract(epoch from '2026-06-26 10:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050341 -2.807599)', '2026-06-26 10:10:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050347 -2.807575)'), GeomFromEWKT('SRID=4674;POINT (-40.050341 -2.807599)'))) / (select extract(epoch from '2026-06-26 10:10:13'::timestamp) - extract(epoch from '2026-06-26 10:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050347 -2.807575)'), GeomFromEWKT('SRID=4674;POINT (-40.050341 -2.807599)'))) / (select extract(epoch from '2026-06-26 10:10:13'::timestamp) - extract(epoch from '2026-06-26 10:10:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050335 -2.807627)', '2026-06-26 10:10:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050341 -2.807599)'), GeomFromEWKT('SRID=4674;POINT (-40.050335 -2.807627)'))) / (select extract(epoch from '2026-06-26 10:10:16'::timestamp) - extract(epoch from '2026-06-26 10:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050341 -2.807599)'), GeomFromEWKT('SRID=4674;POINT (-40.050335 -2.807627)'))) / (select extract(epoch from '2026-06-26 10:10:16'::timestamp) - extract(epoch from '2026-06-26 10:10:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05034 -2.807695)', '2026-06-26 10:10:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050335 -2.807627)'), GeomFromEWKT('SRID=4674;POINT (-40.05034 -2.807695)'))) / (select extract(epoch from '2026-06-26 10:10:25'::timestamp) - extract(epoch from '2026-06-26 10:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050335 -2.807627)'), GeomFromEWKT('SRID=4674;POINT (-40.05034 -2.807695)'))) / (select extract(epoch from '2026-06-26 10:10:25'::timestamp) - extract(epoch from '2026-06-26 10:10: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'), 46941, 'SRID=4674;POINT (-40.050352 -2.807734)', '2026-06-26 10:10:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05034 -2.807695)'), GeomFromEWKT('SRID=4674;POINT (-40.050352 -2.807734)'))) / (select extract(epoch from '2026-06-26 10:10:33'::timestamp) - extract(epoch from '2026-06-26 10:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05034 -2.807695)'), GeomFromEWKT('SRID=4674;POINT (-40.050352 -2.807734)'))) / (select extract(epoch from '2026-06-26 10:10:33'::timestamp) - extract(epoch from '2026-06-26 10:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050355 -2.807773)', '2026-06-26 10:10:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050352 -2.807734)'), GeomFromEWKT('SRID=4674;POINT (-40.050355 -2.807773)'))) / (select extract(epoch from '2026-06-26 10:10:41'::timestamp) - extract(epoch from '2026-06-26 10:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050352 -2.807734)'), GeomFromEWKT('SRID=4674;POINT (-40.050355 -2.807773)'))) / (select extract(epoch from '2026-06-26 10:10:41'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.050327 -2.807832)', '2026-06-26 10:10:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050355 -2.807773)'), GeomFromEWKT('SRID=4674;POINT (-40.050327 -2.807832)'))) / (select extract(epoch from '2026-06-26 10:10:51'::timestamp) - extract(epoch from '2026-06-26 10:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050355 -2.807773)'), GeomFromEWKT('SRID=4674;POINT (-40.050327 -2.807832)'))) / (select extract(epoch from '2026-06-26 10:10:51'::timestamp) - extract(epoch from '2026-06-26 10:10: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'), 46941, 'SRID=4674;POINT (-40.05025 -2.80782)', '2026-06-26 10:10:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050327 -2.807832)'), GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.80782)'))) / (select extract(epoch from '2026-06-26 10:10:59'::timestamp) - extract(epoch from '2026-06-26 10:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050327 -2.807832)'), GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.80782)'))) / (select extract(epoch from '2026-06-26 10:10:59'::timestamp) - extract(epoch from '2026-06-26 10:10:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050154 -2.807777)', '2026-06-26 10:11:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.80782)'), GeomFromEWKT('SRID=4674;POINT (-40.050154 -2.807777)'))) / (select extract(epoch from '2026-06-26 10:11:07'::timestamp) - extract(epoch from '2026-06-26 10:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.80782)'), GeomFromEWKT('SRID=4674;POINT (-40.050154 -2.807777)'))) / (select extract(epoch from '2026-06-26 10:11:07'::timestamp) - extract(epoch from '2026-06-26 10:10:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050088 -2.807727)', '2026-06-26 10:11:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050154 -2.807777)'), GeomFromEWKT('SRID=4674;POINT (-40.050088 -2.807727)'))) / (select extract(epoch from '2026-06-26 10:11:14'::timestamp) - extract(epoch from '2026-06-26 10:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050154 -2.807777)'), GeomFromEWKT('SRID=4674;POINT (-40.050088 -2.807727)'))) / (select extract(epoch from '2026-06-26 10:11:14'::timestamp) - extract(epoch from '2026-06-26 10:11:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050081 -2.807719)', '2026-06-26 10:11:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050088 -2.807727)'), GeomFromEWKT('SRID=4674;POINT (-40.050081 -2.807719)'))) / (select extract(epoch from '2026-06-26 10:11:15'::timestamp) - extract(epoch from '2026-06-26 10:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050088 -2.807727)'), GeomFromEWKT('SRID=4674;POINT (-40.050081 -2.807719)'))) / (select extract(epoch from '2026-06-26 10:11:15'::timestamp) - extract(epoch from '2026-06-26 10:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050041 -2.807667)', '2026-06-26 10:11:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050081 -2.807719)'), GeomFromEWKT('SRID=4674;POINT (-40.050041 -2.807667)'))) / (select extract(epoch from '2026-06-26 10:11:23'::timestamp) - extract(epoch from '2026-06-26 10:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050081 -2.807719)'), GeomFromEWKT('SRID=4674;POINT (-40.050041 -2.807667)'))) / (select extract(epoch from '2026-06-26 10:11:23'::timestamp) - extract(epoch from '2026-06-26 10:11: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'), 46941, 'SRID=4674;POINT (-40.050031 -2.80763)', '2026-06-26 10:11:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050041 -2.807667)'), GeomFromEWKT('SRID=4674;POINT (-40.050031 -2.80763)'))) / (select extract(epoch from '2026-06-26 10:11:32'::timestamp) - extract(epoch from '2026-06-26 10:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050041 -2.807667)'), GeomFromEWKT('SRID=4674;POINT (-40.050031 -2.80763)'))) / (select extract(epoch from '2026-06-26 10:11:32'::timestamp) - extract(epoch from '2026-06-26 10:11:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05005 -2.807602)', '2026-06-26 10:11:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050031 -2.80763)'), GeomFromEWKT('SRID=4674;POINT (-40.05005 -2.807602)'))) / (select extract(epoch from '2026-06-26 10:11:41'::timestamp) - extract(epoch from '2026-06-26 10:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050031 -2.80763)'), GeomFromEWKT('SRID=4674;POINT (-40.05005 -2.807602)'))) / (select extract(epoch from '2026-06-26 10:11:41'::timestamp) - extract(epoch from '2026-06-26 10:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050094 -2.807592)', '2026-06-26 10:11:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05005 -2.807602)'), GeomFromEWKT('SRID=4674;POINT (-40.050094 -2.807592)'))) / (select extract(epoch from '2026-06-26 10:11:50'::timestamp) - extract(epoch from '2026-06-26 10:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05005 -2.807602)'), GeomFromEWKT('SRID=4674;POINT (-40.050094 -2.807592)'))) / (select extract(epoch from '2026-06-26 10:11:50'::timestamp) - extract(epoch from '2026-06-26 10:11: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'), 46941, 'SRID=4674;POINT (-40.050147 -2.807577)', '2026-06-26 10:12:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050094 -2.807592)'), GeomFromEWKT('SRID=4674;POINT (-40.050147 -2.807577)'))) / (select extract(epoch from '2026-06-26 10:12:00'::timestamp) - extract(epoch from '2026-06-26 10:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050094 -2.807592)'), GeomFromEWKT('SRID=4674;POINT (-40.050147 -2.807577)'))) / (select extract(epoch from '2026-06-26 10:12:00'::timestamp) - extract(epoch from '2026-06-26 10:11: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'), 46941, 'SRID=4674;POINT (-40.050244 -2.80757)', '2026-06-26 10:12:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050147 -2.807577)'), GeomFromEWKT('SRID=4674;POINT (-40.050244 -2.80757)'))) / (select extract(epoch from '2026-06-26 10:12:24'::timestamp) - extract(epoch from '2026-06-26 10:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050147 -2.807577)'), GeomFromEWKT('SRID=4674;POINT (-40.050244 -2.80757)'))) / (select extract(epoch from '2026-06-26 10:12:24'::timestamp) - extract(epoch from '2026-06-26 10:12: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'), 46941, 'SRID=4674;POINT (-40.05026 -2.807611)', '2026-06-26 10:12:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050244 -2.80757)'), GeomFromEWKT('SRID=4674;POINT (-40.05026 -2.807611)'))) / (select extract(epoch from '2026-06-26 10:12:41'::timestamp) - extract(epoch from '2026-06-26 10:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050244 -2.80757)'), GeomFromEWKT('SRID=4674;POINT (-40.05026 -2.807611)'))) / (select extract(epoch from '2026-06-26 10:12:41'::timestamp) - extract(epoch from '2026-06-26 10:12: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'), 46941, 'SRID=4674;POINT (-40.050255 -2.807681)', '2026-06-26 10:13:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05026 -2.807611)'), GeomFromEWKT('SRID=4674;POINT (-40.050255 -2.807681)'))) / (select extract(epoch from '2026-06-26 10:13:01'::timestamp) - extract(epoch from '2026-06-26 10:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05026 -2.807611)'), GeomFromEWKT('SRID=4674;POINT (-40.050255 -2.807681)'))) / (select extract(epoch from '2026-06-26 10:13:01'::timestamp) - extract(epoch from '2026-06-26 10:12: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'), 46941, 'SRID=4674;POINT (-40.050272 -2.807723)', '2026-06-26 10:13:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050255 -2.807681)'), GeomFromEWKT('SRID=4674;POINT (-40.050272 -2.807723)'))) / (select extract(epoch from '2026-06-26 10:13:26'::timestamp) - extract(epoch from '2026-06-26 10:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050255 -2.807681)'), GeomFromEWKT('SRID=4674;POINT (-40.050272 -2.807723)'))) / (select extract(epoch from '2026-06-26 10:13:26'::timestamp) - extract(epoch from '2026-06-26 10:13:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050297 -2.807704)', '2026-06-26 10:13:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050272 -2.807723)'), GeomFromEWKT('SRID=4674;POINT (-40.050297 -2.807704)'))) / (select extract(epoch from '2026-06-26 10:13:52'::timestamp) - extract(epoch from '2026-06-26 10:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050272 -2.807723)'), GeomFromEWKT('SRID=4674;POINT (-40.050297 -2.807704)'))) / (select extract(epoch from '2026-06-26 10:13:52'::timestamp) - extract(epoch from '2026-06-26 10:13:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050299 -2.80767)', '2026-06-26 10:14:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050297 -2.807704)'), GeomFromEWKT('SRID=4674;POINT (-40.050299 -2.80767)'))) / (select extract(epoch from '2026-06-26 10:14:17'::timestamp) - extract(epoch from '2026-06-26 10:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050297 -2.807704)'), GeomFromEWKT('SRID=4674;POINT (-40.050299 -2.80767)'))) / (select extract(epoch from '2026-06-26 10:14:17'::timestamp) - extract(epoch from '2026-06-26 10:13: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'), 46941, 'SRID=4674;POINT (-40.050298 -2.807657)', '2026-06-26 10:14:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050299 -2.80767)'), GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.807657)'))) / (select extract(epoch from '2026-06-26 10:14:52'::timestamp) - extract(epoch from '2026-06-26 10:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050299 -2.80767)'), GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.807657)'))) / (select extract(epoch from '2026-06-26 10:14:52'::timestamp) - extract(epoch from '2026-06-26 10:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050295 -2.807662)', '2026-06-26 10:15:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.807657)'), GeomFromEWKT('SRID=4674;POINT (-40.050295 -2.807662)'))) / (select extract(epoch from '2026-06-26 10:15:29'::timestamp) - extract(epoch from '2026-06-26 10:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.807657)'), GeomFromEWKT('SRID=4674;POINT (-40.050295 -2.807662)'))) / (select extract(epoch from '2026-06-26 10:15:29'::timestamp) - extract(epoch from '2026-06-26 10:14: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'), 46941, 'SRID=4674;POINT (-40.050295 -2.807676)', '2026-06-26 10:15:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050295 -2.807662)'), GeomFromEWKT('SRID=4674;POINT (-40.050295 -2.807676)'))) / (select extract(epoch from '2026-06-26 10:15:39'::timestamp) - extract(epoch from '2026-06-26 10:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050295 -2.807662)'), GeomFromEWKT('SRID=4674;POINT (-40.050295 -2.807676)'))) / (select extract(epoch from '2026-06-26 10:15:39'::timestamp) - extract(epoch from '2026-06-26 10:15: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'), 46941, 'SRID=4674;POINT (-40.050293 -2.807674)', '2026-06-26 10:16:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050295 -2.807676)'), GeomFromEWKT('SRID=4674;POINT (-40.050293 -2.807674)'))) / (select extract(epoch from '2026-06-26 10:16:03'::timestamp) - extract(epoch from '2026-06-26 10:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050295 -2.807676)'), GeomFromEWKT('SRID=4674;POINT (-40.050293 -2.807674)'))) / (select extract(epoch from '2026-06-26 10:16:03'::timestamp) - extract(epoch from '2026-06-26 10:15: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'), 46941, 'SRID=4674;POINT (-40.050296 -2.807658)', '2026-06-26 10:16:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050293 -2.807674)'), GeomFromEWKT('SRID=4674;POINT (-40.050296 -2.807658)'))) / (select extract(epoch from '2026-06-26 10:16:26'::timestamp) - extract(epoch from '2026-06-26 10:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050293 -2.807674)'), GeomFromEWKT('SRID=4674;POINT (-40.050296 -2.807658)'))) / (select extract(epoch from '2026-06-26 10:16:26'::timestamp) - extract(epoch from '2026-06-26 10:16: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'), 46941, 'SRID=4674;POINT (-40.050297 -2.807657)', '2026-06-26 10:16:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050296 -2.807658)'), GeomFromEWKT('SRID=4674;POINT (-40.050297 -2.807657)'))) / (select extract(epoch from '2026-06-26 10:16:45'::timestamp) - extract(epoch from '2026-06-26 10:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050296 -2.807658)'), GeomFromEWKT('SRID=4674;POINT (-40.050297 -2.807657)'))) / (select extract(epoch from '2026-06-26 10:16:45'::timestamp) - extract(epoch from '2026-06-26 10:16: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'), 46941, 'SRID=4674;POINT (-40.050298 -2.80766)', '2026-06-26 10:17:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050297 -2.807657)'), GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.80766)'))) / (select extract(epoch from '2026-06-26 10:17:04'::timestamp) - extract(epoch from '2026-06-26 10:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050297 -2.807657)'), GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.80766)'))) / (select extract(epoch from '2026-06-26 10:17:04'::timestamp) - extract(epoch from '2026-06-26 10:16:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050301 -2.807668)', '2026-06-26 10:17:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.80766)'), GeomFromEWKT('SRID=4674;POINT (-40.050301 -2.807668)'))) / (select extract(epoch from '2026-06-26 10:17:24'::timestamp) - extract(epoch from '2026-06-26 10:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.80766)'), GeomFromEWKT('SRID=4674;POINT (-40.050301 -2.807668)'))) / (select extract(epoch from '2026-06-26 10:17:24'::timestamp) - extract(epoch from '2026-06-26 10:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050299 -2.807674)', '2026-06-26 10:17:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050301 -2.807668)'), GeomFromEWKT('SRID=4674;POINT (-40.050299 -2.807674)'))) / (select extract(epoch from '2026-06-26 10:17:55'::timestamp) - extract(epoch from '2026-06-26 10:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050301 -2.807668)'), GeomFromEWKT('SRID=4674;POINT (-40.050299 -2.807674)'))) / (select extract(epoch from '2026-06-26 10:17:55'::timestamp) - extract(epoch from '2026-06-26 10:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050259 -2.80769)', '2026-06-26 10:18:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050299 -2.807674)'), GeomFromEWKT('SRID=4674;POINT (-40.050259 -2.80769)'))) / (select extract(epoch from '2026-06-26 10:18:10'::timestamp) - extract(epoch from '2026-06-26 10:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050299 -2.807674)'), GeomFromEWKT('SRID=4674;POINT (-40.050259 -2.80769)'))) / (select extract(epoch from '2026-06-26 10:18:10'::timestamp) - extract(epoch from '2026-06-26 10:17:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050158 -2.807696)', '2026-06-26 10:18:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050259 -2.80769)'), GeomFromEWKT('SRID=4674;POINT (-40.050158 -2.807696)'))) / (select extract(epoch from '2026-06-26 10:18:24'::timestamp) - extract(epoch from '2026-06-26 10:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050259 -2.80769)'), GeomFromEWKT('SRID=4674;POINT (-40.050158 -2.807696)'))) / (select extract(epoch from '2026-06-26 10:18:24'::timestamp) - extract(epoch from '2026-06-26 10:18: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'), 46941, 'SRID=4674;POINT (-40.05009 -2.807679)', '2026-06-26 10:18:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050158 -2.807696)'), GeomFromEWKT('SRID=4674;POINT (-40.05009 -2.807679)'))) / (select extract(epoch from '2026-06-26 10:18:32'::timestamp) - extract(epoch from '2026-06-26 10:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050158 -2.807696)'), GeomFromEWKT('SRID=4674;POINT (-40.05009 -2.807679)'))) / (select extract(epoch from '2026-06-26 10:18:32'::timestamp) - extract(epoch from '2026-06-26 10:18: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'), 46941, 'SRID=4674;POINT (-40.050027 -2.80766)', '2026-06-26 10:18:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05009 -2.807679)'), GeomFromEWKT('SRID=4674;POINT (-40.050027 -2.80766)'))) / (select extract(epoch from '2026-06-26 10:18:47'::timestamp) - extract(epoch from '2026-06-26 10:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05009 -2.807679)'), GeomFromEWKT('SRID=4674;POINT (-40.050027 -2.80766)'))) / (select extract(epoch from '2026-06-26 10:18:47'::timestamp) - extract(epoch from '2026-06-26 10:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049989 -2.807712)', '2026-06-26 10:19:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050027 -2.80766)'), GeomFromEWKT('SRID=4674;POINT (-40.049989 -2.807712)'))) / (select extract(epoch from '2026-06-26 10:19:00'::timestamp) - extract(epoch from '2026-06-26 10:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050027 -2.80766)'), GeomFromEWKT('SRID=4674;POINT (-40.049989 -2.807712)'))) / (select extract(epoch from '2026-06-26 10:19:00'::timestamp) - extract(epoch from '2026-06-26 10:18:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050014 -2.807812)', '2026-06-26 10:19:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049989 -2.807712)'), GeomFromEWKT('SRID=4674;POINT (-40.050014 -2.807812)'))) / (select extract(epoch from '2026-06-26 10:19:09'::timestamp) - extract(epoch from '2026-06-26 10:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049989 -2.807712)'), GeomFromEWKT('SRID=4674;POINT (-40.050014 -2.807812)'))) / (select extract(epoch from '2026-06-26 10:19:09'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.050039 -2.807904)', '2026-06-26 10:19:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050014 -2.807812)'), GeomFromEWKT('SRID=4674;POINT (-40.050039 -2.807904)'))) / (select extract(epoch from '2026-06-26 10:19:16'::timestamp) - extract(epoch from '2026-06-26 10:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050014 -2.807812)'), GeomFromEWKT('SRID=4674;POINT (-40.050039 -2.807904)'))) / (select extract(epoch from '2026-06-26 10:19:16'::timestamp) - extract(epoch from '2026-06-26 10:19: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'), 46941, 'SRID=4674;POINT (-40.050027 -2.807967)', '2026-06-26 10:19:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050039 -2.807904)'), GeomFromEWKT('SRID=4674;POINT (-40.050027 -2.807967)'))) / (select extract(epoch from '2026-06-26 10:19:22'::timestamp) - extract(epoch from '2026-06-26 10:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050039 -2.807904)'), GeomFromEWKT('SRID=4674;POINT (-40.050027 -2.807967)'))) / (select extract(epoch from '2026-06-26 10:19:22'::timestamp) - extract(epoch from '2026-06-26 10:19: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'), 46941, 'SRID=4674;POINT (-40.050019 -2.807982)', '2026-06-26 10:19:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050027 -2.807967)'), GeomFromEWKT('SRID=4674;POINT (-40.050019 -2.807982)'))) / (select extract(epoch from '2026-06-26 10:19:24'::timestamp) - extract(epoch from '2026-06-26 10:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050027 -2.807967)'), GeomFromEWKT('SRID=4674;POINT (-40.050019 -2.807982)'))) / (select extract(epoch from '2026-06-26 10:19:24'::timestamp) - extract(epoch from '2026-06-26 10:19: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'), 46941, 'SRID=4674;POINT (-40.050002 -2.808001)', '2026-06-26 10:19:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050019 -2.807982)'), GeomFromEWKT('SRID=4674;POINT (-40.050002 -2.808001)'))) / (select extract(epoch from '2026-06-26 10:19:27'::timestamp) - extract(epoch from '2026-06-26 10:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050019 -2.807982)'), GeomFromEWKT('SRID=4674;POINT (-40.050002 -2.808001)'))) / (select extract(epoch from '2026-06-26 10:19:27'::timestamp) - extract(epoch from '2026-06-26 10:19: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'), 46941, 'SRID=4674;POINT (-40.049969 -2.808069)', '2026-06-26 10:19:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050002 -2.808001)'), GeomFromEWKT('SRID=4674;POINT (-40.049969 -2.808069)'))) / (select extract(epoch from '2026-06-26 10:19:36'::timestamp) - extract(epoch from '2026-06-26 10:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050002 -2.808001)'), GeomFromEWKT('SRID=4674;POINT (-40.049969 -2.808069)'))) / (select extract(epoch from '2026-06-26 10:19:36'::timestamp) - extract(epoch from '2026-06-26 10:19: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'), 46941, 'SRID=4674;POINT (-40.049975 -2.808197)', '2026-06-26 10:19:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049969 -2.808069)'), GeomFromEWKT('SRID=4674;POINT (-40.049975 -2.808197)'))) / (select extract(epoch from '2026-06-26 10:19:45'::timestamp) - extract(epoch from '2026-06-26 10:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049969 -2.808069)'), GeomFromEWKT('SRID=4674;POINT (-40.049975 -2.808197)'))) / (select extract(epoch from '2026-06-26 10:19:45'::timestamp) - extract(epoch from '2026-06-26 10:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049972 -2.808365)', '2026-06-26 10:19:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049975 -2.808197)'), GeomFromEWKT('SRID=4674;POINT (-40.049972 -2.808365)'))) / (select extract(epoch from '2026-06-26 10:19:54'::timestamp) - extract(epoch from '2026-06-26 10:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049975 -2.808197)'), GeomFromEWKT('SRID=4674;POINT (-40.049972 -2.808365)'))) / (select extract(epoch from '2026-06-26 10:19:54'::timestamp) - extract(epoch from '2026-06-26 10:19:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049965 -2.808495)', '2026-06-26 10:20:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049972 -2.808365)'), GeomFromEWKT('SRID=4674;POINT (-40.049965 -2.808495)'))) / (select extract(epoch from '2026-06-26 10:20:01'::timestamp) - extract(epoch from '2026-06-26 10:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049972 -2.808365)'), GeomFromEWKT('SRID=4674;POINT (-40.049965 -2.808495)'))) / (select extract(epoch from '2026-06-26 10:20:01'::timestamp) - extract(epoch from '2026-06-26 10:19:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049962 -2.808607)', '2026-06-26 10:20:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049965 -2.808495)'), GeomFromEWKT('SRID=4674;POINT (-40.049962 -2.808607)'))) / (select extract(epoch from '2026-06-26 10:20:07'::timestamp) - extract(epoch from '2026-06-26 10:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049965 -2.808495)'), GeomFromEWKT('SRID=4674;POINT (-40.049962 -2.808607)'))) / (select extract(epoch from '2026-06-26 10:20:07'::timestamp) - extract(epoch from '2026-06-26 10:20: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'), 46941, 'SRID=4674;POINT (-40.049954 -2.808765)', '2026-06-26 10:20:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049962 -2.808607)'), GeomFromEWKT('SRID=4674;POINT (-40.049954 -2.808765)'))) / (select extract(epoch from '2026-06-26 10:20:16'::timestamp) - extract(epoch from '2026-06-26 10:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049962 -2.808607)'), GeomFromEWKT('SRID=4674;POINT (-40.049954 -2.808765)'))) / (select extract(epoch from '2026-06-26 10:20:16'::timestamp) - extract(epoch from '2026-06-26 10:20: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'), 46941, 'SRID=4674;POINT (-40.049933 -2.808878)', '2026-06-26 10:20:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049954 -2.808765)'), GeomFromEWKT('SRID=4674;POINT (-40.049933 -2.808878)'))) / (select extract(epoch from '2026-06-26 10:20:23'::timestamp) - extract(epoch from '2026-06-26 10:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049954 -2.808765)'), GeomFromEWKT('SRID=4674;POINT (-40.049933 -2.808878)'))) / (select extract(epoch from '2026-06-26 10:20:23'::timestamp) - extract(epoch from '2026-06-26 10:20:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049873 -2.808959)', '2026-06-26 10:20:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049933 -2.808878)'), GeomFromEWKT('SRID=4674;POINT (-40.049873 -2.808959)'))) / (select extract(epoch from '2026-06-26 10:20:31'::timestamp) - extract(epoch from '2026-06-26 10:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049933 -2.808878)'), GeomFromEWKT('SRID=4674;POINT (-40.049873 -2.808959)'))) / (select extract(epoch from '2026-06-26 10:20:31'::timestamp) - extract(epoch from '2026-06-26 10:20: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'), 46941, 'SRID=4674;POINT (-40.049859 -2.809044)', '2026-06-26 10:20:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049873 -2.808959)'), GeomFromEWKT('SRID=4674;POINT (-40.049859 -2.809044)'))) / (select extract(epoch from '2026-06-26 10:20:37'::timestamp) - extract(epoch from '2026-06-26 10:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049873 -2.808959)'), GeomFromEWKT('SRID=4674;POINT (-40.049859 -2.809044)'))) / (select extract(epoch from '2026-06-26 10:20:37'::timestamp) - extract(epoch from '2026-06-26 10:20: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'), 46941, 'SRID=4674;POINT (-40.049835 -2.809137)', '2026-06-26 10:20:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049859 -2.809044)'), GeomFromEWKT('SRID=4674;POINT (-40.049835 -2.809137)'))) / (select extract(epoch from '2026-06-26 10:20:44'::timestamp) - extract(epoch from '2026-06-26 10:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049859 -2.809044)'), GeomFromEWKT('SRID=4674;POINT (-40.049835 -2.809137)'))) / (select extract(epoch from '2026-06-26 10:20:44'::timestamp) - extract(epoch from '2026-06-26 10:20: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'), 46941, 'SRID=4674;POINT (-40.049798 -2.809169)', '2026-06-26 10:20:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049835 -2.809137)'), GeomFromEWKT('SRID=4674;POINT (-40.049798 -2.809169)'))) / (select extract(epoch from '2026-06-26 10:20:53'::timestamp) - extract(epoch from '2026-06-26 10:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049835 -2.809137)'), GeomFromEWKT('SRID=4674;POINT (-40.049798 -2.809169)'))) / (select extract(epoch from '2026-06-26 10:20:53'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.049757 -2.809174)', '2026-06-26 10:21:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049798 -2.809169)'), GeomFromEWKT('SRID=4674;POINT (-40.049757 -2.809174)'))) / (select extract(epoch from '2026-06-26 10:21:04'::timestamp) - extract(epoch from '2026-06-26 10:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049798 -2.809169)'), GeomFromEWKT('SRID=4674;POINT (-40.049757 -2.809174)'))) / (select extract(epoch from '2026-06-26 10:21:04'::timestamp) - extract(epoch from '2026-06-26 10:20: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'), 46941, 'SRID=4674;POINT (-40.049729 -2.809237)', '2026-06-26 10:21:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049757 -2.809174)'), GeomFromEWKT('SRID=4674;POINT (-40.049729 -2.809237)'))) / (select extract(epoch from '2026-06-26 10:21:23'::timestamp) - extract(epoch from '2026-06-26 10:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049757 -2.809174)'), GeomFromEWKT('SRID=4674;POINT (-40.049729 -2.809237)'))) / (select extract(epoch from '2026-06-26 10:21:23'::timestamp) - extract(epoch from '2026-06-26 10:21: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'), 46941, 'SRID=4674;POINT (-40.049728 -2.809238)', '2026-06-26 10:21:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049729 -2.809237)'), GeomFromEWKT('SRID=4674;POINT (-40.049728 -2.809238)'))) / (select extract(epoch from '2026-06-26 10:21:33'::timestamp) - extract(epoch from '2026-06-26 10:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049729 -2.809237)'), GeomFromEWKT('SRID=4674;POINT (-40.049728 -2.809238)'))) / (select extract(epoch from '2026-06-26 10:21:33'::timestamp) - extract(epoch from '2026-06-26 10:21: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'), 46941, 'SRID=4674;POINT (-40.049738 -2.809201)', '2026-06-26 10:21:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049728 -2.809238)'), GeomFromEWKT('SRID=4674;POINT (-40.049738 -2.809201)'))) / (select extract(epoch from '2026-06-26 10:21:42'::timestamp) - extract(epoch from '2026-06-26 10:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049728 -2.809238)'), GeomFromEWKT('SRID=4674;POINT (-40.049738 -2.809201)'))) / (select extract(epoch from '2026-06-26 10:21:42'::timestamp) - extract(epoch from '2026-06-26 10:21: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'), 46941, 'SRID=4674;POINT (-40.049735 -2.809132)', '2026-06-26 10:21:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049738 -2.809201)'), GeomFromEWKT('SRID=4674;POINT (-40.049735 -2.809132)'))) / (select extract(epoch from '2026-06-26 10:21:55'::timestamp) - extract(epoch from '2026-06-26 10:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049738 -2.809201)'), GeomFromEWKT('SRID=4674;POINT (-40.049735 -2.809132)'))) / (select extract(epoch from '2026-06-26 10:21:55'::timestamp) - extract(epoch from '2026-06-26 10:21:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049634 -2.809099)', '2026-06-26 10:22:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049735 -2.809132)'), GeomFromEWKT('SRID=4674;POINT (-40.049634 -2.809099)'))) / (select extract(epoch from '2026-06-26 10:22:11'::timestamp) - extract(epoch from '2026-06-26 10:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049735 -2.809132)'), GeomFromEWKT('SRID=4674;POINT (-40.049634 -2.809099)'))) / (select extract(epoch from '2026-06-26 10:22:11'::timestamp) - extract(epoch from '2026-06-26 10:21: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'), 46941, 'SRID=4674;POINT (-40.049494 -2.809086)', '2026-06-26 10:22:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049634 -2.809099)'), GeomFromEWKT('SRID=4674;POINT (-40.049494 -2.809086)'))) / (select extract(epoch from '2026-06-26 10:22:22'::timestamp) - extract(epoch from '2026-06-26 10:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049634 -2.809099)'), GeomFromEWKT('SRID=4674;POINT (-40.049494 -2.809086)'))) / (select extract(epoch from '2026-06-26 10:22:22'::timestamp) - extract(epoch from '2026-06-26 10:22: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'), 46941, 'SRID=4674;POINT (-40.049363 -2.809061)', '2026-06-26 10:22:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049494 -2.809086)'), GeomFromEWKT('SRID=4674;POINT (-40.049363 -2.809061)'))) / (select extract(epoch from '2026-06-26 10:22:32'::timestamp) - extract(epoch from '2026-06-26 10:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049494 -2.809086)'), GeomFromEWKT('SRID=4674;POINT (-40.049363 -2.809061)'))) / (select extract(epoch from '2026-06-26 10:22:32'::timestamp) - extract(epoch from '2026-06-26 10:22:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049281 -2.809023)', '2026-06-26 10:22:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049363 -2.809061)'), GeomFromEWKT('SRID=4674;POINT (-40.049281 -2.809023)'))) / (select extract(epoch from '2026-06-26 10:22:39'::timestamp) - extract(epoch from '2026-06-26 10:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049363 -2.809061)'), GeomFromEWKT('SRID=4674;POINT (-40.049281 -2.809023)'))) / (select extract(epoch from '2026-06-26 10:22:39'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.049169 -2.808964)', '2026-06-26 10:22:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049281 -2.809023)'), GeomFromEWKT('SRID=4674;POINT (-40.049169 -2.808964)'))) / (select extract(epoch from '2026-06-26 10:22:49'::timestamp) - extract(epoch from '2026-06-26 10:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049281 -2.809023)'), GeomFromEWKT('SRID=4674;POINT (-40.049169 -2.808964)'))) / (select extract(epoch from '2026-06-26 10:22:49'::timestamp) - extract(epoch from '2026-06-26 10:22: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'), 46941, 'SRID=4674;POINT (-40.049086 -2.808936)', '2026-06-26 10:22:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049169 -2.808964)'), GeomFromEWKT('SRID=4674;POINT (-40.049086 -2.808936)'))) / (select extract(epoch from '2026-06-26 10:22:56'::timestamp) - extract(epoch from '2026-06-26 10:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049169 -2.808964)'), GeomFromEWKT('SRID=4674;POINT (-40.049086 -2.808936)'))) / (select extract(epoch from '2026-06-26 10:22:56'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.048961 -2.808891)', '2026-06-26 10:23:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049086 -2.808936)'), GeomFromEWKT('SRID=4674;POINT (-40.048961 -2.808891)'))) / (select extract(epoch from '2026-06-26 10:23:06'::timestamp) - extract(epoch from '2026-06-26 10:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049086 -2.808936)'), GeomFromEWKT('SRID=4674;POINT (-40.048961 -2.808891)'))) / (select extract(epoch from '2026-06-26 10:23:06'::timestamp) - extract(epoch from '2026-06-26 10:22: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'), 46941, 'SRID=4674;POINT (-40.048843 -2.808854)', '2026-06-26 10:23:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048961 -2.808891)'), GeomFromEWKT('SRID=4674;POINT (-40.048843 -2.808854)'))) / (select extract(epoch from '2026-06-26 10:23:15'::timestamp) - extract(epoch from '2026-06-26 10:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048961 -2.808891)'), GeomFromEWKT('SRID=4674;POINT (-40.048843 -2.808854)'))) / (select extract(epoch from '2026-06-26 10:23:15'::timestamp) - extract(epoch from '2026-06-26 10:23: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'), 46941, 'SRID=4674;POINT (-40.048705 -2.808826)', '2026-06-26 10:23:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048843 -2.808854)'), GeomFromEWKT('SRID=4674;POINT (-40.048705 -2.808826)'))) / (select extract(epoch from '2026-06-26 10:23:25'::timestamp) - extract(epoch from '2026-06-26 10:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048843 -2.808854)'), GeomFromEWKT('SRID=4674;POINT (-40.048705 -2.808826)'))) / (select extract(epoch from '2026-06-26 10:23:25'::timestamp) - extract(epoch from '2026-06-26 10:23:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.048628 -2.808812)', '2026-06-26 10:23:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048705 -2.808826)'), GeomFromEWKT('SRID=4674;POINT (-40.048628 -2.808812)'))) / (select extract(epoch from '2026-06-26 10:23:32'::timestamp) - extract(epoch from '2026-06-26 10:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048705 -2.808826)'), GeomFromEWKT('SRID=4674;POINT (-40.048628 -2.808812)'))) / (select extract(epoch from '2026-06-26 10:23:32'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.048493 -2.80878)', '2026-06-26 10:23:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048628 -2.808812)'), GeomFromEWKT('SRID=4674;POINT (-40.048493 -2.80878)'))) / (select extract(epoch from '2026-06-26 10:23:43'::timestamp) - extract(epoch from '2026-06-26 10:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048628 -2.808812)'), GeomFromEWKT('SRID=4674;POINT (-40.048493 -2.80878)'))) / (select extract(epoch from '2026-06-26 10:23:43'::timestamp) - extract(epoch from '2026-06-26 10:23:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.048377 -2.808761)', '2026-06-26 10:23:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048493 -2.80878)'), GeomFromEWKT('SRID=4674;POINT (-40.048377 -2.808761)'))) / (select extract(epoch from '2026-06-26 10:23:52'::timestamp) - extract(epoch from '2026-06-26 10:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048493 -2.80878)'), GeomFromEWKT('SRID=4674;POINT (-40.048377 -2.808761)'))) / (select extract(epoch from '2026-06-26 10:23:52'::timestamp) - extract(epoch from '2026-06-26 10:23:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.048264 -2.808742)', '2026-06-26 10:24:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048377 -2.808761)'), GeomFromEWKT('SRID=4674;POINT (-40.048264 -2.808742)'))) / (select extract(epoch from '2026-06-26 10:24:01'::timestamp) - extract(epoch from '2026-06-26 10:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048377 -2.808761)'), GeomFromEWKT('SRID=4674;POINT (-40.048264 -2.808742)'))) / (select extract(epoch from '2026-06-26 10:24:01'::timestamp) - extract(epoch from '2026-06-26 10:23: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'), 46941, 'SRID=4674;POINT (-40.048182 -2.808724)', '2026-06-26 10:24:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048264 -2.808742)'), GeomFromEWKT('SRID=4674;POINT (-40.048182 -2.808724)'))) / (select extract(epoch from '2026-06-26 10:24:08'::timestamp) - extract(epoch from '2026-06-26 10:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048264 -2.808742)'), GeomFromEWKT('SRID=4674;POINT (-40.048182 -2.808724)'))) / (select extract(epoch from '2026-06-26 10:24:08'::timestamp) - extract(epoch from '2026-06-26 10:24: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'), 46941, 'SRID=4674;POINT (-40.048088 -2.808698)', '2026-06-26 10:24:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048182 -2.808724)'), GeomFromEWKT('SRID=4674;POINT (-40.048088 -2.808698)'))) / (select extract(epoch from '2026-06-26 10:24:17'::timestamp) - extract(epoch from '2026-06-26 10:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048182 -2.808724)'), GeomFromEWKT('SRID=4674;POINT (-40.048088 -2.808698)'))) / (select extract(epoch from '2026-06-26 10:24:17'::timestamp) - extract(epoch from '2026-06-26 10:24: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'), 46941, 'SRID=4674;POINT (-40.047982 -2.808694)', '2026-06-26 10:24:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048088 -2.808698)'), GeomFromEWKT('SRID=4674;POINT (-40.047982 -2.808694)'))) / (select extract(epoch from '2026-06-26 10:24:26'::timestamp) - extract(epoch from '2026-06-26 10:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048088 -2.808698)'), GeomFromEWKT('SRID=4674;POINT (-40.047982 -2.808694)'))) / (select extract(epoch from '2026-06-26 10:24:26'::timestamp) - extract(epoch from '2026-06-26 10:24: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'), 46941, 'SRID=4674;POINT (-40.047899 -2.808708)', '2026-06-26 10:24:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047982 -2.808694)'), GeomFromEWKT('SRID=4674;POINT (-40.047899 -2.808708)'))) / (select extract(epoch from '2026-06-26 10:24:33'::timestamp) - extract(epoch from '2026-06-26 10:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047982 -2.808694)'), GeomFromEWKT('SRID=4674;POINT (-40.047899 -2.808708)'))) / (select extract(epoch from '2026-06-26 10:24:33'::timestamp) - extract(epoch from '2026-06-26 10:24: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'), 46941, 'SRID=4674;POINT (-40.047792 -2.808728)', '2026-06-26 10:24:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047899 -2.808708)'), GeomFromEWKT('SRID=4674;POINT (-40.047792 -2.808728)'))) / (select extract(epoch from '2026-06-26 10:24:41'::timestamp) - extract(epoch from '2026-06-26 10:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047899 -2.808708)'), GeomFromEWKT('SRID=4674;POINT (-40.047792 -2.808728)'))) / (select extract(epoch from '2026-06-26 10:24:41'::timestamp) - extract(epoch from '2026-06-26 10:24: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'), 46941, 'SRID=4674;POINT (-40.047674 -2.808735)', '2026-06-26 10:24:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047792 -2.808728)'), GeomFromEWKT('SRID=4674;POINT (-40.047674 -2.808735)'))) / (select extract(epoch from '2026-06-26 10:24:49'::timestamp) - extract(epoch from '2026-06-26 10:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047792 -2.808728)'), GeomFromEWKT('SRID=4674;POINT (-40.047674 -2.808735)'))) / (select extract(epoch from '2026-06-26 10:24:49'::timestamp) - extract(epoch from '2026-06-26 10:24: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'), 46941, 'SRID=4674;POINT (-40.047552 -2.808714)', '2026-06-26 10:24:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047674 -2.808735)'), GeomFromEWKT('SRID=4674;POINT (-40.047552 -2.808714)'))) / (select extract(epoch from '2026-06-26 10:24:58'::timestamp) - extract(epoch from '2026-06-26 10:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047674 -2.808735)'), GeomFromEWKT('SRID=4674;POINT (-40.047552 -2.808714)'))) / (select extract(epoch from '2026-06-26 10:24:58'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.047438 -2.808673)', '2026-06-26 10:25:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047552 -2.808714)'), GeomFromEWKT('SRID=4674;POINT (-40.047438 -2.808673)'))) / (select extract(epoch from '2026-06-26 10:25:07'::timestamp) - extract(epoch from '2026-06-26 10:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047552 -2.808714)'), GeomFromEWKT('SRID=4674;POINT (-40.047438 -2.808673)'))) / (select extract(epoch from '2026-06-26 10:25:07'::timestamp) - extract(epoch from '2026-06-26 10:24: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'), 46941, 'SRID=4674;POINT (-40.047309 -2.808614)', '2026-06-26 10:25:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047438 -2.808673)'), GeomFromEWKT('SRID=4674;POINT (-40.047309 -2.808614)'))) / (select extract(epoch from '2026-06-26 10:25:17'::timestamp) - extract(epoch from '2026-06-26 10:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047438 -2.808673)'), GeomFromEWKT('SRID=4674;POINT (-40.047309 -2.808614)'))) / (select extract(epoch from '2026-06-26 10:25:17'::timestamp) - extract(epoch from '2026-06-26 10:25: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'), 46941, 'SRID=4674;POINT (-40.047208 -2.808563)', '2026-06-26 10:25:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047309 -2.808614)'), GeomFromEWKT('SRID=4674;POINT (-40.047208 -2.808563)'))) / (select extract(epoch from '2026-06-26 10:25:25'::timestamp) - extract(epoch from '2026-06-26 10:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047309 -2.808614)'), GeomFromEWKT('SRID=4674;POINT (-40.047208 -2.808563)'))) / (select extract(epoch from '2026-06-26 10:25:25'::timestamp) - extract(epoch from '2026-06-26 10:25: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'), 46941, 'SRID=4674;POINT (-40.047098 -2.808509)', '2026-06-26 10:25:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047208 -2.808563)'), GeomFromEWKT('SRID=4674;POINT (-40.047098 -2.808509)'))) / (select extract(epoch from '2026-06-26 10:25:34'::timestamp) - extract(epoch from '2026-06-26 10:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047208 -2.808563)'), GeomFromEWKT('SRID=4674;POINT (-40.047098 -2.808509)'))) / (select extract(epoch from '2026-06-26 10:25:34'::timestamp) - extract(epoch from '2026-06-26 10:25: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'), 46941, 'SRID=4674;POINT (-40.046974 -2.808433)', '2026-06-26 10:25:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047098 -2.808509)'), GeomFromEWKT('SRID=4674;POINT (-40.046974 -2.808433)'))) / (select extract(epoch from '2026-06-26 10:25:44'::timestamp) - extract(epoch from '2026-06-26 10:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047098 -2.808509)'), GeomFromEWKT('SRID=4674;POINT (-40.046974 -2.808433)'))) / (select extract(epoch from '2026-06-26 10:25:44'::timestamp) - extract(epoch from '2026-06-26 10:25: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'), 46941, 'SRID=4674;POINT (-40.046844 -2.808389)', '2026-06-26 10:25:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046974 -2.808433)'), GeomFromEWKT('SRID=4674;POINT (-40.046844 -2.808389)'))) / (select extract(epoch from '2026-06-26 10:25:54'::timestamp) - extract(epoch from '2026-06-26 10:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046974 -2.808433)'), GeomFromEWKT('SRID=4674;POINT (-40.046844 -2.808389)'))) / (select extract(epoch from '2026-06-26 10:25:54'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.046727 -2.808341)', '2026-06-26 10:26:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046844 -2.808389)'), GeomFromEWKT('SRID=4674;POINT (-40.046727 -2.808341)'))) / (select extract(epoch from '2026-06-26 10:26:03'::timestamp) - extract(epoch from '2026-06-26 10:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046844 -2.808389)'), GeomFromEWKT('SRID=4674;POINT (-40.046727 -2.808341)'))) / (select extract(epoch from '2026-06-26 10:26:03'::timestamp) - extract(epoch from '2026-06-26 10:25: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'), 46941, 'SRID=4674;POINT (-40.046642 -2.808299)', '2026-06-26 10:26:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046727 -2.808341)'), GeomFromEWKT('SRID=4674;POINT (-40.046642 -2.808299)'))) / (select extract(epoch from '2026-06-26 10:26:10'::timestamp) - extract(epoch from '2026-06-26 10:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046727 -2.808341)'), GeomFromEWKT('SRID=4674;POINT (-40.046642 -2.808299)'))) / (select extract(epoch from '2026-06-26 10:26:10'::timestamp) - extract(epoch from '2026-06-26 10:26: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'), 46941, 'SRID=4674;POINT (-40.046558 -2.808259)', '2026-06-26 10:26:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046642 -2.808299)'), GeomFromEWKT('SRID=4674;POINT (-40.046558 -2.808259)'))) / (select extract(epoch from '2026-06-26 10:26:17'::timestamp) - extract(epoch from '2026-06-26 10:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046642 -2.808299)'), GeomFromEWKT('SRID=4674;POINT (-40.046558 -2.808259)'))) / (select extract(epoch from '2026-06-26 10:26:17'::timestamp) - extract(epoch from '2026-06-26 10:26: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'), 46941, 'SRID=4674;POINT (-40.046443 -2.808211)', '2026-06-26 10:26:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046558 -2.808259)'), GeomFromEWKT('SRID=4674;POINT (-40.046443 -2.808211)'))) / (select extract(epoch from '2026-06-26 10:26:27'::timestamp) - extract(epoch from '2026-06-26 10:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046558 -2.808259)'), GeomFromEWKT('SRID=4674;POINT (-40.046443 -2.808211)'))) / (select extract(epoch from '2026-06-26 10:26:27'::timestamp) - extract(epoch from '2026-06-26 10:26: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'), 46941, 'SRID=4674;POINT (-40.046322 -2.808175)', '2026-06-26 10:26:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046443 -2.808211)'), GeomFromEWKT('SRID=4674;POINT (-40.046322 -2.808175)'))) / (select extract(epoch from '2026-06-26 10:26:36'::timestamp) - extract(epoch from '2026-06-26 10:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046443 -2.808211)'), GeomFromEWKT('SRID=4674;POINT (-40.046322 -2.808175)'))) / (select extract(epoch from '2026-06-26 10:26:36'::timestamp) - extract(epoch from '2026-06-26 10:26: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'), 46941, 'SRID=4674;POINT (-40.046201 -2.808123)', '2026-06-26 10:26:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046322 -2.808175)'), GeomFromEWKT('SRID=4674;POINT (-40.046201 -2.808123)'))) / (select extract(epoch from '2026-06-26 10:26:46'::timestamp) - extract(epoch from '2026-06-26 10:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046322 -2.808175)'), GeomFromEWKT('SRID=4674;POINT (-40.046201 -2.808123)'))) / (select extract(epoch from '2026-06-26 10:26:46'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.046131 -2.8081)', '2026-06-26 10:26:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046201 -2.808123)'), GeomFromEWKT('SRID=4674;POINT (-40.046131 -2.8081)'))) / (select extract(epoch from '2026-06-26 10:26:53'::timestamp) - extract(epoch from '2026-06-26 10:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046201 -2.808123)'), GeomFromEWKT('SRID=4674;POINT (-40.046131 -2.8081)'))) / (select extract(epoch from '2026-06-26 10:26:53'::timestamp) - extract(epoch from '2026-06-26 10:26: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'), 46941, 'SRID=4674;POINT (-40.046045 -2.808064)', '2026-06-26 10:27:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046131 -2.8081)'), GeomFromEWKT('SRID=4674;POINT (-40.046045 -2.808064)'))) / (select extract(epoch from '2026-06-26 10:27:01'::timestamp) - extract(epoch from '2026-06-26 10:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046131 -2.8081)'), GeomFromEWKT('SRID=4674;POINT (-40.046045 -2.808064)'))) / (select extract(epoch from '2026-06-26 10:27:01'::timestamp) - extract(epoch from '2026-06-26 10:26: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'), 46941, 'SRID=4674;POINT (-40.045914 -2.807994)', '2026-06-26 10:27:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046045 -2.808064)'), GeomFromEWKT('SRID=4674;POINT (-40.045914 -2.807994)'))) / (select extract(epoch from '2026-06-26 10:27:12'::timestamp) - extract(epoch from '2026-06-26 10:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046045 -2.808064)'), GeomFromEWKT('SRID=4674;POINT (-40.045914 -2.807994)'))) / (select extract(epoch from '2026-06-26 10:27:12'::timestamp) - extract(epoch from '2026-06-26 10:27: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'), 46941, 'SRID=4674;POINT (-40.045832 -2.807944)', '2026-06-26 10:27:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045914 -2.807994)'), GeomFromEWKT('SRID=4674;POINT (-40.045832 -2.807944)'))) / (select extract(epoch from '2026-06-26 10:27:20'::timestamp) - extract(epoch from '2026-06-26 10:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045914 -2.807994)'), GeomFromEWKT('SRID=4674;POINT (-40.045832 -2.807944)'))) / (select extract(epoch from '2026-06-26 10:27:20'::timestamp) - extract(epoch from '2026-06-26 10:27: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'), 46941, 'SRID=4674;POINT (-40.045746 -2.807899)', '2026-06-26 10:27:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045832 -2.807944)'), GeomFromEWKT('SRID=4674;POINT (-40.045746 -2.807899)'))) / (select extract(epoch from '2026-06-26 10:27:28'::timestamp) - extract(epoch from '2026-06-26 10:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045832 -2.807944)'), GeomFromEWKT('SRID=4674;POINT (-40.045746 -2.807899)'))) / (select extract(epoch from '2026-06-26 10:27:28'::timestamp) - extract(epoch from '2026-06-26 10:27: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'), 46941, 'SRID=4674;POINT (-40.045651 -2.807829)', '2026-06-26 10:27:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045746 -2.807899)'), GeomFromEWKT('SRID=4674;POINT (-40.045651 -2.807829)'))) / (select extract(epoch from '2026-06-26 10:27:37'::timestamp) - extract(epoch from '2026-06-26 10:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045746 -2.807899)'), GeomFromEWKT('SRID=4674;POINT (-40.045651 -2.807829)'))) / (select extract(epoch from '2026-06-26 10:27:37'::timestamp) - extract(epoch from '2026-06-26 10:27:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.045542 -2.80776)', '2026-06-26 10:27:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045651 -2.807829)'), GeomFromEWKT('SRID=4674;POINT (-40.045542 -2.80776)'))) / (select extract(epoch from '2026-06-26 10:27:47'::timestamp) - extract(epoch from '2026-06-26 10:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045651 -2.807829)'), GeomFromEWKT('SRID=4674;POINT (-40.045542 -2.80776)'))) / (select extract(epoch from '2026-06-26 10:27:47'::timestamp) - extract(epoch from '2026-06-26 10:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.045463 -2.807727)', '2026-06-26 10:27:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045542 -2.80776)'), GeomFromEWKT('SRID=4674;POINT (-40.045463 -2.807727)'))) / (select extract(epoch from '2026-06-26 10:27:54'::timestamp) - extract(epoch from '2026-06-26 10:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045542 -2.80776)'), GeomFromEWKT('SRID=4674;POINT (-40.045463 -2.807727)'))) / (select extract(epoch from '2026-06-26 10:27:54'::timestamp) - extract(epoch from '2026-06-26 10:27: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'), 46941, 'SRID=4674;POINT (-40.045353 -2.80769)', '2026-06-26 10:28:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045463 -2.807727)'), GeomFromEWKT('SRID=4674;POINT (-40.045353 -2.80769)'))) / (select extract(epoch from '2026-06-26 10:28:03'::timestamp) - extract(epoch from '2026-06-26 10:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045463 -2.807727)'), GeomFromEWKT('SRID=4674;POINT (-40.045353 -2.80769)'))) / (select extract(epoch from '2026-06-26 10:28:03'::timestamp) - extract(epoch from '2026-06-26 10:27: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'), 46941, 'SRID=4674;POINT (-40.045238 -2.807655)', '2026-06-26 10:28:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045353 -2.80769)'), GeomFromEWKT('SRID=4674;POINT (-40.045238 -2.807655)'))) / (select extract(epoch from '2026-06-26 10:28:13'::timestamp) - extract(epoch from '2026-06-26 10:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045353 -2.80769)'), GeomFromEWKT('SRID=4674;POINT (-40.045238 -2.807655)'))) / (select extract(epoch from '2026-06-26 10:28:13'::timestamp) - extract(epoch from '2026-06-26 10:28: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'), 46941, 'SRID=4674;POINT (-40.04511 -2.807633)', '2026-06-26 10:28:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045238 -2.807655)'), GeomFromEWKT('SRID=4674;POINT (-40.04511 -2.807633)'))) / (select extract(epoch from '2026-06-26 10:28:23'::timestamp) - extract(epoch from '2026-06-26 10:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045238 -2.807655)'), GeomFromEWKT('SRID=4674;POINT (-40.04511 -2.807633)'))) / (select extract(epoch from '2026-06-26 10:28:23'::timestamp) - extract(epoch from '2026-06-26 10:28: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'), 46941, 'SRID=4674;POINT (-40.045021 -2.8076)', '2026-06-26 10:28:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04511 -2.807633)'), GeomFromEWKT('SRID=4674;POINT (-40.045021 -2.8076)'))) / (select extract(epoch from '2026-06-26 10:28:31'::timestamp) - extract(epoch from '2026-06-26 10:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04511 -2.807633)'), GeomFromEWKT('SRID=4674;POINT (-40.045021 -2.8076)'))) / (select extract(epoch from '2026-06-26 10:28:31'::timestamp) - extract(epoch from '2026-06-26 10:28:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.044961 -2.807568)', '2026-06-26 10:28:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045021 -2.8076)'), GeomFromEWKT('SRID=4674;POINT (-40.044961 -2.807568)'))) / (select extract(epoch from '2026-06-26 10:28:39'::timestamp) - extract(epoch from '2026-06-26 10:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045021 -2.8076)'), GeomFromEWKT('SRID=4674;POINT (-40.044961 -2.807568)'))) / (select extract(epoch from '2026-06-26 10:28:39'::timestamp) - extract(epoch from '2026-06-26 10:28: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'), 46941, 'SRID=4674;POINT (-40.044883 -2.807532)', '2026-06-26 10:28:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044961 -2.807568)'), GeomFromEWKT('SRID=4674;POINT (-40.044883 -2.807532)'))) / (select extract(epoch from '2026-06-26 10:28:47'::timestamp) - extract(epoch from '2026-06-26 10:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044961 -2.807568)'), GeomFromEWKT('SRID=4674;POINT (-40.044883 -2.807532)'))) / (select extract(epoch from '2026-06-26 10:28:47'::timestamp) - extract(epoch from '2026-06-26 10:28: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'), 46941, 'SRID=4674;POINT (-40.044827 -2.807505)', '2026-06-26 10:28:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044883 -2.807532)'), GeomFromEWKT('SRID=4674;POINT (-40.044827 -2.807505)'))) / (select extract(epoch from '2026-06-26 10:28:54'::timestamp) - extract(epoch from '2026-06-26 10:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044883 -2.807532)'), GeomFromEWKT('SRID=4674;POINT (-40.044827 -2.807505)'))) / (select extract(epoch from '2026-06-26 10:28:54'::timestamp) - extract(epoch from '2026-06-26 10:28:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.044734 -2.807446)', '2026-06-26 10:29:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044827 -2.807505)'), GeomFromEWKT('SRID=4674;POINT (-40.044734 -2.807446)'))) / (select extract(epoch from '2026-06-26 10:29:04'::timestamp) - extract(epoch from '2026-06-26 10:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044827 -2.807505)'), GeomFromEWKT('SRID=4674;POINT (-40.044734 -2.807446)'))) / (select extract(epoch from '2026-06-26 10:29:04'::timestamp) - extract(epoch from '2026-06-26 10:28:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.04464 -2.807373)', '2026-06-26 10:29:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044734 -2.807446)'), GeomFromEWKT('SRID=4674;POINT (-40.04464 -2.807373)'))) / (select extract(epoch from '2026-06-26 10:29:13'::timestamp) - extract(epoch from '2026-06-26 10:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044734 -2.807446)'), GeomFromEWKT('SRID=4674;POINT (-40.04464 -2.807373)'))) / (select extract(epoch from '2026-06-26 10:29:13'::timestamp) - extract(epoch from '2026-06-26 10:29: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'), 46941, 'SRID=4674;POINT (-40.044533 -2.807313)', '2026-06-26 10:29:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04464 -2.807373)'), GeomFromEWKT('SRID=4674;POINT (-40.044533 -2.807313)'))) / (select extract(epoch from '2026-06-26 10:29:22'::timestamp) - extract(epoch from '2026-06-26 10:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04464 -2.807373)'), GeomFromEWKT('SRID=4674;POINT (-40.044533 -2.807313)'))) / (select extract(epoch from '2026-06-26 10:29:22'::timestamp) - extract(epoch from '2026-06-26 10:29: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'), 46941, 'SRID=4674;POINT (-40.044422 -2.807263)', '2026-06-26 10:29:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044533 -2.807313)'), GeomFromEWKT('SRID=4674;POINT (-40.044422 -2.807263)'))) / (select extract(epoch from '2026-06-26 10:29:31'::timestamp) - extract(epoch from '2026-06-26 10:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044533 -2.807313)'), GeomFromEWKT('SRID=4674;POINT (-40.044422 -2.807263)'))) / (select extract(epoch from '2026-06-26 10:29:31'::timestamp) - extract(epoch from '2026-06-26 10:29:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.044325 -2.807196)', '2026-06-26 10:29:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044422 -2.807263)'), GeomFromEWKT('SRID=4674;POINT (-40.044325 -2.807196)'))) / (select extract(epoch from '2026-06-26 10:29:40'::timestamp) - extract(epoch from '2026-06-26 10:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044422 -2.807263)'), GeomFromEWKT('SRID=4674;POINT (-40.044325 -2.807196)'))) / (select extract(epoch from '2026-06-26 10:29:40'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.04427 -2.807152)', '2026-06-26 10:29:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044325 -2.807196)'), GeomFromEWKT('SRID=4674;POINT (-40.04427 -2.807152)'))) / (select extract(epoch from '2026-06-26 10:29:47'::timestamp) - extract(epoch from '2026-06-26 10:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044325 -2.807196)'), GeomFromEWKT('SRID=4674;POINT (-40.04427 -2.807152)'))) / (select extract(epoch from '2026-06-26 10:29:47'::timestamp) - extract(epoch from '2026-06-26 10:29: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'), 46941, 'SRID=4674;POINT (-40.04419 -2.807107)', '2026-06-26 10:29:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04427 -2.807152)'), GeomFromEWKT('SRID=4674;POINT (-40.04419 -2.807107)'))) / (select extract(epoch from '2026-06-26 10:29:56'::timestamp) - extract(epoch from '2026-06-26 10:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04427 -2.807152)'), GeomFromEWKT('SRID=4674;POINT (-40.04419 -2.807107)'))) / (select extract(epoch from '2026-06-26 10:29:56'::timestamp) - extract(epoch from '2026-06-26 10:29:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.0441 -2.807053)', '2026-06-26 10:30:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04419 -2.807107)'), GeomFromEWKT('SRID=4674;POINT (-40.0441 -2.807053)'))) / (select extract(epoch from '2026-06-26 10:30:05'::timestamp) - extract(epoch from '2026-06-26 10:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04419 -2.807107)'), GeomFromEWKT('SRID=4674;POINT (-40.0441 -2.807053)'))) / (select extract(epoch from '2026-06-26 10:30:05'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.044022 -2.807006)', '2026-06-26 10:30:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0441 -2.807053)'), GeomFromEWKT('SRID=4674;POINT (-40.044022 -2.807006)'))) / (select extract(epoch from '2026-06-26 10:30:13'::timestamp) - extract(epoch from '2026-06-26 10:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0441 -2.807053)'), GeomFromEWKT('SRID=4674;POINT (-40.044022 -2.807006)'))) / (select extract(epoch from '2026-06-26 10:30:13'::timestamp) - extract(epoch from '2026-06-26 10:30:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.043954 -2.806935)', '2026-06-26 10:30:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044022 -2.807006)'), GeomFromEWKT('SRID=4674;POINT (-40.043954 -2.806935)'))) / (select extract(epoch from '2026-06-26 10:30:21'::timestamp) - extract(epoch from '2026-06-26 10:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044022 -2.807006)'), GeomFromEWKT('SRID=4674;POINT (-40.043954 -2.806935)'))) / (select extract(epoch from '2026-06-26 10:30:21'::timestamp) - extract(epoch from '2026-06-26 10:30: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'), 46941, 'SRID=4674;POINT (-40.043878 -2.806842)', '2026-06-26 10:30:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043954 -2.806935)'), GeomFromEWKT('SRID=4674;POINT (-40.043878 -2.806842)'))) / (select extract(epoch from '2026-06-26 10:30:30'::timestamp) - extract(epoch from '2026-06-26 10:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043954 -2.806935)'), GeomFromEWKT('SRID=4674;POINT (-40.043878 -2.806842)'))) / (select extract(epoch from '2026-06-26 10:30:30'::timestamp) - extract(epoch from '2026-06-26 10:30: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'), 46941, 'SRID=4674;POINT (-40.043814 -2.806758)', '2026-06-26 10:30:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043878 -2.806842)'), GeomFromEWKT('SRID=4674;POINT (-40.043814 -2.806758)'))) / (select extract(epoch from '2026-06-26 10:30:38'::timestamp) - extract(epoch from '2026-06-26 10:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043878 -2.806842)'), GeomFromEWKT('SRID=4674;POINT (-40.043814 -2.806758)'))) / (select extract(epoch from '2026-06-26 10:30:38'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.043774 -2.806718)', '2026-06-26 10:30:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043814 -2.806758)'), GeomFromEWKT('SRID=4674;POINT (-40.043774 -2.806718)'))) / (select extract(epoch from '2026-06-26 10:30:45'::timestamp) - extract(epoch from '2026-06-26 10:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043814 -2.806758)'), GeomFromEWKT('SRID=4674;POINT (-40.043774 -2.806718)'))) / (select extract(epoch from '2026-06-26 10:30:45'::timestamp) - extract(epoch from '2026-06-26 10:30:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.043707 -2.80666)', '2026-06-26 10:30:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043774 -2.806718)'), GeomFromEWKT('SRID=4674;POINT (-40.043707 -2.80666)'))) / (select extract(epoch from '2026-06-26 10:30:53'::timestamp) - extract(epoch from '2026-06-26 10:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043774 -2.806718)'), GeomFromEWKT('SRID=4674;POINT (-40.043707 -2.80666)'))) / (select extract(epoch from '2026-06-26 10:30:53'::timestamp) - extract(epoch from '2026-06-26 10:30: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'), 46941, 'SRID=4674;POINT (-40.043641 -2.806609)', '2026-06-26 10:31:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043707 -2.80666)'), GeomFromEWKT('SRID=4674;POINT (-40.043641 -2.806609)'))) / (select extract(epoch from '2026-06-26 10:31:00'::timestamp) - extract(epoch from '2026-06-26 10:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043707 -2.80666)'), GeomFromEWKT('SRID=4674;POINT (-40.043641 -2.806609)'))) / (select extract(epoch from '2026-06-26 10:31:00'::timestamp) - extract(epoch from '2026-06-26 10:30: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'), 46941, 'SRID=4674;POINT (-40.043637 -2.8066)', '2026-06-26 10:31:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043641 -2.806609)'), GeomFromEWKT('SRID=4674;POINT (-40.043637 -2.8066)'))) / (select extract(epoch from '2026-06-26 10:31:01'::timestamp) - extract(epoch from '2026-06-26 10:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043641 -2.806609)'), GeomFromEWKT('SRID=4674;POINT (-40.043637 -2.8066)'))) / (select extract(epoch from '2026-06-26 10:31:01'::timestamp) - extract(epoch from '2026-06-26 10:31: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'), 46941, 'SRID=4674;POINT (-40.043624 -2.806537)', '2026-06-26 10:31:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043637 -2.8066)'), GeomFromEWKT('SRID=4674;POINT (-40.043624 -2.806537)'))) / (select extract(epoch from '2026-06-26 10:31:10'::timestamp) - extract(epoch from '2026-06-26 10:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043637 -2.8066)'), GeomFromEWKT('SRID=4674;POINT (-40.043624 -2.806537)'))) / (select extract(epoch from '2026-06-26 10:31:10'::timestamp) - extract(epoch from '2026-06-26 10:31: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'), 46941, 'SRID=4674;POINT (-40.043611 -2.806494)', '2026-06-26 10:31:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043624 -2.806537)'), GeomFromEWKT('SRID=4674;POINT (-40.043611 -2.806494)'))) / (select extract(epoch from '2026-06-26 10:31:18'::timestamp) - extract(epoch from '2026-06-26 10:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043624 -2.806537)'), GeomFromEWKT('SRID=4674;POINT (-40.043611 -2.806494)'))) / (select extract(epoch from '2026-06-26 10:31:18'::timestamp) - extract(epoch from '2026-06-26 10:31:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.043592 -2.806478)', '2026-06-26 10:31:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043611 -2.806494)'), GeomFromEWKT('SRID=4674;POINT (-40.043592 -2.806478)'))) / (select extract(epoch from '2026-06-26 10:31:28'::timestamp) - extract(epoch from '2026-06-26 10:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043611 -2.806494)'), GeomFromEWKT('SRID=4674;POINT (-40.043592 -2.806478)'))) / (select extract(epoch from '2026-06-26 10:31:28'::timestamp) - extract(epoch from '2026-06-26 10:31:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.04358 -2.806512)', '2026-06-26 10:31:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043592 -2.806478)'), GeomFromEWKT('SRID=4674;POINT (-40.04358 -2.806512)'))) / (select extract(epoch from '2026-06-26 10:31:38'::timestamp) - extract(epoch from '2026-06-26 10:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043592 -2.806478)'), GeomFromEWKT('SRID=4674;POINT (-40.04358 -2.806512)'))) / (select extract(epoch from '2026-06-26 10:31:38'::timestamp) - extract(epoch from '2026-06-26 10:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.043583 -2.806577)', '2026-06-26 10:31:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04358 -2.806512)'), GeomFromEWKT('SRID=4674;POINT (-40.043583 -2.806577)'))) / (select extract(epoch from '2026-06-26 10:31:47'::timestamp) - extract(epoch from '2026-06-26 10:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04358 -2.806512)'), GeomFromEWKT('SRID=4674;POINT (-40.043583 -2.806577)'))) / (select extract(epoch from '2026-06-26 10:31:47'::timestamp) - extract(epoch from '2026-06-26 10:31: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'), 46941, 'SRID=4674;POINT (-40.04358 -2.806618)', '2026-06-26 10:31:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043583 -2.806577)'), GeomFromEWKT('SRID=4674;POINT (-40.04358 -2.806618)'))) / (select extract(epoch from '2026-06-26 10:31:55'::timestamp) - extract(epoch from '2026-06-26 10:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043583 -2.806577)'), GeomFromEWKT('SRID=4674;POINT (-40.04358 -2.806618)'))) / (select extract(epoch from '2026-06-26 10:31:55'::timestamp) - extract(epoch from '2026-06-26 10:31: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'), 46941, 'SRID=4674;POINT (-40.043582 -2.806642)', '2026-06-26 10:32:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04358 -2.806618)'), GeomFromEWKT('SRID=4674;POINT (-40.043582 -2.806642)'))) / (select extract(epoch from '2026-06-26 10:32:03'::timestamp) - extract(epoch from '2026-06-26 10:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04358 -2.806618)'), GeomFromEWKT('SRID=4674;POINT (-40.043582 -2.806642)'))) / (select extract(epoch from '2026-06-26 10:32:03'::timestamp) - extract(epoch from '2026-06-26 10:31: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'), 46941, 'SRID=4674;POINT (-40.043594 -2.80663)', '2026-06-26 10:32:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043582 -2.806642)'), GeomFromEWKT('SRID=4674;POINT (-40.043594 -2.80663)'))) / (select extract(epoch from '2026-06-26 10:32:13'::timestamp) - extract(epoch from '2026-06-26 10:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043582 -2.806642)'), GeomFromEWKT('SRID=4674;POINT (-40.043594 -2.80663)'))) / (select extract(epoch from '2026-06-26 10:32:13'::timestamp) - extract(epoch from '2026-06-26 10:32: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'), 46941, 'SRID=4674;POINT (-40.04361 -2.806602)', '2026-06-26 10:32:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043594 -2.80663)'), GeomFromEWKT('SRID=4674;POINT (-40.04361 -2.806602)'))) / (select extract(epoch from '2026-06-26 10:32:20'::timestamp) - extract(epoch from '2026-06-26 10:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043594 -2.80663)'), GeomFromEWKT('SRID=4674;POINT (-40.04361 -2.806602)'))) / (select extract(epoch from '2026-06-26 10:32:20'::timestamp) - extract(epoch from '2026-06-26 10:32: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'), 46941, 'SRID=4674;POINT (-40.043624 -2.806579)', '2026-06-26 10:32:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04361 -2.806602)'), GeomFromEWKT('SRID=4674;POINT (-40.043624 -2.806579)'))) / (select extract(epoch from '2026-06-26 10:32:27'::timestamp) - extract(epoch from '2026-06-26 10:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04361 -2.806602)'), GeomFromEWKT('SRID=4674;POINT (-40.043624 -2.806579)'))) / (select extract(epoch from '2026-06-26 10:32:27'::timestamp) - extract(epoch from '2026-06-26 10:32: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'), 46941, 'SRID=4674;POINT (-40.043622 -2.806555)', '2026-06-26 10:32:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043624 -2.806579)'), GeomFromEWKT('SRID=4674;POINT (-40.043622 -2.806555)'))) / (select extract(epoch from '2026-06-26 10:32:34'::timestamp) - extract(epoch from '2026-06-26 10:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043624 -2.806579)'), GeomFromEWKT('SRID=4674;POINT (-40.043622 -2.806555)'))) / (select extract(epoch from '2026-06-26 10:32:34'::timestamp) - extract(epoch from '2026-06-26 10:32:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.043631 -2.806524)', '2026-06-26 10:32:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043622 -2.806555)'), GeomFromEWKT('SRID=4674;POINT (-40.043631 -2.806524)'))) / (select extract(epoch from '2026-06-26 10:32:43'::timestamp) - extract(epoch from '2026-06-26 10:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043622 -2.806555)'), GeomFromEWKT('SRID=4674;POINT (-40.043631 -2.806524)'))) / (select extract(epoch from '2026-06-26 10:32:43'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.043648 -2.80649)', '2026-06-26 10:32:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043631 -2.806524)'), GeomFromEWKT('SRID=4674;POINT (-40.043648 -2.80649)'))) / (select extract(epoch from '2026-06-26 10:32:52'::timestamp) - extract(epoch from '2026-06-26 10:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043631 -2.806524)'), GeomFromEWKT('SRID=4674;POINT (-40.043648 -2.80649)'))) / (select extract(epoch from '2026-06-26 10:32:52'::timestamp) - extract(epoch from '2026-06-26 10:32: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'), 46941, 'SRID=4674;POINT (-40.043662 -2.806455)', '2026-06-26 10:33:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043648 -2.80649)'), GeomFromEWKT('SRID=4674;POINT (-40.043662 -2.806455)'))) / (select extract(epoch from '2026-06-26 10:33:03'::timestamp) - extract(epoch from '2026-06-26 10:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043648 -2.80649)'), GeomFromEWKT('SRID=4674;POINT (-40.043662 -2.806455)'))) / (select extract(epoch from '2026-06-26 10:33:03'::timestamp) - extract(epoch from '2026-06-26 10:32: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'), 46941, 'SRID=4674;POINT (-40.043659 -2.806425)', '2026-06-26 10:33:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043662 -2.806455)'), GeomFromEWKT('SRID=4674;POINT (-40.043659 -2.806425)'))) / (select extract(epoch from '2026-06-26 10:33:11'::timestamp) - extract(epoch from '2026-06-26 10:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043662 -2.806455)'), GeomFromEWKT('SRID=4674;POINT (-40.043659 -2.806425)'))) / (select extract(epoch from '2026-06-26 10:33:11'::timestamp) - extract(epoch from '2026-06-26 10:33: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'), 46941, 'SRID=4674;POINT (-40.043606 -2.806381)', '2026-06-26 10:33:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043659 -2.806425)'), GeomFromEWKT('SRID=4674;POINT (-40.043606 -2.806381)'))) / (select extract(epoch from '2026-06-26 10:33:23'::timestamp) - extract(epoch from '2026-06-26 10:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043659 -2.806425)'), GeomFromEWKT('SRID=4674;POINT (-40.043606 -2.806381)'))) / (select extract(epoch from '2026-06-26 10:33:23'::timestamp) - extract(epoch from '2026-06-26 10:33: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'), 46941, 'SRID=4674;POINT (-40.043512 -2.806417)', '2026-06-26 10:33:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043606 -2.806381)'), GeomFromEWKT('SRID=4674;POINT (-40.043512 -2.806417)'))) / (select extract(epoch from '2026-06-26 10:33:36'::timestamp) - extract(epoch from '2026-06-26 10:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043606 -2.806381)'), GeomFromEWKT('SRID=4674;POINT (-40.043512 -2.806417)'))) / (select extract(epoch from '2026-06-26 10:33:36'::timestamp) - extract(epoch from '2026-06-26 10:33: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'), 46941, 'SRID=4674;POINT (-40.043527 -2.806503)', '2026-06-26 10:33:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043512 -2.806417)'), GeomFromEWKT('SRID=4674;POINT (-40.043527 -2.806503)'))) / (select extract(epoch from '2026-06-26 10:33:45'::timestamp) - extract(epoch from '2026-06-26 10:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043512 -2.806417)'), GeomFromEWKT('SRID=4674;POINT (-40.043527 -2.806503)'))) / (select extract(epoch from '2026-06-26 10:33:45'::timestamp) - extract(epoch from '2026-06-26 10:33: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'), 46941, 'SRID=4674;POINT (-40.043613 -2.806604)', '2026-06-26 10:33:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043527 -2.806503)'), GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.806604)'))) / (select extract(epoch from '2026-06-26 10:33:57'::timestamp) - extract(epoch from '2026-06-26 10:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043527 -2.806503)'), GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.806604)'))) / (select extract(epoch from '2026-06-26 10:33:57'::timestamp) - extract(epoch from '2026-06-26 10:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.043748 -2.806612)', '2026-06-26 10:34:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.806604)'), GeomFromEWKT('SRID=4674;POINT (-40.043748 -2.806612)'))) / (select extract(epoch from '2026-06-26 10:34:08'::timestamp) - extract(epoch from '2026-06-26 10:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.806604)'), GeomFromEWKT('SRID=4674;POINT (-40.043748 -2.806612)'))) / (select extract(epoch from '2026-06-26 10:34:08'::timestamp) - extract(epoch from '2026-06-26 10:33: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'), 46941, 'SRID=4674;POINT (-40.043784 -2.80653)', '2026-06-26 10:34:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043748 -2.806612)'), GeomFromEWKT('SRID=4674;POINT (-40.043784 -2.80653)'))) / (select extract(epoch from '2026-06-26 10:34:16'::timestamp) - extract(epoch from '2026-06-26 10:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043748 -2.806612)'), GeomFromEWKT('SRID=4674;POINT (-40.043784 -2.80653)'))) / (select extract(epoch from '2026-06-26 10:34:16'::timestamp) - extract(epoch from '2026-06-26 10:34: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'), 46941, 'SRID=4674;POINT (-40.043748 -2.806513)', '2026-06-26 10:34:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043784 -2.80653)'), GeomFromEWKT('SRID=4674;POINT (-40.043748 -2.806513)'))) / (select extract(epoch from '2026-06-26 10:34:23'::timestamp) - extract(epoch from '2026-06-26 10:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043784 -2.80653)'), GeomFromEWKT('SRID=4674;POINT (-40.043748 -2.806513)'))) / (select extract(epoch from '2026-06-26 10:34:23'::timestamp) - extract(epoch from '2026-06-26 10:34: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'), 46941, 'SRID=4674;POINT (-40.043662 -2.80651)', '2026-06-26 10:34:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043748 -2.806513)'), GeomFromEWKT('SRID=4674;POINT (-40.043662 -2.80651)'))) / (select extract(epoch from '2026-06-26 10:34:35'::timestamp) - extract(epoch from '2026-06-26 10:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043748 -2.806513)'), GeomFromEWKT('SRID=4674;POINT (-40.043662 -2.80651)'))) / (select extract(epoch from '2026-06-26 10:34:35'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.043614 -2.806481)', '2026-06-26 10:34:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043662 -2.80651)'), GeomFromEWKT('SRID=4674;POINT (-40.043614 -2.806481)'))) / (select extract(epoch from '2026-06-26 10:34:49'::timestamp) - extract(epoch from '2026-06-26 10:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043662 -2.80651)'), GeomFromEWKT('SRID=4674;POINT (-40.043614 -2.806481)'))) / (select extract(epoch from '2026-06-26 10:34:49'::timestamp) - extract(epoch from '2026-06-26 10:34: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'), 46941, 'SRID=4674;POINT (-40.043607 -2.806483)', '2026-06-26 10:35:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043614 -2.806481)'), GeomFromEWKT('SRID=4674;POINT (-40.043607 -2.806483)'))) / (select extract(epoch from '2026-06-26 10:35:01'::timestamp) - extract(epoch from '2026-06-26 10:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043614 -2.806481)'), GeomFromEWKT('SRID=4674;POINT (-40.043607 -2.806483)'))) / (select extract(epoch from '2026-06-26 10:35:01'::timestamp) - extract(epoch from '2026-06-26 10:34: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'), 46941, 'SRID=4674;POINT (-40.043604 -2.806555)', '2026-06-26 10:35:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043607 -2.806483)'), GeomFromEWKT('SRID=4674;POINT (-40.043604 -2.806555)'))) / (select extract(epoch from '2026-06-26 10:35:10'::timestamp) - extract(epoch from '2026-06-26 10:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043607 -2.806483)'), GeomFromEWKT('SRID=4674;POINT (-40.043604 -2.806555)'))) / (select extract(epoch from '2026-06-26 10:35:10'::timestamp) - extract(epoch from '2026-06-26 10:35: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'), 46941, 'SRID=4674;POINT (-40.043541 -2.8066)', '2026-06-26 10:35:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043604 -2.806555)'), GeomFromEWKT('SRID=4674;POINT (-40.043541 -2.8066)'))) / (select extract(epoch from '2026-06-26 10:35:18'::timestamp) - extract(epoch from '2026-06-26 10:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043604 -2.806555)'), GeomFromEWKT('SRID=4674;POINT (-40.043541 -2.8066)'))) / (select extract(epoch from '2026-06-26 10:35:18'::timestamp) - extract(epoch from '2026-06-26 10:35: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'), 46941, 'SRID=4674;POINT (-40.043517 -2.806594)', '2026-06-26 10:35:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043541 -2.8066)'), GeomFromEWKT('SRID=4674;POINT (-40.043517 -2.806594)'))) / (select extract(epoch from '2026-06-26 10:35:21'::timestamp) - extract(epoch from '2026-06-26 10:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043541 -2.8066)'), GeomFromEWKT('SRID=4674;POINT (-40.043517 -2.806594)'))) / (select extract(epoch from '2026-06-26 10:35:21'::timestamp) - extract(epoch from '2026-06-26 10:35: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'), 46941, 'SRID=4674;POINT (-40.043497 -2.806571)', '2026-06-26 10:35:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043517 -2.806594)'), GeomFromEWKT('SRID=4674;POINT (-40.043497 -2.806571)'))) / (select extract(epoch from '2026-06-26 10:35:24'::timestamp) - extract(epoch from '2026-06-26 10:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043517 -2.806594)'), GeomFromEWKT('SRID=4674;POINT (-40.043497 -2.806571)'))) / (select extract(epoch from '2026-06-26 10:35:24'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.043433 -2.806501)', '2026-06-26 10:35:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043497 -2.806571)'), GeomFromEWKT('SRID=4674;POINT (-40.043433 -2.806501)'))) / (select extract(epoch from '2026-06-26 10:35:33'::timestamp) - extract(epoch from '2026-06-26 10:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043497 -2.806571)'), GeomFromEWKT('SRID=4674;POINT (-40.043433 -2.806501)'))) / (select extract(epoch from '2026-06-26 10:35:33'::timestamp) - extract(epoch from '2026-06-26 10:35: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'), 46941, 'SRID=4674;POINT (-40.043318 -2.806479)', '2026-06-26 10:35:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043433 -2.806501)'), GeomFromEWKT('SRID=4674;POINT (-40.043318 -2.806479)'))) / (select extract(epoch from '2026-06-26 10:35:42'::timestamp) - extract(epoch from '2026-06-26 10:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043433 -2.806501)'), GeomFromEWKT('SRID=4674;POINT (-40.043318 -2.806479)'))) / (select extract(epoch from '2026-06-26 10:35:42'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.043193 -2.806473)', '2026-06-26 10:35:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043318 -2.806479)'), GeomFromEWKT('SRID=4674;POINT (-40.043193 -2.806473)'))) / (select extract(epoch from '2026-06-26 10:35:51'::timestamp) - extract(epoch from '2026-06-26 10:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043318 -2.806479)'), GeomFromEWKT('SRID=4674;POINT (-40.043193 -2.806473)'))) / (select extract(epoch from '2026-06-26 10:35:51'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.04311 -2.806443)', '2026-06-26 10:35:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043193 -2.806473)'), GeomFromEWKT('SRID=4674;POINT (-40.04311 -2.806443)'))) / (select extract(epoch from '2026-06-26 10:35:58'::timestamp) - extract(epoch from '2026-06-26 10:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043193 -2.806473)'), GeomFromEWKT('SRID=4674;POINT (-40.04311 -2.806443)'))) / (select extract(epoch from '2026-06-26 10:35:58'::timestamp) - extract(epoch from '2026-06-26 10:35: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'), 46941, 'SRID=4674;POINT (-40.043015 -2.806393)', '2026-06-26 10:36:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04311 -2.806443)'), GeomFromEWKT('SRID=4674;POINT (-40.043015 -2.806393)'))) / (select extract(epoch from '2026-06-26 10:36:06'::timestamp) - extract(epoch from '2026-06-26 10:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04311 -2.806443)'), GeomFromEWKT('SRID=4674;POINT (-40.043015 -2.806393)'))) / (select extract(epoch from '2026-06-26 10:36:06'::timestamp) - extract(epoch from '2026-06-26 10:35: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'), 46941, 'SRID=4674;POINT (-40.0429 -2.806312)', '2026-06-26 10:36:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043015 -2.806393)'), GeomFromEWKT('SRID=4674;POINT (-40.0429 -2.806312)'))) / (select extract(epoch from '2026-06-26 10:36:16'::timestamp) - extract(epoch from '2026-06-26 10:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043015 -2.806393)'), GeomFromEWKT('SRID=4674;POINT (-40.0429 -2.806312)'))) / (select extract(epoch from '2026-06-26 10:36:16'::timestamp) - extract(epoch from '2026-06-26 10:36: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'), 46941, 'SRID=4674;POINT (-40.042826 -2.806259)', '2026-06-26 10:36:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0429 -2.806312)'), GeomFromEWKT('SRID=4674;POINT (-40.042826 -2.806259)'))) / (select extract(epoch from '2026-06-26 10:36:23'::timestamp) - extract(epoch from '2026-06-26 10:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0429 -2.806312)'), GeomFromEWKT('SRID=4674;POINT (-40.042826 -2.806259)'))) / (select extract(epoch from '2026-06-26 10:36:23'::timestamp) - extract(epoch from '2026-06-26 10:36:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.04274 -2.806205)', '2026-06-26 10:36:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042826 -2.806259)'), GeomFromEWKT('SRID=4674;POINT (-40.04274 -2.806205)'))) / (select extract(epoch from '2026-06-26 10:36:31'::timestamp) - extract(epoch from '2026-06-26 10:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042826 -2.806259)'), GeomFromEWKT('SRID=4674;POINT (-40.04274 -2.806205)'))) / (select extract(epoch from '2026-06-26 10:36:31'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.042632 -2.806164)', '2026-06-26 10:36:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04274 -2.806205)'), GeomFromEWKT('SRID=4674;POINT (-40.042632 -2.806164)'))) / (select extract(epoch from '2026-06-26 10:36:40'::timestamp) - extract(epoch from '2026-06-26 10:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04274 -2.806205)'), GeomFromEWKT('SRID=4674;POINT (-40.042632 -2.806164)'))) / (select extract(epoch from '2026-06-26 10:36:40'::timestamp) - extract(epoch from '2026-06-26 10:36: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'), 46941, 'SRID=4674;POINT (-40.04251 -2.806131)', '2026-06-26 10:36:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042632 -2.806164)'), GeomFromEWKT('SRID=4674;POINT (-40.04251 -2.806131)'))) / (select extract(epoch from '2026-06-26 10:36:50'::timestamp) - extract(epoch from '2026-06-26 10:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042632 -2.806164)'), GeomFromEWKT('SRID=4674;POINT (-40.04251 -2.806131)'))) / (select extract(epoch from '2026-06-26 10:36:50'::timestamp) - extract(epoch from '2026-06-26 10:36: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'), 46941, 'SRID=4674;POINT (-40.042409 -2.806078)', '2026-06-26 10:36:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04251 -2.806131)'), GeomFromEWKT('SRID=4674;POINT (-40.042409 -2.806078)'))) / (select extract(epoch from '2026-06-26 10:36:59'::timestamp) - extract(epoch from '2026-06-26 10:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04251 -2.806131)'), GeomFromEWKT('SRID=4674;POINT (-40.042409 -2.806078)'))) / (select extract(epoch from '2026-06-26 10:36:59'::timestamp) - extract(epoch from '2026-06-26 10:36: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'), 46941, 'SRID=4674;POINT (-40.042304 -2.806024)', '2026-06-26 10:37:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042409 -2.806078)'), GeomFromEWKT('SRID=4674;POINT (-40.042304 -2.806024)'))) / (select extract(epoch from '2026-06-26 10:37:09'::timestamp) - extract(epoch from '2026-06-26 10:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042409 -2.806078)'), GeomFromEWKT('SRID=4674;POINT (-40.042304 -2.806024)'))) / (select extract(epoch from '2026-06-26 10:37:09'::timestamp) - extract(epoch from '2026-06-26 10:36: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'), 46941, 'SRID=4674;POINT (-40.042166 -2.805964)', '2026-06-26 10:37:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042304 -2.806024)'), GeomFromEWKT('SRID=4674;POINT (-40.042166 -2.805964)'))) / (select extract(epoch from '2026-06-26 10:37:20'::timestamp) - extract(epoch from '2026-06-26 10:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042304 -2.806024)'), GeomFromEWKT('SRID=4674;POINT (-40.042166 -2.805964)'))) / (select extract(epoch from '2026-06-26 10:37:20'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.042084 -2.805924)', '2026-06-26 10:37:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042166 -2.805964)'), GeomFromEWKT('SRID=4674;POINT (-40.042084 -2.805924)'))) / (select extract(epoch from '2026-06-26 10:37:27'::timestamp) - extract(epoch from '2026-06-26 10:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042166 -2.805964)'), GeomFromEWKT('SRID=4674;POINT (-40.042084 -2.805924)'))) / (select extract(epoch from '2026-06-26 10:37:27'::timestamp) - extract(epoch from '2026-06-26 10:37: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'), 46941, 'SRID=4674;POINT (-40.04199 -2.805875)', '2026-06-26 10:37:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042084 -2.805924)'), GeomFromEWKT('SRID=4674;POINT (-40.04199 -2.805875)'))) / (select extract(epoch from '2026-06-26 10:37:35'::timestamp) - extract(epoch from '2026-06-26 10:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042084 -2.805924)'), GeomFromEWKT('SRID=4674;POINT (-40.04199 -2.805875)'))) / (select extract(epoch from '2026-06-26 10:37:35'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.041916 -2.805833)', '2026-06-26 10:37:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04199 -2.805875)'), GeomFromEWKT('SRID=4674;POINT (-40.041916 -2.805833)'))) / (select extract(epoch from '2026-06-26 10:37:42'::timestamp) - extract(epoch from '2026-06-26 10:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04199 -2.805875)'), GeomFromEWKT('SRID=4674;POINT (-40.041916 -2.805833)'))) / (select extract(epoch from '2026-06-26 10:37:42'::timestamp) - extract(epoch from '2026-06-26 10:37: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'), 46941, 'SRID=4674;POINT (-40.041837 -2.805799)', '2026-06-26 10:37:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041916 -2.805833)'), GeomFromEWKT('SRID=4674;POINT (-40.041837 -2.805799)'))) / (select extract(epoch from '2026-06-26 10:37:49'::timestamp) - extract(epoch from '2026-06-26 10:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041916 -2.805833)'), GeomFromEWKT('SRID=4674;POINT (-40.041837 -2.805799)'))) / (select extract(epoch from '2026-06-26 10:37:49'::timestamp) - extract(epoch from '2026-06-26 10:37:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041774 -2.80578)', '2026-06-26 10:37:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041837 -2.805799)'), GeomFromEWKT('SRID=4674;POINT (-40.041774 -2.80578)'))) / (select extract(epoch from '2026-06-26 10:37:55'::timestamp) - extract(epoch from '2026-06-26 10:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041837 -2.805799)'), GeomFromEWKT('SRID=4674;POINT (-40.041774 -2.80578)'))) / (select extract(epoch from '2026-06-26 10:37:55'::timestamp) - extract(epoch from '2026-06-26 10:37: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'), 46941, 'SRID=4674;POINT (-40.041753 -2.805773)', '2026-06-26 10:37:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041774 -2.80578)'), GeomFromEWKT('SRID=4674;POINT (-40.041753 -2.805773)'))) / (select extract(epoch from '2026-06-26 10:37:57'::timestamp) - extract(epoch from '2026-06-26 10:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041774 -2.80578)'), GeomFromEWKT('SRID=4674;POINT (-40.041753 -2.805773)'))) / (select extract(epoch from '2026-06-26 10:37:57'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.041678 -2.805746)', '2026-06-26 10:38:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041753 -2.805773)'), GeomFromEWKT('SRID=4674;POINT (-40.041678 -2.805746)'))) / (select extract(epoch from '2026-06-26 10:38:05'::timestamp) - extract(epoch from '2026-06-26 10:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041753 -2.805773)'), GeomFromEWKT('SRID=4674;POINT (-40.041678 -2.805746)'))) / (select extract(epoch from '2026-06-26 10:38:05'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.041594 -2.805712)', '2026-06-26 10:38:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041678 -2.805746)'), GeomFromEWKT('SRID=4674;POINT (-40.041594 -2.805712)'))) / (select extract(epoch from '2026-06-26 10:38:13'::timestamp) - extract(epoch from '2026-06-26 10:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041678 -2.805746)'), GeomFromEWKT('SRID=4674;POINT (-40.041594 -2.805712)'))) / (select extract(epoch from '2026-06-26 10:38:13'::timestamp) - extract(epoch from '2026-06-26 10:38: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'), 46941, 'SRID=4674;POINT (-40.041523 -2.805669)', '2026-06-26 10:38:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041594 -2.805712)'), GeomFromEWKT('SRID=4674;POINT (-40.041523 -2.805669)'))) / (select extract(epoch from '2026-06-26 10:38:20'::timestamp) - extract(epoch from '2026-06-26 10:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041594 -2.805712)'), GeomFromEWKT('SRID=4674;POINT (-40.041523 -2.805669)'))) / (select extract(epoch from '2026-06-26 10:38:20'::timestamp) - extract(epoch from '2026-06-26 10:38: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'), 46941, 'SRID=4674;POINT (-40.041456 -2.805635)', '2026-06-26 10:38:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041523 -2.805669)'), GeomFromEWKT('SRID=4674;POINT (-40.041456 -2.805635)'))) / (select extract(epoch from '2026-06-26 10:38:27'::timestamp) - extract(epoch from '2026-06-26 10:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041523 -2.805669)'), GeomFromEWKT('SRID=4674;POINT (-40.041456 -2.805635)'))) / (select extract(epoch from '2026-06-26 10:38:27'::timestamp) - extract(epoch from '2026-06-26 10:38:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041371 -2.805621)', '2026-06-26 10:38:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041456 -2.805635)'), GeomFromEWKT('SRID=4674;POINT (-40.041371 -2.805621)'))) / (select extract(epoch from '2026-06-26 10:38:34'::timestamp) - extract(epoch from '2026-06-26 10:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041456 -2.805635)'), GeomFromEWKT('SRID=4674;POINT (-40.041371 -2.805621)'))) / (select extract(epoch from '2026-06-26 10:38:34'::timestamp) - extract(epoch from '2026-06-26 10:38:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041301 -2.805601)', '2026-06-26 10:38:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041371 -2.805621)'), GeomFromEWKT('SRID=4674;POINT (-40.041301 -2.805601)'))) / (select extract(epoch from '2026-06-26 10:38:41'::timestamp) - extract(epoch from '2026-06-26 10:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041371 -2.805621)'), GeomFromEWKT('SRID=4674;POINT (-40.041301 -2.805601)'))) / (select extract(epoch from '2026-06-26 10:38:41'::timestamp) - extract(epoch from '2026-06-26 10:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041221 -2.805544)', '2026-06-26 10:38:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041301 -2.805601)'), GeomFromEWKT('SRID=4674;POINT (-40.041221 -2.805544)'))) / (select extract(epoch from '2026-06-26 10:38:49'::timestamp) - extract(epoch from '2026-06-26 10:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041301 -2.805601)'), GeomFromEWKT('SRID=4674;POINT (-40.041221 -2.805544)'))) / (select extract(epoch from '2026-06-26 10:38:49'::timestamp) - extract(epoch from '2026-06-26 10:38:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041171 -2.805512)', '2026-06-26 10:38:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041221 -2.805544)'), GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.805512)'))) / (select extract(epoch from '2026-06-26 10:38:55'::timestamp) - extract(epoch from '2026-06-26 10:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041221 -2.805544)'), GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.805512)'))) / (select extract(epoch from '2026-06-26 10:38:55'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.041108 -2.805478)', '2026-06-26 10:39:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.805512)'), GeomFromEWKT('SRID=4674;POINT (-40.041108 -2.805478)'))) / (select extract(epoch from '2026-06-26 10:39:02'::timestamp) - extract(epoch from '2026-06-26 10:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041171 -2.805512)'), GeomFromEWKT('SRID=4674;POINT (-40.041108 -2.805478)'))) / (select extract(epoch from '2026-06-26 10:39:02'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.041076 -2.805444)', '2026-06-26 10:39:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041108 -2.805478)'), GeomFromEWKT('SRID=4674;POINT (-40.041076 -2.805444)'))) / (select extract(epoch from '2026-06-26 10:39:10'::timestamp) - extract(epoch from '2026-06-26 10:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041108 -2.805478)'), GeomFromEWKT('SRID=4674;POINT (-40.041076 -2.805444)'))) / (select extract(epoch from '2026-06-26 10:39:10'::timestamp) - extract(epoch from '2026-06-26 10:39: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'), 46941, 'SRID=4674;POINT (-40.04106 -2.805381)', '2026-06-26 10:39:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041076 -2.805444)'), GeomFromEWKT('SRID=4674;POINT (-40.04106 -2.805381)'))) / (select extract(epoch from '2026-06-26 10:39:21'::timestamp) - extract(epoch from '2026-06-26 10:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041076 -2.805444)'), GeomFromEWKT('SRID=4674;POINT (-40.04106 -2.805381)'))) / (select extract(epoch from '2026-06-26 10:39:21'::timestamp) - extract(epoch from '2026-06-26 10:39: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'), 46941, 'SRID=4674;POINT (-40.041051 -2.805348)', '2026-06-26 10:39:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04106 -2.805381)'), GeomFromEWKT('SRID=4674;POINT (-40.041051 -2.805348)'))) / (select extract(epoch from '2026-06-26 10:39:31'::timestamp) - extract(epoch from '2026-06-26 10:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04106 -2.805381)'), GeomFromEWKT('SRID=4674;POINT (-40.041051 -2.805348)'))) / (select extract(epoch from '2026-06-26 10:39:31'::timestamp) - extract(epoch from '2026-06-26 10:39: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'), 46941, 'SRID=4674;POINT (-40.041026 -2.805325)', '2026-06-26 10:39:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041051 -2.805348)'), GeomFromEWKT('SRID=4674;POINT (-40.041026 -2.805325)'))) / (select extract(epoch from '2026-06-26 10:39:46'::timestamp) - extract(epoch from '2026-06-26 10:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041051 -2.805348)'), GeomFromEWKT('SRID=4674;POINT (-40.041026 -2.805325)'))) / (select extract(epoch from '2026-06-26 10:39:46'::timestamp) - extract(epoch from '2026-06-26 10:39:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041018 -2.805379)', '2026-06-26 10:39:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041026 -2.805325)'), GeomFromEWKT('SRID=4674;POINT (-40.041018 -2.805379)'))) / (select extract(epoch from '2026-06-26 10:39:56'::timestamp) - extract(epoch from '2026-06-26 10:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041026 -2.805325)'), GeomFromEWKT('SRID=4674;POINT (-40.041018 -2.805379)'))) / (select extract(epoch from '2026-06-26 10:39:56'::timestamp) - extract(epoch from '2026-06-26 10:39: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'), 46941, 'SRID=4674;POINT (-40.041061 -2.805471)', '2026-06-26 10:40:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041018 -2.805379)'), GeomFromEWKT('SRID=4674;POINT (-40.041061 -2.805471)'))) / (select extract(epoch from '2026-06-26 10:40:07'::timestamp) - extract(epoch from '2026-06-26 10:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041018 -2.805379)'), GeomFromEWKT('SRID=4674;POINT (-40.041061 -2.805471)'))) / (select extract(epoch from '2026-06-26 10:40:07'::timestamp) - extract(epoch from '2026-06-26 10:39: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'), 46941, 'SRID=4674;POINT (-40.041105 -2.805525)', '2026-06-26 10:40:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041061 -2.805471)'), GeomFromEWKT('SRID=4674;POINT (-40.041105 -2.805525)'))) / (select extract(epoch from '2026-06-26 10:40:14'::timestamp) - extract(epoch from '2026-06-26 10:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041061 -2.805471)'), GeomFromEWKT('SRID=4674;POINT (-40.041105 -2.805525)'))) / (select extract(epoch from '2026-06-26 10:40:14'::timestamp) - extract(epoch from '2026-06-26 10:40: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'), 46941, 'SRID=4674;POINT (-40.041131 -2.805583)', '2026-06-26 10:40:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041105 -2.805525)'), GeomFromEWKT('SRID=4674;POINT (-40.041131 -2.805583)'))) / (select extract(epoch from '2026-06-26 10:40:21'::timestamp) - extract(epoch from '2026-06-26 10:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041105 -2.805525)'), GeomFromEWKT('SRID=4674;POINT (-40.041131 -2.805583)'))) / (select extract(epoch from '2026-06-26 10:40:21'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.041123 -2.805634)', '2026-06-26 10:40:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041131 -2.805583)'), GeomFromEWKT('SRID=4674;POINT (-40.041123 -2.805634)'))) / (select extract(epoch from '2026-06-26 10:40:31'::timestamp) - extract(epoch from '2026-06-26 10:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041131 -2.805583)'), GeomFromEWKT('SRID=4674;POINT (-40.041123 -2.805634)'))) / (select extract(epoch from '2026-06-26 10:40:31'::timestamp) - extract(epoch from '2026-06-26 10:40: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'), 46941, 'SRID=4674;POINT (-40.04111 -2.805618)', '2026-06-26 10:40:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041123 -2.805634)'), GeomFromEWKT('SRID=4674;POINT (-40.04111 -2.805618)'))) / (select extract(epoch from '2026-06-26 10:40:40'::timestamp) - extract(epoch from '2026-06-26 10:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041123 -2.805634)'), GeomFromEWKT('SRID=4674;POINT (-40.04111 -2.805618)'))) / (select extract(epoch from '2026-06-26 10:40:40'::timestamp) - extract(epoch from '2026-06-26 10:40:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041151 -2.805574)', '2026-06-26 10:40:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04111 -2.805618)'), GeomFromEWKT('SRID=4674;POINT (-40.041151 -2.805574)'))) / (select extract(epoch from '2026-06-26 10:40:48'::timestamp) - extract(epoch from '2026-06-26 10:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04111 -2.805618)'), GeomFromEWKT('SRID=4674;POINT (-40.041151 -2.805574)'))) / (select extract(epoch from '2026-06-26 10:40:48'::timestamp) - extract(epoch from '2026-06-26 10:40: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'), 46941, 'SRID=4674;POINT (-40.041216 -2.805559)', '2026-06-26 10:40:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041151 -2.805574)'), GeomFromEWKT('SRID=4674;POINT (-40.041216 -2.805559)'))) / (select extract(epoch from '2026-06-26 10:40:55'::timestamp) - extract(epoch from '2026-06-26 10:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041151 -2.805574)'), GeomFromEWKT('SRID=4674;POINT (-40.041216 -2.805559)'))) / (select extract(epoch from '2026-06-26 10:40:55'::timestamp) - extract(epoch from '2026-06-26 10:40: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'), 46941, 'SRID=4674;POINT (-40.041314 -2.805548)', '2026-06-26 10:41:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041216 -2.805559)'), GeomFromEWKT('SRID=4674;POINT (-40.041314 -2.805548)'))) / (select extract(epoch from '2026-06-26 10:41:07'::timestamp) - extract(epoch from '2026-06-26 10:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041216 -2.805559)'), GeomFromEWKT('SRID=4674;POINT (-40.041314 -2.805548)'))) / (select extract(epoch from '2026-06-26 10:41:07'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.041374 -2.805511)', '2026-06-26 10:41:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041314 -2.805548)'), GeomFromEWKT('SRID=4674;POINT (-40.041374 -2.805511)'))) / (select extract(epoch from '2026-06-26 10:41:16'::timestamp) - extract(epoch from '2026-06-26 10:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041314 -2.805548)'), GeomFromEWKT('SRID=4674;POINT (-40.041374 -2.805511)'))) / (select extract(epoch from '2026-06-26 10:41:16'::timestamp) - extract(epoch from '2026-06-26 10:41: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'), 46941, 'SRID=4674;POINT (-40.041388 -2.805447)', '2026-06-26 10:41:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041374 -2.805511)'), GeomFromEWKT('SRID=4674;POINT (-40.041388 -2.805447)'))) / (select extract(epoch from '2026-06-26 10:41:22'::timestamp) - extract(epoch from '2026-06-26 10:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041374 -2.805511)'), GeomFromEWKT('SRID=4674;POINT (-40.041388 -2.805447)'))) / (select extract(epoch from '2026-06-26 10:41:22'::timestamp) - extract(epoch from '2026-06-26 10:41: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'), 46941, 'SRID=4674;POINT (-40.041385 -2.805437)', '2026-06-26 10:41:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041388 -2.805447)'), GeomFromEWKT('SRID=4674;POINT (-40.041385 -2.805437)'))) / (select extract(epoch from '2026-06-26 10:41:23'::timestamp) - extract(epoch from '2026-06-26 10:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041388 -2.805447)'), GeomFromEWKT('SRID=4674;POINT (-40.041385 -2.805437)'))) / (select extract(epoch from '2026-06-26 10:41:23'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.041374 -2.80542)', '2026-06-26 10:41:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041385 -2.805437)'), GeomFromEWKT('SRID=4674;POINT (-40.041374 -2.80542)'))) / (select extract(epoch from '2026-06-26 10:41:25'::timestamp) - extract(epoch from '2026-06-26 10:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041385 -2.805437)'), GeomFromEWKT('SRID=4674;POINT (-40.041374 -2.80542)'))) / (select extract(epoch from '2026-06-26 10:41:25'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.041361 -2.805409)', '2026-06-26 10:41:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041374 -2.80542)'), GeomFromEWKT('SRID=4674;POINT (-40.041361 -2.805409)'))) / (select extract(epoch from '2026-06-26 10:41:27'::timestamp) - extract(epoch from '2026-06-26 10:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041374 -2.80542)'), GeomFromEWKT('SRID=4674;POINT (-40.041361 -2.805409)'))) / (select extract(epoch from '2026-06-26 10:41:27'::timestamp) - extract(epoch from '2026-06-26 10:41: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'), 46941, 'SRID=4674;POINT (-40.041306 -2.805395)', '2026-06-26 10:41:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041361 -2.805409)'), GeomFromEWKT('SRID=4674;POINT (-40.041306 -2.805395)'))) / (select extract(epoch from '2026-06-26 10:41:34'::timestamp) - extract(epoch from '2026-06-26 10:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041361 -2.805409)'), GeomFromEWKT('SRID=4674;POINT (-40.041306 -2.805395)'))) / (select extract(epoch from '2026-06-26 10:41:34'::timestamp) - extract(epoch from '2026-06-26 10:41: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'), 46941, 'SRID=4674;POINT (-40.041216 -2.805426)', '2026-06-26 10:41:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041306 -2.805395)'), GeomFromEWKT('SRID=4674;POINT (-40.041216 -2.805426)'))) / (select extract(epoch from '2026-06-26 10:41:42'::timestamp) - extract(epoch from '2026-06-26 10:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041306 -2.805395)'), GeomFromEWKT('SRID=4674;POINT (-40.041216 -2.805426)'))) / (select extract(epoch from '2026-06-26 10:41:42'::timestamp) - extract(epoch from '2026-06-26 10:41: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'), 46941, 'SRID=4674;POINT (-40.041103 -2.805458)', '2026-06-26 10:41:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041216 -2.805426)'), GeomFromEWKT('SRID=4674;POINT (-40.041103 -2.805458)'))) / (select extract(epoch from '2026-06-26 10:41:51'::timestamp) - extract(epoch from '2026-06-26 10:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041216 -2.805426)'), GeomFromEWKT('SRID=4674;POINT (-40.041103 -2.805458)'))) / (select extract(epoch from '2026-06-26 10:41:51'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.041048 -2.805454)', '2026-06-26 10:41:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041103 -2.805458)'), GeomFromEWKT('SRID=4674;POINT (-40.041048 -2.805454)'))) / (select extract(epoch from '2026-06-26 10:41:58'::timestamp) - extract(epoch from '2026-06-26 10:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041103 -2.805458)'), GeomFromEWKT('SRID=4674;POINT (-40.041048 -2.805454)'))) / (select extract(epoch from '2026-06-26 10:41:58'::timestamp) - extract(epoch from '2026-06-26 10:41: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'), 46941, 'SRID=4674;POINT (-40.04103 -2.805439)', '2026-06-26 10:42:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041048 -2.805454)'), GeomFromEWKT('SRID=4674;POINT (-40.04103 -2.805439)'))) / (select extract(epoch from '2026-06-26 10:42:10'::timestamp) - extract(epoch from '2026-06-26 10:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041048 -2.805454)'), GeomFromEWKT('SRID=4674;POINT (-40.04103 -2.805439)'))) / (select extract(epoch from '2026-06-26 10:42:10'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.041034 -2.80542)', '2026-06-26 10:42:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04103 -2.805439)'), GeomFromEWKT('SRID=4674;POINT (-40.041034 -2.80542)'))) / (select extract(epoch from '2026-06-26 10:42:16'::timestamp) - extract(epoch from '2026-06-26 10:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04103 -2.805439)'), GeomFromEWKT('SRID=4674;POINT (-40.041034 -2.80542)'))) / (select extract(epoch from '2026-06-26 10:42:16'::timestamp) - extract(epoch from '2026-06-26 10:42: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'), 46941, 'SRID=4674;POINT (-40.041028 -2.805374)', '2026-06-26 10:42:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041034 -2.80542)'), GeomFromEWKT('SRID=4674;POINT (-40.041028 -2.805374)'))) / (select extract(epoch from '2026-06-26 10:42:27'::timestamp) - extract(epoch from '2026-06-26 10:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041034 -2.80542)'), GeomFromEWKT('SRID=4674;POINT (-40.041028 -2.805374)'))) / (select extract(epoch from '2026-06-26 10:42:27'::timestamp) - extract(epoch from '2026-06-26 10:42: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'), 46941, 'SRID=4674;POINT (-40.041046 -2.805296)', '2026-06-26 10:42:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041028 -2.805374)'), GeomFromEWKT('SRID=4674;POINT (-40.041046 -2.805296)'))) / (select extract(epoch from '2026-06-26 10:42:34'::timestamp) - extract(epoch from '2026-06-26 10:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041028 -2.805374)'), GeomFromEWKT('SRID=4674;POINT (-40.041046 -2.805296)'))) / (select extract(epoch from '2026-06-26 10:42:34'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.04105 -2.805201)', '2026-06-26 10:42:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041046 -2.805296)'), GeomFromEWKT('SRID=4674;POINT (-40.04105 -2.805201)'))) / (select extract(epoch from '2026-06-26 10:42:41'::timestamp) - extract(epoch from '2026-06-26 10:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041046 -2.805296)'), GeomFromEWKT('SRID=4674;POINT (-40.04105 -2.805201)'))) / (select extract(epoch from '2026-06-26 10:42:41'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.041002 -2.805119)', '2026-06-26 10:42:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04105 -2.805201)'), GeomFromEWKT('SRID=4674;POINT (-40.041002 -2.805119)'))) / (select extract(epoch from '2026-06-26 10:42:48'::timestamp) - extract(epoch from '2026-06-26 10:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04105 -2.805201)'), GeomFromEWKT('SRID=4674;POINT (-40.041002 -2.805119)'))) / (select extract(epoch from '2026-06-26 10:42:48'::timestamp) - extract(epoch from '2026-06-26 10:42: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'), 46941, 'SRID=4674;POINT (-40.04093 -2.805034)', '2026-06-26 10:42:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041002 -2.805119)'), GeomFromEWKT('SRID=4674;POINT (-40.04093 -2.805034)'))) / (select extract(epoch from '2026-06-26 10:42:56'::timestamp) - extract(epoch from '2026-06-26 10:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041002 -2.805119)'), GeomFromEWKT('SRID=4674;POINT (-40.04093 -2.805034)'))) / (select extract(epoch from '2026-06-26 10:42:56'::timestamp) - extract(epoch from '2026-06-26 10:42: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'), 46941, 'SRID=4674;POINT (-40.040877 -2.804969)', '2026-06-26 10:43:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04093 -2.805034)'), GeomFromEWKT('SRID=4674;POINT (-40.040877 -2.804969)'))) / (select extract(epoch from '2026-06-26 10:43:03'::timestamp) - extract(epoch from '2026-06-26 10:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04093 -2.805034)'), GeomFromEWKT('SRID=4674;POINT (-40.040877 -2.804969)'))) / (select extract(epoch from '2026-06-26 10:43:03'::timestamp) - extract(epoch from '2026-06-26 10:42: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'), 46941, 'SRID=4674;POINT (-40.040786 -2.80487)', '2026-06-26 10:43:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040877 -2.804969)'), GeomFromEWKT('SRID=4674;POINT (-40.040786 -2.80487)'))) / (select extract(epoch from '2026-06-26 10:43:14'::timestamp) - extract(epoch from '2026-06-26 10:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040877 -2.804969)'), GeomFromEWKT('SRID=4674;POINT (-40.040786 -2.80487)'))) / (select extract(epoch from '2026-06-26 10:43:14'::timestamp) - extract(epoch from '2026-06-26 10:43: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'), 46941, 'SRID=4674;POINT (-40.040725 -2.804781)', '2026-06-26 10:43:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040786 -2.80487)'), GeomFromEWKT('SRID=4674;POINT (-40.040725 -2.804781)'))) / (select extract(epoch from '2026-06-26 10:43:22'::timestamp) - extract(epoch from '2026-06-26 10:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040786 -2.80487)'), GeomFromEWKT('SRID=4674;POINT (-40.040725 -2.804781)'))) / (select extract(epoch from '2026-06-26 10:43:22'::timestamp) - extract(epoch from '2026-06-26 10:43: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'), 46941, 'SRID=4674;POINT (-40.040671 -2.804709)', '2026-06-26 10:43:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040725 -2.804781)'), GeomFromEWKT('SRID=4674;POINT (-40.040671 -2.804709)'))) / (select extract(epoch from '2026-06-26 10:43:29'::timestamp) - extract(epoch from '2026-06-26 10:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040725 -2.804781)'), GeomFromEWKT('SRID=4674;POINT (-40.040671 -2.804709)'))) / (select extract(epoch from '2026-06-26 10:43:29'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.040618 -2.804645)', '2026-06-26 10:43:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040671 -2.804709)'), GeomFromEWKT('SRID=4674;POINT (-40.040618 -2.804645)'))) / (select extract(epoch from '2026-06-26 10:43:36'::timestamp) - extract(epoch from '2026-06-26 10:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040671 -2.804709)'), GeomFromEWKT('SRID=4674;POINT (-40.040618 -2.804645)'))) / (select extract(epoch from '2026-06-26 10:43:36'::timestamp) - extract(epoch from '2026-06-26 10:43:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040557 -2.804578)', '2026-06-26 10:43:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040618 -2.804645)'), GeomFromEWKT('SRID=4674;POINT (-40.040557 -2.804578)'))) / (select extract(epoch from '2026-06-26 10:43:43'::timestamp) - extract(epoch from '2026-06-26 10:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040618 -2.804645)'), GeomFromEWKT('SRID=4674;POINT (-40.040557 -2.804578)'))) / (select extract(epoch from '2026-06-26 10:43:43'::timestamp) - extract(epoch from '2026-06-26 10:43: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'), 46941, 'SRID=4674;POINT (-40.040518 -2.804494)', '2026-06-26 10:43:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040557 -2.804578)'), GeomFromEWKT('SRID=4674;POINT (-40.040518 -2.804494)'))) / (select extract(epoch from '2026-06-26 10:43:49'::timestamp) - extract(epoch from '2026-06-26 10:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040557 -2.804578)'), GeomFromEWKT('SRID=4674;POINT (-40.040518 -2.804494)'))) / (select extract(epoch from '2026-06-26 10:43:49'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.040483 -2.804389)', '2026-06-26 10:43:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040518 -2.804494)'), GeomFromEWKT('SRID=4674;POINT (-40.040483 -2.804389)'))) / (select extract(epoch from '2026-06-26 10:43:56'::timestamp) - extract(epoch from '2026-06-26 10:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040518 -2.804494)'), GeomFromEWKT('SRID=4674;POINT (-40.040483 -2.804389)'))) / (select extract(epoch from '2026-06-26 10:43:56'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.040449 -2.804298)', '2026-06-26 10:44:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040483 -2.804389)'), GeomFromEWKT('SRID=4674;POINT (-40.040449 -2.804298)'))) / (select extract(epoch from '2026-06-26 10:44:02'::timestamp) - extract(epoch from '2026-06-26 10:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040483 -2.804389)'), GeomFromEWKT('SRID=4674;POINT (-40.040449 -2.804298)'))) / (select extract(epoch from '2026-06-26 10:44:02'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.040417 -2.804213)', '2026-06-26 10:44:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040449 -2.804298)'), GeomFromEWKT('SRID=4674;POINT (-40.040417 -2.804213)'))) / (select extract(epoch from '2026-06-26 10:44:08'::timestamp) - extract(epoch from '2026-06-26 10:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040449 -2.804298)'), GeomFromEWKT('SRID=4674;POINT (-40.040417 -2.804213)'))) / (select extract(epoch from '2026-06-26 10:44:08'::timestamp) - extract(epoch from '2026-06-26 10:44:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040384 -2.804138)', '2026-06-26 10:44:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040417 -2.804213)'), GeomFromEWKT('SRID=4674;POINT (-40.040384 -2.804138)'))) / (select extract(epoch from '2026-06-26 10:44:15'::timestamp) - extract(epoch from '2026-06-26 10:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040417 -2.804213)'), GeomFromEWKT('SRID=4674;POINT (-40.040384 -2.804138)'))) / (select extract(epoch from '2026-06-26 10:44:15'::timestamp) - extract(epoch from '2026-06-26 10:44: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'), 46941, 'SRID=4674;POINT (-40.040383 -2.80413)', '2026-06-26 10:44:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040384 -2.804138)'), GeomFromEWKT('SRID=4674;POINT (-40.040383 -2.80413)'))) / (select extract(epoch from '2026-06-26 10:44:16'::timestamp) - extract(epoch from '2026-06-26 10:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040384 -2.804138)'), GeomFromEWKT('SRID=4674;POINT (-40.040383 -2.80413)'))) / (select extract(epoch from '2026-06-26 10:44:16'::timestamp) - extract(epoch from '2026-06-26 10:44: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'), 46941, 'SRID=4674;POINT (-40.040385 -2.804122)', '2026-06-26 10:44:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040383 -2.80413)'), GeomFromEWKT('SRID=4674;POINT (-40.040385 -2.804122)'))) / (select extract(epoch from '2026-06-26 10:44:17'::timestamp) - extract(epoch from '2026-06-26 10:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040383 -2.80413)'), GeomFromEWKT('SRID=4674;POINT (-40.040385 -2.804122)'))) / (select extract(epoch from '2026-06-26 10:44:17'::timestamp) - extract(epoch from '2026-06-26 10:44: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'), 46941, 'SRID=4674;POINT (-40.040393 -2.804105)', '2026-06-26 10:44:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040385 -2.804122)'), GeomFromEWKT('SRID=4674;POINT (-40.040393 -2.804105)'))) / (select extract(epoch from '2026-06-26 10:44:19'::timestamp) - extract(epoch from '2026-06-26 10:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040385 -2.804122)'), GeomFromEWKT('SRID=4674;POINT (-40.040393 -2.804105)'))) / (select extract(epoch from '2026-06-26 10:44:19'::timestamp) - extract(epoch from '2026-06-26 10:44: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'), 46941, 'SRID=4674;POINT (-40.040406 -2.804089)', '2026-06-26 10:44:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040393 -2.804105)'), GeomFromEWKT('SRID=4674;POINT (-40.040406 -2.804089)'))) / (select extract(epoch from '2026-06-26 10:44:21'::timestamp) - extract(epoch from '2026-06-26 10:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040393 -2.804105)'), GeomFromEWKT('SRID=4674;POINT (-40.040406 -2.804089)'))) / (select extract(epoch from '2026-06-26 10:44:21'::timestamp) - extract(epoch from '2026-06-26 10:44: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'), 46941, 'SRID=4674;POINT (-40.040429 -2.804069)', '2026-06-26 10:44:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040406 -2.804089)'), GeomFromEWKT('SRID=4674;POINT (-40.040429 -2.804069)'))) / (select extract(epoch from '2026-06-26 10:44:24'::timestamp) - extract(epoch from '2026-06-26 10:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040406 -2.804089)'), GeomFromEWKT('SRID=4674;POINT (-40.040429 -2.804069)'))) / (select extract(epoch from '2026-06-26 10:44:24'::timestamp) - extract(epoch from '2026-06-26 10:44: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'), 46941, 'SRID=4674;POINT (-40.040459 -2.804055)', '2026-06-26 10:44:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040429 -2.804069)'), GeomFromEWKT('SRID=4674;POINT (-40.040459 -2.804055)'))) / (select extract(epoch from '2026-06-26 10:44:27'::timestamp) - extract(epoch from '2026-06-26 10:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040429 -2.804069)'), GeomFromEWKT('SRID=4674;POINT (-40.040459 -2.804055)'))) / (select extract(epoch from '2026-06-26 10:44:27'::timestamp) - extract(epoch from '2026-06-26 10:44: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'), 46941, 'SRID=4674;POINT (-40.040548 -2.804036)', '2026-06-26 10:44:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040459 -2.804055)'), GeomFromEWKT('SRID=4674;POINT (-40.040548 -2.804036)'))) / (select extract(epoch from '2026-06-26 10:44:34'::timestamp) - extract(epoch from '2026-06-26 10:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040459 -2.804055)'), GeomFromEWKT('SRID=4674;POINT (-40.040548 -2.804036)'))) / (select extract(epoch from '2026-06-26 10:44:34'::timestamp) - extract(epoch from '2026-06-26 10:44: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'), 46941, 'SRID=4674;POINT (-40.04056 -2.804041)', '2026-06-26 10:44:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040548 -2.804036)'), GeomFromEWKT('SRID=4674;POINT (-40.04056 -2.804041)'))) / (select extract(epoch from '2026-06-26 10:44:35'::timestamp) - extract(epoch from '2026-06-26 10:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040548 -2.804036)'), GeomFromEWKT('SRID=4674;POINT (-40.04056 -2.804041)'))) / (select extract(epoch from '2026-06-26 10:44:35'::timestamp) - extract(epoch from '2026-06-26 10:44: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'), 46941, 'SRID=4674;POINT (-40.040594 -2.804092)', '2026-06-26 10:44:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04056 -2.804041)'), GeomFromEWKT('SRID=4674;POINT (-40.040594 -2.804092)'))) / (select extract(epoch from '2026-06-26 10:44:40'::timestamp) - extract(epoch from '2026-06-26 10:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04056 -2.804041)'), GeomFromEWKT('SRID=4674;POINT (-40.040594 -2.804092)'))) / (select extract(epoch from '2026-06-26 10:44:40'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.040583 -2.804138)', '2026-06-26 10:44:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040594 -2.804092)'), GeomFromEWKT('SRID=4674;POINT (-40.040583 -2.804138)'))) / (select extract(epoch from '2026-06-26 10:44:46'::timestamp) - extract(epoch from '2026-06-26 10:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040594 -2.804092)'), GeomFromEWKT('SRID=4674;POINT (-40.040583 -2.804138)'))) / (select extract(epoch from '2026-06-26 10:44:46'::timestamp) - extract(epoch from '2026-06-26 10:44: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'), 46941, 'SRID=4674;POINT (-40.040566 -2.804149)', '2026-06-26 10:44:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040583 -2.804138)'), GeomFromEWKT('SRID=4674;POINT (-40.040566 -2.804149)'))) / (select extract(epoch from '2026-06-26 10:44:54'::timestamp) - extract(epoch from '2026-06-26 10:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040583 -2.804138)'), GeomFromEWKT('SRID=4674;POINT (-40.040566 -2.804149)'))) / (select extract(epoch from '2026-06-26 10:44:54'::timestamp) - extract(epoch from '2026-06-26 10:44: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'), 46941, 'SRID=4674;POINT (-40.040565 -2.804133)', '2026-06-26 10:45:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040566 -2.804149)'), GeomFromEWKT('SRID=4674;POINT (-40.040565 -2.804133)'))) / (select extract(epoch from '2026-06-26 10:45:03'::timestamp) - extract(epoch from '2026-06-26 10:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040566 -2.804149)'), GeomFromEWKT('SRID=4674;POINT (-40.040565 -2.804133)'))) / (select extract(epoch from '2026-06-26 10:45:03'::timestamp) - extract(epoch from '2026-06-26 10:44: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'), 46941, 'SRID=4674;POINT (-40.040566 -2.804109)', '2026-06-26 10:45:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040565 -2.804133)'), GeomFromEWKT('SRID=4674;POINT (-40.040566 -2.804109)'))) / (select extract(epoch from '2026-06-26 10:45:10'::timestamp) - extract(epoch from '2026-06-26 10:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040565 -2.804133)'), GeomFromEWKT('SRID=4674;POINT (-40.040566 -2.804109)'))) / (select extract(epoch from '2026-06-26 10:45:10'::timestamp) - extract(epoch from '2026-06-26 10:45: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'), 46941, 'SRID=4674;POINT (-40.040568 -2.804088)', '2026-06-26 10:45:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040566 -2.804109)'), GeomFromEWKT('SRID=4674;POINT (-40.040568 -2.804088)'))) / (select extract(epoch from '2026-06-26 10:45:18'::timestamp) - extract(epoch from '2026-06-26 10:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040566 -2.804109)'), GeomFromEWKT('SRID=4674;POINT (-40.040568 -2.804088)'))) / (select extract(epoch from '2026-06-26 10:45:18'::timestamp) - extract(epoch from '2026-06-26 10:45: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'), 46941, 'SRID=4674;POINT (-40.040578 -2.804032)', '2026-06-26 10:45:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040568 -2.804088)'), GeomFromEWKT('SRID=4674;POINT (-40.040578 -2.804032)'))) / (select extract(epoch from '2026-06-26 10:45:33'::timestamp) - extract(epoch from '2026-06-26 10:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040568 -2.804088)'), GeomFromEWKT('SRID=4674;POINT (-40.040578 -2.804032)'))) / (select extract(epoch from '2026-06-26 10:45:33'::timestamp) - extract(epoch from '2026-06-26 10:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.04054 -2.804007)', '2026-06-26 10:45:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040578 -2.804032)'), GeomFromEWKT('SRID=4674;POINT (-40.04054 -2.804007)'))) / (select extract(epoch from '2026-06-26 10:45:42'::timestamp) - extract(epoch from '2026-06-26 10:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040578 -2.804032)'), GeomFromEWKT('SRID=4674;POINT (-40.04054 -2.804007)'))) / (select extract(epoch from '2026-06-26 10:45:42'::timestamp) - extract(epoch from '2026-06-26 10:45: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'), 46941, 'SRID=4674;POINT (-40.040488 -2.804047)', '2026-06-26 10:45:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04054 -2.804007)'), GeomFromEWKT('SRID=4674;POINT (-40.040488 -2.804047)'))) / (select extract(epoch from '2026-06-26 10:45:50'::timestamp) - extract(epoch from '2026-06-26 10:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04054 -2.804007)'), GeomFromEWKT('SRID=4674;POINT (-40.040488 -2.804047)'))) / (select extract(epoch from '2026-06-26 10:45:50'::timestamp) - extract(epoch from '2026-06-26 10:45: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'), 46941, 'SRID=4674;POINT (-40.04049 -2.804144)', '2026-06-26 10:45:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040488 -2.804047)'), GeomFromEWKT('SRID=4674;POINT (-40.04049 -2.804144)'))) / (select extract(epoch from '2026-06-26 10:45:57'::timestamp) - extract(epoch from '2026-06-26 10:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040488 -2.804047)'), GeomFromEWKT('SRID=4674;POINT (-40.04049 -2.804144)'))) / (select extract(epoch from '2026-06-26 10:45:57'::timestamp) - extract(epoch from '2026-06-26 10:45:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040537 -2.804277)', '2026-06-26 10:46:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04049 -2.804144)'), GeomFromEWKT('SRID=4674;POINT (-40.040537 -2.804277)'))) / (select extract(epoch from '2026-06-26 10:46:05'::timestamp) - extract(epoch from '2026-06-26 10:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04049 -2.804144)'), GeomFromEWKT('SRID=4674;POINT (-40.040537 -2.804277)'))) / (select extract(epoch from '2026-06-26 10:46:05'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.040583 -2.804396)', '2026-06-26 10:46:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040537 -2.804277)'), GeomFromEWKT('SRID=4674;POINT (-40.040583 -2.804396)'))) / (select extract(epoch from '2026-06-26 10:46:12'::timestamp) - extract(epoch from '2026-06-26 10:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040537 -2.804277)'), GeomFromEWKT('SRID=4674;POINT (-40.040583 -2.804396)'))) / (select extract(epoch from '2026-06-26 10:46:12'::timestamp) - extract(epoch from '2026-06-26 10:46: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'), 46941, 'SRID=4674;POINT (-40.040621 -2.80452)', '2026-06-26 10:46:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040583 -2.804396)'), GeomFromEWKT('SRID=4674;POINT (-40.040621 -2.80452)'))) / (select extract(epoch from '2026-06-26 10:46:19'::timestamp) - extract(epoch from '2026-06-26 10:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040583 -2.804396)'), GeomFromEWKT('SRID=4674;POINT (-40.040621 -2.80452)'))) / (select extract(epoch from '2026-06-26 10:46:19'::timestamp) - extract(epoch from '2026-06-26 10:46: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'), 46941, 'SRID=4674;POINT (-40.040649 -2.80463)', '2026-06-26 10:46:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040621 -2.80452)'), GeomFromEWKT('SRID=4674;POINT (-40.040649 -2.80463)'))) / (select extract(epoch from '2026-06-26 10:46:25'::timestamp) - extract(epoch from '2026-06-26 10:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040621 -2.80452)'), GeomFromEWKT('SRID=4674;POINT (-40.040649 -2.80463)'))) / (select extract(epoch from '2026-06-26 10:46:25'::timestamp) - extract(epoch from '2026-06-26 10:46: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'), 46941, 'SRID=4674;POINT (-40.040675 -2.80478)', '2026-06-26 10:46:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040649 -2.80463)'), GeomFromEWKT('SRID=4674;POINT (-40.040675 -2.80478)'))) / (select extract(epoch from '2026-06-26 10:46:33'::timestamp) - extract(epoch from '2026-06-26 10:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040649 -2.80463)'), GeomFromEWKT('SRID=4674;POINT (-40.040675 -2.80478)'))) / (select extract(epoch from '2026-06-26 10:46:33'::timestamp) - extract(epoch from '2026-06-26 10:46: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'), 46941, 'SRID=4674;POINT (-40.040706 -2.80495)', '2026-06-26 10:46:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040675 -2.80478)'), GeomFromEWKT('SRID=4674;POINT (-40.040706 -2.80495)'))) / (select extract(epoch from '2026-06-26 10:46:42'::timestamp) - extract(epoch from '2026-06-26 10:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040675 -2.80478)'), GeomFromEWKT('SRID=4674;POINT (-40.040706 -2.80495)'))) / (select extract(epoch from '2026-06-26 10:46:42'::timestamp) - extract(epoch from '2026-06-26 10:46:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040737 -2.805041)', '2026-06-26 10:46:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040706 -2.80495)'), GeomFromEWKT('SRID=4674;POINT (-40.040737 -2.805041)'))) / (select extract(epoch from '2026-06-26 10:46:47'::timestamp) - extract(epoch from '2026-06-26 10:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040706 -2.80495)'), GeomFromEWKT('SRID=4674;POINT (-40.040737 -2.805041)'))) / (select extract(epoch from '2026-06-26 10:46:47'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.040781 -2.805134)', '2026-06-26 10:46:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040737 -2.805041)'), GeomFromEWKT('SRID=4674;POINT (-40.040781 -2.805134)'))) / (select extract(epoch from '2026-06-26 10:46:52'::timestamp) - extract(epoch from '2026-06-26 10:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040737 -2.805041)'), GeomFromEWKT('SRID=4674;POINT (-40.040781 -2.805134)'))) / (select extract(epoch from '2026-06-26 10:46:52'::timestamp) - extract(epoch from '2026-06-26 10:46:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040823 -2.805226)', '2026-06-26 10:46:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040781 -2.805134)'), GeomFromEWKT('SRID=4674;POINT (-40.040823 -2.805226)'))) / (select extract(epoch from '2026-06-26 10:46:57'::timestamp) - extract(epoch from '2026-06-26 10:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040781 -2.805134)'), GeomFromEWKT('SRID=4674;POINT (-40.040823 -2.805226)'))) / (select extract(epoch from '2026-06-26 10:46:57'::timestamp) - extract(epoch from '2026-06-26 10:46: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'), 46941, 'SRID=4674;POINT (-40.040897 -2.805384)', '2026-06-26 10:47:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040823 -2.805226)'), GeomFromEWKT('SRID=4674;POINT (-40.040897 -2.805384)'))) / (select extract(epoch from '2026-06-26 10:47:06'::timestamp) - extract(epoch from '2026-06-26 10:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040823 -2.805226)'), GeomFromEWKT('SRID=4674;POINT (-40.040897 -2.805384)'))) / (select extract(epoch from '2026-06-26 10:47:06'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.040963 -2.805503)', '2026-06-26 10:47:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040897 -2.805384)'), GeomFromEWKT('SRID=4674;POINT (-40.040963 -2.805503)'))) / (select extract(epoch from '2026-06-26 10:47:13'::timestamp) - extract(epoch from '2026-06-26 10:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040897 -2.805384)'), GeomFromEWKT('SRID=4674;POINT (-40.040963 -2.805503)'))) / (select extract(epoch from '2026-06-26 10:47:13'::timestamp) - extract(epoch from '2026-06-26 10:47:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040981 -2.805596)', '2026-06-26 10:47:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040963 -2.805503)'), GeomFromEWKT('SRID=4674;POINT (-40.040981 -2.805596)'))) / (select extract(epoch from '2026-06-26 10:47:20'::timestamp) - extract(epoch from '2026-06-26 10:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040963 -2.805503)'), GeomFromEWKT('SRID=4674;POINT (-40.040981 -2.805596)'))) / (select extract(epoch from '2026-06-26 10:47:20'::timestamp) - extract(epoch from '2026-06-26 10:47:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.04095 -2.80562)', '2026-06-26 10:47:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040981 -2.805596)'), GeomFromEWKT('SRID=4674;POINT (-40.04095 -2.80562)'))) / (select extract(epoch from '2026-06-26 10:47:26'::timestamp) - extract(epoch from '2026-06-26 10:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040981 -2.805596)'), GeomFromEWKT('SRID=4674;POINT (-40.04095 -2.80562)'))) / (select extract(epoch from '2026-06-26 10:47:26'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.040933 -2.805591)', '2026-06-26 10:47:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04095 -2.80562)'), GeomFromEWKT('SRID=4674;POINT (-40.040933 -2.805591)'))) / (select extract(epoch from '2026-06-26 10:47:32'::timestamp) - extract(epoch from '2026-06-26 10:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04095 -2.80562)'), GeomFromEWKT('SRID=4674;POINT (-40.040933 -2.805591)'))) / (select extract(epoch from '2026-06-26 10:47:32'::timestamp) - extract(epoch from '2026-06-26 10:47: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'), 46941, 'SRID=4674;POINT (-40.040956 -2.805531)', '2026-06-26 10:47:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040933 -2.805591)'), GeomFromEWKT('SRID=4674;POINT (-40.040956 -2.805531)'))) / (select extract(epoch from '2026-06-26 10:47:39'::timestamp) - extract(epoch from '2026-06-26 10:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040933 -2.805591)'), GeomFromEWKT('SRID=4674;POINT (-40.040956 -2.805531)'))) / (select extract(epoch from '2026-06-26 10:47:39'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.040966 -2.805514)', '2026-06-26 10:47:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040956 -2.805531)'), GeomFromEWKT('SRID=4674;POINT (-40.040966 -2.805514)'))) / (select extract(epoch from '2026-06-26 10:47:41'::timestamp) - extract(epoch from '2026-06-26 10:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040956 -2.805531)'), GeomFromEWKT('SRID=4674;POINT (-40.040966 -2.805514)'))) / (select extract(epoch from '2026-06-26 10:47:41'::timestamp) - extract(epoch from '2026-06-26 10:47: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'), 46941, 'SRID=4674;POINT (-40.040983 -2.805485)', '2026-06-26 10:47:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040966 -2.805514)'), GeomFromEWKT('SRID=4674;POINT (-40.040983 -2.805485)'))) / (select extract(epoch from '2026-06-26 10:47:44'::timestamp) - extract(epoch from '2026-06-26 10:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040966 -2.805514)'), GeomFromEWKT('SRID=4674;POINT (-40.040983 -2.805485)'))) / (select extract(epoch from '2026-06-26 10:47:44'::timestamp) - extract(epoch from '2026-06-26 10:47:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040997 -2.805441)', '2026-06-26 10:47:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040983 -2.805485)'), GeomFromEWKT('SRID=4674;POINT (-40.040997 -2.805441)'))) / (select extract(epoch from '2026-06-26 10:47:49'::timestamp) - extract(epoch from '2026-06-26 10:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040983 -2.805485)'), GeomFromEWKT('SRID=4674;POINT (-40.040997 -2.805441)'))) / (select extract(epoch from '2026-06-26 10:47:49'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.040984 -2.805405)', '2026-06-26 10:47:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040997 -2.805441)'), GeomFromEWKT('SRID=4674;POINT (-40.040984 -2.805405)'))) / (select extract(epoch from '2026-06-26 10:47:56'::timestamp) - extract(epoch from '2026-06-26 10:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040997 -2.805441)'), GeomFromEWKT('SRID=4674;POINT (-40.040984 -2.805405)'))) / (select extract(epoch from '2026-06-26 10:47:56'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.041002 -2.805376)', '2026-06-26 10:48:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040984 -2.805405)'), GeomFromEWKT('SRID=4674;POINT (-40.041002 -2.805376)'))) / (select extract(epoch from '2026-06-26 10:48:04'::timestamp) - extract(epoch from '2026-06-26 10:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040984 -2.805405)'), GeomFromEWKT('SRID=4674;POINT (-40.041002 -2.805376)'))) / (select extract(epoch from '2026-06-26 10:48:04'::timestamp) - extract(epoch from '2026-06-26 10:47: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'), 46941, 'SRID=4674;POINT (-40.041014 -2.805346)', '2026-06-26 10:48:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041002 -2.805376)'), GeomFromEWKT('SRID=4674;POINT (-40.041014 -2.805346)'))) / (select extract(epoch from '2026-06-26 10:48:11'::timestamp) - extract(epoch from '2026-06-26 10:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041002 -2.805376)'), GeomFromEWKT('SRID=4674;POINT (-40.041014 -2.805346)'))) / (select extract(epoch from '2026-06-26 10:48:11'::timestamp) - extract(epoch from '2026-06-26 10:48:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041028 -2.805312)', '2026-06-26 10:48:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041014 -2.805346)'), GeomFromEWKT('SRID=4674;POINT (-40.041028 -2.805312)'))) / (select extract(epoch from '2026-06-26 10:48:24'::timestamp) - extract(epoch from '2026-06-26 10:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041014 -2.805346)'), GeomFromEWKT('SRID=4674;POINT (-40.041028 -2.805312)'))) / (select extract(epoch from '2026-06-26 10:48:24'::timestamp) - extract(epoch from '2026-06-26 10:48:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041039 -2.805274)', '2026-06-26 10:48:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041028 -2.805312)'), GeomFromEWKT('SRID=4674;POINT (-40.041039 -2.805274)'))) / (select extract(epoch from '2026-06-26 10:48:32'::timestamp) - extract(epoch from '2026-06-26 10:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041028 -2.805312)'), GeomFromEWKT('SRID=4674;POINT (-40.041039 -2.805274)'))) / (select extract(epoch from '2026-06-26 10:48:32'::timestamp) - extract(epoch from '2026-06-26 10:48: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'), 46941, 'SRID=4674;POINT (-40.041044 -2.805226)', '2026-06-26 10:48:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041039 -2.805274)'), GeomFromEWKT('SRID=4674;POINT (-40.041044 -2.805226)'))) / (select extract(epoch from '2026-06-26 10:48:43'::timestamp) - extract(epoch from '2026-06-26 10:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041039 -2.805274)'), GeomFromEWKT('SRID=4674;POINT (-40.041044 -2.805226)'))) / (select extract(epoch from '2026-06-26 10:48:43'::timestamp) - extract(epoch from '2026-06-26 10:48:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.041026 -2.805186)', '2026-06-26 10:48:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041044 -2.805226)'), GeomFromEWKT('SRID=4674;POINT (-40.041026 -2.805186)'))) / (select extract(epoch from '2026-06-26 10:48:56'::timestamp) - extract(epoch from '2026-06-26 10:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041044 -2.805226)'), GeomFromEWKT('SRID=4674;POINT (-40.041026 -2.805186)'))) / (select extract(epoch from '2026-06-26 10:48:56'::timestamp) - extract(epoch from '2026-06-26 10:48:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040988 -2.805192)', '2026-06-26 10:49:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041026 -2.805186)'), GeomFromEWKT('SRID=4674;POINT (-40.040988 -2.805192)'))) / (select extract(epoch from '2026-06-26 10:49:07'::timestamp) - extract(epoch from '2026-06-26 10:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041026 -2.805186)'), GeomFromEWKT('SRID=4674;POINT (-40.040988 -2.805192)'))) / (select extract(epoch from '2026-06-26 10:49:07'::timestamp) - extract(epoch from '2026-06-26 10:48: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'), 46941, 'SRID=4674;POINT (-40.040978 -2.80527)', '2026-06-26 10:49:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040988 -2.805192)'), GeomFromEWKT('SRID=4674;POINT (-40.040978 -2.80527)'))) / (select extract(epoch from '2026-06-26 10:49:17'::timestamp) - extract(epoch from '2026-06-26 10:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040988 -2.805192)'), GeomFromEWKT('SRID=4674;POINT (-40.040978 -2.80527)'))) / (select extract(epoch from '2026-06-26 10:49:17'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.04097 -2.80534)', '2026-06-26 10:49:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040978 -2.80527)'), GeomFromEWKT('SRID=4674;POINT (-40.04097 -2.80534)'))) / (select extract(epoch from '2026-06-26 10:49:25'::timestamp) - extract(epoch from '2026-06-26 10:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040978 -2.80527)'), GeomFromEWKT('SRID=4674;POINT (-40.04097 -2.80534)'))) / (select extract(epoch from '2026-06-26 10:49:25'::timestamp) - extract(epoch from '2026-06-26 10:49: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'), 46941, 'SRID=4674;POINT (-40.040974 -2.805401)', '2026-06-26 10:49:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04097 -2.80534)'), GeomFromEWKT('SRID=4674;POINT (-40.040974 -2.805401)'))) / (select extract(epoch from '2026-06-26 10:49:34'::timestamp) - extract(epoch from '2026-06-26 10:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04097 -2.80534)'), GeomFromEWKT('SRID=4674;POINT (-40.040974 -2.805401)'))) / (select extract(epoch from '2026-06-26 10:49:34'::timestamp) - extract(epoch from '2026-06-26 10:49: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'), 46941, 'SRID=4674;POINT (-40.040991 -2.805484)', '2026-06-26 10:49:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040974 -2.805401)'), GeomFromEWKT('SRID=4674;POINT (-40.040991 -2.805484)'))) / (select extract(epoch from '2026-06-26 10:49:45'::timestamp) - extract(epoch from '2026-06-26 10:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040974 -2.805401)'), GeomFromEWKT('SRID=4674;POINT (-40.040991 -2.805484)'))) / (select extract(epoch from '2026-06-26 10:49:45'::timestamp) - extract(epoch from '2026-06-26 10:49:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040956 -2.805542)', '2026-06-26 10:49:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040991 -2.805484)'), GeomFromEWKT('SRID=4674;POINT (-40.040956 -2.805542)'))) / (select extract(epoch from '2026-06-26 10:49:52'::timestamp) - extract(epoch from '2026-06-26 10:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040991 -2.805484)'), GeomFromEWKT('SRID=4674;POINT (-40.040956 -2.805542)'))) / (select extract(epoch from '2026-06-26 10:49:52'::timestamp) - extract(epoch from '2026-06-26 10:49:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040947 -2.805545)', '2026-06-26 10:49:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040956 -2.805542)'), GeomFromEWKT('SRID=4674;POINT (-40.040947 -2.805545)'))) / (select extract(epoch from '2026-06-26 10:49:53'::timestamp) - extract(epoch from '2026-06-26 10:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040956 -2.805542)'), GeomFromEWKT('SRID=4674;POINT (-40.040947 -2.805545)'))) / (select extract(epoch from '2026-06-26 10:49:53'::timestamp) - extract(epoch from '2026-06-26 10:49:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040878 -2.805514)', '2026-06-26 10:50:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040947 -2.805545)'), GeomFromEWKT('SRID=4674;POINT (-40.040878 -2.805514)'))) / (select extract(epoch from '2026-06-26 10:50:02'::timestamp) - extract(epoch from '2026-06-26 10:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040947 -2.805545)'), GeomFromEWKT('SRID=4674;POINT (-40.040878 -2.805514)'))) / (select extract(epoch from '2026-06-26 10:50:02'::timestamp) - extract(epoch from '2026-06-26 10:49:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040828 -2.805466)', '2026-06-26 10:50:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040878 -2.805514)'), GeomFromEWKT('SRID=4674;POINT (-40.040828 -2.805466)'))) / (select extract(epoch from '2026-06-26 10:50:09'::timestamp) - extract(epoch from '2026-06-26 10:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040878 -2.805514)'), GeomFromEWKT('SRID=4674;POINT (-40.040828 -2.805466)'))) / (select extract(epoch from '2026-06-26 10:50:09'::timestamp) - extract(epoch from '2026-06-26 10:50: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'), 46941, 'SRID=4674;POINT (-40.040778 -2.805427)', '2026-06-26 10:50:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040828 -2.805466)'), GeomFromEWKT('SRID=4674;POINT (-40.040778 -2.805427)'))) / (select extract(epoch from '2026-06-26 10:50:18'::timestamp) - extract(epoch from '2026-06-26 10:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040828 -2.805466)'), GeomFromEWKT('SRID=4674;POINT (-40.040778 -2.805427)'))) / (select extract(epoch from '2026-06-26 10:50:18'::timestamp) - extract(epoch from '2026-06-26 10:50:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040675 -2.805388)', '2026-06-26 10:50:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040778 -2.805427)'), GeomFromEWKT('SRID=4674;POINT (-40.040675 -2.805388)'))) / (select extract(epoch from '2026-06-26 10:50:28'::timestamp) - extract(epoch from '2026-06-26 10:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040778 -2.805427)'), GeomFromEWKT('SRID=4674;POINT (-40.040675 -2.805388)'))) / (select extract(epoch from '2026-06-26 10:50:28'::timestamp) - extract(epoch from '2026-06-26 10:50: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'), 46941, 'SRID=4674;POINT (-40.04059 -2.805361)', '2026-06-26 10:50:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040675 -2.805388)'), GeomFromEWKT('SRID=4674;POINT (-40.04059 -2.805361)'))) / (select extract(epoch from '2026-06-26 10:50:36'::timestamp) - extract(epoch from '2026-06-26 10:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040675 -2.805388)'), GeomFromEWKT('SRID=4674;POINT (-40.04059 -2.805361)'))) / (select extract(epoch from '2026-06-26 10:50:36'::timestamp) - extract(epoch from '2026-06-26 10:50: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'), 46941, 'SRID=4674;POINT (-40.040518 -2.805342)', '2026-06-26 10:50:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04059 -2.805361)'), GeomFromEWKT('SRID=4674;POINT (-40.040518 -2.805342)'))) / (select extract(epoch from '2026-06-26 10:50:45'::timestamp) - extract(epoch from '2026-06-26 10:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04059 -2.805361)'), GeomFromEWKT('SRID=4674;POINT (-40.040518 -2.805342)'))) / (select extract(epoch from '2026-06-26 10:50:45'::timestamp) - extract(epoch from '2026-06-26 10:50:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040413 -2.805313)', '2026-06-26 10:50:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040518 -2.805342)'), GeomFromEWKT('SRID=4674;POINT (-40.040413 -2.805313)'))) / (select extract(epoch from '2026-06-26 10:50:55'::timestamp) - extract(epoch from '2026-06-26 10:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040518 -2.805342)'), GeomFromEWKT('SRID=4674;POINT (-40.040413 -2.805313)'))) / (select extract(epoch from '2026-06-26 10:50:55'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.040322 -2.805287)', '2026-06-26 10:51:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040413 -2.805313)'), GeomFromEWKT('SRID=4674;POINT (-40.040322 -2.805287)'))) / (select extract(epoch from '2026-06-26 10:51:03'::timestamp) - extract(epoch from '2026-06-26 10:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040413 -2.805313)'), GeomFromEWKT('SRID=4674;POINT (-40.040322 -2.805287)'))) / (select extract(epoch from '2026-06-26 10:51:03'::timestamp) - extract(epoch from '2026-06-26 10:50: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'), 46941, 'SRID=4674;POINT (-40.040261 -2.805256)', '2026-06-26 10:51:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040322 -2.805287)'), GeomFromEWKT('SRID=4674;POINT (-40.040261 -2.805256)'))) / (select extract(epoch from '2026-06-26 10:51:10'::timestamp) - extract(epoch from '2026-06-26 10:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040322 -2.805287)'), GeomFromEWKT('SRID=4674;POINT (-40.040261 -2.805256)'))) / (select extract(epoch from '2026-06-26 10:51:10'::timestamp) - extract(epoch from '2026-06-26 10:51:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040174 -2.805232)', '2026-06-26 10:51:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040261 -2.805256)'), GeomFromEWKT('SRID=4674;POINT (-40.040174 -2.805232)'))) / (select extract(epoch from '2026-06-26 10:51:19'::timestamp) - extract(epoch from '2026-06-26 10:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040261 -2.805256)'), GeomFromEWKT('SRID=4674;POINT (-40.040174 -2.805232)'))) / (select extract(epoch from '2026-06-26 10:51:19'::timestamp) - extract(epoch from '2026-06-26 10:51:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040164 -2.805228)', '2026-06-26 10:51:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040174 -2.805232)'), GeomFromEWKT('SRID=4674;POINT (-40.040164 -2.805228)'))) / (select extract(epoch from '2026-06-26 10:51:20'::timestamp) - extract(epoch from '2026-06-26 10:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040174 -2.805232)'), GeomFromEWKT('SRID=4674;POINT (-40.040164 -2.805228)'))) / (select extract(epoch from '2026-06-26 10:51:20'::timestamp) - extract(epoch from '2026-06-26 10:51: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'), 46941, 'SRID=4674;POINT (-40.040107 -2.805196)', '2026-06-26 10:51:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040164 -2.805228)'), GeomFromEWKT('SRID=4674;POINT (-40.040107 -2.805196)'))) / (select extract(epoch from '2026-06-26 10:51:26'::timestamp) - extract(epoch from '2026-06-26 10:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040164 -2.805228)'), GeomFromEWKT('SRID=4674;POINT (-40.040107 -2.805196)'))) / (select extract(epoch from '2026-06-26 10:51:26'::timestamp) - extract(epoch from '2026-06-26 10:51:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.040009 -2.805154)', '2026-06-26 10:51:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040107 -2.805196)'), GeomFromEWKT('SRID=4674;POINT (-40.040009 -2.805154)'))) / (select extract(epoch from '2026-06-26 10:51:35'::timestamp) - extract(epoch from '2026-06-26 10:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040107 -2.805196)'), GeomFromEWKT('SRID=4674;POINT (-40.040009 -2.805154)'))) / (select extract(epoch from '2026-06-26 10:51:35'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.039904 -2.80513)', '2026-06-26 10:51:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040009 -2.805154)'), GeomFromEWKT('SRID=4674;POINT (-40.039904 -2.80513)'))) / (select extract(epoch from '2026-06-26 10:51:44'::timestamp) - extract(epoch from '2026-06-26 10:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040009 -2.805154)'), GeomFromEWKT('SRID=4674;POINT (-40.039904 -2.80513)'))) / (select extract(epoch from '2026-06-26 10:51:44'::timestamp) - extract(epoch from '2026-06-26 10:51: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'), 46941, 'SRID=4674;POINT (-40.039799 -2.805115)', '2026-06-26 10:51:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039904 -2.80513)'), GeomFromEWKT('SRID=4674;POINT (-40.039799 -2.805115)'))) / (select extract(epoch from '2026-06-26 10:51:53'::timestamp) - extract(epoch from '2026-06-26 10:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039904 -2.80513)'), GeomFromEWKT('SRID=4674;POINT (-40.039799 -2.805115)'))) / (select extract(epoch from '2026-06-26 10:51:53'::timestamp) - extract(epoch from '2026-06-26 10:51: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'), 46941, 'SRID=4674;POINT (-40.039729 -2.805088)', '2026-06-26 10:52:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039799 -2.805115)'), GeomFromEWKT('SRID=4674;POINT (-40.039729 -2.805088)'))) / (select extract(epoch from '2026-06-26 10:52:00'::timestamp) - extract(epoch from '2026-06-26 10:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039799 -2.805115)'), GeomFromEWKT('SRID=4674;POINT (-40.039729 -2.805088)'))) / (select extract(epoch from '2026-06-26 10:52:00'::timestamp) - extract(epoch from '2026-06-26 10:51:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.039649 -2.805058)', '2026-06-26 10:52:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039729 -2.805088)'), GeomFromEWKT('SRID=4674;POINT (-40.039649 -2.805058)'))) / (select extract(epoch from '2026-06-26 10:52:08'::timestamp) - extract(epoch from '2026-06-26 10:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039729 -2.805088)'), GeomFromEWKT('SRID=4674;POINT (-40.039649 -2.805058)'))) / (select extract(epoch from '2026-06-26 10:52:08'::timestamp) - extract(epoch from '2026-06-26 10:52:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.039574 -2.805032)', '2026-06-26 10:52:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039649 -2.805058)'), GeomFromEWKT('SRID=4674;POINT (-40.039574 -2.805032)'))) / (select extract(epoch from '2026-06-26 10:52:16'::timestamp) - extract(epoch from '2026-06-26 10:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039649 -2.805058)'), GeomFromEWKT('SRID=4674;POINT (-40.039574 -2.805032)'))) / (select extract(epoch from '2026-06-26 10:52:16'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.039515 -2.805015)', '2026-06-26 10:52:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039574 -2.805032)'), GeomFromEWKT('SRID=4674;POINT (-40.039515 -2.805015)'))) / (select extract(epoch from '2026-06-26 10:52:25'::timestamp) - extract(epoch from '2026-06-26 10:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039574 -2.805032)'), GeomFromEWKT('SRID=4674;POINT (-40.039515 -2.805015)'))) / (select extract(epoch from '2026-06-26 10:52:25'::timestamp) - extract(epoch from '2026-06-26 10:52:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.039444 -2.80496)', '2026-06-26 10:52:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039515 -2.805015)'), GeomFromEWKT('SRID=4674;POINT (-40.039444 -2.80496)'))) / (select extract(epoch from '2026-06-26 10:52:36'::timestamp) - extract(epoch from '2026-06-26 10:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039515 -2.805015)'), GeomFromEWKT('SRID=4674;POINT (-40.039444 -2.80496)'))) / (select extract(epoch from '2026-06-26 10:52:36'::timestamp) - extract(epoch from '2026-06-26 10:52:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.039363 -2.804932)', '2026-06-26 10:52:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039444 -2.80496)'), GeomFromEWKT('SRID=4674;POINT (-40.039363 -2.804932)'))) / (select extract(epoch from '2026-06-26 10:52:45'::timestamp) - extract(epoch from '2026-06-26 10:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039444 -2.80496)'), GeomFromEWKT('SRID=4674;POINT (-40.039363 -2.804932)'))) / (select extract(epoch from '2026-06-26 10:52:45'::timestamp) - extract(epoch from '2026-06-26 10:52:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.039285 -2.804905)', '2026-06-26 10:52:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039363 -2.804932)'), GeomFromEWKT('SRID=4674;POINT (-40.039285 -2.804905)'))) / (select extract(epoch from '2026-06-26 10:52:53'::timestamp) - extract(epoch from '2026-06-26 10:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039363 -2.804932)'), GeomFromEWKT('SRID=4674;POINT (-40.039285 -2.804905)'))) / (select extract(epoch from '2026-06-26 10:52:53'::timestamp) - extract(epoch from '2026-06-26 10:52:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.039266 -2.804897)', '2026-06-26 10:52:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039285 -2.804905)'), GeomFromEWKT('SRID=4674;POINT (-40.039266 -2.804897)'))) / (select extract(epoch from '2026-06-26 10:52:55'::timestamp) - extract(epoch from '2026-06-26 10:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039285 -2.804905)'), GeomFromEWKT('SRID=4674;POINT (-40.039266 -2.804897)'))) / (select extract(epoch from '2026-06-26 10:52:55'::timestamp) - extract(epoch from '2026-06-26 10:52: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'), 46941, 'SRID=4674;POINT (-40.039202 -2.804878)', '2026-06-26 10:53:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039266 -2.804897)'), GeomFromEWKT('SRID=4674;POINT (-40.039202 -2.804878)'))) / (select extract(epoch from '2026-06-26 10:53:01'::timestamp) - extract(epoch from '2026-06-26 10:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039266 -2.804897)'), GeomFromEWKT('SRID=4674;POINT (-40.039202 -2.804878)'))) / (select extract(epoch from '2026-06-26 10:53:01'::timestamp) - extract(epoch from '2026-06-26 10:52: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'), 46941, 'SRID=4674;POINT (-40.039124 -2.80485)', '2026-06-26 10:53:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039202 -2.804878)'), GeomFromEWKT('SRID=4674;POINT (-40.039124 -2.80485)'))) / (select extract(epoch from '2026-06-26 10:53:08'::timestamp) - extract(epoch from '2026-06-26 10:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039202 -2.804878)'), GeomFromEWKT('SRID=4674;POINT (-40.039124 -2.80485)'))) / (select extract(epoch from '2026-06-26 10:53:08'::timestamp) - extract(epoch from '2026-06-26 10:53: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'), 46941, 'SRID=4674;POINT (-40.039034 -2.804814)', '2026-06-26 10:53:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039124 -2.80485)'), GeomFromEWKT('SRID=4674;POINT (-40.039034 -2.804814)'))) / (select extract(epoch from '2026-06-26 10:53:16'::timestamp) - extract(epoch from '2026-06-26 10:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039124 -2.80485)'), GeomFromEWKT('SRID=4674;POINT (-40.039034 -2.804814)'))) / (select extract(epoch from '2026-06-26 10:53:16'::timestamp) - extract(epoch from '2026-06-26 10:53: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'), 46941, 'SRID=4674;POINT (-40.038948 -2.804776)', '2026-06-26 10:53:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039034 -2.804814)'), GeomFromEWKT('SRID=4674;POINT (-40.038948 -2.804776)'))) / (select extract(epoch from '2026-06-26 10:53:25'::timestamp) - extract(epoch from '2026-06-26 10:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039034 -2.804814)'), GeomFromEWKT('SRID=4674;POINT (-40.038948 -2.804776)'))) / (select extract(epoch from '2026-06-26 10:53:25'::timestamp) - extract(epoch from '2026-06-26 10:53: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'), 46941, 'SRID=4674;POINT (-40.038865 -2.804759)', '2026-06-26 10:53:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038948 -2.804776)'), GeomFromEWKT('SRID=4674;POINT (-40.038865 -2.804759)'))) / (select extract(epoch from '2026-06-26 10:53:33'::timestamp) - extract(epoch from '2026-06-26 10:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038948 -2.804776)'), GeomFromEWKT('SRID=4674;POINT (-40.038865 -2.804759)'))) / (select extract(epoch from '2026-06-26 10:53:33'::timestamp) - extract(epoch from '2026-06-26 10:53: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'), 46941, 'SRID=4674;POINT (-40.038785 -2.804759)', '2026-06-26 10:53:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038865 -2.804759)'), GeomFromEWKT('SRID=4674;POINT (-40.038785 -2.804759)'))) / (select extract(epoch from '2026-06-26 10:53:41'::timestamp) - extract(epoch from '2026-06-26 10:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038865 -2.804759)'), GeomFromEWKT('SRID=4674;POINT (-40.038785 -2.804759)'))) / (select extract(epoch from '2026-06-26 10:53:41'::timestamp) - extract(epoch from '2026-06-26 10:53: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'), 46941, 'SRID=4674;POINT (-40.038718 -2.804754)', '2026-06-26 10:53:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038785 -2.804759)'), GeomFromEWKT('SRID=4674;POINT (-40.038718 -2.804754)'))) / (select extract(epoch from '2026-06-26 10:53:48'::timestamp) - extract(epoch from '2026-06-26 10:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038785 -2.804759)'), GeomFromEWKT('SRID=4674;POINT (-40.038718 -2.804754)'))) / (select extract(epoch from '2026-06-26 10:53:48'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.03863 -2.804711)', '2026-06-26 10:53:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038718 -2.804754)'), GeomFromEWKT('SRID=4674;POINT (-40.03863 -2.804711)'))) / (select extract(epoch from '2026-06-26 10:53:59'::timestamp) - extract(epoch from '2026-06-26 10:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038718 -2.804754)'), GeomFromEWKT('SRID=4674;POINT (-40.03863 -2.804711)'))) / (select extract(epoch from '2026-06-26 10:53:59'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.038572 -2.804692)', '2026-06-26 10:54:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03863 -2.804711)'), GeomFromEWKT('SRID=4674;POINT (-40.038572 -2.804692)'))) / (select extract(epoch from '2026-06-26 10:54:05'::timestamp) - extract(epoch from '2026-06-26 10:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03863 -2.804711)'), GeomFromEWKT('SRID=4674;POINT (-40.038572 -2.804692)'))) / (select extract(epoch from '2026-06-26 10:54:05'::timestamp) - extract(epoch from '2026-06-26 10:53: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'), 46941, 'SRID=4674;POINT (-40.038503 -2.804692)', '2026-06-26 10:54:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038572 -2.804692)'), GeomFromEWKT('SRID=4674;POINT (-40.038503 -2.804692)'))) / (select extract(epoch from '2026-06-26 10:54:11'::timestamp) - extract(epoch from '2026-06-26 10:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038572 -2.804692)'), GeomFromEWKT('SRID=4674;POINT (-40.038503 -2.804692)'))) / (select extract(epoch from '2026-06-26 10:54:11'::timestamp) - extract(epoch from '2026-06-26 10:54: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'), 46941, 'SRID=4674;POINT (-40.038481 -2.804693)', '2026-06-26 10:54:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038503 -2.804692)'), GeomFromEWKT('SRID=4674;POINT (-40.038481 -2.804693)'))) / (select extract(epoch from '2026-06-26 10:54:13'::timestamp) - extract(epoch from '2026-06-26 10:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038503 -2.804692)'), GeomFromEWKT('SRID=4674;POINT (-40.038481 -2.804693)'))) / (select extract(epoch from '2026-06-26 10:54:13'::timestamp) - extract(epoch from '2026-06-26 10:54: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'), 46941, 'SRID=4674;POINT (-40.038412 -2.804699)', '2026-06-26 10:54:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038481 -2.804693)'), GeomFromEWKT('SRID=4674;POINT (-40.038412 -2.804699)'))) / (select extract(epoch from '2026-06-26 10:54:20'::timestamp) - extract(epoch from '2026-06-26 10:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038481 -2.804693)'), GeomFromEWKT('SRID=4674;POINT (-40.038412 -2.804699)'))) / (select extract(epoch from '2026-06-26 10:54:20'::timestamp) - extract(epoch from '2026-06-26 10:54:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.03833 -2.804688)', '2026-06-26 10:54:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038412 -2.804699)'), GeomFromEWKT('SRID=4674;POINT (-40.03833 -2.804688)'))) / (select extract(epoch from '2026-06-26 10:54:29'::timestamp) - extract(epoch from '2026-06-26 10:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038412 -2.804699)'), GeomFromEWKT('SRID=4674;POINT (-40.03833 -2.804688)'))) / (select extract(epoch from '2026-06-26 10:54:29'::timestamp) - extract(epoch from '2026-06-26 10:54: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'), 46941, 'SRID=4674;POINT (-40.03826 -2.804657)', '2026-06-26 10:54:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03833 -2.804688)'), GeomFromEWKT('SRID=4674;POINT (-40.03826 -2.804657)'))) / (select extract(epoch from '2026-06-26 10:54:37'::timestamp) - extract(epoch from '2026-06-26 10:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03833 -2.804688)'), GeomFromEWKT('SRID=4674;POINT (-40.03826 -2.804657)'))) / (select extract(epoch from '2026-06-26 10:54:37'::timestamp) - extract(epoch from '2026-06-26 10:54: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'), 46941, 'SRID=4674;POINT (-40.038181 -2.804655)', '2026-06-26 10:54:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03826 -2.804657)'), GeomFromEWKT('SRID=4674;POINT (-40.038181 -2.804655)'))) / (select extract(epoch from '2026-06-26 10:54:46'::timestamp) - extract(epoch from '2026-06-26 10:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03826 -2.804657)'), GeomFromEWKT('SRID=4674;POINT (-40.038181 -2.804655)'))) / (select extract(epoch from '2026-06-26 10:54:46'::timestamp) - extract(epoch from '2026-06-26 10:54: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'), 46941, 'SRID=4674;POINT (-40.038117 -2.804657)', '2026-06-26 10:54:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038181 -2.804655)'), GeomFromEWKT('SRID=4674;POINT (-40.038117 -2.804657)'))) / (select extract(epoch from '2026-06-26 10:54:55'::timestamp) - extract(epoch from '2026-06-26 10:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038181 -2.804655)'), GeomFromEWKT('SRID=4674;POINT (-40.038117 -2.804657)'))) / (select extract(epoch from '2026-06-26 10:54:55'::timestamp) - extract(epoch from '2026-06-26 10: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'), 46941, 'SRID=4674;POINT (-40.038074 -2.80463)', '2026-06-26 10:55:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038117 -2.804657)'), GeomFromEWKT('SRID=4674;POINT (-40.038074 -2.80463)'))) / (select extract(epoch from '2026-06-26 10:55:01'::timestamp) - extract(epoch from '2026-06-26 10:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038117 -2.804657)'), GeomFromEWKT('SRID=4674;POINT (-40.038074 -2.80463)'))) / (select extract(epoch from '2026-06-26 10:55:01'::timestamp) - extract(epoch from '2026-06-26 10:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.038057 -2.804628)', '2026-06-26 10:55:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038074 -2.80463)'), GeomFromEWKT('SRID=4674;POINT (-40.038057 -2.804628)'))) / (select extract(epoch from '2026-06-26 10:55:03'::timestamp) - extract(epoch from '2026-06-26 10:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038074 -2.80463)'), GeomFromEWKT('SRID=4674;POINT (-40.038057 -2.804628)'))) / (select extract(epoch from '2026-06-26 10:55:03'::timestamp) - extract(epoch from '2026-06-26 10:55:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.038017 -2.804623)', '2026-06-26 10:55:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038057 -2.804628)'), GeomFromEWKT('SRID=4674;POINT (-40.038017 -2.804623)'))) / (select extract(epoch from '2026-06-26 10:55:10'::timestamp) - extract(epoch from '2026-06-26 10:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038057 -2.804628)'), GeomFromEWKT('SRID=4674;POINT (-40.038017 -2.804623)'))) / (select extract(epoch from '2026-06-26 10:55:10'::timestamp) - extract(epoch from '2026-06-26 10:55:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037956 -2.804651)', '2026-06-26 10:55:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038017 -2.804623)'), GeomFromEWKT('SRID=4674;POINT (-40.037956 -2.804651)'))) / (select extract(epoch from '2026-06-26 10:55:19'::timestamp) - extract(epoch from '2026-06-26 10:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038017 -2.804623)'), GeomFromEWKT('SRID=4674;POINT (-40.037956 -2.804651)'))) / (select extract(epoch from '2026-06-26 10:55:19'::timestamp) - extract(epoch from '2026-06-26 10:55: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'), 46941, 'SRID=4674;POINT (-40.037939 -2.804723)', '2026-06-26 10:55:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037956 -2.804651)'), GeomFromEWKT('SRID=4674;POINT (-40.037939 -2.804723)'))) / (select extract(epoch from '2026-06-26 10:55:30'::timestamp) - extract(epoch from '2026-06-26 10:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037956 -2.804651)'), GeomFromEWKT('SRID=4674;POINT (-40.037939 -2.804723)'))) / (select extract(epoch from '2026-06-26 10:55:30'::timestamp) - extract(epoch from '2026-06-26 10:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037979 -2.804802)', '2026-06-26 10:55:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037939 -2.804723)'), GeomFromEWKT('SRID=4674;POINT (-40.037979 -2.804802)'))) / (select extract(epoch from '2026-06-26 10:55:40'::timestamp) - extract(epoch from '2026-06-26 10:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037939 -2.804723)'), GeomFromEWKT('SRID=4674;POINT (-40.037979 -2.804802)'))) / (select extract(epoch from '2026-06-26 10:55:40'::timestamp) - extract(epoch from '2026-06-26 10:55: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'), 46941, 'SRID=4674;POINT (-40.038048 -2.804819)', '2026-06-26 10:55:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037979 -2.804802)'), GeomFromEWKT('SRID=4674;POINT (-40.038048 -2.804819)'))) / (select extract(epoch from '2026-06-26 10:55:47'::timestamp) - extract(epoch from '2026-06-26 10:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037979 -2.804802)'), GeomFromEWKT('SRID=4674;POINT (-40.038048 -2.804819)'))) / (select extract(epoch from '2026-06-26 10:55:47'::timestamp) - extract(epoch from '2026-06-26 10:55: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'), 46941, 'SRID=4674;POINT (-40.038104 -2.80479)', '2026-06-26 10:55:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038048 -2.804819)'), GeomFromEWKT('SRID=4674;POINT (-40.038104 -2.80479)'))) / (select extract(epoch from '2026-06-26 10:55:55'::timestamp) - extract(epoch from '2026-06-26 10:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038048 -2.804819)'), GeomFromEWKT('SRID=4674;POINT (-40.038104 -2.80479)'))) / (select extract(epoch from '2026-06-26 10:55:55'::timestamp) - extract(epoch from '2026-06-26 10:55: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'), 46941, 'SRID=4674;POINT (-40.038118 -2.80475)', '2026-06-26 10:56:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038104 -2.80479)'), GeomFromEWKT('SRID=4674;POINT (-40.038118 -2.80475)'))) / (select extract(epoch from '2026-06-26 10:56:00'::timestamp) - extract(epoch from '2026-06-26 10:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038104 -2.80479)'), GeomFromEWKT('SRID=4674;POINT (-40.038118 -2.80475)'))) / (select extract(epoch from '2026-06-26 10:56:00'::timestamp) - extract(epoch from '2026-06-26 10:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.038111 -2.804724)', '2026-06-26 10:56:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038118 -2.80475)'), GeomFromEWKT('SRID=4674;POINT (-40.038111 -2.804724)'))) / (select extract(epoch from '2026-06-26 10:56:03'::timestamp) - extract(epoch from '2026-06-26 10:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038118 -2.80475)'), GeomFromEWKT('SRID=4674;POINT (-40.038111 -2.804724)'))) / (select extract(epoch from '2026-06-26 10:56:03'::timestamp) - extract(epoch from '2026-06-26 10:56: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'), 46941, 'SRID=4674;POINT (-40.038061 -2.80468)', '2026-06-26 10:56:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038111 -2.804724)'), GeomFromEWKT('SRID=4674;POINT (-40.038061 -2.80468)'))) / (select extract(epoch from '2026-06-26 10:56:11'::timestamp) - extract(epoch from '2026-06-26 10:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038111 -2.804724)'), GeomFromEWKT('SRID=4674;POINT (-40.038061 -2.80468)'))) / (select extract(epoch from '2026-06-26 10:56:11'::timestamp) - extract(epoch from '2026-06-26 10:56: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'), 46941, 'SRID=4674;POINT (-40.038 -2.804676)', '2026-06-26 10:56:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038061 -2.80468)'), GeomFromEWKT('SRID=4674;POINT (-40.038 -2.804676)'))) / (select extract(epoch from '2026-06-26 10:56:21'::timestamp) - extract(epoch from '2026-06-26 10:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038061 -2.80468)'), GeomFromEWKT('SRID=4674;POINT (-40.038 -2.804676)'))) / (select extract(epoch from '2026-06-26 10:56:21'::timestamp) - extract(epoch from '2026-06-26 10:56:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037989 -2.804689)', '2026-06-26 10:56:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038 -2.804676)'), GeomFromEWKT('SRID=4674;POINT (-40.037989 -2.804689)'))) / (select extract(epoch from '2026-06-26 10:56:29'::timestamp) - extract(epoch from '2026-06-26 10:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038 -2.804676)'), GeomFromEWKT('SRID=4674;POINT (-40.037989 -2.804689)'))) / (select extract(epoch from '2026-06-26 10:56:29'::timestamp) - extract(epoch from '2026-06-26 10:56:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037989 -2.804776)', '2026-06-26 10:56:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037989 -2.804689)'), GeomFromEWKT('SRID=4674;POINT (-40.037989 -2.804776)'))) / (select extract(epoch from '2026-06-26 10:56:37'::timestamp) - extract(epoch from '2026-06-26 10:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037989 -2.804689)'), GeomFromEWKT('SRID=4674;POINT (-40.037989 -2.804776)'))) / (select extract(epoch from '2026-06-26 10:56:37'::timestamp) - extract(epoch from '2026-06-26 10:56:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037968 -2.804885)', '2026-06-26 10:56:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037989 -2.804776)'), GeomFromEWKT('SRID=4674;POINT (-40.037968 -2.804885)'))) / (select extract(epoch from '2026-06-26 10:56:45'::timestamp) - extract(epoch from '2026-06-26 10:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037989 -2.804776)'), GeomFromEWKT('SRID=4674;POINT (-40.037968 -2.804885)'))) / (select extract(epoch from '2026-06-26 10:56:45'::timestamp) - extract(epoch from '2026-06-26 10:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037913 -2.804983)', '2026-06-26 10:56:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037968 -2.804885)'), GeomFromEWKT('SRID=4674;POINT (-40.037913 -2.804983)'))) / (select extract(epoch from '2026-06-26 10:56:53'::timestamp) - extract(epoch from '2026-06-26 10:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037968 -2.804885)'), GeomFromEWKT('SRID=4674;POINT (-40.037913 -2.804983)'))) / (select extract(epoch from '2026-06-26 10:56:53'::timestamp) - extract(epoch from '2026-06-26 10:56:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.03786 -2.80506)', '2026-06-26 10:57:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037913 -2.804983)'), GeomFromEWKT('SRID=4674;POINT (-40.03786 -2.80506)'))) / (select extract(epoch from '2026-06-26 10:57:00'::timestamp) - extract(epoch from '2026-06-26 10:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037913 -2.804983)'), GeomFromEWKT('SRID=4674;POINT (-40.03786 -2.80506)'))) / (select extract(epoch from '2026-06-26 10:57:00'::timestamp) - extract(epoch from '2026-06-26 10:56: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'), 46941, 'SRID=4674;POINT (-40.037811 -2.805123)', '2026-06-26 10:57:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03786 -2.80506)'), GeomFromEWKT('SRID=4674;POINT (-40.037811 -2.805123)'))) / (select extract(epoch from '2026-06-26 10:57:06'::timestamp) - extract(epoch from '2026-06-26 10:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03786 -2.80506)'), GeomFromEWKT('SRID=4674;POINT (-40.037811 -2.805123)'))) / (select extract(epoch from '2026-06-26 10:57:06'::timestamp) - extract(epoch from '2026-06-26 10:57:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037736 -2.805202)', '2026-06-26 10:57:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037811 -2.805123)'), GeomFromEWKT('SRID=4674;POINT (-40.037736 -2.805202)'))) / (select extract(epoch from '2026-06-26 10:57:14'::timestamp) - extract(epoch from '2026-06-26 10:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037811 -2.805123)'), GeomFromEWKT('SRID=4674;POINT (-40.037736 -2.805202)'))) / (select extract(epoch from '2026-06-26 10:57:14'::timestamp) - extract(epoch from '2026-06-26 10:57:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037665 -2.805262)', '2026-06-26 10:57:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037736 -2.805202)'), GeomFromEWKT('SRID=4674;POINT (-40.037665 -2.805262)'))) / (select extract(epoch from '2026-06-26 10:57:21'::timestamp) - extract(epoch from '2026-06-26 10:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037736 -2.805202)'), GeomFromEWKT('SRID=4674;POINT (-40.037665 -2.805262)'))) / (select extract(epoch from '2026-06-26 10:57:21'::timestamp) - extract(epoch from '2026-06-26 10:57:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.037612 -2.805324)', '2026-06-26 10:57:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037665 -2.805262)'), GeomFromEWKT('SRID=4674;POINT (-40.037612 -2.805324)'))) / (select extract(epoch from '2026-06-26 10:57:28'::timestamp) - extract(epoch from '2026-06-26 10:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037665 -2.805262)'), GeomFromEWKT('SRID=4674;POINT (-40.037612 -2.805324)'))) / (select extract(epoch from '2026-06-26 10:57:28'::timestamp) - extract(epoch from '2026-06-26 10:57: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'), 46941, 'SRID=4674;POINT (-40.037543 -2.80541)', '2026-06-26 10:57:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037612 -2.805324)'), GeomFromEWKT('SRID=4674;POINT (-40.037543 -2.80541)'))) / (select extract(epoch from '2026-06-26 10:57:36'::timestamp) - extract(epoch from '2026-06-26 10:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037612 -2.805324)'), GeomFromEWKT('SRID=4674;POINT (-40.037543 -2.80541)'))) / (select extract(epoch from '2026-06-26 10:57:36'::timestamp) - extract(epoch from '2026-06-26 10:57: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'), 46941, 'SRID=4674;POINT (-40.037486 -2.80551)', '2026-06-26 10:57:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037543 -2.80541)'), GeomFromEWKT('SRID=4674;POINT (-40.037486 -2.80551)'))) / (select extract(epoch from '2026-06-26 10:57:44'::timestamp) - extract(epoch from '2026-06-26 10:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037543 -2.80541)'), GeomFromEWKT('SRID=4674;POINT (-40.037486 -2.80551)'))) / (select extract(epoch from '2026-06-26 10:57:44'::timestamp) - extract(epoch from '2026-06-26 10:57:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
