 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368886 -2.80341)', '2026-07-29 07:54:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368868 -2.803426)'), GeomFromEWKT('SRID=4674;POINT (-40.368886 -2.80341)'))) / (select extract(epoch from '2026-07-29 07:54:22'::timestamp) - extract(epoch from '2026-07-29 07:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368868 -2.803426)'), GeomFromEWKT('SRID=4674;POINT (-40.368886 -2.80341)'))) / (select extract(epoch from '2026-07-29 07:54:22'::timestamp) - extract(epoch from '2026-07-29 07:54: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'), 47641, 'SRID=4674;POINT (-40.36893 -2.803415)', '2026-07-29 07:54:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368886 -2.80341)'), GeomFromEWKT('SRID=4674;POINT (-40.36893 -2.803415)'))) / (select extract(epoch from '2026-07-29 07:54:34'::timestamp) - extract(epoch from '2026-07-29 07:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368886 -2.80341)'), GeomFromEWKT('SRID=4674;POINT (-40.36893 -2.803415)'))) / (select extract(epoch from '2026-07-29 07:54:34'::timestamp) - extract(epoch from '2026-07-29 07:54: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'), 47641, 'SRID=4674;POINT (-40.368962 -2.803499)', '2026-07-29 07:54:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36893 -2.803415)'), GeomFromEWKT('SRID=4674;POINT (-40.368962 -2.803499)'))) / (select extract(epoch from '2026-07-29 07:54:41'::timestamp) - extract(epoch from '2026-07-29 07:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36893 -2.803415)'), GeomFromEWKT('SRID=4674;POINT (-40.368962 -2.803499)'))) / (select extract(epoch from '2026-07-29 07:54:41'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.368937 -2.803611)', '2026-07-29 07:54:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368962 -2.803499)'), GeomFromEWKT('SRID=4674;POINT (-40.368937 -2.803611)'))) / (select extract(epoch from '2026-07-29 07:54:47'::timestamp) - extract(epoch from '2026-07-29 07:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368962 -2.803499)'), GeomFromEWKT('SRID=4674;POINT (-40.368937 -2.803611)'))) / (select extract(epoch from '2026-07-29 07:54:47'::timestamp) - extract(epoch from '2026-07-29 07:54:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368883 -2.803754)', '2026-07-29 07:54:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368937 -2.803611)'), GeomFromEWKT('SRID=4674;POINT (-40.368883 -2.803754)'))) / (select extract(epoch from '2026-07-29 07:54:54'::timestamp) - extract(epoch from '2026-07-29 07:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368937 -2.803611)'), GeomFromEWKT('SRID=4674;POINT (-40.368883 -2.803754)'))) / (select extract(epoch from '2026-07-29 07:54:54'::timestamp) - extract(epoch from '2026-07-29 07:54: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'), 47641, 'SRID=4674;POINT (-40.36882 -2.803893)', '2026-07-29 07:55:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368883 -2.803754)'), GeomFromEWKT('SRID=4674;POINT (-40.36882 -2.803893)'))) / (select extract(epoch from '2026-07-29 07:55:01'::timestamp) - extract(epoch from '2026-07-29 07:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368883 -2.803754)'), GeomFromEWKT('SRID=4674;POINT (-40.36882 -2.803893)'))) / (select extract(epoch from '2026-07-29 07:55:01'::timestamp) - extract(epoch from '2026-07-29 07:54: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'), 47641, 'SRID=4674;POINT (-40.368734 -2.804019)', '2026-07-29 07:55:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36882 -2.803893)'), GeomFromEWKT('SRID=4674;POINT (-40.368734 -2.804019)'))) / (select extract(epoch from '2026-07-29 07:55:08'::timestamp) - extract(epoch from '2026-07-29 07:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36882 -2.803893)'), GeomFromEWKT('SRID=4674;POINT (-40.368734 -2.804019)'))) / (select extract(epoch from '2026-07-29 07:55:08'::timestamp) - extract(epoch from '2026-07-29 07:55:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368664 -2.804101)', '2026-07-29 07:55:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368734 -2.804019)'), GeomFromEWKT('SRID=4674;POINT (-40.368664 -2.804101)'))) / (select extract(epoch from '2026-07-29 07:55:13'::timestamp) - extract(epoch from '2026-07-29 07:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368734 -2.804019)'), GeomFromEWKT('SRID=4674;POINT (-40.368664 -2.804101)'))) / (select extract(epoch from '2026-07-29 07:55:13'::timestamp) - extract(epoch from '2026-07-29 07:55:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368567 -2.804261)', '2026-07-29 07:55:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368664 -2.804101)'), GeomFromEWKT('SRID=4674;POINT (-40.368567 -2.804261)'))) / (select extract(epoch from '2026-07-29 07:55:22'::timestamp) - extract(epoch from '2026-07-29 07:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368664 -2.804101)'), GeomFromEWKT('SRID=4674;POINT (-40.368567 -2.804261)'))) / (select extract(epoch from '2026-07-29 07:55:22'::timestamp) - extract(epoch from '2026-07-29 07:55: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'), 47641, 'SRID=4674;POINT (-40.368487 -2.804405)', '2026-07-29 07:55:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368567 -2.804261)'), GeomFromEWKT('SRID=4674;POINT (-40.368487 -2.804405)'))) / (select extract(epoch from '2026-07-29 07:55:30'::timestamp) - extract(epoch from '2026-07-29 07:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368567 -2.804261)'), GeomFromEWKT('SRID=4674;POINT (-40.368487 -2.804405)'))) / (select extract(epoch from '2026-07-29 07:55:30'::timestamp) - extract(epoch from '2026-07-29 07:55: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'), 47641, 'SRID=4674;POINT (-40.368399 -2.804517)', '2026-07-29 07:55:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368487 -2.804405)'), GeomFromEWKT('SRID=4674;POINT (-40.368399 -2.804517)'))) / (select extract(epoch from '2026-07-29 07:55:37'::timestamp) - extract(epoch from '2026-07-29 07:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368487 -2.804405)'), GeomFromEWKT('SRID=4674;POINT (-40.368399 -2.804517)'))) / (select extract(epoch from '2026-07-29 07:55:37'::timestamp) - extract(epoch from '2026-07-29 07:55:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368317 -2.804605)', '2026-07-29 07:55:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368399 -2.804517)'), GeomFromEWKT('SRID=4674;POINT (-40.368317 -2.804605)'))) / (select extract(epoch from '2026-07-29 07:55:43'::timestamp) - extract(epoch from '2026-07-29 07:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368399 -2.804517)'), GeomFromEWKT('SRID=4674;POINT (-40.368317 -2.804605)'))) / (select extract(epoch from '2026-07-29 07:55:43'::timestamp) - extract(epoch from '2026-07-29 07:55:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368212 -2.804721)', '2026-07-29 07:55:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368317 -2.804605)'), GeomFromEWKT('SRID=4674;POINT (-40.368212 -2.804721)'))) / (select extract(epoch from '2026-07-29 07:55:51'::timestamp) - extract(epoch from '2026-07-29 07:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368317 -2.804605)'), GeomFromEWKT('SRID=4674;POINT (-40.368212 -2.804721)'))) / (select extract(epoch from '2026-07-29 07:55:51'::timestamp) - extract(epoch from '2026-07-29 07:55:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368113 -2.804823)', '2026-07-29 07:55:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368212 -2.804721)'), GeomFromEWKT('SRID=4674;POINT (-40.368113 -2.804823)'))) / (select extract(epoch from '2026-07-29 07:55:58'::timestamp) - extract(epoch from '2026-07-29 07:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368212 -2.804721)'), GeomFromEWKT('SRID=4674;POINT (-40.368113 -2.804823)'))) / (select extract(epoch from '2026-07-29 07:55:58'::timestamp) - extract(epoch from '2026-07-29 07:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.367995 -2.804935)', '2026-07-29 07:56:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368113 -2.804823)'), GeomFromEWKT('SRID=4674;POINT (-40.367995 -2.804935)'))) / (select extract(epoch from '2026-07-29 07:56:06'::timestamp) - extract(epoch from '2026-07-29 07:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368113 -2.804823)'), GeomFromEWKT('SRID=4674;POINT (-40.367995 -2.804935)'))) / (select extract(epoch from '2026-07-29 07:56:06'::timestamp) - extract(epoch from '2026-07-29 07:55: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'), 47641, 'SRID=4674;POINT (-40.367884 -2.805028)', '2026-07-29 07:56:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367995 -2.804935)'), GeomFromEWKT('SRID=4674;POINT (-40.367884 -2.805028)'))) / (select extract(epoch from '2026-07-29 07:56:13'::timestamp) - extract(epoch from '2026-07-29 07:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367995 -2.804935)'), GeomFromEWKT('SRID=4674;POINT (-40.367884 -2.805028)'))) / (select extract(epoch from '2026-07-29 07:56:13'::timestamp) - extract(epoch from '2026-07-29 07:56:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.367803 -2.805097)', '2026-07-29 07:56:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367884 -2.805028)'), GeomFromEWKT('SRID=4674;POINT (-40.367803 -2.805097)'))) / (select extract(epoch from '2026-07-29 07:56:18'::timestamp) - extract(epoch from '2026-07-29 07:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367884 -2.805028)'), GeomFromEWKT('SRID=4674;POINT (-40.367803 -2.805097)'))) / (select extract(epoch from '2026-07-29 07:56:18'::timestamp) - extract(epoch from '2026-07-29 07:56: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'), 47641, 'SRID=4674;POINT (-40.367705 -2.805167)', '2026-07-29 07:56:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367803 -2.805097)'), GeomFromEWKT('SRID=4674;POINT (-40.367705 -2.805167)'))) / (select extract(epoch from '2026-07-29 07:56:24'::timestamp) - extract(epoch from '2026-07-29 07:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367803 -2.805097)'), GeomFromEWKT('SRID=4674;POINT (-40.367705 -2.805167)'))) / (select extract(epoch from '2026-07-29 07:56:24'::timestamp) - extract(epoch from '2026-07-29 07:56: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'), 47641, 'SRID=4674;POINT (-40.367588 -2.805256)', '2026-07-29 07:56:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367705 -2.805167)'), GeomFromEWKT('SRID=4674;POINT (-40.367588 -2.805256)'))) / (select extract(epoch from '2026-07-29 07:56:31'::timestamp) - extract(epoch from '2026-07-29 07:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367705 -2.805167)'), GeomFromEWKT('SRID=4674;POINT (-40.367588 -2.805256)'))) / (select extract(epoch from '2026-07-29 07:56:31'::timestamp) - extract(epoch from '2026-07-29 07:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.367451 -2.80535)', '2026-07-29 07:56:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367588 -2.805256)'), GeomFromEWKT('SRID=4674;POINT (-40.367451 -2.80535)'))) / (select extract(epoch from '2026-07-29 07:56:39'::timestamp) - extract(epoch from '2026-07-29 07:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367588 -2.805256)'), GeomFromEWKT('SRID=4674;POINT (-40.367451 -2.80535)'))) / (select extract(epoch from '2026-07-29 07:56:39'::timestamp) - extract(epoch from '2026-07-29 07:56:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.367309 -2.805436)', '2026-07-29 07:56:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367451 -2.80535)'), GeomFromEWKT('SRID=4674;POINT (-40.367309 -2.805436)'))) / (select extract(epoch from '2026-07-29 07:56:47'::timestamp) - extract(epoch from '2026-07-29 07:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367451 -2.80535)'), GeomFromEWKT('SRID=4674;POINT (-40.367309 -2.805436)'))) / (select extract(epoch from '2026-07-29 07:56:47'::timestamp) - extract(epoch from '2026-07-29 07:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.367188 -2.805524)', '2026-07-29 07:56:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367309 -2.805436)'), GeomFromEWKT('SRID=4674;POINT (-40.367188 -2.805524)'))) / (select extract(epoch from '2026-07-29 07:56:54'::timestamp) - extract(epoch from '2026-07-29 07:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367309 -2.805436)'), GeomFromEWKT('SRID=4674;POINT (-40.367188 -2.805524)'))) / (select extract(epoch from '2026-07-29 07:56:54'::timestamp) - extract(epoch from '2026-07-29 07:56:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.367067 -2.805634)', '2026-07-29 07:57:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367188 -2.805524)'), GeomFromEWKT('SRID=4674;POINT (-40.367067 -2.805634)'))) / (select extract(epoch from '2026-07-29 07:57:02'::timestamp) - extract(epoch from '2026-07-29 07:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367188 -2.805524)'), GeomFromEWKT('SRID=4674;POINT (-40.367067 -2.805634)'))) / (select extract(epoch from '2026-07-29 07:57:02'::timestamp) - extract(epoch from '2026-07-29 07:56: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'), 47641, 'SRID=4674;POINT (-40.366947 -2.805708)', '2026-07-29 07:57:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367067 -2.805634)'), GeomFromEWKT('SRID=4674;POINT (-40.366947 -2.805708)'))) / (select extract(epoch from '2026-07-29 07:57:09'::timestamp) - extract(epoch from '2026-07-29 07:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367067 -2.805634)'), GeomFromEWKT('SRID=4674;POINT (-40.366947 -2.805708)'))) / (select extract(epoch from '2026-07-29 07:57:09'::timestamp) - extract(epoch from '2026-07-29 07:57: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'), 47641, 'SRID=4674;POINT (-40.366799 -2.805773)', '2026-07-29 07:57:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366947 -2.805708)'), GeomFromEWKT('SRID=4674;POINT (-40.366799 -2.805773)'))) / (select extract(epoch from '2026-07-29 07:57:17'::timestamp) - extract(epoch from '2026-07-29 07:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366947 -2.805708)'), GeomFromEWKT('SRID=4674;POINT (-40.366799 -2.805773)'))) / (select extract(epoch from '2026-07-29 07:57:17'::timestamp) - extract(epoch from '2026-07-29 07:57: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'), 47641, 'SRID=4674;POINT (-40.366762 -2.805783)', '2026-07-29 07:57:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366799 -2.805773)'), GeomFromEWKT('SRID=4674;POINT (-40.366762 -2.805783)'))) / (select extract(epoch from '2026-07-29 07:57:19'::timestamp) - extract(epoch from '2026-07-29 07:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366799 -2.805773)'), GeomFromEWKT('SRID=4674;POINT (-40.366762 -2.805783)'))) / (select extract(epoch from '2026-07-29 07:57:19'::timestamp) - extract(epoch from '2026-07-29 07:57:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.366725 -2.805791)', '2026-07-29 07:57:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366762 -2.805783)'), GeomFromEWKT('SRID=4674;POINT (-40.366725 -2.805791)'))) / (select extract(epoch from '2026-07-29 07:57:21'::timestamp) - extract(epoch from '2026-07-29 07:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366762 -2.805783)'), GeomFromEWKT('SRID=4674;POINT (-40.366725 -2.805791)'))) / (select extract(epoch from '2026-07-29 07:57:21'::timestamp) - extract(epoch from '2026-07-29 07:57: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'), 47641, 'SRID=4674;POINT (-40.36659 -2.805835)', '2026-07-29 07:57:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366725 -2.805791)'), GeomFromEWKT('SRID=4674;POINT (-40.36659 -2.805835)'))) / (select extract(epoch from '2026-07-29 07:57:28'::timestamp) - extract(epoch from '2026-07-29 07:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366725 -2.805791)'), GeomFromEWKT('SRID=4674;POINT (-40.36659 -2.805835)'))) / (select extract(epoch from '2026-07-29 07:57:28'::timestamp) - extract(epoch from '2026-07-29 07:57:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.366504 -2.805864)', '2026-07-29 07:57:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36659 -2.805835)'), GeomFromEWKT('SRID=4674;POINT (-40.366504 -2.805864)'))) / (select extract(epoch from '2026-07-29 07:57:32'::timestamp) - extract(epoch from '2026-07-29 07:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36659 -2.805835)'), GeomFromEWKT('SRID=4674;POINT (-40.366504 -2.805864)'))) / (select extract(epoch from '2026-07-29 07:57:32'::timestamp) - extract(epoch from '2026-07-29 07:57:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.366442 -2.805872)', '2026-07-29 07:57:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366504 -2.805864)'), GeomFromEWKT('SRID=4674;POINT (-40.366442 -2.805872)'))) / (select extract(epoch from '2026-07-29 07:57:35'::timestamp) - extract(epoch from '2026-07-29 07:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366504 -2.805864)'), GeomFromEWKT('SRID=4674;POINT (-40.366442 -2.805872)'))) / (select extract(epoch from '2026-07-29 07:57:35'::timestamp) - extract(epoch from '2026-07-29 07:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.366299 -2.805908)', '2026-07-29 07:57:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366442 -2.805872)'), GeomFromEWKT('SRID=4674;POINT (-40.366299 -2.805908)'))) / (select extract(epoch from '2026-07-29 07:57:42'::timestamp) - extract(epoch from '2026-07-29 07:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366442 -2.805872)'), GeomFromEWKT('SRID=4674;POINT (-40.366299 -2.805908)'))) / (select extract(epoch from '2026-07-29 07:57:42'::timestamp) - extract(epoch from '2026-07-29 07:57: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'), 47641, 'SRID=4674;POINT (-40.366125 -2.805967)', '2026-07-29 07:57:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366299 -2.805908)'), GeomFromEWKT('SRID=4674;POINT (-40.366125 -2.805967)'))) / (select extract(epoch from '2026-07-29 07:57:51'::timestamp) - extract(epoch from '2026-07-29 07:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366299 -2.805908)'), GeomFromEWKT('SRID=4674;POINT (-40.366125 -2.805967)'))) / (select extract(epoch from '2026-07-29 07:57:51'::timestamp) - extract(epoch from '2026-07-29 07:57: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'), 47641, 'SRID=4674;POINT (-40.366008 -2.806012)', '2026-07-29 07:57:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366125 -2.805967)'), GeomFromEWKT('SRID=4674;POINT (-40.366008 -2.806012)'))) / (select extract(epoch from '2026-07-29 07:57:57'::timestamp) - extract(epoch from '2026-07-29 07:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366125 -2.805967)'), GeomFromEWKT('SRID=4674;POINT (-40.366008 -2.806012)'))) / (select extract(epoch from '2026-07-29 07:57:57'::timestamp) - extract(epoch from '2026-07-29 07:57: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'), 47641, 'SRID=4674;POINT (-40.365898 -2.806062)', '2026-07-29 07:58:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366008 -2.806012)'), GeomFromEWKT('SRID=4674;POINT (-40.365898 -2.806062)'))) / (select extract(epoch from '2026-07-29 07:58:03'::timestamp) - extract(epoch from '2026-07-29 07:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366008 -2.806012)'), GeomFromEWKT('SRID=4674;POINT (-40.365898 -2.806062)'))) / (select extract(epoch from '2026-07-29 07:58:03'::timestamp) - extract(epoch from '2026-07-29 07:57: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'), 47641, 'SRID=4674;POINT (-40.365763 -2.806155)', '2026-07-29 07:58:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365898 -2.806062)'), GeomFromEWKT('SRID=4674;POINT (-40.365763 -2.806155)'))) / (select extract(epoch from '2026-07-29 07:58:11'::timestamp) - extract(epoch from '2026-07-29 07:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365898 -2.806062)'), GeomFromEWKT('SRID=4674;POINT (-40.365763 -2.806155)'))) / (select extract(epoch from '2026-07-29 07:58:11'::timestamp) - extract(epoch from '2026-07-29 07:58: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'), 47641, 'SRID=4674;POINT (-40.365601 -2.806247)', '2026-07-29 07:58:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365763 -2.806155)'), GeomFromEWKT('SRID=4674;POINT (-40.365601 -2.806247)'))) / (select extract(epoch from '2026-07-29 07:58:20'::timestamp) - extract(epoch from '2026-07-29 07:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365763 -2.806155)'), GeomFromEWKT('SRID=4674;POINT (-40.365601 -2.806247)'))) / (select extract(epoch from '2026-07-29 07:58:20'::timestamp) - extract(epoch from '2026-07-29 07:58:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.365474 -2.806313)', '2026-07-29 07:58:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365601 -2.806247)'), GeomFromEWKT('SRID=4674;POINT (-40.365474 -2.806313)'))) / (select extract(epoch from '2026-07-29 07:58:27'::timestamp) - extract(epoch from '2026-07-29 07:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365601 -2.806247)'), GeomFromEWKT('SRID=4674;POINT (-40.365474 -2.806313)'))) / (select extract(epoch from '2026-07-29 07:58:27'::timestamp) - extract(epoch from '2026-07-29 07:58: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'), 47641, 'SRID=4674;POINT (-40.365343 -2.806378)', '2026-07-29 07:58:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365474 -2.806313)'), GeomFromEWKT('SRID=4674;POINT (-40.365343 -2.806378)'))) / (select extract(epoch from '2026-07-29 07:58:34'::timestamp) - extract(epoch from '2026-07-29 07:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365474 -2.806313)'), GeomFromEWKT('SRID=4674;POINT (-40.365343 -2.806378)'))) / (select extract(epoch from '2026-07-29 07:58:34'::timestamp) - extract(epoch from '2026-07-29 07:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.365255 -2.80642)', '2026-07-29 07:58:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365343 -2.806378)'), GeomFromEWKT('SRID=4674;POINT (-40.365255 -2.80642)'))) / (select extract(epoch from '2026-07-29 07:58:39'::timestamp) - extract(epoch from '2026-07-29 07:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365343 -2.806378)'), GeomFromEWKT('SRID=4674;POINT (-40.365255 -2.80642)'))) / (select extract(epoch from '2026-07-29 07:58:39'::timestamp) - extract(epoch from '2026-07-29 07:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.365146 -2.806475)', '2026-07-29 07:58:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365255 -2.80642)'), GeomFromEWKT('SRID=4674;POINT (-40.365146 -2.806475)'))) / (select extract(epoch from '2026-07-29 07:58:45'::timestamp) - extract(epoch from '2026-07-29 07:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365255 -2.80642)'), GeomFromEWKT('SRID=4674;POINT (-40.365146 -2.806475)'))) / (select extract(epoch from '2026-07-29 07:58:45'::timestamp) - extract(epoch from '2026-07-29 07:58: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'), 47641, 'SRID=4674;POINT (-40.364998 -2.806551)', '2026-07-29 07:58:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365146 -2.806475)'), GeomFromEWKT('SRID=4674;POINT (-40.364998 -2.806551)'))) / (select extract(epoch from '2026-07-29 07:58:53'::timestamp) - extract(epoch from '2026-07-29 07:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365146 -2.806475)'), GeomFromEWKT('SRID=4674;POINT (-40.364998 -2.806551)'))) / (select extract(epoch from '2026-07-29 07:58:53'::timestamp) - extract(epoch from '2026-07-29 07:58:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.364807 -2.806643)', '2026-07-29 07:59:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364998 -2.806551)'), GeomFromEWKT('SRID=4674;POINT (-40.364807 -2.806643)'))) / (select extract(epoch from '2026-07-29 07:59:03'::timestamp) - extract(epoch from '2026-07-29 07:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364998 -2.806551)'), GeomFromEWKT('SRID=4674;POINT (-40.364807 -2.806643)'))) / (select extract(epoch from '2026-07-29 07:59:03'::timestamp) - extract(epoch from '2026-07-29 07:58:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.36463 -2.806703)', '2026-07-29 07:59:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364807 -2.806643)'), GeomFromEWKT('SRID=4674;POINT (-40.36463 -2.806703)'))) / (select extract(epoch from '2026-07-29 07:59:12'::timestamp) - extract(epoch from '2026-07-29 07:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364807 -2.806643)'), GeomFromEWKT('SRID=4674;POINT (-40.36463 -2.806703)'))) / (select extract(epoch from '2026-07-29 07:59:12'::timestamp) - extract(epoch from '2026-07-29 07:59: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'), 47641, 'SRID=4674;POINT (-40.364536 -2.806742)', '2026-07-29 07:59:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36463 -2.806703)'), GeomFromEWKT('SRID=4674;POINT (-40.364536 -2.806742)'))) / (select extract(epoch from '2026-07-29 07:59:17'::timestamp) - extract(epoch from '2026-07-29 07:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36463 -2.806703)'), GeomFromEWKT('SRID=4674;POINT (-40.364536 -2.806742)'))) / (select extract(epoch from '2026-07-29 07:59:17'::timestamp) - extract(epoch from '2026-07-29 07:59: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'), 47641, 'SRID=4674;POINT (-40.36438 -2.8068)', '2026-07-29 07:59:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364536 -2.806742)'), GeomFromEWKT('SRID=4674;POINT (-40.36438 -2.8068)'))) / (select extract(epoch from '2026-07-29 07:59:25'::timestamp) - extract(epoch from '2026-07-29 07:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364536 -2.806742)'), GeomFromEWKT('SRID=4674;POINT (-40.36438 -2.8068)'))) / (select extract(epoch from '2026-07-29 07:59:25'::timestamp) - extract(epoch from '2026-07-29 07:59: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'), 47641, 'SRID=4674;POINT (-40.36422 -2.806854)', '2026-07-29 07:59:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36438 -2.8068)'), GeomFromEWKT('SRID=4674;POINT (-40.36422 -2.806854)'))) / (select extract(epoch from '2026-07-29 07:59:33'::timestamp) - extract(epoch from '2026-07-29 07:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36438 -2.8068)'), GeomFromEWKT('SRID=4674;POINT (-40.36422 -2.806854)'))) / (select extract(epoch from '2026-07-29 07:59:33'::timestamp) - extract(epoch from '2026-07-29 07:59:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.364065 -2.806909)', '2026-07-29 07:59:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36422 -2.806854)'), GeomFromEWKT('SRID=4674;POINT (-40.364065 -2.806909)'))) / (select extract(epoch from '2026-07-29 07:59:41'::timestamp) - extract(epoch from '2026-07-29 07:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36422 -2.806854)'), GeomFromEWKT('SRID=4674;POINT (-40.364065 -2.806909)'))) / (select extract(epoch from '2026-07-29 07:59:41'::timestamp) - extract(epoch from '2026-07-29 07:59: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'), 47641, 'SRID=4674;POINT (-40.363897 -2.806975)', '2026-07-29 07:59:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364065 -2.806909)'), GeomFromEWKT('SRID=4674;POINT (-40.363897 -2.806975)'))) / (select extract(epoch from '2026-07-29 07:59:50'::timestamp) - extract(epoch from '2026-07-29 07:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364065 -2.806909)'), GeomFromEWKT('SRID=4674;POINT (-40.363897 -2.806975)'))) / (select extract(epoch from '2026-07-29 07:59:50'::timestamp) - extract(epoch from '2026-07-29 07:59: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'), 47641, 'SRID=4674;POINT (-40.363782 -2.807035)', '2026-07-29 07:59:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363897 -2.806975)'), GeomFromEWKT('SRID=4674;POINT (-40.363782 -2.807035)'))) / (select extract(epoch from '2026-07-29 07:59:56'::timestamp) - extract(epoch from '2026-07-29 07:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363897 -2.806975)'), GeomFromEWKT('SRID=4674;POINT (-40.363782 -2.807035)'))) / (select extract(epoch from '2026-07-29 07:59:56'::timestamp) - extract(epoch from '2026-07-29 07:59: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'), 47641, 'SRID=4674;POINT (-40.363611 -2.807111)', '2026-07-29 08:00:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363782 -2.807035)'), GeomFromEWKT('SRID=4674;POINT (-40.363611 -2.807111)'))) / (select extract(epoch from '2026-07-29 08:00:05'::timestamp) - extract(epoch from '2026-07-29 07:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363782 -2.807035)'), GeomFromEWKT('SRID=4674;POINT (-40.363611 -2.807111)'))) / (select extract(epoch from '2026-07-29 08:00:05'::timestamp) - extract(epoch from '2026-07-29 07:59: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'), 47641, 'SRID=4674;POINT (-40.3635 -2.807161)', '2026-07-29 08:00:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363611 -2.807111)'), GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.807161)'))) / (select extract(epoch from '2026-07-29 08:00:11'::timestamp) - extract(epoch from '2026-07-29 08:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363611 -2.807111)'), GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.807161)'))) / (select extract(epoch from '2026-07-29 08:00:11'::timestamp) - extract(epoch from '2026-07-29 08:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.363369 -2.807222)', '2026-07-29 08:00:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.807161)'), GeomFromEWKT('SRID=4674;POINT (-40.363369 -2.807222)'))) / (select extract(epoch from '2026-07-29 08:00:18'::timestamp) - extract(epoch from '2026-07-29 08:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.807161)'), GeomFromEWKT('SRID=4674;POINT (-40.363369 -2.807222)'))) / (select extract(epoch from '2026-07-29 08:00:18'::timestamp) - extract(epoch from '2026-07-29 08: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'), 47641, 'SRID=4674;POINT (-40.363253 -2.807271)', '2026-07-29 08:00:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363369 -2.807222)'), GeomFromEWKT('SRID=4674;POINT (-40.363253 -2.807271)'))) / (select extract(epoch from '2026-07-29 08:00:24'::timestamp) - extract(epoch from '2026-07-29 08:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363369 -2.807222)'), GeomFromEWKT('SRID=4674;POINT (-40.363253 -2.807271)'))) / (select extract(epoch from '2026-07-29 08:00:24'::timestamp) - extract(epoch from '2026-07-29 08:00: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'), 47641, 'SRID=4674;POINT (-40.363099 -2.807341)', '2026-07-29 08:00:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363253 -2.807271)'), GeomFromEWKT('SRID=4674;POINT (-40.363099 -2.807341)'))) / (select extract(epoch from '2026-07-29 08:00:32'::timestamp) - extract(epoch from '2026-07-29 08:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363253 -2.807271)'), GeomFromEWKT('SRID=4674;POINT (-40.363099 -2.807341)'))) / (select extract(epoch from '2026-07-29 08:00:32'::timestamp) - extract(epoch from '2026-07-29 08:00:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.362981 -2.807379)', '2026-07-29 08:00:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363099 -2.807341)'), GeomFromEWKT('SRID=4674;POINT (-40.362981 -2.807379)'))) / (select extract(epoch from '2026-07-29 08:00:38'::timestamp) - extract(epoch from '2026-07-29 08:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363099 -2.807341)'), GeomFromEWKT('SRID=4674;POINT (-40.362981 -2.807379)'))) / (select extract(epoch from '2026-07-29 08:00:38'::timestamp) - extract(epoch from '2026-07-29 08:00: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'), 47641, 'SRID=4674;POINT (-40.362842 -2.807405)', '2026-07-29 08:00:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362981 -2.807379)'), GeomFromEWKT('SRID=4674;POINT (-40.362842 -2.807405)'))) / (select extract(epoch from '2026-07-29 08:00:45'::timestamp) - extract(epoch from '2026-07-29 08:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362981 -2.807379)'), GeomFromEWKT('SRID=4674;POINT (-40.362842 -2.807405)'))) / (select extract(epoch from '2026-07-29 08:00:45'::timestamp) - extract(epoch from '2026-07-29 08:00:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.362667 -2.807466)', '2026-07-29 08:00:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362842 -2.807405)'), GeomFromEWKT('SRID=4674;POINT (-40.362667 -2.807466)'))) / (select extract(epoch from '2026-07-29 08:00:54'::timestamp) - extract(epoch from '2026-07-29 08:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362842 -2.807405)'), GeomFromEWKT('SRID=4674;POINT (-40.362667 -2.807466)'))) / (select extract(epoch from '2026-07-29 08:00:54'::timestamp) - extract(epoch from '2026-07-29 08:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.362532 -2.807529)', '2026-07-29 08:01:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362667 -2.807466)'), GeomFromEWKT('SRID=4674;POINT (-40.362532 -2.807529)'))) / (select extract(epoch from '2026-07-29 08:01:01'::timestamp) - extract(epoch from '2026-07-29 08:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362667 -2.807466)'), GeomFromEWKT('SRID=4674;POINT (-40.362532 -2.807529)'))) / (select extract(epoch from '2026-07-29 08:01:01'::timestamp) - extract(epoch from '2026-07-29 08:00:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.362371 -2.807577)', '2026-07-29 08:01:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362532 -2.807529)'), GeomFromEWKT('SRID=4674;POINT (-40.362371 -2.807577)'))) / (select extract(epoch from '2026-07-29 08:01:09'::timestamp) - extract(epoch from '2026-07-29 08:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362532 -2.807529)'), GeomFromEWKT('SRID=4674;POINT (-40.362371 -2.807577)'))) / (select extract(epoch from '2026-07-29 08:01:09'::timestamp) - extract(epoch from '2026-07-29 08: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'), 47641, 'SRID=4674;POINT (-40.362227 -2.807615)', '2026-07-29 08:01:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362371 -2.807577)'), GeomFromEWKT('SRID=4674;POINT (-40.362227 -2.807615)'))) / (select extract(epoch from '2026-07-29 08:01:16'::timestamp) - extract(epoch from '2026-07-29 08:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362371 -2.807577)'), GeomFromEWKT('SRID=4674;POINT (-40.362227 -2.807615)'))) / (select extract(epoch from '2026-07-29 08:01:16'::timestamp) - extract(epoch from '2026-07-29 08:01: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'), 47641, 'SRID=4674;POINT (-40.362062 -2.807643)', '2026-07-29 08:01:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362227 -2.807615)'), GeomFromEWKT('SRID=4674;POINT (-40.362062 -2.807643)'))) / (select extract(epoch from '2026-07-29 08:01:24'::timestamp) - extract(epoch from '2026-07-29 08:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362227 -2.807615)'), GeomFromEWKT('SRID=4674;POINT (-40.362062 -2.807643)'))) / (select extract(epoch from '2026-07-29 08:01:24'::timestamp) - extract(epoch from '2026-07-29 08:01: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'), 47641, 'SRID=4674;POINT (-40.361935 -2.807671)', '2026-07-29 08:01:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362062 -2.807643)'), GeomFromEWKT('SRID=4674;POINT (-40.361935 -2.807671)'))) / (select extract(epoch from '2026-07-29 08:01:30'::timestamp) - extract(epoch from '2026-07-29 08:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362062 -2.807643)'), GeomFromEWKT('SRID=4674;POINT (-40.361935 -2.807671)'))) / (select extract(epoch from '2026-07-29 08:01:30'::timestamp) - extract(epoch from '2026-07-29 08:01: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'), 47641, 'SRID=4674;POINT (-40.361797 -2.807723)', '2026-07-29 08:01:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361935 -2.807671)'), GeomFromEWKT('SRID=4674;POINT (-40.361797 -2.807723)'))) / (select extract(epoch from '2026-07-29 08:01:37'::timestamp) - extract(epoch from '2026-07-29 08:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361935 -2.807671)'), GeomFromEWKT('SRID=4674;POINT (-40.361797 -2.807723)'))) / (select extract(epoch from '2026-07-29 08:01:37'::timestamp) - extract(epoch from '2026-07-29 08:01: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'), 47641, 'SRID=4674;POINT (-40.361617 -2.807784)', '2026-07-29 08:01:46', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361797 -2.807723)'), GeomFromEWKT('SRID=4674;POINT (-40.361617 -2.807784)'))) / (select extract(epoch from '2026-07-29 08:01:46'::timestamp) - extract(epoch from '2026-07-29 08:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361797 -2.807723)'), GeomFromEWKT('SRID=4674;POINT (-40.361617 -2.807784)'))) / (select extract(epoch from '2026-07-29 08:01:46'::timestamp) - extract(epoch from '2026-07-29 08:01: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'), 47641, 'SRID=4674;POINT (-40.36143 -2.807824)', '2026-07-29 08:01:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361617 -2.807784)'), GeomFromEWKT('SRID=4674;POINT (-40.36143 -2.807824)'))) / (select extract(epoch from '2026-07-29 08:01:55'::timestamp) - extract(epoch from '2026-07-29 08:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361617 -2.807784)'), GeomFromEWKT('SRID=4674;POINT (-40.36143 -2.807824)'))) / (select extract(epoch from '2026-07-29 08:01:55'::timestamp) - extract(epoch from '2026-07-29 08:01:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.361327 -2.807827)', '2026-07-29 08:02:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36143 -2.807824)'), GeomFromEWKT('SRID=4674;POINT (-40.361327 -2.807827)'))) / (select extract(epoch from '2026-07-29 08:02:00'::timestamp) - extract(epoch from '2026-07-29 08:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36143 -2.807824)'), GeomFromEWKT('SRID=4674;POINT (-40.361327 -2.807827)'))) / (select extract(epoch from '2026-07-29 08:02:00'::timestamp) - extract(epoch from '2026-07-29 08: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'), 47641, 'SRID=4674;POINT (-40.361204 -2.807841)', '2026-07-29 08:02:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361327 -2.807827)'), GeomFromEWKT('SRID=4674;POINT (-40.361204 -2.807841)'))) / (select extract(epoch from '2026-07-29 08:02:06'::timestamp) - extract(epoch from '2026-07-29 08:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361327 -2.807827)'), GeomFromEWKT('SRID=4674;POINT (-40.361204 -2.807841)'))) / (select extract(epoch from '2026-07-29 08:02:06'::timestamp) - extract(epoch from '2026-07-29 08:02: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'), 47641, 'SRID=4674;POINT (-40.361084 -2.807885)', '2026-07-29 08:02:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361204 -2.807841)'), GeomFromEWKT('SRID=4674;POINT (-40.361084 -2.807885)'))) / (select extract(epoch from '2026-07-29 08:02:12'::timestamp) - extract(epoch from '2026-07-29 08:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361204 -2.807841)'), GeomFromEWKT('SRID=4674;POINT (-40.361084 -2.807885)'))) / (select extract(epoch from '2026-07-29 08:02:12'::timestamp) - extract(epoch from '2026-07-29 08:02: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'), 47641, 'SRID=4674;POINT (-40.360905 -2.807937)', '2026-07-29 08:02:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361084 -2.807885)'), GeomFromEWKT('SRID=4674;POINT (-40.360905 -2.807937)'))) / (select extract(epoch from '2026-07-29 08:02:21'::timestamp) - extract(epoch from '2026-07-29 08:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361084 -2.807885)'), GeomFromEWKT('SRID=4674;POINT (-40.360905 -2.807937)'))) / (select extract(epoch from '2026-07-29 08:02:21'::timestamp) - extract(epoch from '2026-07-29 08:02: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'), 47641, 'SRID=4674;POINT (-40.36076 -2.807958)', '2026-07-29 08:02:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360905 -2.807937)'), GeomFromEWKT('SRID=4674;POINT (-40.36076 -2.807958)'))) / (select extract(epoch from '2026-07-29 08:02:28'::timestamp) - extract(epoch from '2026-07-29 08:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360905 -2.807937)'), GeomFromEWKT('SRID=4674;POINT (-40.36076 -2.807958)'))) / (select extract(epoch from '2026-07-29 08:02:28'::timestamp) - extract(epoch from '2026-07-29 08:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.36059 -2.807979)', '2026-07-29 08:02:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36076 -2.807958)'), GeomFromEWKT('SRID=4674;POINT (-40.36059 -2.807979)'))) / (select extract(epoch from '2026-07-29 08:02:36'::timestamp) - extract(epoch from '2026-07-29 08:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36076 -2.807958)'), GeomFromEWKT('SRID=4674;POINT (-40.36059 -2.807979)'))) / (select extract(epoch from '2026-07-29 08:02:36'::timestamp) - extract(epoch from '2026-07-29 08:02: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'), 47641, 'SRID=4674;POINT (-40.360462 -2.807986)', '2026-07-29 08:02:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36059 -2.807979)'), GeomFromEWKT('SRID=4674;POINT (-40.360462 -2.807986)'))) / (select extract(epoch from '2026-07-29 08:02:42'::timestamp) - extract(epoch from '2026-07-29 08:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36059 -2.807979)'), GeomFromEWKT('SRID=4674;POINT (-40.360462 -2.807986)'))) / (select extract(epoch from '2026-07-29 08:02:42'::timestamp) - extract(epoch from '2026-07-29 08:02: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'), 47641, 'SRID=4674;POINT (-40.36032 -2.807974)', '2026-07-29 08:02:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360462 -2.807986)'), GeomFromEWKT('SRID=4674;POINT (-40.36032 -2.807974)'))) / (select extract(epoch from '2026-07-29 08:02:49'::timestamp) - extract(epoch from '2026-07-29 08:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360462 -2.807986)'), GeomFromEWKT('SRID=4674;POINT (-40.36032 -2.807974)'))) / (select extract(epoch from '2026-07-29 08:02:49'::timestamp) - extract(epoch from '2026-07-29 08:02: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'), 47641, 'SRID=4674;POINT (-40.360178 -2.807971)', '2026-07-29 08:02:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36032 -2.807974)'), GeomFromEWKT('SRID=4674;POINT (-40.360178 -2.807971)'))) / (select extract(epoch from '2026-07-29 08:02:56'::timestamp) - extract(epoch from '2026-07-29 08:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36032 -2.807974)'), GeomFromEWKT('SRID=4674;POINT (-40.360178 -2.807971)'))) / (select extract(epoch from '2026-07-29 08:02:56'::timestamp) - extract(epoch from '2026-07-29 08:02: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'), 47641, 'SRID=4674;POINT (-40.360029 -2.807977)', '2026-07-29 08:03:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360178 -2.807971)'), GeomFromEWKT('SRID=4674;POINT (-40.360029 -2.807977)'))) / (select extract(epoch from '2026-07-29 08:03:03'::timestamp) - extract(epoch from '2026-07-29 08:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360178 -2.807971)'), GeomFromEWKT('SRID=4674;POINT (-40.360029 -2.807977)'))) / (select extract(epoch from '2026-07-29 08:03:03'::timestamp) - extract(epoch from '2026-07-29 08:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.359835 -2.807977)', '2026-07-29 08:03:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360029 -2.807977)'), GeomFromEWKT('SRID=4674;POINT (-40.359835 -2.807977)'))) / (select extract(epoch from '2026-07-29 08:03:12'::timestamp) - extract(epoch from '2026-07-29 08:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360029 -2.807977)'), GeomFromEWKT('SRID=4674;POINT (-40.359835 -2.807977)'))) / (select extract(epoch from '2026-07-29 08:03:12'::timestamp) - extract(epoch from '2026-07-29 08:03: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'), 47641, 'SRID=4674;POINT (-40.359623 -2.807967)', '2026-07-29 08:03:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359835 -2.807977)'), GeomFromEWKT('SRID=4674;POINT (-40.359623 -2.807967)'))) / (select extract(epoch from '2026-07-29 08:03:22'::timestamp) - extract(epoch from '2026-07-29 08:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359835 -2.807977)'), GeomFromEWKT('SRID=4674;POINT (-40.359623 -2.807967)'))) / (select extract(epoch from '2026-07-29 08:03:22'::timestamp) - extract(epoch from '2026-07-29 08:03:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.359455 -2.807965)', '2026-07-29 08:03:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359623 -2.807967)'), GeomFromEWKT('SRID=4674;POINT (-40.359455 -2.807965)'))) / (select extract(epoch from '2026-07-29 08:03:30'::timestamp) - extract(epoch from '2026-07-29 08:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359623 -2.807967)'), GeomFromEWKT('SRID=4674;POINT (-40.359455 -2.807965)'))) / (select extract(epoch from '2026-07-29 08:03:30'::timestamp) - extract(epoch from '2026-07-29 08:03:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.359286 -2.80798)', '2026-07-29 08:03:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359455 -2.807965)'), GeomFromEWKT('SRID=4674;POINT (-40.359286 -2.80798)'))) / (select extract(epoch from '2026-07-29 08:03:38'::timestamp) - extract(epoch from '2026-07-29 08:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359455 -2.807965)'), GeomFromEWKT('SRID=4674;POINT (-40.359286 -2.80798)'))) / (select extract(epoch from '2026-07-29 08:03:38'::timestamp) - extract(epoch from '2026-07-29 08:03:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.359051 -2.807979)', '2026-07-29 08:03:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359286 -2.80798)'), GeomFromEWKT('SRID=4674;POINT (-40.359051 -2.807979)'))) / (select extract(epoch from '2026-07-29 08:03:49'::timestamp) - extract(epoch from '2026-07-29 08:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359286 -2.80798)'), GeomFromEWKT('SRID=4674;POINT (-40.359051 -2.807979)'))) / (select extract(epoch from '2026-07-29 08:03:49'::timestamp) - extract(epoch from '2026-07-29 08:03: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'), 47641, 'SRID=4674;POINT (-40.358903 -2.807979)', '2026-07-29 08:03:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359051 -2.807979)'), GeomFromEWKT('SRID=4674;POINT (-40.358903 -2.807979)'))) / (select extract(epoch from '2026-07-29 08:03:56'::timestamp) - extract(epoch from '2026-07-29 08:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359051 -2.807979)'), GeomFromEWKT('SRID=4674;POINT (-40.358903 -2.807979)'))) / (select extract(epoch from '2026-07-29 08:03:56'::timestamp) - extract(epoch from '2026-07-29 08:03: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'), 47641, 'SRID=4674;POINT (-40.358699 -2.807981)', '2026-07-29 08:04:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358903 -2.807979)'), GeomFromEWKT('SRID=4674;POINT (-40.358699 -2.807981)'))) / (select extract(epoch from '2026-07-29 08:04:06'::timestamp) - extract(epoch from '2026-07-29 08:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358903 -2.807979)'), GeomFromEWKT('SRID=4674;POINT (-40.358699 -2.807981)'))) / (select extract(epoch from '2026-07-29 08:04:06'::timestamp) - extract(epoch from '2026-07-29 08:03: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'), 47641, 'SRID=4674;POINT (-40.358516 -2.807993)', '2026-07-29 08:04:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358699 -2.807981)'), GeomFromEWKT('SRID=4674;POINT (-40.358516 -2.807993)'))) / (select extract(epoch from '2026-07-29 08:04:15'::timestamp) - extract(epoch from '2026-07-29 08:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358699 -2.807981)'), GeomFromEWKT('SRID=4674;POINT (-40.358516 -2.807993)'))) / (select extract(epoch from '2026-07-29 08:04:15'::timestamp) - extract(epoch from '2026-07-29 08:04:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.358351 -2.80801)', '2026-07-29 08:04:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358516 -2.807993)'), GeomFromEWKT('SRID=4674;POINT (-40.358351 -2.80801)'))) / (select extract(epoch from '2026-07-29 08:04:23'::timestamp) - extract(epoch from '2026-07-29 08:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358516 -2.807993)'), GeomFromEWKT('SRID=4674;POINT (-40.358351 -2.80801)'))) / (select extract(epoch from '2026-07-29 08:04:23'::timestamp) - extract(epoch from '2026-07-29 08:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.3582 -2.808005)', '2026-07-29 08:04:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358351 -2.80801)'), GeomFromEWKT('SRID=4674;POINT (-40.3582 -2.808005)'))) / (select extract(epoch from '2026-07-29 08:04:30'::timestamp) - extract(epoch from '2026-07-29 08:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358351 -2.80801)'), GeomFromEWKT('SRID=4674;POINT (-40.3582 -2.808005)'))) / (select extract(epoch from '2026-07-29 08:04:30'::timestamp) - extract(epoch from '2026-07-29 08:04: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'), 47641, 'SRID=4674;POINT (-40.358034 -2.80799)', '2026-07-29 08:04:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3582 -2.808005)'), GeomFromEWKT('SRID=4674;POINT (-40.358034 -2.80799)'))) / (select extract(epoch from '2026-07-29 08:04:38'::timestamp) - extract(epoch from '2026-07-29 08:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3582 -2.808005)'), GeomFromEWKT('SRID=4674;POINT (-40.358034 -2.80799)'))) / (select extract(epoch from '2026-07-29 08:04:38'::timestamp) - extract(epoch from '2026-07-29 08:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.357892 -2.807975)', '2026-07-29 08:04:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358034 -2.80799)'), GeomFromEWKT('SRID=4674;POINT (-40.357892 -2.807975)'))) / (select extract(epoch from '2026-07-29 08:04:45'::timestamp) - extract(epoch from '2026-07-29 08:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358034 -2.80799)'), GeomFromEWKT('SRID=4674;POINT (-40.357892 -2.807975)'))) / (select extract(epoch from '2026-07-29 08:04:45'::timestamp) - extract(epoch from '2026-07-29 08:04: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'), 47641, 'SRID=4674;POINT (-40.357749 -2.807973)', '2026-07-29 08:04:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357892 -2.807975)'), GeomFromEWKT('SRID=4674;POINT (-40.357749 -2.807973)'))) / (select extract(epoch from '2026-07-29 08:04:52'::timestamp) - extract(epoch from '2026-07-29 08:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357892 -2.807975)'), GeomFromEWKT('SRID=4674;POINT (-40.357749 -2.807973)'))) / (select extract(epoch from '2026-07-29 08:04:52'::timestamp) - extract(epoch from '2026-07-29 08:04: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'), 47641, 'SRID=4674;POINT (-40.357605 -2.807975)', '2026-07-29 08:04:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357749 -2.807973)'), GeomFromEWKT('SRID=4674;POINT (-40.357605 -2.807975)'))) / (select extract(epoch from '2026-07-29 08:04:59'::timestamp) - extract(epoch from '2026-07-29 08:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357749 -2.807973)'), GeomFromEWKT('SRID=4674;POINT (-40.357605 -2.807975)'))) / (select extract(epoch from '2026-07-29 08:04:59'::timestamp) - extract(epoch from '2026-07-29 08:04: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'), 47641, 'SRID=4674;POINT (-40.357437 -2.80797)', '2026-07-29 08:05:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357605 -2.807975)'), GeomFromEWKT('SRID=4674;POINT (-40.357437 -2.80797)'))) / (select extract(epoch from '2026-07-29 08:05:07'::timestamp) - extract(epoch from '2026-07-29 08:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357605 -2.807975)'), GeomFromEWKT('SRID=4674;POINT (-40.357437 -2.80797)'))) / (select extract(epoch from '2026-07-29 08:05:07'::timestamp) - extract(epoch from '2026-07-29 08:04:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.357269 -2.807962)', '2026-07-29 08:05:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357437 -2.80797)'), GeomFromEWKT('SRID=4674;POINT (-40.357269 -2.807962)'))) / (select extract(epoch from '2026-07-29 08:05:15'::timestamp) - extract(epoch from '2026-07-29 08:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357437 -2.80797)'), GeomFromEWKT('SRID=4674;POINT (-40.357269 -2.807962)'))) / (select extract(epoch from '2026-07-29 08:05:15'::timestamp) - extract(epoch from '2026-07-29 08:05: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'), 47641, 'SRID=4674;POINT (-40.357081 -2.807958)', '2026-07-29 08:05:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357269 -2.807962)'), GeomFromEWKT('SRID=4674;POINT (-40.357081 -2.807958)'))) / (select extract(epoch from '2026-07-29 08:05:24'::timestamp) - extract(epoch from '2026-07-29 08:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357269 -2.807962)'), GeomFromEWKT('SRID=4674;POINT (-40.357081 -2.807958)'))) / (select extract(epoch from '2026-07-29 08:05:24'::timestamp) - extract(epoch from '2026-07-29 08:05:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.356919 -2.80795)', '2026-07-29 08:05:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357081 -2.807958)'), GeomFromEWKT('SRID=4674;POINT (-40.356919 -2.80795)'))) / (select extract(epoch from '2026-07-29 08:05:32'::timestamp) - extract(epoch from '2026-07-29 08:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357081 -2.807958)'), GeomFromEWKT('SRID=4674;POINT (-40.356919 -2.80795)'))) / (select extract(epoch from '2026-07-29 08:05:32'::timestamp) - extract(epoch from '2026-07-29 08: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'), 47641, 'SRID=4674;POINT (-40.356801 -2.807951)', '2026-07-29 08:05:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356919 -2.80795)'), GeomFromEWKT('SRID=4674;POINT (-40.356801 -2.807951)'))) / (select extract(epoch from '2026-07-29 08:05:38'::timestamp) - extract(epoch from '2026-07-29 08:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356919 -2.80795)'), GeomFromEWKT('SRID=4674;POINT (-40.356801 -2.807951)'))) / (select extract(epoch from '2026-07-29 08:05:38'::timestamp) - extract(epoch from '2026-07-29 08:05: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'), 47641, 'SRID=4674;POINT (-40.356659 -2.807955)', '2026-07-29 08:05:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356801 -2.807951)'), GeomFromEWKT('SRID=4674;POINT (-40.356659 -2.807955)'))) / (select extract(epoch from '2026-07-29 08:05:45'::timestamp) - extract(epoch from '2026-07-29 08:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356801 -2.807951)'), GeomFromEWKT('SRID=4674;POINT (-40.356659 -2.807955)'))) / (select extract(epoch from '2026-07-29 08:05:45'::timestamp) - extract(epoch from '2026-07-29 08: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'), 47641, 'SRID=4674;POINT (-40.356463 -2.807906)', '2026-07-29 08:05:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356659 -2.807955)'), GeomFromEWKT('SRID=4674;POINT (-40.356463 -2.807906)'))) / (select extract(epoch from '2026-07-29 08:05:55'::timestamp) - extract(epoch from '2026-07-29 08:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356659 -2.807955)'), GeomFromEWKT('SRID=4674;POINT (-40.356463 -2.807906)'))) / (select extract(epoch from '2026-07-29 08:05:55'::timestamp) - extract(epoch from '2026-07-29 08:05: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'), 47641, 'SRID=4674;POINT (-40.356306 -2.807853)', '2026-07-29 08:06:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356463 -2.807906)'), GeomFromEWKT('SRID=4674;POINT (-40.356306 -2.807853)'))) / (select extract(epoch from '2026-07-29 08:06:03'::timestamp) - extract(epoch from '2026-07-29 08:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356463 -2.807906)'), GeomFromEWKT('SRID=4674;POINT (-40.356306 -2.807853)'))) / (select extract(epoch from '2026-07-29 08:06:03'::timestamp) - extract(epoch from '2026-07-29 08:05:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.356152 -2.807791)', '2026-07-29 08:06:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356306 -2.807853)'), GeomFromEWKT('SRID=4674;POINT (-40.356152 -2.807791)'))) / (select extract(epoch from '2026-07-29 08:06:11'::timestamp) - extract(epoch from '2026-07-29 08:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356306 -2.807853)'), GeomFromEWKT('SRID=4674;POINT (-40.356152 -2.807791)'))) / (select extract(epoch from '2026-07-29 08:06:11'::timestamp) - extract(epoch from '2026-07-29 08:06:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.355963 -2.807757)', '2026-07-29 08:06:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356152 -2.807791)'), GeomFromEWKT('SRID=4674;POINT (-40.355963 -2.807757)'))) / (select extract(epoch from '2026-07-29 08:06:20'::timestamp) - extract(epoch from '2026-07-29 08:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356152 -2.807791)'), GeomFromEWKT('SRID=4674;POINT (-40.355963 -2.807757)'))) / (select extract(epoch from '2026-07-29 08:06:20'::timestamp) - extract(epoch from '2026-07-29 08:06: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'), 47641, 'SRID=4674;POINT (-40.35578 -2.807736)', '2026-07-29 08:06:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355963 -2.807757)'), GeomFromEWKT('SRID=4674;POINT (-40.35578 -2.807736)'))) / (select extract(epoch from '2026-07-29 08:06:29'::timestamp) - extract(epoch from '2026-07-29 08:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355963 -2.807757)'), GeomFromEWKT('SRID=4674;POINT (-40.35578 -2.807736)'))) / (select extract(epoch from '2026-07-29 08:06:29'::timestamp) - extract(epoch from '2026-07-29 08:06:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.355637 -2.80773)', '2026-07-29 08:06:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35578 -2.807736)'), GeomFromEWKT('SRID=4674;POINT (-40.355637 -2.80773)'))) / (select extract(epoch from '2026-07-29 08:06:36'::timestamp) - extract(epoch from '2026-07-29 08:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35578 -2.807736)'), GeomFromEWKT('SRID=4674;POINT (-40.355637 -2.80773)'))) / (select extract(epoch from '2026-07-29 08:06:36'::timestamp) - extract(epoch from '2026-07-29 08: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'), 47641, 'SRID=4674;POINT (-40.355495 -2.807723)', '2026-07-29 08:06:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355637 -2.80773)'), GeomFromEWKT('SRID=4674;POINT (-40.355495 -2.807723)'))) / (select extract(epoch from '2026-07-29 08:06:43'::timestamp) - extract(epoch from '2026-07-29 08:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355637 -2.80773)'), GeomFromEWKT('SRID=4674;POINT (-40.355495 -2.807723)'))) / (select extract(epoch from '2026-07-29 08:06:43'::timestamp) - extract(epoch from '2026-07-29 08: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'), 47641, 'SRID=4674;POINT (-40.355335 -2.807709)', '2026-07-29 08:06:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355495 -2.807723)'), GeomFromEWKT('SRID=4674;POINT (-40.355335 -2.807709)'))) / (select extract(epoch from '2026-07-29 08:06:51'::timestamp) - extract(epoch from '2026-07-29 08:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355495 -2.807723)'), GeomFromEWKT('SRID=4674;POINT (-40.355335 -2.807709)'))) / (select extract(epoch from '2026-07-29 08:06:51'::timestamp) - extract(epoch from '2026-07-29 08:06:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.355169 -2.807697)', '2026-07-29 08:06:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355335 -2.807709)'), GeomFromEWKT('SRID=4674;POINT (-40.355169 -2.807697)'))) / (select extract(epoch from '2026-07-29 08:06:59'::timestamp) - extract(epoch from '2026-07-29 08:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355335 -2.807709)'), GeomFromEWKT('SRID=4674;POINT (-40.355169 -2.807697)'))) / (select extract(epoch from '2026-07-29 08:06:59'::timestamp) - extract(epoch from '2026-07-29 08:06:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354997 -2.807659)', '2026-07-29 08:07:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355169 -2.807697)'), GeomFromEWKT('SRID=4674;POINT (-40.354997 -2.807659)'))) / (select extract(epoch from '2026-07-29 08:07:08'::timestamp) - extract(epoch from '2026-07-29 08:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355169 -2.807697)'), GeomFromEWKT('SRID=4674;POINT (-40.354997 -2.807659)'))) / (select extract(epoch from '2026-07-29 08:07:08'::timestamp) - extract(epoch from '2026-07-29 08:06: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'), 47641, 'SRID=4674;POINT (-40.354874 -2.807658)', '2026-07-29 08:07:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354997 -2.807659)'), GeomFromEWKT('SRID=4674;POINT (-40.354874 -2.807658)'))) / (select extract(epoch from '2026-07-29 08:07:15'::timestamp) - extract(epoch from '2026-07-29 08:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354997 -2.807659)'), GeomFromEWKT('SRID=4674;POINT (-40.354874 -2.807658)'))) / (select extract(epoch from '2026-07-29 08:07:15'::timestamp) - extract(epoch from '2026-07-29 08:07: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'), 47641, 'SRID=4674;POINT (-40.354857 -2.807661)', '2026-07-29 08:07:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354874 -2.807658)'), GeomFromEWKT('SRID=4674;POINT (-40.354857 -2.807661)'))) / (select extract(epoch from '2026-07-29 08:07:16'::timestamp) - extract(epoch from '2026-07-29 08:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354874 -2.807658)'), GeomFromEWKT('SRID=4674;POINT (-40.354857 -2.807661)'))) / (select extract(epoch from '2026-07-29 08:07:16'::timestamp) - extract(epoch from '2026-07-29 08:07:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354784 -2.807675)', '2026-07-29 08:07:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354857 -2.807661)'), GeomFromEWKT('SRID=4674;POINT (-40.354784 -2.807675)'))) / (select extract(epoch from '2026-07-29 08:07:20'::timestamp) - extract(epoch from '2026-07-29 08:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354857 -2.807661)'), GeomFromEWKT('SRID=4674;POINT (-40.354784 -2.807675)'))) / (select extract(epoch from '2026-07-29 08:07:20'::timestamp) - extract(epoch from '2026-07-29 08:07:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354626 -2.807656)', '2026-07-29 08:07:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354784 -2.807675)'), GeomFromEWKT('SRID=4674;POINT (-40.354626 -2.807656)'))) / (select extract(epoch from '2026-07-29 08:07:29'::timestamp) - extract(epoch from '2026-07-29 08:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354784 -2.807675)'), GeomFromEWKT('SRID=4674;POINT (-40.354626 -2.807656)'))) / (select extract(epoch from '2026-07-29 08:07:29'::timestamp) - extract(epoch from '2026-07-29 08:07:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.35453 -2.807646)', '2026-07-29 08:07:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354626 -2.807656)'), GeomFromEWKT('SRID=4674;POINT (-40.35453 -2.807646)'))) / (select extract(epoch from '2026-07-29 08:07:35'::timestamp) - extract(epoch from '2026-07-29 08:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354626 -2.807656)'), GeomFromEWKT('SRID=4674;POINT (-40.35453 -2.807646)'))) / (select extract(epoch from '2026-07-29 08:07:35'::timestamp) - extract(epoch from '2026-07-29 08: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'), 47641, 'SRID=4674;POINT (-40.354439 -2.807647)', '2026-07-29 08:07:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35453 -2.807646)'), GeomFromEWKT('SRID=4674;POINT (-40.354439 -2.807647)'))) / (select extract(epoch from '2026-07-29 08:07:43'::timestamp) - extract(epoch from '2026-07-29 08:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35453 -2.807646)'), GeomFromEWKT('SRID=4674;POINT (-40.354439 -2.807647)'))) / (select extract(epoch from '2026-07-29 08:07:43'::timestamp) - extract(epoch from '2026-07-29 08:07: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'), 47641, 'SRID=4674;POINT (-40.35441 -2.807658)', '2026-07-29 08:07:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354439 -2.807647)'), GeomFromEWKT('SRID=4674;POINT (-40.35441 -2.807658)'))) / (select extract(epoch from '2026-07-29 08:07:50'::timestamp) - extract(epoch from '2026-07-29 08:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354439 -2.807647)'), GeomFromEWKT('SRID=4674;POINT (-40.35441 -2.807658)'))) / (select extract(epoch from '2026-07-29 08:07:50'::timestamp) - extract(epoch from '2026-07-29 08:07: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'), 47641, 'SRID=4674;POINT (-40.354419 -2.807646)', '2026-07-29 08:08:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35441 -2.807658)'), GeomFromEWKT('SRID=4674;POINT (-40.354419 -2.807646)'))) / (select extract(epoch from '2026-07-29 08:08:08'::timestamp) - extract(epoch from '2026-07-29 08:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35441 -2.807658)'), GeomFromEWKT('SRID=4674;POINT (-40.354419 -2.807646)'))) / (select extract(epoch from '2026-07-29 08:08:08'::timestamp) - extract(epoch from '2026-07-29 08:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354453 -2.807644)', '2026-07-29 08:08:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354419 -2.807646)'), GeomFromEWKT('SRID=4674;POINT (-40.354453 -2.807644)'))) / (select extract(epoch from '2026-07-29 08:08:27'::timestamp) - extract(epoch from '2026-07-29 08:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354419 -2.807646)'), GeomFromEWKT('SRID=4674;POINT (-40.354453 -2.807644)'))) / (select extract(epoch from '2026-07-29 08:08:27'::timestamp) - extract(epoch from '2026-07-29 08: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'), 47641, 'SRID=4674;POINT (-40.354484 -2.807644)', '2026-07-29 08:08:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354453 -2.807644)'), GeomFromEWKT('SRID=4674;POINT (-40.354484 -2.807644)'))) / (select extract(epoch from '2026-07-29 08:08:47'::timestamp) - extract(epoch from '2026-07-29 08:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354453 -2.807644)'), GeomFromEWKT('SRID=4674;POINT (-40.354484 -2.807644)'))) / (select extract(epoch from '2026-07-29 08:08:47'::timestamp) - extract(epoch from '2026-07-29 08:08: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'), 47641, 'SRID=4674;POINT (-40.354529 -2.807663)', '2026-07-29 08:09:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354484 -2.807644)'), GeomFromEWKT('SRID=4674;POINT (-40.354529 -2.807663)'))) / (select extract(epoch from '2026-07-29 08:09:07'::timestamp) - extract(epoch from '2026-07-29 08:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354484 -2.807644)'), GeomFromEWKT('SRID=4674;POINT (-40.354529 -2.807663)'))) / (select extract(epoch from '2026-07-29 08:09:07'::timestamp) - extract(epoch from '2026-07-29 08:08:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354562 -2.807674)', '2026-07-29 08:09:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354529 -2.807663)'), GeomFromEWKT('SRID=4674;POINT (-40.354562 -2.807674)'))) / (select extract(epoch from '2026-07-29 08:09:20'::timestamp) - extract(epoch from '2026-07-29 08:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354529 -2.807663)'), GeomFromEWKT('SRID=4674;POINT (-40.354562 -2.807674)'))) / (select extract(epoch from '2026-07-29 08:09:20'::timestamp) - extract(epoch from '2026-07-29 08: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'), 47641, 'SRID=4674;POINT (-40.354588 -2.807693)', '2026-07-29 08:09:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354562 -2.807674)'), GeomFromEWKT('SRID=4674;POINT (-40.354588 -2.807693)'))) / (select extract(epoch from '2026-07-29 08:09:30'::timestamp) - extract(epoch from '2026-07-29 08:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354562 -2.807674)'), GeomFromEWKT('SRID=4674;POINT (-40.354588 -2.807693)'))) / (select extract(epoch from '2026-07-29 08:09:30'::timestamp) - extract(epoch from '2026-07-29 08:09: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'), 47641, 'SRID=4674;POINT (-40.354628 -2.807705)', '2026-07-29 08:09:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354588 -2.807693)'), GeomFromEWKT('SRID=4674;POINT (-40.354628 -2.807705)'))) / (select extract(epoch from '2026-07-29 08:09:45'::timestamp) - extract(epoch from '2026-07-29 08:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354588 -2.807693)'), GeomFromEWKT('SRID=4674;POINT (-40.354628 -2.807705)'))) / (select extract(epoch from '2026-07-29 08:09:45'::timestamp) - extract(epoch from '2026-07-29 08:09:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354653 -2.807709)', '2026-07-29 08:09:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354628 -2.807705)'), GeomFromEWKT('SRID=4674;POINT (-40.354653 -2.807709)'))) / (select extract(epoch from '2026-07-29 08:09:56'::timestamp) - extract(epoch from '2026-07-29 08:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354628 -2.807705)'), GeomFromEWKT('SRID=4674;POINT (-40.354653 -2.807709)'))) / (select extract(epoch from '2026-07-29 08:09:56'::timestamp) - extract(epoch from '2026-07-29 08:09: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'), 47641, 'SRID=4674;POINT (-40.354679 -2.807702)', '2026-07-29 08:10:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354653 -2.807709)'), GeomFromEWKT('SRID=4674;POINT (-40.354679 -2.807702)'))) / (select extract(epoch from '2026-07-29 08:10:11'::timestamp) - extract(epoch from '2026-07-29 08:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354653 -2.807709)'), GeomFromEWKT('SRID=4674;POINT (-40.354679 -2.807702)'))) / (select extract(epoch from '2026-07-29 08:10:11'::timestamp) - extract(epoch from '2026-07-29 08:09: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'), 47641, 'SRID=4674;POINT (-40.354675 -2.807692)', '2026-07-29 08:10:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354679 -2.807702)'), GeomFromEWKT('SRID=4674;POINT (-40.354675 -2.807692)'))) / (select extract(epoch from '2026-07-29 08:10:25'::timestamp) - extract(epoch from '2026-07-29 08:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354679 -2.807702)'), GeomFromEWKT('SRID=4674;POINT (-40.354675 -2.807692)'))) / (select extract(epoch from '2026-07-29 08:10:25'::timestamp) - extract(epoch from '2026-07-29 08:10:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354681 -2.807672)', '2026-07-29 08:10:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354675 -2.807692)'), GeomFromEWKT('SRID=4674;POINT (-40.354681 -2.807672)'))) / (select extract(epoch from '2026-07-29 08:10:50'::timestamp) - extract(epoch from '2026-07-29 08:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354675 -2.807692)'), GeomFromEWKT('SRID=4674;POINT (-40.354681 -2.807672)'))) / (select extract(epoch from '2026-07-29 08:10:50'::timestamp) - extract(epoch from '2026-07-29 08:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.35469 -2.807664)', '2026-07-29 08:11:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354681 -2.807672)'), GeomFromEWKT('SRID=4674;POINT (-40.35469 -2.807664)'))) / (select extract(epoch from '2026-07-29 08:11:06'::timestamp) - extract(epoch from '2026-07-29 08:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354681 -2.807672)'), GeomFromEWKT('SRID=4674;POINT (-40.35469 -2.807664)'))) / (select extract(epoch from '2026-07-29 08:11:06'::timestamp) - extract(epoch from '2026-07-29 08:10: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'), 47641, 'SRID=4674;POINT (-40.354704 -2.807658)', '2026-07-29 08:11:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35469 -2.807664)'), GeomFromEWKT('SRID=4674;POINT (-40.354704 -2.807658)'))) / (select extract(epoch from '2026-07-29 08:11:27'::timestamp) - extract(epoch from '2026-07-29 08:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35469 -2.807664)'), GeomFromEWKT('SRID=4674;POINT (-40.354704 -2.807658)'))) / (select extract(epoch from '2026-07-29 08:11:27'::timestamp) - extract(epoch from '2026-07-29 08:11: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'), 47641, 'SRID=4674;POINT (-40.354701 -2.80764)', '2026-07-29 08:11:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354704 -2.807658)'), GeomFromEWKT('SRID=4674;POINT (-40.354701 -2.80764)'))) / (select extract(epoch from '2026-07-29 08:11:42'::timestamp) - extract(epoch from '2026-07-29 08:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354704 -2.807658)'), GeomFromEWKT('SRID=4674;POINT (-40.354701 -2.80764)'))) / (select extract(epoch from '2026-07-29 08:11:42'::timestamp) - extract(epoch from '2026-07-29 08: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'), 47641, 'SRID=4674;POINT (-40.354706 -2.807615)', '2026-07-29 08:11:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354701 -2.80764)'), GeomFromEWKT('SRID=4674;POINT (-40.354706 -2.807615)'))) / (select extract(epoch from '2026-07-29 08:11:56'::timestamp) - extract(epoch from '2026-07-29 08:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354701 -2.80764)'), GeomFromEWKT('SRID=4674;POINT (-40.354706 -2.807615)'))) / (select extract(epoch from '2026-07-29 08:11:56'::timestamp) - extract(epoch from '2026-07-29 08: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'), 47641, 'SRID=4674;POINT (-40.354699 -2.807594)', '2026-07-29 08:12:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354706 -2.807615)'), GeomFromEWKT('SRID=4674;POINT (-40.354699 -2.807594)'))) / (select extract(epoch from '2026-07-29 08:12:18'::timestamp) - extract(epoch from '2026-07-29 08:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354706 -2.807615)'), GeomFromEWKT('SRID=4674;POINT (-40.354699 -2.807594)'))) / (select extract(epoch from '2026-07-29 08:12:18'::timestamp) - extract(epoch from '2026-07-29 08:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354692 -2.807573)', '2026-07-29 08:12:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354699 -2.807594)'), GeomFromEWKT('SRID=4674;POINT (-40.354692 -2.807573)'))) / (select extract(epoch from '2026-07-29 08:12:44'::timestamp) - extract(epoch from '2026-07-29 08:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354699 -2.807594)'), GeomFromEWKT('SRID=4674;POINT (-40.354692 -2.807573)'))) / (select extract(epoch from '2026-07-29 08:12:44'::timestamp) - extract(epoch from '2026-07-29 08:12:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354692 -2.807563)', '2026-07-29 08:13:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354692 -2.807573)'), GeomFromEWKT('SRID=4674;POINT (-40.354692 -2.807563)'))) / (select extract(epoch from '2026-07-29 08:13:23'::timestamp) - extract(epoch from '2026-07-29 08:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354692 -2.807573)'), GeomFromEWKT('SRID=4674;POINT (-40.354692 -2.807563)'))) / (select extract(epoch from '2026-07-29 08:13:23'::timestamp) - extract(epoch from '2026-07-29 08:12: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'), 47641, 'SRID=4674;POINT (-40.354699 -2.807584)', '2026-07-29 08:13:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354692 -2.807563)'), GeomFromEWKT('SRID=4674;POINT (-40.354699 -2.807584)'))) / (select extract(epoch from '2026-07-29 08:13:41'::timestamp) - extract(epoch from '2026-07-29 08:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354692 -2.807563)'), GeomFromEWKT('SRID=4674;POINT (-40.354699 -2.807584)'))) / (select extract(epoch from '2026-07-29 08:13:41'::timestamp) - extract(epoch from '2026-07-29 08:13: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'), 47641, 'SRID=4674;POINT (-40.354693 -2.80758)', '2026-07-29 08:14:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354699 -2.807584)'), GeomFromEWKT('SRID=4674;POINT (-40.354693 -2.80758)'))) / (select extract(epoch from '2026-07-29 08:14:10'::timestamp) - extract(epoch from '2026-07-29 08:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354699 -2.807584)'), GeomFromEWKT('SRID=4674;POINT (-40.354693 -2.80758)'))) / (select extract(epoch from '2026-07-29 08:14:10'::timestamp) - extract(epoch from '2026-07-29 08: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'), 47641, 'SRID=4674;POINT (-40.354692 -2.807576)', '2026-07-29 08:14:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354693 -2.80758)'), GeomFromEWKT('SRID=4674;POINT (-40.354692 -2.807576)'))) / (select extract(epoch from '2026-07-29 08:14:37'::timestamp) - extract(epoch from '2026-07-29 08:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354693 -2.80758)'), GeomFromEWKT('SRID=4674;POINT (-40.354692 -2.807576)'))) / (select extract(epoch from '2026-07-29 08:14:37'::timestamp) - extract(epoch from '2026-07-29 08:14:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354703 -2.807603)', '2026-07-29 08:14:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354692 -2.807576)'), GeomFromEWKT('SRID=4674;POINT (-40.354703 -2.807603)'))) / (select extract(epoch from '2026-07-29 08:14:59'::timestamp) - extract(epoch from '2026-07-29 08:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354692 -2.807576)'), GeomFromEWKT('SRID=4674;POINT (-40.354703 -2.807603)'))) / (select extract(epoch from '2026-07-29 08:14:59'::timestamp) - extract(epoch from '2026-07-29 08:14:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.35462 -2.807593)', '2026-07-29 08:15:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354703 -2.807603)'), GeomFromEWKT('SRID=4674;POINT (-40.35462 -2.807593)'))) / (select extract(epoch from '2026-07-29 08:15:20'::timestamp) - extract(epoch from '2026-07-29 08:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354703 -2.807603)'), GeomFromEWKT('SRID=4674;POINT (-40.35462 -2.807593)'))) / (select extract(epoch from '2026-07-29 08:15:20'::timestamp) - extract(epoch from '2026-07-29 08:14:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354503 -2.807587)', '2026-07-29 08:15:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35462 -2.807593)'), GeomFromEWKT('SRID=4674;POINT (-40.354503 -2.807587)'))) / (select extract(epoch from '2026-07-29 08:15:42'::timestamp) - extract(epoch from '2026-07-29 08:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35462 -2.807593)'), GeomFromEWKT('SRID=4674;POINT (-40.354503 -2.807587)'))) / (select extract(epoch from '2026-07-29 08:15:42'::timestamp) - extract(epoch from '2026-07-29 08:15: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'), 47641, 'SRID=4674;POINT (-40.354456 -2.807636)', '2026-07-29 08:16:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354503 -2.807587)'), GeomFromEWKT('SRID=4674;POINT (-40.354456 -2.807636)'))) / (select extract(epoch from '2026-07-29 08:16:02'::timestamp) - extract(epoch from '2026-07-29 08:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354503 -2.807587)'), GeomFromEWKT('SRID=4674;POINT (-40.354456 -2.807636)'))) / (select extract(epoch from '2026-07-29 08:16:02'::timestamp) - extract(epoch from '2026-07-29 08:15: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'), 47641, 'SRID=4674;POINT (-40.354475 -2.807651)', '2026-07-29 08:16:24', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354456 -2.807636)'), GeomFromEWKT('SRID=4674;POINT (-40.354475 -2.807651)'))) / (select extract(epoch from '2026-07-29 08:16:24'::timestamp) - extract(epoch from '2026-07-29 08:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354456 -2.807636)'), GeomFromEWKT('SRID=4674;POINT (-40.354475 -2.807651)'))) / (select extract(epoch from '2026-07-29 08:16:24'::timestamp) - extract(epoch from '2026-07-29 08:16:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354445 -2.807691)', '2026-07-29 08:16:45', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354475 -2.807651)'), GeomFromEWKT('SRID=4674;POINT (-40.354445 -2.807691)'))) / (select extract(epoch from '2026-07-29 08:16:45'::timestamp) - extract(epoch from '2026-07-29 08:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354475 -2.807651)'), GeomFromEWKT('SRID=4674;POINT (-40.354445 -2.807691)'))) / (select extract(epoch from '2026-07-29 08:16:45'::timestamp) - extract(epoch from '2026-07-29 08:16: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'), 47641, 'SRID=4674;POINT (-40.354372 -2.807762)', '2026-07-29 08:17:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354445 -2.807691)'), GeomFromEWKT('SRID=4674;POINT (-40.354372 -2.807762)'))) / (select extract(epoch from '2026-07-29 08:17:15'::timestamp) - extract(epoch from '2026-07-29 08:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354445 -2.807691)'), GeomFromEWKT('SRID=4674;POINT (-40.354372 -2.807762)'))) / (select extract(epoch from '2026-07-29 08:17:15'::timestamp) - extract(epoch from '2026-07-29 08:16:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354343 -2.807825)', '2026-07-29 08:17:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354372 -2.807762)'), GeomFromEWKT('SRID=4674;POINT (-40.354343 -2.807825)'))) / (select extract(epoch from '2026-07-29 08:17:31'::timestamp) - extract(epoch from '2026-07-29 08:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354372 -2.807762)'), GeomFromEWKT('SRID=4674;POINT (-40.354343 -2.807825)'))) / (select extract(epoch from '2026-07-29 08:17:31'::timestamp) - extract(epoch from '2026-07-29 08:17:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354335 -2.807871)', '2026-07-29 08:17:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354343 -2.807825)'), GeomFromEWKT('SRID=4674;POINT (-40.354335 -2.807871)'))) / (select extract(epoch from '2026-07-29 08:17:42'::timestamp) - extract(epoch from '2026-07-29 08:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354343 -2.807825)'), GeomFromEWKT('SRID=4674;POINT (-40.354335 -2.807871)'))) / (select extract(epoch from '2026-07-29 08:17:42'::timestamp) - extract(epoch from '2026-07-29 08:17: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'), 47641, 'SRID=4674;POINT (-40.354346 -2.807926)', '2026-07-29 08:17:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354335 -2.807871)'), GeomFromEWKT('SRID=4674;POINT (-40.354346 -2.807926)'))) / (select extract(epoch from '2026-07-29 08:17:57'::timestamp) - extract(epoch from '2026-07-29 08:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354335 -2.807871)'), GeomFromEWKT('SRID=4674;POINT (-40.354346 -2.807926)'))) / (select extract(epoch from '2026-07-29 08:17:57'::timestamp) - extract(epoch from '2026-07-29 08:17: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'), 47641, 'SRID=4674;POINT (-40.354373 -2.807921)', '2026-07-29 08:18:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354346 -2.807926)'), GeomFromEWKT('SRID=4674;POINT (-40.354373 -2.807921)'))) / (select extract(epoch from '2026-07-29 08:18:11'::timestamp) - extract(epoch from '2026-07-29 08:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354346 -2.807926)'), GeomFromEWKT('SRID=4674;POINT (-40.354373 -2.807921)'))) / (select extract(epoch from '2026-07-29 08:18:11'::timestamp) - extract(epoch from '2026-07-29 08:17:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354358 -2.807935)', '2026-07-29 08:18:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354373 -2.807921)'), GeomFromEWKT('SRID=4674;POINT (-40.354358 -2.807935)'))) / (select extract(epoch from '2026-07-29 08:18:19'::timestamp) - extract(epoch from '2026-07-29 08:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354373 -2.807921)'), GeomFromEWKT('SRID=4674;POINT (-40.354358 -2.807935)'))) / (select extract(epoch from '2026-07-29 08:18:19'::timestamp) - extract(epoch from '2026-07-29 08:18: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'), 47641, 'SRID=4674;POINT (-40.354351 -2.807936)', '2026-07-29 08:18:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354358 -2.807935)'), GeomFromEWKT('SRID=4674;POINT (-40.354351 -2.807936)'))) / (select extract(epoch from '2026-07-29 08:18:26'::timestamp) - extract(epoch from '2026-07-29 08:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354358 -2.807935)'), GeomFromEWKT('SRID=4674;POINT (-40.354351 -2.807936)'))) / (select extract(epoch from '2026-07-29 08:18:26'::timestamp) - extract(epoch from '2026-07-29 08:18: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'), 47641, 'SRID=4674;POINT (-40.35434 -2.807987)', '2026-07-29 08:18:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354351 -2.807936)'), GeomFromEWKT('SRID=4674;POINT (-40.35434 -2.807987)'))) / (select extract(epoch from '2026-07-29 08:18:34'::timestamp) - extract(epoch from '2026-07-29 08:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354351 -2.807936)'), GeomFromEWKT('SRID=4674;POINT (-40.35434 -2.807987)'))) / (select extract(epoch from '2026-07-29 08:18:34'::timestamp) - extract(epoch from '2026-07-29 08:18: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'), 47641, 'SRID=4674;POINT (-40.354313 -2.808045)', '2026-07-29 08:18:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35434 -2.807987)'), GeomFromEWKT('SRID=4674;POINT (-40.354313 -2.808045)'))) / (select extract(epoch from '2026-07-29 08:18:42'::timestamp) - extract(epoch from '2026-07-29 08:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35434 -2.807987)'), GeomFromEWKT('SRID=4674;POINT (-40.354313 -2.808045)'))) / (select extract(epoch from '2026-07-29 08:18:42'::timestamp) - extract(epoch from '2026-07-29 08:18: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'), 47641, 'SRID=4674;POINT (-40.354269 -2.808137)', '2026-07-29 08:18:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354313 -2.808045)'), GeomFromEWKT('SRID=4674;POINT (-40.354269 -2.808137)'))) / (select extract(epoch from '2026-07-29 08:18:52'::timestamp) - extract(epoch from '2026-07-29 08:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354313 -2.808045)'), GeomFromEWKT('SRID=4674;POINT (-40.354269 -2.808137)'))) / (select extract(epoch from '2026-07-29 08:18:52'::timestamp) - extract(epoch from '2026-07-29 08:18: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'), 47641, 'SRID=4674;POINT (-40.354241 -2.808222)', '2026-07-29 08:19:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354269 -2.808137)'), GeomFromEWKT('SRID=4674;POINT (-40.354241 -2.808222)'))) / (select extract(epoch from '2026-07-29 08:19:01'::timestamp) - extract(epoch from '2026-07-29 08:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354269 -2.808137)'), GeomFromEWKT('SRID=4674;POINT (-40.354241 -2.808222)'))) / (select extract(epoch from '2026-07-29 08:19:01'::timestamp) - extract(epoch from '2026-07-29 08:18: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'), 47641, 'SRID=4674;POINT (-40.354216 -2.808313)', '2026-07-29 08:19:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354241 -2.808222)'), GeomFromEWKT('SRID=4674;POINT (-40.354216 -2.808313)'))) / (select extract(epoch from '2026-07-29 08:19:09'::timestamp) - extract(epoch from '2026-07-29 08:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354241 -2.808222)'), GeomFromEWKT('SRID=4674;POINT (-40.354216 -2.808313)'))) / (select extract(epoch from '2026-07-29 08:19:09'::timestamp) - extract(epoch from '2026-07-29 08:19: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'), 47641, 'SRID=4674;POINT (-40.354182 -2.808408)', '2026-07-29 08:19:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354216 -2.808313)'), GeomFromEWKT('SRID=4674;POINT (-40.354182 -2.808408)'))) / (select extract(epoch from '2026-07-29 08:19:18'::timestamp) - extract(epoch from '2026-07-29 08:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354216 -2.808313)'), GeomFromEWKT('SRID=4674;POINT (-40.354182 -2.808408)'))) / (select extract(epoch from '2026-07-29 08:19:18'::timestamp) - extract(epoch from '2026-07-29 08:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354172 -2.808407)', '2026-07-29 08:19:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354182 -2.808408)'), GeomFromEWKT('SRID=4674;POINT (-40.354172 -2.808407)'))) / (select extract(epoch from '2026-07-29 08:19:55'::timestamp) - extract(epoch from '2026-07-29 08:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354182 -2.808408)'), GeomFromEWKT('SRID=4674;POINT (-40.354172 -2.808407)'))) / (select extract(epoch from '2026-07-29 08:19:55'::timestamp) - extract(epoch from '2026-07-29 08:19:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.354169 -2.808395)', '2026-07-29 08:23:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354172 -2.808407)'), GeomFromEWKT('SRID=4674;POINT (-40.354169 -2.808395)'))) / (select extract(epoch from '2026-07-29 08:23:30'::timestamp) - extract(epoch from '2026-07-29 08:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354172 -2.808407)'), GeomFromEWKT('SRID=4674;POINT (-40.354169 -2.808395)'))) / (select extract(epoch from '2026-07-29 08:23:30'::timestamp) - extract(epoch from '2026-07-29 08:19:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.35418 -2.808368)', '2026-07-29 08:23:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354169 -2.808395)'), GeomFromEWKT('SRID=4674;POINT (-40.35418 -2.808368)'))) / (select extract(epoch from '2026-07-29 08:23:33'::timestamp) - extract(epoch from '2026-07-29 08:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354169 -2.808395)'), GeomFromEWKT('SRID=4674;POINT (-40.35418 -2.808368)'))) / (select extract(epoch from '2026-07-29 08:23:33'::timestamp) - extract(epoch from '2026-07-29 08:23: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'), 47641, 'SRID=4674;POINT (-40.354213 -2.808267)', '2026-07-29 08:23:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35418 -2.808368)'), GeomFromEWKT('SRID=4674;POINT (-40.354213 -2.808267)'))) / (select extract(epoch from '2026-07-29 08:23:43'::timestamp) - extract(epoch from '2026-07-29 08:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35418 -2.808368)'), GeomFromEWKT('SRID=4674;POINT (-40.354213 -2.808267)'))) / (select extract(epoch from '2026-07-29 08:23:43'::timestamp) - extract(epoch from '2026-07-29 08:23: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'), 47641, 'SRID=4674;POINT (-40.354231 -2.808229)', '2026-07-29 08:23:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354213 -2.808267)'), GeomFromEWKT('SRID=4674;POINT (-40.354231 -2.808229)'))) / (select extract(epoch from '2026-07-29 08:23:48'::timestamp) - extract(epoch from '2026-07-29 08:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354213 -2.808267)'), GeomFromEWKT('SRID=4674;POINT (-40.354231 -2.808229)'))) / (select extract(epoch from '2026-07-29 08:23:48'::timestamp) - extract(epoch from '2026-07-29 08:23:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
