BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.352788 -2.805273)', '2026-07-06 03:00:10', 3, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.352701 -2.805137)', '2026-07-06 03:00:19', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352788 -2.805273)'), GeomFromEWKT('SRID=4674;POINT (-40.352701 -2.805137)'))) / (select extract(epoch from '2026-07-06 03:00:19'::timestamp) - extract(epoch from '2026-07-06 03:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352788 -2.805273)'), GeomFromEWKT('SRID=4674;POINT (-40.352701 -2.805137)'))) / (select extract(epoch from '2026-07-06 03:00:19'::timestamp) - extract(epoch from '2026-07-06 03:00:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.352579 -2.805067)', '2026-07-06 03:00:27', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352701 -2.805137)'), GeomFromEWKT('SRID=4674;POINT (-40.352579 -2.805067)'))) / (select extract(epoch from '2026-07-06 03:00:27'::timestamp) - extract(epoch from '2026-07-06 03:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352701 -2.805137)'), GeomFromEWKT('SRID=4674;POINT (-40.352579 -2.805067)'))) / (select extract(epoch from '2026-07-06 03:00:27'::timestamp) - extract(epoch from '2026-07-06 03:00:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.352401 -2.804984)', '2026-07-06 03:00:37', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352579 -2.805067)'), GeomFromEWKT('SRID=4674;POINT (-40.352401 -2.804984)'))) / (select extract(epoch from '2026-07-06 03:00:37'::timestamp) - extract(epoch from '2026-07-06 03:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352579 -2.805067)'), GeomFromEWKT('SRID=4674;POINT (-40.352401 -2.804984)'))) / (select extract(epoch from '2026-07-06 03:00:37'::timestamp) - extract(epoch from '2026-07-06 03:00: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'), 47636, 'SRID=4674;POINT (-40.35225 -2.804849)', '2026-07-06 03:00:46', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352401 -2.804984)'), GeomFromEWKT('SRID=4674;POINT (-40.35225 -2.804849)'))) / (select extract(epoch from '2026-07-06 03:00:46'::timestamp) - extract(epoch from '2026-07-06 03:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352401 -2.804984)'), GeomFromEWKT('SRID=4674;POINT (-40.35225 -2.804849)'))) / (select extract(epoch from '2026-07-06 03:00:46'::timestamp) - extract(epoch from '2026-07-06 03:00: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'), 47636, 'SRID=4674;POINT (-40.352069 -2.804674)', '2026-07-06 03:00:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35225 -2.804849)'), GeomFromEWKT('SRID=4674;POINT (-40.352069 -2.804674)'))) / (select extract(epoch from '2026-07-06 03:00:58'::timestamp) - extract(epoch from '2026-07-06 03:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35225 -2.804849)'), GeomFromEWKT('SRID=4674;POINT (-40.352069 -2.804674)'))) / (select extract(epoch from '2026-07-06 03:00:58'::timestamp) - extract(epoch from '2026-07-06 03:00:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.351978 -2.804588)', '2026-07-06 03:01:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352069 -2.804674)'), GeomFromEWKT('SRID=4674;POINT (-40.351978 -2.804588)'))) / (select extract(epoch from '2026-07-06 03:01:04'::timestamp) - extract(epoch from '2026-07-06 03:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352069 -2.804674)'), GeomFromEWKT('SRID=4674;POINT (-40.351978 -2.804588)'))) / (select extract(epoch from '2026-07-06 03:01:04'::timestamp) - extract(epoch from '2026-07-06 03:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.35182 -2.80449)', '2026-07-06 03:01:13', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351978 -2.804588)'), GeomFromEWKT('SRID=4674;POINT (-40.35182 -2.80449)'))) / (select extract(epoch from '2026-07-06 03:01:13'::timestamp) - extract(epoch from '2026-07-06 03:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351978 -2.804588)'), GeomFromEWKT('SRID=4674;POINT (-40.35182 -2.80449)'))) / (select extract(epoch from '2026-07-06 03:01:13'::timestamp) - extract(epoch from '2026-07-06 03:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.351679 -2.804374)', '2026-07-06 03:01:22', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35182 -2.80449)'), GeomFromEWKT('SRID=4674;POINT (-40.351679 -2.804374)'))) / (select extract(epoch from '2026-07-06 03:01:22'::timestamp) - extract(epoch from '2026-07-06 03:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35182 -2.80449)'), GeomFromEWKT('SRID=4674;POINT (-40.351679 -2.804374)'))) / (select extract(epoch from '2026-07-06 03:01:22'::timestamp) - extract(epoch from '2026-07-06 03:01: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'), 47636, 'SRID=4674;POINT (-40.351515 -2.804316)', '2026-07-06 03:01:31', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351679 -2.804374)'), GeomFromEWKT('SRID=4674;POINT (-40.351515 -2.804316)'))) / (select extract(epoch from '2026-07-06 03:01:31'::timestamp) - extract(epoch from '2026-07-06 03:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351679 -2.804374)'), GeomFromEWKT('SRID=4674;POINT (-40.351515 -2.804316)'))) / (select extract(epoch from '2026-07-06 03:01:31'::timestamp) - extract(epoch from '2026-07-06 03:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.35134 -2.804304)', '2026-07-06 03:01:40', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351515 -2.804316)'), GeomFromEWKT('SRID=4674;POINT (-40.35134 -2.804304)'))) / (select extract(epoch from '2026-07-06 03:01:40'::timestamp) - extract(epoch from '2026-07-06 03:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351515 -2.804316)'), GeomFromEWKT('SRID=4674;POINT (-40.35134 -2.804304)'))) / (select extract(epoch from '2026-07-06 03:01:40'::timestamp) - extract(epoch from '2026-07-06 03:01: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'), 47636, 'SRID=4674;POINT (-40.351165 -2.804219)', '2026-07-06 03:01:50', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35134 -2.804304)'), GeomFromEWKT('SRID=4674;POINT (-40.351165 -2.804219)'))) / (select extract(epoch from '2026-07-06 03:01:50'::timestamp) - extract(epoch from '2026-07-06 03:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35134 -2.804304)'), GeomFromEWKT('SRID=4674;POINT (-40.351165 -2.804219)'))) / (select extract(epoch from '2026-07-06 03:01:50'::timestamp) - extract(epoch from '2026-07-06 03:01: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'), 47636, 'SRID=4674;POINT (-40.350974 -2.804105)', '2026-07-06 03:02:01', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351165 -2.804219)'), GeomFromEWKT('SRID=4674;POINT (-40.350974 -2.804105)'))) / (select extract(epoch from '2026-07-06 03:02:01'::timestamp) - extract(epoch from '2026-07-06 03:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351165 -2.804219)'), GeomFromEWKT('SRID=4674;POINT (-40.350974 -2.804105)'))) / (select extract(epoch from '2026-07-06 03:02:01'::timestamp) - extract(epoch from '2026-07-06 03:01:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350788 -2.804017)', '2026-07-06 03:02:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350974 -2.804105)'), GeomFromEWKT('SRID=4674;POINT (-40.350788 -2.804017)'))) / (select extract(epoch from '2026-07-06 03:02:11'::timestamp) - extract(epoch from '2026-07-06 03:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350974 -2.804105)'), GeomFromEWKT('SRID=4674;POINT (-40.350788 -2.804017)'))) / (select extract(epoch from '2026-07-06 03:02:11'::timestamp) - extract(epoch from '2026-07-06 03:02: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'), 47636, 'SRID=4674;POINT (-40.350608 -2.803949)', '2026-07-06 03:02:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350788 -2.804017)'), GeomFromEWKT('SRID=4674;POINT (-40.350608 -2.803949)'))) / (select extract(epoch from '2026-07-06 03:02:20'::timestamp) - extract(epoch from '2026-07-06 03:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350788 -2.804017)'), GeomFromEWKT('SRID=4674;POINT (-40.350608 -2.803949)'))) / (select extract(epoch from '2026-07-06 03:02:20'::timestamp) - extract(epoch from '2026-07-06 03:02: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'), 47636, 'SRID=4674;POINT (-40.350361 -2.803855)', '2026-07-06 03:02:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350608 -2.803949)'), GeomFromEWKT('SRID=4674;POINT (-40.350361 -2.803855)'))) / (select extract(epoch from '2026-07-06 03:02:33'::timestamp) - extract(epoch from '2026-07-06 03:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350608 -2.803949)'), GeomFromEWKT('SRID=4674;POINT (-40.350361 -2.803855)'))) / (select extract(epoch from '2026-07-06 03:02:33'::timestamp) - extract(epoch from '2026-07-06 03:02: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'), 47636, 'SRID=4674;POINT (-40.350179 -2.803772)', '2026-07-06 03:02:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350361 -2.803855)'), GeomFromEWKT('SRID=4674;POINT (-40.350179 -2.803772)'))) / (select extract(epoch from '2026-07-06 03:02:43'::timestamp) - extract(epoch from '2026-07-06 03:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350361 -2.803855)'), GeomFromEWKT('SRID=4674;POINT (-40.350179 -2.803772)'))) / (select extract(epoch from '2026-07-06 03:02:43'::timestamp) - extract(epoch from '2026-07-06 03:02: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'), 47636, 'SRID=4674;POINT (-40.350033 -2.803708)', '2026-07-06 03:02:51', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350179 -2.803772)'), GeomFromEWKT('SRID=4674;POINT (-40.350033 -2.803708)'))) / (select extract(epoch from '2026-07-06 03:02:51'::timestamp) - extract(epoch from '2026-07-06 03:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350179 -2.803772)'), GeomFromEWKT('SRID=4674;POINT (-40.350033 -2.803708)'))) / (select extract(epoch from '2026-07-06 03:02:51'::timestamp) - extract(epoch from '2026-07-06 03:02: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'), 47636, 'SRID=4674;POINT (-40.349866 -2.803642)', '2026-07-06 03:03:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350033 -2.803708)'), GeomFromEWKT('SRID=4674;POINT (-40.349866 -2.803642)'))) / (select extract(epoch from '2026-07-06 03:03:00'::timestamp) - extract(epoch from '2026-07-06 03:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350033 -2.803708)'), GeomFromEWKT('SRID=4674;POINT (-40.349866 -2.803642)'))) / (select extract(epoch from '2026-07-06 03:03:00'::timestamp) - extract(epoch from '2026-07-06 03:02: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'), 47636, 'SRID=4674;POINT (-40.349731 -2.803591)', '2026-07-06 03:03:07', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349866 -2.803642)'), GeomFromEWKT('SRID=4674;POINT (-40.349731 -2.803591)'))) / (select extract(epoch from '2026-07-06 03:03:07'::timestamp) - extract(epoch from '2026-07-06 03:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349866 -2.803642)'), GeomFromEWKT('SRID=4674;POINT (-40.349731 -2.803591)'))) / (select extract(epoch from '2026-07-06 03:03:07'::timestamp) - extract(epoch from '2026-07-06 03:03:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.349538 -2.803515)', '2026-07-06 03:03:17', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349731 -2.803591)'), GeomFromEWKT('SRID=4674;POINT (-40.349538 -2.803515)'))) / (select extract(epoch from '2026-07-06 03:03:17'::timestamp) - extract(epoch from '2026-07-06 03:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349731 -2.803591)'), GeomFromEWKT('SRID=4674;POINT (-40.349538 -2.803515)'))) / (select extract(epoch from '2026-07-06 03:03:17'::timestamp) - extract(epoch from '2026-07-06 03:03: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'), 47636, 'SRID=4674;POINT (-40.349354 -2.803446)', '2026-07-06 03:03:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349538 -2.803515)'), GeomFromEWKT('SRID=4674;POINT (-40.349354 -2.803446)'))) / (select extract(epoch from '2026-07-06 03:03:27'::timestamp) - extract(epoch from '2026-07-06 03:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349538 -2.803515)'), GeomFromEWKT('SRID=4674;POINT (-40.349354 -2.803446)'))) / (select extract(epoch from '2026-07-06 03:03:27'::timestamp) - extract(epoch from '2026-07-06 03:03:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.349181 -2.803385)', '2026-07-06 03:03:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349354 -2.803446)'), GeomFromEWKT('SRID=4674;POINT (-40.349181 -2.803385)'))) / (select extract(epoch from '2026-07-06 03:03:36'::timestamp) - extract(epoch from '2026-07-06 03:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349354 -2.803446)'), GeomFromEWKT('SRID=4674;POINT (-40.349181 -2.803385)'))) / (select extract(epoch from '2026-07-06 03:03:36'::timestamp) - extract(epoch from '2026-07-06 03:03: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'), 47636, 'SRID=4674;POINT (-40.348986 -2.803327)', '2026-07-06 03:03:46', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349181 -2.803385)'), GeomFromEWKT('SRID=4674;POINT (-40.348986 -2.803327)'))) / (select extract(epoch from '2026-07-06 03:03:46'::timestamp) - extract(epoch from '2026-07-06 03:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349181 -2.803385)'), GeomFromEWKT('SRID=4674;POINT (-40.348986 -2.803327)'))) / (select extract(epoch from '2026-07-06 03:03:46'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.348828 -2.803285)', '2026-07-06 03:03:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348986 -2.803327)'), GeomFromEWKT('SRID=4674;POINT (-40.348828 -2.803285)'))) / (select extract(epoch from '2026-07-06 03:03:54'::timestamp) - extract(epoch from '2026-07-06 03:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348986 -2.803327)'), GeomFromEWKT('SRID=4674;POINT (-40.348828 -2.803285)'))) / (select extract(epoch from '2026-07-06 03:03:54'::timestamp) - extract(epoch from '2026-07-06 03:03: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'), 47636, 'SRID=4674;POINT (-40.348631 -2.803225)', '2026-07-06 03:04:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348828 -2.803285)'), GeomFromEWKT('SRID=4674;POINT (-40.348631 -2.803225)'))) / (select extract(epoch from '2026-07-06 03:04:04'::timestamp) - extract(epoch from '2026-07-06 03:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348828 -2.803285)'), GeomFromEWKT('SRID=4674;POINT (-40.348631 -2.803225)'))) / (select extract(epoch from '2026-07-06 03:04:04'::timestamp) - extract(epoch from '2026-07-06 03:03: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'), 47636, 'SRID=4674;POINT (-40.348404 -2.803127)', '2026-07-06 03:04:16', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348631 -2.803225)'), GeomFromEWKT('SRID=4674;POINT (-40.348404 -2.803127)'))) / (select extract(epoch from '2026-07-06 03:04:16'::timestamp) - extract(epoch from '2026-07-06 03:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348631 -2.803225)'), GeomFromEWKT('SRID=4674;POINT (-40.348404 -2.803127)'))) / (select extract(epoch from '2026-07-06 03:04:16'::timestamp) - extract(epoch from '2026-07-06 03:04: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'), 47636, 'SRID=4674;POINT (-40.348252 -2.803063)', '2026-07-06 03:04:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348404 -2.803127)'), GeomFromEWKT('SRID=4674;POINT (-40.348252 -2.803063)'))) / (select extract(epoch from '2026-07-06 03:04:24'::timestamp) - extract(epoch from '2026-07-06 03:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348404 -2.803127)'), GeomFromEWKT('SRID=4674;POINT (-40.348252 -2.803063)'))) / (select extract(epoch from '2026-07-06 03:04:24'::timestamp) - extract(epoch from '2026-07-06 03:04:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.348062 -2.80299)', '2026-07-06 03:04:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348252 -2.803063)'), GeomFromEWKT('SRID=4674;POINT (-40.348062 -2.80299)'))) / (select extract(epoch from '2026-07-06 03:04:34'::timestamp) - extract(epoch from '2026-07-06 03:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348252 -2.803063)'), GeomFromEWKT('SRID=4674;POINT (-40.348062 -2.80299)'))) / (select extract(epoch from '2026-07-06 03:04:34'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.347875 -2.802899)', '2026-07-06 03:04:44', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348062 -2.80299)'), GeomFromEWKT('SRID=4674;POINT (-40.347875 -2.802899)'))) / (select extract(epoch from '2026-07-06 03:04:44'::timestamp) - extract(epoch from '2026-07-06 03:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348062 -2.80299)'), GeomFromEWKT('SRID=4674;POINT (-40.347875 -2.802899)'))) / (select extract(epoch from '2026-07-06 03:04:44'::timestamp) - extract(epoch from '2026-07-06 03:04:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.347715 -2.802796)', '2026-07-06 03:04:53', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347875 -2.802899)'), GeomFromEWKT('SRID=4674;POINT (-40.347715 -2.802796)'))) / (select extract(epoch from '2026-07-06 03:04:53'::timestamp) - extract(epoch from '2026-07-06 03:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347875 -2.802899)'), GeomFromEWKT('SRID=4674;POINT (-40.347715 -2.802796)'))) / (select extract(epoch from '2026-07-06 03:04:53'::timestamp) - extract(epoch from '2026-07-06 03:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.347493 -2.802678)', '2026-07-06 03:05:05', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347715 -2.802796)'), GeomFromEWKT('SRID=4674;POINT (-40.347493 -2.802678)'))) / (select extract(epoch from '2026-07-06 03:05:05'::timestamp) - extract(epoch from '2026-07-06 03:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347715 -2.802796)'), GeomFromEWKT('SRID=4674;POINT (-40.347493 -2.802678)'))) / (select extract(epoch from '2026-07-06 03:05:05'::timestamp) - extract(epoch from '2026-07-06 03:04:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.347317 -2.802601)', '2026-07-06 03:05:14', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347493 -2.802678)'), GeomFromEWKT('SRID=4674;POINT (-40.347317 -2.802601)'))) / (select extract(epoch from '2026-07-06 03:05:14'::timestamp) - extract(epoch from '2026-07-06 03:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347493 -2.802678)'), GeomFromEWKT('SRID=4674;POINT (-40.347317 -2.802601)'))) / (select extract(epoch from '2026-07-06 03:05:14'::timestamp) - extract(epoch from '2026-07-06 03:05:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.347133 -2.802516)', '2026-07-06 03:05:24', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347317 -2.802601)'), GeomFromEWKT('SRID=4674;POINT (-40.347133 -2.802516)'))) / (select extract(epoch from '2026-07-06 03:05:24'::timestamp) - extract(epoch from '2026-07-06 03:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347317 -2.802601)'), GeomFromEWKT('SRID=4674;POINT (-40.347133 -2.802516)'))) / (select extract(epoch from '2026-07-06 03:05:24'::timestamp) - extract(epoch from '2026-07-06 03:05: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'), 47636, 'SRID=4674;POINT (-40.346901 -2.802412)', '2026-07-06 03:05:36', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347133 -2.802516)'), GeomFromEWKT('SRID=4674;POINT (-40.346901 -2.802412)'))) / (select extract(epoch from '2026-07-06 03:05:36'::timestamp) - extract(epoch from '2026-07-06 03:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347133 -2.802516)'), GeomFromEWKT('SRID=4674;POINT (-40.346901 -2.802412)'))) / (select extract(epoch from '2026-07-06 03:05:36'::timestamp) - extract(epoch from '2026-07-06 03:05: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'), 47636, 'SRID=4674;POINT (-40.346708 -2.802333)', '2026-07-06 03:05:46', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346901 -2.802412)'), GeomFromEWKT('SRID=4674;POINT (-40.346708 -2.802333)'))) / (select extract(epoch from '2026-07-06 03:05:46'::timestamp) - extract(epoch from '2026-07-06 03:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346901 -2.802412)'), GeomFromEWKT('SRID=4674;POINT (-40.346708 -2.802333)'))) / (select extract(epoch from '2026-07-06 03:05:46'::timestamp) - extract(epoch from '2026-07-06 03:05:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.346517 -2.802255)', '2026-07-06 03:05:56', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346708 -2.802333)'), GeomFromEWKT('SRID=4674;POINT (-40.346517 -2.802255)'))) / (select extract(epoch from '2026-07-06 03:05:56'::timestamp) - extract(epoch from '2026-07-06 03:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346708 -2.802333)'), GeomFromEWKT('SRID=4674;POINT (-40.346517 -2.802255)'))) / (select extract(epoch from '2026-07-06 03:05:56'::timestamp) - extract(epoch from '2026-07-06 03:05:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.346284 -2.802175)', '2026-07-06 03:06:08', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346517 -2.802255)'), GeomFromEWKT('SRID=4674;POINT (-40.346284 -2.802175)'))) / (select extract(epoch from '2026-07-06 03:06:08'::timestamp) - extract(epoch from '2026-07-06 03:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346517 -2.802255)'), GeomFromEWKT('SRID=4674;POINT (-40.346284 -2.802175)'))) / (select extract(epoch from '2026-07-06 03:06:08'::timestamp) - extract(epoch from '2026-07-06 03:05: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'), 47636, 'SRID=4674;POINT (-40.346112 -2.802122)', '2026-07-06 03:06:17', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346284 -2.802175)'), GeomFromEWKT('SRID=4674;POINT (-40.346112 -2.802122)'))) / (select extract(epoch from '2026-07-06 03:06:17'::timestamp) - extract(epoch from '2026-07-06 03:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346284 -2.802175)'), GeomFromEWKT('SRID=4674;POINT (-40.346112 -2.802122)'))) / (select extract(epoch from '2026-07-06 03:06:17'::timestamp) - extract(epoch from '2026-07-06 03:06:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.345938 -2.802058)', '2026-07-06 03:06:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346112 -2.802122)'), GeomFromEWKT('SRID=4674;POINT (-40.345938 -2.802058)'))) / (select extract(epoch from '2026-07-06 03:06:26'::timestamp) - extract(epoch from '2026-07-06 03:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346112 -2.802122)'), GeomFromEWKT('SRID=4674;POINT (-40.345938 -2.802058)'))) / (select extract(epoch from '2026-07-06 03:06:26'::timestamp) - extract(epoch from '2026-07-06 03:06:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.345727 -2.801972)', '2026-07-06 03:06:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345938 -2.802058)'), GeomFromEWKT('SRID=4674;POINT (-40.345727 -2.801972)'))) / (select extract(epoch from '2026-07-06 03:06:37'::timestamp) - extract(epoch from '2026-07-06 03:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345938 -2.802058)'), GeomFromEWKT('SRID=4674;POINT (-40.345727 -2.801972)'))) / (select extract(epoch from '2026-07-06 03:06:37'::timestamp) - extract(epoch from '2026-07-06 03:06: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'), 47636, 'SRID=4674;POINT (-40.345528 -2.801919)', '2026-07-06 03:06:47', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345727 -2.801972)'), GeomFromEWKT('SRID=4674;POINT (-40.345528 -2.801919)'))) / (select extract(epoch from '2026-07-06 03:06:47'::timestamp) - extract(epoch from '2026-07-06 03:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345727 -2.801972)'), GeomFromEWKT('SRID=4674;POINT (-40.345528 -2.801919)'))) / (select extract(epoch from '2026-07-06 03:06:47'::timestamp) - extract(epoch from '2026-07-06 03:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.34533 -2.80186)', '2026-07-06 03:06:57', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345528 -2.801919)'), GeomFromEWKT('SRID=4674;POINT (-40.34533 -2.80186)'))) / (select extract(epoch from '2026-07-06 03:06:57'::timestamp) - extract(epoch from '2026-07-06 03:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345528 -2.801919)'), GeomFromEWKT('SRID=4674;POINT (-40.34533 -2.80186)'))) / (select extract(epoch from '2026-07-06 03:06:57'::timestamp) - extract(epoch from '2026-07-06 03:06:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.345132 -2.8018)', '2026-07-06 03:07:07', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34533 -2.80186)'), GeomFromEWKT('SRID=4674;POINT (-40.345132 -2.8018)'))) / (select extract(epoch from '2026-07-06 03:07:07'::timestamp) - extract(epoch from '2026-07-06 03:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34533 -2.80186)'), GeomFromEWKT('SRID=4674;POINT (-40.345132 -2.8018)'))) / (select extract(epoch from '2026-07-06 03:07:07'::timestamp) - extract(epoch from '2026-07-06 03:06: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'), 47636, 'SRID=4674;POINT (-40.344909 -2.801759)', '2026-07-06 03:07:18', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345132 -2.8018)'), GeomFromEWKT('SRID=4674;POINT (-40.344909 -2.801759)'))) / (select extract(epoch from '2026-07-06 03:07:18'::timestamp) - extract(epoch from '2026-07-06 03:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345132 -2.8018)'), GeomFromEWKT('SRID=4674;POINT (-40.344909 -2.801759)'))) / (select extract(epoch from '2026-07-06 03:07:18'::timestamp) - extract(epoch from '2026-07-06 03:07: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'), 47636, 'SRID=4674;POINT (-40.344705 -2.801727)', '2026-07-06 03:07:28', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344909 -2.801759)'), GeomFromEWKT('SRID=4674;POINT (-40.344705 -2.801727)'))) / (select extract(epoch from '2026-07-06 03:07:28'::timestamp) - extract(epoch from '2026-07-06 03:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344909 -2.801759)'), GeomFromEWKT('SRID=4674;POINT (-40.344705 -2.801727)'))) / (select extract(epoch from '2026-07-06 03:07:28'::timestamp) - extract(epoch from '2026-07-06 03:07: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'), 47636, 'SRID=4674;POINT (-40.344519 -2.801695)', '2026-07-06 03:07:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344705 -2.801727)'), GeomFromEWKT('SRID=4674;POINT (-40.344519 -2.801695)'))) / (select extract(epoch from '2026-07-06 03:07:37'::timestamp) - extract(epoch from '2026-07-06 03:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344705 -2.801727)'), GeomFromEWKT('SRID=4674;POINT (-40.344519 -2.801695)'))) / (select extract(epoch from '2026-07-06 03:07:37'::timestamp) - extract(epoch from '2026-07-06 03:07: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'), 47636, 'SRID=4674;POINT (-40.344311 -2.801668)', '2026-07-06 03:07:47', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344519 -2.801695)'), GeomFromEWKT('SRID=4674;POINT (-40.344311 -2.801668)'))) / (select extract(epoch from '2026-07-06 03:07:47'::timestamp) - extract(epoch from '2026-07-06 03:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344519 -2.801695)'), GeomFromEWKT('SRID=4674;POINT (-40.344311 -2.801668)'))) / (select extract(epoch from '2026-07-06 03:07:47'::timestamp) - extract(epoch from '2026-07-06 03:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.344082 -2.80164)', '2026-07-06 03:07:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344311 -2.801668)'), GeomFromEWKT('SRID=4674;POINT (-40.344082 -2.80164)'))) / (select extract(epoch from '2026-07-06 03:07:58'::timestamp) - extract(epoch from '2026-07-06 03:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344311 -2.801668)'), GeomFromEWKT('SRID=4674;POINT (-40.344082 -2.80164)'))) / (select extract(epoch from '2026-07-06 03:07:58'::timestamp) - extract(epoch from '2026-07-06 03:07: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'), 47636, 'SRID=4674;POINT (-40.343878 -2.80161)', '2026-07-06 03:08:08', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344082 -2.80164)'), GeomFromEWKT('SRID=4674;POINT (-40.343878 -2.80161)'))) / (select extract(epoch from '2026-07-06 03:08:08'::timestamp) - extract(epoch from '2026-07-06 03:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344082 -2.80164)'), GeomFromEWKT('SRID=4674;POINT (-40.343878 -2.80161)'))) / (select extract(epoch from '2026-07-06 03:08:08'::timestamp) - extract(epoch from '2026-07-06 03:07: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'), 47636, 'SRID=4674;POINT (-40.343633 -2.801577)', '2026-07-06 03:08:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343878 -2.80161)'), GeomFromEWKT('SRID=4674;POINT (-40.343633 -2.801577)'))) / (select extract(epoch from '2026-07-06 03:08:20'::timestamp) - extract(epoch from '2026-07-06 03:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343878 -2.80161)'), GeomFromEWKT('SRID=4674;POINT (-40.343633 -2.801577)'))) / (select extract(epoch from '2026-07-06 03:08:20'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.343408 -2.801548)', '2026-07-06 03:08:31', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343633 -2.801577)'), GeomFromEWKT('SRID=4674;POINT (-40.343408 -2.801548)'))) / (select extract(epoch from '2026-07-06 03:08:31'::timestamp) - extract(epoch from '2026-07-06 03:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343633 -2.801577)'), GeomFromEWKT('SRID=4674;POINT (-40.343408 -2.801548)'))) / (select extract(epoch from '2026-07-06 03:08:31'::timestamp) - extract(epoch from '2026-07-06 03:08:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.343161 -2.801509)', '2026-07-06 03:08:43', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343408 -2.801548)'), GeomFromEWKT('SRID=4674;POINT (-40.343161 -2.801509)'))) / (select extract(epoch from '2026-07-06 03:08:43'::timestamp) - extract(epoch from '2026-07-06 03:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343408 -2.801548)'), GeomFromEWKT('SRID=4674;POINT (-40.343161 -2.801509)'))) / (select extract(epoch from '2026-07-06 03:08:43'::timestamp) - extract(epoch from '2026-07-06 03:08: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'), 47636, 'SRID=4674;POINT (-40.343019 -2.801481)', '2026-07-06 03:08:50', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343161 -2.801509)'), GeomFromEWKT('SRID=4674;POINT (-40.343019 -2.801481)'))) / (select extract(epoch from '2026-07-06 03:08:50'::timestamp) - extract(epoch from '2026-07-06 03:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343161 -2.801509)'), GeomFromEWKT('SRID=4674;POINT (-40.343019 -2.801481)'))) / (select extract(epoch from '2026-07-06 03:08:50'::timestamp) - extract(epoch from '2026-07-06 03:08: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'), 47636, 'SRID=4674;POINT (-40.34286 -2.801463)', '2026-07-06 03:08:58', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343019 -2.801481)'), GeomFromEWKT('SRID=4674;POINT (-40.34286 -2.801463)'))) / (select extract(epoch from '2026-07-06 03:08:58'::timestamp) - extract(epoch from '2026-07-06 03:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343019 -2.801481)'), GeomFromEWKT('SRID=4674;POINT (-40.34286 -2.801463)'))) / (select extract(epoch from '2026-07-06 03:08:58'::timestamp) - extract(epoch from '2026-07-06 03:08: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'), 47636, 'SRID=4674;POINT (-40.342678 -2.801443)', '2026-07-06 03:09:07', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34286 -2.801463)'), GeomFromEWKT('SRID=4674;POINT (-40.342678 -2.801443)'))) / (select extract(epoch from '2026-07-06 03:09:07'::timestamp) - extract(epoch from '2026-07-06 03:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34286 -2.801463)'), GeomFromEWKT('SRID=4674;POINT (-40.342678 -2.801443)'))) / (select extract(epoch from '2026-07-06 03:09:07'::timestamp) - extract(epoch from '2026-07-06 03:08: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'), 47636, 'SRID=4674;POINT (-40.342512 -2.801405)', '2026-07-06 03:09:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342678 -2.801443)'), GeomFromEWKT('SRID=4674;POINT (-40.342512 -2.801405)'))) / (select extract(epoch from '2026-07-06 03:09:15'::timestamp) - extract(epoch from '2026-07-06 03:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342678 -2.801443)'), GeomFromEWKT('SRID=4674;POINT (-40.342512 -2.801405)'))) / (select extract(epoch from '2026-07-06 03:09:15'::timestamp) - extract(epoch from '2026-07-06 03:09:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.342247 -2.801372)', '2026-07-06 03:09:28', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342512 -2.801405)'), GeomFromEWKT('SRID=4674;POINT (-40.342247 -2.801372)'))) / (select extract(epoch from '2026-07-06 03:09:28'::timestamp) - extract(epoch from '2026-07-06 03:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342512 -2.801405)'), GeomFromEWKT('SRID=4674;POINT (-40.342247 -2.801372)'))) / (select extract(epoch from '2026-07-06 03:09:28'::timestamp) - extract(epoch from '2026-07-06 03:09:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.342041 -2.80133)', '2026-07-06 03:09:38', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342247 -2.801372)'), GeomFromEWKT('SRID=4674;POINT (-40.342041 -2.80133)'))) / (select extract(epoch from '2026-07-06 03:09:38'::timestamp) - extract(epoch from '2026-07-06 03:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342247 -2.801372)'), GeomFromEWKT('SRID=4674;POINT (-40.342041 -2.80133)'))) / (select extract(epoch from '2026-07-06 03:09:38'::timestamp) - extract(epoch from '2026-07-06 03:09: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'), 47636, 'SRID=4674;POINT (-40.341836 -2.801282)', '2026-07-06 03:09:48', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342041 -2.80133)'), GeomFromEWKT('SRID=4674;POINT (-40.341836 -2.801282)'))) / (select extract(epoch from '2026-07-06 03:09:48'::timestamp) - extract(epoch from '2026-07-06 03:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342041 -2.80133)'), GeomFromEWKT('SRID=4674;POINT (-40.341836 -2.801282)'))) / (select extract(epoch from '2026-07-06 03:09:48'::timestamp) - extract(epoch from '2026-07-06 03:09:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.341648 -2.801255)', '2026-07-06 03:09:57', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341836 -2.801282)'), GeomFromEWKT('SRID=4674;POINT (-40.341648 -2.801255)'))) / (select extract(epoch from '2026-07-06 03:09:57'::timestamp) - extract(epoch from '2026-07-06 03:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341836 -2.801282)'), GeomFromEWKT('SRID=4674;POINT (-40.341648 -2.801255)'))) / (select extract(epoch from '2026-07-06 03:09:57'::timestamp) - extract(epoch from '2026-07-06 03:09: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'), 47636, 'SRID=4674;POINT (-40.341422 -2.801213)', '2026-07-06 03:10:08', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341648 -2.801255)'), GeomFromEWKT('SRID=4674;POINT (-40.341422 -2.801213)'))) / (select extract(epoch from '2026-07-06 03:10:08'::timestamp) - extract(epoch from '2026-07-06 03:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341648 -2.801255)'), GeomFromEWKT('SRID=4674;POINT (-40.341422 -2.801213)'))) / (select extract(epoch from '2026-07-06 03:10:08'::timestamp) - extract(epoch from '2026-07-06 03:09: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'), 47636, 'SRID=4674;POINT (-40.341264 -2.80117)', '2026-07-06 03:10:16', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341422 -2.801213)'), GeomFromEWKT('SRID=4674;POINT (-40.341264 -2.80117)'))) / (select extract(epoch from '2026-07-06 03:10:16'::timestamp) - extract(epoch from '2026-07-06 03:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341422 -2.801213)'), GeomFromEWKT('SRID=4674;POINT (-40.341264 -2.80117)'))) / (select extract(epoch from '2026-07-06 03:10:16'::timestamp) - extract(epoch from '2026-07-06 03:10:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.34104 -2.801125)', '2026-07-06 03:10:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341264 -2.80117)'), GeomFromEWKT('SRID=4674;POINT (-40.34104 -2.801125)'))) / (select extract(epoch from '2026-07-06 03:10:27'::timestamp) - extract(epoch from '2026-07-06 03:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341264 -2.80117)'), GeomFromEWKT('SRID=4674;POINT (-40.34104 -2.801125)'))) / (select extract(epoch from '2026-07-06 03:10:27'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.340817 -2.80108)', '2026-07-06 03:10:38', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34104 -2.801125)'), GeomFromEWKT('SRID=4674;POINT (-40.340817 -2.80108)'))) / (select extract(epoch from '2026-07-06 03:10:38'::timestamp) - extract(epoch from '2026-07-06 03:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34104 -2.801125)'), GeomFromEWKT('SRID=4674;POINT (-40.340817 -2.80108)'))) / (select extract(epoch from '2026-07-06 03:10:38'::timestamp) - extract(epoch from '2026-07-06 03:10: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'), 47636, 'SRID=4674;POINT (-40.340632 -2.801056)', '2026-07-06 03:10:47', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340817 -2.80108)'), GeomFromEWKT('SRID=4674;POINT (-40.340632 -2.801056)'))) / (select extract(epoch from '2026-07-06 03:10:47'::timestamp) - extract(epoch from '2026-07-06 03:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340817 -2.80108)'), GeomFromEWKT('SRID=4674;POINT (-40.340632 -2.801056)'))) / (select extract(epoch from '2026-07-06 03:10:47'::timestamp) - extract(epoch from '2026-07-06 03:10:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.340469 -2.801026)', '2026-07-06 03:10:55', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340632 -2.801056)'), GeomFromEWKT('SRID=4674;POINT (-40.340469 -2.801026)'))) / (select extract(epoch from '2026-07-06 03:10:55'::timestamp) - extract(epoch from '2026-07-06 03:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340632 -2.801056)'), GeomFromEWKT('SRID=4674;POINT (-40.340469 -2.801026)'))) / (select extract(epoch from '2026-07-06 03:10:55'::timestamp) - extract(epoch from '2026-07-06 03:10:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.340286 -2.800983)', '2026-07-06 03:11:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340469 -2.801026)'), GeomFromEWKT('SRID=4674;POINT (-40.340286 -2.800983)'))) / (select extract(epoch from '2026-07-06 03:11:04'::timestamp) - extract(epoch from '2026-07-06 03:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340469 -2.801026)'), GeomFromEWKT('SRID=4674;POINT (-40.340286 -2.800983)'))) / (select extract(epoch from '2026-07-06 03:11:04'::timestamp) - extract(epoch from '2026-07-06 03:10:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.340105 -2.80094)', '2026-07-06 03:11:13', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340286 -2.800983)'), GeomFromEWKT('SRID=4674;POINT (-40.340105 -2.80094)'))) / (select extract(epoch from '2026-07-06 03:11:13'::timestamp) - extract(epoch from '2026-07-06 03:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340286 -2.800983)'), GeomFromEWKT('SRID=4674;POINT (-40.340105 -2.80094)'))) / (select extract(epoch from '2026-07-06 03:11:13'::timestamp) - extract(epoch from '2026-07-06 03:11: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'), 47636, 'SRID=4674;POINT (-40.339828 -2.800843)', '2026-07-06 03:11:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340105 -2.80094)'), GeomFromEWKT('SRID=4674;POINT (-40.339828 -2.800843)'))) / (select extract(epoch from '2026-07-06 03:11:27'::timestamp) - extract(epoch from '2026-07-06 03:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340105 -2.80094)'), GeomFromEWKT('SRID=4674;POINT (-40.339828 -2.800843)'))) / (select extract(epoch from '2026-07-06 03:11:27'::timestamp) - extract(epoch from '2026-07-06 03:11: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'), 47636, 'SRID=4674;POINT (-40.339607 -2.800787)', '2026-07-06 03:11:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339828 -2.800843)'), GeomFromEWKT('SRID=4674;POINT (-40.339607 -2.800787)'))) / (select extract(epoch from '2026-07-06 03:11:38'::timestamp) - extract(epoch from '2026-07-06 03:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339828 -2.800843)'), GeomFromEWKT('SRID=4674;POINT (-40.339607 -2.800787)'))) / (select extract(epoch from '2026-07-06 03:11:38'::timestamp) - extract(epoch from '2026-07-06 03:11: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'), 47636, 'SRID=4674;POINT (-40.339388 -2.800748)', '2026-07-06 03:11:49', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339607 -2.800787)'), GeomFromEWKT('SRID=4674;POINT (-40.339388 -2.800748)'))) / (select extract(epoch from '2026-07-06 03:11:49'::timestamp) - extract(epoch from '2026-07-06 03:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339607 -2.800787)'), GeomFromEWKT('SRID=4674;POINT (-40.339388 -2.800748)'))) / (select extract(epoch from '2026-07-06 03:11:49'::timestamp) - extract(epoch from '2026-07-06 03:11:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.33914 -2.80071)', '2026-07-06 03:12:01', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339388 -2.800748)'), GeomFromEWKT('SRID=4674;POINT (-40.33914 -2.80071)'))) / (select extract(epoch from '2026-07-06 03:12:01'::timestamp) - extract(epoch from '2026-07-06 03:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339388 -2.800748)'), GeomFromEWKT('SRID=4674;POINT (-40.33914 -2.80071)'))) / (select extract(epoch from '2026-07-06 03:12:01'::timestamp) - extract(epoch from '2026-07-06 03:11:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.338914 -2.800651)', '2026-07-06 03:12:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33914 -2.80071)'), GeomFromEWKT('SRID=4674;POINT (-40.338914 -2.800651)'))) / (select extract(epoch from '2026-07-06 03:12:12'::timestamp) - extract(epoch from '2026-07-06 03:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33914 -2.80071)'), GeomFromEWKT('SRID=4674;POINT (-40.338914 -2.800651)'))) / (select extract(epoch from '2026-07-06 03:12:12'::timestamp) - extract(epoch from '2026-07-06 03:12: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'), 47636, 'SRID=4674;POINT (-40.338759 -2.800602)', '2026-07-06 03:12:20', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338914 -2.800651)'), GeomFromEWKT('SRID=4674;POINT (-40.338759 -2.800602)'))) / (select extract(epoch from '2026-07-06 03:12:20'::timestamp) - extract(epoch from '2026-07-06 03:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338914 -2.800651)'), GeomFromEWKT('SRID=4674;POINT (-40.338759 -2.800602)'))) / (select extract(epoch from '2026-07-06 03:12:20'::timestamp) - extract(epoch from '2026-07-06 03:12:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.338565 -2.800536)', '2026-07-06 03:12:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338759 -2.800602)'), GeomFromEWKT('SRID=4674;POINT (-40.338565 -2.800536)'))) / (select extract(epoch from '2026-07-06 03:12:30'::timestamp) - extract(epoch from '2026-07-06 03:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338759 -2.800602)'), GeomFromEWKT('SRID=4674;POINT (-40.338565 -2.800536)'))) / (select extract(epoch from '2026-07-06 03:12:30'::timestamp) - extract(epoch from '2026-07-06 03:12:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.338374 -2.800462)', '2026-07-06 03:12:40', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338565 -2.800536)'), GeomFromEWKT('SRID=4674;POINT (-40.338374 -2.800462)'))) / (select extract(epoch from '2026-07-06 03:12:40'::timestamp) - extract(epoch from '2026-07-06 03:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338565 -2.800536)'), GeomFromEWKT('SRID=4674;POINT (-40.338374 -2.800462)'))) / (select extract(epoch from '2026-07-06 03:12:40'::timestamp) - extract(epoch from '2026-07-06 03:12: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'), 47636, 'SRID=4674;POINT (-40.338159 -2.800382)', '2026-07-06 03:12:51', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338374 -2.800462)'), GeomFromEWKT('SRID=4674;POINT (-40.338159 -2.800382)'))) / (select extract(epoch from '2026-07-06 03:12:51'::timestamp) - extract(epoch from '2026-07-06 03:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338374 -2.800462)'), GeomFromEWKT('SRID=4674;POINT (-40.338159 -2.800382)'))) / (select extract(epoch from '2026-07-06 03:12:51'::timestamp) - extract(epoch from '2026-07-06 03:12: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'), 47636, 'SRID=4674;POINT (-40.33797 -2.800302)', '2026-07-06 03:13:01', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338159 -2.800382)'), GeomFromEWKT('SRID=4674;POINT (-40.33797 -2.800302)'))) / (select extract(epoch from '2026-07-06 03:13:01'::timestamp) - extract(epoch from '2026-07-06 03:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338159 -2.800382)'), GeomFromEWKT('SRID=4674;POINT (-40.33797 -2.800302)'))) / (select extract(epoch from '2026-07-06 03:13:01'::timestamp) - extract(epoch from '2026-07-06 03:12: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'), 47636, 'SRID=4674;POINT (-40.337803 -2.800213)', '2026-07-06 03:13:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33797 -2.800302)'), GeomFromEWKT('SRID=4674;POINT (-40.337803 -2.800213)'))) / (select extract(epoch from '2026-07-06 03:13:10'::timestamp) - extract(epoch from '2026-07-06 03:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33797 -2.800302)'), GeomFromEWKT('SRID=4674;POINT (-40.337803 -2.800213)'))) / (select extract(epoch from '2026-07-06 03:13:10'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.337571 -2.800116)', '2026-07-06 03:13:22', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337803 -2.800213)'), GeomFromEWKT('SRID=4674;POINT (-40.337571 -2.800116)'))) / (select extract(epoch from '2026-07-06 03:13:22'::timestamp) - extract(epoch from '2026-07-06 03:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337803 -2.800213)'), GeomFromEWKT('SRID=4674;POINT (-40.337571 -2.800116)'))) / (select extract(epoch from '2026-07-06 03:13:22'::timestamp) - extract(epoch from '2026-07-06 03:13: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'), 47636, 'SRID=4674;POINT (-40.337341 -2.800013)', '2026-07-06 03:13:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337571 -2.800116)'), GeomFromEWKT('SRID=4674;POINT (-40.337341 -2.800013)'))) / (select extract(epoch from '2026-07-06 03:13:34'::timestamp) - extract(epoch from '2026-07-06 03:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337571 -2.800116)'), GeomFromEWKT('SRID=4674;POINT (-40.337341 -2.800013)'))) / (select extract(epoch from '2026-07-06 03:13:34'::timestamp) - extract(epoch from '2026-07-06 03:13: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'), 47636, 'SRID=4674;POINT (-40.337227 -2.799967)', '2026-07-06 03:13:40', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337341 -2.800013)'), GeomFromEWKT('SRID=4674;POINT (-40.337227 -2.799967)'))) / (select extract(epoch from '2026-07-06 03:13:40'::timestamp) - extract(epoch from '2026-07-06 03:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337341 -2.800013)'), GeomFromEWKT('SRID=4674;POINT (-40.337227 -2.799967)'))) / (select extract(epoch from '2026-07-06 03:13:40'::timestamp) - extract(epoch from '2026-07-06 03:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.337041 -2.79988)', '2026-07-06 03:13:50', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337227 -2.799967)'), GeomFromEWKT('SRID=4674;POINT (-40.337041 -2.79988)'))) / (select extract(epoch from '2026-07-06 03:13:50'::timestamp) - extract(epoch from '2026-07-06 03:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337227 -2.799967)'), GeomFromEWKT('SRID=4674;POINT (-40.337041 -2.79988)'))) / (select extract(epoch from '2026-07-06 03:13:50'::timestamp) - extract(epoch from '2026-07-06 03:13: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'), 47636, 'SRID=4674;POINT (-40.336837 -2.799775)', '2026-07-06 03:14:01', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337041 -2.79988)'), GeomFromEWKT('SRID=4674;POINT (-40.336837 -2.799775)'))) / (select extract(epoch from '2026-07-06 03:14:01'::timestamp) - extract(epoch from '2026-07-06 03:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337041 -2.79988)'), GeomFromEWKT('SRID=4674;POINT (-40.336837 -2.799775)'))) / (select extract(epoch from '2026-07-06 03:14:01'::timestamp) - extract(epoch from '2026-07-06 03:13:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.336644 -2.799691)', '2026-07-06 03:14:11', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336837 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.336644 -2.799691)'))) / (select extract(epoch from '2026-07-06 03:14:11'::timestamp) - extract(epoch from '2026-07-06 03:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336837 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.336644 -2.799691)'))) / (select extract(epoch from '2026-07-06 03:14:11'::timestamp) - extract(epoch from '2026-07-06 03:14:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.336396 -2.799571)', '2026-07-06 03:14:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336644 -2.799691)'), GeomFromEWKT('SRID=4674;POINT (-40.336396 -2.799571)'))) / (select extract(epoch from '2026-07-06 03:14:24'::timestamp) - extract(epoch from '2026-07-06 03:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336644 -2.799691)'), GeomFromEWKT('SRID=4674;POINT (-40.336396 -2.799571)'))) / (select extract(epoch from '2026-07-06 03:14:24'::timestamp) - extract(epoch from '2026-07-06 03:14:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.336167 -2.799452)', '2026-07-06 03:14:36', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336396 -2.799571)'), GeomFromEWKT('SRID=4674;POINT (-40.336167 -2.799452)'))) / (select extract(epoch from '2026-07-06 03:14:36'::timestamp) - extract(epoch from '2026-07-06 03:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336396 -2.799571)'), GeomFromEWKT('SRID=4674;POINT (-40.336167 -2.799452)'))) / (select extract(epoch from '2026-07-06 03:14:36'::timestamp) - extract(epoch from '2026-07-06 03:14: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'), 47636, 'SRID=4674;POINT (-40.335939 -2.79934)', '2026-07-06 03:14:48', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336167 -2.799452)'), GeomFromEWKT('SRID=4674;POINT (-40.335939 -2.79934)'))) / (select extract(epoch from '2026-07-06 03:14:48'::timestamp) - extract(epoch from '2026-07-06 03:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336167 -2.799452)'), GeomFromEWKT('SRID=4674;POINT (-40.335939 -2.79934)'))) / (select extract(epoch from '2026-07-06 03:14:48'::timestamp) - extract(epoch from '2026-07-06 03:14: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'), 47636, 'SRID=4674;POINT (-40.335693 -2.799227)', '2026-07-06 03:15:01', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335939 -2.79934)'), GeomFromEWKT('SRID=4674;POINT (-40.335693 -2.799227)'))) / (select extract(epoch from '2026-07-06 03:15:01'::timestamp) - extract(epoch from '2026-07-06 03:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335939 -2.79934)'), GeomFromEWKT('SRID=4674;POINT (-40.335693 -2.799227)'))) / (select extract(epoch from '2026-07-06 03:15:01'::timestamp) - extract(epoch from '2026-07-06 03:14: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'), 47636, 'SRID=4674;POINT (-40.335475 -2.799142)', '2026-07-06 03:15:12', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335693 -2.799227)'), GeomFromEWKT('SRID=4674;POINT (-40.335475 -2.799142)'))) / (select extract(epoch from '2026-07-06 03:15:12'::timestamp) - extract(epoch from '2026-07-06 03:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335693 -2.799227)'), GeomFromEWKT('SRID=4674;POINT (-40.335475 -2.799142)'))) / (select extract(epoch from '2026-07-06 03:15:12'::timestamp) - extract(epoch from '2026-07-06 03:15:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.335284 -2.799059)', '2026-07-06 03:15:22', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335475 -2.799142)'), GeomFromEWKT('SRID=4674;POINT (-40.335284 -2.799059)'))) / (select extract(epoch from '2026-07-06 03:15:22'::timestamp) - extract(epoch from '2026-07-06 03:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335475 -2.799142)'), GeomFromEWKT('SRID=4674;POINT (-40.335284 -2.799059)'))) / (select extract(epoch from '2026-07-06 03:15:22'::timestamp) - extract(epoch from '2026-07-06 03:15: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'), 47636, 'SRID=4674;POINT (-40.33507 -2.798976)', '2026-07-06 03:15:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335284 -2.799059)'), GeomFromEWKT('SRID=4674;POINT (-40.33507 -2.798976)'))) / (select extract(epoch from '2026-07-06 03:15:33'::timestamp) - extract(epoch from '2026-07-06 03:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335284 -2.799059)'), GeomFromEWKT('SRID=4674;POINT (-40.33507 -2.798976)'))) / (select extract(epoch from '2026-07-06 03:15:33'::timestamp) - extract(epoch from '2026-07-06 03:15:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.334837 -2.798905)', '2026-07-06 03:15:45', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33507 -2.798976)'), GeomFromEWKT('SRID=4674;POINT (-40.334837 -2.798905)'))) / (select extract(epoch from '2026-07-06 03:15:45'::timestamp) - extract(epoch from '2026-07-06 03:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33507 -2.798976)'), GeomFromEWKT('SRID=4674;POINT (-40.334837 -2.798905)'))) / (select extract(epoch from '2026-07-06 03:15:45'::timestamp) - extract(epoch from '2026-07-06 03:15: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'), 47636, 'SRID=4674;POINT (-40.334665 -2.798844)', '2026-07-06 03:15:54', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334837 -2.798905)'), GeomFromEWKT('SRID=4674;POINT (-40.334665 -2.798844)'))) / (select extract(epoch from '2026-07-06 03:15:54'::timestamp) - extract(epoch from '2026-07-06 03:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334837 -2.798905)'), GeomFromEWKT('SRID=4674;POINT (-40.334665 -2.798844)'))) / (select extract(epoch from '2026-07-06 03:15:54'::timestamp) - extract(epoch from '2026-07-06 03:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.334411 -2.798755)', '2026-07-06 03:16:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334665 -2.798844)'), GeomFromEWKT('SRID=4674;POINT (-40.334411 -2.798755)'))) / (select extract(epoch from '2026-07-06 03:16:07'::timestamp) - extract(epoch from '2026-07-06 03:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334665 -2.798844)'), GeomFromEWKT('SRID=4674;POINT (-40.334411 -2.798755)'))) / (select extract(epoch from '2026-07-06 03:16:07'::timestamp) - extract(epoch from '2026-07-06 03:15:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.334202 -2.798709)', '2026-07-06 03:16:17', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334411 -2.798755)'), GeomFromEWKT('SRID=4674;POINT (-40.334202 -2.798709)'))) / (select extract(epoch from '2026-07-06 03:16:17'::timestamp) - extract(epoch from '2026-07-06 03:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334411 -2.798755)'), GeomFromEWKT('SRID=4674;POINT (-40.334202 -2.798709)'))) / (select extract(epoch from '2026-07-06 03:16:17'::timestamp) - extract(epoch from '2026-07-06 03:16: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'), 47636, 'SRID=4674;POINT (-40.333935 -2.79866)', '2026-07-06 03:16:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334202 -2.798709)'), GeomFromEWKT('SRID=4674;POINT (-40.333935 -2.79866)'))) / (select extract(epoch from '2026-07-06 03:16:30'::timestamp) - extract(epoch from '2026-07-06 03:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334202 -2.798709)'), GeomFromEWKT('SRID=4674;POINT (-40.333935 -2.79866)'))) / (select extract(epoch from '2026-07-06 03:16:30'::timestamp) - extract(epoch from '2026-07-06 03:16: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'), 47636, 'SRID=4674;POINT (-40.33373 -2.798611)', '2026-07-06 03:16:40', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333935 -2.79866)'), GeomFromEWKT('SRID=4674;POINT (-40.33373 -2.798611)'))) / (select extract(epoch from '2026-07-06 03:16:40'::timestamp) - extract(epoch from '2026-07-06 03:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333935 -2.79866)'), GeomFromEWKT('SRID=4674;POINT (-40.33373 -2.798611)'))) / (select extract(epoch from '2026-07-06 03:16:40'::timestamp) - extract(epoch from '2026-07-06 03:16: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'), 47636, 'SRID=4674;POINT (-40.333526 -2.798573)', '2026-07-06 03:16:50', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33373 -2.798611)'), GeomFromEWKT('SRID=4674;POINT (-40.333526 -2.798573)'))) / (select extract(epoch from '2026-07-06 03:16:50'::timestamp) - extract(epoch from '2026-07-06 03:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33373 -2.798611)'), GeomFromEWKT('SRID=4674;POINT (-40.333526 -2.798573)'))) / (select extract(epoch from '2026-07-06 03:16:50'::timestamp) - extract(epoch from '2026-07-06 03:16: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'), 47636, 'SRID=4674;POINT (-40.333305 -2.798541)', '2026-07-06 03:17:01', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333526 -2.798573)'), GeomFromEWKT('SRID=4674;POINT (-40.333305 -2.798541)'))) / (select extract(epoch from '2026-07-06 03:17:01'::timestamp) - extract(epoch from '2026-07-06 03:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333526 -2.798573)'), GeomFromEWKT('SRID=4674;POINT (-40.333305 -2.798541)'))) / (select extract(epoch from '2026-07-06 03:17:01'::timestamp) - extract(epoch from '2026-07-06 03:16:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.333109 -2.798482)', '2026-07-06 03:17:11', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333305 -2.798541)'), GeomFromEWKT('SRID=4674;POINT (-40.333109 -2.798482)'))) / (select extract(epoch from '2026-07-06 03:17:11'::timestamp) - extract(epoch from '2026-07-06 03:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333305 -2.798541)'), GeomFromEWKT('SRID=4674;POINT (-40.333109 -2.798482)'))) / (select extract(epoch from '2026-07-06 03:17:11'::timestamp) - extract(epoch from '2026-07-06 03:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.332896 -2.798402)', '2026-07-06 03:17:22', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333109 -2.798482)'), GeomFromEWKT('SRID=4674;POINT (-40.332896 -2.798402)'))) / (select extract(epoch from '2026-07-06 03:17:22'::timestamp) - extract(epoch from '2026-07-06 03:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333109 -2.798482)'), GeomFromEWKT('SRID=4674;POINT (-40.332896 -2.798402)'))) / (select extract(epoch from '2026-07-06 03:17:22'::timestamp) - extract(epoch from '2026-07-06 03:17: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'), 47636, 'SRID=4674;POINT (-40.332671 -2.798309)', '2026-07-06 03:17:34', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332896 -2.798402)'), GeomFromEWKT('SRID=4674;POINT (-40.332671 -2.798309)'))) / (select extract(epoch from '2026-07-06 03:17:34'::timestamp) - extract(epoch from '2026-07-06 03:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332896 -2.798402)'), GeomFromEWKT('SRID=4674;POINT (-40.332671 -2.798309)'))) / (select extract(epoch from '2026-07-06 03:17:34'::timestamp) - extract(epoch from '2026-07-06 03:17: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'), 47636, 'SRID=4674;POINT (-40.332438 -2.79823)', '2026-07-06 03:17:46', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332671 -2.798309)'), GeomFromEWKT('SRID=4674;POINT (-40.332438 -2.79823)'))) / (select extract(epoch from '2026-07-06 03:17:46'::timestamp) - extract(epoch from '2026-07-06 03:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332671 -2.798309)'), GeomFromEWKT('SRID=4674;POINT (-40.332438 -2.79823)'))) / (select extract(epoch from '2026-07-06 03:17:46'::timestamp) - extract(epoch from '2026-07-06 03:17: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'), 47636, 'SRID=4674;POINT (-40.332208 -2.798139)', '2026-07-06 03:17:58', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332438 -2.79823)'), GeomFromEWKT('SRID=4674;POINT (-40.332208 -2.798139)'))) / (select extract(epoch from '2026-07-06 03:17:58'::timestamp) - extract(epoch from '2026-07-06 03:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332438 -2.79823)'), GeomFromEWKT('SRID=4674;POINT (-40.332208 -2.798139)'))) / (select extract(epoch from '2026-07-06 03:17:58'::timestamp) - extract(epoch from '2026-07-06 03:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.332019 -2.798064)', '2026-07-06 03:18:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332208 -2.798139)'), GeomFromEWKT('SRID=4674;POINT (-40.332019 -2.798064)'))) / (select extract(epoch from '2026-07-06 03:18:08'::timestamp) - extract(epoch from '2026-07-06 03:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332208 -2.798139)'), GeomFromEWKT('SRID=4674;POINT (-40.332019 -2.798064)'))) / (select extract(epoch from '2026-07-06 03:18:08'::timestamp) - extract(epoch from '2026-07-06 03:17: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'), 47636, 'SRID=4674;POINT (-40.33184 -2.798008)', '2026-07-06 03:18:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332019 -2.798064)'), GeomFromEWKT('SRID=4674;POINT (-40.33184 -2.798008)'))) / (select extract(epoch from '2026-07-06 03:18:17'::timestamp) - extract(epoch from '2026-07-06 03:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332019 -2.798064)'), GeomFromEWKT('SRID=4674;POINT (-40.33184 -2.798008)'))) / (select extract(epoch from '2026-07-06 03:18:17'::timestamp) - extract(epoch from '2026-07-06 03:18: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'), 47636, 'SRID=4674;POINT (-40.331634 -2.797958)', '2026-07-06 03:18:27', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33184 -2.798008)'), GeomFromEWKT('SRID=4674;POINT (-40.331634 -2.797958)'))) / (select extract(epoch from '2026-07-06 03:18:27'::timestamp) - extract(epoch from '2026-07-06 03:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33184 -2.798008)'), GeomFromEWKT('SRID=4674;POINT (-40.331634 -2.797958)'))) / (select extract(epoch from '2026-07-06 03:18:27'::timestamp) - extract(epoch from '2026-07-06 03:18: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'), 47636, 'SRID=4674;POINT (-40.331414 -2.797889)', '2026-07-06 03:18:38', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331634 -2.797958)'), GeomFromEWKT('SRID=4674;POINT (-40.331414 -2.797889)'))) / (select extract(epoch from '2026-07-06 03:18:38'::timestamp) - extract(epoch from '2026-07-06 03:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331634 -2.797958)'), GeomFromEWKT('SRID=4674;POINT (-40.331414 -2.797889)'))) / (select extract(epoch from '2026-07-06 03:18:38'::timestamp) - extract(epoch from '2026-07-06 03:18:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.331231 -2.797838)', '2026-07-06 03:18:47', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331414 -2.797889)'), GeomFromEWKT('SRID=4674;POINT (-40.331231 -2.797838)'))) / (select extract(epoch from '2026-07-06 03:18:47'::timestamp) - extract(epoch from '2026-07-06 03:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331414 -2.797889)'), GeomFromEWKT('SRID=4674;POINT (-40.331231 -2.797838)'))) / (select extract(epoch from '2026-07-06 03:18:47'::timestamp) - extract(epoch from '2026-07-06 03:18: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'), 47636, 'SRID=4674;POINT (-40.330983 -2.797794)', '2026-07-06 03:18:59', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331231 -2.797838)'), GeomFromEWKT('SRID=4674;POINT (-40.330983 -2.797794)'))) / (select extract(epoch from '2026-07-06 03:18:59'::timestamp) - extract(epoch from '2026-07-06 03:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331231 -2.797838)'), GeomFromEWKT('SRID=4674;POINT (-40.330983 -2.797794)'))) / (select extract(epoch from '2026-07-06 03:18:59'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.330798 -2.797756)', '2026-07-06 03:19:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330983 -2.797794)'), GeomFromEWKT('SRID=4674;POINT (-40.330798 -2.797756)'))) / (select extract(epoch from '2026-07-06 03:19:08'::timestamp) - extract(epoch from '2026-07-06 03:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330983 -2.797794)'), GeomFromEWKT('SRID=4674;POINT (-40.330798 -2.797756)'))) / (select extract(epoch from '2026-07-06 03:19:08'::timestamp) - extract(epoch from '2026-07-06 03:18: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'), 47636, 'SRID=4674;POINT (-40.330579 -2.797699)', '2026-07-06 03:19:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330798 -2.797756)'), GeomFromEWKT('SRID=4674;POINT (-40.330579 -2.797699)'))) / (select extract(epoch from '2026-07-06 03:19:19'::timestamp) - extract(epoch from '2026-07-06 03:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330798 -2.797756)'), GeomFromEWKT('SRID=4674;POINT (-40.330579 -2.797699)'))) / (select extract(epoch from '2026-07-06 03:19:19'::timestamp) - extract(epoch from '2026-07-06 03:19: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'), 47636, 'SRID=4674;POINT (-40.330408 -2.797644)', '2026-07-06 03:19:28', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330579 -2.797699)'), GeomFromEWKT('SRID=4674;POINT (-40.330408 -2.797644)'))) / (select extract(epoch from '2026-07-06 03:19:28'::timestamp) - extract(epoch from '2026-07-06 03:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330579 -2.797699)'), GeomFromEWKT('SRID=4674;POINT (-40.330408 -2.797644)'))) / (select extract(epoch from '2026-07-06 03:19:28'::timestamp) - extract(epoch from '2026-07-06 03:19: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'), 47636, 'SRID=4674;POINT (-40.330174 -2.797563)', '2026-07-06 03:19:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330408 -2.797644)'), GeomFromEWKT('SRID=4674;POINT (-40.330174 -2.797563)'))) / (select extract(epoch from '2026-07-06 03:19:40'::timestamp) - extract(epoch from '2026-07-06 03:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330408 -2.797644)'), GeomFromEWKT('SRID=4674;POINT (-40.330174 -2.797563)'))) / (select extract(epoch from '2026-07-06 03:19:40'::timestamp) - extract(epoch from '2026-07-06 03:19: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'), 47636, 'SRID=4674;POINT (-40.329999 -2.797504)', '2026-07-06 03:19:49', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330174 -2.797563)'), GeomFromEWKT('SRID=4674;POINT (-40.329999 -2.797504)'))) / (select extract(epoch from '2026-07-06 03:19:49'::timestamp) - extract(epoch from '2026-07-06 03:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330174 -2.797563)'), GeomFromEWKT('SRID=4674;POINT (-40.329999 -2.797504)'))) / (select extract(epoch from '2026-07-06 03:19:49'::timestamp) - extract(epoch from '2026-07-06 03:19: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'), 47636, 'SRID=4674;POINT (-40.329826 -2.797447)', '2026-07-06 03:19:58', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329999 -2.797504)'), GeomFromEWKT('SRID=4674;POINT (-40.329826 -2.797447)'))) / (select extract(epoch from '2026-07-06 03:19:58'::timestamp) - extract(epoch from '2026-07-06 03:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329999 -2.797504)'), GeomFromEWKT('SRID=4674;POINT (-40.329826 -2.797447)'))) / (select extract(epoch from '2026-07-06 03:19:58'::timestamp) - extract(epoch from '2026-07-06 03:19: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'), 47636, 'SRID=4674;POINT (-40.329699 -2.797391)', '2026-07-06 03:20:05', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329826 -2.797447)'), GeomFromEWKT('SRID=4674;POINT (-40.329699 -2.797391)'))) / (select extract(epoch from '2026-07-06 03:20:05'::timestamp) - extract(epoch from '2026-07-06 03:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329826 -2.797447)'), GeomFromEWKT('SRID=4674;POINT (-40.329699 -2.797391)'))) / (select extract(epoch from '2026-07-06 03:20:05'::timestamp) - extract(epoch from '2026-07-06 03:19: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'), 47636, 'SRID=4674;POINT (-40.32954 -2.797301)', '2026-07-06 03:20:14', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329699 -2.797391)'), GeomFromEWKT('SRID=4674;POINT (-40.32954 -2.797301)'))) / (select extract(epoch from '2026-07-06 03:20:14'::timestamp) - extract(epoch from '2026-07-06 03:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329699 -2.797391)'), GeomFromEWKT('SRID=4674;POINT (-40.32954 -2.797301)'))) / (select extract(epoch from '2026-07-06 03:20:14'::timestamp) - extract(epoch from '2026-07-06 03:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.329375 -2.797239)', '2026-07-06 03:20:23', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32954 -2.797301)'), GeomFromEWKT('SRID=4674;POINT (-40.329375 -2.797239)'))) / (select extract(epoch from '2026-07-06 03:20:23'::timestamp) - extract(epoch from '2026-07-06 03:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32954 -2.797301)'), GeomFromEWKT('SRID=4674;POINT (-40.329375 -2.797239)'))) / (select extract(epoch from '2026-07-06 03:20:23'::timestamp) - extract(epoch from '2026-07-06 03:20:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.32924 -2.797203)', '2026-07-06 03:20:30', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329375 -2.797239)'), GeomFromEWKT('SRID=4674;POINT (-40.32924 -2.797203)'))) / (select extract(epoch from '2026-07-06 03:20:30'::timestamp) - extract(epoch from '2026-07-06 03:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329375 -2.797239)'), GeomFromEWKT('SRID=4674;POINT (-40.32924 -2.797203)'))) / (select extract(epoch from '2026-07-06 03:20:30'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.329061 -2.797168)', '2026-07-06 03:20:39', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32924 -2.797203)'), GeomFromEWKT('SRID=4674;POINT (-40.329061 -2.797168)'))) / (select extract(epoch from '2026-07-06 03:20:39'::timestamp) - extract(epoch from '2026-07-06 03:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32924 -2.797203)'), GeomFromEWKT('SRID=4674;POINT (-40.329061 -2.797168)'))) / (select extract(epoch from '2026-07-06 03:20:39'::timestamp) - extract(epoch from '2026-07-06 03:20: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'), 47636, 'SRID=4674;POINT (-40.328882 -2.797131)', '2026-07-06 03:20:48', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329061 -2.797168)'), GeomFromEWKT('SRID=4674;POINT (-40.328882 -2.797131)'))) / (select extract(epoch from '2026-07-06 03:20:48'::timestamp) - extract(epoch from '2026-07-06 03:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329061 -2.797168)'), GeomFromEWKT('SRID=4674;POINT (-40.328882 -2.797131)'))) / (select extract(epoch from '2026-07-06 03:20:48'::timestamp) - extract(epoch from '2026-07-06 03:20: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'), 47636, 'SRID=4674;POINT (-40.328724 -2.797093)', '2026-07-06 03:20:56', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328882 -2.797131)'), GeomFromEWKT('SRID=4674;POINT (-40.328724 -2.797093)'))) / (select extract(epoch from '2026-07-06 03:20:56'::timestamp) - extract(epoch from '2026-07-06 03:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328882 -2.797131)'), GeomFromEWKT('SRID=4674;POINT (-40.328724 -2.797093)'))) / (select extract(epoch from '2026-07-06 03:20:56'::timestamp) - extract(epoch from '2026-07-06 03:20:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.328519 -2.797044)', '2026-07-06 03:21:07', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328724 -2.797093)'), GeomFromEWKT('SRID=4674;POINT (-40.328519 -2.797044)'))) / (select extract(epoch from '2026-07-06 03:21:07'::timestamp) - extract(epoch from '2026-07-06 03:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328724 -2.797093)'), GeomFromEWKT('SRID=4674;POINT (-40.328519 -2.797044)'))) / (select extract(epoch from '2026-07-06 03:21:07'::timestamp) - extract(epoch from '2026-07-06 03:20: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'), 47636, 'SRID=4674;POINT (-40.328379 -2.797022)', '2026-07-06 03:21:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328519 -2.797044)'), GeomFromEWKT('SRID=4674;POINT (-40.328379 -2.797022)'))) / (select extract(epoch from '2026-07-06 03:21:16'::timestamp) - extract(epoch from '2026-07-06 03:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328519 -2.797044)'), GeomFromEWKT('SRID=4674;POINT (-40.328379 -2.797022)'))) / (select extract(epoch from '2026-07-06 03:21:16'::timestamp) - extract(epoch from '2026-07-06 03:21: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'), 47636, 'SRID=4674;POINT (-40.328296 -2.796991)', '2026-07-06 03:21:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328379 -2.797022)'), GeomFromEWKT('SRID=4674;POINT (-40.328296 -2.796991)'))) / (select extract(epoch from '2026-07-06 03:21:24'::timestamp) - extract(epoch from '2026-07-06 03:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328379 -2.797022)'), GeomFromEWKT('SRID=4674;POINT (-40.328296 -2.796991)'))) / (select extract(epoch from '2026-07-06 03:21:24'::timestamp) - extract(epoch from '2026-07-06 03:21: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'), 47636, 'SRID=4674;POINT (-40.328245 -2.796953)', '2026-07-06 03:21:33', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328296 -2.796991)'), GeomFromEWKT('SRID=4674;POINT (-40.328245 -2.796953)'))) / (select extract(epoch from '2026-07-06 03:21:33'::timestamp) - extract(epoch from '2026-07-06 03:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328296 -2.796991)'), GeomFromEWKT('SRID=4674;POINT (-40.328245 -2.796953)'))) / (select extract(epoch from '2026-07-06 03:21:33'::timestamp) - extract(epoch from '2026-07-06 03:21: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'), 47636, 'SRID=4674;POINT (-40.32821 -2.796914)', '2026-07-06 03:21:44', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328245 -2.796953)'), GeomFromEWKT('SRID=4674;POINT (-40.32821 -2.796914)'))) / (select extract(epoch from '2026-07-06 03:21:44'::timestamp) - extract(epoch from '2026-07-06 03:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328245 -2.796953)'), GeomFromEWKT('SRID=4674;POINT (-40.32821 -2.796914)'))) / (select extract(epoch from '2026-07-06 03:21:44'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.328196 -2.796876)', '2026-07-06 03:22:04', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32821 -2.796914)'), GeomFromEWKT('SRID=4674;POINT (-40.328196 -2.796876)'))) / (select extract(epoch from '2026-07-06 03:22:04'::timestamp) - extract(epoch from '2026-07-06 03:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32821 -2.796914)'), GeomFromEWKT('SRID=4674;POINT (-40.328196 -2.796876)'))) / (select extract(epoch from '2026-07-06 03:22:04'::timestamp) - extract(epoch from '2026-07-06 03:21: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'), 47636, 'SRID=4674;POINT (-40.328232 -2.796838)', '2026-07-06 03:22:32', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328196 -2.796876)'), GeomFromEWKT('SRID=4674;POINT (-40.328232 -2.796838)'))) / (select extract(epoch from '2026-07-06 03:22:32'::timestamp) - extract(epoch from '2026-07-06 03:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328196 -2.796876)'), GeomFromEWKT('SRID=4674;POINT (-40.328232 -2.796838)'))) / (select extract(epoch from '2026-07-06 03:22:32'::timestamp) - extract(epoch from '2026-07-06 03:22: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'), 47636, 'SRID=4674;POINT (-40.328297 -2.796838)', '2026-07-06 03:22:59', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328232 -2.796838)'), GeomFromEWKT('SRID=4674;POINT (-40.328297 -2.796838)'))) / (select extract(epoch from '2026-07-06 03:22:59'::timestamp) - extract(epoch from '2026-07-06 03:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328232 -2.796838)'), GeomFromEWKT('SRID=4674;POINT (-40.328297 -2.796838)'))) / (select extract(epoch from '2026-07-06 03:22:59'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.328365 -2.796853)', '2026-07-06 03:23:28', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328297 -2.796838)'), GeomFromEWKT('SRID=4674;POINT (-40.328365 -2.796853)'))) / (select extract(epoch from '2026-07-06 03:23:28'::timestamp) - extract(epoch from '2026-07-06 03:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328297 -2.796838)'), GeomFromEWKT('SRID=4674;POINT (-40.328365 -2.796853)'))) / (select extract(epoch from '2026-07-06 03:23:28'::timestamp) - extract(epoch from '2026-07-06 03:22:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.328431 -2.796846)', '2026-07-06 03:23:59', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328365 -2.796853)'), GeomFromEWKT('SRID=4674;POINT (-40.328431 -2.796846)'))) / (select extract(epoch from '2026-07-06 03:23:59'::timestamp) - extract(epoch from '2026-07-06 03:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328365 -2.796853)'), GeomFromEWKT('SRID=4674;POINT (-40.328431 -2.796846)'))) / (select extract(epoch from '2026-07-06 03:23:59'::timestamp) - extract(epoch from '2026-07-06 03:23: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'), 47636, 'SRID=4674;POINT (-40.328481 -2.796835)', '2026-07-06 03:24:23', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328431 -2.796846)'), GeomFromEWKT('SRID=4674;POINT (-40.328481 -2.796835)'))) / (select extract(epoch from '2026-07-06 03:24:23'::timestamp) - extract(epoch from '2026-07-06 03:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328431 -2.796846)'), GeomFromEWKT('SRID=4674;POINT (-40.328481 -2.796835)'))) / (select extract(epoch from '2026-07-06 03:24:23'::timestamp) - extract(epoch from '2026-07-06 03:23: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'), 47636, 'SRID=4674;POINT (-40.328551 -2.796806)', '2026-07-06 03:24:53', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328481 -2.796835)'), GeomFromEWKT('SRID=4674;POINT (-40.328551 -2.796806)'))) / (select extract(epoch from '2026-07-06 03:24:53'::timestamp) - extract(epoch from '2026-07-06 03:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328481 -2.796835)'), GeomFromEWKT('SRID=4674;POINT (-40.328551 -2.796806)'))) / (select extract(epoch from '2026-07-06 03:24:53'::timestamp) - extract(epoch from '2026-07-06 03:24: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'), 47636, 'SRID=4674;POINT (-40.328596 -2.796801)', '2026-07-06 03:25:10', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328551 -2.796806)'), GeomFromEWKT('SRID=4674;POINT (-40.328596 -2.796801)'))) / (select extract(epoch from '2026-07-06 03:25:10'::timestamp) - extract(epoch from '2026-07-06 03:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328551 -2.796806)'), GeomFromEWKT('SRID=4674;POINT (-40.328596 -2.796801)'))) / (select extract(epoch from '2026-07-06 03:25:10'::timestamp) - extract(epoch from '2026-07-06 03:24:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.328661 -2.7968)', '2026-07-06 03:25:38', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328596 -2.796801)'), GeomFromEWKT('SRID=4674;POINT (-40.328661 -2.7968)'))) / (select extract(epoch from '2026-07-06 03:25:38'::timestamp) - extract(epoch from '2026-07-06 03:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328596 -2.796801)'), GeomFromEWKT('SRID=4674;POINT (-40.328661 -2.7968)'))) / (select extract(epoch from '2026-07-06 03:25:38'::timestamp) - extract(epoch from '2026-07-06 03:25: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'), 47636, 'SRID=4674;POINT (-40.328691 -2.796785)', '2026-07-06 03:25:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328661 -2.7968)'), GeomFromEWKT('SRID=4674;POINT (-40.328691 -2.796785)'))) / (select extract(epoch from '2026-07-06 03:25:58'::timestamp) - extract(epoch from '2026-07-06 03:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328661 -2.7968)'), GeomFromEWKT('SRID=4674;POINT (-40.328691 -2.796785)'))) / (select extract(epoch from '2026-07-06 03:25:58'::timestamp) - extract(epoch from '2026-07-06 03:25: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'), 47636, 'SRID=4674;POINT (-40.328719 -2.796767)', '2026-07-06 03:26:06', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328691 -2.796785)'), GeomFromEWKT('SRID=4674;POINT (-40.328719 -2.796767)'))) / (select extract(epoch from '2026-07-06 03:26:06'::timestamp) - extract(epoch from '2026-07-06 03:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328691 -2.796785)'), GeomFromEWKT('SRID=4674;POINT (-40.328719 -2.796767)'))) / (select extract(epoch from '2026-07-06 03:26:06'::timestamp) - extract(epoch from '2026-07-06 03:25: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'), 47636, 'SRID=4674;POINT (-40.32874 -2.796746)', '2026-07-06 03:26:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328719 -2.796767)'), GeomFromEWKT('SRID=4674;POINT (-40.32874 -2.796746)'))) / (select extract(epoch from '2026-07-06 03:26:17'::timestamp) - extract(epoch from '2026-07-06 03:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328719 -2.796767)'), GeomFromEWKT('SRID=4674;POINT (-40.32874 -2.796746)'))) / (select extract(epoch from '2026-07-06 03:26:17'::timestamp) - extract(epoch from '2026-07-06 03:26: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'), 47636, 'SRID=4674;POINT (-40.328783 -2.796722)', '2026-07-06 03:26:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32874 -2.796746)'), GeomFromEWKT('SRID=4674;POINT (-40.328783 -2.796722)'))) / (select extract(epoch from '2026-07-06 03:26:32'::timestamp) - extract(epoch from '2026-07-06 03:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32874 -2.796746)'), GeomFromEWKT('SRID=4674;POINT (-40.328783 -2.796722)'))) / (select extract(epoch from '2026-07-06 03:26:32'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.328815 -2.796704)', '2026-07-06 03:26:53', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328783 -2.796722)'), GeomFromEWKT('SRID=4674;POINT (-40.328815 -2.796704)'))) / (select extract(epoch from '2026-07-06 03:26:53'::timestamp) - extract(epoch from '2026-07-06 03:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328783 -2.796722)'), GeomFromEWKT('SRID=4674;POINT (-40.328815 -2.796704)'))) / (select extract(epoch from '2026-07-06 03:26:53'::timestamp) - extract(epoch from '2026-07-06 03:26: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'), 47636, 'SRID=4674;POINT (-40.328854 -2.79669)', '2026-07-06 03:27:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328815 -2.796704)'), GeomFromEWKT('SRID=4674;POINT (-40.328854 -2.79669)'))) / (select extract(epoch from '2026-07-06 03:27:16'::timestamp) - extract(epoch from '2026-07-06 03:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328815 -2.796704)'), GeomFromEWKT('SRID=4674;POINT (-40.328854 -2.79669)'))) / (select extract(epoch from '2026-07-06 03:27:16'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.328899 -2.796648)', '2026-07-06 03:27:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328854 -2.79669)'), GeomFromEWKT('SRID=4674;POINT (-40.328899 -2.796648)'))) / (select extract(epoch from '2026-07-06 03:27:35'::timestamp) - extract(epoch from '2026-07-06 03:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328854 -2.79669)'), GeomFromEWKT('SRID=4674;POINT (-40.328899 -2.796648)'))) / (select extract(epoch from '2026-07-06 03:27:35'::timestamp) - extract(epoch from '2026-07-06 03:27:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.328933 -2.796624)', '2026-07-06 03:27:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328899 -2.796648)'), GeomFromEWKT('SRID=4674;POINT (-40.328933 -2.796624)'))) / (select extract(epoch from '2026-07-06 03:27:51'::timestamp) - extract(epoch from '2026-07-06 03:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328899 -2.796648)'), GeomFromEWKT('SRID=4674;POINT (-40.328933 -2.796624)'))) / (select extract(epoch from '2026-07-06 03:27:51'::timestamp) - extract(epoch from '2026-07-06 03:27: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'), 47636, 'SRID=4674;POINT (-40.328973 -2.796605)', '2026-07-06 03:28:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328933 -2.796624)'), GeomFromEWKT('SRID=4674;POINT (-40.328973 -2.796605)'))) / (select extract(epoch from '2026-07-06 03:28:12'::timestamp) - extract(epoch from '2026-07-06 03:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328933 -2.796624)'), GeomFromEWKT('SRID=4674;POINT (-40.328973 -2.796605)'))) / (select extract(epoch from '2026-07-06 03:28:12'::timestamp) - extract(epoch from '2026-07-06 03:27: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'), 47636, 'SRID=4674;POINT (-40.329004 -2.796589)', '2026-07-06 03:28:27', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328973 -2.796605)'), GeomFromEWKT('SRID=4674;POINT (-40.329004 -2.796589)'))) / (select extract(epoch from '2026-07-06 03:28:27'::timestamp) - extract(epoch from '2026-07-06 03:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328973 -2.796605)'), GeomFromEWKT('SRID=4674;POINT (-40.329004 -2.796589)'))) / (select extract(epoch from '2026-07-06 03:28:27'::timestamp) - extract(epoch from '2026-07-06 03:28: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'), 47636, 'SRID=4674;POINT (-40.329052 -2.796566)', '2026-07-06 03:28:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329004 -2.796589)'), GeomFromEWKT('SRID=4674;POINT (-40.329052 -2.796566)'))) / (select extract(epoch from '2026-07-06 03:28:52'::timestamp) - extract(epoch from '2026-07-06 03:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329004 -2.796589)'), GeomFromEWKT('SRID=4674;POINT (-40.329052 -2.796566)'))) / (select extract(epoch from '2026-07-06 03:28:52'::timestamp) - extract(epoch from '2026-07-06 03:28: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'), 47636, 'SRID=4674;POINT (-40.329087 -2.796532)', '2026-07-06 03:29:17', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329052 -2.796566)'), GeomFromEWKT('SRID=4674;POINT (-40.329087 -2.796532)'))) / (select extract(epoch from '2026-07-06 03:29:17'::timestamp) - extract(epoch from '2026-07-06 03:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329052 -2.796566)'), GeomFromEWKT('SRID=4674;POINT (-40.329087 -2.796532)'))) / (select extract(epoch from '2026-07-06 03:29:17'::timestamp) - extract(epoch from '2026-07-06 03:28: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'), 47636, 'SRID=4674;POINT (-40.32911 -2.796491)', '2026-07-06 03:29:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329087 -2.796532)'), GeomFromEWKT('SRID=4674;POINT (-40.32911 -2.796491)'))) / (select extract(epoch from '2026-07-06 03:29:34'::timestamp) - extract(epoch from '2026-07-06 03:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329087 -2.796532)'), GeomFromEWKT('SRID=4674;POINT (-40.32911 -2.796491)'))) / (select extract(epoch from '2026-07-06 03:29:34'::timestamp) - extract(epoch from '2026-07-06 03:29: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'), 47636, 'SRID=4674;POINT (-40.329186 -2.796433)', '2026-07-06 03:29:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32911 -2.796491)'), GeomFromEWKT('SRID=4674;POINT (-40.329186 -2.796433)'))) / (select extract(epoch from '2026-07-06 03:29:54'::timestamp) - extract(epoch from '2026-07-06 03:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32911 -2.796491)'), GeomFromEWKT('SRID=4674;POINT (-40.329186 -2.796433)'))) / (select extract(epoch from '2026-07-06 03:29:54'::timestamp) - extract(epoch from '2026-07-06 03:29: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'), 47636, 'SRID=4674;POINT (-40.329242 -2.796429)', '2026-07-06 03:30:08', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329186 -2.796433)'), GeomFromEWKT('SRID=4674;POINT (-40.329242 -2.796429)'))) / (select extract(epoch from '2026-07-06 03:30:08'::timestamp) - extract(epoch from '2026-07-06 03:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329186 -2.796433)'), GeomFromEWKT('SRID=4674;POINT (-40.329242 -2.796429)'))) / (select extract(epoch from '2026-07-06 03:30:08'::timestamp) - extract(epoch from '2026-07-06 03:29: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'), 47636, 'SRID=4674;POINT (-40.329286 -2.796433)', '2026-07-06 03:30:18', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329242 -2.796429)'), GeomFromEWKT('SRID=4674;POINT (-40.329286 -2.796433)'))) / (select extract(epoch from '2026-07-06 03:30:18'::timestamp) - extract(epoch from '2026-07-06 03:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329242 -2.796429)'), GeomFromEWKT('SRID=4674;POINT (-40.329286 -2.796433)'))) / (select extract(epoch from '2026-07-06 03:30:18'::timestamp) - extract(epoch from '2026-07-06 03:30: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'), 47636, 'SRID=4674;POINT (-40.329336 -2.796435)', '2026-07-06 03:30:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329286 -2.796433)'), GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.796435)'))) / (select extract(epoch from '2026-07-06 03:30:30'::timestamp) - extract(epoch from '2026-07-06 03:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329286 -2.796433)'), GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.796435)'))) / (select extract(epoch from '2026-07-06 03:30:30'::timestamp) - extract(epoch from '2026-07-06 03:30: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'), 47636, 'SRID=4674;POINT (-40.329386 -2.796438)', '2026-07-06 03:30:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.796435)'), GeomFromEWKT('SRID=4674;POINT (-40.329386 -2.796438)'))) / (select extract(epoch from '2026-07-06 03:30:43'::timestamp) - extract(epoch from '2026-07-06 03:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.796435)'), GeomFromEWKT('SRID=4674;POINT (-40.329386 -2.796438)'))) / (select extract(epoch from '2026-07-06 03:30:43'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.329433 -2.79644)', '2026-07-06 03:30:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329386 -2.796438)'), GeomFromEWKT('SRID=4674;POINT (-40.329433 -2.79644)'))) / (select extract(epoch from '2026-07-06 03:30:56'::timestamp) - extract(epoch from '2026-07-06 03:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329386 -2.796438)'), GeomFromEWKT('SRID=4674;POINT (-40.329433 -2.79644)'))) / (select extract(epoch from '2026-07-06 03:30:56'::timestamp) - extract(epoch from '2026-07-06 03:30: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'), 47636, 'SRID=4674;POINT (-40.329501 -2.796441)', '2026-07-06 03:31:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329433 -2.79644)'), GeomFromEWKT('SRID=4674;POINT (-40.329501 -2.796441)'))) / (select extract(epoch from '2026-07-06 03:31:18'::timestamp) - extract(epoch from '2026-07-06 03:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329433 -2.79644)'), GeomFromEWKT('SRID=4674;POINT (-40.329501 -2.796441)'))) / (select extract(epoch from '2026-07-06 03:31:18'::timestamp) - extract(epoch from '2026-07-06 03:30:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.329631 -2.796433)', '2026-07-06 03:31:46', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329501 -2.796441)'), GeomFromEWKT('SRID=4674;POINT (-40.329631 -2.796433)'))) / (select extract(epoch from '2026-07-06 03:31:46'::timestamp) - extract(epoch from '2026-07-06 03:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329501 -2.796441)'), GeomFromEWKT('SRID=4674;POINT (-40.329631 -2.796433)'))) / (select extract(epoch from '2026-07-06 03:31:46'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.329763 -2.796435)', '2026-07-06 03:32:18', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329631 -2.796433)'), GeomFromEWKT('SRID=4674;POINT (-40.329763 -2.796435)'))) / (select extract(epoch from '2026-07-06 03:32:18'::timestamp) - extract(epoch from '2026-07-06 03:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329631 -2.796433)'), GeomFromEWKT('SRID=4674;POINT (-40.329763 -2.796435)'))) / (select extract(epoch from '2026-07-06 03:32:18'::timestamp) - extract(epoch from '2026-07-06 03:31: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'), 47636, 'SRID=4674;POINT (-40.3299 -2.796444)', '2026-07-06 03:32:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329763 -2.796435)'), GeomFromEWKT('SRID=4674;POINT (-40.3299 -2.796444)'))) / (select extract(epoch from '2026-07-06 03:32:52'::timestamp) - extract(epoch from '2026-07-06 03:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329763 -2.796435)'), GeomFromEWKT('SRID=4674;POINT (-40.3299 -2.796444)'))) / (select extract(epoch from '2026-07-06 03:32:52'::timestamp) - extract(epoch from '2026-07-06 03:32: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'), 47636, 'SRID=4674;POINT (-40.330032 -2.796446)', '2026-07-06 03:33:23', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3299 -2.796444)'), GeomFromEWKT('SRID=4674;POINT (-40.330032 -2.796446)'))) / (select extract(epoch from '2026-07-06 03:33:23'::timestamp) - extract(epoch from '2026-07-06 03:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3299 -2.796444)'), GeomFromEWKT('SRID=4674;POINT (-40.330032 -2.796446)'))) / (select extract(epoch from '2026-07-06 03:33:23'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.330146 -2.796447)', '2026-07-06 03:33:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330032 -2.796446)'), GeomFromEWKT('SRID=4674;POINT (-40.330146 -2.796447)'))) / (select extract(epoch from '2026-07-06 03:33:52'::timestamp) - extract(epoch from '2026-07-06 03:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330032 -2.796446)'), GeomFromEWKT('SRID=4674;POINT (-40.330146 -2.796447)'))) / (select extract(epoch from '2026-07-06 03:33:52'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.330235 -2.796445)', '2026-07-06 03:34:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330146 -2.796447)'), GeomFromEWKT('SRID=4674;POINT (-40.330235 -2.796445)'))) / (select extract(epoch from '2026-07-06 03:34:19'::timestamp) - extract(epoch from '2026-07-06 03:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330146 -2.796447)'), GeomFromEWKT('SRID=4674;POINT (-40.330235 -2.796445)'))) / (select extract(epoch from '2026-07-06 03:34:19'::timestamp) - extract(epoch from '2026-07-06 03:33: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'), 47636, 'SRID=4674;POINT (-40.330305 -2.796442)', '2026-07-06 03:34:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330235 -2.796445)'), GeomFromEWKT('SRID=4674;POINT (-40.330305 -2.796442)'))) / (select extract(epoch from '2026-07-06 03:34:40'::timestamp) - extract(epoch from '2026-07-06 03:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330235 -2.796445)'), GeomFromEWKT('SRID=4674;POINT (-40.330305 -2.796442)'))) / (select extract(epoch from '2026-07-06 03:34:40'::timestamp) - extract(epoch from '2026-07-06 03:34: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'), 47636, 'SRID=4674;POINT (-40.330441 -2.796438)', '2026-07-06 03:35:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330305 -2.796442)'), GeomFromEWKT('SRID=4674;POINT (-40.330441 -2.796438)'))) / (select extract(epoch from '2026-07-06 03:35:20'::timestamp) - extract(epoch from '2026-07-06 03:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330305 -2.796442)'), GeomFromEWKT('SRID=4674;POINT (-40.330441 -2.796438)'))) / (select extract(epoch from '2026-07-06 03:35:20'::timestamp) - extract(epoch from '2026-07-06 03:34: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'), 47636, 'SRID=4674;POINT (-40.330595 -2.796434)', '2026-07-06 03:36:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330441 -2.796438)'), GeomFromEWKT('SRID=4674;POINT (-40.330595 -2.796434)'))) / (select extract(epoch from '2026-07-06 03:36:03'::timestamp) - extract(epoch from '2026-07-06 03:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330441 -2.796438)'), GeomFromEWKT('SRID=4674;POINT (-40.330595 -2.796434)'))) / (select extract(epoch from '2026-07-06 03:36:03'::timestamp) - extract(epoch from '2026-07-06 03:35: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'), 47636, 'SRID=4674;POINT (-40.330718 -2.796427)', '2026-07-06 03:36:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330595 -2.796434)'), GeomFromEWKT('SRID=4674;POINT (-40.330718 -2.796427)'))) / (select extract(epoch from '2026-07-06 03:36:35'::timestamp) - extract(epoch from '2026-07-06 03:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330595 -2.796434)'), GeomFromEWKT('SRID=4674;POINT (-40.330718 -2.796427)'))) / (select extract(epoch from '2026-07-06 03:36:35'::timestamp) - extract(epoch from '2026-07-06 03:36: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'), 47636, 'SRID=4674;POINT (-40.330823 -2.796428)', '2026-07-06 03:37:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330718 -2.796427)'), GeomFromEWKT('SRID=4674;POINT (-40.330823 -2.796428)'))) / (select extract(epoch from '2026-07-06 03:37:02'::timestamp) - extract(epoch from '2026-07-06 03:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330718 -2.796427)'), GeomFromEWKT('SRID=4674;POINT (-40.330823 -2.796428)'))) / (select extract(epoch from '2026-07-06 03:37:02'::timestamp) - extract(epoch from '2026-07-06 03:36: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'), 47636, 'SRID=4674;POINT (-40.330973 -2.796424)', '2026-07-06 03:37:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330823 -2.796428)'), GeomFromEWKT('SRID=4674;POINT (-40.330973 -2.796424)'))) / (select extract(epoch from '2026-07-06 03:37:40'::timestamp) - extract(epoch from '2026-07-06 03:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330823 -2.796428)'), GeomFromEWKT('SRID=4674;POINT (-40.330973 -2.796424)'))) / (select extract(epoch from '2026-07-06 03:37:40'::timestamp) - extract(epoch from '2026-07-06 03:37:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.331065 -2.796421)', '2026-07-06 03:38:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330973 -2.796424)'), GeomFromEWKT('SRID=4674;POINT (-40.331065 -2.796421)'))) / (select extract(epoch from '2026-07-06 03:38:04'::timestamp) - extract(epoch from '2026-07-06 03:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330973 -2.796424)'), GeomFromEWKT('SRID=4674;POINT (-40.331065 -2.796421)'))) / (select extract(epoch from '2026-07-06 03:38:04'::timestamp) - extract(epoch from '2026-07-06 03:37:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.331166 -2.796413)', '2026-07-06 03:38:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331065 -2.796421)'), GeomFromEWKT('SRID=4674;POINT (-40.331166 -2.796413)'))) / (select extract(epoch from '2026-07-06 03:38:36'::timestamp) - extract(epoch from '2026-07-06 03:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331065 -2.796421)'), GeomFromEWKT('SRID=4674;POINT (-40.331166 -2.796413)'))) / (select extract(epoch from '2026-07-06 03:38:36'::timestamp) - extract(epoch from '2026-07-06 03:38:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.331209 -2.796388)', '2026-07-06 03:39:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331166 -2.796413)'), GeomFromEWKT('SRID=4674;POINT (-40.331209 -2.796388)'))) / (select extract(epoch from '2026-07-06 03:39:04'::timestamp) - extract(epoch from '2026-07-06 03:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331166 -2.796413)'), GeomFromEWKT('SRID=4674;POINT (-40.331209 -2.796388)'))) / (select extract(epoch from '2026-07-06 03:39:04'::timestamp) - extract(epoch from '2026-07-06 03:38: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'), 47636, 'SRID=4674;POINT (-40.331285 -2.796376)', '2026-07-06 03:39:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331209 -2.796388)'), GeomFromEWKT('SRID=4674;POINT (-40.331285 -2.796376)'))) / (select extract(epoch from '2026-07-06 03:39:26'::timestamp) - extract(epoch from '2026-07-06 03:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331209 -2.796388)'), GeomFromEWKT('SRID=4674;POINT (-40.331285 -2.796376)'))) / (select extract(epoch from '2026-07-06 03:39:26'::timestamp) - extract(epoch from '2026-07-06 03:39: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'), 47636, 'SRID=4674;POINT (-40.331377 -2.796374)', '2026-07-06 03:39:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331285 -2.796376)'), GeomFromEWKT('SRID=4674;POINT (-40.331377 -2.796374)'))) / (select extract(epoch from '2026-07-06 03:39:51'::timestamp) - extract(epoch from '2026-07-06 03:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331285 -2.796376)'), GeomFromEWKT('SRID=4674;POINT (-40.331377 -2.796374)'))) / (select extract(epoch from '2026-07-06 03:39:51'::timestamp) - extract(epoch from '2026-07-06 03:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.331497 -2.796375)', '2026-07-06 03:40:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331377 -2.796374)'), GeomFromEWKT('SRID=4674;POINT (-40.331497 -2.796375)'))) / (select extract(epoch from '2026-07-06 03:40:22'::timestamp) - extract(epoch from '2026-07-06 03:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331377 -2.796374)'), GeomFromEWKT('SRID=4674;POINT (-40.331497 -2.796375)'))) / (select extract(epoch from '2026-07-06 03:40:22'::timestamp) - extract(epoch from '2026-07-06 03:39: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'), 47636, 'SRID=4674;POINT (-40.331635 -2.796373)', '2026-07-06 03:40:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331497 -2.796375)'), GeomFromEWKT('SRID=4674;POINT (-40.331635 -2.796373)'))) / (select extract(epoch from '2026-07-06 03:40:59'::timestamp) - extract(epoch from '2026-07-06 03:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331497 -2.796375)'), GeomFromEWKT('SRID=4674;POINT (-40.331635 -2.796373)'))) / (select extract(epoch from '2026-07-06 03:40:59'::timestamp) - extract(epoch from '2026-07-06 03:40: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'), 47636, 'SRID=4674;POINT (-40.331719 -2.796388)', '2026-07-06 03:41:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331635 -2.796373)'), GeomFromEWKT('SRID=4674;POINT (-40.331719 -2.796388)'))) / (select extract(epoch from '2026-07-06 03:41:26'::timestamp) - extract(epoch from '2026-07-06 03:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331635 -2.796373)'), GeomFromEWKT('SRID=4674;POINT (-40.331719 -2.796388)'))) / (select extract(epoch from '2026-07-06 03:41:26'::timestamp) - extract(epoch from '2026-07-06 03:40:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.331827 -2.796394)', '2026-07-06 03:41:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331719 -2.796388)'), GeomFromEWKT('SRID=4674;POINT (-40.331827 -2.796394)'))) / (select extract(epoch from '2026-07-06 03:41:49'::timestamp) - extract(epoch from '2026-07-06 03:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331719 -2.796388)'), GeomFromEWKT('SRID=4674;POINT (-40.331827 -2.796394)'))) / (select extract(epoch from '2026-07-06 03:41:49'::timestamp) - extract(epoch from '2026-07-06 03:41: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'), 47636, 'SRID=4674;POINT (-40.331907 -2.796396)', '2026-07-06 03:42:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331827 -2.796394)'), GeomFromEWKT('SRID=4674;POINT (-40.331907 -2.796396)'))) / (select extract(epoch from '2026-07-06 03:42:03'::timestamp) - extract(epoch from '2026-07-06 03:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331827 -2.796394)'), GeomFromEWKT('SRID=4674;POINT (-40.331907 -2.796396)'))) / (select extract(epoch from '2026-07-06 03:42:03'::timestamp) - extract(epoch from '2026-07-06 03:41:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.331925 -2.796386)', '2026-07-06 03:42:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331907 -2.796396)'), GeomFromEWKT('SRID=4674;POINT (-40.331925 -2.796386)'))) / (select extract(epoch from '2026-07-06 03:42:13'::timestamp) - extract(epoch from '2026-07-06 03:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331907 -2.796396)'), GeomFromEWKT('SRID=4674;POINT (-40.331925 -2.796386)'))) / (select extract(epoch from '2026-07-06 03:42:13'::timestamp) - extract(epoch from '2026-07-06 03:42:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.331918 -2.796371)', '2026-07-06 03:42:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331925 -2.796386)'), GeomFromEWKT('SRID=4674;POINT (-40.331918 -2.796371)'))) / (select extract(epoch from '2026-07-06 03:42:31'::timestamp) - extract(epoch from '2026-07-06 03:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331925 -2.796386)'), GeomFromEWKT('SRID=4674;POINT (-40.331918 -2.796371)'))) / (select extract(epoch from '2026-07-06 03:42:31'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.331916 -2.79636)', '2026-07-06 03:42:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331918 -2.796371)'), GeomFromEWKT('SRID=4674;POINT (-40.331916 -2.79636)'))) / (select extract(epoch from '2026-07-06 03:42:46'::timestamp) - extract(epoch from '2026-07-06 03:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331918 -2.796371)'), GeomFromEWKT('SRID=4674;POINT (-40.331916 -2.79636)'))) / (select extract(epoch from '2026-07-06 03:42:46'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.331939 -2.796334)', '2026-07-06 03:43:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331916 -2.79636)'), GeomFromEWKT('SRID=4674;POINT (-40.331939 -2.796334)'))) / (select extract(epoch from '2026-07-06 03:43:07'::timestamp) - extract(epoch from '2026-07-06 03:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331916 -2.79636)'), GeomFromEWKT('SRID=4674;POINT (-40.331939 -2.796334)'))) / (select extract(epoch from '2026-07-06 03:43:07'::timestamp) - extract(epoch from '2026-07-06 03:42:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.331949 -2.796314)', '2026-07-06 03:43:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331939 -2.796334)'), GeomFromEWKT('SRID=4674;POINT (-40.331949 -2.796314)'))) / (select extract(epoch from '2026-07-06 03:43:24'::timestamp) - extract(epoch from '2026-07-06 03:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331939 -2.796334)'), GeomFromEWKT('SRID=4674;POINT (-40.331949 -2.796314)'))) / (select extract(epoch from '2026-07-06 03:43:24'::timestamp) - extract(epoch from '2026-07-06 03:43:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.331977 -2.79629)', '2026-07-06 03:43:48', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331949 -2.796314)'), GeomFromEWKT('SRID=4674;POINT (-40.331977 -2.79629)'))) / (select extract(epoch from '2026-07-06 03:43:48'::timestamp) - extract(epoch from '2026-07-06 03:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331949 -2.796314)'), GeomFromEWKT('SRID=4674;POINT (-40.331977 -2.79629)'))) / (select extract(epoch from '2026-07-06 03:43:48'::timestamp) - extract(epoch from '2026-07-06 03:43: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'), 47636, 'SRID=4674;POINT (-40.332056 -2.796281)', '2026-07-06 03:44:07', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331977 -2.79629)'), GeomFromEWKT('SRID=4674;POINT (-40.332056 -2.796281)'))) / (select extract(epoch from '2026-07-06 03:44:07'::timestamp) - extract(epoch from '2026-07-06 03:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331977 -2.79629)'), GeomFromEWKT('SRID=4674;POINT (-40.332056 -2.796281)'))) / (select extract(epoch from '2026-07-06 03:44:07'::timestamp) - extract(epoch from '2026-07-06 03:43: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'), 47636, 'SRID=4674;POINT (-40.332172 -2.796285)', '2026-07-06 03:44:28', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332056 -2.796281)'), GeomFromEWKT('SRID=4674;POINT (-40.332172 -2.796285)'))) / (select extract(epoch from '2026-07-06 03:44:28'::timestamp) - extract(epoch from '2026-07-06 03:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332056 -2.796281)'), GeomFromEWKT('SRID=4674;POINT (-40.332172 -2.796285)'))) / (select extract(epoch from '2026-07-06 03:44:28'::timestamp) - extract(epoch from '2026-07-06 03:44:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.332272 -2.796292)', '2026-07-06 03:44:54', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332172 -2.796285)'), GeomFromEWKT('SRID=4674;POINT (-40.332272 -2.796292)'))) / (select extract(epoch from '2026-07-06 03:44:54'::timestamp) - extract(epoch from '2026-07-06 03:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332172 -2.796285)'), GeomFromEWKT('SRID=4674;POINT (-40.332272 -2.796292)'))) / (select extract(epoch from '2026-07-06 03:44:54'::timestamp) - extract(epoch from '2026-07-06 03:44:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.332386 -2.796297)', '2026-07-06 03:45:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332272 -2.796292)'), GeomFromEWKT('SRID=4674;POINT (-40.332386 -2.796297)'))) / (select extract(epoch from '2026-07-06 03:45:17'::timestamp) - extract(epoch from '2026-07-06 03:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332272 -2.796292)'), GeomFromEWKT('SRID=4674;POINT (-40.332386 -2.796297)'))) / (select extract(epoch from '2026-07-06 03:45:17'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.332513 -2.796317)', '2026-07-06 03:45:44', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332386 -2.796297)'), GeomFromEWKT('SRID=4674;POINT (-40.332513 -2.796317)'))) / (select extract(epoch from '2026-07-06 03:45:44'::timestamp) - extract(epoch from '2026-07-06 03:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332386 -2.796297)'), GeomFromEWKT('SRID=4674;POINT (-40.332513 -2.796317)'))) / (select extract(epoch from '2026-07-06 03:45:44'::timestamp) - extract(epoch from '2026-07-06 03:45:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.332668 -2.796334)', '2026-07-06 03:46:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332513 -2.796317)'), GeomFromEWKT('SRID=4674;POINT (-40.332668 -2.796334)'))) / (select extract(epoch from '2026-07-06 03:46:13'::timestamp) - extract(epoch from '2026-07-06 03:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332513 -2.796317)'), GeomFromEWKT('SRID=4674;POINT (-40.332668 -2.796334)'))) / (select extract(epoch from '2026-07-06 03:46:13'::timestamp) - extract(epoch from '2026-07-06 03:45: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'), 47636, 'SRID=4674;POINT (-40.332851 -2.796355)', '2026-07-06 03:46:47', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332668 -2.796334)'), GeomFromEWKT('SRID=4674;POINT (-40.332851 -2.796355)'))) / (select extract(epoch from '2026-07-06 03:46:47'::timestamp) - extract(epoch from '2026-07-06 03:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332668 -2.796334)'), GeomFromEWKT('SRID=4674;POINT (-40.332851 -2.796355)'))) / (select extract(epoch from '2026-07-06 03:46:47'::timestamp) - extract(epoch from '2026-07-06 03:46: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'), 47636, 'SRID=4674;POINT (-40.332916 -2.796372)', '2026-07-06 03:47:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332851 -2.796355)'), GeomFromEWKT('SRID=4674;POINT (-40.332916 -2.796372)'))) / (select extract(epoch from '2026-07-06 03:47:00'::timestamp) - extract(epoch from '2026-07-06 03:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332851 -2.796355)'), GeomFromEWKT('SRID=4674;POINT (-40.332916 -2.796372)'))) / (select extract(epoch from '2026-07-06 03:47:00'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.333025 -2.796381)', '2026-07-06 03:47:19', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332916 -2.796372)'), GeomFromEWKT('SRID=4674;POINT (-40.333025 -2.796381)'))) / (select extract(epoch from '2026-07-06 03:47:19'::timestamp) - extract(epoch from '2026-07-06 03:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332916 -2.796372)'), GeomFromEWKT('SRID=4674;POINT (-40.333025 -2.796381)'))) / (select extract(epoch from '2026-07-06 03:47:19'::timestamp) - extract(epoch from '2026-07-06 03:47: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'), 47636, 'SRID=4674;POINT (-40.333115 -2.796394)', '2026-07-06 03:47:35', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333025 -2.796381)'), GeomFromEWKT('SRID=4674;POINT (-40.333115 -2.796394)'))) / (select extract(epoch from '2026-07-06 03:47:35'::timestamp) - extract(epoch from '2026-07-06 03:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333025 -2.796381)'), GeomFromEWKT('SRID=4674;POINT (-40.333115 -2.796394)'))) / (select extract(epoch from '2026-07-06 03:47:35'::timestamp) - extract(epoch from '2026-07-06 03:47:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.333215 -2.79641)', '2026-07-06 03:47:52', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333115 -2.796394)'), GeomFromEWKT('SRID=4674;POINT (-40.333215 -2.79641)'))) / (select extract(epoch from '2026-07-06 03:47:52'::timestamp) - extract(epoch from '2026-07-06 03:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333115 -2.796394)'), GeomFromEWKT('SRID=4674;POINT (-40.333215 -2.79641)'))) / (select extract(epoch from '2026-07-06 03:47:52'::timestamp) - extract(epoch from '2026-07-06 03:47: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'), 47636, 'SRID=4674;POINT (-40.333302 -2.796421)', '2026-07-06 03:48:08', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333215 -2.79641)'), GeomFromEWKT('SRID=4674;POINT (-40.333302 -2.796421)'))) / (select extract(epoch from '2026-07-06 03:48:08'::timestamp) - extract(epoch from '2026-07-06 03:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333215 -2.79641)'), GeomFromEWKT('SRID=4674;POINT (-40.333302 -2.796421)'))) / (select extract(epoch from '2026-07-06 03:48:08'::timestamp) - extract(epoch from '2026-07-06 03:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.333363 -2.79643)', '2026-07-06 03:48:19', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333302 -2.796421)'), GeomFromEWKT('SRID=4674;POINT (-40.333363 -2.79643)'))) / (select extract(epoch from '2026-07-06 03:48:19'::timestamp) - extract(epoch from '2026-07-06 03:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333302 -2.796421)'), GeomFromEWKT('SRID=4674;POINT (-40.333363 -2.79643)'))) / (select extract(epoch from '2026-07-06 03:48:19'::timestamp) - extract(epoch from '2026-07-06 03:48:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.333419 -2.796444)', '2026-07-06 03:48:30', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333363 -2.79643)'), GeomFromEWKT('SRID=4674;POINT (-40.333419 -2.796444)'))) / (select extract(epoch from '2026-07-06 03:48:30'::timestamp) - extract(epoch from '2026-07-06 03:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333363 -2.79643)'), GeomFromEWKT('SRID=4674;POINT (-40.333419 -2.796444)'))) / (select extract(epoch from '2026-07-06 03:48:30'::timestamp) - extract(epoch from '2026-07-06 03:48: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'), 47636, 'SRID=4674;POINT (-40.333485 -2.796457)', '2026-07-06 03:48:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333419 -2.796444)'), GeomFromEWKT('SRID=4674;POINT (-40.333485 -2.796457)'))) / (select extract(epoch from '2026-07-06 03:48:43'::timestamp) - extract(epoch from '2026-07-06 03:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333419 -2.796444)'), GeomFromEWKT('SRID=4674;POINT (-40.333485 -2.796457)'))) / (select extract(epoch from '2026-07-06 03:48:43'::timestamp) - extract(epoch from '2026-07-06 03:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.333554 -2.796471)', '2026-07-06 03:48:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333485 -2.796457)'), GeomFromEWKT('SRID=4674;POINT (-40.333554 -2.796471)'))) / (select extract(epoch from '2026-07-06 03:48:56'::timestamp) - extract(epoch from '2026-07-06 03:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333485 -2.796457)'), GeomFromEWKT('SRID=4674;POINT (-40.333554 -2.796471)'))) / (select extract(epoch from '2026-07-06 03:48:56'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.333668 -2.796497)', '2026-07-06 03:49:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333554 -2.796471)'), GeomFromEWKT('SRID=4674;POINT (-40.333668 -2.796497)'))) / (select extract(epoch from '2026-07-06 03:49:19'::timestamp) - extract(epoch from '2026-07-06 03:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333554 -2.796471)'), GeomFromEWKT('SRID=4674;POINT (-40.333668 -2.796497)'))) / (select extract(epoch from '2026-07-06 03:49:19'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.3338 -2.796524)', '2026-07-06 03:49:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333668 -2.796497)'), GeomFromEWKT('SRID=4674;POINT (-40.3338 -2.796524)'))) / (select extract(epoch from '2026-07-06 03:49:43'::timestamp) - extract(epoch from '2026-07-06 03:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333668 -2.796497)'), GeomFromEWKT('SRID=4674;POINT (-40.3338 -2.796524)'))) / (select extract(epoch from '2026-07-06 03:49:43'::timestamp) - extract(epoch from '2026-07-06 03:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.333915 -2.796537)', '2026-07-06 03:50:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3338 -2.796524)'), GeomFromEWKT('SRID=4674;POINT (-40.333915 -2.796537)'))) / (select extract(epoch from '2026-07-06 03:50:02'::timestamp) - extract(epoch from '2026-07-06 03:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3338 -2.796524)'), GeomFromEWKT('SRID=4674;POINT (-40.333915 -2.796537)'))) / (select extract(epoch from '2026-07-06 03:50:02'::timestamp) - extract(epoch from '2026-07-06 03:49:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.334007 -2.796555)', '2026-07-06 03:50:16', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333915 -2.796537)'), GeomFromEWKT('SRID=4674;POINT (-40.334007 -2.796555)'))) / (select extract(epoch from '2026-07-06 03:50:16'::timestamp) - extract(epoch from '2026-07-06 03:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333915 -2.796537)'), GeomFromEWKT('SRID=4674;POINT (-40.334007 -2.796555)'))) / (select extract(epoch from '2026-07-06 03:50:16'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.334112 -2.796576)', '2026-07-06 03:50:32', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334007 -2.796555)'), GeomFromEWKT('SRID=4674;POINT (-40.334112 -2.796576)'))) / (select extract(epoch from '2026-07-06 03:50:32'::timestamp) - extract(epoch from '2026-07-06 03:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334007 -2.796555)'), GeomFromEWKT('SRID=4674;POINT (-40.334112 -2.796576)'))) / (select extract(epoch from '2026-07-06 03:50:32'::timestamp) - extract(epoch from '2026-07-06 03:50: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'), 47636, 'SRID=4674;POINT (-40.334219 -2.796596)', '2026-07-06 03:50:48', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334112 -2.796576)'), GeomFromEWKT('SRID=4674;POINT (-40.334219 -2.796596)'))) / (select extract(epoch from '2026-07-06 03:50:48'::timestamp) - extract(epoch from '2026-07-06 03:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334112 -2.796576)'), GeomFromEWKT('SRID=4674;POINT (-40.334219 -2.796596)'))) / (select extract(epoch from '2026-07-06 03:50:48'::timestamp) - extract(epoch from '2026-07-06 03:50:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.334287 -2.796609)', '2026-07-06 03:50:58', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334219 -2.796596)'), GeomFromEWKT('SRID=4674;POINT (-40.334287 -2.796609)'))) / (select extract(epoch from '2026-07-06 03:50:58'::timestamp) - extract(epoch from '2026-07-06 03:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334219 -2.796596)'), GeomFromEWKT('SRID=4674;POINT (-40.334287 -2.796609)'))) / (select extract(epoch from '2026-07-06 03:50:58'::timestamp) - extract(epoch from '2026-07-06 03:50:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.334413 -2.796625)', '2026-07-06 03:51:17', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334287 -2.796609)'), GeomFromEWKT('SRID=4674;POINT (-40.334413 -2.796625)'))) / (select extract(epoch from '2026-07-06 03:51:17'::timestamp) - extract(epoch from '2026-07-06 03:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334287 -2.796609)'), GeomFromEWKT('SRID=4674;POINT (-40.334413 -2.796625)'))) / (select extract(epoch from '2026-07-06 03:51:17'::timestamp) - extract(epoch from '2026-07-06 03:50: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'), 47636, 'SRID=4674;POINT (-40.334575 -2.796644)', '2026-07-06 03:51:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334413 -2.796625)'), GeomFromEWKT('SRID=4674;POINT (-40.334575 -2.796644)'))) / (select extract(epoch from '2026-07-06 03:51:40'::timestamp) - extract(epoch from '2026-07-06 03:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334413 -2.796625)'), GeomFromEWKT('SRID=4674;POINT (-40.334575 -2.796644)'))) / (select extract(epoch from '2026-07-06 03:51:40'::timestamp) - extract(epoch from '2026-07-06 03:51: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'), 47636, 'SRID=4674;POINT (-40.334721 -2.796668)', '2026-07-06 03:52:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334575 -2.796644)'), GeomFromEWKT('SRID=4674;POINT (-40.334721 -2.796668)'))) / (select extract(epoch from '2026-07-06 03:52:02'::timestamp) - extract(epoch from '2026-07-06 03:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334575 -2.796644)'), GeomFromEWKT('SRID=4674;POINT (-40.334721 -2.796668)'))) / (select extract(epoch from '2026-07-06 03:52:02'::timestamp) - extract(epoch from '2026-07-06 03:51: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'), 47636, 'SRID=4674;POINT (-40.334811 -2.796685)', '2026-07-06 03:52:15', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334721 -2.796668)'), GeomFromEWKT('SRID=4674;POINT (-40.334811 -2.796685)'))) / (select extract(epoch from '2026-07-06 03:52:15'::timestamp) - extract(epoch from '2026-07-06 03:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334721 -2.796668)'), GeomFromEWKT('SRID=4674;POINT (-40.334811 -2.796685)'))) / (select extract(epoch from '2026-07-06 03:52:15'::timestamp) - extract(epoch from '2026-07-06 03:52: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'), 47636, 'SRID=4674;POINT (-40.334907 -2.7967)', '2026-07-06 03:52:29', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334811 -2.796685)'), GeomFromEWKT('SRID=4674;POINT (-40.334907 -2.7967)'))) / (select extract(epoch from '2026-07-06 03:52:29'::timestamp) - extract(epoch from '2026-07-06 03:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334811 -2.796685)'), GeomFromEWKT('SRID=4674;POINT (-40.334907 -2.7967)'))) / (select extract(epoch from '2026-07-06 03:52:29'::timestamp) - extract(epoch from '2026-07-06 03:52: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'), 47636, 'SRID=4674;POINT (-40.335011 -2.796712)', '2026-07-06 03:52:46', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334907 -2.7967)'), GeomFromEWKT('SRID=4674;POINT (-40.335011 -2.796712)'))) / (select extract(epoch from '2026-07-06 03:52:46'::timestamp) - extract(epoch from '2026-07-06 03:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334907 -2.7967)'), GeomFromEWKT('SRID=4674;POINT (-40.335011 -2.796712)'))) / (select extract(epoch from '2026-07-06 03:52:46'::timestamp) - extract(epoch from '2026-07-06 03:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.335093 -2.796718)', '2026-07-06 03:53:07', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335011 -2.796712)'), GeomFromEWKT('SRID=4674;POINT (-40.335093 -2.796718)'))) / (select extract(epoch from '2026-07-06 03:53:07'::timestamp) - extract(epoch from '2026-07-06 03:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335011 -2.796712)'), GeomFromEWKT('SRID=4674;POINT (-40.335093 -2.796718)'))) / (select extract(epoch from '2026-07-06 03:53:07'::timestamp) - extract(epoch from '2026-07-06 03:52: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'), 47636, 'SRID=4674;POINT (-40.335246 -2.796717)', '2026-07-06 03:53:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335093 -2.796718)'), GeomFromEWKT('SRID=4674;POINT (-40.335246 -2.796717)'))) / (select extract(epoch from '2026-07-06 03:53:39'::timestamp) - extract(epoch from '2026-07-06 03:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335093 -2.796718)'), GeomFromEWKT('SRID=4674;POINT (-40.335246 -2.796717)'))) / (select extract(epoch from '2026-07-06 03:53:39'::timestamp) - extract(epoch from '2026-07-06 03:53: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'), 47636, 'SRID=4674;POINT (-40.335386 -2.79673)', '2026-07-06 03:54:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335246 -2.796717)'), GeomFromEWKT('SRID=4674;POINT (-40.335386 -2.79673)'))) / (select extract(epoch from '2026-07-06 03:54:09'::timestamp) - extract(epoch from '2026-07-06 03:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335246 -2.796717)'), GeomFromEWKT('SRID=4674;POINT (-40.335386 -2.79673)'))) / (select extract(epoch from '2026-07-06 03:54:09'::timestamp) - extract(epoch from '2026-07-06 03:53: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'), 47636, 'SRID=4674;POINT (-40.335531 -2.796754)', '2026-07-06 03:54:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335386 -2.79673)'), GeomFromEWKT('SRID=4674;POINT (-40.335531 -2.796754)'))) / (select extract(epoch from '2026-07-06 03:54:34'::timestamp) - extract(epoch from '2026-07-06 03:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335386 -2.79673)'), GeomFromEWKT('SRID=4674;POINT (-40.335531 -2.796754)'))) / (select extract(epoch from '2026-07-06 03:54:34'::timestamp) - extract(epoch from '2026-07-06 03:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.335631 -2.79678)', '2026-07-06 03:54:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335531 -2.796754)'), GeomFromEWKT('SRID=4674;POINT (-40.335631 -2.79678)'))) / (select extract(epoch from '2026-07-06 03:54:50'::timestamp) - extract(epoch from '2026-07-06 03:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335531 -2.796754)'), GeomFromEWKT('SRID=4674;POINT (-40.335631 -2.79678)'))) / (select extract(epoch from '2026-07-06 03:54:50'::timestamp) - extract(epoch from '2026-07-06 03:54:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.335749 -2.796806)', '2026-07-06 03:55:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335631 -2.79678)'), GeomFromEWKT('SRID=4674;POINT (-40.335749 -2.796806)'))) / (select extract(epoch from '2026-07-06 03:55:10'::timestamp) - extract(epoch from '2026-07-06 03:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335631 -2.79678)'), GeomFromEWKT('SRID=4674;POINT (-40.335749 -2.796806)'))) / (select extract(epoch from '2026-07-06 03:55:10'::timestamp) - extract(epoch from '2026-07-06 03:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.335837 -2.796824)', '2026-07-06 03:55:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335749 -2.796806)'), GeomFromEWKT('SRID=4674;POINT (-40.335837 -2.796824)'))) / (select extract(epoch from '2026-07-06 03:55:26'::timestamp) - extract(epoch from '2026-07-06 03:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335749 -2.796806)'), GeomFromEWKT('SRID=4674;POINT (-40.335837 -2.796824)'))) / (select extract(epoch from '2026-07-06 03:55:26'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.335917 -2.796835)', '2026-07-06 03:55:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335837 -2.796824)'), GeomFromEWKT('SRID=4674;POINT (-40.335917 -2.796835)'))) / (select extract(epoch from '2026-07-06 03:55:40'::timestamp) - extract(epoch from '2026-07-06 03:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335837 -2.796824)'), GeomFromEWKT('SRID=4674;POINT (-40.335917 -2.796835)'))) / (select extract(epoch from '2026-07-06 03:55:40'::timestamp) - extract(epoch from '2026-07-06 03:55: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'), 47636, 'SRID=4674;POINT (-40.336044 -2.796852)', '2026-07-06 03:56:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335917 -2.796835)'), GeomFromEWKT('SRID=4674;POINT (-40.336044 -2.796852)'))) / (select extract(epoch from '2026-07-06 03:56:02'::timestamp) - extract(epoch from '2026-07-06 03:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335917 -2.796835)'), GeomFromEWKT('SRID=4674;POINT (-40.336044 -2.796852)'))) / (select extract(epoch from '2026-07-06 03:56:02'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.336139 -2.796859)', '2026-07-06 03:56:21', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336044 -2.796852)'), GeomFromEWKT('SRID=4674;POINT (-40.336139 -2.796859)'))) / (select extract(epoch from '2026-07-06 03:56:21'::timestamp) - extract(epoch from '2026-07-06 03:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336044 -2.796852)'), GeomFromEWKT('SRID=4674;POINT (-40.336139 -2.796859)'))) / (select extract(epoch from '2026-07-06 03:56:21'::timestamp) - extract(epoch from '2026-07-06 03:56: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'), 47636, 'SRID=4674;POINT (-40.336292 -2.796882)', '2026-07-06 03:56:48', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336139 -2.796859)'), GeomFromEWKT('SRID=4674;POINT (-40.336292 -2.796882)'))) / (select extract(epoch from '2026-07-06 03:56:48'::timestamp) - extract(epoch from '2026-07-06 03:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336139 -2.796859)'), GeomFromEWKT('SRID=4674;POINT (-40.336292 -2.796882)'))) / (select extract(epoch from '2026-07-06 03:56:48'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.336385 -2.7969)', '2026-07-06 03:57:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336292 -2.796882)'), GeomFromEWKT('SRID=4674;POINT (-40.336385 -2.7969)'))) / (select extract(epoch from '2026-07-06 03:57:05'::timestamp) - extract(epoch from '2026-07-06 03:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336292 -2.796882)'), GeomFromEWKT('SRID=4674;POINT (-40.336385 -2.7969)'))) / (select extract(epoch from '2026-07-06 03:57:05'::timestamp) - extract(epoch from '2026-07-06 03:56:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.336484 -2.796907)', '2026-07-06 03:57:20', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336385 -2.7969)'), GeomFromEWKT('SRID=4674;POINT (-40.336484 -2.796907)'))) / (select extract(epoch from '2026-07-06 03:57:20'::timestamp) - extract(epoch from '2026-07-06 03:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336385 -2.7969)'), GeomFromEWKT('SRID=4674;POINT (-40.336484 -2.796907)'))) / (select extract(epoch from '2026-07-06 03:57:20'::timestamp) - extract(epoch from '2026-07-06 03:57: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'), 47636, 'SRID=4674;POINT (-40.336649 -2.796931)', '2026-07-06 03:57:44', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336484 -2.796907)'), GeomFromEWKT('SRID=4674;POINT (-40.336649 -2.796931)'))) / (select extract(epoch from '2026-07-06 03:57:44'::timestamp) - extract(epoch from '2026-07-06 03:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336484 -2.796907)'), GeomFromEWKT('SRID=4674;POINT (-40.336649 -2.796931)'))) / (select extract(epoch from '2026-07-06 03:57:44'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.336814 -2.79695)', '2026-07-06 03:58:09', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336649 -2.796931)'), GeomFromEWKT('SRID=4674;POINT (-40.336814 -2.79695)'))) / (select extract(epoch from '2026-07-06 03:58:09'::timestamp) - extract(epoch from '2026-07-06 03:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336649 -2.796931)'), GeomFromEWKT('SRID=4674;POINT (-40.336814 -2.79695)'))) / (select extract(epoch from '2026-07-06 03:58:09'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.3369 -2.79696)', '2026-07-06 03:58:21', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336814 -2.79695)'), GeomFromEWKT('SRID=4674;POINT (-40.3369 -2.79696)'))) / (select extract(epoch from '2026-07-06 03:58:21'::timestamp) - extract(epoch from '2026-07-06 03:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336814 -2.79695)'), GeomFromEWKT('SRID=4674;POINT (-40.3369 -2.79696)'))) / (select extract(epoch from '2026-07-06 03:58:21'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.337011 -2.796978)', '2026-07-06 03:58:36', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3369 -2.79696)'), GeomFromEWKT('SRID=4674;POINT (-40.337011 -2.796978)'))) / (select extract(epoch from '2026-07-06 03:58:36'::timestamp) - extract(epoch from '2026-07-06 03:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3369 -2.79696)'), GeomFromEWKT('SRID=4674;POINT (-40.337011 -2.796978)'))) / (select extract(epoch from '2026-07-06 03:58:36'::timestamp) - extract(epoch from '2026-07-06 03:58: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'), 47636, 'SRID=4674;POINT (-40.337107 -2.796993)', '2026-07-06 03:58:49', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337011 -2.796978)'), GeomFromEWKT('SRID=4674;POINT (-40.337107 -2.796993)'))) / (select extract(epoch from '2026-07-06 03:58:49'::timestamp) - extract(epoch from '2026-07-06 03:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337011 -2.796978)'), GeomFromEWKT('SRID=4674;POINT (-40.337107 -2.796993)'))) / (select extract(epoch from '2026-07-06 03:58:49'::timestamp) - extract(epoch from '2026-07-06 03:58:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.337207 -2.797017)', '2026-07-06 03:59:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337107 -2.796993)'), GeomFromEWKT('SRID=4674;POINT (-40.337207 -2.797017)'))) / (select extract(epoch from '2026-07-06 03:59:04'::timestamp) - extract(epoch from '2026-07-06 03:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337107 -2.796993)'), GeomFromEWKT('SRID=4674;POINT (-40.337207 -2.797017)'))) / (select extract(epoch from '2026-07-06 03:59:04'::timestamp) - extract(epoch from '2026-07-06 03:58: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'), 47636, 'SRID=4674;POINT (-40.337279 -2.797025)', '2026-07-06 03:59:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337207 -2.797017)'), GeomFromEWKT('SRID=4674;POINT (-40.337279 -2.797025)'))) / (select extract(epoch from '2026-07-06 03:59:15'::timestamp) - extract(epoch from '2026-07-06 03:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337207 -2.797017)'), GeomFromEWKT('SRID=4674;POINT (-40.337279 -2.797025)'))) / (select extract(epoch from '2026-07-06 03:59:15'::timestamp) - extract(epoch from '2026-07-06 03:59:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.337361 -2.797029)', '2026-07-06 03:59:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337279 -2.797025)'), GeomFromEWKT('SRID=4674;POINT (-40.337361 -2.797029)'))) / (select extract(epoch from '2026-07-06 03:59:27'::timestamp) - extract(epoch from '2026-07-06 03:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337279 -2.797025)'), GeomFromEWKT('SRID=4674;POINT (-40.337361 -2.797029)'))) / (select extract(epoch from '2026-07-06 03:59:27'::timestamp) - extract(epoch from '2026-07-06 03:59: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'), 47636, 'SRID=4674;POINT (-40.337431 -2.79705)', '2026-07-06 03:59:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337361 -2.797029)'), GeomFromEWKT('SRID=4674;POINT (-40.337431 -2.79705)'))) / (select extract(epoch from '2026-07-06 03:59:40'::timestamp) - extract(epoch from '2026-07-06 03:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337361 -2.797029)'), GeomFromEWKT('SRID=4674;POINT (-40.337431 -2.79705)'))) / (select extract(epoch from '2026-07-06 03:59:40'::timestamp) - extract(epoch from '2026-07-06 03: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'), 47636, 'SRID=4674;POINT (-40.337509 -2.797065)', '2026-07-06 03:59:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337431 -2.79705)'), GeomFromEWKT('SRID=4674;POINT (-40.337509 -2.797065)'))) / (select extract(epoch from '2026-07-06 03:59:52'::timestamp) - extract(epoch from '2026-07-06 03:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337431 -2.79705)'), GeomFromEWKT('SRID=4674;POINT (-40.337509 -2.797065)'))) / (select extract(epoch from '2026-07-06 03:59:52'::timestamp) - extract(epoch from '2026-07-06 03:59:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.337645 -2.797066)', '2026-07-06 04:00:11', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337509 -2.797065)'), GeomFromEWKT('SRID=4674;POINT (-40.337645 -2.797066)'))) / (select extract(epoch from '2026-07-06 04:00:11'::timestamp) - extract(epoch from '2026-07-06 03:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337509 -2.797065)'), GeomFromEWKT('SRID=4674;POINT (-40.337645 -2.797066)'))) / (select extract(epoch from '2026-07-06 04:00:11'::timestamp) - extract(epoch from '2026-07-06 03:59: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'), 47636, 'SRID=4674;POINT (-40.337792 -2.79707)', '2026-07-06 04:00:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337645 -2.797066)'), GeomFromEWKT('SRID=4674;POINT (-40.337792 -2.79707)'))) / (select extract(epoch from '2026-07-06 04:00:31'::timestamp) - extract(epoch from '2026-07-06 04:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337645 -2.797066)'), GeomFromEWKT('SRID=4674;POINT (-40.337792 -2.79707)'))) / (select extract(epoch from '2026-07-06 04:00:31'::timestamp) - extract(epoch from '2026-07-06 04:00:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.337952 -2.797064)', '2026-07-06 04:00:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337792 -2.79707)'), GeomFromEWKT('SRID=4674;POINT (-40.337952 -2.797064)'))) / (select extract(epoch from '2026-07-06 04:00:53'::timestamp) - extract(epoch from '2026-07-06 04:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337792 -2.79707)'), GeomFromEWKT('SRID=4674;POINT (-40.337952 -2.797064)'))) / (select extract(epoch from '2026-07-06 04:00:53'::timestamp) - extract(epoch from '2026-07-06 04:00:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.338049 -2.797063)', '2026-07-06 04:01:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337952 -2.797064)'), GeomFromEWKT('SRID=4674;POINT (-40.338049 -2.797063)'))) / (select extract(epoch from '2026-07-06 04:01:07'::timestamp) - extract(epoch from '2026-07-06 04:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337952 -2.797064)'), GeomFromEWKT('SRID=4674;POINT (-40.338049 -2.797063)'))) / (select extract(epoch from '2026-07-06 04:01:07'::timestamp) - extract(epoch from '2026-07-06 04:00:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.338135 -2.79707)', '2026-07-06 04:01:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338049 -2.797063)'), GeomFromEWKT('SRID=4674;POINT (-40.338135 -2.79707)'))) / (select extract(epoch from '2026-07-06 04:01:20'::timestamp) - extract(epoch from '2026-07-06 04:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338049 -2.797063)'), GeomFromEWKT('SRID=4674;POINT (-40.338135 -2.79707)'))) / (select extract(epoch from '2026-07-06 04:01:20'::timestamp) - extract(epoch from '2026-07-06 04:01: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'), 47636, 'SRID=4674;POINT (-40.338246 -2.797076)', '2026-07-06 04:01:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338135 -2.79707)'), GeomFromEWKT('SRID=4674;POINT (-40.338246 -2.797076)'))) / (select extract(epoch from '2026-07-06 04:01:36'::timestamp) - extract(epoch from '2026-07-06 04:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338135 -2.79707)'), GeomFromEWKT('SRID=4674;POINT (-40.338246 -2.797076)'))) / (select extract(epoch from '2026-07-06 04:01:36'::timestamp) - extract(epoch from '2026-07-06 04:01: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'), 47636, 'SRID=4674;POINT (-40.338347 -2.797077)', '2026-07-06 04:01:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338246 -2.797076)'), GeomFromEWKT('SRID=4674;POINT (-40.338347 -2.797077)'))) / (select extract(epoch from '2026-07-06 04:01:50'::timestamp) - extract(epoch from '2026-07-06 04:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338246 -2.797076)'), GeomFromEWKT('SRID=4674;POINT (-40.338347 -2.797077)'))) / (select extract(epoch from '2026-07-06 04:01:50'::timestamp) - extract(epoch from '2026-07-06 04:01:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.338464 -2.797091)', '2026-07-06 04:02:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338347 -2.797077)'), GeomFromEWKT('SRID=4674;POINT (-40.338464 -2.797091)'))) / (select extract(epoch from '2026-07-06 04:02:07'::timestamp) - extract(epoch from '2026-07-06 04:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338347 -2.797077)'), GeomFromEWKT('SRID=4674;POINT (-40.338464 -2.797091)'))) / (select extract(epoch from '2026-07-06 04:02:07'::timestamp) - extract(epoch from '2026-07-06 04:01:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.33855 -2.797093)', '2026-07-06 04:02:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338464 -2.797091)'), GeomFromEWKT('SRID=4674;POINT (-40.33855 -2.797093)'))) / (select extract(epoch from '2026-07-06 04:02:19'::timestamp) - extract(epoch from '2026-07-06 04:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338464 -2.797091)'), GeomFromEWKT('SRID=4674;POINT (-40.33855 -2.797093)'))) / (select extract(epoch from '2026-07-06 04:02:19'::timestamp) - extract(epoch from '2026-07-06 04:02: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'), 47636, 'SRID=4674;POINT (-40.338634 -2.797125)', '2026-07-06 04:02:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33855 -2.797093)'), GeomFromEWKT('SRID=4674;POINT (-40.338634 -2.797125)'))) / (select extract(epoch from '2026-07-06 04:02:34'::timestamp) - extract(epoch from '2026-07-06 04:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33855 -2.797093)'), GeomFromEWKT('SRID=4674;POINT (-40.338634 -2.797125)'))) / (select extract(epoch from '2026-07-06 04:02:34'::timestamp) - extract(epoch from '2026-07-06 04:02: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'), 47636, 'SRID=4674;POINT (-40.338695 -2.797142)', '2026-07-06 04:02:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338634 -2.797125)'), GeomFromEWKT('SRID=4674;POINT (-40.338695 -2.797142)'))) / (select extract(epoch from '2026-07-06 04:02:47'::timestamp) - extract(epoch from '2026-07-06 04:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338634 -2.797125)'), GeomFromEWKT('SRID=4674;POINT (-40.338695 -2.797142)'))) / (select extract(epoch from '2026-07-06 04:02:47'::timestamp) - extract(epoch from '2026-07-06 04:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.338759 -2.797147)', '2026-07-06 04:02:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338695 -2.797142)'), GeomFromEWKT('SRID=4674;POINT (-40.338759 -2.797147)'))) / (select extract(epoch from '2026-07-06 04:02:58'::timestamp) - extract(epoch from '2026-07-06 04:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338695 -2.797142)'), GeomFromEWKT('SRID=4674;POINT (-40.338759 -2.797147)'))) / (select extract(epoch from '2026-07-06 04:02:58'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.338859 -2.797154)', '2026-07-06 04:03:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338759 -2.797147)'), GeomFromEWKT('SRID=4674;POINT (-40.338859 -2.797154)'))) / (select extract(epoch from '2026-07-06 04:03:17'::timestamp) - extract(epoch from '2026-07-06 04:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338759 -2.797147)'), GeomFromEWKT('SRID=4674;POINT (-40.338859 -2.797154)'))) / (select extract(epoch from '2026-07-06 04:03:17'::timestamp) - extract(epoch from '2026-07-06 04:02: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'), 47636, 'SRID=4674;POINT (-40.338941 -2.797162)', '2026-07-06 04:03:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338859 -2.797154)'), GeomFromEWKT('SRID=4674;POINT (-40.338941 -2.797162)'))) / (select extract(epoch from '2026-07-06 04:03:37'::timestamp) - extract(epoch from '2026-07-06 04:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338859 -2.797154)'), GeomFromEWKT('SRID=4674;POINT (-40.338941 -2.797162)'))) / (select extract(epoch from '2026-07-06 04:03:37'::timestamp) - extract(epoch from '2026-07-06 04:03:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.339063 -2.797161)', '2026-07-06 04:03:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338941 -2.797162)'), GeomFromEWKT('SRID=4674;POINT (-40.339063 -2.797161)'))) / (select extract(epoch from '2026-07-06 04:03:58'::timestamp) - extract(epoch from '2026-07-06 04:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338941 -2.797162)'), GeomFromEWKT('SRID=4674;POINT (-40.339063 -2.797161)'))) / (select extract(epoch from '2026-07-06 04:03:58'::timestamp) - extract(epoch from '2026-07-06 04:03:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.339171 -2.797169)', '2026-07-06 04:04:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339063 -2.797161)'), GeomFromEWKT('SRID=4674;POINT (-40.339171 -2.797169)'))) / (select extract(epoch from '2026-07-06 04:04:15'::timestamp) - extract(epoch from '2026-07-06 04:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339063 -2.797161)'), GeomFromEWKT('SRID=4674;POINT (-40.339171 -2.797169)'))) / (select extract(epoch from '2026-07-06 04:04:15'::timestamp) - extract(epoch from '2026-07-06 04:03:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.339274 -2.797181)', '2026-07-06 04:04:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339171 -2.797169)'), GeomFromEWKT('SRID=4674;POINT (-40.339274 -2.797181)'))) / (select extract(epoch from '2026-07-06 04:04:30'::timestamp) - extract(epoch from '2026-07-06 04:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339171 -2.797169)'), GeomFromEWKT('SRID=4674;POINT (-40.339274 -2.797181)'))) / (select extract(epoch from '2026-07-06 04:04:30'::timestamp) - extract(epoch from '2026-07-06 04:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.339364 -2.797192)', '2026-07-06 04:04:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339274 -2.797181)'), GeomFromEWKT('SRID=4674;POINT (-40.339364 -2.797192)'))) / (select extract(epoch from '2026-07-06 04:04:43'::timestamp) - extract(epoch from '2026-07-06 04:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339274 -2.797181)'), GeomFromEWKT('SRID=4674;POINT (-40.339364 -2.797192)'))) / (select extract(epoch from '2026-07-06 04:04:43'::timestamp) - extract(epoch from '2026-07-06 04:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.339525 -2.797205)', '2026-07-06 04:05:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339364 -2.797192)'), GeomFromEWKT('SRID=4674;POINT (-40.339525 -2.797205)'))) / (select extract(epoch from '2026-07-06 04:05:05'::timestamp) - extract(epoch from '2026-07-06 04:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339364 -2.797192)'), GeomFromEWKT('SRID=4674;POINT (-40.339525 -2.797205)'))) / (select extract(epoch from '2026-07-06 04:05:05'::timestamp) - extract(epoch from '2026-07-06 04:04: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'), 47636, 'SRID=4674;POINT (-40.339611 -2.797222)', '2026-07-06 04:05:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339525 -2.797205)'), GeomFromEWKT('SRID=4674;POINT (-40.339611 -2.797222)'))) / (select extract(epoch from '2026-07-06 04:05:17'::timestamp) - extract(epoch from '2026-07-06 04:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339525 -2.797205)'), GeomFromEWKT('SRID=4674;POINT (-40.339611 -2.797222)'))) / (select extract(epoch from '2026-07-06 04:05:17'::timestamp) - extract(epoch from '2026-07-06 04:05:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.339694 -2.797235)', '2026-07-06 04:05:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339611 -2.797222)'), GeomFromEWKT('SRID=4674;POINT (-40.339694 -2.797235)'))) / (select extract(epoch from '2026-07-06 04:05:29'::timestamp) - extract(epoch from '2026-07-06 04:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339611 -2.797222)'), GeomFromEWKT('SRID=4674;POINT (-40.339694 -2.797235)'))) / (select extract(epoch from '2026-07-06 04:05:29'::timestamp) - extract(epoch from '2026-07-06 04:05: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'), 47636, 'SRID=4674;POINT (-40.339759 -2.797242)', '2026-07-06 04:05:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339694 -2.797235)'), GeomFromEWKT('SRID=4674;POINT (-40.339759 -2.797242)'))) / (select extract(epoch from '2026-07-06 04:05:38'::timestamp) - extract(epoch from '2026-07-06 04:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339694 -2.797235)'), GeomFromEWKT('SRID=4674;POINT (-40.339759 -2.797242)'))) / (select extract(epoch from '2026-07-06 04:05:38'::timestamp) - extract(epoch from '2026-07-06 04:05: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'), 47636, 'SRID=4674;POINT (-40.339768 -2.79724)', '2026-07-06 04:05:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339759 -2.797242)'), GeomFromEWKT('SRID=4674;POINT (-40.339768 -2.79724)'))) / (select extract(epoch from '2026-07-06 04:05:39'::timestamp) - extract(epoch from '2026-07-06 04:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339759 -2.797242)'), GeomFromEWKT('SRID=4674;POINT (-40.339768 -2.79724)'))) / (select extract(epoch from '2026-07-06 04:05:39'::timestamp) - extract(epoch from '2026-07-06 04:05: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'), 47636, 'SRID=4674;POINT (-40.339827 -2.797245)', '2026-07-06 04:05:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339768 -2.79724)'), GeomFromEWKT('SRID=4674;POINT (-40.339827 -2.797245)'))) / (select extract(epoch from '2026-07-06 04:05:49'::timestamp) - extract(epoch from '2026-07-06 04:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339768 -2.79724)'), GeomFromEWKT('SRID=4674;POINT (-40.339827 -2.797245)'))) / (select extract(epoch from '2026-07-06 04:05:49'::timestamp) - extract(epoch from '2026-07-06 04:05:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.339906 -2.797251)', '2026-07-06 04:06:08', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339827 -2.797245)'), GeomFromEWKT('SRID=4674;POINT (-40.339906 -2.797251)'))) / (select extract(epoch from '2026-07-06 04:06:08'::timestamp) - extract(epoch from '2026-07-06 04:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339827 -2.797245)'), GeomFromEWKT('SRID=4674;POINT (-40.339906 -2.797251)'))) / (select extract(epoch from '2026-07-06 04:06:08'::timestamp) - extract(epoch from '2026-07-06 04:05: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'), 47636, 'SRID=4674;POINT (-40.340008 -2.797253)', '2026-07-06 04:06:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339906 -2.797251)'), GeomFromEWKT('SRID=4674;POINT (-40.340008 -2.797253)'))) / (select extract(epoch from '2026-07-06 04:06:29'::timestamp) - extract(epoch from '2026-07-06 04:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339906 -2.797251)'), GeomFromEWKT('SRID=4674;POINT (-40.340008 -2.797253)'))) / (select extract(epoch from '2026-07-06 04:06:29'::timestamp) - extract(epoch from '2026-07-06 04:06:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.34008 -2.797259)', '2026-07-06 04:06:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340008 -2.797253)'), GeomFromEWKT('SRID=4674;POINT (-40.34008 -2.797259)'))) / (select extract(epoch from '2026-07-06 04:06:46'::timestamp) - extract(epoch from '2026-07-06 04:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340008 -2.797253)'), GeomFromEWKT('SRID=4674;POINT (-40.34008 -2.797259)'))) / (select extract(epoch from '2026-07-06 04:06:46'::timestamp) - extract(epoch from '2026-07-06 04:06: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'), 47636, 'SRID=4674;POINT (-40.340149 -2.797264)', '2026-07-06 04:07:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34008 -2.797259)'), GeomFromEWKT('SRID=4674;POINT (-40.340149 -2.797264)'))) / (select extract(epoch from '2026-07-06 04:07:04'::timestamp) - extract(epoch from '2026-07-06 04:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34008 -2.797259)'), GeomFromEWKT('SRID=4674;POINT (-40.340149 -2.797264)'))) / (select extract(epoch from '2026-07-06 04:07:04'::timestamp) - extract(epoch from '2026-07-06 04:06: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'), 47636, 'SRID=4674;POINT (-40.340202 -2.79726)', '2026-07-06 04:07:18', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340149 -2.797264)'), GeomFromEWKT('SRID=4674;POINT (-40.340202 -2.79726)'))) / (select extract(epoch from '2026-07-06 04:07:18'::timestamp) - extract(epoch from '2026-07-06 04:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340149 -2.797264)'), GeomFromEWKT('SRID=4674;POINT (-40.340202 -2.79726)'))) / (select extract(epoch from '2026-07-06 04:07:18'::timestamp) - extract(epoch from '2026-07-06 04:07: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'), 47636, 'SRID=4674;POINT (-40.340246 -2.797263)', '2026-07-06 04:07:29', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340202 -2.79726)'), GeomFromEWKT('SRID=4674;POINT (-40.340246 -2.797263)'))) / (select extract(epoch from '2026-07-06 04:07:29'::timestamp) - extract(epoch from '2026-07-06 04:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340202 -2.79726)'), GeomFromEWKT('SRID=4674;POINT (-40.340246 -2.797263)'))) / (select extract(epoch from '2026-07-06 04:07:29'::timestamp) - extract(epoch from '2026-07-06 04:07: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'), 47636, 'SRID=4674;POINT (-40.340389 -2.797271)', '2026-07-06 04:07:59', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340246 -2.797263)'), GeomFromEWKT('SRID=4674;POINT (-40.340389 -2.797271)'))) / (select extract(epoch from '2026-07-06 04:07:59'::timestamp) - extract(epoch from '2026-07-06 04:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340246 -2.797263)'), GeomFromEWKT('SRID=4674;POINT (-40.340389 -2.797271)'))) / (select extract(epoch from '2026-07-06 04:07:59'::timestamp) - extract(epoch from '2026-07-06 04:07:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.340481 -2.797286)', '2026-07-06 04:08:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340389 -2.797271)'), GeomFromEWKT('SRID=4674;POINT (-40.340481 -2.797286)'))) / (select extract(epoch from '2026-07-06 04:08:17'::timestamp) - extract(epoch from '2026-07-06 04:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340389 -2.797271)'), GeomFromEWKT('SRID=4674;POINT (-40.340481 -2.797286)'))) / (select extract(epoch from '2026-07-06 04:08:17'::timestamp) - extract(epoch from '2026-07-06 04:07: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'), 47636, 'SRID=4674;POINT (-40.340599 -2.797293)', '2026-07-06 04:08:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340481 -2.797286)'), GeomFromEWKT('SRID=4674;POINT (-40.340599 -2.797293)'))) / (select extract(epoch from '2026-07-06 04:08:42'::timestamp) - extract(epoch from '2026-07-06 04:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340481 -2.797286)'), GeomFromEWKT('SRID=4674;POINT (-40.340599 -2.797293)'))) / (select extract(epoch from '2026-07-06 04:08:42'::timestamp) - extract(epoch from '2026-07-06 04:08:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.340656 -2.797295)', '2026-07-06 04:08:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340599 -2.797293)'), GeomFromEWKT('SRID=4674;POINT (-40.340656 -2.797295)'))) / (select extract(epoch from '2026-07-06 04:08:55'::timestamp) - extract(epoch from '2026-07-06 04:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340599 -2.797293)'), GeomFromEWKT('SRID=4674;POINT (-40.340656 -2.797295)'))) / (select extract(epoch from '2026-07-06 04:08:55'::timestamp) - extract(epoch from '2026-07-06 04:08: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'), 47636, 'SRID=4674;POINT (-40.340726 -2.797292)', '2026-07-06 04:09:09', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340656 -2.797295)'), GeomFromEWKT('SRID=4674;POINT (-40.340726 -2.797292)'))) / (select extract(epoch from '2026-07-06 04:09:09'::timestamp) - extract(epoch from '2026-07-06 04:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340656 -2.797295)'), GeomFromEWKT('SRID=4674;POINT (-40.340726 -2.797292)'))) / (select extract(epoch from '2026-07-06 04:09:09'::timestamp) - extract(epoch from '2026-07-06 04:08: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'), 47636, 'SRID=4674;POINT (-40.340811 -2.797312)', '2026-07-06 04:09:32', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340726 -2.797292)'), GeomFromEWKT('SRID=4674;POINT (-40.340811 -2.797312)'))) / (select extract(epoch from '2026-07-06 04:09:32'::timestamp) - extract(epoch from '2026-07-06 04:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340726 -2.797292)'), GeomFromEWKT('SRID=4674;POINT (-40.340811 -2.797312)'))) / (select extract(epoch from '2026-07-06 04:09:32'::timestamp) - extract(epoch from '2026-07-06 04:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.340873 -2.797344)', '2026-07-06 04:09:54', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340811 -2.797312)'), GeomFromEWKT('SRID=4674;POINT (-40.340873 -2.797344)'))) / (select extract(epoch from '2026-07-06 04:09:54'::timestamp) - extract(epoch from '2026-07-06 04:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340811 -2.797312)'), GeomFromEWKT('SRID=4674;POINT (-40.340873 -2.797344)'))) / (select extract(epoch from '2026-07-06 04:09:54'::timestamp) - extract(epoch from '2026-07-06 04:09:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.340947 -2.797351)', '2026-07-06 04:10:13', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340873 -2.797344)'), GeomFromEWKT('SRID=4674;POINT (-40.340947 -2.797351)'))) / (select extract(epoch from '2026-07-06 04:10:13'::timestamp) - extract(epoch from '2026-07-06 04:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340873 -2.797344)'), GeomFromEWKT('SRID=4674;POINT (-40.340947 -2.797351)'))) / (select extract(epoch from '2026-07-06 04:10:13'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.341026 -2.797349)', '2026-07-06 04:10:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340947 -2.797351)'), GeomFromEWKT('SRID=4674;POINT (-40.341026 -2.797349)'))) / (select extract(epoch from '2026-07-06 04:10:32'::timestamp) - extract(epoch from '2026-07-06 04:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340947 -2.797351)'), GeomFromEWKT('SRID=4674;POINT (-40.341026 -2.797349)'))) / (select extract(epoch from '2026-07-06 04:10:32'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.341124 -2.797361)', '2026-07-06 04:10:58', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341026 -2.797349)'), GeomFromEWKT('SRID=4674;POINT (-40.341124 -2.797361)'))) / (select extract(epoch from '2026-07-06 04:10:58'::timestamp) - extract(epoch from '2026-07-06 04:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341026 -2.797349)'), GeomFromEWKT('SRID=4674;POINT (-40.341124 -2.797361)'))) / (select extract(epoch from '2026-07-06 04:10:58'::timestamp) - extract(epoch from '2026-07-06 04:10:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.341219 -2.797368)', '2026-07-06 04:11:20', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341124 -2.797361)'), GeomFromEWKT('SRID=4674;POINT (-40.341219 -2.797368)'))) / (select extract(epoch from '2026-07-06 04:11:20'::timestamp) - extract(epoch from '2026-07-06 04:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341124 -2.797361)'), GeomFromEWKT('SRID=4674;POINT (-40.341219 -2.797368)'))) / (select extract(epoch from '2026-07-06 04:11:20'::timestamp) - extract(epoch from '2026-07-06 04:10: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'), 47636, 'SRID=4674;POINT (-40.341327 -2.797378)', '2026-07-06 04:11:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341219 -2.797368)'), GeomFromEWKT('SRID=4674;POINT (-40.341327 -2.797378)'))) / (select extract(epoch from '2026-07-06 04:11:42'::timestamp) - extract(epoch from '2026-07-06 04:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341219 -2.797368)'), GeomFromEWKT('SRID=4674;POINT (-40.341327 -2.797378)'))) / (select extract(epoch from '2026-07-06 04:11:42'::timestamp) - extract(epoch from '2026-07-06 04:11: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'), 47636, 'SRID=4674;POINT (-40.341382 -2.797386)', '2026-07-06 04:11:55', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341327 -2.797378)'), GeomFromEWKT('SRID=4674;POINT (-40.341382 -2.797386)'))) / (select extract(epoch from '2026-07-06 04:11:55'::timestamp) - extract(epoch from '2026-07-06 04:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341327 -2.797378)'), GeomFromEWKT('SRID=4674;POINT (-40.341382 -2.797386)'))) / (select extract(epoch from '2026-07-06 04:11:55'::timestamp) - extract(epoch from '2026-07-06 04:11: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'), 47636, 'SRID=4674;POINT (-40.341496 -2.797389)', '2026-07-06 04:12:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341382 -2.797386)'), GeomFromEWKT('SRID=4674;POINT (-40.341496 -2.797389)'))) / (select extract(epoch from '2026-07-06 04:12:19'::timestamp) - extract(epoch from '2026-07-06 04:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341382 -2.797386)'), GeomFromEWKT('SRID=4674;POINT (-40.341496 -2.797389)'))) / (select extract(epoch from '2026-07-06 04:12:19'::timestamp) - extract(epoch from '2026-07-06 04:11: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'), 47636, 'SRID=4674;POINT (-40.341548 -2.797386)', '2026-07-06 04:12:39', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341496 -2.797389)'), GeomFromEWKT('SRID=4674;POINT (-40.341548 -2.797386)'))) / (select extract(epoch from '2026-07-06 04:12:39'::timestamp) - extract(epoch from '2026-07-06 04:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341496 -2.797389)'), GeomFromEWKT('SRID=4674;POINT (-40.341548 -2.797386)'))) / (select extract(epoch from '2026-07-06 04:12:39'::timestamp) - extract(epoch from '2026-07-06 04:12:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.341643 -2.797381)', '2026-07-06 04:13:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341548 -2.797386)'), GeomFromEWKT('SRID=4674;POINT (-40.341643 -2.797381)'))) / (select extract(epoch from '2026-07-06 04:13:02'::timestamp) - extract(epoch from '2026-07-06 04:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341548 -2.797386)'), GeomFromEWKT('SRID=4674;POINT (-40.341643 -2.797381)'))) / (select extract(epoch from '2026-07-06 04:13:02'::timestamp) - extract(epoch from '2026-07-06 04:12: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'), 47636, 'SRID=4674;POINT (-40.341761 -2.797396)', '2026-07-06 04:13:30', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341643 -2.797381)'), GeomFromEWKT('SRID=4674;POINT (-40.341761 -2.797396)'))) / (select extract(epoch from '2026-07-06 04:13:30'::timestamp) - extract(epoch from '2026-07-06 04:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341643 -2.797381)'), GeomFromEWKT('SRID=4674;POINT (-40.341761 -2.797396)'))) / (select extract(epoch from '2026-07-06 04:13:30'::timestamp) - extract(epoch from '2026-07-06 04:13: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'), 47636, 'SRID=4674;POINT (-40.341857 -2.797419)', '2026-07-06 04:13:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341761 -2.797396)'), GeomFromEWKT('SRID=4674;POINT (-40.341857 -2.797419)'))) / (select extract(epoch from '2026-07-06 04:13:53'::timestamp) - extract(epoch from '2026-07-06 04:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341761 -2.797396)'), GeomFromEWKT('SRID=4674;POINT (-40.341857 -2.797419)'))) / (select extract(epoch from '2026-07-06 04:13:53'::timestamp) - extract(epoch from '2026-07-06 04:13: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'), 47636, 'SRID=4674;POINT (-40.341949 -2.797441)', '2026-07-06 04:14:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341857 -2.797419)'), GeomFromEWKT('SRID=4674;POINT (-40.341949 -2.797441)'))) / (select extract(epoch from '2026-07-06 04:14:14'::timestamp) - extract(epoch from '2026-07-06 04:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341857 -2.797419)'), GeomFromEWKT('SRID=4674;POINT (-40.341949 -2.797441)'))) / (select extract(epoch from '2026-07-06 04:14:14'::timestamp) - extract(epoch from '2026-07-06 04:13:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.342026 -2.797462)', '2026-07-06 04:14:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341949 -2.797441)'), GeomFromEWKT('SRID=4674;POINT (-40.342026 -2.797462)'))) / (select extract(epoch from '2026-07-06 04:14:35'::timestamp) - extract(epoch from '2026-07-06 04:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341949 -2.797441)'), GeomFromEWKT('SRID=4674;POINT (-40.342026 -2.797462)'))) / (select extract(epoch from '2026-07-06 04:14:35'::timestamp) - extract(epoch from '2026-07-06 04:14: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'), 47636, 'SRID=4674;POINT (-40.342113 -2.797478)', '2026-07-06 04:14:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342026 -2.797462)'), GeomFromEWKT('SRID=4674;POINT (-40.342113 -2.797478)'))) / (select extract(epoch from '2026-07-06 04:14:57'::timestamp) - extract(epoch from '2026-07-06 04:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342026 -2.797462)'), GeomFromEWKT('SRID=4674;POINT (-40.342113 -2.797478)'))) / (select extract(epoch from '2026-07-06 04:14:57'::timestamp) - extract(epoch from '2026-07-06 04:14:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.342199 -2.797501)', '2026-07-06 04:15:18', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342113 -2.797478)'), GeomFromEWKT('SRID=4674;POINT (-40.342199 -2.797501)'))) / (select extract(epoch from '2026-07-06 04:15:18'::timestamp) - extract(epoch from '2026-07-06 04:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342113 -2.797478)'), GeomFromEWKT('SRID=4674;POINT (-40.342199 -2.797501)'))) / (select extract(epoch from '2026-07-06 04:15:18'::timestamp) - extract(epoch from '2026-07-06 04:14: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'), 47636, 'SRID=4674;POINT (-40.34233 -2.797517)', '2026-07-06 04:15:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342199 -2.797501)'), GeomFromEWKT('SRID=4674;POINT (-40.34233 -2.797517)'))) / (select extract(epoch from '2026-07-06 04:15:51'::timestamp) - extract(epoch from '2026-07-06 04:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342199 -2.797501)'), GeomFromEWKT('SRID=4674;POINT (-40.34233 -2.797517)'))) / (select extract(epoch from '2026-07-06 04:15:51'::timestamp) - extract(epoch from '2026-07-06 04:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.342445 -2.797525)', '2026-07-06 04:16:15', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34233 -2.797517)'), GeomFromEWKT('SRID=4674;POINT (-40.342445 -2.797525)'))) / (select extract(epoch from '2026-07-06 04:16:15'::timestamp) - extract(epoch from '2026-07-06 04:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34233 -2.797517)'), GeomFromEWKT('SRID=4674;POINT (-40.342445 -2.797525)'))) / (select extract(epoch from '2026-07-06 04:16:15'::timestamp) - extract(epoch from '2026-07-06 04:15: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'), 47636, 'SRID=4674;POINT (-40.342543 -2.797535)', '2026-07-06 04:16:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342445 -2.797525)'), GeomFromEWKT('SRID=4674;POINT (-40.342543 -2.797535)'))) / (select extract(epoch from '2026-07-06 04:16:35'::timestamp) - extract(epoch from '2026-07-06 04:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342445 -2.797525)'), GeomFromEWKT('SRID=4674;POINT (-40.342543 -2.797535)'))) / (select extract(epoch from '2026-07-06 04:16:35'::timestamp) - extract(epoch from '2026-07-06 04:16:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.342664 -2.797563)', '2026-07-06 04:17:03', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342543 -2.797535)'), GeomFromEWKT('SRID=4674;POINT (-40.342664 -2.797563)'))) / (select extract(epoch from '2026-07-06 04:17:03'::timestamp) - extract(epoch from '2026-07-06 04:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342543 -2.797535)'), GeomFromEWKT('SRID=4674;POINT (-40.342664 -2.797563)'))) / (select extract(epoch from '2026-07-06 04:17:03'::timestamp) - extract(epoch from '2026-07-06 04:16:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.342739 -2.797571)', '2026-07-06 04:17:22', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342664 -2.797563)'), GeomFromEWKT('SRID=4674;POINT (-40.342739 -2.797571)'))) / (select extract(epoch from '2026-07-06 04:17:22'::timestamp) - extract(epoch from '2026-07-06 04:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342664 -2.797563)'), GeomFromEWKT('SRID=4674;POINT (-40.342739 -2.797571)'))) / (select extract(epoch from '2026-07-06 04:17:22'::timestamp) - extract(epoch from '2026-07-06 04:17:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.342824 -2.797584)', '2026-07-06 04:17:41', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342739 -2.797571)'), GeomFromEWKT('SRID=4674;POINT (-40.342824 -2.797584)'))) / (select extract(epoch from '2026-07-06 04:17:41'::timestamp) - extract(epoch from '2026-07-06 04:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342739 -2.797571)'), GeomFromEWKT('SRID=4674;POINT (-40.342824 -2.797584)'))) / (select extract(epoch from '2026-07-06 04:17:41'::timestamp) - extract(epoch from '2026-07-06 04:17: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'), 47636, 'SRID=4674;POINT (-40.343011 -2.797619)', '2026-07-06 04:18:18', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342824 -2.797584)'), GeomFromEWKT('SRID=4674;POINT (-40.343011 -2.797619)'))) / (select extract(epoch from '2026-07-06 04:18:18'::timestamp) - extract(epoch from '2026-07-06 04:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342824 -2.797584)'), GeomFromEWKT('SRID=4674;POINT (-40.343011 -2.797619)'))) / (select extract(epoch from '2026-07-06 04:18:18'::timestamp) - extract(epoch from '2026-07-06 04:17: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'), 47636, 'SRID=4674;POINT (-40.34316 -2.797653)', '2026-07-06 04:18:49', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343011 -2.797619)'), GeomFromEWKT('SRID=4674;POINT (-40.34316 -2.797653)'))) / (select extract(epoch from '2026-07-06 04:18:49'::timestamp) - extract(epoch from '2026-07-06 04:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343011 -2.797619)'), GeomFromEWKT('SRID=4674;POINT (-40.34316 -2.797653)'))) / (select extract(epoch from '2026-07-06 04:18:49'::timestamp) - extract(epoch from '2026-07-06 04:18: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'), 47636, 'SRID=4674;POINT (-40.343313 -2.797681)', '2026-07-06 04:19:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34316 -2.797653)'), GeomFromEWKT('SRID=4674;POINT (-40.343313 -2.797681)'))) / (select extract(epoch from '2026-07-06 04:19:19'::timestamp) - extract(epoch from '2026-07-06 04:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34316 -2.797653)'), GeomFromEWKT('SRID=4674;POINT (-40.343313 -2.797681)'))) / (select extract(epoch from '2026-07-06 04:19:19'::timestamp) - extract(epoch from '2026-07-06 04:18:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.34338 -2.797696)', '2026-07-06 04:19:32', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343313 -2.797681)'), GeomFromEWKT('SRID=4674;POINT (-40.34338 -2.797696)'))) / (select extract(epoch from '2026-07-06 04:19:32'::timestamp) - extract(epoch from '2026-07-06 04:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343313 -2.797681)'), GeomFromEWKT('SRID=4674;POINT (-40.34338 -2.797696)'))) / (select extract(epoch from '2026-07-06 04:19:32'::timestamp) - extract(epoch from '2026-07-06 04:19: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'), 47636, 'SRID=4674;POINT (-40.343453 -2.797709)', '2026-07-06 04:19:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34338 -2.797696)'), GeomFromEWKT('SRID=4674;POINT (-40.343453 -2.797709)'))) / (select extract(epoch from '2026-07-06 04:19:46'::timestamp) - extract(epoch from '2026-07-06 04:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34338 -2.797696)'), GeomFromEWKT('SRID=4674;POINT (-40.343453 -2.797709)'))) / (select extract(epoch from '2026-07-06 04:19:46'::timestamp) - extract(epoch from '2026-07-06 04:19:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.343513 -2.797734)', '2026-07-06 04:20:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343453 -2.797709)'), GeomFromEWKT('SRID=4674;POINT (-40.343513 -2.797734)'))) / (select extract(epoch from '2026-07-06 04:20:01'::timestamp) - extract(epoch from '2026-07-06 04:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343453 -2.797709)'), GeomFromEWKT('SRID=4674;POINT (-40.343513 -2.797734)'))) / (select extract(epoch from '2026-07-06 04:20:01'::timestamp) - extract(epoch from '2026-07-06 04:19: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'), 47636, 'SRID=4674;POINT (-40.343577 -2.797748)', '2026-07-06 04:20:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343513 -2.797734)'), GeomFromEWKT('SRID=4674;POINT (-40.343577 -2.797748)'))) / (select extract(epoch from '2026-07-06 04:20:15'::timestamp) - extract(epoch from '2026-07-06 04:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343513 -2.797734)'), GeomFromEWKT('SRID=4674;POINT (-40.343577 -2.797748)'))) / (select extract(epoch from '2026-07-06 04:20:15'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.343667 -2.797758)', '2026-07-06 04:20:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343577 -2.797748)'), GeomFromEWKT('SRID=4674;POINT (-40.343667 -2.797758)'))) / (select extract(epoch from '2026-07-06 04:20:31'::timestamp) - extract(epoch from '2026-07-06 04:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343577 -2.797748)'), GeomFromEWKT('SRID=4674;POINT (-40.343667 -2.797758)'))) / (select extract(epoch from '2026-07-06 04:20:31'::timestamp) - extract(epoch from '2026-07-06 04:20: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'), 47636, 'SRID=4674;POINT (-40.343758 -2.797772)', '2026-07-06 04:20:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343667 -2.797758)'), GeomFromEWKT('SRID=4674;POINT (-40.343758 -2.797772)'))) / (select extract(epoch from '2026-07-06 04:20:49'::timestamp) - extract(epoch from '2026-07-06 04:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343667 -2.797758)'), GeomFromEWKT('SRID=4674;POINT (-40.343758 -2.797772)'))) / (select extract(epoch from '2026-07-06 04:20:49'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.343913 -2.797797)', '2026-07-06 04:21:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343758 -2.797772)'), GeomFromEWKT('SRID=4674;POINT (-40.343913 -2.797797)'))) / (select extract(epoch from '2026-07-06 04:21:24'::timestamp) - extract(epoch from '2026-07-06 04:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343758 -2.797772)'), GeomFromEWKT('SRID=4674;POINT (-40.343913 -2.797797)'))) / (select extract(epoch from '2026-07-06 04:21:24'::timestamp) - extract(epoch from '2026-07-06 04:20: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'), 47636, 'SRID=4674;POINT (-40.344116 -2.797825)', '2026-07-06 04:22:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343913 -2.797797)'), GeomFromEWKT('SRID=4674;POINT (-40.344116 -2.797825)'))) / (select extract(epoch from '2026-07-06 04:22:04'::timestamp) - extract(epoch from '2026-07-06 04:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343913 -2.797797)'), GeomFromEWKT('SRID=4674;POINT (-40.344116 -2.797825)'))) / (select extract(epoch from '2026-07-06 04:22:04'::timestamp) - extract(epoch from '2026-07-06 04:21: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'), 47636, 'SRID=4674;POINT (-40.344244 -2.797836)', '2026-07-06 04:22:29', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344116 -2.797825)'), GeomFromEWKT('SRID=4674;POINT (-40.344244 -2.797836)'))) / (select extract(epoch from '2026-07-06 04:22:29'::timestamp) - extract(epoch from '2026-07-06 04:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344116 -2.797825)'), GeomFromEWKT('SRID=4674;POINT (-40.344244 -2.797836)'))) / (select extract(epoch from '2026-07-06 04:22:29'::timestamp) - extract(epoch from '2026-07-06 04:22: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'), 47636, 'SRID=4674;POINT (-40.344323 -2.797841)', '2026-07-06 04:22:43', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344244 -2.797836)'), GeomFromEWKT('SRID=4674;POINT (-40.344323 -2.797841)'))) / (select extract(epoch from '2026-07-06 04:22:43'::timestamp) - extract(epoch from '2026-07-06 04:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344244 -2.797836)'), GeomFromEWKT('SRID=4674;POINT (-40.344323 -2.797841)'))) / (select extract(epoch from '2026-07-06 04:22:43'::timestamp) - extract(epoch from '2026-07-06 04:22: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'), 47636, 'SRID=4674;POINT (-40.344389 -2.797862)', '2026-07-06 04:22:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344323 -2.797841)'), GeomFromEWKT('SRID=4674;POINT (-40.344389 -2.797862)'))) / (select extract(epoch from '2026-07-06 04:22:57'::timestamp) - extract(epoch from '2026-07-06 04:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344323 -2.797841)'), GeomFromEWKT('SRID=4674;POINT (-40.344389 -2.797862)'))) / (select extract(epoch from '2026-07-06 04:22:57'::timestamp) - extract(epoch from '2026-07-06 04:22: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'), 47636, 'SRID=4674;POINT (-40.344471 -2.797877)', '2026-07-06 04:23:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344389 -2.797862)'), GeomFromEWKT('SRID=4674;POINT (-40.344471 -2.797877)'))) / (select extract(epoch from '2026-07-06 04:23:15'::timestamp) - extract(epoch from '2026-07-06 04:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344389 -2.797862)'), GeomFromEWKT('SRID=4674;POINT (-40.344471 -2.797877)'))) / (select extract(epoch from '2026-07-06 04:23:15'::timestamp) - extract(epoch from '2026-07-06 04:22: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'), 47636, 'SRID=4674;POINT (-40.34453 -2.797884)', '2026-07-06 04:23:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344471 -2.797877)'), GeomFromEWKT('SRID=4674;POINT (-40.34453 -2.797884)'))) / (select extract(epoch from '2026-07-06 04:23:29'::timestamp) - extract(epoch from '2026-07-06 04:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344471 -2.797877)'), GeomFromEWKT('SRID=4674;POINT (-40.34453 -2.797884)'))) / (select extract(epoch from '2026-07-06 04:23:29'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.344588 -2.797888)', '2026-07-06 04:23:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34453 -2.797884)'), GeomFromEWKT('SRID=4674;POINT (-40.344588 -2.797888)'))) / (select extract(epoch from '2026-07-06 04:23:40'::timestamp) - extract(epoch from '2026-07-06 04:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34453 -2.797884)'), GeomFromEWKT('SRID=4674;POINT (-40.344588 -2.797888)'))) / (select extract(epoch from '2026-07-06 04:23:40'::timestamp) - extract(epoch from '2026-07-06 04:23: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'), 47636, 'SRID=4674;POINT (-40.344672 -2.797894)', '2026-07-06 04:23:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344588 -2.797888)'), GeomFromEWKT('SRID=4674;POINT (-40.344672 -2.797894)'))) / (select extract(epoch from '2026-07-06 04:23:56'::timestamp) - extract(epoch from '2026-07-06 04:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344588 -2.797888)'), GeomFromEWKT('SRID=4674;POINT (-40.344672 -2.797894)'))) / (select extract(epoch from '2026-07-06 04:23:56'::timestamp) - extract(epoch from '2026-07-06 04:23: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'), 47636, 'SRID=4674;POINT (-40.344786 -2.797901)', '2026-07-06 04:24:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344672 -2.797894)'), GeomFromEWKT('SRID=4674;POINT (-40.344786 -2.797901)'))) / (select extract(epoch from '2026-07-06 04:24:22'::timestamp) - extract(epoch from '2026-07-06 04:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344672 -2.797894)'), GeomFromEWKT('SRID=4674;POINT (-40.344786 -2.797901)'))) / (select extract(epoch from '2026-07-06 04:24:22'::timestamp) - extract(epoch from '2026-07-06 04:23: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'), 47636, 'SRID=4674;POINT (-40.344897 -2.797919)', '2026-07-06 04:24:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344786 -2.797901)'), GeomFromEWKT('SRID=4674;POINT (-40.344897 -2.797919)'))) / (select extract(epoch from '2026-07-06 04:24:47'::timestamp) - extract(epoch from '2026-07-06 04:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344786 -2.797901)'), GeomFromEWKT('SRID=4674;POINT (-40.344897 -2.797919)'))) / (select extract(epoch from '2026-07-06 04:24:47'::timestamp) - extract(epoch from '2026-07-06 04:24:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.34504 -2.797943)', '2026-07-06 04:25:18', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344897 -2.797919)'), GeomFromEWKT('SRID=4674;POINT (-40.34504 -2.797943)'))) / (select extract(epoch from '2026-07-06 04:25:18'::timestamp) - extract(epoch from '2026-07-06 04:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344897 -2.797919)'), GeomFromEWKT('SRID=4674;POINT (-40.34504 -2.797943)'))) / (select extract(epoch from '2026-07-06 04:25:18'::timestamp) - extract(epoch from '2026-07-06 04:24: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'), 47636, 'SRID=4674;POINT (-40.345127 -2.797971)', '2026-07-06 04:25:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34504 -2.797943)'), GeomFromEWKT('SRID=4674;POINT (-40.345127 -2.797971)'))) / (select extract(epoch from '2026-07-06 04:25:39'::timestamp) - extract(epoch from '2026-07-06 04:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34504 -2.797943)'), GeomFromEWKT('SRID=4674;POINT (-40.345127 -2.797971)'))) / (select extract(epoch from '2026-07-06 04:25:39'::timestamp) - extract(epoch from '2026-07-06 04:25: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'), 47636, 'SRID=4674;POINT (-40.345257 -2.797986)', '2026-07-06 04:26:09', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345127 -2.797971)'), GeomFromEWKT('SRID=4674;POINT (-40.345257 -2.797986)'))) / (select extract(epoch from '2026-07-06 04:26:09'::timestamp) - extract(epoch from '2026-07-06 04:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345127 -2.797971)'), GeomFromEWKT('SRID=4674;POINT (-40.345257 -2.797986)'))) / (select extract(epoch from '2026-07-06 04:26:09'::timestamp) - extract(epoch from '2026-07-06 04:25: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'), 47636, 'SRID=4674;POINT (-40.345338 -2.797999)', '2026-07-06 04:26:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345257 -2.797986)'), GeomFromEWKT('SRID=4674;POINT (-40.345338 -2.797999)'))) / (select extract(epoch from '2026-07-06 04:26:30'::timestamp) - extract(epoch from '2026-07-06 04:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345257 -2.797986)'), GeomFromEWKT('SRID=4674;POINT (-40.345338 -2.797999)'))) / (select extract(epoch from '2026-07-06 04:26:30'::timestamp) - extract(epoch from '2026-07-06 04:26: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'), 47636, 'SRID=4674;POINT (-40.345449 -2.798007)', '2026-07-06 04:26:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345338 -2.797999)'), GeomFromEWKT('SRID=4674;POINT (-40.345449 -2.798007)'))) / (select extract(epoch from '2026-07-06 04:26:54'::timestamp) - extract(epoch from '2026-07-06 04:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345338 -2.797999)'), GeomFromEWKT('SRID=4674;POINT (-40.345449 -2.798007)'))) / (select extract(epoch from '2026-07-06 04:26:54'::timestamp) - extract(epoch from '2026-07-06 04:26: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'), 47636, 'SRID=4674;POINT (-40.345524 -2.798018)', '2026-07-06 04:27:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345449 -2.798007)'), GeomFromEWKT('SRID=4674;POINT (-40.345524 -2.798018)'))) / (select extract(epoch from '2026-07-06 04:27:09'::timestamp) - extract(epoch from '2026-07-06 04:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345449 -2.798007)'), GeomFromEWKT('SRID=4674;POINT (-40.345524 -2.798018)'))) / (select extract(epoch from '2026-07-06 04:27:09'::timestamp) - extract(epoch from '2026-07-06 04:26:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.345597 -2.798028)', '2026-07-06 04:27:23', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345524 -2.798018)'), GeomFromEWKT('SRID=4674;POINT (-40.345597 -2.798028)'))) / (select extract(epoch from '2026-07-06 04:27:23'::timestamp) - extract(epoch from '2026-07-06 04:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345524 -2.798018)'), GeomFromEWKT('SRID=4674;POINT (-40.345597 -2.798028)'))) / (select extract(epoch from '2026-07-06 04:27:23'::timestamp) - extract(epoch from '2026-07-06 04:27: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'), 47636, 'SRID=4674;POINT (-40.345685 -2.798034)', '2026-07-06 04:27:42', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345597 -2.798028)'), GeomFromEWKT('SRID=4674;POINT (-40.345685 -2.798034)'))) / (select extract(epoch from '2026-07-06 04:27:42'::timestamp) - extract(epoch from '2026-07-06 04:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345597 -2.798028)'), GeomFromEWKT('SRID=4674;POINT (-40.345685 -2.798034)'))) / (select extract(epoch from '2026-07-06 04:27:42'::timestamp) - extract(epoch from '2026-07-06 04:27: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'), 47636, 'SRID=4674;POINT (-40.345792 -2.798052)', '2026-07-06 04:28:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345685 -2.798034)'), GeomFromEWKT('SRID=4674;POINT (-40.345792 -2.798052)'))) / (select extract(epoch from '2026-07-06 04:28:05'::timestamp) - extract(epoch from '2026-07-06 04:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345685 -2.798034)'), GeomFromEWKT('SRID=4674;POINT (-40.345792 -2.798052)'))) / (select extract(epoch from '2026-07-06 04:28:05'::timestamp) - extract(epoch from '2026-07-06 04:27: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'), 47636, 'SRID=4674;POINT (-40.345864 -2.798062)', '2026-07-06 04:28:19', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345792 -2.798052)'), GeomFromEWKT('SRID=4674;POINT (-40.345864 -2.798062)'))) / (select extract(epoch from '2026-07-06 04:28:19'::timestamp) - extract(epoch from '2026-07-06 04:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345792 -2.798052)'), GeomFromEWKT('SRID=4674;POINT (-40.345864 -2.798062)'))) / (select extract(epoch from '2026-07-06 04:28:19'::timestamp) - extract(epoch from '2026-07-06 04:28: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'), 47636, 'SRID=4674;POINT (-40.345935 -2.798073)', '2026-07-06 04:28:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345864 -2.798062)'), GeomFromEWKT('SRID=4674;POINT (-40.345935 -2.798073)'))) / (select extract(epoch from '2026-07-06 04:28:33'::timestamp) - extract(epoch from '2026-07-06 04:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345864 -2.798062)'), GeomFromEWKT('SRID=4674;POINT (-40.345935 -2.798073)'))) / (select extract(epoch from '2026-07-06 04:28:33'::timestamp) - extract(epoch from '2026-07-06 04:28: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'), 47636, 'SRID=4674;POINT (-40.346054 -2.798089)', '2026-07-06 04:29:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345935 -2.798073)'), GeomFromEWKT('SRID=4674;POINT (-40.346054 -2.798089)'))) / (select extract(epoch from '2026-07-06 04:29:02'::timestamp) - extract(epoch from '2026-07-06 04:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345935 -2.798073)'), GeomFromEWKT('SRID=4674;POINT (-40.346054 -2.798089)'))) / (select extract(epoch from '2026-07-06 04:29:02'::timestamp) - extract(epoch from '2026-07-06 04:28: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'), 47636, 'SRID=4674;POINT (-40.346116 -2.798086)', '2026-07-06 04:29:22', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346054 -2.798089)'), GeomFromEWKT('SRID=4674;POINT (-40.346116 -2.798086)'))) / (select extract(epoch from '2026-07-06 04:29:22'::timestamp) - extract(epoch from '2026-07-06 04:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346054 -2.798089)'), GeomFromEWKT('SRID=4674;POINT (-40.346116 -2.798086)'))) / (select extract(epoch from '2026-07-06 04:29:22'::timestamp) - extract(epoch from '2026-07-06 04:29: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'), 47636, 'SRID=4674;POINT (-40.346203 -2.798099)', '2026-07-06 04:29:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346116 -2.798086)'), GeomFromEWKT('SRID=4674;POINT (-40.346203 -2.798099)'))) / (select extract(epoch from '2026-07-06 04:29:41'::timestamp) - extract(epoch from '2026-07-06 04:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346116 -2.798086)'), GeomFromEWKT('SRID=4674;POINT (-40.346203 -2.798099)'))) / (select extract(epoch from '2026-07-06 04:29:41'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.346251 -2.798106)', '2026-07-06 04:29:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346203 -2.798099)'), GeomFromEWKT('SRID=4674;POINT (-40.346251 -2.798106)'))) / (select extract(epoch from '2026-07-06 04:29:55'::timestamp) - extract(epoch from '2026-07-06 04:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346203 -2.798099)'), GeomFromEWKT('SRID=4674;POINT (-40.346251 -2.798106)'))) / (select extract(epoch from '2026-07-06 04:29:55'::timestamp) - extract(epoch from '2026-07-06 04:29: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'), 47636, 'SRID=4674;POINT (-40.346305 -2.79812)', '2026-07-06 04:30:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346251 -2.798106)'), GeomFromEWKT('SRID=4674;POINT (-40.346305 -2.79812)'))) / (select extract(epoch from '2026-07-06 04:30:07'::timestamp) - extract(epoch from '2026-07-06 04:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346251 -2.798106)'), GeomFromEWKT('SRID=4674;POINT (-40.346305 -2.79812)'))) / (select extract(epoch from '2026-07-06 04:30:07'::timestamp) - extract(epoch from '2026-07-06 04:29: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'), 47636, 'SRID=4674;POINT (-40.346401 -2.798135)', '2026-07-06 04:30:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346305 -2.79812)'), GeomFromEWKT('SRID=4674;POINT (-40.346401 -2.798135)'))) / (select extract(epoch from '2026-07-06 04:30:28'::timestamp) - extract(epoch from '2026-07-06 04:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346305 -2.79812)'), GeomFromEWKT('SRID=4674;POINT (-40.346401 -2.798135)'))) / (select extract(epoch from '2026-07-06 04:30:28'::timestamp) - extract(epoch from '2026-07-06 04:30: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'), 47636, 'SRID=4674;POINT (-40.346461 -2.798147)', '2026-07-06 04:30:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346401 -2.798135)'), GeomFromEWKT('SRID=4674;POINT (-40.346461 -2.798147)'))) / (select extract(epoch from '2026-07-06 04:30:42'::timestamp) - extract(epoch from '2026-07-06 04:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346401 -2.798135)'), GeomFromEWKT('SRID=4674;POINT (-40.346461 -2.798147)'))) / (select extract(epoch from '2026-07-06 04:30:42'::timestamp) - extract(epoch from '2026-07-06 04:30: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'), 47636, 'SRID=4674;POINT (-40.346516 -2.798159)', '2026-07-06 04:30:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346461 -2.798147)'), GeomFromEWKT('SRID=4674;POINT (-40.346516 -2.798159)'))) / (select extract(epoch from '2026-07-06 04:30:55'::timestamp) - extract(epoch from '2026-07-06 04:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346461 -2.798147)'), GeomFromEWKT('SRID=4674;POINT (-40.346516 -2.798159)'))) / (select extract(epoch from '2026-07-06 04:30:55'::timestamp) - extract(epoch from '2026-07-06 04:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.346584 -2.798166)', '2026-07-06 04:31:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346516 -2.798159)'), GeomFromEWKT('SRID=4674;POINT (-40.346584 -2.798166)'))) / (select extract(epoch from '2026-07-06 04:31:11'::timestamp) - extract(epoch from '2026-07-06 04:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346516 -2.798159)'), GeomFromEWKT('SRID=4674;POINT (-40.346584 -2.798166)'))) / (select extract(epoch from '2026-07-06 04:31:11'::timestamp) - extract(epoch from '2026-07-06 04:30: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'), 47636, 'SRID=4674;POINT (-40.346676 -2.79818)', '2026-07-06 04:31:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346584 -2.798166)'), GeomFromEWKT('SRID=4674;POINT (-40.346676 -2.79818)'))) / (select extract(epoch from '2026-07-06 04:31:36'::timestamp) - extract(epoch from '2026-07-06 04:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346584 -2.798166)'), GeomFromEWKT('SRID=4674;POINT (-40.346676 -2.79818)'))) / (select extract(epoch from '2026-07-06 04:31:36'::timestamp) - extract(epoch from '2026-07-06 04:31: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'), 47636, 'SRID=4674;POINT (-40.346727 -2.798187)', '2026-07-06 04:31:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346676 -2.79818)'), GeomFromEWKT('SRID=4674;POINT (-40.346727 -2.798187)'))) / (select extract(epoch from '2026-07-06 04:31:51'::timestamp) - extract(epoch from '2026-07-06 04:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346676 -2.79818)'), GeomFromEWKT('SRID=4674;POINT (-40.346727 -2.798187)'))) / (select extract(epoch from '2026-07-06 04:31:51'::timestamp) - extract(epoch from '2026-07-06 04:31: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'), 47636, 'SRID=4674;POINT (-40.346801 -2.798203)', '2026-07-06 04:32:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346727 -2.798187)'), GeomFromEWKT('SRID=4674;POINT (-40.346801 -2.798203)'))) / (select extract(epoch from '2026-07-06 04:32:13'::timestamp) - extract(epoch from '2026-07-06 04:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346727 -2.798187)'), GeomFromEWKT('SRID=4674;POINT (-40.346801 -2.798203)'))) / (select extract(epoch from '2026-07-06 04:32:13'::timestamp) - extract(epoch from '2026-07-06 04:31: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'), 47636, 'SRID=4674;POINT (-40.346865 -2.798205)', '2026-07-06 04:32:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346801 -2.798203)'), GeomFromEWKT('SRID=4674;POINT (-40.346865 -2.798205)'))) / (select extract(epoch from '2026-07-06 04:32:34'::timestamp) - extract(epoch from '2026-07-06 04:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346801 -2.798203)'), GeomFromEWKT('SRID=4674;POINT (-40.346865 -2.798205)'))) / (select extract(epoch from '2026-07-06 04:32:34'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.346919 -2.798203)', '2026-07-06 04:32:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346865 -2.798205)'), GeomFromEWKT('SRID=4674;POINT (-40.346919 -2.798203)'))) / (select extract(epoch from '2026-07-06 04:32:48'::timestamp) - extract(epoch from '2026-07-06 04:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346865 -2.798205)'), GeomFromEWKT('SRID=4674;POINT (-40.346919 -2.798203)'))) / (select extract(epoch from '2026-07-06 04:32:48'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.346993 -2.798201)', '2026-07-06 04:33:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346919 -2.798203)'), GeomFromEWKT('SRID=4674;POINT (-40.346993 -2.798201)'))) / (select extract(epoch from '2026-07-06 04:33:13'::timestamp) - extract(epoch from '2026-07-06 04:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346919 -2.798203)'), GeomFromEWKT('SRID=4674;POINT (-40.346993 -2.798201)'))) / (select extract(epoch from '2026-07-06 04:33:13'::timestamp) - extract(epoch from '2026-07-06 04:32: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'), 47636, 'SRID=4674;POINT (-40.347088 -2.798199)', '2026-07-06 04:33:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346993 -2.798201)'), GeomFromEWKT('SRID=4674;POINT (-40.347088 -2.798199)'))) / (select extract(epoch from '2026-07-06 04:33:38'::timestamp) - extract(epoch from '2026-07-06 04:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346993 -2.798201)'), GeomFromEWKT('SRID=4674;POINT (-40.347088 -2.798199)'))) / (select extract(epoch from '2026-07-06 04:33:38'::timestamp) - extract(epoch from '2026-07-06 04:33: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'), 47636, 'SRID=4674;POINT (-40.347171 -2.798205)', '2026-07-06 04:34:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347088 -2.798199)'), GeomFromEWKT('SRID=4674;POINT (-40.347171 -2.798205)'))) / (select extract(epoch from '2026-07-06 04:34:00'::timestamp) - extract(epoch from '2026-07-06 04:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347088 -2.798199)'), GeomFromEWKT('SRID=4674;POINT (-40.347171 -2.798205)'))) / (select extract(epoch from '2026-07-06 04:34:00'::timestamp) - extract(epoch from '2026-07-06 04:33: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'), 47636, 'SRID=4674;POINT (-40.347276 -2.798215)', '2026-07-06 04:34:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347171 -2.798205)'), GeomFromEWKT('SRID=4674;POINT (-40.347276 -2.798215)'))) / (select extract(epoch from '2026-07-06 04:34:26'::timestamp) - extract(epoch from '2026-07-06 04:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347171 -2.798205)'), GeomFromEWKT('SRID=4674;POINT (-40.347276 -2.798215)'))) / (select extract(epoch from '2026-07-06 04:34:26'::timestamp) - extract(epoch from '2026-07-06 04:34: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'), 47636, 'SRID=4674;POINT (-40.347357 -2.798226)', '2026-07-06 04:34:49', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347276 -2.798215)'), GeomFromEWKT('SRID=4674;POINT (-40.347357 -2.798226)'))) / (select extract(epoch from '2026-07-06 04:34:49'::timestamp) - extract(epoch from '2026-07-06 04:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347276 -2.798215)'), GeomFromEWKT('SRID=4674;POINT (-40.347357 -2.798226)'))) / (select extract(epoch from '2026-07-06 04:34:49'::timestamp) - extract(epoch from '2026-07-06 04:34: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'), 47636, 'SRID=4674;POINT (-40.347465 -2.798242)', '2026-07-06 04:35:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347357 -2.798226)'), GeomFromEWKT('SRID=4674;POINT (-40.347465 -2.798242)'))) / (select extract(epoch from '2026-07-06 04:35:20'::timestamp) - extract(epoch from '2026-07-06 04:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347357 -2.798226)'), GeomFromEWKT('SRID=4674;POINT (-40.347465 -2.798242)'))) / (select extract(epoch from '2026-07-06 04:35:20'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.347526 -2.798256)', '2026-07-06 04:35:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347465 -2.798242)'), GeomFromEWKT('SRID=4674;POINT (-40.347526 -2.798256)'))) / (select extract(epoch from '2026-07-06 04:35:38'::timestamp) - extract(epoch from '2026-07-06 04:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347465 -2.798242)'), GeomFromEWKT('SRID=4674;POINT (-40.347526 -2.798256)'))) / (select extract(epoch from '2026-07-06 04:35:38'::timestamp) - extract(epoch from '2026-07-06 04:35: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'), 47636, 'SRID=4674;POINT (-40.3476 -2.798257)', '2026-07-06 04:35:59', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347526 -2.798256)'), GeomFromEWKT('SRID=4674;POINT (-40.3476 -2.798257)'))) / (select extract(epoch from '2026-07-06 04:35:59'::timestamp) - extract(epoch from '2026-07-06 04:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347526 -2.798256)'), GeomFromEWKT('SRID=4674;POINT (-40.3476 -2.798257)'))) / (select extract(epoch from '2026-07-06 04:35:59'::timestamp) - extract(epoch from '2026-07-06 04:35: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'), 47636, 'SRID=4674;POINT (-40.347671 -2.79827)', '2026-07-06 04:36:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3476 -2.798257)'), GeomFromEWKT('SRID=4674;POINT (-40.347671 -2.79827)'))) / (select extract(epoch from '2026-07-06 04:36:19'::timestamp) - extract(epoch from '2026-07-06 04:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3476 -2.798257)'), GeomFromEWKT('SRID=4674;POINT (-40.347671 -2.79827)'))) / (select extract(epoch from '2026-07-06 04:36:19'::timestamp) - extract(epoch from '2026-07-06 04:35: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'), 47636, 'SRID=4674;POINT (-40.347748 -2.798284)', '2026-07-06 04:36:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347671 -2.79827)'), GeomFromEWKT('SRID=4674;POINT (-40.347748 -2.798284)'))) / (select extract(epoch from '2026-07-06 04:36:38'::timestamp) - extract(epoch from '2026-07-06 04:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347671 -2.79827)'), GeomFromEWKT('SRID=4674;POINT (-40.347748 -2.798284)'))) / (select extract(epoch from '2026-07-06 04:36:38'::timestamp) - extract(epoch from '2026-07-06 04:36:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.347822 -2.798301)', '2026-07-06 04:37:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347748 -2.798284)'), GeomFromEWKT('SRID=4674;POINT (-40.347822 -2.798301)'))) / (select extract(epoch from '2026-07-06 04:37:00'::timestamp) - extract(epoch from '2026-07-06 04:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347748 -2.798284)'), GeomFromEWKT('SRID=4674;POINT (-40.347822 -2.798301)'))) / (select extract(epoch from '2026-07-06 04:37:00'::timestamp) - extract(epoch from '2026-07-06 04:36: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'), 47636, 'SRID=4674;POINT (-40.347924 -2.798308)', '2026-07-06 04:37:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347822 -2.798301)'), GeomFromEWKT('SRID=4674;POINT (-40.347924 -2.798308)'))) / (select extract(epoch from '2026-07-06 04:37:30'::timestamp) - extract(epoch from '2026-07-06 04:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347822 -2.798301)'), GeomFromEWKT('SRID=4674;POINT (-40.347924 -2.798308)'))) / (select extract(epoch from '2026-07-06 04:37:30'::timestamp) - extract(epoch from '2026-07-06 04:37:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.348019 -2.798308)', '2026-07-06 04:37:58', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347924 -2.798308)'), GeomFromEWKT('SRID=4674;POINT (-40.348019 -2.798308)'))) / (select extract(epoch from '2026-07-06 04:37:58'::timestamp) - extract(epoch from '2026-07-06 04:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347924 -2.798308)'), GeomFromEWKT('SRID=4674;POINT (-40.348019 -2.798308)'))) / (select extract(epoch from '2026-07-06 04:37:58'::timestamp) - extract(epoch from '2026-07-06 04:37: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'), 47636, 'SRID=4674;POINT (-40.348099 -2.798313)', '2026-07-06 04:38:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348019 -2.798308)'), GeomFromEWKT('SRID=4674;POINT (-40.348099 -2.798313)'))) / (select extract(epoch from '2026-07-06 04:38:22'::timestamp) - extract(epoch from '2026-07-06 04:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348019 -2.798308)'), GeomFromEWKT('SRID=4674;POINT (-40.348099 -2.798313)'))) / (select extract(epoch from '2026-07-06 04:38:22'::timestamp) - extract(epoch from '2026-07-06 04:37: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'), 47636, 'SRID=4674;POINT (-40.348183 -2.798324)', '2026-07-06 04:38:45', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348099 -2.798313)'), GeomFromEWKT('SRID=4674;POINT (-40.348183 -2.798324)'))) / (select extract(epoch from '2026-07-06 04:38:45'::timestamp) - extract(epoch from '2026-07-06 04:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348099 -2.798313)'), GeomFromEWKT('SRID=4674;POINT (-40.348183 -2.798324)'))) / (select extract(epoch from '2026-07-06 04:38:45'::timestamp) - extract(epoch from '2026-07-06 04:38:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.348263 -2.798343)', '2026-07-06 04:39:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348183 -2.798324)'), GeomFromEWKT('SRID=4674;POINT (-40.348263 -2.798343)'))) / (select extract(epoch from '2026-07-06 04:39:04'::timestamp) - extract(epoch from '2026-07-06 04:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348183 -2.798324)'), GeomFromEWKT('SRID=4674;POINT (-40.348263 -2.798343)'))) / (select extract(epoch from '2026-07-06 04:39:04'::timestamp) - extract(epoch from '2026-07-06 04:38: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'), 47636, 'SRID=4674;POINT (-40.348389 -2.798333)', '2026-07-06 04:39:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348263 -2.798343)'), GeomFromEWKT('SRID=4674;POINT (-40.348389 -2.798333)'))) / (select extract(epoch from '2026-07-06 04:39:35'::timestamp) - extract(epoch from '2026-07-06 04:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348263 -2.798343)'), GeomFromEWKT('SRID=4674;POINT (-40.348389 -2.798333)'))) / (select extract(epoch from '2026-07-06 04:39:35'::timestamp) - extract(epoch from '2026-07-06 04:39: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'), 47636, 'SRID=4674;POINT (-40.348471 -2.798344)', '2026-07-06 04:39:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348389 -2.798333)'), GeomFromEWKT('SRID=4674;POINT (-40.348471 -2.798344)'))) / (select extract(epoch from '2026-07-06 04:39:57'::timestamp) - extract(epoch from '2026-07-06 04:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348389 -2.798333)'), GeomFromEWKT('SRID=4674;POINT (-40.348471 -2.798344)'))) / (select extract(epoch from '2026-07-06 04:39:57'::timestamp) - extract(epoch from '2026-07-06 04:39: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'), 47636, 'SRID=4674;POINT (-40.348575 -2.798356)', '2026-07-06 04:40:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348471 -2.798344)'), GeomFromEWKT('SRID=4674;POINT (-40.348575 -2.798356)'))) / (select extract(epoch from '2026-07-06 04:40:29'::timestamp) - extract(epoch from '2026-07-06 04:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348471 -2.798344)'), GeomFromEWKT('SRID=4674;POINT (-40.348575 -2.798356)'))) / (select extract(epoch from '2026-07-06 04:40:29'::timestamp) - extract(epoch from '2026-07-06 04:39: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'), 47636, 'SRID=4674;POINT (-40.348652 -2.798365)', '2026-07-06 04:40:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348575 -2.798356)'), GeomFromEWKT('SRID=4674;POINT (-40.348652 -2.798365)'))) / (select extract(epoch from '2026-07-06 04:40:52'::timestamp) - extract(epoch from '2026-07-06 04:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348575 -2.798356)'), GeomFromEWKT('SRID=4674;POINT (-40.348652 -2.798365)'))) / (select extract(epoch from '2026-07-06 04:40:52'::timestamp) - extract(epoch from '2026-07-06 04:40: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'), 47636, 'SRID=4674;POINT (-40.348715 -2.798355)', '2026-07-06 04:41:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348652 -2.798365)'), GeomFromEWKT('SRID=4674;POINT (-40.348715 -2.798355)'))) / (select extract(epoch from '2026-07-06 04:41:14'::timestamp) - extract(epoch from '2026-07-06 04:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348652 -2.798365)'), GeomFromEWKT('SRID=4674;POINT (-40.348715 -2.798355)'))) / (select extract(epoch from '2026-07-06 04:41:14'::timestamp) - extract(epoch from '2026-07-06 04:40: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'), 47636, 'SRID=4674;POINT (-40.348809 -2.798357)', '2026-07-06 04:41:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348715 -2.798355)'), GeomFromEWKT('SRID=4674;POINT (-40.348809 -2.798357)'))) / (select extract(epoch from '2026-07-06 04:41:39'::timestamp) - extract(epoch from '2026-07-06 04:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348715 -2.798355)'), GeomFromEWKT('SRID=4674;POINT (-40.348809 -2.798357)'))) / (select extract(epoch from '2026-07-06 04:41:39'::timestamp) - extract(epoch from '2026-07-06 04:41: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'), 47636, 'SRID=4674;POINT (-40.348896 -2.79837)', '2026-07-06 04:42:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348809 -2.798357)'), GeomFromEWKT('SRID=4674;POINT (-40.348896 -2.79837)'))) / (select extract(epoch from '2026-07-06 04:42:01'::timestamp) - extract(epoch from '2026-07-06 04:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348809 -2.798357)'), GeomFromEWKT('SRID=4674;POINT (-40.348896 -2.79837)'))) / (select extract(epoch from '2026-07-06 04:42:01'::timestamp) - extract(epoch from '2026-07-06 04:41:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.348979 -2.798392)', '2026-07-06 04:42:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348896 -2.79837)'), GeomFromEWKT('SRID=4674;POINT (-40.348979 -2.798392)'))) / (select extract(epoch from '2026-07-06 04:42:26'::timestamp) - extract(epoch from '2026-07-06 04:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348896 -2.79837)'), GeomFromEWKT('SRID=4674;POINT (-40.348979 -2.798392)'))) / (select extract(epoch from '2026-07-06 04:42:26'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.349045 -2.798402)', '2026-07-06 04:42:46', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348979 -2.798392)'), GeomFromEWKT('SRID=4674;POINT (-40.349045 -2.798402)'))) / (select extract(epoch from '2026-07-06 04:42:46'::timestamp) - extract(epoch from '2026-07-06 04:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348979 -2.798392)'), GeomFromEWKT('SRID=4674;POINT (-40.349045 -2.798402)'))) / (select extract(epoch from '2026-07-06 04:42:46'::timestamp) - extract(epoch from '2026-07-06 04:42: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'), 47636, 'SRID=4674;POINT (-40.349141 -2.798414)', '2026-07-06 04:43:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349045 -2.798402)'), GeomFromEWKT('SRID=4674;POINT (-40.349141 -2.798414)'))) / (select extract(epoch from '2026-07-06 04:43:18'::timestamp) - extract(epoch from '2026-07-06 04:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349045 -2.798402)'), GeomFromEWKT('SRID=4674;POINT (-40.349141 -2.798414)'))) / (select extract(epoch from '2026-07-06 04:43:18'::timestamp) - extract(epoch from '2026-07-06 04:42:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.349223 -2.798424)', '2026-07-06 04:43:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349141 -2.798414)'), GeomFromEWKT('SRID=4674;POINT (-40.349223 -2.798424)'))) / (select extract(epoch from '2026-07-06 04:43:42'::timestamp) - extract(epoch from '2026-07-06 04:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349141 -2.798414)'), GeomFromEWKT('SRID=4674;POINT (-40.349223 -2.798424)'))) / (select extract(epoch from '2026-07-06 04:43:42'::timestamp) - extract(epoch from '2026-07-06 04:43: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'), 47636, 'SRID=4674;POINT (-40.349302 -2.798434)', '2026-07-06 04:44:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349223 -2.798424)'), GeomFromEWKT('SRID=4674;POINT (-40.349302 -2.798434)'))) / (select extract(epoch from '2026-07-06 04:44:05'::timestamp) - extract(epoch from '2026-07-06 04:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349223 -2.798424)'), GeomFromEWKT('SRID=4674;POINT (-40.349302 -2.798434)'))) / (select extract(epoch from '2026-07-06 04:44:05'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.349395 -2.798433)', '2026-07-06 04:44:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349302 -2.798434)'), GeomFromEWKT('SRID=4674;POINT (-40.349395 -2.798433)'))) / (select extract(epoch from '2026-07-06 04:44:30'::timestamp) - extract(epoch from '2026-07-06 04:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349302 -2.798434)'), GeomFromEWKT('SRID=4674;POINT (-40.349395 -2.798433)'))) / (select extract(epoch from '2026-07-06 04:44:30'::timestamp) - extract(epoch from '2026-07-06 04:44: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'), 47636, 'SRID=4674;POINT (-40.349472 -2.798442)', '2026-07-06 04:44:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349395 -2.798433)'), GeomFromEWKT('SRID=4674;POINT (-40.349472 -2.798442)'))) / (select extract(epoch from '2026-07-06 04:44:54'::timestamp) - extract(epoch from '2026-07-06 04:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349395 -2.798433)'), GeomFromEWKT('SRID=4674;POINT (-40.349472 -2.798442)'))) / (select extract(epoch from '2026-07-06 04:44:54'::timestamp) - extract(epoch from '2026-07-06 04:44: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'), 47636, 'SRID=4674;POINT (-40.349565 -2.798447)', '2026-07-06 04:45:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349472 -2.798442)'), GeomFromEWKT('SRID=4674;POINT (-40.349565 -2.798447)'))) / (select extract(epoch from '2026-07-06 04:45:18'::timestamp) - extract(epoch from '2026-07-06 04:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349472 -2.798442)'), GeomFromEWKT('SRID=4674;POINT (-40.349565 -2.798447)'))) / (select extract(epoch from '2026-07-06 04:45:18'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.349641 -2.798453)', '2026-07-06 04:45:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349565 -2.798447)'), GeomFromEWKT('SRID=4674;POINT (-40.349641 -2.798453)'))) / (select extract(epoch from '2026-07-06 04:45:40'::timestamp) - extract(epoch from '2026-07-06 04:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349565 -2.798447)'), GeomFromEWKT('SRID=4674;POINT (-40.349641 -2.798453)'))) / (select extract(epoch from '2026-07-06 04:45:40'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.349711 -2.798463)', '2026-07-06 04:46:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349641 -2.798453)'), GeomFromEWKT('SRID=4674;POINT (-40.349711 -2.798463)'))) / (select extract(epoch from '2026-07-06 04:46:01'::timestamp) - extract(epoch from '2026-07-06 04:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349641 -2.798453)'), GeomFromEWKT('SRID=4674;POINT (-40.349711 -2.798463)'))) / (select extract(epoch from '2026-07-06 04:46:01'::timestamp) - extract(epoch from '2026-07-06 04:45:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.349746 -2.798463)', '2026-07-06 04:46:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349711 -2.798463)'), GeomFromEWKT('SRID=4674;POINT (-40.349746 -2.798463)'))) / (select extract(epoch from '2026-07-06 04:46:11'::timestamp) - extract(epoch from '2026-07-06 04:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349711 -2.798463)'), GeomFromEWKT('SRID=4674;POINT (-40.349746 -2.798463)'))) / (select extract(epoch from '2026-07-06 04:46:11'::timestamp) - extract(epoch from '2026-07-06 04:46: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'), 47636, 'SRID=4674;POINT (-40.349764 -2.798466)', '2026-07-06 04:46:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349746 -2.798463)'), GeomFromEWKT('SRID=4674;POINT (-40.349764 -2.798466)'))) / (select extract(epoch from '2026-07-06 04:46:14'::timestamp) - extract(epoch from '2026-07-06 04:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349746 -2.798463)'), GeomFromEWKT('SRID=4674;POINT (-40.349764 -2.798466)'))) / (select extract(epoch from '2026-07-06 04:46:14'::timestamp) - extract(epoch from '2026-07-06 04:46: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'), 47636, 'SRID=4674;POINT (-40.349781 -2.798466)', '2026-07-06 04:46:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349764 -2.798466)'), GeomFromEWKT('SRID=4674;POINT (-40.349781 -2.798466)'))) / (select extract(epoch from '2026-07-06 04:46:17'::timestamp) - extract(epoch from '2026-07-06 04:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349764 -2.798466)'), GeomFromEWKT('SRID=4674;POINT (-40.349781 -2.798466)'))) / (select extract(epoch from '2026-07-06 04:46:17'::timestamp) - extract(epoch from '2026-07-06 04:46: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'), 47636, 'SRID=4674;POINT (-40.349839 -2.798482)', '2026-07-06 04:46:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349781 -2.798466)'), GeomFromEWKT('SRID=4674;POINT (-40.349839 -2.798482)'))) / (select extract(epoch from '2026-07-06 04:46:32'::timestamp) - extract(epoch from '2026-07-06 04:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349781 -2.798466)'), GeomFromEWKT('SRID=4674;POINT (-40.349839 -2.798482)'))) / (select extract(epoch from '2026-07-06 04:46:32'::timestamp) - extract(epoch from '2026-07-06 04:46: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'), 47636, 'SRID=4674;POINT (-40.34991 -2.798488)', '2026-07-06 04:46:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349839 -2.798482)'), GeomFromEWKT('SRID=4674;POINT (-40.34991 -2.798488)'))) / (select extract(epoch from '2026-07-06 04:46:51'::timestamp) - extract(epoch from '2026-07-06 04:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349839 -2.798482)'), GeomFromEWKT('SRID=4674;POINT (-40.34991 -2.798488)'))) / (select extract(epoch from '2026-07-06 04:46:51'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.349958 -2.798492)', '2026-07-06 04:47:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34991 -2.798488)'), GeomFromEWKT('SRID=4674;POINT (-40.349958 -2.798492)'))) / (select extract(epoch from '2026-07-06 04:47:03'::timestamp) - extract(epoch from '2026-07-06 04:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34991 -2.798488)'), GeomFromEWKT('SRID=4674;POINT (-40.349958 -2.798492)'))) / (select extract(epoch from '2026-07-06 04:47:03'::timestamp) - extract(epoch from '2026-07-06 04:46: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'), 47636, 'SRID=4674;POINT (-40.350056 -2.798506)', '2026-07-06 04:47:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349958 -2.798492)'), GeomFromEWKT('SRID=4674;POINT (-40.350056 -2.798506)'))) / (select extract(epoch from '2026-07-06 04:47:28'::timestamp) - extract(epoch from '2026-07-06 04:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349958 -2.798492)'), GeomFromEWKT('SRID=4674;POINT (-40.350056 -2.798506)'))) / (select extract(epoch from '2026-07-06 04:47:28'::timestamp) - extract(epoch from '2026-07-06 04:47:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.35013 -2.798517)', '2026-07-06 04:47:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350056 -2.798506)'), GeomFromEWKT('SRID=4674;POINT (-40.35013 -2.798517)'))) / (select extract(epoch from '2026-07-06 04:47:46'::timestamp) - extract(epoch from '2026-07-06 04:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350056 -2.798506)'), GeomFromEWKT('SRID=4674;POINT (-40.35013 -2.798517)'))) / (select extract(epoch from '2026-07-06 04:47:46'::timestamp) - extract(epoch from '2026-07-06 04:47: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'), 47636, 'SRID=4674;POINT (-40.350198 -2.798526)', '2026-07-06 04:48:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35013 -2.798517)'), GeomFromEWKT('SRID=4674;POINT (-40.350198 -2.798526)'))) / (select extract(epoch from '2026-07-06 04:48:06'::timestamp) - extract(epoch from '2026-07-06 04:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35013 -2.798517)'), GeomFromEWKT('SRID=4674;POINT (-40.350198 -2.798526)'))) / (select extract(epoch from '2026-07-06 04:48:06'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.35022 -2.79853)', '2026-07-06 04:48:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350198 -2.798526)'), GeomFromEWKT('SRID=4674;POINT (-40.35022 -2.79853)'))) / (select extract(epoch from '2026-07-06 04:48:16'::timestamp) - extract(epoch from '2026-07-06 04:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350198 -2.798526)'), GeomFromEWKT('SRID=4674;POINT (-40.35022 -2.79853)'))) / (select extract(epoch from '2026-07-06 04:48:16'::timestamp) - extract(epoch from '2026-07-06 04:48:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350247 -2.798532)', '2026-07-06 04:48:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35022 -2.79853)'), GeomFromEWKT('SRID=4674;POINT (-40.350247 -2.798532)'))) / (select extract(epoch from '2026-07-06 04:48:26'::timestamp) - extract(epoch from '2026-07-06 04:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35022 -2.79853)'), GeomFromEWKT('SRID=4674;POINT (-40.350247 -2.798532)'))) / (select extract(epoch from '2026-07-06 04:48:26'::timestamp) - extract(epoch from '2026-07-06 04:48:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350288 -2.798535)', '2026-07-06 04:48:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350247 -2.798532)'), GeomFromEWKT('SRID=4674;POINT (-40.350288 -2.798535)'))) / (select extract(epoch from '2026-07-06 04:48:41'::timestamp) - extract(epoch from '2026-07-06 04:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350247 -2.798532)'), GeomFromEWKT('SRID=4674;POINT (-40.350288 -2.798535)'))) / (select extract(epoch from '2026-07-06 04:48:41'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.350334 -2.79854)', '2026-07-06 04:48:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350288 -2.798535)'), GeomFromEWKT('SRID=4674;POINT (-40.350334 -2.79854)'))) / (select extract(epoch from '2026-07-06 04:48:55'::timestamp) - extract(epoch from '2026-07-06 04:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350288 -2.798535)'), GeomFromEWKT('SRID=4674;POINT (-40.350334 -2.79854)'))) / (select extract(epoch from '2026-07-06 04:48:55'::timestamp) - extract(epoch from '2026-07-06 04:48: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'), 47636, 'SRID=4674;POINT (-40.350407 -2.798555)', '2026-07-06 04:49:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350334 -2.79854)'), GeomFromEWKT('SRID=4674;POINT (-40.350407 -2.798555)'))) / (select extract(epoch from '2026-07-06 04:49:19'::timestamp) - extract(epoch from '2026-07-06 04:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350334 -2.79854)'), GeomFromEWKT('SRID=4674;POINT (-40.350407 -2.798555)'))) / (select extract(epoch from '2026-07-06 04:49:19'::timestamp) - extract(epoch from '2026-07-06 04:48: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'), 47636, 'SRID=4674;POINT (-40.350443 -2.798557)', '2026-07-06 04:49:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350407 -2.798555)'), GeomFromEWKT('SRID=4674;POINT (-40.350443 -2.798557)'))) / (select extract(epoch from '2026-07-06 04:49:33'::timestamp) - extract(epoch from '2026-07-06 04:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350407 -2.798555)'), GeomFromEWKT('SRID=4674;POINT (-40.350443 -2.798557)'))) / (select extract(epoch from '2026-07-06 04:49:33'::timestamp) - extract(epoch from '2026-07-06 04:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350509 -2.79856)', '2026-07-06 04:49:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350443 -2.798557)'), GeomFromEWKT('SRID=4674;POINT (-40.350509 -2.79856)'))) / (select extract(epoch from '2026-07-06 04:49:55'::timestamp) - extract(epoch from '2026-07-06 04:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350443 -2.798557)'), GeomFromEWKT('SRID=4674;POINT (-40.350509 -2.79856)'))) / (select extract(epoch from '2026-07-06 04:49:55'::timestamp) - extract(epoch from '2026-07-06 04:49: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'), 47636, 'SRID=4674;POINT (-40.350545 -2.798568)', '2026-07-06 04:50:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350509 -2.79856)'), GeomFromEWKT('SRID=4674;POINT (-40.350545 -2.798568)'))) / (select extract(epoch from '2026-07-06 04:50:05'::timestamp) - extract(epoch from '2026-07-06 04:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350509 -2.79856)'), GeomFromEWKT('SRID=4674;POINT (-40.350545 -2.798568)'))) / (select extract(epoch from '2026-07-06 04:50:05'::timestamp) - extract(epoch from '2026-07-06 04:49: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'), 47636, 'SRID=4674;POINT (-40.350602 -2.798586)', '2026-07-06 04:50:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350545 -2.798568)'), GeomFromEWKT('SRID=4674;POINT (-40.350602 -2.798586)'))) / (select extract(epoch from '2026-07-06 04:50:29'::timestamp) - extract(epoch from '2026-07-06 04:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350545 -2.798568)'), GeomFromEWKT('SRID=4674;POINT (-40.350602 -2.798586)'))) / (select extract(epoch from '2026-07-06 04:50:29'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.350674 -2.798599)', '2026-07-06 04:50:51', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350602 -2.798586)'), GeomFromEWKT('SRID=4674;POINT (-40.350674 -2.798599)'))) / (select extract(epoch from '2026-07-06 04:50:51'::timestamp) - extract(epoch from '2026-07-06 04:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350602 -2.798586)'), GeomFromEWKT('SRID=4674;POINT (-40.350674 -2.798599)'))) / (select extract(epoch from '2026-07-06 04:50:51'::timestamp) - extract(epoch from '2026-07-06 04:50:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350715 -2.798606)', '2026-07-06 04:51:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350674 -2.798599)'), GeomFromEWKT('SRID=4674;POINT (-40.350715 -2.798606)'))) / (select extract(epoch from '2026-07-06 04:51:06'::timestamp) - extract(epoch from '2026-07-06 04:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350674 -2.798599)'), GeomFromEWKT('SRID=4674;POINT (-40.350715 -2.798606)'))) / (select extract(epoch from '2026-07-06 04:51:06'::timestamp) - extract(epoch from '2026-07-06 04:50: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'), 47636, 'SRID=4674;POINT (-40.350778 -2.79862)', '2026-07-06 04:51:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350715 -2.798606)'), GeomFromEWKT('SRID=4674;POINT (-40.350778 -2.79862)'))) / (select extract(epoch from '2026-07-06 04:51:33'::timestamp) - extract(epoch from '2026-07-06 04:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350715 -2.798606)'), GeomFromEWKT('SRID=4674;POINT (-40.350778 -2.79862)'))) / (select extract(epoch from '2026-07-06 04:51:33'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.350859 -2.798632)', '2026-07-06 04:52:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350778 -2.79862)'), GeomFromEWKT('SRID=4674;POINT (-40.350859 -2.798632)'))) / (select extract(epoch from '2026-07-06 04:52:09'::timestamp) - extract(epoch from '2026-07-06 04:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350778 -2.79862)'), GeomFromEWKT('SRID=4674;POINT (-40.350859 -2.798632)'))) / (select extract(epoch from '2026-07-06 04:52:09'::timestamp) - extract(epoch from '2026-07-06 04:51: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'), 47636, 'SRID=4674;POINT (-40.350924 -2.798632)', '2026-07-06 04:52:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350859 -2.798632)'), GeomFromEWKT('SRID=4674;POINT (-40.350924 -2.798632)'))) / (select extract(epoch from '2026-07-06 04:52:38'::timestamp) - extract(epoch from '2026-07-06 04:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350859 -2.798632)'), GeomFromEWKT('SRID=4674;POINT (-40.350924 -2.798632)'))) / (select extract(epoch from '2026-07-06 04:52:38'::timestamp) - extract(epoch from '2026-07-06 04:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.35094 -2.798645)', '2026-07-06 04:53:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350924 -2.798632)'), GeomFromEWKT('SRID=4674;POINT (-40.35094 -2.798645)'))) / (select extract(epoch from '2026-07-06 04:53:07'::timestamp) - extract(epoch from '2026-07-06 04:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350924 -2.798632)'), GeomFromEWKT('SRID=4674;POINT (-40.35094 -2.798645)'))) / (select extract(epoch from '2026-07-06 04:53:07'::timestamp) - extract(epoch from '2026-07-06 04:52: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'), 47636, 'SRID=4674;POINT (-40.350944 -2.798647)', '2026-07-06 04:53:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35094 -2.798645)'), GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.798647)'))) / (select extract(epoch from '2026-07-06 04:53:36'::timestamp) - extract(epoch from '2026-07-06 04:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35094 -2.798645)'), GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.798647)'))) / (select extract(epoch from '2026-07-06 04:53:36'::timestamp) - extract(epoch from '2026-07-06 04:53: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'), 47636, 'SRID=4674;POINT (-40.350948 -2.798627)', '2026-07-06 04:54:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.798647)'), GeomFromEWKT('SRID=4674;POINT (-40.350948 -2.798627)'))) / (select extract(epoch from '2026-07-06 04:54:14'::timestamp) - extract(epoch from '2026-07-06 04:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.798647)'), GeomFromEWKT('SRID=4674;POINT (-40.350948 -2.798627)'))) / (select extract(epoch from '2026-07-06 04:54:14'::timestamp) - extract(epoch from '2026-07-06 04:53:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.35095 -2.798625)', '2026-07-06 04:54:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350948 -2.798627)'), GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798625)'))) / (select extract(epoch from '2026-07-06 04:54:49'::timestamp) - extract(epoch from '2026-07-06 04:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350948 -2.798627)'), GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798625)'))) / (select extract(epoch from '2026-07-06 04:54:49'::timestamp) - extract(epoch from '2026-07-06 04:54:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350947 -2.79861)', '2026-07-06 04:55:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798625)'), GeomFromEWKT('SRID=4674;POINT (-40.350947 -2.79861)'))) / (select extract(epoch from '2026-07-06 04:55:18'::timestamp) - extract(epoch from '2026-07-06 04:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798625)'), GeomFromEWKT('SRID=4674;POINT (-40.350947 -2.79861)'))) / (select extract(epoch from '2026-07-06 04:55:18'::timestamp) - extract(epoch from '2026-07-06 04:54: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'), 47636, 'SRID=4674;POINT (-40.350946 -2.798608)', '2026-07-06 04:55:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350947 -2.79861)'), GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798608)'))) / (select extract(epoch from '2026-07-06 04:55:37'::timestamp) - extract(epoch from '2026-07-06 04:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350947 -2.79861)'), GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798608)'))) / (select extract(epoch from '2026-07-06 04:55:37'::timestamp) - extract(epoch from '2026-07-06 04:55: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'), 47636, 'SRID=4674;POINT (-40.350953 -2.7986)', '2026-07-06 04:56:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798608)'), GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.7986)'))) / (select extract(epoch from '2026-07-06 04:56:05'::timestamp) - extract(epoch from '2026-07-06 04:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798608)'), GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.7986)'))) / (select extract(epoch from '2026-07-06 04:56:05'::timestamp) - extract(epoch from '2026-07-06 04:55:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350941 -2.798601)', '2026-07-06 04:56:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.7986)'), GeomFromEWKT('SRID=4674;POINT (-40.350941 -2.798601)'))) / (select extract(epoch from '2026-07-06 04:56:38'::timestamp) - extract(epoch from '2026-07-06 04:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.7986)'), GeomFromEWKT('SRID=4674;POINT (-40.350941 -2.798601)'))) / (select extract(epoch from '2026-07-06 04:56:38'::timestamp) - extract(epoch from '2026-07-06 04:56: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'), 47636, 'SRID=4674;POINT (-40.350946 -2.798596)', '2026-07-06 04:57:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350941 -2.798601)'), GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798596)'))) / (select extract(epoch from '2026-07-06 04:57:00'::timestamp) - extract(epoch from '2026-07-06 04:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350941 -2.798601)'), GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798596)'))) / (select extract(epoch from '2026-07-06 04:57:00'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.350959 -2.798585)', '2026-07-06 04:57:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798596)'), GeomFromEWKT('SRID=4674;POINT (-40.350959 -2.798585)'))) / (select extract(epoch from '2026-07-06 04:57:33'::timestamp) - extract(epoch from '2026-07-06 04:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798596)'), GeomFromEWKT('SRID=4674;POINT (-40.350959 -2.798585)'))) / (select extract(epoch from '2026-07-06 04:57:33'::timestamp) - extract(epoch from '2026-07-06 04: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'), 47636, 'SRID=4674;POINT (-40.350953 -2.798585)', '2026-07-06 04:57:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350959 -2.798585)'), GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798585)'))) / (select extract(epoch from '2026-07-06 04:57:58'::timestamp) - extract(epoch from '2026-07-06 04:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350959 -2.798585)'), GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798585)'))) / (select extract(epoch from '2026-07-06 04:57:58'::timestamp) - extract(epoch from '2026-07-06 04:57: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'), 47636, 'SRID=4674;POINT (-40.350954 -2.798587)', '2026-07-06 04:58:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798585)'), GeomFromEWKT('SRID=4674;POINT (-40.350954 -2.798587)'))) / (select extract(epoch from '2026-07-06 04:58:12'::timestamp) - extract(epoch from '2026-07-06 04:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798585)'), GeomFromEWKT('SRID=4674;POINT (-40.350954 -2.798587)'))) / (select extract(epoch from '2026-07-06 04:58:12'::timestamp) - extract(epoch from '2026-07-06 04:57: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'), 47636, 'SRID=4674;POINT (-40.350952 -2.798582)', '2026-07-06 04:58:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350954 -2.798587)'), GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798582)'))) / (select extract(epoch from '2026-07-06 04:58:43'::timestamp) - extract(epoch from '2026-07-06 04:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350954 -2.798587)'), GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798582)'))) / (select extract(epoch from '2026-07-06 04:58:43'::timestamp) - extract(epoch from '2026-07-06 04:58: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'), 47636, 'SRID=4674;POINT (-40.350952 -2.798577)', '2026-07-06 04:59:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798582)'), GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798577)'))) / (select extract(epoch from '2026-07-06 04:59:16'::timestamp) - extract(epoch from '2026-07-06 04:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798582)'), GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798577)'))) / (select extract(epoch from '2026-07-06 04:59:16'::timestamp) - extract(epoch from '2026-07-06 04:58:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.35095 -2.798579)', '2026-07-06 04:59:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798577)'), GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798579)'))) / (select extract(epoch from '2026-07-06 04:59:36'::timestamp) - extract(epoch from '2026-07-06 04:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798577)'), GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798579)'))) / (select extract(epoch from '2026-07-06 04:59:36'::timestamp) - extract(epoch from '2026-07-06 04:59: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'), 47636, 'SRID=4674;POINT (-40.350952 -2.798583)', '2026-07-06 04:59:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798579)'), GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798583)'))) / (select extract(epoch from '2026-07-06 04:59:51'::timestamp) - extract(epoch from '2026-07-06 04:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798579)'), GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798583)'))) / (select extract(epoch from '2026-07-06 04:59:51'::timestamp) - extract(epoch from '2026-07-06 04:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.35095 -2.798587)', '2026-07-06 05:00:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798583)'), GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798587)'))) / (select extract(epoch from '2026-07-06 05:00:11'::timestamp) - extract(epoch from '2026-07-06 04:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798583)'), GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798587)'))) / (select extract(epoch from '2026-07-06 05:00:11'::timestamp) - extract(epoch from '2026-07-06 04:59:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350947 -2.798586)', '2026-07-06 05:01:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798587)'), GeomFromEWKT('SRID=4674;POINT (-40.350947 -2.798586)'))) / (select extract(epoch from '2026-07-06 05:01:01'::timestamp) - extract(epoch from '2026-07-06 05:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798587)'), GeomFromEWKT('SRID=4674;POINT (-40.350947 -2.798586)'))) / (select extract(epoch from '2026-07-06 05:01:01'::timestamp) - extract(epoch from '2026-07-06 05:00:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350944 -2.798584)', '2026-07-06 05:01:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350947 -2.798586)'), GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.798584)'))) / (select extract(epoch from '2026-07-06 05:01:55'::timestamp) - extract(epoch from '2026-07-06 05:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350947 -2.798586)'), GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.798584)'))) / (select extract(epoch from '2026-07-06 05:01:55'::timestamp) - extract(epoch from '2026-07-06 05:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350946 -2.798578)', '2026-07-06 05:02:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.798584)'), GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798578)'))) / (select extract(epoch from '2026-07-06 05:02:15'::timestamp) - extract(epoch from '2026-07-06 05:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.798584)'), GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798578)'))) / (select extract(epoch from '2026-07-06 05:02:15'::timestamp) - extract(epoch from '2026-07-06 05:01:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350951 -2.798576)', '2026-07-06 05:02:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798578)'), GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798576)'))) / (select extract(epoch from '2026-07-06 05:02:40'::timestamp) - extract(epoch from '2026-07-06 05:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798578)'), GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798576)'))) / (select extract(epoch from '2026-07-06 05:02:40'::timestamp) - extract(epoch from '2026-07-06 05:02:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350952 -2.798584)', '2026-07-06 05:03:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798576)'), GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798584)'))) / (select extract(epoch from '2026-07-06 05:03:05'::timestamp) - extract(epoch from '2026-07-06 05:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798576)'), GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798584)'))) / (select extract(epoch from '2026-07-06 05:03:05'::timestamp) - extract(epoch from '2026-07-06 05:02:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350954 -2.798595)', '2026-07-06 05:03:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798584)'), GeomFromEWKT('SRID=4674;POINT (-40.350954 -2.798595)'))) / (select extract(epoch from '2026-07-06 05:03:37'::timestamp) - extract(epoch from '2026-07-06 05:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798584)'), GeomFromEWKT('SRID=4674;POINT (-40.350954 -2.798595)'))) / (select extract(epoch from '2026-07-06 05:03:37'::timestamp) - extract(epoch from '2026-07-06 05:03: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'), 47636, 'SRID=4674;POINT (-40.350956 -2.798598)', '2026-07-06 05:03:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350954 -2.798595)'), GeomFromEWKT('SRID=4674;POINT (-40.350956 -2.798598)'))) / (select extract(epoch from '2026-07-06 05:03:59'::timestamp) - extract(epoch from '2026-07-06 05:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350954 -2.798595)'), GeomFromEWKT('SRID=4674;POINT (-40.350956 -2.798598)'))) / (select extract(epoch from '2026-07-06 05:03:59'::timestamp) - extract(epoch from '2026-07-06 05:03:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350954 -2.798599)', '2026-07-06 05:04:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350956 -2.798598)'), GeomFromEWKT('SRID=4674;POINT (-40.350954 -2.798599)'))) / (select extract(epoch from '2026-07-06 05:04:20'::timestamp) - extract(epoch from '2026-07-06 05:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350956 -2.798598)'), GeomFromEWKT('SRID=4674;POINT (-40.350954 -2.798599)'))) / (select extract(epoch from '2026-07-06 05:04:20'::timestamp) - extract(epoch from '2026-07-06 05:03: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'), 47636, 'SRID=4674;POINT (-40.350953 -2.798598)', '2026-07-06 05:04:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350954 -2.798599)'), GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798598)'))) / (select extract(epoch from '2026-07-06 05:04:43'::timestamp) - extract(epoch from '2026-07-06 05:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350954 -2.798599)'), GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798598)'))) / (select extract(epoch from '2026-07-06 05:04:43'::timestamp) - extract(epoch from '2026-07-06 05:04: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'), 47636, 'SRID=4674;POINT (-40.350952 -2.798593)', '2026-07-06 05:05:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798598)'), GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798593)'))) / (select extract(epoch from '2026-07-06 05:05:04'::timestamp) - extract(epoch from '2026-07-06 05:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798598)'), GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798593)'))) / (select extract(epoch from '2026-07-06 05:05:04'::timestamp) - extract(epoch from '2026-07-06 05:04: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'), 47636, 'SRID=4674;POINT (-40.350955 -2.798589)', '2026-07-06 05:05:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798593)'), GeomFromEWKT('SRID=4674;POINT (-40.350955 -2.798589)'))) / (select extract(epoch from '2026-07-06 05:05:23'::timestamp) - extract(epoch from '2026-07-06 05:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798593)'), GeomFromEWKT('SRID=4674;POINT (-40.350955 -2.798589)'))) / (select extract(epoch from '2026-07-06 05:05:23'::timestamp) - extract(epoch from '2026-07-06 05:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350955 -2.798589)', '2026-07-06 05:05:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350955 -2.798589)'), GeomFromEWKT('SRID=4674;POINT (-40.350955 -2.798589)'))) / (select extract(epoch from '2026-07-06 05:05:44'::timestamp) - extract(epoch from '2026-07-06 05:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350955 -2.798589)'), GeomFromEWKT('SRID=4674;POINT (-40.350955 -2.798589)'))) / (select extract(epoch from '2026-07-06 05:05:44'::timestamp) - extract(epoch from '2026-07-06 05:05: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'), 47636, 'SRID=4674;POINT (-40.350955 -2.7986)', '2026-07-06 05:06:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350955 -2.798589)'), GeomFromEWKT('SRID=4674;POINT (-40.350955 -2.7986)'))) / (select extract(epoch from '2026-07-06 05:06:06'::timestamp) - extract(epoch from '2026-07-06 05:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350955 -2.798589)'), GeomFromEWKT('SRID=4674;POINT (-40.350955 -2.7986)'))) / (select extract(epoch from '2026-07-06 05:06:06'::timestamp) - extract(epoch from '2026-07-06 05:05: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'), 47636, 'SRID=4674;POINT (-40.350943 -2.798589)', '2026-07-06 05:06:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350955 -2.7986)'), GeomFromEWKT('SRID=4674;POINT (-40.350943 -2.798589)'))) / (select extract(epoch from '2026-07-06 05:06:36'::timestamp) - extract(epoch from '2026-07-06 05:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350955 -2.7986)'), GeomFromEWKT('SRID=4674;POINT (-40.350943 -2.798589)'))) / (select extract(epoch from '2026-07-06 05:06:36'::timestamp) - extract(epoch from '2026-07-06 05:06: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'), 47636, 'SRID=4674;POINT (-40.350946 -2.79858)', '2026-07-06 05:07:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350943 -2.798589)'), GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.79858)'))) / (select extract(epoch from '2026-07-06 05:07:37'::timestamp) - extract(epoch from '2026-07-06 05:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350943 -2.798589)'), GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.79858)'))) / (select extract(epoch from '2026-07-06 05:07:37'::timestamp) - extract(epoch from '2026-07-06 05:06: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'), 47636, 'SRID=4674;POINT (-40.350952 -2.798566)', '2026-07-06 05:08:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.79858)'), GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798566)'))) / (select extract(epoch from '2026-07-06 05:08:30'::timestamp) - extract(epoch from '2026-07-06 05:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.79858)'), GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798566)'))) / (select extract(epoch from '2026-07-06 05:08:30'::timestamp) - extract(epoch from '2026-07-06 05:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350953 -2.798578)', '2026-07-06 05:09:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798566)'), GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798578)'))) / (select extract(epoch from '2026-07-06 05:09:08'::timestamp) - extract(epoch from '2026-07-06 05:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798566)'), GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798578)'))) / (select extract(epoch from '2026-07-06 05:09:08'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47636, 'SRID=4674;POINT (-40.350953 -2.798575)', '2026-07-06 05:09:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798578)'), GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798575)'))) / (select extract(epoch from '2026-07-06 05:09:42'::timestamp) - extract(epoch from '2026-07-06 05:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798578)'), GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798575)'))) / (select extract(epoch from '2026-07-06 05:09:42'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47636, 'SRID=4674;POINT (-40.350952 -2.798571)', '2026-07-06 05:10:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798575)'), GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798571)'))) / (select extract(epoch from '2026-07-06 05:10:03'::timestamp) - extract(epoch from '2026-07-06 05:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798575)'), GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798571)'))) / (select extract(epoch from '2026-07-06 05:10:03'::timestamp) - extract(epoch from '2026-07-06 05:09: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'), 47636, 'SRID=4674;POINT (-40.350951 -2.798583)', '2026-07-06 05:10:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798571)'), GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798583)'))) / (select extract(epoch from '2026-07-06 05:10:37'::timestamp) - extract(epoch from '2026-07-06 05:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350952 -2.798571)'), GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798583)'))) / (select extract(epoch from '2026-07-06 05:10:37'::timestamp) - extract(epoch from '2026-07-06 05:10:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.35095 -2.798569)', '2026-07-06 05:11:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798583)'), GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798569)'))) / (select extract(epoch from '2026-07-06 05:11:48'::timestamp) - extract(epoch from '2026-07-06 05:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798583)'), GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798569)'))) / (select extract(epoch from '2026-07-06 05:11:48'::timestamp) - extract(epoch from '2026-07-06 05:10: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'), 47636, 'SRID=4674;POINT (-40.350945 -2.798557)', '2026-07-06 05:12:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798569)'), GeomFromEWKT('SRID=4674;POINT (-40.350945 -2.798557)'))) / (select extract(epoch from '2026-07-06 05:12:26'::timestamp) - extract(epoch from '2026-07-06 05:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798569)'), GeomFromEWKT('SRID=4674;POINT (-40.350945 -2.798557)'))) / (select extract(epoch from '2026-07-06 05:12:26'::timestamp) - extract(epoch from '2026-07-06 05:11:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350951 -2.798554)', '2026-07-06 05:13:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350945 -2.798557)'), GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798554)'))) / (select extract(epoch from '2026-07-06 05:13:00'::timestamp) - extract(epoch from '2026-07-06 05:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350945 -2.798557)'), GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798554)'))) / (select extract(epoch from '2026-07-06 05:13:00'::timestamp) - extract(epoch from '2026-07-06 05:12: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'), 47636, 'SRID=4674;POINT (-40.350946 -2.798551)', '2026-07-06 05:13:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798554)'), GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798551)'))) / (select extract(epoch from '2026-07-06 05:13:41'::timestamp) - extract(epoch from '2026-07-06 05:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798554)'), GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798551)'))) / (select extract(epoch from '2026-07-06 05:13:41'::timestamp) - extract(epoch from '2026-07-06 05:13: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'), 47636, 'SRID=4674;POINT (-40.350945 -2.798557)', '2026-07-06 05:14:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798551)'), GeomFromEWKT('SRID=4674;POINT (-40.350945 -2.798557)'))) / (select extract(epoch from '2026-07-06 05:14:02'::timestamp) - extract(epoch from '2026-07-06 05:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798551)'), GeomFromEWKT('SRID=4674;POINT (-40.350945 -2.798557)'))) / (select extract(epoch from '2026-07-06 05:14:02'::timestamp) - extract(epoch from '2026-07-06 05:13: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'), 47636, 'SRID=4674;POINT (-40.350949 -2.798564)', '2026-07-06 05:14:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350945 -2.798557)'), GeomFromEWKT('SRID=4674;POINT (-40.350949 -2.798564)'))) / (select extract(epoch from '2026-07-06 05:14:18'::timestamp) - extract(epoch from '2026-07-06 05:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350945 -2.798557)'), GeomFromEWKT('SRID=4674;POINT (-40.350949 -2.798564)'))) / (select extract(epoch from '2026-07-06 05:14:18'::timestamp) - extract(epoch from '2026-07-06 05:14: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'), 47636, 'SRID=4674;POINT (-40.350947 -2.79856)', '2026-07-06 05:14:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350949 -2.798564)'), GeomFromEWKT('SRID=4674;POINT (-40.350947 -2.79856)'))) / (select extract(epoch from '2026-07-06 05:14:52'::timestamp) - extract(epoch from '2026-07-06 05:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350949 -2.798564)'), GeomFromEWKT('SRID=4674;POINT (-40.350947 -2.79856)'))) / (select extract(epoch from '2026-07-06 05:14:52'::timestamp) - extract(epoch from '2026-07-06 05:14: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'), 47636, 'SRID=4674;POINT (-40.350945 -2.798558)', '2026-07-06 05:15:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350947 -2.79856)'), GeomFromEWKT('SRID=4674;POINT (-40.350945 -2.798558)'))) / (select extract(epoch from '2026-07-06 05:15:28'::timestamp) - extract(epoch from '2026-07-06 05:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350947 -2.79856)'), GeomFromEWKT('SRID=4674;POINT (-40.350945 -2.798558)'))) / (select extract(epoch from '2026-07-06 05:15:28'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47636, 'SRID=4674;POINT (-40.35095 -2.798559)', '2026-07-06 05:15:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350945 -2.798558)'), GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798559)'))) / (select extract(epoch from '2026-07-06 05:15:52'::timestamp) - extract(epoch from '2026-07-06 05:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350945 -2.798558)'), GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798559)'))) / (select extract(epoch from '2026-07-06 05:15:52'::timestamp) - extract(epoch from '2026-07-06 05:15: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'), 47636, 'SRID=4674;POINT (-40.350948 -2.798563)', '2026-07-06 05:16:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798559)'), GeomFromEWKT('SRID=4674;POINT (-40.350948 -2.798563)'))) / (select extract(epoch from '2026-07-06 05:16:15'::timestamp) - extract(epoch from '2026-07-06 05:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35095 -2.798559)'), GeomFromEWKT('SRID=4674;POINT (-40.350948 -2.798563)'))) / (select extract(epoch from '2026-07-06 05:16:15'::timestamp) - extract(epoch from '2026-07-06 05:15: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'), 47636, 'SRID=4674;POINT (-40.350946 -2.798556)', '2026-07-06 05:17:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350948 -2.798563)'), GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798556)'))) / (select extract(epoch from '2026-07-06 05:17:10'::timestamp) - extract(epoch from '2026-07-06 05:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350948 -2.798563)'), GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798556)'))) / (select extract(epoch from '2026-07-06 05:17:10'::timestamp) - extract(epoch from '2026-07-06 05:16:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350946 -2.798555)', '2026-07-06 05:18:10', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798556)'), GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798555)'))) / (select extract(epoch from '2026-07-06 05:18:10'::timestamp) - extract(epoch from '2026-07-06 05:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798556)'), GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798555)'))) / (select extract(epoch from '2026-07-06 05:18:10'::timestamp) - extract(epoch from '2026-07-06 05:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350946 -2.798558)', '2026-07-06 05:18:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798555)'), GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798558)'))) / (select extract(epoch from '2026-07-06 05:18:50'::timestamp) - extract(epoch from '2026-07-06 05:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798555)'), GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798558)'))) / (select extract(epoch from '2026-07-06 05:18:50'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47636, 'SRID=4674;POINT (-40.350942 -2.798547)', '2026-07-06 05:19:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798558)'), GeomFromEWKT('SRID=4674;POINT (-40.350942 -2.798547)'))) / (select extract(epoch from '2026-07-06 05:19:37'::timestamp) - extract(epoch from '2026-07-06 05:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.798558)'), GeomFromEWKT('SRID=4674;POINT (-40.350942 -2.798547)'))) / (select extract(epoch from '2026-07-06 05:19:37'::timestamp) - extract(epoch from '2026-07-06 05:18: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'), 47636, 'SRID=4674;POINT (-40.350944 -2.798551)', '2026-07-06 05:20:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350942 -2.798547)'), GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.798551)'))) / (select extract(epoch from '2026-07-06 05:20:29'::timestamp) - extract(epoch from '2026-07-06 05:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350942 -2.798547)'), GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.798551)'))) / (select extract(epoch from '2026-07-06 05:20:29'::timestamp) - extract(epoch from '2026-07-06 05:19: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'), 47636, 'SRID=4674;POINT (-40.35094 -2.79854)', '2026-07-06 05:21:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.798551)'), GeomFromEWKT('SRID=4674;POINT (-40.35094 -2.79854)'))) / (select extract(epoch from '2026-07-06 05:21:17'::timestamp) - extract(epoch from '2026-07-06 05:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.798551)'), GeomFromEWKT('SRID=4674;POINT (-40.35094 -2.79854)'))) / (select extract(epoch from '2026-07-06 05:21:17'::timestamp) - extract(epoch from '2026-07-06 05:20: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'), 47636, 'SRID=4674;POINT (-40.350941 -2.798546)', '2026-07-06 05:22:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35094 -2.79854)'), GeomFromEWKT('SRID=4674;POINT (-40.350941 -2.798546)'))) / (select extract(epoch from '2026-07-06 05:22:13'::timestamp) - extract(epoch from '2026-07-06 05:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35094 -2.79854)'), GeomFromEWKT('SRID=4674;POINT (-40.350941 -2.798546)'))) / (select extract(epoch from '2026-07-06 05:22:13'::timestamp) - extract(epoch from '2026-07-06 05:21:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350949 -2.798551)', '2026-07-06 05:22:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350941 -2.798546)'), GeomFromEWKT('SRID=4674;POINT (-40.350949 -2.798551)'))) / (select extract(epoch from '2026-07-06 05:22:56'::timestamp) - extract(epoch from '2026-07-06 05:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350941 -2.798546)'), GeomFromEWKT('SRID=4674;POINT (-40.350949 -2.798551)'))) / (select extract(epoch from '2026-07-06 05:22:56'::timestamp) - extract(epoch from '2026-07-06 05:22: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'), 47636, 'SRID=4674;POINT (-40.350943 -2.79855)', '2026-07-06 05:23:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350949 -2.798551)'), GeomFromEWKT('SRID=4674;POINT (-40.350943 -2.79855)'))) / (select extract(epoch from '2026-07-06 05:23:48'::timestamp) - extract(epoch from '2026-07-06 05:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350949 -2.798551)'), GeomFromEWKT('SRID=4674;POINT (-40.350943 -2.79855)'))) / (select extract(epoch from '2026-07-06 05:23:48'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47636, 'SRID=4674;POINT (-40.350935 -2.798539)', '2026-07-06 05:24:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350943 -2.79855)'), GeomFromEWKT('SRID=4674;POINT (-40.350935 -2.798539)'))) / (select extract(epoch from '2026-07-06 05:24:35'::timestamp) - extract(epoch from '2026-07-06 05:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350943 -2.79855)'), GeomFromEWKT('SRID=4674;POINT (-40.350935 -2.798539)'))) / (select extract(epoch from '2026-07-06 05:24:35'::timestamp) - extract(epoch from '2026-07-06 05:23: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'), 47636, 'SRID=4674;POINT (-40.350944 -2.798552)', '2026-07-06 05:25:24', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350935 -2.798539)'), GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.798552)'))) / (select extract(epoch from '2026-07-06 05:25:24'::timestamp) - extract(epoch from '2026-07-06 05:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350935 -2.798539)'), GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.798552)'))) / (select extract(epoch from '2026-07-06 05:25:24'::timestamp) - extract(epoch from '2026-07-06 05:24: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'), 47636, 'SRID=4674;POINT (-40.350951 -2.798558)', '2026-07-06 05:26:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.798552)'), GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798558)'))) / (select extract(epoch from '2026-07-06 05:26:18'::timestamp) - extract(epoch from '2026-07-06 05:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.798552)'), GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798558)'))) / (select extract(epoch from '2026-07-06 05:26:18'::timestamp) - extract(epoch from '2026-07-06 05:25: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'), 47636, 'SRID=4674;POINT (-40.350948 -2.798563)', '2026-07-06 05:26:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798558)'), GeomFromEWKT('SRID=4674;POINT (-40.350948 -2.798563)'))) / (select extract(epoch from '2026-07-06 05:26:48'::timestamp) - extract(epoch from '2026-07-06 05:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798558)'), GeomFromEWKT('SRID=4674;POINT (-40.350948 -2.798563)'))) / (select extract(epoch from '2026-07-06 05:26:48'::timestamp) - extract(epoch from '2026-07-06 05:26: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'), 47636, 'SRID=4674;POINT (-40.350948 -2.798559)', '2026-07-06 05:27:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350948 -2.798563)'), GeomFromEWKT('SRID=4674;POINT (-40.350948 -2.798559)'))) / (select extract(epoch from '2026-07-06 05:27:30'::timestamp) - extract(epoch from '2026-07-06 05:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350948 -2.798563)'), GeomFromEWKT('SRID=4674;POINT (-40.350948 -2.798559)'))) / (select extract(epoch from '2026-07-06 05:27:30'::timestamp) - extract(epoch from '2026-07-06 05:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350949 -2.798565)', '2026-07-06 05:28:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350948 -2.798559)'), GeomFromEWKT('SRID=4674;POINT (-40.350949 -2.798565)'))) / (select extract(epoch from '2026-07-06 05:28:48'::timestamp) - extract(epoch from '2026-07-06 05:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350948 -2.798559)'), GeomFromEWKT('SRID=4674;POINT (-40.350949 -2.798565)'))) / (select extract(epoch from '2026-07-06 05:28:48'::timestamp) - extract(epoch from '2026-07-06 05:27: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'), 47636, 'SRID=4674;POINT (-40.350958 -2.798583)', '2026-07-06 05:29:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350949 -2.798565)'), GeomFromEWKT('SRID=4674;POINT (-40.350958 -2.798583)'))) / (select extract(epoch from '2026-07-06 05:29:39'::timestamp) - extract(epoch from '2026-07-06 05:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350949 -2.798565)'), GeomFromEWKT('SRID=4674;POINT (-40.350958 -2.798583)'))) / (select extract(epoch from '2026-07-06 05:29:39'::timestamp) - extract(epoch from '2026-07-06 05:28: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'), 47636, 'SRID=4674;POINT (-40.350947 -2.798575)', '2026-07-06 05:30:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350958 -2.798583)'), GeomFromEWKT('SRID=4674;POINT (-40.350947 -2.798575)'))) / (select extract(epoch from '2026-07-06 05:30:31'::timestamp) - extract(epoch from '2026-07-06 05:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350958 -2.798583)'), GeomFromEWKT('SRID=4674;POINT (-40.350947 -2.798575)'))) / (select extract(epoch from '2026-07-06 05:30:31'::timestamp) - extract(epoch from '2026-07-06 05:29: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'), 47636, 'SRID=4674;POINT (-40.350954 -2.79857)', '2026-07-06 05:31:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350947 -2.798575)'), GeomFromEWKT('SRID=4674;POINT (-40.350954 -2.79857)'))) / (select extract(epoch from '2026-07-06 05:31:14'::timestamp) - extract(epoch from '2026-07-06 05:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350947 -2.798575)'), GeomFromEWKT('SRID=4674;POINT (-40.350954 -2.79857)'))) / (select extract(epoch from '2026-07-06 05:31:14'::timestamp) - extract(epoch from '2026-07-06 05:30: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'), 47636, 'SRID=4674;POINT (-40.350951 -2.798579)', '2026-07-06 05:32:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350954 -2.79857)'), GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798579)'))) / (select extract(epoch from '2026-07-06 05:32:15'::timestamp) - extract(epoch from '2026-07-06 05:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350954 -2.79857)'), GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798579)'))) / (select extract(epoch from '2026-07-06 05:32:15'::timestamp) - extract(epoch from '2026-07-06 05:31:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350958 -2.798591)', '2026-07-06 05:33:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798579)'), GeomFromEWKT('SRID=4674;POINT (-40.350958 -2.798591)'))) / (select extract(epoch from '2026-07-06 05:33:37'::timestamp) - extract(epoch from '2026-07-06 05:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798579)'), GeomFromEWKT('SRID=4674;POINT (-40.350958 -2.798591)'))) / (select extract(epoch from '2026-07-06 05:33:37'::timestamp) - extract(epoch from '2026-07-06 05:32:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350956 -2.798579)', '2026-07-06 05:34:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350958 -2.798591)'), GeomFromEWKT('SRID=4674;POINT (-40.350956 -2.798579)'))) / (select extract(epoch from '2026-07-06 05:34:13'::timestamp) - extract(epoch from '2026-07-06 05:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350958 -2.798591)'), GeomFromEWKT('SRID=4674;POINT (-40.350956 -2.798579)'))) / (select extract(epoch from '2026-07-06 05:34:13'::timestamp) - extract(epoch from '2026-07-06 05:33: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'), 47636, 'SRID=4674;POINT (-40.350961 -2.798593)', '2026-07-06 05:35:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350956 -2.798579)'), GeomFromEWKT('SRID=4674;POINT (-40.350961 -2.798593)'))) / (select extract(epoch from '2026-07-06 05:35:03'::timestamp) - extract(epoch from '2026-07-06 05:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350956 -2.798579)'), GeomFromEWKT('SRID=4674;POINT (-40.350961 -2.798593)'))) / (select extract(epoch from '2026-07-06 05:35:03'::timestamp) - extract(epoch from '2026-07-06 05:34: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'), 47636, 'SRID=4674;POINT (-40.350962 -2.798582)', '2026-07-06 05:35:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350961 -2.798593)'), GeomFromEWKT('SRID=4674;POINT (-40.350962 -2.798582)'))) / (select extract(epoch from '2026-07-06 05:35:46'::timestamp) - extract(epoch from '2026-07-06 05:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350961 -2.798593)'), GeomFromEWKT('SRID=4674;POINT (-40.350962 -2.798582)'))) / (select extract(epoch from '2026-07-06 05:35:46'::timestamp) - extract(epoch from '2026-07-06 05:35: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'), 47636, 'SRID=4674;POINT (-40.350956 -2.798574)', '2026-07-06 05:36:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350962 -2.798582)'), GeomFromEWKT('SRID=4674;POINT (-40.350956 -2.798574)'))) / (select extract(epoch from '2026-07-06 05:36:46'::timestamp) - extract(epoch from '2026-07-06 05:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350962 -2.798582)'), GeomFromEWKT('SRID=4674;POINT (-40.350956 -2.798574)'))) / (select extract(epoch from '2026-07-06 05:36:46'::timestamp) - extract(epoch from '2026-07-06 05:35: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'), 47636, 'SRID=4674;POINT (-40.350951 -2.798568)', '2026-07-06 05:37:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350956 -2.798574)'), GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798568)'))) / (select extract(epoch from '2026-07-06 05:37:32'::timestamp) - extract(epoch from '2026-07-06 05:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350956 -2.798574)'), GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798568)'))) / (select extract(epoch from '2026-07-06 05:37:32'::timestamp) - extract(epoch from '2026-07-06 05:36:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350953 -2.798584)', '2026-07-06 05:38:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798568)'), GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798584)'))) / (select extract(epoch from '2026-07-06 05:38:16'::timestamp) - extract(epoch from '2026-07-06 05:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.798568)'), GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798584)'))) / (select extract(epoch from '2026-07-06 05:38:16'::timestamp) - extract(epoch from '2026-07-06 05:37: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'), 47636, 'SRID=4674;POINT (-40.350905 -2.798595)', '2026-07-06 05:38:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798584)'), GeomFromEWKT('SRID=4674;POINT (-40.350905 -2.798595)'))) / (select extract(epoch from '2026-07-06 05:38:46'::timestamp) - extract(epoch from '2026-07-06 05:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350953 -2.798584)'), GeomFromEWKT('SRID=4674;POINT (-40.350905 -2.798595)'))) / (select extract(epoch from '2026-07-06 05:38:46'::timestamp) - extract(epoch from '2026-07-06 05:38:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47636, 'SRID=4674;POINT (-40.350791 -2.798602)', '2026-07-06 05:39:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350905 -2.798595)'), GeomFromEWKT('SRID=4674;POINT (-40.350791 -2.798602)'))) / (select extract(epoch from '2026-07-06 05:39:06'::timestamp) - extract(epoch from '2026-07-06 05:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350905 -2.798595)'), GeomFromEWKT('SRID=4674;POINT (-40.350791 -2.798602)'))) / (select extract(epoch from '2026-07-06 05:39:06'::timestamp) - extract(epoch from '2026-07-06 05:38:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
