BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.442303 -5.07909)', '2026-07-30 23:41:32', 19.6, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.442236 -5.079057)', '2026-07-30 23:41:42', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442303 -5.07909)'), GeomFromEWKT('SRID=4674;POINT (-36.442236 -5.079057)'))) / (select extract(epoch from '2026-07-30 23:41:42'::timestamp) - extract(epoch from '2026-07-30 23:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442303 -5.07909)'), GeomFromEWKT('SRID=4674;POINT (-36.442236 -5.079057)'))) / (select extract(epoch from '2026-07-30 23:41:42'::timestamp) - extract(epoch from '2026-07-30 23:41: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'), 47749, 'SRID=4674;POINT (-36.442178 -5.078974)', '2026-07-30 23:41:53', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442236 -5.079057)'), GeomFromEWKT('SRID=4674;POINT (-36.442178 -5.078974)'))) / (select extract(epoch from '2026-07-30 23:41:53'::timestamp) - extract(epoch from '2026-07-30 23:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442236 -5.079057)'), GeomFromEWKT('SRID=4674;POINT (-36.442178 -5.078974)'))) / (select extract(epoch from '2026-07-30 23:41:53'::timestamp) - extract(epoch from '2026-07-30 23:41:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.442161 -5.078897)', '2026-07-30 23:42:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442178 -5.078974)'), GeomFromEWKT('SRID=4674;POINT (-36.442161 -5.078897)'))) / (select extract(epoch from '2026-07-30 23:42:03'::timestamp) - extract(epoch from '2026-07-30 23:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442178 -5.078974)'), GeomFromEWKT('SRID=4674;POINT (-36.442161 -5.078897)'))) / (select extract(epoch from '2026-07-30 23:42:03'::timestamp) - extract(epoch from '2026-07-30 23:41: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'), 47749, 'SRID=4674;POINT (-36.442124 -5.078787)', '2026-07-30 23:42:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442161 -5.078897)'), GeomFromEWKT('SRID=4674;POINT (-36.442124 -5.078787)'))) / (select extract(epoch from '2026-07-30 23:42:15'::timestamp) - extract(epoch from '2026-07-30 23:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442161 -5.078897)'), GeomFromEWKT('SRID=4674;POINT (-36.442124 -5.078787)'))) / (select extract(epoch from '2026-07-30 23:42:15'::timestamp) - extract(epoch from '2026-07-30 23:42:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.44208 -5.078683)', '2026-07-30 23:42:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442124 -5.078787)'), GeomFromEWKT('SRID=4674;POINT (-36.44208 -5.078683)'))) / (select extract(epoch from '2026-07-30 23:42:29'::timestamp) - extract(epoch from '2026-07-30 23:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442124 -5.078787)'), GeomFromEWKT('SRID=4674;POINT (-36.44208 -5.078683)'))) / (select extract(epoch from '2026-07-30 23:42:29'::timestamp) - extract(epoch from '2026-07-30 23:42: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'), 47749, 'SRID=4674;POINT (-36.442054 -5.078652)', '2026-07-30 23:42:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.44208 -5.078683)'), GeomFromEWKT('SRID=4674;POINT (-36.442054 -5.078652)'))) / (select extract(epoch from '2026-07-30 23:42:45'::timestamp) - extract(epoch from '2026-07-30 23:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.44208 -5.078683)'), GeomFromEWKT('SRID=4674;POINT (-36.442054 -5.078652)'))) / (select extract(epoch from '2026-07-30 23:42:45'::timestamp) - extract(epoch from '2026-07-30 23:42:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.442071 -5.078592)', '2026-07-30 23:43:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442054 -5.078652)'), GeomFromEWKT('SRID=4674;POINT (-36.442071 -5.078592)'))) / (select extract(epoch from '2026-07-30 23:43:13'::timestamp) - extract(epoch from '2026-07-30 23:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442054 -5.078652)'), GeomFromEWKT('SRID=4674;POINT (-36.442071 -5.078592)'))) / (select extract(epoch from '2026-07-30 23:43:13'::timestamp) - extract(epoch from '2026-07-30 23:42:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.442063 -5.078584)', '2026-07-30 23:43:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442071 -5.078592)'), GeomFromEWKT('SRID=4674;POINT (-36.442063 -5.078584)'))) / (select extract(epoch from '2026-07-30 23:43:44'::timestamp) - extract(epoch from '2026-07-30 23:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442071 -5.078592)'), GeomFromEWKT('SRID=4674;POINT (-36.442063 -5.078584)'))) / (select extract(epoch from '2026-07-30 23:43:44'::timestamp) - extract(epoch from '2026-07-30 23:43:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.442073 -5.07858)', '2026-07-30 23:44:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442063 -5.078584)'), GeomFromEWKT('SRID=4674;POINT (-36.442073 -5.07858)'))) / (select extract(epoch from '2026-07-30 23:44:46'::timestamp) - extract(epoch from '2026-07-30 23:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442063 -5.078584)'), GeomFromEWKT('SRID=4674;POINT (-36.442073 -5.07858)'))) / (select extract(epoch from '2026-07-30 23:44:46'::timestamp) - extract(epoch from '2026-07-30 23:43: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'), 47749, 'SRID=4674;POINT (-36.44205 -5.078526)', '2026-07-30 23:45:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442073 -5.07858)'), GeomFromEWKT('SRID=4674;POINT (-36.44205 -5.078526)'))) / (select extract(epoch from '2026-07-30 23:45:16'::timestamp) - extract(epoch from '2026-07-30 23:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442073 -5.07858)'), GeomFromEWKT('SRID=4674;POINT (-36.44205 -5.078526)'))) / (select extract(epoch from '2026-07-30 23:45:16'::timestamp) - extract(epoch from '2026-07-30 23:44:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.442051 -5.078533)', '2026-07-30 23:45:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.44205 -5.078526)'), GeomFromEWKT('SRID=4674;POINT (-36.442051 -5.078533)'))) / (select extract(epoch from '2026-07-30 23:45:46'::timestamp) - extract(epoch from '2026-07-30 23:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.44205 -5.078526)'), GeomFromEWKT('SRID=4674;POINT (-36.442051 -5.078533)'))) / (select extract(epoch from '2026-07-30 23:45:46'::timestamp) - extract(epoch from '2026-07-30 23:45:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.442039 -5.078567)', '2026-07-30 23:45:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442051 -5.078533)'), GeomFromEWKT('SRID=4674;POINT (-36.442039 -5.078567)'))) / (select extract(epoch from '2026-07-30 23:45:53'::timestamp) - extract(epoch from '2026-07-30 23:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442051 -5.078533)'), GeomFromEWKT('SRID=4674;POINT (-36.442039 -5.078567)'))) / (select extract(epoch from '2026-07-30 23:45:53'::timestamp) - extract(epoch from '2026-07-30 23:45:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.442072 -5.07867)', '2026-07-30 23:46:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442039 -5.078567)'), GeomFromEWKT('SRID=4674;POINT (-36.442072 -5.07867)'))) / (select extract(epoch from '2026-07-30 23:46:11'::timestamp) - extract(epoch from '2026-07-30 23:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442039 -5.078567)'), GeomFromEWKT('SRID=4674;POINT (-36.442072 -5.07867)'))) / (select extract(epoch from '2026-07-30 23:46:11'::timestamp) - extract(epoch from '2026-07-30 23:45: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'), 47749, 'SRID=4674;POINT (-36.442128 -5.078782)', '2026-07-30 23:46:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442072 -5.07867)'), GeomFromEWKT('SRID=4674;POINT (-36.442128 -5.078782)'))) / (select extract(epoch from '2026-07-30 23:46:23'::timestamp) - extract(epoch from '2026-07-30 23:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442072 -5.07867)'), GeomFromEWKT('SRID=4674;POINT (-36.442128 -5.078782)'))) / (select extract(epoch from '2026-07-30 23:46:23'::timestamp) - extract(epoch from '2026-07-30 23:46:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.442166 -5.078906)', '2026-07-30 23:46:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442128 -5.078782)'), GeomFromEWKT('SRID=4674;POINT (-36.442166 -5.078906)'))) / (select extract(epoch from '2026-07-30 23:46:34'::timestamp) - extract(epoch from '2026-07-30 23:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442128 -5.078782)'), GeomFromEWKT('SRID=4674;POINT (-36.442166 -5.078906)'))) / (select extract(epoch from '2026-07-30 23:46:34'::timestamp) - extract(epoch from '2026-07-30 23:46:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.44222 -5.079019)', '2026-07-30 23:46:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442166 -5.078906)'), GeomFromEWKT('SRID=4674;POINT (-36.44222 -5.079019)'))) / (select extract(epoch from '2026-07-30 23:46:45'::timestamp) - extract(epoch from '2026-07-30 23:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442166 -5.078906)'), GeomFromEWKT('SRID=4674;POINT (-36.44222 -5.079019)'))) / (select extract(epoch from '2026-07-30 23:46:45'::timestamp) - extract(epoch from '2026-07-30 23:46: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'), 47749, 'SRID=4674;POINT (-36.442281 -5.079157)', '2026-07-30 23:46:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.44222 -5.079019)'), GeomFromEWKT('SRID=4674;POINT (-36.442281 -5.079157)'))) / (select extract(epoch from '2026-07-30 23:46:59'::timestamp) - extract(epoch from '2026-07-30 23:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.44222 -5.079019)'), GeomFromEWKT('SRID=4674;POINT (-36.442281 -5.079157)'))) / (select extract(epoch from '2026-07-30 23:46:59'::timestamp) - extract(epoch from '2026-07-30 23:46: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'), 47749, 'SRID=4674;POINT (-36.442327 -5.079251)', '2026-07-30 23:47:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442281 -5.079157)'), GeomFromEWKT('SRID=4674;POINT (-36.442327 -5.079251)'))) / (select extract(epoch from '2026-07-30 23:47:11'::timestamp) - extract(epoch from '2026-07-30 23:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442281 -5.079157)'), GeomFromEWKT('SRID=4674;POINT (-36.442327 -5.079251)'))) / (select extract(epoch from '2026-07-30 23:47:11'::timestamp) - extract(epoch from '2026-07-30 23:46: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'), 47749, 'SRID=4674;POINT (-36.442371 -5.079314)', '2026-07-30 23:47:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442327 -5.079251)'), GeomFromEWKT('SRID=4674;POINT (-36.442371 -5.079314)'))) / (select extract(epoch from '2026-07-30 23:47:25'::timestamp) - extract(epoch from '2026-07-30 23:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442327 -5.079251)'), GeomFromEWKT('SRID=4674;POINT (-36.442371 -5.079314)'))) / (select extract(epoch from '2026-07-30 23:47:25'::timestamp) - extract(epoch from '2026-07-30 23:47: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'), 47749, 'SRID=4674;POINT (-36.442417 -5.079343)', '2026-07-30 23:47:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442371 -5.079314)'), GeomFromEWKT('SRID=4674;POINT (-36.442417 -5.079343)'))) / (select extract(epoch from '2026-07-30 23:47:52'::timestamp) - extract(epoch from '2026-07-30 23:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442371 -5.079314)'), GeomFromEWKT('SRID=4674;POINT (-36.442417 -5.079343)'))) / (select extract(epoch from '2026-07-30 23:47:52'::timestamp) - extract(epoch from '2026-07-30 23:47:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.442501 -5.079334)', '2026-07-30 23:48:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442417 -5.079343)'), GeomFromEWKT('SRID=4674;POINT (-36.442501 -5.079334)'))) / (select extract(epoch from '2026-07-30 23:48:22'::timestamp) - extract(epoch from '2026-07-30 23:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442417 -5.079343)'), GeomFromEWKT('SRID=4674;POINT (-36.442501 -5.079334)'))) / (select extract(epoch from '2026-07-30 23:48:22'::timestamp) - extract(epoch from '2026-07-30 23:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.442628 -5.079334)', '2026-07-30 23:49:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442501 -5.079334)'), GeomFromEWKT('SRID=4674;POINT (-36.442628 -5.079334)'))) / (select extract(epoch from '2026-07-30 23:49:00'::timestamp) - extract(epoch from '2026-07-30 23:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442501 -5.079334)'), GeomFromEWKT('SRID=4674;POINT (-36.442628 -5.079334)'))) / (select extract(epoch from '2026-07-30 23:49:00'::timestamp) - extract(epoch from '2026-07-30 23:48: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'), 47749, 'SRID=4674;POINT (-36.442638 -5.079341)', '2026-07-30 23:49:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442628 -5.079334)'), GeomFromEWKT('SRID=4674;POINT (-36.442638 -5.079341)'))) / (select extract(epoch from '2026-07-30 23:49:21'::timestamp) - extract(epoch from '2026-07-30 23:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442628 -5.079334)'), GeomFromEWKT('SRID=4674;POINT (-36.442638 -5.079341)'))) / (select extract(epoch from '2026-07-30 23:49:21'::timestamp) - extract(epoch from '2026-07-30 23:49: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'), 47749, 'SRID=4674;POINT (-36.442604 -5.079352)', '2026-07-30 23:49:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442638 -5.079341)'), GeomFromEWKT('SRID=4674;POINT (-36.442604 -5.079352)'))) / (select extract(epoch from '2026-07-30 23:49:49'::timestamp) - extract(epoch from '2026-07-30 23:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442638 -5.079341)'), GeomFromEWKT('SRID=4674;POINT (-36.442604 -5.079352)'))) / (select extract(epoch from '2026-07-30 23:49:49'::timestamp) - extract(epoch from '2026-07-30 23:49:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.442629 -5.079362)', '2026-07-30 23:50:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442604 -5.079352)'), GeomFromEWKT('SRID=4674;POINT (-36.442629 -5.079362)'))) / (select extract(epoch from '2026-07-30 23:50:16'::timestamp) - extract(epoch from '2026-07-30 23:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442604 -5.079352)'), GeomFromEWKT('SRID=4674;POINT (-36.442629 -5.079362)'))) / (select extract(epoch from '2026-07-30 23:50:16'::timestamp) - extract(epoch from '2026-07-30 23:49: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'), 47749, 'SRID=4674;POINT (-36.44272 -5.079343)', '2026-07-30 23:50:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442629 -5.079362)'), GeomFromEWKT('SRID=4674;POINT (-36.44272 -5.079343)'))) / (select extract(epoch from '2026-07-30 23:50:42'::timestamp) - extract(epoch from '2026-07-30 23:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442629 -5.079362)'), GeomFromEWKT('SRID=4674;POINT (-36.44272 -5.079343)'))) / (select extract(epoch from '2026-07-30 23:50:42'::timestamp) - extract(epoch from '2026-07-30 23:50:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.442783 -5.079342)', '2026-07-30 23:51:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.44272 -5.079343)'), GeomFromEWKT('SRID=4674;POINT (-36.442783 -5.079342)'))) / (select extract(epoch from '2026-07-30 23:51:15'::timestamp) - extract(epoch from '2026-07-30 23:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.44272 -5.079343)'), GeomFromEWKT('SRID=4674;POINT (-36.442783 -5.079342)'))) / (select extract(epoch from '2026-07-30 23:51:15'::timestamp) - extract(epoch from '2026-07-30 23:50: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'), 47749, 'SRID=4674;POINT (-36.442778 -5.079374)', '2026-07-30 23:51:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442783 -5.079342)'), GeomFromEWKT('SRID=4674;POINT (-36.442778 -5.079374)'))) / (select extract(epoch from '2026-07-30 23:51:39'::timestamp) - extract(epoch from '2026-07-30 23:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442783 -5.079342)'), GeomFromEWKT('SRID=4674;POINT (-36.442778 -5.079374)'))) / (select extract(epoch from '2026-07-30 23:51:39'::timestamp) - extract(epoch from '2026-07-30 23:51:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.442817 -5.079382)', '2026-07-30 23:52:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442778 -5.079374)'), GeomFromEWKT('SRID=4674;POINT (-36.442817 -5.079382)'))) / (select extract(epoch from '2026-07-30 23:52:13'::timestamp) - extract(epoch from '2026-07-30 23:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442778 -5.079374)'), GeomFromEWKT('SRID=4674;POINT (-36.442817 -5.079382)'))) / (select extract(epoch from '2026-07-30 23:52:13'::timestamp) - extract(epoch from '2026-07-30 23:51:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.44285 -5.079373)', '2026-07-30 23:52:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442817 -5.079382)'), GeomFromEWKT('SRID=4674;POINT (-36.44285 -5.079373)'))) / (select extract(epoch from '2026-07-30 23:52:51'::timestamp) - extract(epoch from '2026-07-30 23:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442817 -5.079382)'), GeomFromEWKT('SRID=4674;POINT (-36.44285 -5.079373)'))) / (select extract(epoch from '2026-07-30 23:52:51'::timestamp) - extract(epoch from '2026-07-30 23:52: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'), 47749, 'SRID=4674;POINT (-36.44286 -5.079413)', '2026-07-30 23:53:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.44285 -5.079373)'), GeomFromEWKT('SRID=4674;POINT (-36.44286 -5.079413)'))) / (select extract(epoch from '2026-07-30 23:53:01'::timestamp) - extract(epoch from '2026-07-30 23:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.44285 -5.079373)'), GeomFromEWKT('SRID=4674;POINT (-36.44286 -5.079413)'))) / (select extract(epoch from '2026-07-30 23:53:01'::timestamp) - extract(epoch from '2026-07-30 23:52:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.442873 -5.079437)', '2026-07-30 23:53:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.44286 -5.079413)'), GeomFromEWKT('SRID=4674;POINT (-36.442873 -5.079437)'))) / (select extract(epoch from '2026-07-30 23:53:04'::timestamp) - extract(epoch from '2026-07-30 23:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.44286 -5.079413)'), GeomFromEWKT('SRID=4674;POINT (-36.442873 -5.079437)'))) / (select extract(epoch from '2026-07-30 23:53:04'::timestamp) - extract(epoch from '2026-07-30 23:53:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.442929 -5.079527)', '2026-07-30 23:53:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442873 -5.079437)'), GeomFromEWKT('SRID=4674;POINT (-36.442929 -5.079527)'))) / (select extract(epoch from '2026-07-30 23:53:14'::timestamp) - extract(epoch from '2026-07-30 23:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442873 -5.079437)'), GeomFromEWKT('SRID=4674;POINT (-36.442929 -5.079527)'))) / (select extract(epoch from '2026-07-30 23:53:14'::timestamp) - extract(epoch from '2026-07-30 23:53:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.442988 -5.07963)', '2026-07-30 23:53:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442929 -5.079527)'), GeomFromEWKT('SRID=4674;POINT (-36.442988 -5.07963)'))) / (select extract(epoch from '2026-07-30 23:53:26'::timestamp) - extract(epoch from '2026-07-30 23:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442929 -5.079527)'), GeomFromEWKT('SRID=4674;POINT (-36.442988 -5.07963)'))) / (select extract(epoch from '2026-07-30 23:53:26'::timestamp) - extract(epoch from '2026-07-30 23:53:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.443047 -5.079741)', '2026-07-30 23:53:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442988 -5.07963)'), GeomFromEWKT('SRID=4674;POINT (-36.443047 -5.079741)'))) / (select extract(epoch from '2026-07-30 23:53:38'::timestamp) - extract(epoch from '2026-07-30 23:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.442988 -5.07963)'), GeomFromEWKT('SRID=4674;POINT (-36.443047 -5.079741)'))) / (select extract(epoch from '2026-07-30 23:53:38'::timestamp) - extract(epoch from '2026-07-30 23:53:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.443112 -5.079861)', '2026-07-30 23:53:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443047 -5.079741)'), GeomFromEWKT('SRID=4674;POINT (-36.443112 -5.079861)'))) / (select extract(epoch from '2026-07-30 23:53:50'::timestamp) - extract(epoch from '2026-07-30 23:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443047 -5.079741)'), GeomFromEWKT('SRID=4674;POINT (-36.443112 -5.079861)'))) / (select extract(epoch from '2026-07-30 23:53:50'::timestamp) - extract(epoch from '2026-07-30 23:53: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'), 47749, 'SRID=4674;POINT (-36.443171 -5.079979)', '2026-07-30 23:54:02', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443112 -5.079861)'), GeomFromEWKT('SRID=4674;POINT (-36.443171 -5.079979)'))) / (select extract(epoch from '2026-07-30 23:54:02'::timestamp) - extract(epoch from '2026-07-30 23:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443112 -5.079861)'), GeomFromEWKT('SRID=4674;POINT (-36.443171 -5.079979)'))) / (select extract(epoch from '2026-07-30 23:54:02'::timestamp) - extract(epoch from '2026-07-30 23:53: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'), 47749, 'SRID=4674;POINT (-36.44322 -5.080088)', '2026-07-30 23:54:13', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443171 -5.079979)'), GeomFromEWKT('SRID=4674;POINT (-36.44322 -5.080088)'))) / (select extract(epoch from '2026-07-30 23:54:13'::timestamp) - extract(epoch from '2026-07-30 23:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443171 -5.079979)'), GeomFromEWKT('SRID=4674;POINT (-36.44322 -5.080088)'))) / (select extract(epoch from '2026-07-30 23:54:13'::timestamp) - extract(epoch from '2026-07-30 23:54:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.443272 -5.080221)', '2026-07-30 23:54:26', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.44322 -5.080088)'), GeomFromEWKT('SRID=4674;POINT (-36.443272 -5.080221)'))) / (select extract(epoch from '2026-07-30 23:54:26'::timestamp) - extract(epoch from '2026-07-30 23:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.44322 -5.080088)'), GeomFromEWKT('SRID=4674;POINT (-36.443272 -5.080221)'))) / (select extract(epoch from '2026-07-30 23:54:26'::timestamp) - extract(epoch from '2026-07-30 23:54:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.443349 -5.080329)', '2026-07-30 23:54:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443272 -5.080221)'), GeomFromEWKT('SRID=4674;POINT (-36.443349 -5.080329)'))) / (select extract(epoch from '2026-07-30 23:54:39'::timestamp) - extract(epoch from '2026-07-30 23:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443272 -5.080221)'), GeomFromEWKT('SRID=4674;POINT (-36.443349 -5.080329)'))) / (select extract(epoch from '2026-07-30 23:54:39'::timestamp) - extract(epoch from '2026-07-30 23:54: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'), 47749, 'SRID=4674;POINT (-36.443423 -5.080409)', '2026-07-30 23:54:51', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443349 -5.080329)'), GeomFromEWKT('SRID=4674;POINT (-36.443423 -5.080409)'))) / (select extract(epoch from '2026-07-30 23:54:51'::timestamp) - extract(epoch from '2026-07-30 23:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443349 -5.080329)'), GeomFromEWKT('SRID=4674;POINT (-36.443423 -5.080409)'))) / (select extract(epoch from '2026-07-30 23:54:51'::timestamp) - extract(epoch from '2026-07-30 23:54:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.443484 -5.080497)', '2026-07-30 23:55:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443423 -5.080409)'), GeomFromEWKT('SRID=4674;POINT (-36.443484 -5.080497)'))) / (select extract(epoch from '2026-07-30 23:55:01'::timestamp) - extract(epoch from '2026-07-30 23:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443423 -5.080409)'), GeomFromEWKT('SRID=4674;POINT (-36.443484 -5.080497)'))) / (select extract(epoch from '2026-07-30 23:55:01'::timestamp) - extract(epoch from '2026-07-30 23:54:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.443561 -5.080588)', '2026-07-30 23:55:13', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443484 -5.080497)'), GeomFromEWKT('SRID=4674;POINT (-36.443561 -5.080588)'))) / (select extract(epoch from '2026-07-30 23:55:13'::timestamp) - extract(epoch from '2026-07-30 23:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443484 -5.080497)'), GeomFromEWKT('SRID=4674;POINT (-36.443561 -5.080588)'))) / (select extract(epoch from '2026-07-30 23:55:13'::timestamp) - extract(epoch from '2026-07-30 23: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'), 47749, 'SRID=4674;POINT (-36.443624 -5.080653)', '2026-07-30 23:55:23', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443561 -5.080588)'), GeomFromEWKT('SRID=4674;POINT (-36.443624 -5.080653)'))) / (select extract(epoch from '2026-07-30 23:55:23'::timestamp) - extract(epoch from '2026-07-30 23:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443561 -5.080588)'), GeomFromEWKT('SRID=4674;POINT (-36.443624 -5.080653)'))) / (select extract(epoch from '2026-07-30 23:55:23'::timestamp) - extract(epoch from '2026-07-30 23: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'), 47749, 'SRID=4674;POINT (-36.443683 -5.0807)', '2026-07-30 23:55:32', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443624 -5.080653)'), GeomFromEWKT('SRID=4674;POINT (-36.443683 -5.0807)'))) / (select extract(epoch from '2026-07-30 23:55:32'::timestamp) - extract(epoch from '2026-07-30 23:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443624 -5.080653)'), GeomFromEWKT('SRID=4674;POINT (-36.443683 -5.0807)'))) / (select extract(epoch from '2026-07-30 23:55:32'::timestamp) - extract(epoch from '2026-07-30 23:55:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.443763 -5.080758)', '2026-07-30 23:55:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443683 -5.0807)'), GeomFromEWKT('SRID=4674;POINT (-36.443763 -5.080758)'))) / (select extract(epoch from '2026-07-30 23:55:43'::timestamp) - extract(epoch from '2026-07-30 23:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443683 -5.0807)'), GeomFromEWKT('SRID=4674;POINT (-36.443763 -5.080758)'))) / (select extract(epoch from '2026-07-30 23:55:43'::timestamp) - extract(epoch from '2026-07-30 23:55: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'), 47749, 'SRID=4674;POINT (-36.443858 -5.080832)', '2026-07-30 23:55:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443763 -5.080758)'), GeomFromEWKT('SRID=4674;POINT (-36.443858 -5.080832)'))) / (select extract(epoch from '2026-07-30 23:55:55'::timestamp) - extract(epoch from '2026-07-30 23:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443763 -5.080758)'), GeomFromEWKT('SRID=4674;POINT (-36.443858 -5.080832)'))) / (select extract(epoch from '2026-07-30 23:55:55'::timestamp) - extract(epoch from '2026-07-30 23: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'), 47749, 'SRID=4674;POINT (-36.443951 -5.080867)', '2026-07-30 23:56:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443858 -5.080832)'), GeomFromEWKT('SRID=4674;POINT (-36.443951 -5.080867)'))) / (select extract(epoch from '2026-07-30 23:56:05'::timestamp) - extract(epoch from '2026-07-30 23:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443858 -5.080832)'), GeomFromEWKT('SRID=4674;POINT (-36.443951 -5.080867)'))) / (select extract(epoch from '2026-07-30 23:56:05'::timestamp) - extract(epoch from '2026-07-30 23:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.444052 -5.080934)', '2026-07-30 23:56:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443951 -5.080867)'), GeomFromEWKT('SRID=4674;POINT (-36.444052 -5.080934)'))) / (select extract(epoch from '2026-07-30 23:56:16'::timestamp) - extract(epoch from '2026-07-30 23:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.443951 -5.080867)'), GeomFromEWKT('SRID=4674;POINT (-36.444052 -5.080934)'))) / (select extract(epoch from '2026-07-30 23:56:16'::timestamp) - extract(epoch from '2026-07-30 23:56:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.44413 -5.081011)', '2026-07-30 23:56:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444052 -5.080934)'), GeomFromEWKT('SRID=4674;POINT (-36.44413 -5.081011)'))) / (select extract(epoch from '2026-07-30 23:56:27'::timestamp) - extract(epoch from '2026-07-30 23:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444052 -5.080934)'), GeomFromEWKT('SRID=4674;POINT (-36.44413 -5.081011)'))) / (select extract(epoch from '2026-07-30 23:56:27'::timestamp) - extract(epoch from '2026-07-30 23:56: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'), 47749, 'SRID=4674;POINT (-36.444215 -5.081082)', '2026-07-30 23:56:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.44413 -5.081011)'), GeomFromEWKT('SRID=4674;POINT (-36.444215 -5.081082)'))) / (select extract(epoch from '2026-07-30 23:56:38'::timestamp) - extract(epoch from '2026-07-30 23:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.44413 -5.081011)'), GeomFromEWKT('SRID=4674;POINT (-36.444215 -5.081082)'))) / (select extract(epoch from '2026-07-30 23:56:38'::timestamp) - extract(epoch from '2026-07-30 23:56: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'), 47749, 'SRID=4674;POINT (-36.444292 -5.081151)', '2026-07-30 23:56:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444215 -5.081082)'), GeomFromEWKT('SRID=4674;POINT (-36.444292 -5.081151)'))) / (select extract(epoch from '2026-07-30 23:56:49'::timestamp) - extract(epoch from '2026-07-30 23:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444215 -5.081082)'), GeomFromEWKT('SRID=4674;POINT (-36.444292 -5.081151)'))) / (select extract(epoch from '2026-07-30 23:56:49'::timestamp) - extract(epoch from '2026-07-30 23:56:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.444365 -5.081219)', '2026-07-30 23:56:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444292 -5.081151)'), GeomFromEWKT('SRID=4674;POINT (-36.444365 -5.081219)'))) / (select extract(epoch from '2026-07-30 23:56:59'::timestamp) - extract(epoch from '2026-07-30 23:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444292 -5.081151)'), GeomFromEWKT('SRID=4674;POINT (-36.444365 -5.081219)'))) / (select extract(epoch from '2026-07-30 23:56:59'::timestamp) - extract(epoch from '2026-07-30 23:56: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'), 47749, 'SRID=4674;POINT (-36.444438 -5.081288)', '2026-07-30 23:57:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444365 -5.081219)'), GeomFromEWKT('SRID=4674;POINT (-36.444438 -5.081288)'))) / (select extract(epoch from '2026-07-30 23:57:09'::timestamp) - extract(epoch from '2026-07-30 23:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444365 -5.081219)'), GeomFromEWKT('SRID=4674;POINT (-36.444438 -5.081288)'))) / (select extract(epoch from '2026-07-30 23:57:09'::timestamp) - extract(epoch from '2026-07-30 23:56: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'), 47749, 'SRID=4674;POINT (-36.444522 -5.081355)', '2026-07-30 23:57:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444438 -5.081288)'), GeomFromEWKT('SRID=4674;POINT (-36.444522 -5.081355)'))) / (select extract(epoch from '2026-07-30 23:57:22'::timestamp) - extract(epoch from '2026-07-30 23:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444438 -5.081288)'), GeomFromEWKT('SRID=4674;POINT (-36.444522 -5.081355)'))) / (select extract(epoch from '2026-07-30 23:57:22'::timestamp) - extract(epoch from '2026-07-30 23: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'), 47749, 'SRID=4674;POINT (-36.444604 -5.081413)', '2026-07-30 23:57:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444522 -5.081355)'), GeomFromEWKT('SRID=4674;POINT (-36.444604 -5.081413)'))) / (select extract(epoch from '2026-07-30 23:57:33'::timestamp) - extract(epoch from '2026-07-30 23:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444522 -5.081355)'), GeomFromEWKT('SRID=4674;POINT (-36.444604 -5.081413)'))) / (select extract(epoch from '2026-07-30 23:57:33'::timestamp) - extract(epoch from '2026-07-30 23:57: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'), 47749, 'SRID=4674;POINT (-36.444706 -5.081472)', '2026-07-30 23:57:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444604 -5.081413)'), GeomFromEWKT('SRID=4674;POINT (-36.444706 -5.081472)'))) / (select extract(epoch from '2026-07-30 23:57:47'::timestamp) - extract(epoch from '2026-07-30 23:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444604 -5.081413)'), GeomFromEWKT('SRID=4674;POINT (-36.444706 -5.081472)'))) / (select extract(epoch from '2026-07-30 23:57:47'::timestamp) - extract(epoch from '2026-07-30 23:57:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.444824 -5.081536)', '2026-07-30 23:58:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444706 -5.081472)'), GeomFromEWKT('SRID=4674;POINT (-36.444824 -5.081536)'))) / (select extract(epoch from '2026-07-30 23:58:01'::timestamp) - extract(epoch from '2026-07-30 23:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444706 -5.081472)'), GeomFromEWKT('SRID=4674;POINT (-36.444824 -5.081536)'))) / (select extract(epoch from '2026-07-30 23:58:01'::timestamp) - extract(epoch from '2026-07-30 23:57: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'), 47749, 'SRID=4674;POINT (-36.444927 -5.081586)', '2026-07-30 23:58:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444824 -5.081536)'), GeomFromEWKT('SRID=4674;POINT (-36.444927 -5.081586)'))) / (select extract(epoch from '2026-07-30 23:58:13'::timestamp) - extract(epoch from '2026-07-30 23:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444824 -5.081536)'), GeomFromEWKT('SRID=4674;POINT (-36.444927 -5.081586)'))) / (select extract(epoch from '2026-07-30 23:58:13'::timestamp) - extract(epoch from '2026-07-30 23:58: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'), 47749, 'SRID=4674;POINT (-36.445016 -5.081638)', '2026-07-30 23:58:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444927 -5.081586)'), GeomFromEWKT('SRID=4674;POINT (-36.445016 -5.081638)'))) / (select extract(epoch from '2026-07-30 23:58:26'::timestamp) - extract(epoch from '2026-07-30 23:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444927 -5.081586)'), GeomFromEWKT('SRID=4674;POINT (-36.445016 -5.081638)'))) / (select extract(epoch from '2026-07-30 23:58:26'::timestamp) - extract(epoch from '2026-07-30 23:58: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'), 47749, 'SRID=4674;POINT (-36.445106 -5.081668)', '2026-07-30 23:58:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445016 -5.081638)'), GeomFromEWKT('SRID=4674;POINT (-36.445106 -5.081668)'))) / (select extract(epoch from '2026-07-30 23:58:44'::timestamp) - extract(epoch from '2026-07-30 23:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445016 -5.081638)'), GeomFromEWKT('SRID=4674;POINT (-36.445106 -5.081668)'))) / (select extract(epoch from '2026-07-30 23:58:44'::timestamp) - extract(epoch from '2026-07-30 23:58: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'), 47749, 'SRID=4674;POINT (-36.445222 -5.08163)', '2026-07-30 23:59:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445106 -5.081668)'), GeomFromEWKT('SRID=4674;POINT (-36.445222 -5.08163)'))) / (select extract(epoch from '2026-07-30 23:59:08'::timestamp) - extract(epoch from '2026-07-30 23:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445106 -5.081668)'), GeomFromEWKT('SRID=4674;POINT (-36.445222 -5.08163)'))) / (select extract(epoch from '2026-07-30 23:59:08'::timestamp) - extract(epoch from '2026-07-30 23:58: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'), 47749, 'SRID=4674;POINT (-36.445313 -5.081611)', '2026-07-30 23:59:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445222 -5.08163)'), GeomFromEWKT('SRID=4674;POINT (-36.445313 -5.081611)'))) / (select extract(epoch from '2026-07-30 23:59:35'::timestamp) - extract(epoch from '2026-07-30 23:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445222 -5.08163)'), GeomFromEWKT('SRID=4674;POINT (-36.445313 -5.081611)'))) / (select extract(epoch from '2026-07-30 23:59:35'::timestamp) - extract(epoch from '2026-07-30 23:59:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.445317 -5.081598)', '2026-07-30 23:59:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445313 -5.081611)'), GeomFromEWKT('SRID=4674;POINT (-36.445317 -5.081598)'))) / (select extract(epoch from '2026-07-30 23:59:56'::timestamp) - extract(epoch from '2026-07-30 23:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445313 -5.081611)'), GeomFromEWKT('SRID=4674;POINT (-36.445317 -5.081598)'))) / (select extract(epoch from '2026-07-30 23:59:56'::timestamp) - extract(epoch from '2026-07-30 23:59: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'), 47749, 'SRID=4674;POINT (-36.445332 -5.08156)', '2026-07-31 00:00:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445317 -5.081598)'), GeomFromEWKT('SRID=4674;POINT (-36.445332 -5.08156)'))) / (select extract(epoch from '2026-07-31 00:00:17'::timestamp) - extract(epoch from '2026-07-30 23:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445317 -5.081598)'), GeomFromEWKT('SRID=4674;POINT (-36.445332 -5.08156)'))) / (select extract(epoch from '2026-07-31 00:00:17'::timestamp) - extract(epoch from '2026-07-30 23: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'), 47749, 'SRID=4674;POINT (-36.445423 -5.081484)', '2026-07-31 00:00:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445332 -5.08156)'), GeomFromEWKT('SRID=4674;POINT (-36.445423 -5.081484)'))) / (select extract(epoch from '2026-07-31 00:00:52'::timestamp) - extract(epoch from '2026-07-31 00:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445332 -5.08156)'), GeomFromEWKT('SRID=4674;POINT (-36.445423 -5.081484)'))) / (select extract(epoch from '2026-07-31 00:00:52'::timestamp) - extract(epoch from '2026-07-31 00:00: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'), 47749, 'SRID=4674;POINT (-36.445548 -5.081408)', '2026-07-31 00:01:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445423 -5.081484)'), GeomFromEWKT('SRID=4674;POINT (-36.445548 -5.081408)'))) / (select extract(epoch from '2026-07-31 00:01:29'::timestamp) - extract(epoch from '2026-07-31 00:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445423 -5.081484)'), GeomFromEWKT('SRID=4674;POINT (-36.445548 -5.081408)'))) / (select extract(epoch from '2026-07-31 00:01:29'::timestamp) - extract(epoch from '2026-07-31 00:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.445677 -5.081374)', '2026-07-31 00:02:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445548 -5.081408)'), GeomFromEWKT('SRID=4674;POINT (-36.445677 -5.081374)'))) / (select extract(epoch from '2026-07-31 00:02:06'::timestamp) - extract(epoch from '2026-07-31 00:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445548 -5.081408)'), GeomFromEWKT('SRID=4674;POINT (-36.445677 -5.081374)'))) / (select extract(epoch from '2026-07-31 00:02:06'::timestamp) - extract(epoch from '2026-07-31 00:01:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.44578 -5.081356)', '2026-07-31 00:02:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445677 -5.081374)'), GeomFromEWKT('SRID=4674;POINT (-36.44578 -5.081356)'))) / (select extract(epoch from '2026-07-31 00:02:34'::timestamp) - extract(epoch from '2026-07-31 00:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445677 -5.081374)'), GeomFromEWKT('SRID=4674;POINT (-36.44578 -5.081356)'))) / (select extract(epoch from '2026-07-31 00:02:34'::timestamp) - extract(epoch from '2026-07-31 00: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'), 47749, 'SRID=4674;POINT (-36.445833 -5.081345)', '2026-07-31 00:02:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.44578 -5.081356)'), GeomFromEWKT('SRID=4674;POINT (-36.445833 -5.081345)'))) / (select extract(epoch from '2026-07-31 00:02:56'::timestamp) - extract(epoch from '2026-07-31 00:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.44578 -5.081356)'), GeomFromEWKT('SRID=4674;POINT (-36.445833 -5.081345)'))) / (select extract(epoch from '2026-07-31 00:02:56'::timestamp) - extract(epoch from '2026-07-31 00:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.445865 -5.081342)', '2026-07-31 00:03:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445833 -5.081345)'), GeomFromEWKT('SRID=4674;POINT (-36.445865 -5.081342)'))) / (select extract(epoch from '2026-07-31 00:03:23'::timestamp) - extract(epoch from '2026-07-31 00:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445833 -5.081345)'), GeomFromEWKT('SRID=4674;POINT (-36.445865 -5.081342)'))) / (select extract(epoch from '2026-07-31 00:03:23'::timestamp) - extract(epoch from '2026-07-31 00: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'), 47749, 'SRID=4674;POINT (-36.445877 -5.081363)', '2026-07-31 00:03:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445865 -5.081342)'), GeomFromEWKT('SRID=4674;POINT (-36.445877 -5.081363)'))) / (select extract(epoch from '2026-07-31 00:03:27'::timestamp) - extract(epoch from '2026-07-31 00:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445865 -5.081342)'), GeomFromEWKT('SRID=4674;POINT (-36.445877 -5.081363)'))) / (select extract(epoch from '2026-07-31 00:03:27'::timestamp) - extract(epoch from '2026-07-31 00:03:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.445916 -5.081426)', '2026-07-31 00:03:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445877 -5.081363)'), GeomFromEWKT('SRID=4674;POINT (-36.445916 -5.081426)'))) / (select extract(epoch from '2026-07-31 00:03:39'::timestamp) - extract(epoch from '2026-07-31 00:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445877 -5.081363)'), GeomFromEWKT('SRID=4674;POINT (-36.445916 -5.081426)'))) / (select extract(epoch from '2026-07-31 00:03:39'::timestamp) - extract(epoch from '2026-07-31 00:03:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.445994 -5.081531)', '2026-07-31 00:04:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445916 -5.081426)'), GeomFromEWKT('SRID=4674;POINT (-36.445994 -5.081531)'))) / (select extract(epoch from '2026-07-31 00:04:03'::timestamp) - extract(epoch from '2026-07-31 00:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445916 -5.081426)'), GeomFromEWKT('SRID=4674;POINT (-36.445994 -5.081531)'))) / (select extract(epoch from '2026-07-31 00:04:03'::timestamp) - extract(epoch from '2026-07-31 00:03: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'), 47749, 'SRID=4674;POINT (-36.446116 -5.081589)', '2026-07-31 00:04:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445994 -5.081531)'), GeomFromEWKT('SRID=4674;POINT (-36.446116 -5.081589)'))) / (select extract(epoch from '2026-07-31 00:04:31'::timestamp) - extract(epoch from '2026-07-31 00:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445994 -5.081531)'), GeomFromEWKT('SRID=4674;POINT (-36.446116 -5.081589)'))) / (select extract(epoch from '2026-07-31 00:04:31'::timestamp) - extract(epoch from '2026-07-31 00:04: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'), 47749, 'SRID=4674;POINT (-36.446158 -5.081677)', '2026-07-31 00:04:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446116 -5.081589)'), GeomFromEWKT('SRID=4674;POINT (-36.446158 -5.081677)'))) / (select extract(epoch from '2026-07-31 00:04:36'::timestamp) - extract(epoch from '2026-07-31 00:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446116 -5.081589)'), GeomFromEWKT('SRID=4674;POINT (-36.446158 -5.081677)'))) / (select extract(epoch from '2026-07-31 00:04:36'::timestamp) - extract(epoch from '2026-07-31 00:04: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'), 47749, 'SRID=4674;POINT (-36.446267 -5.081902)', '2026-07-31 00:04:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446158 -5.081677)'), GeomFromEWKT('SRID=4674;POINT (-36.446267 -5.081902)'))) / (select extract(epoch from '2026-07-31 00:04:47'::timestamp) - extract(epoch from '2026-07-31 00:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446158 -5.081677)'), GeomFromEWKT('SRID=4674;POINT (-36.446267 -5.081902)'))) / (select extract(epoch from '2026-07-31 00:04:47'::timestamp) - extract(epoch from '2026-07-31 00:04:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.446451 -5.082122)', '2026-07-31 00:05:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446267 -5.081902)'), GeomFromEWKT('SRID=4674;POINT (-36.446451 -5.082122)'))) / (select extract(epoch from '2026-07-31 00:05:01'::timestamp) - extract(epoch from '2026-07-31 00:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446267 -5.081902)'), GeomFromEWKT('SRID=4674;POINT (-36.446451 -5.082122)'))) / (select extract(epoch from '2026-07-31 00:05:01'::timestamp) - extract(epoch from '2026-07-31 00:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.446608 -5.082278)', '2026-07-31 00:05:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446451 -5.082122)'), GeomFromEWKT('SRID=4674;POINT (-36.446608 -5.082278)'))) / (select extract(epoch from '2026-07-31 00:05:12'::timestamp) - extract(epoch from '2026-07-31 00:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446451 -5.082122)'), GeomFromEWKT('SRID=4674;POINT (-36.446608 -5.082278)'))) / (select extract(epoch from '2026-07-31 00:05:12'::timestamp) - extract(epoch from '2026-07-31 00:05: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'), 47749, 'SRID=4674;POINT (-36.446722 -5.082436)', '2026-07-31 00:05:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446608 -5.082278)'), GeomFromEWKT('SRID=4674;POINT (-36.446722 -5.082436)'))) / (select extract(epoch from '2026-07-31 00:05:22'::timestamp) - extract(epoch from '2026-07-31 00:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446608 -5.082278)'), GeomFromEWKT('SRID=4674;POINT (-36.446722 -5.082436)'))) / (select extract(epoch from '2026-07-31 00:05:22'::timestamp) - extract(epoch from '2026-07-31 00:05: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'), 47749, 'SRID=4674;POINT (-36.446904 -5.082638)', '2026-07-31 00:05:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446722 -5.082436)'), GeomFromEWKT('SRID=4674;POINT (-36.446904 -5.082638)'))) / (select extract(epoch from '2026-07-31 00:05:36'::timestamp) - extract(epoch from '2026-07-31 00:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446722 -5.082436)'), GeomFromEWKT('SRID=4674;POINT (-36.446904 -5.082638)'))) / (select extract(epoch from '2026-07-31 00:05:36'::timestamp) - extract(epoch from '2026-07-31 00:05:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.447146 -5.082825)', '2026-07-31 00:05:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446904 -5.082638)'), GeomFromEWKT('SRID=4674;POINT (-36.447146 -5.082825)'))) / (select extract(epoch from '2026-07-31 00:05:51'::timestamp) - extract(epoch from '2026-07-31 00:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446904 -5.082638)'), GeomFromEWKT('SRID=4674;POINT (-36.447146 -5.082825)'))) / (select extract(epoch from '2026-07-31 00:05:51'::timestamp) - extract(epoch from '2026-07-31 00:05:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.447269 -5.082934)', '2026-07-31 00:05:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.447146 -5.082825)'), GeomFromEWKT('SRID=4674;POINT (-36.447269 -5.082934)'))) / (select extract(epoch from '2026-07-31 00:05:59'::timestamp) - extract(epoch from '2026-07-31 00:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.447146 -5.082825)'), GeomFromEWKT('SRID=4674;POINT (-36.447269 -5.082934)'))) / (select extract(epoch from '2026-07-31 00:05:59'::timestamp) - extract(epoch from '2026-07-31 00:05:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.447277 -5.083054)', '2026-07-31 00:06:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.447269 -5.082934)'), GeomFromEWKT('SRID=4674;POINT (-36.447277 -5.083054)'))) / (select extract(epoch from '2026-07-31 00:06:06'::timestamp) - extract(epoch from '2026-07-31 00:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.447269 -5.082934)'), GeomFromEWKT('SRID=4674;POINT (-36.447277 -5.083054)'))) / (select extract(epoch from '2026-07-31 00:06:06'::timestamp) - extract(epoch from '2026-07-31 00:05: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'), 47749, 'SRID=4674;POINT (-36.447183 -5.08318)', '2026-07-31 00:06:15', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.447277 -5.083054)'), GeomFromEWKT('SRID=4674;POINT (-36.447183 -5.08318)'))) / (select extract(epoch from '2026-07-31 00:06:15'::timestamp) - extract(epoch from '2026-07-31 00:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.447277 -5.083054)'), GeomFromEWKT('SRID=4674;POINT (-36.447183 -5.08318)'))) / (select extract(epoch from '2026-07-31 00:06:15'::timestamp) - extract(epoch from '2026-07-31 00:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.447015 -5.083243)', '2026-07-31 00:06:25', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.447183 -5.08318)'), GeomFromEWKT('SRID=4674;POINT (-36.447015 -5.083243)'))) / (select extract(epoch from '2026-07-31 00:06:25'::timestamp) - extract(epoch from '2026-07-31 00:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.447183 -5.08318)'), GeomFromEWKT('SRID=4674;POINT (-36.447015 -5.083243)'))) / (select extract(epoch from '2026-07-31 00:06:25'::timestamp) - extract(epoch from '2026-07-31 00:06: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'), 47749, 'SRID=4674;POINT (-36.446786 -5.083236)', '2026-07-31 00:06:37', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.447015 -5.083243)'), GeomFromEWKT('SRID=4674;POINT (-36.446786 -5.083236)'))) / (select extract(epoch from '2026-07-31 00:06:37'::timestamp) - extract(epoch from '2026-07-31 00:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.447015 -5.083243)'), GeomFromEWKT('SRID=4674;POINT (-36.446786 -5.083236)'))) / (select extract(epoch from '2026-07-31 00:06:37'::timestamp) - extract(epoch from '2026-07-31 00:06: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'), 47749, 'SRID=4674;POINT (-36.446556 -5.083198)', '2026-07-31 00:06:49', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446786 -5.083236)'), GeomFromEWKT('SRID=4674;POINT (-36.446556 -5.083198)'))) / (select extract(epoch from '2026-07-31 00:06:49'::timestamp) - extract(epoch from '2026-07-31 00:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446786 -5.083236)'), GeomFromEWKT('SRID=4674;POINT (-36.446556 -5.083198)'))) / (select extract(epoch from '2026-07-31 00:06:49'::timestamp) - extract(epoch from '2026-07-31 00:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.4463 -5.083143)', '2026-07-31 00:07:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446556 -5.083198)'), GeomFromEWKT('SRID=4674;POINT (-36.4463 -5.083143)'))) / (select extract(epoch from '2026-07-31 00:07:02'::timestamp) - extract(epoch from '2026-07-31 00:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446556 -5.083198)'), GeomFromEWKT('SRID=4674;POINT (-36.4463 -5.083143)'))) / (select extract(epoch from '2026-07-31 00:07:02'::timestamp) - extract(epoch from '2026-07-31 00:06: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'), 47749, 'SRID=4674;POINT (-36.446065 -5.08309)', '2026-07-31 00:07:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.4463 -5.083143)'), GeomFromEWKT('SRID=4674;POINT (-36.446065 -5.08309)'))) / (select extract(epoch from '2026-07-31 00:07:14'::timestamp) - extract(epoch from '2026-07-31 00:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.4463 -5.083143)'), GeomFromEWKT('SRID=4674;POINT (-36.446065 -5.08309)'))) / (select extract(epoch from '2026-07-31 00:07:14'::timestamp) - extract(epoch from '2026-07-31 00:07: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'), 47749, 'SRID=4674;POINT (-36.445821 -5.083054)', '2026-07-31 00:07:26', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446065 -5.08309)'), GeomFromEWKT('SRID=4674;POINT (-36.445821 -5.083054)'))) / (select extract(epoch from '2026-07-31 00:07:26'::timestamp) - extract(epoch from '2026-07-31 00:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.446065 -5.08309)'), GeomFromEWKT('SRID=4674;POINT (-36.445821 -5.083054)'))) / (select extract(epoch from '2026-07-31 00:07:26'::timestamp) - extract(epoch from '2026-07-31 00:07:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.445599 -5.082994)', '2026-07-31 00:07:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445821 -5.083054)'), GeomFromEWKT('SRID=4674;POINT (-36.445599 -5.082994)'))) / (select extract(epoch from '2026-07-31 00:07:37'::timestamp) - extract(epoch from '2026-07-31 00:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445821 -5.083054)'), GeomFromEWKT('SRID=4674;POINT (-36.445599 -5.082994)'))) / (select extract(epoch from '2026-07-31 00:07:37'::timestamp) - extract(epoch from '2026-07-31 00:07: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'), 47749, 'SRID=4674;POINT (-36.445368 -5.082884)', '2026-07-31 00:07:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445599 -5.082994)'), GeomFromEWKT('SRID=4674;POINT (-36.445368 -5.082884)'))) / (select extract(epoch from '2026-07-31 00:07:49'::timestamp) - extract(epoch from '2026-07-31 00:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445599 -5.082994)'), GeomFromEWKT('SRID=4674;POINT (-36.445368 -5.082884)'))) / (select extract(epoch from '2026-07-31 00:07:49'::timestamp) - extract(epoch from '2026-07-31 00:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.445195 -5.082865)', '2026-07-31 00:07:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445368 -5.082884)'), GeomFromEWKT('SRID=4674;POINT (-36.445195 -5.082865)'))) / (select extract(epoch from '2026-07-31 00:07:58'::timestamp) - extract(epoch from '2026-07-31 00:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445368 -5.082884)'), GeomFromEWKT('SRID=4674;POINT (-36.445195 -5.082865)'))) / (select extract(epoch from '2026-07-31 00:07:58'::timestamp) - extract(epoch from '2026-07-31 00:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.444936 -5.082837)', '2026-07-31 00:08:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445195 -5.082865)'), GeomFromEWKT('SRID=4674;POINT (-36.444936 -5.082837)'))) / (select extract(epoch from '2026-07-31 00:08:11'::timestamp) - extract(epoch from '2026-07-31 00:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.445195 -5.082865)'), GeomFromEWKT('SRID=4674;POINT (-36.444936 -5.082837)'))) / (select extract(epoch from '2026-07-31 00:08:11'::timestamp) - extract(epoch from '2026-07-31 00:07:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47749, 'SRID=4674;POINT (-36.444649 -5.082755)', '2026-07-31 00:08:26', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444936 -5.082837)'), GeomFromEWKT('SRID=4674;POINT (-36.444649 -5.082755)'))) / (select extract(epoch from '2026-07-31 00:08:26'::timestamp) - extract(epoch from '2026-07-31 00:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.444936 -5.082837)'), GeomFromEWKT('SRID=4674;POINT (-36.444649 -5.082755)'))) / (select extract(epoch from '2026-07-31 00:08:26'::timestamp) - extract(epoch from '2026-07-31 00:08:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
