 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.111784 -2.816193)', '2026-08-19 16:03:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111947 -2.816182)'), GeomFromEWKT('SRID=4674;POINT (-40.111784 -2.816193)'))) / (select extract(epoch from '2026-08-19 16:03:17'::timestamp) - extract(epoch from '2026-08-19 16:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111947 -2.816182)'), GeomFromEWKT('SRID=4674;POINT (-40.111784 -2.816193)'))) / (select extract(epoch from '2026-08-19 16:03:17'::timestamp) - extract(epoch from '2026-08-19 16:03: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'), 48199, 'SRID=4674;POINT (-40.111624 -2.816204)', '2026-08-19 16:03:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111784 -2.816193)'), GeomFromEWKT('SRID=4674;POINT (-40.111624 -2.816204)'))) / (select extract(epoch from '2026-08-19 16:03:28'::timestamp) - extract(epoch from '2026-08-19 16:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111784 -2.816193)'), GeomFromEWKT('SRID=4674;POINT (-40.111624 -2.816204)'))) / (select extract(epoch from '2026-08-19 16:03:28'::timestamp) - extract(epoch from '2026-08-19 16:03:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.11146 -2.816223)', '2026-08-19 16:03:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111624 -2.816204)'), GeomFromEWKT('SRID=4674;POINT (-40.11146 -2.816223)'))) / (select extract(epoch from '2026-08-19 16:03:39'::timestamp) - extract(epoch from '2026-08-19 16:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111624 -2.816204)'), GeomFromEWKT('SRID=4674;POINT (-40.11146 -2.816223)'))) / (select extract(epoch from '2026-08-19 16:03:39'::timestamp) - extract(epoch from '2026-08-19 16:03: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'), 48199, 'SRID=4674;POINT (-40.111339 -2.816249)', '2026-08-19 16:03:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11146 -2.816223)'), GeomFromEWKT('SRID=4674;POINT (-40.111339 -2.816249)'))) / (select extract(epoch from '2026-08-19 16:03:48'::timestamp) - extract(epoch from '2026-08-19 16:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11146 -2.816223)'), GeomFromEWKT('SRID=4674;POINT (-40.111339 -2.816249)'))) / (select extract(epoch from '2026-08-19 16:03:48'::timestamp) - extract(epoch from '2026-08-19 16: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'), 48199, 'SRID=4674;POINT (-40.111195 -2.816253)', '2026-08-19 16:03:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111339 -2.816249)'), GeomFromEWKT('SRID=4674;POINT (-40.111195 -2.816253)'))) / (select extract(epoch from '2026-08-19 16:03:59'::timestamp) - extract(epoch from '2026-08-19 16:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111339 -2.816249)'), GeomFromEWKT('SRID=4674;POINT (-40.111195 -2.816253)'))) / (select extract(epoch from '2026-08-19 16:03:59'::timestamp) - extract(epoch from '2026-08-19 16:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.111034 -2.816266)', '2026-08-19 16:04:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111195 -2.816253)'), GeomFromEWKT('SRID=4674;POINT (-40.111034 -2.816266)'))) / (select extract(epoch from '2026-08-19 16:04:11'::timestamp) - extract(epoch from '2026-08-19 16:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111195 -2.816253)'), GeomFromEWKT('SRID=4674;POINT (-40.111034 -2.816266)'))) / (select extract(epoch from '2026-08-19 16:04:11'::timestamp) - extract(epoch from '2026-08-19 16:03:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.110907 -2.816259)', '2026-08-19 16:04:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111034 -2.816266)'), GeomFromEWKT('SRID=4674;POINT (-40.110907 -2.816259)'))) / (select extract(epoch from '2026-08-19 16:04:20'::timestamp) - extract(epoch from '2026-08-19 16:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111034 -2.816266)'), GeomFromEWKT('SRID=4674;POINT (-40.110907 -2.816259)'))) / (select extract(epoch from '2026-08-19 16:04:20'::timestamp) - extract(epoch from '2026-08-19 16:04: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'), 48199, 'SRID=4674;POINT (-40.110788 -2.816264)', '2026-08-19 16:04:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110907 -2.816259)'), GeomFromEWKT('SRID=4674;POINT (-40.110788 -2.816264)'))) / (select extract(epoch from '2026-08-19 16:04:29'::timestamp) - extract(epoch from '2026-08-19 16:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110907 -2.816259)'), GeomFromEWKT('SRID=4674;POINT (-40.110788 -2.816264)'))) / (select extract(epoch from '2026-08-19 16:04:29'::timestamp) - extract(epoch from '2026-08-19 16:04:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.11068 -2.81629)', '2026-08-19 16:04:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110788 -2.816264)'), GeomFromEWKT('SRID=4674;POINT (-40.11068 -2.81629)'))) / (select extract(epoch from '2026-08-19 16:04:38'::timestamp) - extract(epoch from '2026-08-19 16:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110788 -2.816264)'), GeomFromEWKT('SRID=4674;POINT (-40.11068 -2.81629)'))) / (select extract(epoch from '2026-08-19 16:04:38'::timestamp) - extract(epoch from '2026-08-19 16:04: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'), 48199, 'SRID=4674;POINT (-40.110544 -2.816288)', '2026-08-19 16:04:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11068 -2.81629)'), GeomFromEWKT('SRID=4674;POINT (-40.110544 -2.816288)'))) / (select extract(epoch from '2026-08-19 16:04:48'::timestamp) - extract(epoch from '2026-08-19 16:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11068 -2.81629)'), GeomFromEWKT('SRID=4674;POINT (-40.110544 -2.816288)'))) / (select extract(epoch from '2026-08-19 16:04:48'::timestamp) - extract(epoch from '2026-08-19 16: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'), 48199, 'SRID=4674;POINT (-40.110392 -2.816286)', '2026-08-19 16:04:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110544 -2.816288)'), GeomFromEWKT('SRID=4674;POINT (-40.110392 -2.816286)'))) / (select extract(epoch from '2026-08-19 16:04:59'::timestamp) - extract(epoch from '2026-08-19 16:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110544 -2.816288)'), GeomFromEWKT('SRID=4674;POINT (-40.110392 -2.816286)'))) / (select extract(epoch from '2026-08-19 16:04:59'::timestamp) - extract(epoch from '2026-08-19 16:04:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.110274 -2.816315)', '2026-08-19 16:05:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110392 -2.816286)'), GeomFromEWKT('SRID=4674;POINT (-40.110274 -2.816315)'))) / (select extract(epoch from '2026-08-19 16:05:08'::timestamp) - extract(epoch from '2026-08-19 16:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110392 -2.816286)'), GeomFromEWKT('SRID=4674;POINT (-40.110274 -2.816315)'))) / (select extract(epoch from '2026-08-19 16:05:08'::timestamp) - extract(epoch from '2026-08-19 16: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'), 48199, 'SRID=4674;POINT (-40.11015 -2.816303)', '2026-08-19 16:05:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110274 -2.816315)'), GeomFromEWKT('SRID=4674;POINT (-40.11015 -2.816303)'))) / (select extract(epoch from '2026-08-19 16:05:17'::timestamp) - extract(epoch from '2026-08-19 16:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110274 -2.816315)'), GeomFromEWKT('SRID=4674;POINT (-40.11015 -2.816303)'))) / (select extract(epoch from '2026-08-19 16:05:17'::timestamp) - extract(epoch from '2026-08-19 16:05: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'), 48199, 'SRID=4674;POINT (-40.110047 -2.816293)', '2026-08-19 16:05:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11015 -2.816303)'), GeomFromEWKT('SRID=4674;POINT (-40.110047 -2.816293)'))) / (select extract(epoch from '2026-08-19 16:05:25'::timestamp) - extract(epoch from '2026-08-19 16:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11015 -2.816303)'), GeomFromEWKT('SRID=4674;POINT (-40.110047 -2.816293)'))) / (select extract(epoch from '2026-08-19 16:05:25'::timestamp) - extract(epoch from '2026-08-19 16:05:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.109927 -2.816291)', '2026-08-19 16:05:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110047 -2.816293)'), GeomFromEWKT('SRID=4674;POINT (-40.109927 -2.816291)'))) / (select extract(epoch from '2026-08-19 16:05:34'::timestamp) - extract(epoch from '2026-08-19 16:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110047 -2.816293)'), GeomFromEWKT('SRID=4674;POINT (-40.109927 -2.816291)'))) / (select extract(epoch from '2026-08-19 16:05:34'::timestamp) - extract(epoch from '2026-08-19 16:05: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'), 48199, 'SRID=4674;POINT (-40.109808 -2.816292)', '2026-08-19 16:05:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109927 -2.816291)'), GeomFromEWKT('SRID=4674;POINT (-40.109808 -2.816292)'))) / (select extract(epoch from '2026-08-19 16:05:42'::timestamp) - extract(epoch from '2026-08-19 16:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109927 -2.816291)'), GeomFromEWKT('SRID=4674;POINT (-40.109808 -2.816292)'))) / (select extract(epoch from '2026-08-19 16:05:42'::timestamp) - extract(epoch from '2026-08-19 16:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.109683 -2.816317)', '2026-08-19 16:05:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109808 -2.816292)'), GeomFromEWKT('SRID=4674;POINT (-40.109683 -2.816317)'))) / (select extract(epoch from '2026-08-19 16:05:51'::timestamp) - extract(epoch from '2026-08-19 16:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109808 -2.816292)'), GeomFromEWKT('SRID=4674;POINT (-40.109683 -2.816317)'))) / (select extract(epoch from '2026-08-19 16:05:51'::timestamp) - extract(epoch from '2026-08-19 16:05: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'), 48199, 'SRID=4674;POINT (-40.109528 -2.816339)', '2026-08-19 16:06:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109683 -2.816317)'), GeomFromEWKT('SRID=4674;POINT (-40.109528 -2.816339)'))) / (select extract(epoch from '2026-08-19 16:06:03'::timestamp) - extract(epoch from '2026-08-19 16:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109683 -2.816317)'), GeomFromEWKT('SRID=4674;POINT (-40.109528 -2.816339)'))) / (select extract(epoch from '2026-08-19 16:06:03'::timestamp) - extract(epoch from '2026-08-19 16: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'), 48199, 'SRID=4674;POINT (-40.109383 -2.816334)', '2026-08-19 16:06:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109528 -2.816339)'), GeomFromEWKT('SRID=4674;POINT (-40.109383 -2.816334)'))) / (select extract(epoch from '2026-08-19 16:06:13'::timestamp) - extract(epoch from '2026-08-19 16:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109528 -2.816339)'), GeomFromEWKT('SRID=4674;POINT (-40.109383 -2.816334)'))) / (select extract(epoch from '2026-08-19 16:06:13'::timestamp) - extract(epoch from '2026-08-19 16: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'), 48199, 'SRID=4674;POINT (-40.109223 -2.816348)', '2026-08-19 16:06:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109383 -2.816334)'), GeomFromEWKT('SRID=4674;POINT (-40.109223 -2.816348)'))) / (select extract(epoch from '2026-08-19 16:06:24'::timestamp) - extract(epoch from '2026-08-19 16:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109383 -2.816334)'), GeomFromEWKT('SRID=4674;POINT (-40.109223 -2.816348)'))) / (select extract(epoch from '2026-08-19 16:06:24'::timestamp) - extract(epoch from '2026-08-19 16:06:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.109025 -2.816348)', '2026-08-19 16:06:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109223 -2.816348)'), GeomFromEWKT('SRID=4674;POINT (-40.109025 -2.816348)'))) / (select extract(epoch from '2026-08-19 16:06:39'::timestamp) - extract(epoch from '2026-08-19 16:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109223 -2.816348)'), GeomFromEWKT('SRID=4674;POINT (-40.109025 -2.816348)'))) / (select extract(epoch from '2026-08-19 16:06:39'::timestamp) - extract(epoch from '2026-08-19 16:06: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'), 48199, 'SRID=4674;POINT (-40.108882 -2.816358)', '2026-08-19 16:06:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109025 -2.816348)'), GeomFromEWKT('SRID=4674;POINT (-40.108882 -2.816358)'))) / (select extract(epoch from '2026-08-19 16:06:49'::timestamp) - extract(epoch from '2026-08-19 16:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109025 -2.816348)'), GeomFromEWKT('SRID=4674;POINT (-40.108882 -2.816358)'))) / (select extract(epoch from '2026-08-19 16:06:49'::timestamp) - extract(epoch from '2026-08-19 16:06: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'), 48199, 'SRID=4674;POINT (-40.108704 -2.816364)', '2026-08-19 16:07:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108882 -2.816358)'), GeomFromEWKT('SRID=4674;POINT (-40.108704 -2.816364)'))) / (select extract(epoch from '2026-08-19 16:07:01'::timestamp) - extract(epoch from '2026-08-19 16:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108882 -2.816358)'), GeomFromEWKT('SRID=4674;POINT (-40.108704 -2.816364)'))) / (select extract(epoch from '2026-08-19 16:07:01'::timestamp) - extract(epoch from '2026-08-19 16: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'), 48199, 'SRID=4674;POINT (-40.10857 -2.816354)', '2026-08-19 16:07:11', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108704 -2.816364)'), GeomFromEWKT('SRID=4674;POINT (-40.10857 -2.816354)'))) / (select extract(epoch from '2026-08-19 16:07:11'::timestamp) - extract(epoch from '2026-08-19 16:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108704 -2.816364)'), GeomFromEWKT('SRID=4674;POINT (-40.10857 -2.816354)'))) / (select extract(epoch from '2026-08-19 16:07:11'::timestamp) - extract(epoch from '2026-08-19 16:07: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'), 48199, 'SRID=4674;POINT (-40.108421 -2.816351)', '2026-08-19 16:07:22', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10857 -2.816354)'), GeomFromEWKT('SRID=4674;POINT (-40.108421 -2.816351)'))) / (select extract(epoch from '2026-08-19 16:07:22'::timestamp) - extract(epoch from '2026-08-19 16:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10857 -2.816354)'), GeomFromEWKT('SRID=4674;POINT (-40.108421 -2.816351)'))) / (select extract(epoch from '2026-08-19 16:07:22'::timestamp) - extract(epoch from '2026-08-19 16:07: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'), 48199, 'SRID=4674;POINT (-40.108283 -2.816363)', '2026-08-19 16:07:32', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108421 -2.816351)'), GeomFromEWKT('SRID=4674;POINT (-40.108283 -2.816363)'))) / (select extract(epoch from '2026-08-19 16:07:32'::timestamp) - extract(epoch from '2026-08-19 16:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108421 -2.816351)'), GeomFromEWKT('SRID=4674;POINT (-40.108283 -2.816363)'))) / (select extract(epoch from '2026-08-19 16:07:32'::timestamp) - extract(epoch from '2026-08-19 16:07: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'), 48199, 'SRID=4674;POINT (-40.108149 -2.816366)', '2026-08-19 16:07:42', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108283 -2.816363)'), GeomFromEWKT('SRID=4674;POINT (-40.108149 -2.816366)'))) / (select extract(epoch from '2026-08-19 16:07:42'::timestamp) - extract(epoch from '2026-08-19 16:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108283 -2.816363)'), GeomFromEWKT('SRID=4674;POINT (-40.108149 -2.816366)'))) / (select extract(epoch from '2026-08-19 16:07:42'::timestamp) - extract(epoch from '2026-08-19 16:07:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.108023 -2.816393)', '2026-08-19 16:07:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108149 -2.816366)'), GeomFromEWKT('SRID=4674;POINT (-40.108023 -2.816393)'))) / (select extract(epoch from '2026-08-19 16:07:52'::timestamp) - extract(epoch from '2026-08-19 16:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108149 -2.816366)'), GeomFromEWKT('SRID=4674;POINT (-40.108023 -2.816393)'))) / (select extract(epoch from '2026-08-19 16:07:52'::timestamp) - extract(epoch from '2026-08-19 16:07: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'), 48199, 'SRID=4674;POINT (-40.107908 -2.816399)', '2026-08-19 16:08:01', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108023 -2.816393)'), GeomFromEWKT('SRID=4674;POINT (-40.107908 -2.816399)'))) / (select extract(epoch from '2026-08-19 16:08:01'::timestamp) - extract(epoch from '2026-08-19 16:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108023 -2.816393)'), GeomFromEWKT('SRID=4674;POINT (-40.107908 -2.816399)'))) / (select extract(epoch from '2026-08-19 16:08:01'::timestamp) - extract(epoch from '2026-08-19 16:07: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'), 48199, 'SRID=4674;POINT (-40.107756 -2.816394)', '2026-08-19 16:08:12', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107908 -2.816399)'), GeomFromEWKT('SRID=4674;POINT (-40.107756 -2.816394)'))) / (select extract(epoch from '2026-08-19 16:08:12'::timestamp) - extract(epoch from '2026-08-19 16:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107908 -2.816399)'), GeomFromEWKT('SRID=4674;POINT (-40.107756 -2.816394)'))) / (select extract(epoch from '2026-08-19 16:08:12'::timestamp) - extract(epoch from '2026-08-19 16:08: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'), 48199, 'SRID=4674;POINT (-40.107575 -2.81639)', '2026-08-19 16:08:25', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107756 -2.816394)'), GeomFromEWKT('SRID=4674;POINT (-40.107575 -2.81639)'))) / (select extract(epoch from '2026-08-19 16:08:25'::timestamp) - extract(epoch from '2026-08-19 16:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107756 -2.816394)'), GeomFromEWKT('SRID=4674;POINT (-40.107575 -2.81639)'))) / (select extract(epoch from '2026-08-19 16:08:25'::timestamp) - extract(epoch from '2026-08-19 16:08: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'), 48199, 'SRID=4674;POINT (-40.107402 -2.81638)', '2026-08-19 16:08:37', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107575 -2.81639)'), GeomFromEWKT('SRID=4674;POINT (-40.107402 -2.81638)'))) / (select extract(epoch from '2026-08-19 16:08:37'::timestamp) - extract(epoch from '2026-08-19 16:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107575 -2.81639)'), GeomFromEWKT('SRID=4674;POINT (-40.107402 -2.81638)'))) / (select extract(epoch from '2026-08-19 16:08:37'::timestamp) - extract(epoch from '2026-08-19 16:08: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'), 48199, 'SRID=4674;POINT (-40.107222 -2.816386)', '2026-08-19 16:08:49', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107402 -2.81638)'), GeomFromEWKT('SRID=4674;POINT (-40.107222 -2.816386)'))) / (select extract(epoch from '2026-08-19 16:08:49'::timestamp) - extract(epoch from '2026-08-19 16:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107402 -2.81638)'), GeomFromEWKT('SRID=4674;POINT (-40.107222 -2.816386)'))) / (select extract(epoch from '2026-08-19 16:08:49'::timestamp) - extract(epoch from '2026-08-19 16:08: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'), 48199, 'SRID=4674;POINT (-40.107095 -2.816396)', '2026-08-19 16:08:59', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107222 -2.816386)'), GeomFromEWKT('SRID=4674;POINT (-40.107095 -2.816396)'))) / (select extract(epoch from '2026-08-19 16:08:59'::timestamp) - extract(epoch from '2026-08-19 16:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107222 -2.816386)'), GeomFromEWKT('SRID=4674;POINT (-40.107095 -2.816396)'))) / (select extract(epoch from '2026-08-19 16:08:59'::timestamp) - extract(epoch from '2026-08-19 16:08: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'), 48199, 'SRID=4674;POINT (-40.10693 -2.816386)', '2026-08-19 16:09:11', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107095 -2.816396)'), GeomFromEWKT('SRID=4674;POINT (-40.10693 -2.816386)'))) / (select extract(epoch from '2026-08-19 16:09:11'::timestamp) - extract(epoch from '2026-08-19 16:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107095 -2.816396)'), GeomFromEWKT('SRID=4674;POINT (-40.10693 -2.816386)'))) / (select extract(epoch from '2026-08-19 16:09:11'::timestamp) - extract(epoch from '2026-08-19 16:08: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'), 48199, 'SRID=4674;POINT (-40.106805 -2.816385)', '2026-08-19 16:09:20', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10693 -2.816386)'), GeomFromEWKT('SRID=4674;POINT (-40.106805 -2.816385)'))) / (select extract(epoch from '2026-08-19 16:09:20'::timestamp) - extract(epoch from '2026-08-19 16:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10693 -2.816386)'), GeomFromEWKT('SRID=4674;POINT (-40.106805 -2.816385)'))) / (select extract(epoch from '2026-08-19 16:09:20'::timestamp) - extract(epoch from '2026-08-19 16:09: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'), 48199, 'SRID=4674;POINT (-40.106709 -2.8164)', '2026-08-19 16:09:31', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106805 -2.816385)'), GeomFromEWKT('SRID=4674;POINT (-40.106709 -2.8164)'))) / (select extract(epoch from '2026-08-19 16:09:31'::timestamp) - extract(epoch from '2026-08-19 16:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106805 -2.816385)'), GeomFromEWKT('SRID=4674;POINT (-40.106709 -2.8164)'))) / (select extract(epoch from '2026-08-19 16:09:31'::timestamp) - extract(epoch from '2026-08-19 16: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'), 48199, 'SRID=4674;POINT (-40.106586 -2.816429)', '2026-08-19 16:09:46', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106709 -2.8164)'), GeomFromEWKT('SRID=4674;POINT (-40.106586 -2.816429)'))) / (select extract(epoch from '2026-08-19 16:09:46'::timestamp) - extract(epoch from '2026-08-19 16:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106709 -2.8164)'), GeomFromEWKT('SRID=4674;POINT (-40.106586 -2.816429)'))) / (select extract(epoch from '2026-08-19 16:09:46'::timestamp) - extract(epoch from '2026-08-19 16:09: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'), 48199, 'SRID=4674;POINT (-40.106426 -2.816444)', '2026-08-19 16:10:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106586 -2.816429)'), GeomFromEWKT('SRID=4674;POINT (-40.106426 -2.816444)'))) / (select extract(epoch from '2026-08-19 16:10:04'::timestamp) - extract(epoch from '2026-08-19 16:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106586 -2.816429)'), GeomFromEWKT('SRID=4674;POINT (-40.106426 -2.816444)'))) / (select extract(epoch from '2026-08-19 16:10:04'::timestamp) - extract(epoch from '2026-08-19 16:09:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.106264 -2.816465)', '2026-08-19 16:10:18', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106426 -2.816444)'), GeomFromEWKT('SRID=4674;POINT (-40.106264 -2.816465)'))) / (select extract(epoch from '2026-08-19 16:10:18'::timestamp) - extract(epoch from '2026-08-19 16:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106426 -2.816444)'), GeomFromEWKT('SRID=4674;POINT (-40.106264 -2.816465)'))) / (select extract(epoch from '2026-08-19 16:10:18'::timestamp) - extract(epoch from '2026-08-19 16:10:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.106139 -2.816466)', '2026-08-19 16:10:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106264 -2.816465)'), GeomFromEWKT('SRID=4674;POINT (-40.106139 -2.816466)'))) / (select extract(epoch from '2026-08-19 16:10:28'::timestamp) - extract(epoch from '2026-08-19 16:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106264 -2.816465)'), GeomFromEWKT('SRID=4674;POINT (-40.106139 -2.816466)'))) / (select extract(epoch from '2026-08-19 16:10:28'::timestamp) - extract(epoch from '2026-08-19 16:10:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.106003 -2.816449)', '2026-08-19 16:10:39', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106139 -2.816466)'), GeomFromEWKT('SRID=4674;POINT (-40.106003 -2.816449)'))) / (select extract(epoch from '2026-08-19 16:10:39'::timestamp) - extract(epoch from '2026-08-19 16:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106139 -2.816466)'), GeomFromEWKT('SRID=4674;POINT (-40.106003 -2.816449)'))) / (select extract(epoch from '2026-08-19 16:10:39'::timestamp) - extract(epoch from '2026-08-19 16:10: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'), 48199, 'SRID=4674;POINT (-40.105893 -2.816431)', '2026-08-19 16:10:48', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106003 -2.816449)'), GeomFromEWKT('SRID=4674;POINT (-40.105893 -2.816431)'))) / (select extract(epoch from '2026-08-19 16:10:48'::timestamp) - extract(epoch from '2026-08-19 16:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106003 -2.816449)'), GeomFromEWKT('SRID=4674;POINT (-40.105893 -2.816431)'))) / (select extract(epoch from '2026-08-19 16:10:48'::timestamp) - extract(epoch from '2026-08-19 16:10: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'), 48199, 'SRID=4674;POINT (-40.105769 -2.816436)', '2026-08-19 16:10:58', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105893 -2.816431)'), GeomFromEWKT('SRID=4674;POINT (-40.105769 -2.816436)'))) / (select extract(epoch from '2026-08-19 16:10:58'::timestamp) - extract(epoch from '2026-08-19 16:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105893 -2.816431)'), GeomFromEWKT('SRID=4674;POINT (-40.105769 -2.816436)'))) / (select extract(epoch from '2026-08-19 16:10:58'::timestamp) - extract(epoch from '2026-08-19 16:10:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.10563 -2.816433)', '2026-08-19 16:11:09', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105769 -2.816436)'), GeomFromEWKT('SRID=4674;POINT (-40.10563 -2.816433)'))) / (select extract(epoch from '2026-08-19 16:11:09'::timestamp) - extract(epoch from '2026-08-19 16:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105769 -2.816436)'), GeomFromEWKT('SRID=4674;POINT (-40.10563 -2.816433)'))) / (select extract(epoch from '2026-08-19 16:11:09'::timestamp) - extract(epoch from '2026-08-19 16:10:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.105498 -2.81641)', '2026-08-19 16:11:20', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10563 -2.816433)'), GeomFromEWKT('SRID=4674;POINT (-40.105498 -2.81641)'))) / (select extract(epoch from '2026-08-19 16:11:20'::timestamp) - extract(epoch from '2026-08-19 16:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10563 -2.816433)'), GeomFromEWKT('SRID=4674;POINT (-40.105498 -2.81641)'))) / (select extract(epoch from '2026-08-19 16:11:20'::timestamp) - extract(epoch from '2026-08-19 16:11: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'), 48199, 'SRID=4674;POINT (-40.105371 -2.816391)', '2026-08-19 16:11:30', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105498 -2.81641)'), GeomFromEWKT('SRID=4674;POINT (-40.105371 -2.816391)'))) / (select extract(epoch from '2026-08-19 16:11:30'::timestamp) - extract(epoch from '2026-08-19 16:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105498 -2.81641)'), GeomFromEWKT('SRID=4674;POINT (-40.105371 -2.816391)'))) / (select extract(epoch from '2026-08-19 16:11:30'::timestamp) - extract(epoch from '2026-08-19 16:11:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.105246 -2.816364)', '2026-08-19 16:11:40', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105371 -2.816391)'), GeomFromEWKT('SRID=4674;POINT (-40.105246 -2.816364)'))) / (select extract(epoch from '2026-08-19 16:11:40'::timestamp) - extract(epoch from '2026-08-19 16:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105371 -2.816391)'), GeomFromEWKT('SRID=4674;POINT (-40.105246 -2.816364)'))) / (select extract(epoch from '2026-08-19 16:11:40'::timestamp) - extract(epoch from '2026-08-19 16:11: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'), 48199, 'SRID=4674;POINT (-40.10511 -2.816349)', '2026-08-19 16:11:52', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105246 -2.816364)'), GeomFromEWKT('SRID=4674;POINT (-40.10511 -2.816349)'))) / (select extract(epoch from '2026-08-19 16:11:52'::timestamp) - extract(epoch from '2026-08-19 16:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105246 -2.816364)'), GeomFromEWKT('SRID=4674;POINT (-40.10511 -2.816349)'))) / (select extract(epoch from '2026-08-19 16:11:52'::timestamp) - extract(epoch from '2026-08-19 16:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.105018 -2.816333)', '2026-08-19 16:12:01', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10511 -2.816349)'), GeomFromEWKT('SRID=4674;POINT (-40.105018 -2.816333)'))) / (select extract(epoch from '2026-08-19 16:12:01'::timestamp) - extract(epoch from '2026-08-19 16:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10511 -2.816349)'), GeomFromEWKT('SRID=4674;POINT (-40.105018 -2.816333)'))) / (select extract(epoch from '2026-08-19 16:12:01'::timestamp) - extract(epoch from '2026-08-19 16:11: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'), 48199, 'SRID=4674;POINT (-40.104901 -2.816321)', '2026-08-19 16:12:12', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105018 -2.816333)'), GeomFromEWKT('SRID=4674;POINT (-40.104901 -2.816321)'))) / (select extract(epoch from '2026-08-19 16:12:12'::timestamp) - extract(epoch from '2026-08-19 16:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105018 -2.816333)'), GeomFromEWKT('SRID=4674;POINT (-40.104901 -2.816321)'))) / (select extract(epoch from '2026-08-19 16:12:12'::timestamp) - extract(epoch from '2026-08-19 16:12:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.104794 -2.81631)', '2026-08-19 16:12:22', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104901 -2.816321)'), GeomFromEWKT('SRID=4674;POINT (-40.104794 -2.81631)'))) / (select extract(epoch from '2026-08-19 16:12:22'::timestamp) - extract(epoch from '2026-08-19 16:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104901 -2.816321)'), GeomFromEWKT('SRID=4674;POINT (-40.104794 -2.81631)'))) / (select extract(epoch from '2026-08-19 16:12:22'::timestamp) - extract(epoch from '2026-08-19 16:12:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.104691 -2.816309)', '2026-08-19 16:12:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104794 -2.81631)'), GeomFromEWKT('SRID=4674;POINT (-40.104691 -2.816309)'))) / (select extract(epoch from '2026-08-19 16:12:32'::timestamp) - extract(epoch from '2026-08-19 16:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104794 -2.81631)'), GeomFromEWKT('SRID=4674;POINT (-40.104691 -2.816309)'))) / (select extract(epoch from '2026-08-19 16:12:32'::timestamp) - extract(epoch from '2026-08-19 16:12: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'), 48199, 'SRID=4674;POINT (-40.104605 -2.816309)', '2026-08-19 16:12:40', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104691 -2.816309)'), GeomFromEWKT('SRID=4674;POINT (-40.104605 -2.816309)'))) / (select extract(epoch from '2026-08-19 16:12:40'::timestamp) - extract(epoch from '2026-08-19 16:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104691 -2.816309)'), GeomFromEWKT('SRID=4674;POINT (-40.104605 -2.816309)'))) / (select extract(epoch from '2026-08-19 16:12:40'::timestamp) - extract(epoch from '2026-08-19 16:12: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'), 48199, 'SRID=4674;POINT (-40.104479 -2.816328)', '2026-08-19 16:12:52', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104605 -2.816309)'), GeomFromEWKT('SRID=4674;POINT (-40.104479 -2.816328)'))) / (select extract(epoch from '2026-08-19 16:12:52'::timestamp) - extract(epoch from '2026-08-19 16:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104605 -2.816309)'), GeomFromEWKT('SRID=4674;POINT (-40.104479 -2.816328)'))) / (select extract(epoch from '2026-08-19 16:12:52'::timestamp) - extract(epoch from '2026-08-19 16:12:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.104377 -2.816341)', '2026-08-19 16:13:02', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104479 -2.816328)'), GeomFromEWKT('SRID=4674;POINT (-40.104377 -2.816341)'))) / (select extract(epoch from '2026-08-19 16:13:02'::timestamp) - extract(epoch from '2026-08-19 16:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104479 -2.816328)'), GeomFromEWKT('SRID=4674;POINT (-40.104377 -2.816341)'))) / (select extract(epoch from '2026-08-19 16:13:02'::timestamp) - extract(epoch from '2026-08-19 16:12: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'), 48199, 'SRID=4674;POINT (-40.104256 -2.81633)', '2026-08-19 16:13:12', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104377 -2.816341)'), GeomFromEWKT('SRID=4674;POINT (-40.104256 -2.81633)'))) / (select extract(epoch from '2026-08-19 16:13:12'::timestamp) - extract(epoch from '2026-08-19 16:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104377 -2.816341)'), GeomFromEWKT('SRID=4674;POINT (-40.104256 -2.81633)'))) / (select extract(epoch from '2026-08-19 16:13:12'::timestamp) - extract(epoch from '2026-08-19 16:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.104137 -2.816321)', '2026-08-19 16:13:22', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104256 -2.81633)'), GeomFromEWKT('SRID=4674;POINT (-40.104137 -2.816321)'))) / (select extract(epoch from '2026-08-19 16:13:22'::timestamp) - extract(epoch from '2026-08-19 16:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104256 -2.81633)'), GeomFromEWKT('SRID=4674;POINT (-40.104137 -2.816321)'))) / (select extract(epoch from '2026-08-19 16:13:22'::timestamp) - extract(epoch from '2026-08-19 16:13: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'), 48199, 'SRID=4674;POINT (-40.104012 -2.816317)', '2026-08-19 16:13:33', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104137 -2.816321)'), GeomFromEWKT('SRID=4674;POINT (-40.104012 -2.816317)'))) / (select extract(epoch from '2026-08-19 16:13:33'::timestamp) - extract(epoch from '2026-08-19 16:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104137 -2.816321)'), GeomFromEWKT('SRID=4674;POINT (-40.104012 -2.816317)'))) / (select extract(epoch from '2026-08-19 16:13:33'::timestamp) - extract(epoch from '2026-08-19 16:13:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.103897 -2.816304)', '2026-08-19 16:13:43', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104012 -2.816317)'), GeomFromEWKT('SRID=4674;POINT (-40.103897 -2.816304)'))) / (select extract(epoch from '2026-08-19 16:13:43'::timestamp) - extract(epoch from '2026-08-19 16:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104012 -2.816317)'), GeomFromEWKT('SRID=4674;POINT (-40.103897 -2.816304)'))) / (select extract(epoch from '2026-08-19 16:13:43'::timestamp) - extract(epoch from '2026-08-19 16:13:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.103785 -2.816302)', '2026-08-19 16:13:54', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103897 -2.816304)'), GeomFromEWKT('SRID=4674;POINT (-40.103785 -2.816302)'))) / (select extract(epoch from '2026-08-19 16:13:54'::timestamp) - extract(epoch from '2026-08-19 16:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103897 -2.816304)'), GeomFromEWKT('SRID=4674;POINT (-40.103785 -2.816302)'))) / (select extract(epoch from '2026-08-19 16:13:54'::timestamp) - extract(epoch from '2026-08-19 16:13: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'), 48199, 'SRID=4674;POINT (-40.103674 -2.816304)', '2026-08-19 16:14:04', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103785 -2.816302)'), GeomFromEWKT('SRID=4674;POINT (-40.103674 -2.816304)'))) / (select extract(epoch from '2026-08-19 16:14:04'::timestamp) - extract(epoch from '2026-08-19 16:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103785 -2.816302)'), GeomFromEWKT('SRID=4674;POINT (-40.103674 -2.816304)'))) / (select extract(epoch from '2026-08-19 16:14:04'::timestamp) - extract(epoch from '2026-08-19 16:13: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'), 48199, 'SRID=4674;POINT (-40.103548 -2.816284)', '2026-08-19 16:14:15', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103674 -2.816304)'), GeomFromEWKT('SRID=4674;POINT (-40.103548 -2.816284)'))) / (select extract(epoch from '2026-08-19 16:14:15'::timestamp) - extract(epoch from '2026-08-19 16:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103674 -2.816304)'), GeomFromEWKT('SRID=4674;POINT (-40.103548 -2.816284)'))) / (select extract(epoch from '2026-08-19 16:14:15'::timestamp) - extract(epoch from '2026-08-19 16:14: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'), 48199, 'SRID=4674;POINT (-40.10346 -2.816286)', '2026-08-19 16:14:24', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103548 -2.816284)'), GeomFromEWKT('SRID=4674;POINT (-40.10346 -2.816286)'))) / (select extract(epoch from '2026-08-19 16:14:24'::timestamp) - extract(epoch from '2026-08-19 16:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103548 -2.816284)'), GeomFromEWKT('SRID=4674;POINT (-40.10346 -2.816286)'))) / (select extract(epoch from '2026-08-19 16:14:24'::timestamp) - extract(epoch from '2026-08-19 16:14: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'), 48199, 'SRID=4674;POINT (-40.103339 -2.816263)', '2026-08-19 16:14:35', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10346 -2.816286)'), GeomFromEWKT('SRID=4674;POINT (-40.103339 -2.816263)'))) / (select extract(epoch from '2026-08-19 16:14:35'::timestamp) - extract(epoch from '2026-08-19 16:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10346 -2.816286)'), GeomFromEWKT('SRID=4674;POINT (-40.103339 -2.816263)'))) / (select extract(epoch from '2026-08-19 16:14:35'::timestamp) - extract(epoch from '2026-08-19 16:14:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.103236 -2.816259)', '2026-08-19 16:14:44', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103339 -2.816263)'), GeomFromEWKT('SRID=4674;POINT (-40.103236 -2.816259)'))) / (select extract(epoch from '2026-08-19 16:14:44'::timestamp) - extract(epoch from '2026-08-19 16:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103339 -2.816263)'), GeomFromEWKT('SRID=4674;POINT (-40.103236 -2.816259)'))) / (select extract(epoch from '2026-08-19 16:14:44'::timestamp) - extract(epoch from '2026-08-19 16:14:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.103153 -2.816268)', '2026-08-19 16:14:53', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103236 -2.816259)'), GeomFromEWKT('SRID=4674;POINT (-40.103153 -2.816268)'))) / (select extract(epoch from '2026-08-19 16:14:53'::timestamp) - extract(epoch from '2026-08-19 16:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103236 -2.816259)'), GeomFromEWKT('SRID=4674;POINT (-40.103153 -2.816268)'))) / (select extract(epoch from '2026-08-19 16:14:53'::timestamp) - extract(epoch from '2026-08-19 16:14: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'), 48199, 'SRID=4674;POINT (-40.103027 -2.816235)', '2026-08-19 16:15:05', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103153 -2.816268)'), GeomFromEWKT('SRID=4674;POINT (-40.103027 -2.816235)'))) / (select extract(epoch from '2026-08-19 16:15:05'::timestamp) - extract(epoch from '2026-08-19 16:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103153 -2.816268)'), GeomFromEWKT('SRID=4674;POINT (-40.103027 -2.816235)'))) / (select extract(epoch from '2026-08-19 16:15:05'::timestamp) - extract(epoch from '2026-08-19 16:14: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'), 48199, 'SRID=4674;POINT (-40.102948 -2.816219)', '2026-08-19 16:15:15', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103027 -2.816235)'), GeomFromEWKT('SRID=4674;POINT (-40.102948 -2.816219)'))) / (select extract(epoch from '2026-08-19 16:15:15'::timestamp) - extract(epoch from '2026-08-19 16:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103027 -2.816235)'), GeomFromEWKT('SRID=4674;POINT (-40.102948 -2.816219)'))) / (select extract(epoch from '2026-08-19 16:15:15'::timestamp) - extract(epoch from '2026-08-19 16:15: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'), 48199, 'SRID=4674;POINT (-40.102872 -2.816175)', '2026-08-19 16:15:28', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102948 -2.816219)'), GeomFromEWKT('SRID=4674;POINT (-40.102872 -2.816175)'))) / (select extract(epoch from '2026-08-19 16:15:28'::timestamp) - extract(epoch from '2026-08-19 16:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102948 -2.816219)'), GeomFromEWKT('SRID=4674;POINT (-40.102872 -2.816175)'))) / (select extract(epoch from '2026-08-19 16:15:28'::timestamp) - extract(epoch from '2026-08-19 16:15: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'), 48199, 'SRID=4674;POINT (-40.10288 -2.816084)', '2026-08-19 16:15:38', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102872 -2.816175)'), GeomFromEWKT('SRID=4674;POINT (-40.10288 -2.816084)'))) / (select extract(epoch from '2026-08-19 16:15:38'::timestamp) - extract(epoch from '2026-08-19 16:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.102872 -2.816175)'), GeomFromEWKT('SRID=4674;POINT (-40.10288 -2.816084)'))) / (select extract(epoch from '2026-08-19 16:15:38'::timestamp) - extract(epoch from '2026-08-19 16:15:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.10297 -2.815956)', '2026-08-19 16:15:49', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10288 -2.816084)'), GeomFromEWKT('SRID=4674;POINT (-40.10297 -2.815956)'))) / (select extract(epoch from '2026-08-19 16:15:49'::timestamp) - extract(epoch from '2026-08-19 16:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10288 -2.816084)'), GeomFromEWKT('SRID=4674;POINT (-40.10297 -2.815956)'))) / (select extract(epoch from '2026-08-19 16:15:49'::timestamp) - extract(epoch from '2026-08-19 16:15: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'), 48199, 'SRID=4674;POINT (-40.103019 -2.815858)', '2026-08-19 16:15:58', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10297 -2.815956)'), GeomFromEWKT('SRID=4674;POINT (-40.103019 -2.815858)'))) / (select extract(epoch from '2026-08-19 16:15:58'::timestamp) - extract(epoch from '2026-08-19 16:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10297 -2.815956)'), GeomFromEWKT('SRID=4674;POINT (-40.103019 -2.815858)'))) / (select extract(epoch from '2026-08-19 16:15:58'::timestamp) - extract(epoch from '2026-08-19 16:15: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'), 48199, 'SRID=4674;POINT (-40.103068 -2.815726)', '2026-08-19 16:16:08', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103019 -2.815858)'), GeomFromEWKT('SRID=4674;POINT (-40.103068 -2.815726)'))) / (select extract(epoch from '2026-08-19 16:16:08'::timestamp) - extract(epoch from '2026-08-19 16:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103019 -2.815858)'), GeomFromEWKT('SRID=4674;POINT (-40.103068 -2.815726)'))) / (select extract(epoch from '2026-08-19 16:16:08'::timestamp) - extract(epoch from '2026-08-19 16:15: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'), 48199, 'SRID=4674;POINT (-40.103116 -2.815605)', '2026-08-19 16:16:17', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103068 -2.815726)'), GeomFromEWKT('SRID=4674;POINT (-40.103116 -2.815605)'))) / (select extract(epoch from '2026-08-19 16:16:17'::timestamp) - extract(epoch from '2026-08-19 16:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103068 -2.815726)'), GeomFromEWKT('SRID=4674;POINT (-40.103116 -2.815605)'))) / (select extract(epoch from '2026-08-19 16:16:17'::timestamp) - extract(epoch from '2026-08-19 16:16:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.103166 -2.815501)', '2026-08-19 16:16:25', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103116 -2.815605)'), GeomFromEWKT('SRID=4674;POINT (-40.103166 -2.815501)'))) / (select extract(epoch from '2026-08-19 16:16:25'::timestamp) - extract(epoch from '2026-08-19 16:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103116 -2.815605)'), GeomFromEWKT('SRID=4674;POINT (-40.103166 -2.815501)'))) / (select extract(epoch from '2026-08-19 16:16:25'::timestamp) - extract(epoch from '2026-08-19 16:16:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.10321 -2.815394)', '2026-08-19 16:16:34', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103166 -2.815501)'), GeomFromEWKT('SRID=4674;POINT (-40.10321 -2.815394)'))) / (select extract(epoch from '2026-08-19 16:16:34'::timestamp) - extract(epoch from '2026-08-19 16:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103166 -2.815501)'), GeomFromEWKT('SRID=4674;POINT (-40.10321 -2.815394)'))) / (select extract(epoch from '2026-08-19 16:16:34'::timestamp) - extract(epoch from '2026-08-19 16:16: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'), 48199, 'SRID=4674;POINT (-40.103242 -2.815306)', '2026-08-19 16:16:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10321 -2.815394)'), GeomFromEWKT('SRID=4674;POINT (-40.103242 -2.815306)'))) / (select extract(epoch from '2026-08-19 16:16:42'::timestamp) - extract(epoch from '2026-08-19 16:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10321 -2.815394)'), GeomFromEWKT('SRID=4674;POINT (-40.103242 -2.815306)'))) / (select extract(epoch from '2026-08-19 16:16:42'::timestamp) - extract(epoch from '2026-08-19 16:16: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'), 48199, 'SRID=4674;POINT (-40.103286 -2.815195)', '2026-08-19 16:16:51', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103242 -2.815306)'), GeomFromEWKT('SRID=4674;POINT (-40.103286 -2.815195)'))) / (select extract(epoch from '2026-08-19 16:16:51'::timestamp) - extract(epoch from '2026-08-19 16:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103242 -2.815306)'), GeomFromEWKT('SRID=4674;POINT (-40.103286 -2.815195)'))) / (select extract(epoch from '2026-08-19 16:16:51'::timestamp) - extract(epoch from '2026-08-19 16:16: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'), 48199, 'SRID=4674;POINT (-40.103334 -2.815106)', '2026-08-19 16:16:59', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103286 -2.815195)'), GeomFromEWKT('SRID=4674;POINT (-40.103334 -2.815106)'))) / (select extract(epoch from '2026-08-19 16:16:59'::timestamp) - extract(epoch from '2026-08-19 16:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103286 -2.815195)'), GeomFromEWKT('SRID=4674;POINT (-40.103334 -2.815106)'))) / (select extract(epoch from '2026-08-19 16:16:59'::timestamp) - extract(epoch from '2026-08-19 16:16: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'), 48199, 'SRID=4674;POINT (-40.103367 -2.815001)', '2026-08-19 16:17:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103334 -2.815106)'), GeomFromEWKT('SRID=4674;POINT (-40.103367 -2.815001)'))) / (select extract(epoch from '2026-08-19 16:17:07'::timestamp) - extract(epoch from '2026-08-19 16:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103334 -2.815106)'), GeomFromEWKT('SRID=4674;POINT (-40.103367 -2.815001)'))) / (select extract(epoch from '2026-08-19 16:17:07'::timestamp) - extract(epoch from '2026-08-19 16:16: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'), 48199, 'SRID=4674;POINT (-40.103401 -2.814899)', '2026-08-19 16:17:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103367 -2.815001)'), GeomFromEWKT('SRID=4674;POINT (-40.103401 -2.814899)'))) / (select extract(epoch from '2026-08-19 16:17:15'::timestamp) - extract(epoch from '2026-08-19 16:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103367 -2.815001)'), GeomFromEWKT('SRID=4674;POINT (-40.103401 -2.814899)'))) / (select extract(epoch from '2026-08-19 16:17:15'::timestamp) - extract(epoch from '2026-08-19 16:17: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'), 48199, 'SRID=4674;POINT (-40.103471 -2.814746)', '2026-08-19 16:17:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103401 -2.814899)'), GeomFromEWKT('SRID=4674;POINT (-40.103471 -2.814746)'))) / (select extract(epoch from '2026-08-19 16:17:27'::timestamp) - extract(epoch from '2026-08-19 16:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103401 -2.814899)'), GeomFromEWKT('SRID=4674;POINT (-40.103471 -2.814746)'))) / (select extract(epoch from '2026-08-19 16:17:27'::timestamp) - extract(epoch from '2026-08-19 16: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'), 48199, 'SRID=4674;POINT (-40.10352 -2.814618)', '2026-08-19 16:17:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103471 -2.814746)'), GeomFromEWKT('SRID=4674;POINT (-40.10352 -2.814618)'))) / (select extract(epoch from '2026-08-19 16:17:36'::timestamp) - extract(epoch from '2026-08-19 16:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103471 -2.814746)'), GeomFromEWKT('SRID=4674;POINT (-40.10352 -2.814618)'))) / (select extract(epoch from '2026-08-19 16:17:36'::timestamp) - extract(epoch from '2026-08-19 16:17: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'), 48199, 'SRID=4674;POINT (-40.10358 -2.814471)', '2026-08-19 16:17:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10352 -2.814618)'), GeomFromEWKT('SRID=4674;POINT (-40.10358 -2.814471)'))) / (select extract(epoch from '2026-08-19 16:17:47'::timestamp) - extract(epoch from '2026-08-19 16:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10352 -2.814618)'), GeomFromEWKT('SRID=4674;POINT (-40.10358 -2.814471)'))) / (select extract(epoch from '2026-08-19 16:17:47'::timestamp) - extract(epoch from '2026-08-19 16:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.103632 -2.814347)', '2026-08-19 16:17:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10358 -2.814471)'), GeomFromEWKT('SRID=4674;POINT (-40.103632 -2.814347)'))) / (select extract(epoch from '2026-08-19 16:17:56'::timestamp) - extract(epoch from '2026-08-19 16:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10358 -2.814471)'), GeomFromEWKT('SRID=4674;POINT (-40.103632 -2.814347)'))) / (select extract(epoch from '2026-08-19 16:17:56'::timestamp) - extract(epoch from '2026-08-19 16:17: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'), 48199, 'SRID=4674;POINT (-40.103706 -2.814225)', '2026-08-19 16:18:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103632 -2.814347)'), GeomFromEWKT('SRID=4674;POINT (-40.103706 -2.814225)'))) / (select extract(epoch from '2026-08-19 16:18:06'::timestamp) - extract(epoch from '2026-08-19 16:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103632 -2.814347)'), GeomFromEWKT('SRID=4674;POINT (-40.103706 -2.814225)'))) / (select extract(epoch from '2026-08-19 16:18:06'::timestamp) - extract(epoch from '2026-08-19 16:17: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'), 48199, 'SRID=4674;POINT (-40.103826 -2.814111)', '2026-08-19 16:18:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103706 -2.814225)'), GeomFromEWKT('SRID=4674;POINT (-40.103826 -2.814111)'))) / (select extract(epoch from '2026-08-19 16:18:16'::timestamp) - extract(epoch from '2026-08-19 16:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103706 -2.814225)'), GeomFromEWKT('SRID=4674;POINT (-40.103826 -2.814111)'))) / (select extract(epoch from '2026-08-19 16:18:16'::timestamp) - extract(epoch from '2026-08-19 16:18: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'), 48199, 'SRID=4674;POINT (-40.103947 -2.81404)', '2026-08-19 16:18:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103826 -2.814111)'), GeomFromEWKT('SRID=4674;POINT (-40.103947 -2.81404)'))) / (select extract(epoch from '2026-08-19 16:18:24'::timestamp) - extract(epoch from '2026-08-19 16:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103826 -2.814111)'), GeomFromEWKT('SRID=4674;POINT (-40.103947 -2.81404)'))) / (select extract(epoch from '2026-08-19 16:18:24'::timestamp) - extract(epoch from '2026-08-19 16:18: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'), 48199, 'SRID=4674;POINT (-40.104085 -2.814019)', '2026-08-19 16:18:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103947 -2.81404)'), GeomFromEWKT('SRID=4674;POINT (-40.104085 -2.814019)'))) / (select extract(epoch from '2026-08-19 16:18:32'::timestamp) - extract(epoch from '2026-08-19 16:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.103947 -2.81404)'), GeomFromEWKT('SRID=4674;POINT (-40.104085 -2.814019)'))) / (select extract(epoch from '2026-08-19 16:18:32'::timestamp) - extract(epoch from '2026-08-19 16:18:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.104231 -2.814032)', '2026-08-19 16:18:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104085 -2.814019)'), GeomFromEWKT('SRID=4674;POINT (-40.104231 -2.814032)'))) / (select extract(epoch from '2026-08-19 16:18:40'::timestamp) - extract(epoch from '2026-08-19 16:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104085 -2.814019)'), GeomFromEWKT('SRID=4674;POINT (-40.104231 -2.814032)'))) / (select extract(epoch from '2026-08-19 16:18:40'::timestamp) - extract(epoch from '2026-08-19 16:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.104365 -2.814018)', '2026-08-19 16:18:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104231 -2.814032)'), GeomFromEWKT('SRID=4674;POINT (-40.104365 -2.814018)'))) / (select extract(epoch from '2026-08-19 16:18:49'::timestamp) - extract(epoch from '2026-08-19 16:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104231 -2.814032)'), GeomFromEWKT('SRID=4674;POINT (-40.104365 -2.814018)'))) / (select extract(epoch from '2026-08-19 16:18:49'::timestamp) - extract(epoch from '2026-08-19 16:18:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.104432 -2.814004)', '2026-08-19 16:18:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104365 -2.814018)'), GeomFromEWKT('SRID=4674;POINT (-40.104432 -2.814004)'))) / (select extract(epoch from '2026-08-19 16:18:58'::timestamp) - extract(epoch from '2026-08-19 16:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104365 -2.814018)'), GeomFromEWKT('SRID=4674;POINT (-40.104432 -2.814004)'))) / (select extract(epoch from '2026-08-19 16:18:58'::timestamp) - extract(epoch from '2026-08-19 16:18:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.104541 -2.814025)', '2026-08-19 16:19:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104432 -2.814004)'), GeomFromEWKT('SRID=4674;POINT (-40.104541 -2.814025)'))) / (select extract(epoch from '2026-08-19 16:19:13'::timestamp) - extract(epoch from '2026-08-19 16:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104432 -2.814004)'), GeomFromEWKT('SRID=4674;POINT (-40.104541 -2.814025)'))) / (select extract(epoch from '2026-08-19 16:19:13'::timestamp) - extract(epoch from '2026-08-19 16:18: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'), 48199, 'SRID=4674;POINT (-40.104602 -2.814046)', '2026-08-19 16:19:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104541 -2.814025)'), GeomFromEWKT('SRID=4674;POINT (-40.104602 -2.814046)'))) / (select extract(epoch from '2026-08-19 16:19:21'::timestamp) - extract(epoch from '2026-08-19 16:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104541 -2.814025)'), GeomFromEWKT('SRID=4674;POINT (-40.104602 -2.814046)'))) / (select extract(epoch from '2026-08-19 16:19:21'::timestamp) - extract(epoch from '2026-08-19 16:19: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'), 48199, 'SRID=4674;POINT (-40.104715 -2.814091)', '2026-08-19 16:19:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104602 -2.814046)'), GeomFromEWKT('SRID=4674;POINT (-40.104715 -2.814091)'))) / (select extract(epoch from '2026-08-19 16:19:37'::timestamp) - extract(epoch from '2026-08-19 16:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104602 -2.814046)'), GeomFromEWKT('SRID=4674;POINT (-40.104715 -2.814091)'))) / (select extract(epoch from '2026-08-19 16:19:37'::timestamp) - extract(epoch from '2026-08-19 16:19: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'), 48199, 'SRID=4674;POINT (-40.104863 -2.814144)', '2026-08-19 16:19:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104715 -2.814091)'), GeomFromEWKT('SRID=4674;POINT (-40.104863 -2.814144)'))) / (select extract(epoch from '2026-08-19 16:19:56'::timestamp) - extract(epoch from '2026-08-19 16:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104715 -2.814091)'), GeomFromEWKT('SRID=4674;POINT (-40.104863 -2.814144)'))) / (select extract(epoch from '2026-08-19 16:19:56'::timestamp) - extract(epoch from '2026-08-19 16:19:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.104949 -2.814195)', '2026-08-19 16:20:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104863 -2.814144)'), GeomFromEWKT('SRID=4674;POINT (-40.104949 -2.814195)'))) / (select extract(epoch from '2026-08-19 16:20:13'::timestamp) - extract(epoch from '2026-08-19 16:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104863 -2.814144)'), GeomFromEWKT('SRID=4674;POINT (-40.104949 -2.814195)'))) / (select extract(epoch from '2026-08-19 16:20:13'::timestamp) - extract(epoch from '2026-08-19 16:19: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'), 48199, 'SRID=4674;POINT (-40.105068 -2.814238)', '2026-08-19 16:20:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104949 -2.814195)'), GeomFromEWKT('SRID=4674;POINT (-40.105068 -2.814238)'))) / (select extract(epoch from '2026-08-19 16:20:32'::timestamp) - extract(epoch from '2026-08-19 16:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.104949 -2.814195)'), GeomFromEWKT('SRID=4674;POINT (-40.105068 -2.814238)'))) / (select extract(epoch from '2026-08-19 16:20:32'::timestamp) - extract(epoch from '2026-08-19 16:20: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'), 48199, 'SRID=4674;POINT (-40.105187 -2.814295)', '2026-08-19 16:20:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105068 -2.814238)'), GeomFromEWKT('SRID=4674;POINT (-40.105187 -2.814295)'))) / (select extract(epoch from '2026-08-19 16:20:51'::timestamp) - extract(epoch from '2026-08-19 16:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105068 -2.814238)'), GeomFromEWKT('SRID=4674;POINT (-40.105187 -2.814295)'))) / (select extract(epoch from '2026-08-19 16:20:51'::timestamp) - extract(epoch from '2026-08-19 16:20: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'), 48199, 'SRID=4674;POINT (-40.105284 -2.814324)', '2026-08-19 16:21:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105187 -2.814295)'), GeomFromEWKT('SRID=4674;POINT (-40.105284 -2.814324)'))) / (select extract(epoch from '2026-08-19 16:21:07'::timestamp) - extract(epoch from '2026-08-19 16:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105187 -2.814295)'), GeomFromEWKT('SRID=4674;POINT (-40.105284 -2.814324)'))) / (select extract(epoch from '2026-08-19 16:21:07'::timestamp) - extract(epoch from '2026-08-19 16:20: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'), 48199, 'SRID=4674;POINT (-40.105395 -2.814371)', '2026-08-19 16:21:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105284 -2.814324)'), GeomFromEWKT('SRID=4674;POINT (-40.105395 -2.814371)'))) / (select extract(epoch from '2026-08-19 16:21:25'::timestamp) - extract(epoch from '2026-08-19 16:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105284 -2.814324)'), GeomFromEWKT('SRID=4674;POINT (-40.105395 -2.814371)'))) / (select extract(epoch from '2026-08-19 16:21:25'::timestamp) - extract(epoch from '2026-08-19 16:21:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.105478 -2.814412)', '2026-08-19 16:21:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105395 -2.814371)'), GeomFromEWKT('SRID=4674;POINT (-40.105478 -2.814412)'))) / (select extract(epoch from '2026-08-19 16:21:39'::timestamp) - extract(epoch from '2026-08-19 16:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105395 -2.814371)'), GeomFromEWKT('SRID=4674;POINT (-40.105478 -2.814412)'))) / (select extract(epoch from '2026-08-19 16:21:39'::timestamp) - extract(epoch from '2026-08-19 16:21: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'), 48199, 'SRID=4674;POINT (-40.105594 -2.81446)', '2026-08-19 16:21:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105478 -2.814412)'), GeomFromEWKT('SRID=4674;POINT (-40.105594 -2.81446)'))) / (select extract(epoch from '2026-08-19 16:21:59'::timestamp) - extract(epoch from '2026-08-19 16:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105478 -2.814412)'), GeomFromEWKT('SRID=4674;POINT (-40.105594 -2.81446)'))) / (select extract(epoch from '2026-08-19 16:21:59'::timestamp) - extract(epoch from '2026-08-19 16:21: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'), 48199, 'SRID=4674;POINT (-40.105696 -2.814496)', '2026-08-19 16:22:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105594 -2.81446)'), GeomFromEWKT('SRID=4674;POINT (-40.105696 -2.814496)'))) / (select extract(epoch from '2026-08-19 16:22:14'::timestamp) - extract(epoch from '2026-08-19 16:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105594 -2.81446)'), GeomFromEWKT('SRID=4674;POINT (-40.105696 -2.814496)'))) / (select extract(epoch from '2026-08-19 16:22:14'::timestamp) - extract(epoch from '2026-08-19 16:21: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'), 48199, 'SRID=4674;POINT (-40.10579 -2.814545)', '2026-08-19 16:22:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105696 -2.814496)'), GeomFromEWKT('SRID=4674;POINT (-40.10579 -2.814545)'))) / (select extract(epoch from '2026-08-19 16:22:29'::timestamp) - extract(epoch from '2026-08-19 16:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105696 -2.814496)'), GeomFromEWKT('SRID=4674;POINT (-40.10579 -2.814545)'))) / (select extract(epoch from '2026-08-19 16:22:29'::timestamp) - extract(epoch from '2026-08-19 16:22: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'), 48199, 'SRID=4674;POINT (-40.105889 -2.814581)', '2026-08-19 16:22:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10579 -2.814545)'), GeomFromEWKT('SRID=4674;POINT (-40.105889 -2.814581)'))) / (select extract(epoch from '2026-08-19 16:22:46'::timestamp) - extract(epoch from '2026-08-19 16:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10579 -2.814545)'), GeomFromEWKT('SRID=4674;POINT (-40.105889 -2.814581)'))) / (select extract(epoch from '2026-08-19 16:22:46'::timestamp) - extract(epoch from '2026-08-19 16:22:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.105994 -2.814616)', '2026-08-19 16:23:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105889 -2.814581)'), GeomFromEWKT('SRID=4674;POINT (-40.105994 -2.814616)'))) / (select extract(epoch from '2026-08-19 16:23:03'::timestamp) - extract(epoch from '2026-08-19 16:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105889 -2.814581)'), GeomFromEWKT('SRID=4674;POINT (-40.105994 -2.814616)'))) / (select extract(epoch from '2026-08-19 16:23:03'::timestamp) - extract(epoch from '2026-08-19 16:22:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.106092 -2.814636)', '2026-08-19 16:23:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105994 -2.814616)'), GeomFromEWKT('SRID=4674;POINT (-40.106092 -2.814636)'))) / (select extract(epoch from '2026-08-19 16:23:16'::timestamp) - extract(epoch from '2026-08-19 16:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.105994 -2.814616)'), GeomFromEWKT('SRID=4674;POINT (-40.106092 -2.814636)'))) / (select extract(epoch from '2026-08-19 16:23:16'::timestamp) - extract(epoch from '2026-08-19 16:23: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'), 48199, 'SRID=4674;POINT (-40.106225 -2.814688)', '2026-08-19 16:23:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106092 -2.814636)'), GeomFromEWKT('SRID=4674;POINT (-40.106225 -2.814688)'))) / (select extract(epoch from '2026-08-19 16:23:36'::timestamp) - extract(epoch from '2026-08-19 16:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106092 -2.814636)'), GeomFromEWKT('SRID=4674;POINT (-40.106225 -2.814688)'))) / (select extract(epoch from '2026-08-19 16:23:36'::timestamp) - extract(epoch from '2026-08-19 16:23: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'), 48199, 'SRID=4674;POINT (-40.106304 -2.814712)', '2026-08-19 16:23:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106225 -2.814688)'), GeomFromEWKT('SRID=4674;POINT (-40.106304 -2.814712)'))) / (select extract(epoch from '2026-08-19 16:23:49'::timestamp) - extract(epoch from '2026-08-19 16:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106225 -2.814688)'), GeomFromEWKT('SRID=4674;POINT (-40.106304 -2.814712)'))) / (select extract(epoch from '2026-08-19 16:23:49'::timestamp) - extract(epoch from '2026-08-19 16:23: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'), 48199, 'SRID=4674;POINT (-40.106428 -2.814766)', '2026-08-19 16:24:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106304 -2.814712)'), GeomFromEWKT('SRID=4674;POINT (-40.106428 -2.814766)'))) / (select extract(epoch from '2026-08-19 16:24:09'::timestamp) - extract(epoch from '2026-08-19 16:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106304 -2.814712)'), GeomFromEWKT('SRID=4674;POINT (-40.106428 -2.814766)'))) / (select extract(epoch from '2026-08-19 16:24:09'::timestamp) - extract(epoch from '2026-08-19 16:23: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'), 48199, 'SRID=4674;POINT (-40.10654 -2.81481)', '2026-08-19 16:24:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106428 -2.814766)'), GeomFromEWKT('SRID=4674;POINT (-40.10654 -2.81481)'))) / (select extract(epoch from '2026-08-19 16:24:25'::timestamp) - extract(epoch from '2026-08-19 16:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106428 -2.814766)'), GeomFromEWKT('SRID=4674;POINT (-40.10654 -2.81481)'))) / (select extract(epoch from '2026-08-19 16:24:25'::timestamp) - extract(epoch from '2026-08-19 16:24: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'), 48199, 'SRID=4674;POINT (-40.10664 -2.814843)', '2026-08-19 16:24:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10654 -2.81481)'), GeomFromEWKT('SRID=4674;POINT (-40.10664 -2.814843)'))) / (select extract(epoch from '2026-08-19 16:24:41'::timestamp) - extract(epoch from '2026-08-19 16:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10654 -2.81481)'), GeomFromEWKT('SRID=4674;POINT (-40.10664 -2.814843)'))) / (select extract(epoch from '2026-08-19 16:24:41'::timestamp) - extract(epoch from '2026-08-19 16:24: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'), 48199, 'SRID=4674;POINT (-40.106748 -2.814871)', '2026-08-19 16:24:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10664 -2.814843)'), GeomFromEWKT('SRID=4674;POINT (-40.106748 -2.814871)'))) / (select extract(epoch from '2026-08-19 16:24:57'::timestamp) - extract(epoch from '2026-08-19 16:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10664 -2.814843)'), GeomFromEWKT('SRID=4674;POINT (-40.106748 -2.814871)'))) / (select extract(epoch from '2026-08-19 16:24:57'::timestamp) - extract(epoch from '2026-08-19 16:24:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.106874 -2.814927)', '2026-08-19 16:25:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106748 -2.814871)'), GeomFromEWKT('SRID=4674;POINT (-40.106874 -2.814927)'))) / (select extract(epoch from '2026-08-19 16:25:17'::timestamp) - extract(epoch from '2026-08-19 16:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106748 -2.814871)'), GeomFromEWKT('SRID=4674;POINT (-40.106874 -2.814927)'))) / (select extract(epoch from '2026-08-19 16:25:17'::timestamp) - extract(epoch from '2026-08-19 16:24: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'), 48199, 'SRID=4674;POINT (-40.107006 -2.81498)', '2026-08-19 16:25:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106874 -2.814927)'), GeomFromEWKT('SRID=4674;POINT (-40.107006 -2.81498)'))) / (select extract(epoch from '2026-08-19 16:25:37'::timestamp) - extract(epoch from '2026-08-19 16:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.106874 -2.814927)'), GeomFromEWKT('SRID=4674;POINT (-40.107006 -2.81498)'))) / (select extract(epoch from '2026-08-19 16:25:37'::timestamp) - extract(epoch from '2026-08-19 16:25:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.107108 -2.815015)', '2026-08-19 16:25:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107006 -2.81498)'), GeomFromEWKT('SRID=4674;POINT (-40.107108 -2.815015)'))) / (select extract(epoch from '2026-08-19 16:25:54'::timestamp) - extract(epoch from '2026-08-19 16:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107006 -2.81498)'), GeomFromEWKT('SRID=4674;POINT (-40.107108 -2.815015)'))) / (select extract(epoch from '2026-08-19 16:25:54'::timestamp) - extract(epoch from '2026-08-19 16:25: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'), 48199, 'SRID=4674;POINT (-40.107218 -2.815047)', '2026-08-19 16:26:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107108 -2.815015)'), GeomFromEWKT('SRID=4674;POINT (-40.107218 -2.815047)'))) / (select extract(epoch from '2026-08-19 16:26:10'::timestamp) - extract(epoch from '2026-08-19 16:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107108 -2.815015)'), GeomFromEWKT('SRID=4674;POINT (-40.107218 -2.815047)'))) / (select extract(epoch from '2026-08-19 16:26:10'::timestamp) - extract(epoch from '2026-08-19 16:25:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.10731 -2.815095)', '2026-08-19 16:26:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107218 -2.815047)'), GeomFromEWKT('SRID=4674;POINT (-40.10731 -2.815095)'))) / (select extract(epoch from '2026-08-19 16:26:27'::timestamp) - extract(epoch from '2026-08-19 16:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107218 -2.815047)'), GeomFromEWKT('SRID=4674;POINT (-40.10731 -2.815095)'))) / (select extract(epoch from '2026-08-19 16:26:27'::timestamp) - extract(epoch from '2026-08-19 16:26:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.107423 -2.815129)', '2026-08-19 16:26:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10731 -2.815095)'), GeomFromEWKT('SRID=4674;POINT (-40.107423 -2.815129)'))) / (select extract(epoch from '2026-08-19 16:26:44'::timestamp) - extract(epoch from '2026-08-19 16:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10731 -2.815095)'), GeomFromEWKT('SRID=4674;POINT (-40.107423 -2.815129)'))) / (select extract(epoch from '2026-08-19 16:26:44'::timestamp) - extract(epoch from '2026-08-19 16:26:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.10749 -2.815172)', '2026-08-19 16:26:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107423 -2.815129)'), GeomFromEWKT('SRID=4674;POINT (-40.10749 -2.815172)'))) / (select extract(epoch from '2026-08-19 16:26:57'::timestamp) - extract(epoch from '2026-08-19 16:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107423 -2.815129)'), GeomFromEWKT('SRID=4674;POINT (-40.10749 -2.815172)'))) / (select extract(epoch from '2026-08-19 16:26:57'::timestamp) - extract(epoch from '2026-08-19 16:26: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'), 48199, 'SRID=4674;POINT (-40.10759 -2.815213)', '2026-08-19 16:27:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10749 -2.815172)'), GeomFromEWKT('SRID=4674;POINT (-40.10759 -2.815213)'))) / (select extract(epoch from '2026-08-19 16:27:13'::timestamp) - extract(epoch from '2026-08-19 16:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10749 -2.815172)'), GeomFromEWKT('SRID=4674;POINT (-40.10759 -2.815213)'))) / (select extract(epoch from '2026-08-19 16:27:13'::timestamp) - extract(epoch from '2026-08-19 16:26:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.107664 -2.815253)', '2026-08-19 16:27:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10759 -2.815213)'), GeomFromEWKT('SRID=4674;POINT (-40.107664 -2.815253)'))) / (select extract(epoch from '2026-08-19 16:27:27'::timestamp) - extract(epoch from '2026-08-19 16:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10759 -2.815213)'), GeomFromEWKT('SRID=4674;POINT (-40.107664 -2.815253)'))) / (select extract(epoch from '2026-08-19 16:27:27'::timestamp) - extract(epoch from '2026-08-19 16:27: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'), 48199, 'SRID=4674;POINT (-40.107763 -2.815297)', '2026-08-19 16:27:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107664 -2.815253)'), GeomFromEWKT('SRID=4674;POINT (-40.107763 -2.815297)'))) / (select extract(epoch from '2026-08-19 16:27:44'::timestamp) - extract(epoch from '2026-08-19 16:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107664 -2.815253)'), GeomFromEWKT('SRID=4674;POINT (-40.107763 -2.815297)'))) / (select extract(epoch from '2026-08-19 16:27:44'::timestamp) - extract(epoch from '2026-08-19 16:27: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'), 48199, 'SRID=4674;POINT (-40.107873 -2.815344)', '2026-08-19 16:28:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107763 -2.815297)'), GeomFromEWKT('SRID=4674;POINT (-40.107873 -2.815344)'))) / (select extract(epoch from '2026-08-19 16:28:00'::timestamp) - extract(epoch from '2026-08-19 16:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107763 -2.815297)'), GeomFromEWKT('SRID=4674;POINT (-40.107873 -2.815344)'))) / (select extract(epoch from '2026-08-19 16:28:00'::timestamp) - extract(epoch from '2026-08-19 16:27: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'), 48199, 'SRID=4674;POINT (-40.107985 -2.815369)', '2026-08-19 16:28:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107873 -2.815344)'), GeomFromEWKT('SRID=4674;POINT (-40.107985 -2.815369)'))) / (select extract(epoch from '2026-08-19 16:28:15'::timestamp) - extract(epoch from '2026-08-19 16:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107873 -2.815344)'), GeomFromEWKT('SRID=4674;POINT (-40.107985 -2.815369)'))) / (select extract(epoch from '2026-08-19 16:28:15'::timestamp) - extract(epoch from '2026-08-19 16:28: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'), 48199, 'SRID=4674;POINT (-40.108068 -2.81541)', '2026-08-19 16:28:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107985 -2.815369)'), GeomFromEWKT('SRID=4674;POINT (-40.108068 -2.81541)'))) / (select extract(epoch from '2026-08-19 16:28:29'::timestamp) - extract(epoch from '2026-08-19 16:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107985 -2.815369)'), GeomFromEWKT('SRID=4674;POINT (-40.108068 -2.81541)'))) / (select extract(epoch from '2026-08-19 16:28:29'::timestamp) - extract(epoch from '2026-08-19 16:28: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'), 48199, 'SRID=4674;POINT (-40.108161 -2.815443)', '2026-08-19 16:28:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108068 -2.81541)'), GeomFromEWKT('SRID=4674;POINT (-40.108161 -2.815443)'))) / (select extract(epoch from '2026-08-19 16:28:44'::timestamp) - extract(epoch from '2026-08-19 16:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108068 -2.81541)'), GeomFromEWKT('SRID=4674;POINT (-40.108161 -2.815443)'))) / (select extract(epoch from '2026-08-19 16:28:44'::timestamp) - extract(epoch from '2026-08-19 16:28: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'), 48199, 'SRID=4674;POINT (-40.108272 -2.815504)', '2026-08-19 16:29:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108161 -2.815443)'), GeomFromEWKT('SRID=4674;POINT (-40.108272 -2.815504)'))) / (select extract(epoch from '2026-08-19 16:29:00'::timestamp) - extract(epoch from '2026-08-19 16:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108161 -2.815443)'), GeomFromEWKT('SRID=4674;POINT (-40.108272 -2.815504)'))) / (select extract(epoch from '2026-08-19 16:29:00'::timestamp) - extract(epoch from '2026-08-19 16:28: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'), 48199, 'SRID=4674;POINT (-40.108409 -2.815559)', '2026-08-19 16:29:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108272 -2.815504)'), GeomFromEWKT('SRID=4674;POINT (-40.108409 -2.815559)'))) / (select extract(epoch from '2026-08-19 16:29:17'::timestamp) - extract(epoch from '2026-08-19 16:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108272 -2.815504)'), GeomFromEWKT('SRID=4674;POINT (-40.108409 -2.815559)'))) / (select extract(epoch from '2026-08-19 16:29:17'::timestamp) - extract(epoch from '2026-08-19 16:29: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'), 48199, 'SRID=4674;POINT (-40.108512 -2.81562)', '2026-08-19 16:29:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108409 -2.815559)'), GeomFromEWKT('SRID=4674;POINT (-40.108512 -2.81562)'))) / (select extract(epoch from '2026-08-19 16:29:34'::timestamp) - extract(epoch from '2026-08-19 16:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108409 -2.815559)'), GeomFromEWKT('SRID=4674;POINT (-40.108512 -2.81562)'))) / (select extract(epoch from '2026-08-19 16:29:34'::timestamp) - extract(epoch from '2026-08-19 16:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.108621 -2.815659)', '2026-08-19 16:29:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108512 -2.81562)'), GeomFromEWKT('SRID=4674;POINT (-40.108621 -2.815659)'))) / (select extract(epoch from '2026-08-19 16:29:51'::timestamp) - extract(epoch from '2026-08-19 16:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108512 -2.81562)'), GeomFromEWKT('SRID=4674;POINT (-40.108621 -2.815659)'))) / (select extract(epoch from '2026-08-19 16:29:51'::timestamp) - extract(epoch from '2026-08-19 16:29:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.108711 -2.815707)', '2026-08-19 16:30:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108621 -2.815659)'), GeomFromEWKT('SRID=4674;POINT (-40.108711 -2.815707)'))) / (select extract(epoch from '2026-08-19 16:30:06'::timestamp) - extract(epoch from '2026-08-19 16:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108621 -2.815659)'), GeomFromEWKT('SRID=4674;POINT (-40.108711 -2.815707)'))) / (select extract(epoch from '2026-08-19 16:30:06'::timestamp) - extract(epoch from '2026-08-19 16:29: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'), 48199, 'SRID=4674;POINT (-40.108786 -2.815748)', '2026-08-19 16:30:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108711 -2.815707)'), GeomFromEWKT('SRID=4674;POINT (-40.108786 -2.815748)'))) / (select extract(epoch from '2026-08-19 16:30:19'::timestamp) - extract(epoch from '2026-08-19 16:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108711 -2.815707)'), GeomFromEWKT('SRID=4674;POINT (-40.108786 -2.815748)'))) / (select extract(epoch from '2026-08-19 16:30:19'::timestamp) - extract(epoch from '2026-08-19 16:30: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'), 48199, 'SRID=4674;POINT (-40.108897 -2.815797)', '2026-08-19 16:30:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108786 -2.815748)'), GeomFromEWKT('SRID=4674;POINT (-40.108897 -2.815797)'))) / (select extract(epoch from '2026-08-19 16:30:35'::timestamp) - extract(epoch from '2026-08-19 16:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108786 -2.815748)'), GeomFromEWKT('SRID=4674;POINT (-40.108897 -2.815797)'))) / (select extract(epoch from '2026-08-19 16:30:35'::timestamp) - extract(epoch from '2026-08-19 16:30: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'), 48199, 'SRID=4674;POINT (-40.108982 -2.815841)', '2026-08-19 16:30:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108897 -2.815797)'), GeomFromEWKT('SRID=4674;POINT (-40.108982 -2.815841)'))) / (select extract(epoch from '2026-08-19 16:30:50'::timestamp) - extract(epoch from '2026-08-19 16:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108897 -2.815797)'), GeomFromEWKT('SRID=4674;POINT (-40.108982 -2.815841)'))) / (select extract(epoch from '2026-08-19 16:30:50'::timestamp) - extract(epoch from '2026-08-19 16:30: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'), 48199, 'SRID=4674;POINT (-40.109088 -2.81588)', '2026-08-19 16:31:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108982 -2.815841)'), GeomFromEWKT('SRID=4674;POINT (-40.109088 -2.81588)'))) / (select extract(epoch from '2026-08-19 16:31:06'::timestamp) - extract(epoch from '2026-08-19 16:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108982 -2.815841)'), GeomFromEWKT('SRID=4674;POINT (-40.109088 -2.81588)'))) / (select extract(epoch from '2026-08-19 16:31:06'::timestamp) - extract(epoch from '2026-08-19 16:30: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'), 48199, 'SRID=4674;POINT (-40.109171 -2.815921)', '2026-08-19 16:31:19', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109088 -2.81588)'), GeomFromEWKT('SRID=4674;POINT (-40.109171 -2.815921)'))) / (select extract(epoch from '2026-08-19 16:31:19'::timestamp) - extract(epoch from '2026-08-19 16:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109088 -2.81588)'), GeomFromEWKT('SRID=4674;POINT (-40.109171 -2.815921)'))) / (select extract(epoch from '2026-08-19 16:31:19'::timestamp) - extract(epoch from '2026-08-19 16:31: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'), 48199, 'SRID=4674;POINT (-40.109281 -2.815969)', '2026-08-19 16:31:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109171 -2.815921)'), GeomFromEWKT('SRID=4674;POINT (-40.109281 -2.815969)'))) / (select extract(epoch from '2026-08-19 16:31:35'::timestamp) - extract(epoch from '2026-08-19 16:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109171 -2.815921)'), GeomFromEWKT('SRID=4674;POINT (-40.109281 -2.815969)'))) / (select extract(epoch from '2026-08-19 16:31:35'::timestamp) - extract(epoch from '2026-08-19 16:31: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'), 48199, 'SRID=4674;POINT (-40.109364 -2.816014)', '2026-08-19 16:31:49', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109281 -2.815969)'), GeomFromEWKT('SRID=4674;POINT (-40.109364 -2.816014)'))) / (select extract(epoch from '2026-08-19 16:31:49'::timestamp) - extract(epoch from '2026-08-19 16:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109281 -2.815969)'), GeomFromEWKT('SRID=4674;POINT (-40.109364 -2.816014)'))) / (select extract(epoch from '2026-08-19 16:31:49'::timestamp) - extract(epoch from '2026-08-19 16:31: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'), 48199, 'SRID=4674;POINT (-40.109446 -2.816066)', '2026-08-19 16:32:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109364 -2.816014)'), GeomFromEWKT('SRID=4674;POINT (-40.109446 -2.816066)'))) / (select extract(epoch from '2026-08-19 16:32:04'::timestamp) - extract(epoch from '2026-08-19 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109364 -2.816014)'), GeomFromEWKT('SRID=4674;POINT (-40.109446 -2.816066)'))) / (select extract(epoch from '2026-08-19 16:32:04'::timestamp) - extract(epoch from '2026-08-19 16:31: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'), 48199, 'SRID=4674;POINT (-40.109565 -2.816121)', '2026-08-19 16:32:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109446 -2.816066)'), GeomFromEWKT('SRID=4674;POINT (-40.109565 -2.816121)'))) / (select extract(epoch from '2026-08-19 16:32:21'::timestamp) - extract(epoch from '2026-08-19 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109446 -2.816066)'), GeomFromEWKT('SRID=4674;POINT (-40.109565 -2.816121)'))) / (select extract(epoch from '2026-08-19 16:32:21'::timestamp) - extract(epoch from '2026-08-19 16:32: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'), 48199, 'SRID=4674;POINT (-40.109663 -2.816167)', '2026-08-19 16:32:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109565 -2.816121)'), GeomFromEWKT('SRID=4674;POINT (-40.109663 -2.816167)'))) / (select extract(epoch from '2026-08-19 16:32:37'::timestamp) - extract(epoch from '2026-08-19 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109565 -2.816121)'), GeomFromEWKT('SRID=4674;POINT (-40.109663 -2.816167)'))) / (select extract(epoch from '2026-08-19 16:32:37'::timestamp) - extract(epoch from '2026-08-19 16:32: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'), 48199, 'SRID=4674;POINT (-40.10978 -2.816212)', '2026-08-19 16:32:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109663 -2.816167)'), GeomFromEWKT('SRID=4674;POINT (-40.10978 -2.816212)'))) / (select extract(epoch from '2026-08-19 16:32:52'::timestamp) - extract(epoch from '2026-08-19 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109663 -2.816167)'), GeomFromEWKT('SRID=4674;POINT (-40.10978 -2.816212)'))) / (select extract(epoch from '2026-08-19 16:32:52'::timestamp) - extract(epoch from '2026-08-19 16:32: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'), 48199, 'SRID=4674;POINT (-40.109896 -2.816265)', '2026-08-19 16:33:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10978 -2.816212)'), GeomFromEWKT('SRID=4674;POINT (-40.109896 -2.816265)'))) / (select extract(epoch from '2026-08-19 16:33:10'::timestamp) - extract(epoch from '2026-08-19 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10978 -2.816212)'), GeomFromEWKT('SRID=4674;POINT (-40.109896 -2.816265)'))) / (select extract(epoch from '2026-08-19 16:33:10'::timestamp) - extract(epoch from '2026-08-19 16:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.109986 -2.816329)', '2026-08-19 16:33:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109896 -2.816265)'), GeomFromEWKT('SRID=4674;POINT (-40.109986 -2.816329)'))) / (select extract(epoch from '2026-08-19 16:33:26'::timestamp) - extract(epoch from '2026-08-19 16:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109896 -2.816265)'), GeomFromEWKT('SRID=4674;POINT (-40.109986 -2.816329)'))) / (select extract(epoch from '2026-08-19 16:33:26'::timestamp) - extract(epoch from '2026-08-19 16:33: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'), 48199, 'SRID=4674;POINT (-40.110104 -2.816394)', '2026-08-19 16:33:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109986 -2.816329)'), GeomFromEWKT('SRID=4674;POINT (-40.110104 -2.816394)'))) / (select extract(epoch from '2026-08-19 16:33:47'::timestamp) - extract(epoch from '2026-08-19 16:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109986 -2.816329)'), GeomFromEWKT('SRID=4674;POINT (-40.110104 -2.816394)'))) / (select extract(epoch from '2026-08-19 16:33:47'::timestamp) - extract(epoch from '2026-08-19 16:33: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'), 48199, 'SRID=4674;POINT (-40.110184 -2.816424)', '2026-08-19 16:34:00', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110104 -2.816394)'), GeomFromEWKT('SRID=4674;POINT (-40.110184 -2.816424)'))) / (select extract(epoch from '2026-08-19 16:34:00'::timestamp) - extract(epoch from '2026-08-19 16:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110104 -2.816394)'), GeomFromEWKT('SRID=4674;POINT (-40.110184 -2.816424)'))) / (select extract(epoch from '2026-08-19 16:34:00'::timestamp) - extract(epoch from '2026-08-19 16:33: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'), 48199, 'SRID=4674;POINT (-40.110276 -2.81648)', '2026-08-19 16:34:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110184 -2.816424)'), GeomFromEWKT('SRID=4674;POINT (-40.110276 -2.81648)'))) / (select extract(epoch from '2026-08-19 16:34:15'::timestamp) - extract(epoch from '2026-08-19 16:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110184 -2.816424)'), GeomFromEWKT('SRID=4674;POINT (-40.110276 -2.81648)'))) / (select extract(epoch from '2026-08-19 16:34:15'::timestamp) - extract(epoch from '2026-08-19 16:34:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.110385 -2.816529)', '2026-08-19 16:34:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110276 -2.81648)'), GeomFromEWKT('SRID=4674;POINT (-40.110385 -2.816529)'))) / (select extract(epoch from '2026-08-19 16:34:30'::timestamp) - extract(epoch from '2026-08-19 16:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110276 -2.81648)'), GeomFromEWKT('SRID=4674;POINT (-40.110385 -2.816529)'))) / (select extract(epoch from '2026-08-19 16:34:30'::timestamp) - extract(epoch from '2026-08-19 16:34:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.110457 -2.816573)', '2026-08-19 16:34:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110385 -2.816529)'), GeomFromEWKT('SRID=4674;POINT (-40.110457 -2.816573)'))) / (select extract(epoch from '2026-08-19 16:34:42'::timestamp) - extract(epoch from '2026-08-19 16:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110385 -2.816529)'), GeomFromEWKT('SRID=4674;POINT (-40.110457 -2.816573)'))) / (select extract(epoch from '2026-08-19 16:34:42'::timestamp) - extract(epoch from '2026-08-19 16:34: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'), 48199, 'SRID=4674;POINT (-40.110559 -2.816621)', '2026-08-19 16:34:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110457 -2.816573)'), GeomFromEWKT('SRID=4674;POINT (-40.110559 -2.816621)'))) / (select extract(epoch from '2026-08-19 16:34:58'::timestamp) - extract(epoch from '2026-08-19 16:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110457 -2.816573)'), GeomFromEWKT('SRID=4674;POINT (-40.110559 -2.816621)'))) / (select extract(epoch from '2026-08-19 16:34:58'::timestamp) - extract(epoch from '2026-08-19 16:34: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'), 48199, 'SRID=4674;POINT (-40.110665 -2.816684)', '2026-08-19 16:35:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110559 -2.816621)'), GeomFromEWKT('SRID=4674;POINT (-40.110665 -2.816684)'))) / (select extract(epoch from '2026-08-19 16:35:15'::timestamp) - extract(epoch from '2026-08-19 16:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110559 -2.816621)'), GeomFromEWKT('SRID=4674;POINT (-40.110665 -2.816684)'))) / (select extract(epoch from '2026-08-19 16:35:15'::timestamp) - extract(epoch from '2026-08-19 16:34: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'), 48199, 'SRID=4674;POINT (-40.110748 -2.81673)', '2026-08-19 16:35:29', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110665 -2.816684)'), GeomFromEWKT('SRID=4674;POINT (-40.110748 -2.81673)'))) / (select extract(epoch from '2026-08-19 16:35:29'::timestamp) - extract(epoch from '2026-08-19 16:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110665 -2.816684)'), GeomFromEWKT('SRID=4674;POINT (-40.110748 -2.81673)'))) / (select extract(epoch from '2026-08-19 16:35:29'::timestamp) - extract(epoch from '2026-08-19 16:35: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'), 48199, 'SRID=4674;POINT (-40.110855 -2.816787)', '2026-08-19 16:35:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110748 -2.81673)'), GeomFromEWKT('SRID=4674;POINT (-40.110855 -2.816787)'))) / (select extract(epoch from '2026-08-19 16:35:45'::timestamp) - extract(epoch from '2026-08-19 16:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110748 -2.81673)'), GeomFromEWKT('SRID=4674;POINT (-40.110855 -2.816787)'))) / (select extract(epoch from '2026-08-19 16:35:45'::timestamp) - extract(epoch from '2026-08-19 16:35: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'), 48199, 'SRID=4674;POINT (-40.110973 -2.816854)', '2026-08-19 16:36:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110855 -2.816787)'), GeomFromEWKT('SRID=4674;POINT (-40.110973 -2.816854)'))) / (select extract(epoch from '2026-08-19 16:36:03'::timestamp) - extract(epoch from '2026-08-19 16:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110855 -2.816787)'), GeomFromEWKT('SRID=4674;POINT (-40.110973 -2.816854)'))) / (select extract(epoch from '2026-08-19 16:36:03'::timestamp) - extract(epoch from '2026-08-19 16:35: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'), 48199, 'SRID=4674;POINT (-40.11108 -2.816904)', '2026-08-19 16:36:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110973 -2.816854)'), GeomFromEWKT('SRID=4674;POINT (-40.11108 -2.816904)'))) / (select extract(epoch from '2026-08-19 16:36:19'::timestamp) - extract(epoch from '2026-08-19 16:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110973 -2.816854)'), GeomFromEWKT('SRID=4674;POINT (-40.11108 -2.816904)'))) / (select extract(epoch from '2026-08-19 16:36:19'::timestamp) - extract(epoch from '2026-08-19 16:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.111166 -2.816958)', '2026-08-19 16:36:34', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11108 -2.816904)'), GeomFromEWKT('SRID=4674;POINT (-40.111166 -2.816958)'))) / (select extract(epoch from '2026-08-19 16:36:34'::timestamp) - extract(epoch from '2026-08-19 16:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11108 -2.816904)'), GeomFromEWKT('SRID=4674;POINT (-40.111166 -2.816958)'))) / (select extract(epoch from '2026-08-19 16:36:34'::timestamp) - extract(epoch from '2026-08-19 16:36:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.111241 -2.816997)', '2026-08-19 16:36:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111166 -2.816958)'), GeomFromEWKT('SRID=4674;POINT (-40.111241 -2.816997)'))) / (select extract(epoch from '2026-08-19 16:36:46'::timestamp) - extract(epoch from '2026-08-19 16:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111166 -2.816958)'), GeomFromEWKT('SRID=4674;POINT (-40.111241 -2.816997)'))) / (select extract(epoch from '2026-08-19 16:36:46'::timestamp) - extract(epoch from '2026-08-19 16:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.111342 -2.817043)', '2026-08-19 16:37:02', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111241 -2.816997)'), GeomFromEWKT('SRID=4674;POINT (-40.111342 -2.817043)'))) / (select extract(epoch from '2026-08-19 16:37:02'::timestamp) - extract(epoch from '2026-08-19 16:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111241 -2.816997)'), GeomFromEWKT('SRID=4674;POINT (-40.111342 -2.817043)'))) / (select extract(epoch from '2026-08-19 16:37:02'::timestamp) - extract(epoch from '2026-08-19 16:36:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.11142 -2.817088)', '2026-08-19 16:37:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111342 -2.817043)'), GeomFromEWKT('SRID=4674;POINT (-40.11142 -2.817088)'))) / (select extract(epoch from '2026-08-19 16:37:15'::timestamp) - extract(epoch from '2026-08-19 16:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111342 -2.817043)'), GeomFromEWKT('SRID=4674;POINT (-40.11142 -2.817088)'))) / (select extract(epoch from '2026-08-19 16:37:15'::timestamp) - extract(epoch from '2026-08-19 16:37:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.111497 -2.817135)', '2026-08-19 16:37:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11142 -2.817088)'), GeomFromEWKT('SRID=4674;POINT (-40.111497 -2.817135)'))) / (select extract(epoch from '2026-08-19 16:37:26'::timestamp) - extract(epoch from '2026-08-19 16:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11142 -2.817088)'), GeomFromEWKT('SRID=4674;POINT (-40.111497 -2.817135)'))) / (select extract(epoch from '2026-08-19 16:37:26'::timestamp) - extract(epoch from '2026-08-19 16:37: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'), 48199, 'SRID=4674;POINT (-40.111554 -2.817169)', '2026-08-19 16:37:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111497 -2.817135)'), GeomFromEWKT('SRID=4674;POINT (-40.111554 -2.817169)'))) / (select extract(epoch from '2026-08-19 16:37:39'::timestamp) - extract(epoch from '2026-08-19 16:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111497 -2.817135)'), GeomFromEWKT('SRID=4674;POINT (-40.111554 -2.817169)'))) / (select extract(epoch from '2026-08-19 16:37:39'::timestamp) - extract(epoch from '2026-08-19 16:37: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'), 48199, 'SRID=4674;POINT (-40.111665 -2.817226)', '2026-08-19 16:37:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111554 -2.817169)'), GeomFromEWKT('SRID=4674;POINT (-40.111665 -2.817226)'))) / (select extract(epoch from '2026-08-19 16:37:58'::timestamp) - extract(epoch from '2026-08-19 16:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111554 -2.817169)'), GeomFromEWKT('SRID=4674;POINT (-40.111665 -2.817226)'))) / (select extract(epoch from '2026-08-19 16:37:58'::timestamp) - extract(epoch from '2026-08-19 16:37:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.11176 -2.817292)', '2026-08-19 16:38:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111665 -2.817226)'), GeomFromEWKT('SRID=4674;POINT (-40.11176 -2.817292)'))) / (select extract(epoch from '2026-08-19 16:38:17'::timestamp) - extract(epoch from '2026-08-19 16:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111665 -2.817226)'), GeomFromEWKT('SRID=4674;POINT (-40.11176 -2.817292)'))) / (select extract(epoch from '2026-08-19 16:38:17'::timestamp) - extract(epoch from '2026-08-19 16:37:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.111855 -2.817353)', '2026-08-19 16:38:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11176 -2.817292)'), GeomFromEWKT('SRID=4674;POINT (-40.111855 -2.817353)'))) / (select extract(epoch from '2026-08-19 16:38:34'::timestamp) - extract(epoch from '2026-08-19 16:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11176 -2.817292)'), GeomFromEWKT('SRID=4674;POINT (-40.111855 -2.817353)'))) / (select extract(epoch from '2026-08-19 16:38:34'::timestamp) - extract(epoch from '2026-08-19 16:38: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'), 48199, 'SRID=4674;POINT (-40.111962 -2.817406)', '2026-08-19 16:38:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111855 -2.817353)'), GeomFromEWKT('SRID=4674;POINT (-40.111962 -2.817406)'))) / (select extract(epoch from '2026-08-19 16:38:53'::timestamp) - extract(epoch from '2026-08-19 16:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111855 -2.817353)'), GeomFromEWKT('SRID=4674;POINT (-40.111962 -2.817406)'))) / (select extract(epoch from '2026-08-19 16:38:53'::timestamp) - extract(epoch from '2026-08-19 16:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112035 -2.817455)', '2026-08-19 16:39:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111962 -2.817406)'), GeomFromEWKT('SRID=4674;POINT (-40.112035 -2.817455)'))) / (select extract(epoch from '2026-08-19 16:39:06'::timestamp) - extract(epoch from '2026-08-19 16:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111962 -2.817406)'), GeomFromEWKT('SRID=4674;POINT (-40.112035 -2.817455)'))) / (select extract(epoch from '2026-08-19 16:39:06'::timestamp) - extract(epoch from '2026-08-19 16:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112131 -2.81751)', '2026-08-19 16:39:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112035 -2.817455)'), GeomFromEWKT('SRID=4674;POINT (-40.112131 -2.81751)'))) / (select extract(epoch from '2026-08-19 16:39:21'::timestamp) - extract(epoch from '2026-08-19 16:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112035 -2.817455)'), GeomFromEWKT('SRID=4674;POINT (-40.112131 -2.81751)'))) / (select extract(epoch from '2026-08-19 16:39:21'::timestamp) - extract(epoch from '2026-08-19 16:39: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'), 48199, 'SRID=4674;POINT (-40.112202 -2.81754)', '2026-08-19 16:39:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112131 -2.81751)'), GeomFromEWKT('SRID=4674;POINT (-40.112202 -2.81754)'))) / (select extract(epoch from '2026-08-19 16:39:34'::timestamp) - extract(epoch from '2026-08-19 16:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112131 -2.81751)'), GeomFromEWKT('SRID=4674;POINT (-40.112202 -2.81754)'))) / (select extract(epoch from '2026-08-19 16:39:34'::timestamp) - extract(epoch from '2026-08-19 16:39:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112233 -2.817511)', '2026-08-19 16:39:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112202 -2.81754)'), GeomFromEWKT('SRID=4674;POINT (-40.112233 -2.817511)'))) / (select extract(epoch from '2026-08-19 16:39:46'::timestamp) - extract(epoch from '2026-08-19 16:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112202 -2.81754)'), GeomFromEWKT('SRID=4674;POINT (-40.112233 -2.817511)'))) / (select extract(epoch from '2026-08-19 16:39:46'::timestamp) - extract(epoch from '2026-08-19 16:39: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'), 48199, 'SRID=4674;POINT (-40.112235 -2.817475)', '2026-08-19 16:40:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112233 -2.817511)'), GeomFromEWKT('SRID=4674;POINT (-40.112235 -2.817475)'))) / (select extract(epoch from '2026-08-19 16:40:02'::timestamp) - extract(epoch from '2026-08-19 16:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112233 -2.817511)'), GeomFromEWKT('SRID=4674;POINT (-40.112235 -2.817475)'))) / (select extract(epoch from '2026-08-19 16:40:02'::timestamp) - extract(epoch from '2026-08-19 16:39:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112238 -2.817455)', '2026-08-19 16:40:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112235 -2.817475)'), GeomFromEWKT('SRID=4674;POINT (-40.112238 -2.817455)'))) / (select extract(epoch from '2026-08-19 16:40:17'::timestamp) - extract(epoch from '2026-08-19 16:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112235 -2.817475)'), GeomFromEWKT('SRID=4674;POINT (-40.112238 -2.817455)'))) / (select extract(epoch from '2026-08-19 16:40:17'::timestamp) - extract(epoch from '2026-08-19 16:40: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'), 48199, 'SRID=4674;POINT (-40.11224 -2.817461)', '2026-08-19 16:40:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112238 -2.817455)'), GeomFromEWKT('SRID=4674;POINT (-40.11224 -2.817461)'))) / (select extract(epoch from '2026-08-19 16:40:41'::timestamp) - extract(epoch from '2026-08-19 16:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112238 -2.817455)'), GeomFromEWKT('SRID=4674;POINT (-40.11224 -2.817461)'))) / (select extract(epoch from '2026-08-19 16:40:41'::timestamp) - extract(epoch from '2026-08-19 16:40: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'), 48199, 'SRID=4674;POINT (-40.112236 -2.817453)', '2026-08-19 16:40:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11224 -2.817461)'), GeomFromEWKT('SRID=4674;POINT (-40.112236 -2.817453)'))) / (select extract(epoch from '2026-08-19 16:40:55'::timestamp) - extract(epoch from '2026-08-19 16:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11224 -2.817461)'), GeomFromEWKT('SRID=4674;POINT (-40.112236 -2.817453)'))) / (select extract(epoch from '2026-08-19 16:40:55'::timestamp) - extract(epoch from '2026-08-19 16:40: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'), 48199, 'SRID=4674;POINT (-40.112237 -2.81745)', '2026-08-19 16:41:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112236 -2.817453)'), GeomFromEWKT('SRID=4674;POINT (-40.112237 -2.81745)'))) / (select extract(epoch from '2026-08-19 16:41:09'::timestamp) - extract(epoch from '2026-08-19 16:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112236 -2.817453)'), GeomFromEWKT('SRID=4674;POINT (-40.112237 -2.81745)'))) / (select extract(epoch from '2026-08-19 16:41:09'::timestamp) - extract(epoch from '2026-08-19 16:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112236 -2.81745)', '2026-08-19 16:41:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112237 -2.81745)'), GeomFromEWKT('SRID=4674;POINT (-40.112236 -2.81745)'))) / (select extract(epoch from '2026-08-19 16:41:27'::timestamp) - extract(epoch from '2026-08-19 16:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112237 -2.81745)'), GeomFromEWKT('SRID=4674;POINT (-40.112236 -2.81745)'))) / (select extract(epoch from '2026-08-19 16:41:27'::timestamp) - extract(epoch from '2026-08-19 16:41: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'), 48199, 'SRID=4674;POINT (-40.112233 -2.817457)', '2026-08-19 16:41:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112236 -2.81745)'), GeomFromEWKT('SRID=4674;POINT (-40.112233 -2.817457)'))) / (select extract(epoch from '2026-08-19 16:41:40'::timestamp) - extract(epoch from '2026-08-19 16:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112236 -2.81745)'), GeomFromEWKT('SRID=4674;POINT (-40.112233 -2.817457)'))) / (select extract(epoch from '2026-08-19 16:41:40'::timestamp) - extract(epoch from '2026-08-19 16:41:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112233 -2.817463)', '2026-08-19 16:41:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112233 -2.817457)'), GeomFromEWKT('SRID=4674;POINT (-40.112233 -2.817463)'))) / (select extract(epoch from '2026-08-19 16:41:53'::timestamp) - extract(epoch from '2026-08-19 16:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112233 -2.817457)'), GeomFromEWKT('SRID=4674;POINT (-40.112233 -2.817463)'))) / (select extract(epoch from '2026-08-19 16:41:53'::timestamp) - extract(epoch from '2026-08-19 16:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112241 -2.817458)', '2026-08-19 16:42:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112233 -2.817463)'), GeomFromEWKT('SRID=4674;POINT (-40.112241 -2.817458)'))) / (select extract(epoch from '2026-08-19 16:42:08'::timestamp) - extract(epoch from '2026-08-19 16:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112233 -2.817463)'), GeomFromEWKT('SRID=4674;POINT (-40.112241 -2.817458)'))) / (select extract(epoch from '2026-08-19 16:42:08'::timestamp) - extract(epoch from '2026-08-19 16: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'), 48199, 'SRID=4674;POINT (-40.112244 -2.817454)', '2026-08-19 16:42:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112241 -2.817458)'), GeomFromEWKT('SRID=4674;POINT (-40.112244 -2.817454)'))) / (select extract(epoch from '2026-08-19 16:42:22'::timestamp) - extract(epoch from '2026-08-19 16:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112241 -2.817458)'), GeomFromEWKT('SRID=4674;POINT (-40.112244 -2.817454)'))) / (select extract(epoch from '2026-08-19 16:42:22'::timestamp) - extract(epoch from '2026-08-19 16:42:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112245 -2.817457)', '2026-08-19 16:42:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112244 -2.817454)'), GeomFromEWKT('SRID=4674;POINT (-40.112245 -2.817457)'))) / (select extract(epoch from '2026-08-19 16:42:45'::timestamp) - extract(epoch from '2026-08-19 16:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112244 -2.817454)'), GeomFromEWKT('SRID=4674;POINT (-40.112245 -2.817457)'))) / (select extract(epoch from '2026-08-19 16:42:45'::timestamp) - extract(epoch from '2026-08-19 16:42: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'), 48199, 'SRID=4674;POINT (-40.112241 -2.81746)', '2026-08-19 16:42:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112245 -2.817457)'), GeomFromEWKT('SRID=4674;POINT (-40.112241 -2.81746)'))) / (select extract(epoch from '2026-08-19 16:42:54'::timestamp) - extract(epoch from '2026-08-19 16:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112245 -2.817457)'), GeomFromEWKT('SRID=4674;POINT (-40.112241 -2.81746)'))) / (select extract(epoch from '2026-08-19 16:42:54'::timestamp) - extract(epoch from '2026-08-19 16: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'), 48199, 'SRID=4674;POINT (-40.112246 -2.81745)', '2026-08-19 16:43:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112241 -2.81746)'), GeomFromEWKT('SRID=4674;POINT (-40.112246 -2.81745)'))) / (select extract(epoch from '2026-08-19 16:43:17'::timestamp) - extract(epoch from '2026-08-19 16:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112241 -2.81746)'), GeomFromEWKT('SRID=4674;POINT (-40.112246 -2.81745)'))) / (select extract(epoch from '2026-08-19 16:43:17'::timestamp) - extract(epoch from '2026-08-19 16:42: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'), 48199, 'SRID=4674;POINT (-40.112247 -2.817442)', '2026-08-19 16:43:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112246 -2.81745)'), GeomFromEWKT('SRID=4674;POINT (-40.112247 -2.817442)'))) / (select extract(epoch from '2026-08-19 16:43:34'::timestamp) - extract(epoch from '2026-08-19 16:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112246 -2.81745)'), GeomFromEWKT('SRID=4674;POINT (-40.112247 -2.817442)'))) / (select extract(epoch from '2026-08-19 16:43:34'::timestamp) - extract(epoch from '2026-08-19 16:43: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'), 48199, 'SRID=4674;POINT (-40.112246 -2.817455)', '2026-08-19 16:43:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112247 -2.817442)'), GeomFromEWKT('SRID=4674;POINT (-40.112246 -2.817455)'))) / (select extract(epoch from '2026-08-19 16:43:48'::timestamp) - extract(epoch from '2026-08-19 16:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112247 -2.817442)'), GeomFromEWKT('SRID=4674;POINT (-40.112246 -2.817455)'))) / (select extract(epoch from '2026-08-19 16:43:48'::timestamp) - extract(epoch from '2026-08-19 16:43: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'), 48199, 'SRID=4674;POINT (-40.112253 -2.817455)', '2026-08-19 16:44:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112246 -2.817455)'), GeomFromEWKT('SRID=4674;POINT (-40.112253 -2.817455)'))) / (select extract(epoch from '2026-08-19 16:44:04'::timestamp) - extract(epoch from '2026-08-19 16:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112246 -2.817455)'), GeomFromEWKT('SRID=4674;POINT (-40.112253 -2.817455)'))) / (select extract(epoch from '2026-08-19 16:44:04'::timestamp) - extract(epoch from '2026-08-19 16:43:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112261 -2.817443)', '2026-08-19 16:44:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112253 -2.817455)'), GeomFromEWKT('SRID=4674;POINT (-40.112261 -2.817443)'))) / (select extract(epoch from '2026-08-19 16:44:27'::timestamp) - extract(epoch from '2026-08-19 16:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112253 -2.817455)'), GeomFromEWKT('SRID=4674;POINT (-40.112261 -2.817443)'))) / (select extract(epoch from '2026-08-19 16:44:27'::timestamp) - extract(epoch from '2026-08-19 16:44: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'), 48199, 'SRID=4674;POINT (-40.112263 -2.817445)', '2026-08-19 16:44:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112261 -2.817443)'), GeomFromEWKT('SRID=4674;POINT (-40.112263 -2.817445)'))) / (select extract(epoch from '2026-08-19 16:44:42'::timestamp) - extract(epoch from '2026-08-19 16:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112261 -2.817443)'), GeomFromEWKT('SRID=4674;POINT (-40.112263 -2.817445)'))) / (select extract(epoch from '2026-08-19 16:44:42'::timestamp) - extract(epoch from '2026-08-19 16:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112261 -2.817448)', '2026-08-19 16:45:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112263 -2.817445)'), GeomFromEWKT('SRID=4674;POINT (-40.112261 -2.817448)'))) / (select extract(epoch from '2026-08-19 16:45:00'::timestamp) - extract(epoch from '2026-08-19 16:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112263 -2.817445)'), GeomFromEWKT('SRID=4674;POINT (-40.112261 -2.817448)'))) / (select extract(epoch from '2026-08-19 16:45:00'::timestamp) - extract(epoch from '2026-08-19 16:44:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112257 -2.817441)', '2026-08-19 16:45:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112261 -2.817448)'), GeomFromEWKT('SRID=4674;POINT (-40.112257 -2.817441)'))) / (select extract(epoch from '2026-08-19 16:45:12'::timestamp) - extract(epoch from '2026-08-19 16:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112261 -2.817448)'), GeomFromEWKT('SRID=4674;POINT (-40.112257 -2.817441)'))) / (select extract(epoch from '2026-08-19 16:45:12'::timestamp) - extract(epoch from '2026-08-19 16:45: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'), 48199, 'SRID=4674;POINT (-40.112245 -2.817448)', '2026-08-19 16:45:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112257 -2.817441)'), GeomFromEWKT('SRID=4674;POINT (-40.112245 -2.817448)'))) / (select extract(epoch from '2026-08-19 16:45:30'::timestamp) - extract(epoch from '2026-08-19 16:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112257 -2.817441)'), GeomFromEWKT('SRID=4674;POINT (-40.112245 -2.817448)'))) / (select extract(epoch from '2026-08-19 16:45:30'::timestamp) - extract(epoch from '2026-08-19 16:45:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112245 -2.817439)', '2026-08-19 16:45:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112245 -2.817448)'), GeomFromEWKT('SRID=4674;POINT (-40.112245 -2.817439)'))) / (select extract(epoch from '2026-08-19 16:45:41'::timestamp) - extract(epoch from '2026-08-19 16:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112245 -2.817448)'), GeomFromEWKT('SRID=4674;POINT (-40.112245 -2.817439)'))) / (select extract(epoch from '2026-08-19 16:45:41'::timestamp) - extract(epoch from '2026-08-19 16:45: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'), 48199, 'SRID=4674;POINT (-40.112245 -2.817441)', '2026-08-19 16:45:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112245 -2.817439)'), GeomFromEWKT('SRID=4674;POINT (-40.112245 -2.817441)'))) / (select extract(epoch from '2026-08-19 16:45:57'::timestamp) - extract(epoch from '2026-08-19 16:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112245 -2.817439)'), GeomFromEWKT('SRID=4674;POINT (-40.112245 -2.817441)'))) / (select extract(epoch from '2026-08-19 16:45:57'::timestamp) - extract(epoch from '2026-08-19 16:45: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'), 48199, 'SRID=4674;POINT (-40.112247 -2.817441)', '2026-08-19 16:46:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112245 -2.817441)'), GeomFromEWKT('SRID=4674;POINT (-40.112247 -2.817441)'))) / (select extract(epoch from '2026-08-19 16:46:06'::timestamp) - extract(epoch from '2026-08-19 16:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112245 -2.817441)'), GeomFromEWKT('SRID=4674;POINT (-40.112247 -2.817441)'))) / (select extract(epoch from '2026-08-19 16:46:06'::timestamp) - extract(epoch from '2026-08-19 16:45:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112252 -2.817433)', '2026-08-19 16:46:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112247 -2.817441)'), GeomFromEWKT('SRID=4674;POINT (-40.112252 -2.817433)'))) / (select extract(epoch from '2026-08-19 16:46:20'::timestamp) - extract(epoch from '2026-08-19 16:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112247 -2.817441)'), GeomFromEWKT('SRID=4674;POINT (-40.112252 -2.817433)'))) / (select extract(epoch from '2026-08-19 16:46:20'::timestamp) - extract(epoch from '2026-08-19 16:46: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'), 48199, 'SRID=4674;POINT (-40.112251 -2.817433)', '2026-08-19 16:46:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112252 -2.817433)'), GeomFromEWKT('SRID=4674;POINT (-40.112251 -2.817433)'))) / (select extract(epoch from '2026-08-19 16:46:33'::timestamp) - extract(epoch from '2026-08-19 16:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112252 -2.817433)'), GeomFromEWKT('SRID=4674;POINT (-40.112251 -2.817433)'))) / (select extract(epoch from '2026-08-19 16:46:33'::timestamp) - extract(epoch from '2026-08-19 16:46: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'), 48199, 'SRID=4674;POINT (-40.112252 -2.817432)', '2026-08-19 16:46:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112251 -2.817433)'), GeomFromEWKT('SRID=4674;POINT (-40.112252 -2.817432)'))) / (select extract(epoch from '2026-08-19 16:46:47'::timestamp) - extract(epoch from '2026-08-19 16:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112251 -2.817433)'), GeomFromEWKT('SRID=4674;POINT (-40.112252 -2.817432)'))) / (select extract(epoch from '2026-08-19 16:46:47'::timestamp) - extract(epoch from '2026-08-19 16:46:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.11225 -2.817429)', '2026-08-19 16:47:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112252 -2.817432)'), GeomFromEWKT('SRID=4674;POINT (-40.11225 -2.817429)'))) / (select extract(epoch from '2026-08-19 16:47:05'::timestamp) - extract(epoch from '2026-08-19 16:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112252 -2.817432)'), GeomFromEWKT('SRID=4674;POINT (-40.11225 -2.817429)'))) / (select extract(epoch from '2026-08-19 16:47:05'::timestamp) - extract(epoch from '2026-08-19 16:46:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112244 -2.817425)', '2026-08-19 16:47:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11225 -2.817429)'), GeomFromEWKT('SRID=4674;POINT (-40.112244 -2.817425)'))) / (select extract(epoch from '2026-08-19 16:47:23'::timestamp) - extract(epoch from '2026-08-19 16:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11225 -2.817429)'), GeomFromEWKT('SRID=4674;POINT (-40.112244 -2.817425)'))) / (select extract(epoch from '2026-08-19 16:47:23'::timestamp) - extract(epoch from '2026-08-19 16:47: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'), 48199, 'SRID=4674;POINT (-40.112231 -2.817424)', '2026-08-19 16:47:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112244 -2.817425)'), GeomFromEWKT('SRID=4674;POINT (-40.112231 -2.817424)'))) / (select extract(epoch from '2026-08-19 16:47:34'::timestamp) - extract(epoch from '2026-08-19 16:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112244 -2.817425)'), GeomFromEWKT('SRID=4674;POINT (-40.112231 -2.817424)'))) / (select extract(epoch from '2026-08-19 16:47:34'::timestamp) - extract(epoch from '2026-08-19 16:47: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'), 48199, 'SRID=4674;POINT (-40.112192 -2.81743)', '2026-08-19 16:47:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112231 -2.817424)'), GeomFromEWKT('SRID=4674;POINT (-40.112192 -2.81743)'))) / (select extract(epoch from '2026-08-19 16:47:45'::timestamp) - extract(epoch from '2026-08-19 16:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112231 -2.817424)'), GeomFromEWKT('SRID=4674;POINT (-40.112192 -2.81743)'))) / (select extract(epoch from '2026-08-19 16:47:45'::timestamp) - extract(epoch from '2026-08-19 16:47: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'), 48199, 'SRID=4674;POINT (-40.112145 -2.817428)', '2026-08-19 16:47:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112192 -2.81743)'), GeomFromEWKT('SRID=4674;POINT (-40.112145 -2.817428)'))) / (select extract(epoch from '2026-08-19 16:47:59'::timestamp) - extract(epoch from '2026-08-19 16:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112192 -2.81743)'), GeomFromEWKT('SRID=4674;POINT (-40.112145 -2.817428)'))) / (select extract(epoch from '2026-08-19 16:47:59'::timestamp) - extract(epoch from '2026-08-19 16:47:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112105 -2.817422)', '2026-08-19 16:48:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112145 -2.817428)'), GeomFromEWKT('SRID=4674;POINT (-40.112105 -2.817422)'))) / (select extract(epoch from '2026-08-19 16:48:13'::timestamp) - extract(epoch from '2026-08-19 16:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112145 -2.817428)'), GeomFromEWKT('SRID=4674;POINT (-40.112105 -2.817422)'))) / (select extract(epoch from '2026-08-19 16:48:13'::timestamp) - extract(epoch from '2026-08-19 16:47: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'), 48199, 'SRID=4674;POINT (-40.112091 -2.817422)', '2026-08-19 16:48:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112105 -2.817422)'), GeomFromEWKT('SRID=4674;POINT (-40.112091 -2.817422)'))) / (select extract(epoch from '2026-08-19 16:48:23'::timestamp) - extract(epoch from '2026-08-19 16:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112105 -2.817422)'), GeomFromEWKT('SRID=4674;POINT (-40.112091 -2.817422)'))) / (select extract(epoch from '2026-08-19 16:48:23'::timestamp) - extract(epoch from '2026-08-19 16:48:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112073 -2.817436)', '2026-08-19 16:48:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112091 -2.817422)'), GeomFromEWKT('SRID=4674;POINT (-40.112073 -2.817436)'))) / (select extract(epoch from '2026-08-19 16:48:40'::timestamp) - extract(epoch from '2026-08-19 16:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112091 -2.817422)'), GeomFromEWKT('SRID=4674;POINT (-40.112073 -2.817436)'))) / (select extract(epoch from '2026-08-19 16:48:40'::timestamp) - extract(epoch from '2026-08-19 16:48: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'), 48199, 'SRID=4674;POINT (-40.11212 -2.817422)', '2026-08-19 16:48:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112073 -2.817436)'), GeomFromEWKT('SRID=4674;POINT (-40.11212 -2.817422)'))) / (select extract(epoch from '2026-08-19 16:48:55'::timestamp) - extract(epoch from '2026-08-19 16:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112073 -2.817436)'), GeomFromEWKT('SRID=4674;POINT (-40.11212 -2.817422)'))) / (select extract(epoch from '2026-08-19 16:48:55'::timestamp) - extract(epoch from '2026-08-19 16:48:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112208 -2.817416)', '2026-08-19 16:49:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11212 -2.817422)'), GeomFromEWKT('SRID=4674;POINT (-40.112208 -2.817416)'))) / (select extract(epoch from '2026-08-19 16:49:11'::timestamp) - extract(epoch from '2026-08-19 16:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11212 -2.817422)'), GeomFromEWKT('SRID=4674;POINT (-40.112208 -2.817416)'))) / (select extract(epoch from '2026-08-19 16:49:11'::timestamp) - extract(epoch from '2026-08-19 16:48:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112328 -2.817444)', '2026-08-19 16:49:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112208 -2.817416)'), GeomFromEWKT('SRID=4674;POINT (-40.112328 -2.817444)'))) / (select extract(epoch from '2026-08-19 16:49:29'::timestamp) - extract(epoch from '2026-08-19 16:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112208 -2.817416)'), GeomFromEWKT('SRID=4674;POINT (-40.112328 -2.817444)'))) / (select extract(epoch from '2026-08-19 16:49:29'::timestamp) - extract(epoch from '2026-08-19 16:49: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'), 48199, 'SRID=4674;POINT (-40.11243 -2.81746)', '2026-08-19 16:49:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112328 -2.817444)'), GeomFromEWKT('SRID=4674;POINT (-40.11243 -2.81746)'))) / (select extract(epoch from '2026-08-19 16:49:45'::timestamp) - extract(epoch from '2026-08-19 16:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112328 -2.817444)'), GeomFromEWKT('SRID=4674;POINT (-40.11243 -2.81746)'))) / (select extract(epoch from '2026-08-19 16:49:45'::timestamp) - extract(epoch from '2026-08-19 16:49: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'), 48199, 'SRID=4674;POINT (-40.112549 -2.817479)', '2026-08-19 16:50:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11243 -2.81746)'), GeomFromEWKT('SRID=4674;POINT (-40.112549 -2.817479)'))) / (select extract(epoch from '2026-08-19 16:50:01'::timestamp) - extract(epoch from '2026-08-19 16:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11243 -2.81746)'), GeomFromEWKT('SRID=4674;POINT (-40.112549 -2.817479)'))) / (select extract(epoch from '2026-08-19 16:50:01'::timestamp) - extract(epoch from '2026-08-19 16:49:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112674 -2.817474)', '2026-08-19 16:50:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112549 -2.817479)'), GeomFromEWKT('SRID=4674;POINT (-40.112674 -2.817474)'))) / (select extract(epoch from '2026-08-19 16:50:20'::timestamp) - extract(epoch from '2026-08-19 16:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112549 -2.817479)'), GeomFromEWKT('SRID=4674;POINT (-40.112674 -2.817474)'))) / (select extract(epoch from '2026-08-19 16:50:20'::timestamp) - extract(epoch from '2026-08-19 16:50: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'), 48199, 'SRID=4674;POINT (-40.112788 -2.817471)', '2026-08-19 16:50:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112674 -2.817474)'), GeomFromEWKT('SRID=4674;POINT (-40.112788 -2.817471)'))) / (select extract(epoch from '2026-08-19 16:50:38'::timestamp) - extract(epoch from '2026-08-19 16:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112674 -2.817474)'), GeomFromEWKT('SRID=4674;POINT (-40.112788 -2.817471)'))) / (select extract(epoch from '2026-08-19 16:50:38'::timestamp) - extract(epoch from '2026-08-19 16:50: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'), 48199, 'SRID=4674;POINT (-40.11292 -2.817471)', '2026-08-19 16:50:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112788 -2.817471)'), GeomFromEWKT('SRID=4674;POINT (-40.11292 -2.817471)'))) / (select extract(epoch from '2026-08-19 16:50:55'::timestamp) - extract(epoch from '2026-08-19 16:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112788 -2.817471)'), GeomFromEWKT('SRID=4674;POINT (-40.11292 -2.817471)'))) / (select extract(epoch from '2026-08-19 16:50:55'::timestamp) - extract(epoch from '2026-08-19 16:50: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'), 48199, 'SRID=4674;POINT (-40.113013 -2.817467)', '2026-08-19 16:51:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11292 -2.817471)'), GeomFromEWKT('SRID=4674;POINT (-40.113013 -2.817467)'))) / (select extract(epoch from '2026-08-19 16:51:09'::timestamp) - extract(epoch from '2026-08-19 16:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11292 -2.817471)'), GeomFromEWKT('SRID=4674;POINT (-40.113013 -2.817467)'))) / (select extract(epoch from '2026-08-19 16:51:09'::timestamp) - extract(epoch from '2026-08-19 16:50:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.11313 -2.817478)', '2026-08-19 16:51:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113013 -2.817467)'), GeomFromEWKT('SRID=4674;POINT (-40.11313 -2.817478)'))) / (select extract(epoch from '2026-08-19 16:51:26'::timestamp) - extract(epoch from '2026-08-19 16:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113013 -2.817467)'), GeomFromEWKT('SRID=4674;POINT (-40.11313 -2.817478)'))) / (select extract(epoch from '2026-08-19 16:51:26'::timestamp) - extract(epoch from '2026-08-19 16:51: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'), 48199, 'SRID=4674;POINT (-40.113221 -2.817489)', '2026-08-19 16:51:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11313 -2.817478)'), GeomFromEWKT('SRID=4674;POINT (-40.113221 -2.817489)'))) / (select extract(epoch from '2026-08-19 16:51:40'::timestamp) - extract(epoch from '2026-08-19 16:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11313 -2.817478)'), GeomFromEWKT('SRID=4674;POINT (-40.113221 -2.817489)'))) / (select extract(epoch from '2026-08-19 16:51:40'::timestamp) - extract(epoch from '2026-08-19 16:51:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113353 -2.817489)', '2026-08-19 16:51:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113221 -2.817489)'), GeomFromEWKT('SRID=4674;POINT (-40.113353 -2.817489)'))) / (select extract(epoch from '2026-08-19 16:51:59'::timestamp) - extract(epoch from '2026-08-19 16:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113221 -2.817489)'), GeomFromEWKT('SRID=4674;POINT (-40.113353 -2.817489)'))) / (select extract(epoch from '2026-08-19 16:51:59'::timestamp) - extract(epoch from '2026-08-19 16:51:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113458 -2.817477)', '2026-08-19 16:52:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113353 -2.817489)'), GeomFromEWKT('SRID=4674;POINT (-40.113458 -2.817477)'))) / (select extract(epoch from '2026-08-19 16:52:14'::timestamp) - extract(epoch from '2026-08-19 16:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113353 -2.817489)'), GeomFromEWKT('SRID=4674;POINT (-40.113458 -2.817477)'))) / (select extract(epoch from '2026-08-19 16:52:14'::timestamp) - extract(epoch from '2026-08-19 16:51: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'), 48199, 'SRID=4674;POINT (-40.11352 -2.817481)', '2026-08-19 16:52:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113458 -2.817477)'), GeomFromEWKT('SRID=4674;POINT (-40.11352 -2.817481)'))) / (select extract(epoch from '2026-08-19 16:52:27'::timestamp) - extract(epoch from '2026-08-19 16:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113458 -2.817477)'), GeomFromEWKT('SRID=4674;POINT (-40.11352 -2.817481)'))) / (select extract(epoch from '2026-08-19 16:52:27'::timestamp) - extract(epoch from '2026-08-19 16:52: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'), 48199, 'SRID=4674;POINT (-40.113528 -2.817514)', '2026-08-19 16:52:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11352 -2.817481)'), GeomFromEWKT('SRID=4674;POINT (-40.113528 -2.817514)'))) / (select extract(epoch from '2026-08-19 16:52:44'::timestamp) - extract(epoch from '2026-08-19 16:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11352 -2.817481)'), GeomFromEWKT('SRID=4674;POINT (-40.113528 -2.817514)'))) / (select extract(epoch from '2026-08-19 16:52:44'::timestamp) - extract(epoch from '2026-08-19 16:52: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'), 48199, 'SRID=4674;POINT (-40.113527 -2.81754)', '2026-08-19 16:53:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113528 -2.817514)'), GeomFromEWKT('SRID=4674;POINT (-40.113527 -2.81754)'))) / (select extract(epoch from '2026-08-19 16:53:00'::timestamp) - extract(epoch from '2026-08-19 16:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113528 -2.817514)'), GeomFromEWKT('SRID=4674;POINT (-40.113527 -2.81754)'))) / (select extract(epoch from '2026-08-19 16:53:00'::timestamp) - extract(epoch from '2026-08-19 16:52: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'), 48199, 'SRID=4674;POINT (-40.113526 -2.81753)', '2026-08-19 16:53:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113527 -2.81754)'), GeomFromEWKT('SRID=4674;POINT (-40.113526 -2.81753)'))) / (select extract(epoch from '2026-08-19 16:53:09'::timestamp) - extract(epoch from '2026-08-19 16:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113527 -2.81754)'), GeomFromEWKT('SRID=4674;POINT (-40.113526 -2.81753)'))) / (select extract(epoch from '2026-08-19 16:53:09'::timestamp) - extract(epoch from '2026-08-19 16:53: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'), 48199, 'SRID=4674;POINT (-40.113524 -2.81753)', '2026-08-19 16:53:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113526 -2.81753)'), GeomFromEWKT('SRID=4674;POINT (-40.113524 -2.81753)'))) / (select extract(epoch from '2026-08-19 16:53:30'::timestamp) - extract(epoch from '2026-08-19 16:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113526 -2.81753)'), GeomFromEWKT('SRID=4674;POINT (-40.113524 -2.81753)'))) / (select extract(epoch from '2026-08-19 16:53:30'::timestamp) - extract(epoch from '2026-08-19 16:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113525 -2.81753)', '2026-08-19 16:53:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113524 -2.81753)'), GeomFromEWKT('SRID=4674;POINT (-40.113525 -2.81753)'))) / (select extract(epoch from '2026-08-19 16:53:46'::timestamp) - extract(epoch from '2026-08-19 16:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113524 -2.81753)'), GeomFromEWKT('SRID=4674;POINT (-40.113525 -2.81753)'))) / (select extract(epoch from '2026-08-19 16:53:46'::timestamp) - extract(epoch from '2026-08-19 16:53: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'), 48199, 'SRID=4674;POINT (-40.113523 -2.817522)', '2026-08-19 16:54:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113525 -2.81753)'), GeomFromEWKT('SRID=4674;POINT (-40.113523 -2.817522)'))) / (select extract(epoch from '2026-08-19 16:54:06'::timestamp) - extract(epoch from '2026-08-19 16:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113525 -2.81753)'), GeomFromEWKT('SRID=4674;POINT (-40.113523 -2.817522)'))) / (select extract(epoch from '2026-08-19 16:54:06'::timestamp) - extract(epoch from '2026-08-19 16:53: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'), 48199, 'SRID=4674;POINT (-40.113525 -2.817528)', '2026-08-19 16:54:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113523 -2.817522)'), GeomFromEWKT('SRID=4674;POINT (-40.113525 -2.817528)'))) / (select extract(epoch from '2026-08-19 16:54:22'::timestamp) - extract(epoch from '2026-08-19 16:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113523 -2.817522)'), GeomFromEWKT('SRID=4674;POINT (-40.113525 -2.817528)'))) / (select extract(epoch from '2026-08-19 16:54:22'::timestamp) - extract(epoch from '2026-08-19 16:54: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'), 48199, 'SRID=4674;POINT (-40.11352 -2.817534)', '2026-08-19 16:54:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113525 -2.817528)'), GeomFromEWKT('SRID=4674;POINT (-40.11352 -2.817534)'))) / (select extract(epoch from '2026-08-19 16:54:40'::timestamp) - extract(epoch from '2026-08-19 16:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113525 -2.817528)'), GeomFromEWKT('SRID=4674;POINT (-40.11352 -2.817534)'))) / (select extract(epoch from '2026-08-19 16:54:40'::timestamp) - extract(epoch from '2026-08-19 16: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'), 48199, 'SRID=4674;POINT (-40.113519 -2.817527)', '2026-08-19 16:54:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11352 -2.817534)'), GeomFromEWKT('SRID=4674;POINT (-40.113519 -2.817527)'))) / (select extract(epoch from '2026-08-19 16:54:54'::timestamp) - extract(epoch from '2026-08-19 16:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11352 -2.817534)'), GeomFromEWKT('SRID=4674;POINT (-40.113519 -2.817527)'))) / (select extract(epoch from '2026-08-19 16:54:54'::timestamp) - extract(epoch from '2026-08-19 16:54:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113514 -2.817538)', '2026-08-19 16:55:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113519 -2.817527)'), GeomFromEWKT('SRID=4674;POINT (-40.113514 -2.817538)'))) / (select extract(epoch from '2026-08-19 16:55:11'::timestamp) - extract(epoch from '2026-08-19 16:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113519 -2.817527)'), GeomFromEWKT('SRID=4674;POINT (-40.113514 -2.817538)'))) / (select extract(epoch from '2026-08-19 16:55:11'::timestamp) - extract(epoch from '2026-08-19 16: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'), 48199, 'SRID=4674;POINT (-40.113521 -2.817546)', '2026-08-19 16:55:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113514 -2.817538)'), GeomFromEWKT('SRID=4674;POINT (-40.113521 -2.817546)'))) / (select extract(epoch from '2026-08-19 16:55:29'::timestamp) - extract(epoch from '2026-08-19 16:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113514 -2.817538)'), GeomFromEWKT('SRID=4674;POINT (-40.113521 -2.817546)'))) / (select extract(epoch from '2026-08-19 16:55:29'::timestamp) - extract(epoch from '2026-08-19 16:55: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'), 48199, 'SRID=4674;POINT (-40.113521 -2.817544)', '2026-08-19 16:55:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113521 -2.817546)'), GeomFromEWKT('SRID=4674;POINT (-40.113521 -2.817544)'))) / (select extract(epoch from '2026-08-19 16:55:46'::timestamp) - extract(epoch from '2026-08-19 16:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113521 -2.817546)'), GeomFromEWKT('SRID=4674;POINT (-40.113521 -2.817544)'))) / (select extract(epoch from '2026-08-19 16:55:46'::timestamp) - extract(epoch from '2026-08-19 16:55: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'), 48199, 'SRID=4674;POINT (-40.11352 -2.817546)', '2026-08-19 16:56:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113521 -2.817544)'), GeomFromEWKT('SRID=4674;POINT (-40.11352 -2.817546)'))) / (select extract(epoch from '2026-08-19 16:56:04'::timestamp) - extract(epoch from '2026-08-19 16:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113521 -2.817544)'), GeomFromEWKT('SRID=4674;POINT (-40.11352 -2.817546)'))) / (select extract(epoch from '2026-08-19 16:56:04'::timestamp) - extract(epoch from '2026-08-19 16:55: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'), 48199, 'SRID=4674;POINT (-40.113523 -2.817543)', '2026-08-19 16:56:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11352 -2.817546)'), GeomFromEWKT('SRID=4674;POINT (-40.113523 -2.817543)'))) / (select extract(epoch from '2026-08-19 16:56:22'::timestamp) - extract(epoch from '2026-08-19 16:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11352 -2.817546)'), GeomFromEWKT('SRID=4674;POINT (-40.113523 -2.817543)'))) / (select extract(epoch from '2026-08-19 16:56:22'::timestamp) - extract(epoch from '2026-08-19 16:56:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.11353 -2.817542)', '2026-08-19 16:56:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113523 -2.817543)'), GeomFromEWKT('SRID=4674;POINT (-40.11353 -2.817542)'))) / (select extract(epoch from '2026-08-19 16:56:46'::timestamp) - extract(epoch from '2026-08-19 16:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113523 -2.817543)'), GeomFromEWKT('SRID=4674;POINT (-40.11353 -2.817542)'))) / (select extract(epoch from '2026-08-19 16:56:46'::timestamp) - extract(epoch from '2026-08-19 16:56: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'), 48199, 'SRID=4674;POINT (-40.113534 -2.817539)', '2026-08-19 16:57:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11353 -2.817542)'), GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.817539)'))) / (select extract(epoch from '2026-08-19 16:57:02'::timestamp) - extract(epoch from '2026-08-19 16:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11353 -2.817542)'), GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.817539)'))) / (select extract(epoch from '2026-08-19 16:57:02'::timestamp) - extract(epoch from '2026-08-19 16:56:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113539 -2.817544)', '2026-08-19 16:57:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.817539)'), GeomFromEWKT('SRID=4674;POINT (-40.113539 -2.817544)'))) / (select extract(epoch from '2026-08-19 16:57:20'::timestamp) - extract(epoch from '2026-08-19 16:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.817539)'), GeomFromEWKT('SRID=4674;POINT (-40.113539 -2.817544)'))) / (select extract(epoch from '2026-08-19 16:57:20'::timestamp) - extract(epoch from '2026-08-19 16: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'), 48199, 'SRID=4674;POINT (-40.113541 -2.817547)', '2026-08-19 16:57:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113539 -2.817544)'), GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817547)'))) / (select extract(epoch from '2026-08-19 16:57:36'::timestamp) - extract(epoch from '2026-08-19 16:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113539 -2.817544)'), GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817547)'))) / (select extract(epoch from '2026-08-19 16:57:36'::timestamp) - extract(epoch from '2026-08-19 16:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113541 -2.817547)', '2026-08-19 16:57:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817547)'), GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817547)'))) / (select extract(epoch from '2026-08-19 16:57:56'::timestamp) - extract(epoch from '2026-08-19 16:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817547)'), GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817547)'))) / (select extract(epoch from '2026-08-19 16:57:56'::timestamp) - extract(epoch from '2026-08-19 16:57: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'), 48199, 'SRID=4674;POINT (-40.113538 -2.817548)', '2026-08-19 16:58:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817547)'), GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817548)'))) / (select extract(epoch from '2026-08-19 16:58:11'::timestamp) - extract(epoch from '2026-08-19 16:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817547)'), GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817548)'))) / (select extract(epoch from '2026-08-19 16:58:11'::timestamp) - extract(epoch from '2026-08-19 16:57: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'), 48199, 'SRID=4674;POINT (-40.113536 -2.817546)', '2026-08-19 16:58:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817548)'), GeomFromEWKT('SRID=4674;POINT (-40.113536 -2.817546)'))) / (select extract(epoch from '2026-08-19 16:58:23'::timestamp) - extract(epoch from '2026-08-19 16:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817548)'), GeomFromEWKT('SRID=4674;POINT (-40.113536 -2.817546)'))) / (select extract(epoch from '2026-08-19 16:58:23'::timestamp) - extract(epoch from '2026-08-19 16: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'), 48199, 'SRID=4674;POINT (-40.11354 -2.817536)', '2026-08-19 16:58:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113536 -2.817546)'), GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817536)'))) / (select extract(epoch from '2026-08-19 16:58:35'::timestamp) - extract(epoch from '2026-08-19 16:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113536 -2.817546)'), GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817536)'))) / (select extract(epoch from '2026-08-19 16:58:35'::timestamp) - extract(epoch from '2026-08-19 16:58: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'), 48199, 'SRID=4674;POINT (-40.113534 -2.817534)', '2026-08-19 16:58:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817536)'), GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.817534)'))) / (select extract(epoch from '2026-08-19 16:58:51'::timestamp) - extract(epoch from '2026-08-19 16:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817536)'), GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.817534)'))) / (select extract(epoch from '2026-08-19 16:58:51'::timestamp) - extract(epoch from '2026-08-19 16:58: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'), 48199, 'SRID=4674;POINT (-40.113538 -2.817535)', '2026-08-19 16:59:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.817534)'), GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817535)'))) / (select extract(epoch from '2026-08-19 16:59:14'::timestamp) - extract(epoch from '2026-08-19 16:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.817534)'), GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817535)'))) / (select extract(epoch from '2026-08-19 16:59:14'::timestamp) - extract(epoch from '2026-08-19 16:58: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'), 48199, 'SRID=4674;POINT (-40.113539 -2.817526)', '2026-08-19 16:59:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817535)'), GeomFromEWKT('SRID=4674;POINT (-40.113539 -2.817526)'))) / (select extract(epoch from '2026-08-19 16:59:30'::timestamp) - extract(epoch from '2026-08-19 16:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817535)'), GeomFromEWKT('SRID=4674;POINT (-40.113539 -2.817526)'))) / (select extract(epoch from '2026-08-19 16:59:30'::timestamp) - extract(epoch from '2026-08-19 16:59: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'), 48199, 'SRID=4674;POINT (-40.113541 -2.817531)', '2026-08-19 16:59:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113539 -2.817526)'), GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817531)'))) / (select extract(epoch from '2026-08-19 16:59:44'::timestamp) - extract(epoch from '2026-08-19 16:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113539 -2.817526)'), GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817531)'))) / (select extract(epoch from '2026-08-19 16:59:44'::timestamp) - extract(epoch from '2026-08-19 16:59: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'), 48199, 'SRID=4674;POINT (-40.113541 -2.817536)', '2026-08-19 16:59:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817531)'), GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817536)'))) / (select extract(epoch from '2026-08-19 16:59:59'::timestamp) - extract(epoch from '2026-08-19 16:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817531)'), GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817536)'))) / (select extract(epoch from '2026-08-19 16:59:59'::timestamp) - extract(epoch from '2026-08-19 16:59: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'), 48199, 'SRID=4674;POINT (-40.113538 -2.817543)', '2026-08-19 17:00:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817536)'), GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817543)'))) / (select extract(epoch from '2026-08-19 17:00:13'::timestamp) - extract(epoch from '2026-08-19 16:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817536)'), GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817543)'))) / (select extract(epoch from '2026-08-19 17:00:13'::timestamp) - extract(epoch from '2026-08-19 16:59: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'), 48199, 'SRID=4674;POINT (-40.113542 -2.817539)', '2026-08-19 17:00:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817543)'), GeomFromEWKT('SRID=4674;POINT (-40.113542 -2.817539)'))) / (select extract(epoch from '2026-08-19 17:00:23'::timestamp) - extract(epoch from '2026-08-19 17:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817543)'), GeomFromEWKT('SRID=4674;POINT (-40.113542 -2.817539)'))) / (select extract(epoch from '2026-08-19 17:00:23'::timestamp) - extract(epoch from '2026-08-19 17:00: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'), 48199, 'SRID=4674;POINT (-40.113538 -2.817535)', '2026-08-19 17:00:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113542 -2.817539)'), GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817535)'))) / (select extract(epoch from '2026-08-19 17:00:41'::timestamp) - extract(epoch from '2026-08-19 17:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113542 -2.817539)'), GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817535)'))) / (select extract(epoch from '2026-08-19 17:00:41'::timestamp) - extract(epoch from '2026-08-19 17:00: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'), 48199, 'SRID=4674;POINT (-40.11354 -2.817537)', '2026-08-19 17:00:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817535)'), GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817537)'))) / (select extract(epoch from '2026-08-19 17:00:57'::timestamp) - extract(epoch from '2026-08-19 17:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817535)'), GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817537)'))) / (select extract(epoch from '2026-08-19 17:00:57'::timestamp) - extract(epoch from '2026-08-19 17:00: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'), 48199, 'SRID=4674;POINT (-40.113539 -2.817548)', '2026-08-19 17:01:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817537)'), GeomFromEWKT('SRID=4674;POINT (-40.113539 -2.817548)'))) / (select extract(epoch from '2026-08-19 17:01:09'::timestamp) - extract(epoch from '2026-08-19 17:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817537)'), GeomFromEWKT('SRID=4674;POINT (-40.113539 -2.817548)'))) / (select extract(epoch from '2026-08-19 17:01:09'::timestamp) - extract(epoch from '2026-08-19 17:00: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'), 48199, 'SRID=4674;POINT (-40.113542 -2.817544)', '2026-08-19 17:01:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113539 -2.817548)'), GeomFromEWKT('SRID=4674;POINT (-40.113542 -2.817544)'))) / (select extract(epoch from '2026-08-19 17:01:31'::timestamp) - extract(epoch from '2026-08-19 17:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113539 -2.817548)'), GeomFromEWKT('SRID=4674;POINT (-40.113542 -2.817544)'))) / (select extract(epoch from '2026-08-19 17:01:31'::timestamp) - extract(epoch from '2026-08-19 17: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'), 48199, 'SRID=4674;POINT (-40.113536 -2.81754)', '2026-08-19 17:01:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113542 -2.817544)'), GeomFromEWKT('SRID=4674;POINT (-40.113536 -2.81754)'))) / (select extract(epoch from '2026-08-19 17:01:52'::timestamp) - extract(epoch from '2026-08-19 17:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113542 -2.817544)'), GeomFromEWKT('SRID=4674;POINT (-40.113536 -2.81754)'))) / (select extract(epoch from '2026-08-19 17:01:52'::timestamp) - extract(epoch from '2026-08-19 17:01:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113534 -2.817547)', '2026-08-19 17:02:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113536 -2.81754)'), GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.817547)'))) / (select extract(epoch from '2026-08-19 17:02:11'::timestamp) - extract(epoch from '2026-08-19 17:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113536 -2.81754)'), GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.817547)'))) / (select extract(epoch from '2026-08-19 17:02:11'::timestamp) - extract(epoch from '2026-08-19 17:01:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113535 -2.817552)', '2026-08-19 17:02:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.817547)'), GeomFromEWKT('SRID=4674;POINT (-40.113535 -2.817552)'))) / (select extract(epoch from '2026-08-19 17:02:28'::timestamp) - extract(epoch from '2026-08-19 17:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.817547)'), GeomFromEWKT('SRID=4674;POINT (-40.113535 -2.817552)'))) / (select extract(epoch from '2026-08-19 17:02:28'::timestamp) - extract(epoch from '2026-08-19 17:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113537 -2.817547)', '2026-08-19 17:02:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113535 -2.817552)'), GeomFromEWKT('SRID=4674;POINT (-40.113537 -2.817547)'))) / (select extract(epoch from '2026-08-19 17:02:44'::timestamp) - extract(epoch from '2026-08-19 17:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113535 -2.817552)'), GeomFromEWKT('SRID=4674;POINT (-40.113537 -2.817547)'))) / (select extract(epoch from '2026-08-19 17:02:44'::timestamp) - extract(epoch from '2026-08-19 17: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'), 48199, 'SRID=4674;POINT (-40.113534 -2.817555)', '2026-08-19 17:02:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113537 -2.817547)'), GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.817555)'))) / (select extract(epoch from '2026-08-19 17:02:59'::timestamp) - extract(epoch from '2026-08-19 17:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113537 -2.817547)'), GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.817555)'))) / (select extract(epoch from '2026-08-19 17:02:59'::timestamp) - extract(epoch from '2026-08-19 17:02: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'), 48199, 'SRID=4674;POINT (-40.113533 -2.817551)', '2026-08-19 17:03:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.817555)'), GeomFromEWKT('SRID=4674;POINT (-40.113533 -2.817551)'))) / (select extract(epoch from '2026-08-19 17:03:09'::timestamp) - extract(epoch from '2026-08-19 17:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.817555)'), GeomFromEWKT('SRID=4674;POINT (-40.113533 -2.817551)'))) / (select extract(epoch from '2026-08-19 17:03:09'::timestamp) - extract(epoch from '2026-08-19 17:02: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'), 48199, 'SRID=4674;POINT (-40.113534 -2.81755)', '2026-08-19 17:03:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113533 -2.817551)'), GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.81755)'))) / (select extract(epoch from '2026-08-19 17:03:22'::timestamp) - extract(epoch from '2026-08-19 17:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113533 -2.817551)'), GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.81755)'))) / (select extract(epoch from '2026-08-19 17:03:22'::timestamp) - extract(epoch from '2026-08-19 17:03: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'), 48199, 'SRID=4674;POINT (-40.113535 -2.817542)', '2026-08-19 17:03:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.81755)'), GeomFromEWKT('SRID=4674;POINT (-40.113535 -2.817542)'))) / (select extract(epoch from '2026-08-19 17:03:36'::timestamp) - extract(epoch from '2026-08-19 17:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113534 -2.81755)'), GeomFromEWKT('SRID=4674;POINT (-40.113535 -2.817542)'))) / (select extract(epoch from '2026-08-19 17:03:36'::timestamp) - extract(epoch from '2026-08-19 17: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'), 48199, 'SRID=4674;POINT (-40.113538 -2.81754)', '2026-08-19 17:03:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113535 -2.817542)'), GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.81754)'))) / (select extract(epoch from '2026-08-19 17:03:52'::timestamp) - extract(epoch from '2026-08-19 17:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113535 -2.817542)'), GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.81754)'))) / (select extract(epoch from '2026-08-19 17:03:52'::timestamp) - extract(epoch from '2026-08-19 17:03:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.11354 -2.817536)', '2026-08-19 17:04:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.81754)'), GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817536)'))) / (select extract(epoch from '2026-08-19 17:04:03'::timestamp) - extract(epoch from '2026-08-19 17:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.81754)'), GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817536)'))) / (select extract(epoch from '2026-08-19 17:04:03'::timestamp) - extract(epoch from '2026-08-19 17:03: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'), 48199, 'SRID=4674;POINT (-40.11354 -2.817546)', '2026-08-19 17:04:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817536)'), GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817546)'))) / (select extract(epoch from '2026-08-19 17:04:21'::timestamp) - extract(epoch from '2026-08-19 17:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817536)'), GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817546)'))) / (select extract(epoch from '2026-08-19 17:04:21'::timestamp) - extract(epoch from '2026-08-19 17: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'), 48199, 'SRID=4674;POINT (-40.113541 -2.817551)', '2026-08-19 17:04:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817546)'), GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817551)'))) / (select extract(epoch from '2026-08-19 17:04:37'::timestamp) - extract(epoch from '2026-08-19 17:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817546)'), GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817551)'))) / (select extract(epoch from '2026-08-19 17:04:37'::timestamp) - extract(epoch from '2026-08-19 17:04: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'), 48199, 'SRID=4674;POINT (-40.113541 -2.817534)', '2026-08-19 17:04:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817551)'), GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817534)'))) / (select extract(epoch from '2026-08-19 17:04:50'::timestamp) - extract(epoch from '2026-08-19 17:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817551)'), GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817534)'))) / (select extract(epoch from '2026-08-19 17:04:50'::timestamp) - extract(epoch from '2026-08-19 17:04: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'), 48199, 'SRID=4674;POINT (-40.113538 -2.817537)', '2026-08-19 17:05:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817534)'), GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817537)'))) / (select extract(epoch from '2026-08-19 17:05:03'::timestamp) - extract(epoch from '2026-08-19 17:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113541 -2.817534)'), GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817537)'))) / (select extract(epoch from '2026-08-19 17:05:03'::timestamp) - extract(epoch from '2026-08-19 17:04: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'), 48199, 'SRID=4674;POINT (-40.11354 -2.817541)', '2026-08-19 17:05:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817537)'), GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817541)'))) / (select extract(epoch from '2026-08-19 17:05:11'::timestamp) - extract(epoch from '2026-08-19 17:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113538 -2.817537)'), GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817541)'))) / (select extract(epoch from '2026-08-19 17:05:11'::timestamp) - extract(epoch from '2026-08-19 17:05: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'), 48199, 'SRID=4674;POINT (-40.113543 -2.817532)', '2026-08-19 17:05:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817541)'), GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817532)'))) / (select extract(epoch from '2026-08-19 17:05:28'::timestamp) - extract(epoch from '2026-08-19 17:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817541)'), GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817532)'))) / (select extract(epoch from '2026-08-19 17:05:28'::timestamp) - extract(epoch from '2026-08-19 17:05:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.11354 -2.817547)', '2026-08-19 17:05:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817532)'), GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817547)'))) / (select extract(epoch from '2026-08-19 17:05:40'::timestamp) - extract(epoch from '2026-08-19 17:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817532)'), GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817547)'))) / (select extract(epoch from '2026-08-19 17:05:40'::timestamp) - extract(epoch from '2026-08-19 17:05: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'), 48199, 'SRID=4674;POINT (-40.113539 -2.817553)', '2026-08-19 17:05:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817547)'), GeomFromEWKT('SRID=4674;POINT (-40.113539 -2.817553)'))) / (select extract(epoch from '2026-08-19 17:05:57'::timestamp) - extract(epoch from '2026-08-19 17:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817547)'), GeomFromEWKT('SRID=4674;POINT (-40.113539 -2.817553)'))) / (select extract(epoch from '2026-08-19 17:05:57'::timestamp) - extract(epoch from '2026-08-19 17:05:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113543 -2.817551)', '2026-08-19 17:06:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113539 -2.817553)'), GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817551)'))) / (select extract(epoch from '2026-08-19 17:06:09'::timestamp) - extract(epoch from '2026-08-19 17:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113539 -2.817553)'), GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817551)'))) / (select extract(epoch from '2026-08-19 17:06:09'::timestamp) - extract(epoch from '2026-08-19 17:05: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'), 48199, 'SRID=4674;POINT (-40.113543 -2.817545)', '2026-08-19 17:06:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817551)'), GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817545)'))) / (select extract(epoch from '2026-08-19 17:06:28'::timestamp) - extract(epoch from '2026-08-19 17:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817551)'), GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817545)'))) / (select extract(epoch from '2026-08-19 17:06:28'::timestamp) - extract(epoch from '2026-08-19 17:06: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'), 48199, 'SRID=4674;POINT (-40.11354 -2.817548)', '2026-08-19 17:06:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817545)'), GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817548)'))) / (select extract(epoch from '2026-08-19 17:06:40'::timestamp) - extract(epoch from '2026-08-19 17:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817545)'), GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817548)'))) / (select extract(epoch from '2026-08-19 17:06:40'::timestamp) - extract(epoch from '2026-08-19 17:06: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'), 48199, 'SRID=4674;POINT (-40.113537 -2.817562)', '2026-08-19 17:06:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817548)'), GeomFromEWKT('SRID=4674;POINT (-40.113537 -2.817562)'))) / (select extract(epoch from '2026-08-19 17:06:47'::timestamp) - extract(epoch from '2026-08-19 17:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11354 -2.817548)'), GeomFromEWKT('SRID=4674;POINT (-40.113537 -2.817562)'))) / (select extract(epoch from '2026-08-19 17:06:47'::timestamp) - extract(epoch from '2026-08-19 17:06:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113544 -2.817559)', '2026-08-19 17:07:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113537 -2.817562)'), GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817559)'))) / (select extract(epoch from '2026-08-19 17:07:06'::timestamp) - extract(epoch from '2026-08-19 17:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113537 -2.817562)'), GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817559)'))) / (select extract(epoch from '2026-08-19 17:07:06'::timestamp) - extract(epoch from '2026-08-19 17:06:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113544 -2.817555)', '2026-08-19 17:07:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817559)'), GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817555)'))) / (select extract(epoch from '2026-08-19 17:07:21'::timestamp) - extract(epoch from '2026-08-19 17:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817559)'), GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817555)'))) / (select extract(epoch from '2026-08-19 17:07:21'::timestamp) - extract(epoch from '2026-08-19 17:07:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113544 -2.817565)', '2026-08-19 17:07:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817555)'), GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817565)'))) / (select extract(epoch from '2026-08-19 17:07:33'::timestamp) - extract(epoch from '2026-08-19 17:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817555)'), GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817565)'))) / (select extract(epoch from '2026-08-19 17:07:33'::timestamp) - extract(epoch from '2026-08-19 17:07: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'), 48199, 'SRID=4674;POINT (-40.113544 -2.817556)', '2026-08-19 17:07:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817565)'), GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817556)'))) / (select extract(epoch from '2026-08-19 17:07:50'::timestamp) - extract(epoch from '2026-08-19 17:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817565)'), GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817556)'))) / (select extract(epoch from '2026-08-19 17:07:50'::timestamp) - extract(epoch from '2026-08-19 17:07: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'), 48199, 'SRID=4674;POINT (-40.113543 -2.817563)', '2026-08-19 17:08:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817556)'), GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817563)'))) / (select extract(epoch from '2026-08-19 17:08:04'::timestamp) - extract(epoch from '2026-08-19 17:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817556)'), GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817563)'))) / (select extract(epoch from '2026-08-19 17:08:04'::timestamp) - extract(epoch from '2026-08-19 17: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'), 48199, 'SRID=4674;POINT (-40.113547 -2.817546)', '2026-08-19 17:08:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817563)'), GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817546)'))) / (select extract(epoch from '2026-08-19 17:08:15'::timestamp) - extract(epoch from '2026-08-19 17:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817563)'), GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817546)'))) / (select extract(epoch from '2026-08-19 17:08:15'::timestamp) - extract(epoch from '2026-08-19 17:08: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'), 48199, 'SRID=4674;POINT (-40.113544 -2.817544)', '2026-08-19 17:08:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817546)'), GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817544)'))) / (select extract(epoch from '2026-08-19 17:08:30'::timestamp) - extract(epoch from '2026-08-19 17:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817546)'), GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817544)'))) / (select extract(epoch from '2026-08-19 17:08:30'::timestamp) - extract(epoch from '2026-08-19 17:08: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'), 48199, 'SRID=4674;POINT (-40.113543 -2.81754)', '2026-08-19 17:08:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817544)'), GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.81754)'))) / (select extract(epoch from '2026-08-19 17:08:51'::timestamp) - extract(epoch from '2026-08-19 17:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817544)'), GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.81754)'))) / (select extract(epoch from '2026-08-19 17:08:51'::timestamp) - extract(epoch from '2026-08-19 17:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113545 -2.817538)', '2026-08-19 17:09:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.81754)'), GeomFromEWKT('SRID=4674;POINT (-40.113545 -2.817538)'))) / (select extract(epoch from '2026-08-19 17:09:08'::timestamp) - extract(epoch from '2026-08-19 17:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.81754)'), GeomFromEWKT('SRID=4674;POINT (-40.113545 -2.817538)'))) / (select extract(epoch from '2026-08-19 17:09:08'::timestamp) - extract(epoch from '2026-08-19 17:08: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'), 48199, 'SRID=4674;POINT (-40.113544 -2.817542)', '2026-08-19 17:09:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113545 -2.817538)'), GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817542)'))) / (select extract(epoch from '2026-08-19 17:09:24'::timestamp) - extract(epoch from '2026-08-19 17:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113545 -2.817538)'), GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817542)'))) / (select extract(epoch from '2026-08-19 17:09:24'::timestamp) - extract(epoch from '2026-08-19 17:09:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113542 -2.817536)', '2026-08-19 17:09:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817542)'), GeomFromEWKT('SRID=4674;POINT (-40.113542 -2.817536)'))) / (select extract(epoch from '2026-08-19 17:09:37'::timestamp) - extract(epoch from '2026-08-19 17:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113544 -2.817542)'), GeomFromEWKT('SRID=4674;POINT (-40.113542 -2.817536)'))) / (select extract(epoch from '2026-08-19 17:09:37'::timestamp) - extract(epoch from '2026-08-19 17:09:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113542 -2.817533)', '2026-08-19 17:09:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113542 -2.817536)'), GeomFromEWKT('SRID=4674;POINT (-40.113542 -2.817533)'))) / (select extract(epoch from '2026-08-19 17:09:50'::timestamp) - extract(epoch from '2026-08-19 17:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113542 -2.817536)'), GeomFromEWKT('SRID=4674;POINT (-40.113542 -2.817533)'))) / (select extract(epoch from '2026-08-19 17:09:50'::timestamp) - extract(epoch from '2026-08-19 17:09: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'), 48199, 'SRID=4674;POINT (-40.113543 -2.817542)', '2026-08-19 17:10:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113542 -2.817533)'), GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817542)'))) / (select extract(epoch from '2026-08-19 17:10:03'::timestamp) - extract(epoch from '2026-08-19 17:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113542 -2.817533)'), GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817542)'))) / (select extract(epoch from '2026-08-19 17:10:03'::timestamp) - extract(epoch from '2026-08-19 17:09: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'), 48199, 'SRID=4674;POINT (-40.113545 -2.817541)', '2026-08-19 17:10:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817542)'), GeomFromEWKT('SRID=4674;POINT (-40.113545 -2.817541)'))) / (select extract(epoch from '2026-08-19 17:10:20'::timestamp) - extract(epoch from '2026-08-19 17:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113543 -2.817542)'), GeomFromEWKT('SRID=4674;POINT (-40.113545 -2.817541)'))) / (select extract(epoch from '2026-08-19 17:10:20'::timestamp) - extract(epoch from '2026-08-19 17:10:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113547 -2.817543)', '2026-08-19 17:10:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113545 -2.817541)'), GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817543)'))) / (select extract(epoch from '2026-08-19 17:10:34'::timestamp) - extract(epoch from '2026-08-19 17:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113545 -2.817541)'), GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817543)'))) / (select extract(epoch from '2026-08-19 17:10:34'::timestamp) - extract(epoch from '2026-08-19 17:10: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'), 48199, 'SRID=4674;POINT (-40.113547 -2.817543)', '2026-08-19 17:10:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817543)'), GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817543)'))) / (select extract(epoch from '2026-08-19 17:10:45'::timestamp) - extract(epoch from '2026-08-19 17:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817543)'), GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817543)'))) / (select extract(epoch from '2026-08-19 17:10:45'::timestamp) - extract(epoch from '2026-08-19 17:10: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'), 48199, 'SRID=4674;POINT (-40.113546 -2.817547)', '2026-08-19 17:10:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817543)'), GeomFromEWKT('SRID=4674;POINT (-40.113546 -2.817547)'))) / (select extract(epoch from '2026-08-19 17:10:58'::timestamp) - extract(epoch from '2026-08-19 17:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817543)'), GeomFromEWKT('SRID=4674;POINT (-40.113546 -2.817547)'))) / (select extract(epoch from '2026-08-19 17:10:58'::timestamp) - extract(epoch from '2026-08-19 17:10: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'), 48199, 'SRID=4674;POINT (-40.113549 -2.81754)', '2026-08-19 17:11:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113546 -2.817547)'), GeomFromEWKT('SRID=4674;POINT (-40.113549 -2.81754)'))) / (select extract(epoch from '2026-08-19 17:11:10'::timestamp) - extract(epoch from '2026-08-19 17:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113546 -2.817547)'), GeomFromEWKT('SRID=4674;POINT (-40.113549 -2.81754)'))) / (select extract(epoch from '2026-08-19 17:11:10'::timestamp) - extract(epoch from '2026-08-19 17:10:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113547 -2.817543)', '2026-08-19 17:11:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113549 -2.81754)'), GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817543)'))) / (select extract(epoch from '2026-08-19 17:11:21'::timestamp) - extract(epoch from '2026-08-19 17:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113549 -2.81754)'), GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817543)'))) / (select extract(epoch from '2026-08-19 17:11:21'::timestamp) - extract(epoch from '2026-08-19 17:11: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'), 48199, 'SRID=4674;POINT (-40.113552 -2.817546)', '2026-08-19 17:11:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817543)'), GeomFromEWKT('SRID=4674;POINT (-40.113552 -2.817546)'))) / (select extract(epoch from '2026-08-19 17:11:33'::timestamp) - extract(epoch from '2026-08-19 17:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817543)'), GeomFromEWKT('SRID=4674;POINT (-40.113552 -2.817546)'))) / (select extract(epoch from '2026-08-19 17:11:33'::timestamp) - extract(epoch from '2026-08-19 17:11: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'), 48199, 'SRID=4674;POINT (-40.113555 -2.817548)', '2026-08-19 17:11:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113552 -2.817546)'), GeomFromEWKT('SRID=4674;POINT (-40.113555 -2.817548)'))) / (select extract(epoch from '2026-08-19 17:11:53'::timestamp) - extract(epoch from '2026-08-19 17:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113552 -2.817546)'), GeomFromEWKT('SRID=4674;POINT (-40.113555 -2.817548)'))) / (select extract(epoch from '2026-08-19 17:11:53'::timestamp) - extract(epoch from '2026-08-19 17:11: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'), 48199, 'SRID=4674;POINT (-40.113555 -2.817554)', '2026-08-19 17:12:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113555 -2.817548)'), GeomFromEWKT('SRID=4674;POINT (-40.113555 -2.817554)'))) / (select extract(epoch from '2026-08-19 17:12:09'::timestamp) - extract(epoch from '2026-08-19 17:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113555 -2.817548)'), GeomFromEWKT('SRID=4674;POINT (-40.113555 -2.817554)'))) / (select extract(epoch from '2026-08-19 17:12:09'::timestamp) - extract(epoch from '2026-08-19 17:11: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'), 48199, 'SRID=4674;POINT (-40.113555 -2.817543)', '2026-08-19 17:12:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113555 -2.817554)'), GeomFromEWKT('SRID=4674;POINT (-40.113555 -2.817543)'))) / (select extract(epoch from '2026-08-19 17:12:25'::timestamp) - extract(epoch from '2026-08-19 17:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113555 -2.817554)'), GeomFromEWKT('SRID=4674;POINT (-40.113555 -2.817543)'))) / (select extract(epoch from '2026-08-19 17:12:25'::timestamp) - extract(epoch from '2026-08-19 17:12: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'), 48199, 'SRID=4674;POINT (-40.113556 -2.817548)', '2026-08-19 17:12:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113555 -2.817543)'), GeomFromEWKT('SRID=4674;POINT (-40.113556 -2.817548)'))) / (select extract(epoch from '2026-08-19 17:12:39'::timestamp) - extract(epoch from '2026-08-19 17:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113555 -2.817543)'), GeomFromEWKT('SRID=4674;POINT (-40.113556 -2.817548)'))) / (select extract(epoch from '2026-08-19 17:12:39'::timestamp) - extract(epoch from '2026-08-19 17:12: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'), 48199, 'SRID=4674;POINT (-40.113559 -2.817543)', '2026-08-19 17:12:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113556 -2.817548)'), GeomFromEWKT('SRID=4674;POINT (-40.113559 -2.817543)'))) / (select extract(epoch from '2026-08-19 17:12:54'::timestamp) - extract(epoch from '2026-08-19 17:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113556 -2.817548)'), GeomFromEWKT('SRID=4674;POINT (-40.113559 -2.817543)'))) / (select extract(epoch from '2026-08-19 17:12:54'::timestamp) - extract(epoch from '2026-08-19 17:12:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113565 -2.817544)', '2026-08-19 17:13:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113559 -2.817543)'), GeomFromEWKT('SRID=4674;POINT (-40.113565 -2.817544)'))) / (select extract(epoch from '2026-08-19 17:13:13'::timestamp) - extract(epoch from '2026-08-19 17:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113559 -2.817543)'), GeomFromEWKT('SRID=4674;POINT (-40.113565 -2.817544)'))) / (select extract(epoch from '2026-08-19 17:13:13'::timestamp) - extract(epoch from '2026-08-19 17:12: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'), 48199, 'SRID=4674;POINT (-40.113566 -2.817543)', '2026-08-19 17:13:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113565 -2.817544)'), GeomFromEWKT('SRID=4674;POINT (-40.113566 -2.817543)'))) / (select extract(epoch from '2026-08-19 17:13:28'::timestamp) - extract(epoch from '2026-08-19 17:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113565 -2.817544)'), GeomFromEWKT('SRID=4674;POINT (-40.113566 -2.817543)'))) / (select extract(epoch from '2026-08-19 17:13:28'::timestamp) - extract(epoch from '2026-08-19 17:13: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'), 48199, 'SRID=4674;POINT (-40.113557 -2.817542)', '2026-08-19 17:13:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113566 -2.817543)'), GeomFromEWKT('SRID=4674;POINT (-40.113557 -2.817542)'))) / (select extract(epoch from '2026-08-19 17:13:39'::timestamp) - extract(epoch from '2026-08-19 17:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113566 -2.817543)'), GeomFromEWKT('SRID=4674;POINT (-40.113557 -2.817542)'))) / (select extract(epoch from '2026-08-19 17:13:39'::timestamp) - extract(epoch from '2026-08-19 17:13: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'), 48199, 'SRID=4674;POINT (-40.113551 -2.817545)', '2026-08-19 17:13:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113557 -2.817542)'), GeomFromEWKT('SRID=4674;POINT (-40.113551 -2.817545)'))) / (select extract(epoch from '2026-08-19 17:13:50'::timestamp) - extract(epoch from '2026-08-19 17:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113557 -2.817542)'), GeomFromEWKT('SRID=4674;POINT (-40.113551 -2.817545)'))) / (select extract(epoch from '2026-08-19 17:13:50'::timestamp) - extract(epoch from '2026-08-19 17:13: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'), 48199, 'SRID=4674;POINT (-40.113547 -2.817544)', '2026-08-19 17:13:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113551 -2.817545)'), GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817544)'))) / (select extract(epoch from '2026-08-19 17:13:59'::timestamp) - extract(epoch from '2026-08-19 17:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113551 -2.817545)'), GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817544)'))) / (select extract(epoch from '2026-08-19 17:13:59'::timestamp) - extract(epoch from '2026-08-19 17:13:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113513 -2.817545)', '2026-08-19 17:14:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817544)'), GeomFromEWKT('SRID=4674;POINT (-40.113513 -2.817545)'))) / (select extract(epoch from '2026-08-19 17:14:09'::timestamp) - extract(epoch from '2026-08-19 17:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.817544)'), GeomFromEWKT('SRID=4674;POINT (-40.113513 -2.817545)'))) / (select extract(epoch from '2026-08-19 17:14:09'::timestamp) - extract(epoch from '2026-08-19 17:13: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'), 48199, 'SRID=4674;POINT (-40.113443 -2.817537)', '2026-08-19 17:14:22', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113513 -2.817545)'), GeomFromEWKT('SRID=4674;POINT (-40.113443 -2.817537)'))) / (select extract(epoch from '2026-08-19 17:14:22'::timestamp) - extract(epoch from '2026-08-19 17:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113513 -2.817545)'), GeomFromEWKT('SRID=4674;POINT (-40.113443 -2.817537)'))) / (select extract(epoch from '2026-08-19 17:14:22'::timestamp) - extract(epoch from '2026-08-19 17:14: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'), 48199, 'SRID=4674;POINT (-40.11338 -2.817476)', '2026-08-19 17:14:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113443 -2.817537)'), GeomFromEWKT('SRID=4674;POINT (-40.11338 -2.817476)'))) / (select extract(epoch from '2026-08-19 17:14:39'::timestamp) - extract(epoch from '2026-08-19 17:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113443 -2.817537)'), GeomFromEWKT('SRID=4674;POINT (-40.11338 -2.817476)'))) / (select extract(epoch from '2026-08-19 17:14:39'::timestamp) - extract(epoch from '2026-08-19 17:14: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'), 48199, 'SRID=4674;POINT (-40.113452 -2.817433)', '2026-08-19 17:14:47', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11338 -2.817476)'), GeomFromEWKT('SRID=4674;POINT (-40.113452 -2.817433)'))) / (select extract(epoch from '2026-08-19 17:14:47'::timestamp) - extract(epoch from '2026-08-19 17:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11338 -2.817476)'), GeomFromEWKT('SRID=4674;POINT (-40.113452 -2.817433)'))) / (select extract(epoch from '2026-08-19 17:14:47'::timestamp) - extract(epoch from '2026-08-19 17:14: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'), 48199, 'SRID=4674;POINT (-40.113463 -2.81743)', '2026-08-19 17:14:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113452 -2.817433)'), GeomFromEWKT('SRID=4674;POINT (-40.113463 -2.81743)'))) / (select extract(epoch from '2026-08-19 17:14:48'::timestamp) - extract(epoch from '2026-08-19 17:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113452 -2.817433)'), GeomFromEWKT('SRID=4674;POINT (-40.113463 -2.81743)'))) / (select extract(epoch from '2026-08-19 17:14:48'::timestamp) - extract(epoch from '2026-08-19 17:14: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'), 48199, 'SRID=4674;POINT (-40.113533 -2.817448)', '2026-08-19 17:14:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113463 -2.81743)'), GeomFromEWKT('SRID=4674;POINT (-40.113533 -2.817448)'))) / (select extract(epoch from '2026-08-19 17:14:53'::timestamp) - extract(epoch from '2026-08-19 17:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113463 -2.81743)'), GeomFromEWKT('SRID=4674;POINT (-40.113533 -2.817448)'))) / (select extract(epoch from '2026-08-19 17:14:53'::timestamp) - extract(epoch from '2026-08-19 17:14:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113649 -2.817497)', '2026-08-19 17:15:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113533 -2.817448)'), GeomFromEWKT('SRID=4674;POINT (-40.113649 -2.817497)'))) / (select extract(epoch from '2026-08-19 17:15:01'::timestamp) - extract(epoch from '2026-08-19 17:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113533 -2.817448)'), GeomFromEWKT('SRID=4674;POINT (-40.113649 -2.817497)'))) / (select extract(epoch from '2026-08-19 17:15:01'::timestamp) - extract(epoch from '2026-08-19 17:14: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'), 48199, 'SRID=4674;POINT (-40.113781 -2.817467)', '2026-08-19 17:15:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113649 -2.817497)'), GeomFromEWKT('SRID=4674;POINT (-40.113781 -2.817467)'))) / (select extract(epoch from '2026-08-19 17:15:09'::timestamp) - extract(epoch from '2026-08-19 17:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113649 -2.817497)'), GeomFromEWKT('SRID=4674;POINT (-40.113781 -2.817467)'))) / (select extract(epoch from '2026-08-19 17:15:09'::timestamp) - extract(epoch from '2026-08-19 17:15:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113914 -2.817424)', '2026-08-19 17:15:17', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113781 -2.817467)'), GeomFromEWKT('SRID=4674;POINT (-40.113914 -2.817424)'))) / (select extract(epoch from '2026-08-19 17:15:17'::timestamp) - extract(epoch from '2026-08-19 17:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113781 -2.817467)'), GeomFromEWKT('SRID=4674;POINT (-40.113914 -2.817424)'))) / (select extract(epoch from '2026-08-19 17:15:17'::timestamp) - extract(epoch from '2026-08-19 17:15: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'), 48199, 'SRID=4674;POINT (-40.114023 -2.817374)', '2026-08-19 17:15:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113914 -2.817424)'), GeomFromEWKT('SRID=4674;POINT (-40.114023 -2.817374)'))) / (select extract(epoch from '2026-08-19 17:15:24'::timestamp) - extract(epoch from '2026-08-19 17:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113914 -2.817424)'), GeomFromEWKT('SRID=4674;POINT (-40.114023 -2.817374)'))) / (select extract(epoch from '2026-08-19 17:15:24'::timestamp) - extract(epoch from '2026-08-19 17:15: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'), 48199, 'SRID=4674;POINT (-40.114083 -2.817318)', '2026-08-19 17:15:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114023 -2.817374)'), GeomFromEWKT('SRID=4674;POINT (-40.114083 -2.817318)'))) / (select extract(epoch from '2026-08-19 17:15:31'::timestamp) - extract(epoch from '2026-08-19 17:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114023 -2.817374)'), GeomFromEWKT('SRID=4674;POINT (-40.114083 -2.817318)'))) / (select extract(epoch from '2026-08-19 17:15:31'::timestamp) - extract(epoch from '2026-08-19 17:15: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'), 48199, 'SRID=4674;POINT (-40.114117 -2.817259)', '2026-08-19 17:15:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114083 -2.817318)'), GeomFromEWKT('SRID=4674;POINT (-40.114117 -2.817259)'))) / (select extract(epoch from '2026-08-19 17:15:41'::timestamp) - extract(epoch from '2026-08-19 17:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114083 -2.817318)'), GeomFromEWKT('SRID=4674;POINT (-40.114117 -2.817259)'))) / (select extract(epoch from '2026-08-19 17:15:41'::timestamp) - extract(epoch from '2026-08-19 17:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.114104 -2.817279)', '2026-08-19 17:15:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114117 -2.817259)'), GeomFromEWKT('SRID=4674;POINT (-40.114104 -2.817279)'))) / (select extract(epoch from '2026-08-19 17:15:50'::timestamp) - extract(epoch from '2026-08-19 17:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114117 -2.817259)'), GeomFromEWKT('SRID=4674;POINT (-40.114104 -2.817279)'))) / (select extract(epoch from '2026-08-19 17:15:50'::timestamp) - extract(epoch from '2026-08-19 17:15: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'), 48199, 'SRID=4674;POINT (-40.114102 -2.817275)', '2026-08-19 17:16:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114104 -2.817279)'), GeomFromEWKT('SRID=4674;POINT (-40.114102 -2.817275)'))) / (select extract(epoch from '2026-08-19 17:16:03'::timestamp) - extract(epoch from '2026-08-19 17:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114104 -2.817279)'), GeomFromEWKT('SRID=4674;POINT (-40.114102 -2.817275)'))) / (select extract(epoch from '2026-08-19 17:16:03'::timestamp) - extract(epoch from '2026-08-19 17:15: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'), 48199, 'SRID=4674;POINT (-40.114108 -2.817271)', '2026-08-19 17:16:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114102 -2.817275)'), GeomFromEWKT('SRID=4674;POINT (-40.114108 -2.817271)'))) / (select extract(epoch from '2026-08-19 17:16:10'::timestamp) - extract(epoch from '2026-08-19 17:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114102 -2.817275)'), GeomFromEWKT('SRID=4674;POINT (-40.114108 -2.817271)'))) / (select extract(epoch from '2026-08-19 17:16:10'::timestamp) - extract(epoch from '2026-08-19 17:16:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.114095 -2.817218)', '2026-08-19 17:16:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114108 -2.817271)'), GeomFromEWKT('SRID=4674;POINT (-40.114095 -2.817218)'))) / (select extract(epoch from '2026-08-19 17:16:23'::timestamp) - extract(epoch from '2026-08-19 17:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114108 -2.817271)'), GeomFromEWKT('SRID=4674;POINT (-40.114095 -2.817218)'))) / (select extract(epoch from '2026-08-19 17:16:23'::timestamp) - extract(epoch from '2026-08-19 17:16: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'), 48199, 'SRID=4674;POINT (-40.114051 -2.81721)', '2026-08-19 17:16:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114095 -2.817218)'), GeomFromEWKT('SRID=4674;POINT (-40.114051 -2.81721)'))) / (select extract(epoch from '2026-08-19 17:16:40'::timestamp) - extract(epoch from '2026-08-19 17:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114095 -2.817218)'), GeomFromEWKT('SRID=4674;POINT (-40.114051 -2.81721)'))) / (select extract(epoch from '2026-08-19 17:16:40'::timestamp) - extract(epoch from '2026-08-19 17:16:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.114019 -2.817215)', '2026-08-19 17:16:55', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114051 -2.81721)'), GeomFromEWKT('SRID=4674;POINT (-40.114019 -2.817215)'))) / (select extract(epoch from '2026-08-19 17:16:55'::timestamp) - extract(epoch from '2026-08-19 17:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114051 -2.81721)'), GeomFromEWKT('SRID=4674;POINT (-40.114019 -2.817215)'))) / (select extract(epoch from '2026-08-19 17:16:55'::timestamp) - extract(epoch from '2026-08-19 17:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113945 -2.81721)', '2026-08-19 17:17:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114019 -2.817215)'), GeomFromEWKT('SRID=4674;POINT (-40.113945 -2.81721)'))) / (select extract(epoch from '2026-08-19 17:17:14'::timestamp) - extract(epoch from '2026-08-19 17:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114019 -2.817215)'), GeomFromEWKT('SRID=4674;POINT (-40.113945 -2.81721)'))) / (select extract(epoch from '2026-08-19 17:17:14'::timestamp) - extract(epoch from '2026-08-19 17:16: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'), 48199, 'SRID=4674;POINT (-40.113943 -2.817205)', '2026-08-19 17:17:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113945 -2.81721)'), GeomFromEWKT('SRID=4674;POINT (-40.113943 -2.817205)'))) / (select extract(epoch from '2026-08-19 17:17:27'::timestamp) - extract(epoch from '2026-08-19 17:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113945 -2.81721)'), GeomFromEWKT('SRID=4674;POINT (-40.113943 -2.817205)'))) / (select extract(epoch from '2026-08-19 17:17:27'::timestamp) - extract(epoch from '2026-08-19 17:17: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'), 48199, 'SRID=4674;POINT (-40.113863 -2.817175)', '2026-08-19 17:17:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113943 -2.817205)'), GeomFromEWKT('SRID=4674;POINT (-40.113863 -2.817175)'))) / (select extract(epoch from '2026-08-19 17:17:42'::timestamp) - extract(epoch from '2026-08-19 17:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113943 -2.817205)'), GeomFromEWKT('SRID=4674;POINT (-40.113863 -2.817175)'))) / (select extract(epoch from '2026-08-19 17:17:42'::timestamp) - extract(epoch from '2026-08-19 17:17: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'), 48199, 'SRID=4674;POINT (-40.113833 -2.817175)', '2026-08-19 17:17:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113863 -2.817175)'), GeomFromEWKT('SRID=4674;POINT (-40.113833 -2.817175)'))) / (select extract(epoch from '2026-08-19 17:17:54'::timestamp) - extract(epoch from '2026-08-19 17:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113863 -2.817175)'), GeomFromEWKT('SRID=4674;POINT (-40.113833 -2.817175)'))) / (select extract(epoch from '2026-08-19 17:17:54'::timestamp) - extract(epoch from '2026-08-19 17: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'), 48199, 'SRID=4674;POINT (-40.113765 -2.817152)', '2026-08-19 17:18:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113833 -2.817175)'), GeomFromEWKT('SRID=4674;POINT (-40.113765 -2.817152)'))) / (select extract(epoch from '2026-08-19 17:18:08'::timestamp) - extract(epoch from '2026-08-19 17:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113833 -2.817175)'), GeomFromEWKT('SRID=4674;POINT (-40.113765 -2.817152)'))) / (select extract(epoch from '2026-08-19 17:18:08'::timestamp) - extract(epoch from '2026-08-19 17:17: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'), 48199, 'SRID=4674;POINT (-40.113726 -2.817155)', '2026-08-19 17:18:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113765 -2.817152)'), GeomFromEWKT('SRID=4674;POINT (-40.113726 -2.817155)'))) / (select extract(epoch from '2026-08-19 17:18:22'::timestamp) - extract(epoch from '2026-08-19 17:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113765 -2.817152)'), GeomFromEWKT('SRID=4674;POINT (-40.113726 -2.817155)'))) / (select extract(epoch from '2026-08-19 17:18:22'::timestamp) - extract(epoch from '2026-08-19 17:18:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113712 -2.817143)', '2026-08-19 17:18:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113726 -2.817155)'), GeomFromEWKT('SRID=4674;POINT (-40.113712 -2.817143)'))) / (select extract(epoch from '2026-08-19 17:18:41'::timestamp) - extract(epoch from '2026-08-19 17:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113726 -2.817155)'), GeomFromEWKT('SRID=4674;POINT (-40.113712 -2.817143)'))) / (select extract(epoch from '2026-08-19 17:18:41'::timestamp) - extract(epoch from '2026-08-19 17:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.11368 -2.817142)', '2026-08-19 17:18:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113712 -2.817143)'), GeomFromEWKT('SRID=4674;POINT (-40.11368 -2.817142)'))) / (select extract(epoch from '2026-08-19 17:18:55'::timestamp) - extract(epoch from '2026-08-19 17:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113712 -2.817143)'), GeomFromEWKT('SRID=4674;POINT (-40.11368 -2.817142)'))) / (select extract(epoch from '2026-08-19 17:18:55'::timestamp) - extract(epoch from '2026-08-19 17:18: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'), 48199, 'SRID=4674;POINT (-40.113614 -2.817144)', '2026-08-19 17:19:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11368 -2.817142)'), GeomFromEWKT('SRID=4674;POINT (-40.113614 -2.817144)'))) / (select extract(epoch from '2026-08-19 17:19:15'::timestamp) - extract(epoch from '2026-08-19 17:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11368 -2.817142)'), GeomFromEWKT('SRID=4674;POINT (-40.113614 -2.817144)'))) / (select extract(epoch from '2026-08-19 17:19:15'::timestamp) - extract(epoch from '2026-08-19 17:18: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'), 48199, 'SRID=4674;POINT (-40.113603 -2.817144)', '2026-08-19 17:19:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113614 -2.817144)'), GeomFromEWKT('SRID=4674;POINT (-40.113603 -2.817144)'))) / (select extract(epoch from '2026-08-19 17:19:26'::timestamp) - extract(epoch from '2026-08-19 17:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113614 -2.817144)'), GeomFromEWKT('SRID=4674;POINT (-40.113603 -2.817144)'))) / (select extract(epoch from '2026-08-19 17:19:26'::timestamp) - extract(epoch from '2026-08-19 17:19: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'), 48199, 'SRID=4674;POINT (-40.113529 -2.817099)', '2026-08-19 17:19:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113603 -2.817144)'), GeomFromEWKT('SRID=4674;POINT (-40.113529 -2.817099)'))) / (select extract(epoch from '2026-08-19 17:19:41'::timestamp) - extract(epoch from '2026-08-19 17:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113603 -2.817144)'), GeomFromEWKT('SRID=4674;POINT (-40.113529 -2.817099)'))) / (select extract(epoch from '2026-08-19 17:19:41'::timestamp) - extract(epoch from '2026-08-19 17:19: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'), 48199, 'SRID=4674;POINT (-40.113507 -2.817092)', '2026-08-19 17:19:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113529 -2.817099)'), GeomFromEWKT('SRID=4674;POINT (-40.113507 -2.817092)'))) / (select extract(epoch from '2026-08-19 17:19:55'::timestamp) - extract(epoch from '2026-08-19 17:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113529 -2.817099)'), GeomFromEWKT('SRID=4674;POINT (-40.113507 -2.817092)'))) / (select extract(epoch from '2026-08-19 17:19:55'::timestamp) - extract(epoch from '2026-08-19 17:19: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'), 48199, 'SRID=4674;POINT (-40.113484 -2.817087)', '2026-08-19 17:20:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113507 -2.817092)'), GeomFromEWKT('SRID=4674;POINT (-40.113484 -2.817087)'))) / (select extract(epoch from '2026-08-19 17:20:04'::timestamp) - extract(epoch from '2026-08-19 17:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113507 -2.817092)'), GeomFromEWKT('SRID=4674;POINT (-40.113484 -2.817087)'))) / (select extract(epoch from '2026-08-19 17:20:04'::timestamp) - extract(epoch from '2026-08-19 17: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'), 48199, 'SRID=4674;POINT (-40.113431 -2.817063)', '2026-08-19 17:20:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113484 -2.817087)'), GeomFromEWKT('SRID=4674;POINT (-40.113431 -2.817063)'))) / (select extract(epoch from '2026-08-19 17:20:16'::timestamp) - extract(epoch from '2026-08-19 17:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113484 -2.817087)'), GeomFromEWKT('SRID=4674;POINT (-40.113431 -2.817063)'))) / (select extract(epoch from '2026-08-19 17:20:16'::timestamp) - extract(epoch from '2026-08-19 17:20: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'), 48199, 'SRID=4674;POINT (-40.113421 -2.817055)', '2026-08-19 17:20:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113431 -2.817063)'), GeomFromEWKT('SRID=4674;POINT (-40.113421 -2.817055)'))) / (select extract(epoch from '2026-08-19 17:20:27'::timestamp) - extract(epoch from '2026-08-19 17:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113431 -2.817063)'), GeomFromEWKT('SRID=4674;POINT (-40.113421 -2.817055)'))) / (select extract(epoch from '2026-08-19 17:20:27'::timestamp) - extract(epoch from '2026-08-19 17:20:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113405 -2.817027)', '2026-08-19 17:20:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113421 -2.817055)'), GeomFromEWKT('SRID=4674;POINT (-40.113405 -2.817027)'))) / (select extract(epoch from '2026-08-19 17:20:45'::timestamp) - extract(epoch from '2026-08-19 17:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113421 -2.817055)'), GeomFromEWKT('SRID=4674;POINT (-40.113405 -2.817027)'))) / (select extract(epoch from '2026-08-19 17:20:45'::timestamp) - extract(epoch from '2026-08-19 17:20: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'), 48199, 'SRID=4674;POINT (-40.113388 -2.817035)', '2026-08-19 17:20:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113405 -2.817027)'), GeomFromEWKT('SRID=4674;POINT (-40.113388 -2.817035)'))) / (select extract(epoch from '2026-08-19 17:20:55'::timestamp) - extract(epoch from '2026-08-19 17:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113405 -2.817027)'), GeomFromEWKT('SRID=4674;POINT (-40.113388 -2.817035)'))) / (select extract(epoch from '2026-08-19 17:20:55'::timestamp) - extract(epoch from '2026-08-19 17:20: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'), 48199, 'SRID=4674;POINT (-40.113353 -2.817027)', '2026-08-19 17:21:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113388 -2.817035)'), GeomFromEWKT('SRID=4674;POINT (-40.113353 -2.817027)'))) / (select extract(epoch from '2026-08-19 17:21:06'::timestamp) - extract(epoch from '2026-08-19 17:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113388 -2.817035)'), GeomFromEWKT('SRID=4674;POINT (-40.113353 -2.817027)'))) / (select extract(epoch from '2026-08-19 17:21:06'::timestamp) - extract(epoch from '2026-08-19 17:20: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'), 48199, 'SRID=4674;POINT (-40.113305 -2.817011)', '2026-08-19 17:21:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113353 -2.817027)'), GeomFromEWKT('SRID=4674;POINT (-40.113305 -2.817011)'))) / (select extract(epoch from '2026-08-19 17:21:21'::timestamp) - extract(epoch from '2026-08-19 17:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113353 -2.817027)'), GeomFromEWKT('SRID=4674;POINT (-40.113305 -2.817011)'))) / (select extract(epoch from '2026-08-19 17:21:21'::timestamp) - extract(epoch from '2026-08-19 17:21: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'), 48199, 'SRID=4674;POINT (-40.113297 -2.817022)', '2026-08-19 17:21:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113305 -2.817011)'), GeomFromEWKT('SRID=4674;POINT (-40.113297 -2.817022)'))) / (select extract(epoch from '2026-08-19 17:21:31'::timestamp) - extract(epoch from '2026-08-19 17:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113305 -2.817011)'), GeomFromEWKT('SRID=4674;POINT (-40.113297 -2.817022)'))) / (select extract(epoch from '2026-08-19 17:21:31'::timestamp) - extract(epoch from '2026-08-19 17:21: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'), 48199, 'SRID=4674;POINT (-40.113306 -2.817013)', '2026-08-19 17:21:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113297 -2.817022)'), GeomFromEWKT('SRID=4674;POINT (-40.113306 -2.817013)'))) / (select extract(epoch from '2026-08-19 17:21:41'::timestamp) - extract(epoch from '2026-08-19 17:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113297 -2.817022)'), GeomFromEWKT('SRID=4674;POINT (-40.113306 -2.817013)'))) / (select extract(epoch from '2026-08-19 17:21:41'::timestamp) - extract(epoch from '2026-08-19 17:21: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'), 48199, 'SRID=4674;POINT (-40.113287 -2.816997)', '2026-08-19 17:21:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113306 -2.817013)'), GeomFromEWKT('SRID=4674;POINT (-40.113287 -2.816997)'))) / (select extract(epoch from '2026-08-19 17:21:52'::timestamp) - extract(epoch from '2026-08-19 17:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113306 -2.817013)'), GeomFromEWKT('SRID=4674;POINT (-40.113287 -2.816997)'))) / (select extract(epoch from '2026-08-19 17:21:52'::timestamp) - extract(epoch from '2026-08-19 17:21:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113212 -2.816968)', '2026-08-19 17:22:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113287 -2.816997)'), GeomFromEWKT('SRID=4674;POINT (-40.113212 -2.816968)'))) / (select extract(epoch from '2026-08-19 17:22:04'::timestamp) - extract(epoch from '2026-08-19 17:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113287 -2.816997)'), GeomFromEWKT('SRID=4674;POINT (-40.113212 -2.816968)'))) / (select extract(epoch from '2026-08-19 17:22:04'::timestamp) - extract(epoch from '2026-08-19 17:21: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'), 48199, 'SRID=4674;POINT (-40.113182 -2.816979)', '2026-08-19 17:22:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113212 -2.816968)'), GeomFromEWKT('SRID=4674;POINT (-40.113182 -2.816979)'))) / (select extract(epoch from '2026-08-19 17:22:15'::timestamp) - extract(epoch from '2026-08-19 17:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113212 -2.816968)'), GeomFromEWKT('SRID=4674;POINT (-40.113182 -2.816979)'))) / (select extract(epoch from '2026-08-19 17:22:15'::timestamp) - extract(epoch from '2026-08-19 17:22:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113088 -2.816938)', '2026-08-19 17:22:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113182 -2.816979)'), GeomFromEWKT('SRID=4674;POINT (-40.113088 -2.816938)'))) / (select extract(epoch from '2026-08-19 17:22:30'::timestamp) - extract(epoch from '2026-08-19 17:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113182 -2.816979)'), GeomFromEWKT('SRID=4674;POINT (-40.113088 -2.816938)'))) / (select extract(epoch from '2026-08-19 17:22:30'::timestamp) - extract(epoch from '2026-08-19 17:22: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'), 48199, 'SRID=4674;POINT (-40.113013 -2.81691)', '2026-08-19 17:22:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113088 -2.816938)'), GeomFromEWKT('SRID=4674;POINT (-40.113013 -2.81691)'))) / (select extract(epoch from '2026-08-19 17:22:46'::timestamp) - extract(epoch from '2026-08-19 17:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113088 -2.816938)'), GeomFromEWKT('SRID=4674;POINT (-40.113013 -2.81691)'))) / (select extract(epoch from '2026-08-19 17:22:46'::timestamp) - extract(epoch from '2026-08-19 17:22: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'), 48199, 'SRID=4674;POINT (-40.112967 -2.81688)', '2026-08-19 17:22:59', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113013 -2.81691)'), GeomFromEWKT('SRID=4674;POINT (-40.112967 -2.81688)'))) / (select extract(epoch from '2026-08-19 17:22:59'::timestamp) - extract(epoch from '2026-08-19 17:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113013 -2.81691)'), GeomFromEWKT('SRID=4674;POINT (-40.112967 -2.81688)'))) / (select extract(epoch from '2026-08-19 17:22:59'::timestamp) - extract(epoch from '2026-08-19 17:22:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112952 -2.816871)', '2026-08-19 17:23:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112967 -2.81688)'), GeomFromEWKT('SRID=4674;POINT (-40.112952 -2.816871)'))) / (select extract(epoch from '2026-08-19 17:23:15'::timestamp) - extract(epoch from '2026-08-19 17:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112967 -2.81688)'), GeomFromEWKT('SRID=4674;POINT (-40.112952 -2.816871)'))) / (select extract(epoch from '2026-08-19 17:23:15'::timestamp) - extract(epoch from '2026-08-19 17:22:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112927 -2.816862)', '2026-08-19 17:23:26', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112952 -2.816871)'), GeomFromEWKT('SRID=4674;POINT (-40.112927 -2.816862)'))) / (select extract(epoch from '2026-08-19 17:23:26'::timestamp) - extract(epoch from '2026-08-19 17:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112952 -2.816871)'), GeomFromEWKT('SRID=4674;POINT (-40.112927 -2.816862)'))) / (select extract(epoch from '2026-08-19 17:23:26'::timestamp) - extract(epoch from '2026-08-19 17:23:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112903 -2.816844)', '2026-08-19 17:23:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112927 -2.816862)'), GeomFromEWKT('SRID=4674;POINT (-40.112903 -2.816844)'))) / (select extract(epoch from '2026-08-19 17:23:43'::timestamp) - extract(epoch from '2026-08-19 17:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112927 -2.816862)'), GeomFromEWKT('SRID=4674;POINT (-40.112903 -2.816844)'))) / (select extract(epoch from '2026-08-19 17:23:43'::timestamp) - extract(epoch from '2026-08-19 17:23: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'), 48199, 'SRID=4674;POINT (-40.11287 -2.816833)', '2026-08-19 17:23:54', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112903 -2.816844)'), GeomFromEWKT('SRID=4674;POINT (-40.11287 -2.816833)'))) / (select extract(epoch from '2026-08-19 17:23:54'::timestamp) - extract(epoch from '2026-08-19 17:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112903 -2.816844)'), GeomFromEWKT('SRID=4674;POINT (-40.11287 -2.816833)'))) / (select extract(epoch from '2026-08-19 17:23:54'::timestamp) - extract(epoch from '2026-08-19 17:23:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112852 -2.816835)', '2026-08-19 17:24:07', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11287 -2.816833)'), GeomFromEWKT('SRID=4674;POINT (-40.112852 -2.816835)'))) / (select extract(epoch from '2026-08-19 17:24:07'::timestamp) - extract(epoch from '2026-08-19 17:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11287 -2.816833)'), GeomFromEWKT('SRID=4674;POINT (-40.112852 -2.816835)'))) / (select extract(epoch from '2026-08-19 17:24:07'::timestamp) - extract(epoch from '2026-08-19 17:23: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'), 48199, 'SRID=4674;POINT (-40.112836 -2.816805)', '2026-08-19 17:24:16', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112852 -2.816835)'), GeomFromEWKT('SRID=4674;POINT (-40.112836 -2.816805)'))) / (select extract(epoch from '2026-08-19 17:24:16'::timestamp) - extract(epoch from '2026-08-19 17:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112852 -2.816835)'), GeomFromEWKT('SRID=4674;POINT (-40.112836 -2.816805)'))) / (select extract(epoch from '2026-08-19 17:24:16'::timestamp) - extract(epoch from '2026-08-19 17:24: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'), 48199, 'SRID=4674;POINT (-40.112809 -2.816784)', '2026-08-19 17:24:29', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112836 -2.816805)'), GeomFromEWKT('SRID=4674;POINT (-40.112809 -2.816784)'))) / (select extract(epoch from '2026-08-19 17:24:29'::timestamp) - extract(epoch from '2026-08-19 17:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112836 -2.816805)'), GeomFromEWKT('SRID=4674;POINT (-40.112809 -2.816784)'))) / (select extract(epoch from '2026-08-19 17:24:29'::timestamp) - extract(epoch from '2026-08-19 17:24: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'), 48199, 'SRID=4674;POINT (-40.112759 -2.816788)', '2026-08-19 17:24:41', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112809 -2.816784)'), GeomFromEWKT('SRID=4674;POINT (-40.112759 -2.816788)'))) / (select extract(epoch from '2026-08-19 17:24:41'::timestamp) - extract(epoch from '2026-08-19 17:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112809 -2.816784)'), GeomFromEWKT('SRID=4674;POINT (-40.112759 -2.816788)'))) / (select extract(epoch from '2026-08-19 17:24:41'::timestamp) - extract(epoch from '2026-08-19 17:24: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'), 48199, 'SRID=4674;POINT (-40.112704 -2.816766)', '2026-08-19 17:24:54', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112759 -2.816788)'), GeomFromEWKT('SRID=4674;POINT (-40.112704 -2.816766)'))) / (select extract(epoch from '2026-08-19 17:24:54'::timestamp) - extract(epoch from '2026-08-19 17:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112759 -2.816788)'), GeomFromEWKT('SRID=4674;POINT (-40.112704 -2.816766)'))) / (select extract(epoch from '2026-08-19 17:24:54'::timestamp) - extract(epoch from '2026-08-19 17:24:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112658 -2.816775)', '2026-08-19 17:25:08', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112704 -2.816766)'), GeomFromEWKT('SRID=4674;POINT (-40.112658 -2.816775)'))) / (select extract(epoch from '2026-08-19 17:25:08'::timestamp) - extract(epoch from '2026-08-19 17:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112704 -2.816766)'), GeomFromEWKT('SRID=4674;POINT (-40.112658 -2.816775)'))) / (select extract(epoch from '2026-08-19 17:25:08'::timestamp) - extract(epoch from '2026-08-19 17:24: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'), 48199, 'SRID=4674;POINT (-40.112625 -2.816738)', '2026-08-19 17:25:18', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112658 -2.816775)'), GeomFromEWKT('SRID=4674;POINT (-40.112625 -2.816738)'))) / (select extract(epoch from '2026-08-19 17:25:18'::timestamp) - extract(epoch from '2026-08-19 17:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112658 -2.816775)'), GeomFromEWKT('SRID=4674;POINT (-40.112625 -2.816738)'))) / (select extract(epoch from '2026-08-19 17:25:18'::timestamp) - extract(epoch from '2026-08-19 17:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112604 -2.816726)', '2026-08-19 17:25:29', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112625 -2.816738)'), GeomFromEWKT('SRID=4674;POINT (-40.112604 -2.816726)'))) / (select extract(epoch from '2026-08-19 17:25:29'::timestamp) - extract(epoch from '2026-08-19 17:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112625 -2.816738)'), GeomFromEWKT('SRID=4674;POINT (-40.112604 -2.816726)'))) / (select extract(epoch from '2026-08-19 17:25:29'::timestamp) - extract(epoch from '2026-08-19 17:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112577 -2.816734)', '2026-08-19 17:25:44', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112604 -2.816726)'), GeomFromEWKT('SRID=4674;POINT (-40.112577 -2.816734)'))) / (select extract(epoch from '2026-08-19 17:25:44'::timestamp) - extract(epoch from '2026-08-19 17:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112604 -2.816726)'), GeomFromEWKT('SRID=4674;POINT (-40.112577 -2.816734)'))) / (select extract(epoch from '2026-08-19 17:25:44'::timestamp) - extract(epoch from '2026-08-19 17:25: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'), 48199, 'SRID=4674;POINT (-40.112558 -2.816728)', '2026-08-19 17:25:56', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112577 -2.816734)'), GeomFromEWKT('SRID=4674;POINT (-40.112558 -2.816728)'))) / (select extract(epoch from '2026-08-19 17:25:56'::timestamp) - extract(epoch from '2026-08-19 17:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112577 -2.816734)'), GeomFromEWKT('SRID=4674;POINT (-40.112558 -2.816728)'))) / (select extract(epoch from '2026-08-19 17:25:56'::timestamp) - extract(epoch from '2026-08-19 17:25:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112536 -2.816706)', '2026-08-19 17:26:11', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112558 -2.816728)'), GeomFromEWKT('SRID=4674;POINT (-40.112536 -2.816706)'))) / (select extract(epoch from '2026-08-19 17:26:11'::timestamp) - extract(epoch from '2026-08-19 17:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112558 -2.816728)'), GeomFromEWKT('SRID=4674;POINT (-40.112536 -2.816706)'))) / (select extract(epoch from '2026-08-19 17:26:11'::timestamp) - extract(epoch from '2026-08-19 17:25:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112489 -2.816698)', '2026-08-19 17:26:21', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112536 -2.816706)'), GeomFromEWKT('SRID=4674;POINT (-40.112489 -2.816698)'))) / (select extract(epoch from '2026-08-19 17:26:21'::timestamp) - extract(epoch from '2026-08-19 17:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112536 -2.816706)'), GeomFromEWKT('SRID=4674;POINT (-40.112489 -2.816698)'))) / (select extract(epoch from '2026-08-19 17:26:21'::timestamp) - extract(epoch from '2026-08-19 17:26: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'), 48199, 'SRID=4674;POINT (-40.112433 -2.816667)', '2026-08-19 17:26:35', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112489 -2.816698)'), GeomFromEWKT('SRID=4674;POINT (-40.112433 -2.816667)'))) / (select extract(epoch from '2026-08-19 17:26:35'::timestamp) - extract(epoch from '2026-08-19 17:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112489 -2.816698)'), GeomFromEWKT('SRID=4674;POINT (-40.112433 -2.816667)'))) / (select extract(epoch from '2026-08-19 17:26:35'::timestamp) - extract(epoch from '2026-08-19 17:26: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'), 48199, 'SRID=4674;POINT (-40.112363 -2.816652)', '2026-08-19 17:26:50', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112433 -2.816667)'), GeomFromEWKT('SRID=4674;POINT (-40.112363 -2.816652)'))) / (select extract(epoch from '2026-08-19 17:26:50'::timestamp) - extract(epoch from '2026-08-19 17:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112433 -2.816667)'), GeomFromEWKT('SRID=4674;POINT (-40.112363 -2.816652)'))) / (select extract(epoch from '2026-08-19 17:26:50'::timestamp) - extract(epoch from '2026-08-19 17:26: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'), 48199, 'SRID=4674;POINT (-40.112312 -2.816631)', '2026-08-19 17:27:03', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112363 -2.816652)'), GeomFromEWKT('SRID=4674;POINT (-40.112312 -2.816631)'))) / (select extract(epoch from '2026-08-19 17:27:03'::timestamp) - extract(epoch from '2026-08-19 17:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112363 -2.816652)'), GeomFromEWKT('SRID=4674;POINT (-40.112312 -2.816631)'))) / (select extract(epoch from '2026-08-19 17:27:03'::timestamp) - extract(epoch from '2026-08-19 17:26: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'), 48199, 'SRID=4674;POINT (-40.112259 -2.816606)', '2026-08-19 17:27:16', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112312 -2.816631)'), GeomFromEWKT('SRID=4674;POINT (-40.112259 -2.816606)'))) / (select extract(epoch from '2026-08-19 17:27:16'::timestamp) - extract(epoch from '2026-08-19 17:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112312 -2.816631)'), GeomFromEWKT('SRID=4674;POINT (-40.112259 -2.816606)'))) / (select extract(epoch from '2026-08-19 17:27:16'::timestamp) - extract(epoch from '2026-08-19 17:27: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'), 48199, 'SRID=4674;POINT (-40.11216 -2.816608)', '2026-08-19 17:27:33', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112259 -2.816606)'), GeomFromEWKT('SRID=4674;POINT (-40.11216 -2.816608)'))) / (select extract(epoch from '2026-08-19 17:27:33'::timestamp) - extract(epoch from '2026-08-19 17:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112259 -2.816606)'), GeomFromEWKT('SRID=4674;POINT (-40.11216 -2.816608)'))) / (select extract(epoch from '2026-08-19 17:27:33'::timestamp) - extract(epoch from '2026-08-19 17:27:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112111 -2.816611)', '2026-08-19 17:27:46', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11216 -2.816608)'), GeomFromEWKT('SRID=4674;POINT (-40.112111 -2.816611)'))) / (select extract(epoch from '2026-08-19 17:27:46'::timestamp) - extract(epoch from '2026-08-19 17:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11216 -2.816608)'), GeomFromEWKT('SRID=4674;POINT (-40.112111 -2.816611)'))) / (select extract(epoch from '2026-08-19 17:27:46'::timestamp) - extract(epoch from '2026-08-19 17:27: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'), 48199, 'SRID=4674;POINT (-40.112025 -2.816615)', '2026-08-19 17:28:04', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112111 -2.816611)'), GeomFromEWKT('SRID=4674;POINT (-40.112025 -2.816615)'))) / (select extract(epoch from '2026-08-19 17:28:04'::timestamp) - extract(epoch from '2026-08-19 17:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112111 -2.816611)'), GeomFromEWKT('SRID=4674;POINT (-40.112025 -2.816615)'))) / (select extract(epoch from '2026-08-19 17:28:04'::timestamp) - extract(epoch from '2026-08-19 17:27: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'), 48199, 'SRID=4674;POINT (-40.111991 -2.816598)', '2026-08-19 17:28:19', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112025 -2.816615)'), GeomFromEWKT('SRID=4674;POINT (-40.111991 -2.816598)'))) / (select extract(epoch from '2026-08-19 17:28:19'::timestamp) - extract(epoch from '2026-08-19 17:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112025 -2.816615)'), GeomFromEWKT('SRID=4674;POINT (-40.111991 -2.816598)'))) / (select extract(epoch from '2026-08-19 17:28:19'::timestamp) - extract(epoch from '2026-08-19 17:28: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'), 48199, 'SRID=4674;POINT (-40.111983 -2.816602)', '2026-08-19 17:28:30', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111991 -2.816598)'), GeomFromEWKT('SRID=4674;POINT (-40.111983 -2.816602)'))) / (select extract(epoch from '2026-08-19 17:28:30'::timestamp) - extract(epoch from '2026-08-19 17:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111991 -2.816598)'), GeomFromEWKT('SRID=4674;POINT (-40.111983 -2.816602)'))) / (select extract(epoch from '2026-08-19 17:28:30'::timestamp) - extract(epoch from '2026-08-19 17:28:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.111917 -2.816579)', '2026-08-19 17:28:45', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111983 -2.816602)'), GeomFromEWKT('SRID=4674;POINT (-40.111917 -2.816579)'))) / (select extract(epoch from '2026-08-19 17:28:45'::timestamp) - extract(epoch from '2026-08-19 17:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111983 -2.816602)'), GeomFromEWKT('SRID=4674;POINT (-40.111917 -2.816579)'))) / (select extract(epoch from '2026-08-19 17:28:45'::timestamp) - extract(epoch from '2026-08-19 17:28:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.111908 -2.816573)', '2026-08-19 17:28:58', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111917 -2.816579)'), GeomFromEWKT('SRID=4674;POINT (-40.111908 -2.816573)'))) / (select extract(epoch from '2026-08-19 17:28:58'::timestamp) - extract(epoch from '2026-08-19 17:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111917 -2.816579)'), GeomFromEWKT('SRID=4674;POINT (-40.111908 -2.816573)'))) / (select extract(epoch from '2026-08-19 17:28:58'::timestamp) - extract(epoch from '2026-08-19 17:28: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'), 48199, 'SRID=4674;POINT (-40.111914 -2.816551)', '2026-08-19 17:29:06', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111908 -2.816573)'), GeomFromEWKT('SRID=4674;POINT (-40.111914 -2.816551)'))) / (select extract(epoch from '2026-08-19 17:29:06'::timestamp) - extract(epoch from '2026-08-19 17:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111908 -2.816573)'), GeomFromEWKT('SRID=4674;POINT (-40.111914 -2.816551)'))) / (select extract(epoch from '2026-08-19 17:29:06'::timestamp) - extract(epoch from '2026-08-19 17:28: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'), 48199, 'SRID=4674;POINT (-40.111916 -2.816509)', '2026-08-19 17:29:18', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111914 -2.816551)'), GeomFromEWKT('SRID=4674;POINT (-40.111916 -2.816509)'))) / (select extract(epoch from '2026-08-19 17:29:18'::timestamp) - extract(epoch from '2026-08-19 17:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111914 -2.816551)'), GeomFromEWKT('SRID=4674;POINT (-40.111916 -2.816509)'))) / (select extract(epoch from '2026-08-19 17:29:18'::timestamp) - extract(epoch from '2026-08-19 17:29: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'), 48199, 'SRID=4674;POINT (-40.111911 -2.816498)', '2026-08-19 17:29:32', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111916 -2.816509)'), GeomFromEWKT('SRID=4674;POINT (-40.111911 -2.816498)'))) / (select extract(epoch from '2026-08-19 17:29:32'::timestamp) - extract(epoch from '2026-08-19 17:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111916 -2.816509)'), GeomFromEWKT('SRID=4674;POINT (-40.111911 -2.816498)'))) / (select extract(epoch from '2026-08-19 17:29:32'::timestamp) - extract(epoch from '2026-08-19 17:29: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'), 48199, 'SRID=4674;POINT (-40.111921 -2.816455)', '2026-08-19 17:29:40', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111911 -2.816498)'), GeomFromEWKT('SRID=4674;POINT (-40.111921 -2.816455)'))) / (select extract(epoch from '2026-08-19 17:29:40'::timestamp) - extract(epoch from '2026-08-19 17:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111911 -2.816498)'), GeomFromEWKT('SRID=4674;POINT (-40.111921 -2.816455)'))) / (select extract(epoch from '2026-08-19 17:29:40'::timestamp) - extract(epoch from '2026-08-19 17:29: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'), 48199, 'SRID=4674;POINT (-40.111944 -2.816373)', '2026-08-19 17:29:51', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111921 -2.816455)'), GeomFromEWKT('SRID=4674;POINT (-40.111944 -2.816373)'))) / (select extract(epoch from '2026-08-19 17:29:51'::timestamp) - extract(epoch from '2026-08-19 17:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111921 -2.816455)'), GeomFromEWKT('SRID=4674;POINT (-40.111944 -2.816373)'))) / (select extract(epoch from '2026-08-19 17:29:51'::timestamp) - extract(epoch from '2026-08-19 17:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.111913 -2.816346)', '2026-08-19 17:30:00', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111944 -2.816373)'), GeomFromEWKT('SRID=4674;POINT (-40.111913 -2.816346)'))) / (select extract(epoch from '2026-08-19 17:30:00'::timestamp) - extract(epoch from '2026-08-19 17:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111944 -2.816373)'), GeomFromEWKT('SRID=4674;POINT (-40.111913 -2.816346)'))) / (select extract(epoch from '2026-08-19 17:30:00'::timestamp) - extract(epoch from '2026-08-19 17:29: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'), 48199, 'SRID=4674;POINT (-40.111888 -2.816389)', '2026-08-19 17:30:11', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111913 -2.816346)'), GeomFromEWKT('SRID=4674;POINT (-40.111888 -2.816389)'))) / (select extract(epoch from '2026-08-19 17:30:11'::timestamp) - extract(epoch from '2026-08-19 17:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111913 -2.816346)'), GeomFromEWKT('SRID=4674;POINT (-40.111888 -2.816389)'))) / (select extract(epoch from '2026-08-19 17:30:11'::timestamp) - extract(epoch from '2026-08-19 17:30: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'), 48199, 'SRID=4674;POINT (-40.111951 -2.816471)', '2026-08-19 17:30:19', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111888 -2.816389)'), GeomFromEWKT('SRID=4674;POINT (-40.111951 -2.816471)'))) / (select extract(epoch from '2026-08-19 17:30:19'::timestamp) - extract(epoch from '2026-08-19 17:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111888 -2.816389)'), GeomFromEWKT('SRID=4674;POINT (-40.111951 -2.816471)'))) / (select extract(epoch from '2026-08-19 17:30:19'::timestamp) - extract(epoch from '2026-08-19 17:30: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'), 48199, 'SRID=4674;POINT (-40.112045 -2.816519)', '2026-08-19 17:30:26', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111951 -2.816471)'), GeomFromEWKT('SRID=4674;POINT (-40.112045 -2.816519)'))) / (select extract(epoch from '2026-08-19 17:30:26'::timestamp) - extract(epoch from '2026-08-19 17:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111951 -2.816471)'), GeomFromEWKT('SRID=4674;POINT (-40.112045 -2.816519)'))) / (select extract(epoch from '2026-08-19 17:30:26'::timestamp) - extract(epoch from '2026-08-19 17:30: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'), 48199, 'SRID=4674;POINT (-40.112154 -2.816519)', '2026-08-19 17:30:33', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112045 -2.816519)'), GeomFromEWKT('SRID=4674;POINT (-40.112154 -2.816519)'))) / (select extract(epoch from '2026-08-19 17:30:33'::timestamp) - extract(epoch from '2026-08-19 17:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112045 -2.816519)'), GeomFromEWKT('SRID=4674;POINT (-40.112154 -2.816519)'))) / (select extract(epoch from '2026-08-19 17:30:33'::timestamp) - extract(epoch from '2026-08-19 17:30: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'), 48199, 'SRID=4674;POINT (-40.112236 -2.816506)', '2026-08-19 17:30:39', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112154 -2.816519)'), GeomFromEWKT('SRID=4674;POINT (-40.112236 -2.816506)'))) / (select extract(epoch from '2026-08-19 17:30:39'::timestamp) - extract(epoch from '2026-08-19 17:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112154 -2.816519)'), GeomFromEWKT('SRID=4674;POINT (-40.112236 -2.816506)'))) / (select extract(epoch from '2026-08-19 17:30:39'::timestamp) - extract(epoch from '2026-08-19 17:30: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'), 48199, 'SRID=4674;POINT (-40.112365 -2.816537)', '2026-08-19 17:30:47', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112236 -2.816506)'), GeomFromEWKT('SRID=4674;POINT (-40.112365 -2.816537)'))) / (select extract(epoch from '2026-08-19 17:30:47'::timestamp) - extract(epoch from '2026-08-19 17:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112236 -2.816506)'), GeomFromEWKT('SRID=4674;POINT (-40.112365 -2.816537)'))) / (select extract(epoch from '2026-08-19 17:30:47'::timestamp) - extract(epoch from '2026-08-19 17:30: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'), 48199, 'SRID=4674;POINT (-40.112464 -2.816563)', '2026-08-19 17:30:53', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112365 -2.816537)'), GeomFromEWKT('SRID=4674;POINT (-40.112464 -2.816563)'))) / (select extract(epoch from '2026-08-19 17:30:53'::timestamp) - extract(epoch from '2026-08-19 17:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112365 -2.816537)'), GeomFromEWKT('SRID=4674;POINT (-40.112464 -2.816563)'))) / (select extract(epoch from '2026-08-19 17:30:53'::timestamp) - extract(epoch from '2026-08-19 17:30: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'), 48199, 'SRID=4674;POINT (-40.112562 -2.81658)', '2026-08-19 17:30:59', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112464 -2.816563)'), GeomFromEWKT('SRID=4674;POINT (-40.112562 -2.81658)'))) / (select extract(epoch from '2026-08-19 17:30:59'::timestamp) - extract(epoch from '2026-08-19 17:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112464 -2.816563)'), GeomFromEWKT('SRID=4674;POINT (-40.112562 -2.81658)'))) / (select extract(epoch from '2026-08-19 17:30:59'::timestamp) - extract(epoch from '2026-08-19 17:30:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112661 -2.816594)', '2026-08-19 17:31:05', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112562 -2.81658)'), GeomFromEWKT('SRID=4674;POINT (-40.112661 -2.816594)'))) / (select extract(epoch from '2026-08-19 17:31:05'::timestamp) - extract(epoch from '2026-08-19 17:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112562 -2.81658)'), GeomFromEWKT('SRID=4674;POINT (-40.112661 -2.816594)'))) / (select extract(epoch from '2026-08-19 17:31:05'::timestamp) - extract(epoch from '2026-08-19 17:30: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'), 48199, 'SRID=4674;POINT (-40.112754 -2.816591)', '2026-08-19 17:31:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112661 -2.816594)'), GeomFromEWKT('SRID=4674;POINT (-40.112754 -2.816591)'))) / (select extract(epoch from '2026-08-19 17:31:11'::timestamp) - extract(epoch from '2026-08-19 17:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112661 -2.816594)'), GeomFromEWKT('SRID=4674;POINT (-40.112754 -2.816591)'))) / (select extract(epoch from '2026-08-19 17:31:11'::timestamp) - extract(epoch from '2026-08-19 17:31: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'), 48199, 'SRID=4674;POINT (-40.112924 -2.816575)', '2026-08-19 17:31:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112754 -2.816591)'), GeomFromEWKT('SRID=4674;POINT (-40.112924 -2.816575)'))) / (select extract(epoch from '2026-08-19 17:31:21'::timestamp) - extract(epoch from '2026-08-19 17:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112754 -2.816591)'), GeomFromEWKT('SRID=4674;POINT (-40.112924 -2.816575)'))) / (select extract(epoch from '2026-08-19 17:31:21'::timestamp) - extract(epoch from '2026-08-19 17:31:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.11311 -2.81657)', '2026-08-19 17:31:31', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112924 -2.816575)'), GeomFromEWKT('SRID=4674;POINT (-40.11311 -2.81657)'))) / (select extract(epoch from '2026-08-19 17:31:31'::timestamp) - extract(epoch from '2026-08-19 17:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112924 -2.816575)'), GeomFromEWKT('SRID=4674;POINT (-40.11311 -2.81657)'))) / (select extract(epoch from '2026-08-19 17:31:31'::timestamp) - extract(epoch from '2026-08-19 17:31: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'), 48199, 'SRID=4674;POINT (-40.113257 -2.816581)', '2026-08-19 17:31:39', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11311 -2.81657)'), GeomFromEWKT('SRID=4674;POINT (-40.113257 -2.816581)'))) / (select extract(epoch from '2026-08-19 17:31:39'::timestamp) - extract(epoch from '2026-08-19 17:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11311 -2.81657)'), GeomFromEWKT('SRID=4674;POINT (-40.113257 -2.816581)'))) / (select extract(epoch from '2026-08-19 17:31:39'::timestamp) - extract(epoch from '2026-08-19 17:31: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'), 48199, 'SRID=4674;POINT (-40.113405 -2.816587)', '2026-08-19 17:31:47', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113257 -2.816581)'), GeomFromEWKT('SRID=4674;POINT (-40.113405 -2.816587)'))) / (select extract(epoch from '2026-08-19 17:31:47'::timestamp) - extract(epoch from '2026-08-19 17:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113257 -2.816581)'), GeomFromEWKT('SRID=4674;POINT (-40.113405 -2.816587)'))) / (select extract(epoch from '2026-08-19 17:31:47'::timestamp) - extract(epoch from '2026-08-19 17:31: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'), 48199, 'SRID=4674;POINT (-40.113531 -2.816594)', '2026-08-19 17:31:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113405 -2.816587)'), GeomFromEWKT('SRID=4674;POINT (-40.113531 -2.816594)'))) / (select extract(epoch from '2026-08-19 17:31:54'::timestamp) - extract(epoch from '2026-08-19 17:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113405 -2.816587)'), GeomFromEWKT('SRID=4674;POINT (-40.113531 -2.816594)'))) / (select extract(epoch from '2026-08-19 17:31:54'::timestamp) - extract(epoch from '2026-08-19 17:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113714 -2.81658)', '2026-08-19 17:32:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113531 -2.816594)'), GeomFromEWKT('SRID=4674;POINT (-40.113714 -2.81658)'))) / (select extract(epoch from '2026-08-19 17:32:04'::timestamp) - extract(epoch from '2026-08-19 17:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113531 -2.816594)'), GeomFromEWKT('SRID=4674;POINT (-40.113714 -2.81658)'))) / (select extract(epoch from '2026-08-19 17:32:04'::timestamp) - extract(epoch from '2026-08-19 17:31: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'), 48199, 'SRID=4674;POINT (-40.113834 -2.816594)', '2026-08-19 17:32:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113714 -2.81658)'), GeomFromEWKT('SRID=4674;POINT (-40.113834 -2.816594)'))) / (select extract(epoch from '2026-08-19 17:32:11'::timestamp) - extract(epoch from '2026-08-19 17:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113714 -2.81658)'), GeomFromEWKT('SRID=4674;POINT (-40.113834 -2.816594)'))) / (select extract(epoch from '2026-08-19 17:32:11'::timestamp) - extract(epoch from '2026-08-19 17:32: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'), 48199, 'SRID=4674;POINT (-40.113968 -2.816612)', '2026-08-19 17:32:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113834 -2.816594)'), GeomFromEWKT('SRID=4674;POINT (-40.113968 -2.816612)'))) / (select extract(epoch from '2026-08-19 17:32:19'::timestamp) - extract(epoch from '2026-08-19 17:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113834 -2.816594)'), GeomFromEWKT('SRID=4674;POINT (-40.113968 -2.816612)'))) / (select extract(epoch from '2026-08-19 17:32:19'::timestamp) - extract(epoch from '2026-08-19 17:32: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'), 48199, 'SRID=4674;POINT (-40.114111 -2.816613)', '2026-08-19 17:32:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113968 -2.816612)'), GeomFromEWKT('SRID=4674;POINT (-40.114111 -2.816613)'))) / (select extract(epoch from '2026-08-19 17:32:27'::timestamp) - extract(epoch from '2026-08-19 17:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113968 -2.816612)'), GeomFromEWKT('SRID=4674;POINT (-40.114111 -2.816613)'))) / (select extract(epoch from '2026-08-19 17:32:27'::timestamp) - extract(epoch from '2026-08-19 17:32: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'), 48199, 'SRID=4674;POINT (-40.114275 -2.816619)', '2026-08-19 17:32:36', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114111 -2.816613)'), GeomFromEWKT('SRID=4674;POINT (-40.114275 -2.816619)'))) / (select extract(epoch from '2026-08-19 17:32:36'::timestamp) - extract(epoch from '2026-08-19 17:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114111 -2.816613)'), GeomFromEWKT('SRID=4674;POINT (-40.114275 -2.816619)'))) / (select extract(epoch from '2026-08-19 17:32:36'::timestamp) - extract(epoch from '2026-08-19 17:32:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.114405 -2.816617)', '2026-08-19 17:32:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114275 -2.816619)'), GeomFromEWKT('SRID=4674;POINT (-40.114405 -2.816617)'))) / (select extract(epoch from '2026-08-19 17:32:43'::timestamp) - extract(epoch from '2026-08-19 17:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114275 -2.816619)'), GeomFromEWKT('SRID=4674;POINT (-40.114405 -2.816617)'))) / (select extract(epoch from '2026-08-19 17:32:43'::timestamp) - extract(epoch from '2026-08-19 17:32: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'), 48199, 'SRID=4674;POINT (-40.114534 -2.816603)', '2026-08-19 17:32:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114405 -2.816617)'), GeomFromEWKT('SRID=4674;POINT (-40.114534 -2.816603)'))) / (select extract(epoch from '2026-08-19 17:32:50'::timestamp) - extract(epoch from '2026-08-19 17:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114405 -2.816617)'), GeomFromEWKT('SRID=4674;POINT (-40.114534 -2.816603)'))) / (select extract(epoch from '2026-08-19 17:32:50'::timestamp) - extract(epoch from '2026-08-19 17:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.114646 -2.816568)', '2026-08-19 17:32:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114534 -2.816603)'), GeomFromEWKT('SRID=4674;POINT (-40.114646 -2.816568)'))) / (select extract(epoch from '2026-08-19 17:32:57'::timestamp) - extract(epoch from '2026-08-19 17:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114534 -2.816603)'), GeomFromEWKT('SRID=4674;POINT (-40.114646 -2.816568)'))) / (select extract(epoch from '2026-08-19 17:32:57'::timestamp) - extract(epoch from '2026-08-19 17:32: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'), 48199, 'SRID=4674;POINT (-40.114783 -2.816513)', '2026-08-19 17:33:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114646 -2.816568)'), GeomFromEWKT('SRID=4674;POINT (-40.114783 -2.816513)'))) / (select extract(epoch from '2026-08-19 17:33:06'::timestamp) - extract(epoch from '2026-08-19 17:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114646 -2.816568)'), GeomFromEWKT('SRID=4674;POINT (-40.114783 -2.816513)'))) / (select extract(epoch from '2026-08-19 17:33:06'::timestamp) - extract(epoch from '2026-08-19 17:32: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'), 48199, 'SRID=4674;POINT (-40.114863 -2.81649)', '2026-08-19 17:33:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114783 -2.816513)'), GeomFromEWKT('SRID=4674;POINT (-40.114863 -2.81649)'))) / (select extract(epoch from '2026-08-19 17:33:12'::timestamp) - extract(epoch from '2026-08-19 17:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114783 -2.816513)'), GeomFromEWKT('SRID=4674;POINT (-40.114863 -2.81649)'))) / (select extract(epoch from '2026-08-19 17:33:12'::timestamp) - extract(epoch from '2026-08-19 17:33:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.114991 -2.816479)', '2026-08-19 17:33:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114863 -2.81649)'), GeomFromEWKT('SRID=4674;POINT (-40.114991 -2.816479)'))) / (select extract(epoch from '2026-08-19 17:33:20'::timestamp) - extract(epoch from '2026-08-19 17:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114863 -2.81649)'), GeomFromEWKT('SRID=4674;POINT (-40.114991 -2.816479)'))) / (select extract(epoch from '2026-08-19 17:33:20'::timestamp) - extract(epoch from '2026-08-19 17:33: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'), 48199, 'SRID=4674;POINT (-40.115117 -2.816455)', '2026-08-19 17:33:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114991 -2.816479)'), GeomFromEWKT('SRID=4674;POINT (-40.115117 -2.816455)'))) / (select extract(epoch from '2026-08-19 17:33:28'::timestamp) - extract(epoch from '2026-08-19 17:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114991 -2.816479)'), GeomFromEWKT('SRID=4674;POINT (-40.115117 -2.816455)'))) / (select extract(epoch from '2026-08-19 17:33:28'::timestamp) - extract(epoch from '2026-08-19 17:33: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'), 48199, 'SRID=4674;POINT (-40.115228 -2.816434)', '2026-08-19 17:33:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115117 -2.816455)'), GeomFromEWKT('SRID=4674;POINT (-40.115228 -2.816434)'))) / (select extract(epoch from '2026-08-19 17:33:35'::timestamp) - extract(epoch from '2026-08-19 17:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115117 -2.816455)'), GeomFromEWKT('SRID=4674;POINT (-40.115228 -2.816434)'))) / (select extract(epoch from '2026-08-19 17:33:35'::timestamp) - extract(epoch from '2026-08-19 17:33: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'), 48199, 'SRID=4674;POINT (-40.115351 -2.816405)', '2026-08-19 17:33:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115228 -2.816434)'), GeomFromEWKT('SRID=4674;POINT (-40.115351 -2.816405)'))) / (select extract(epoch from '2026-08-19 17:33:43'::timestamp) - extract(epoch from '2026-08-19 17:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115228 -2.816434)'), GeomFromEWKT('SRID=4674;POINT (-40.115351 -2.816405)'))) / (select extract(epoch from '2026-08-19 17:33:43'::timestamp) - extract(epoch from '2026-08-19 17:33: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'), 48199, 'SRID=4674;POINT (-40.11549 -2.816361)', '2026-08-19 17:33:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115351 -2.816405)'), GeomFromEWKT('SRID=4674;POINT (-40.11549 -2.816361)'))) / (select extract(epoch from '2026-08-19 17:33:52'::timestamp) - extract(epoch from '2026-08-19 17:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115351 -2.816405)'), GeomFromEWKT('SRID=4674;POINT (-40.11549 -2.816361)'))) / (select extract(epoch from '2026-08-19 17:33:52'::timestamp) - extract(epoch from '2026-08-19 17:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.11562 -2.816331)', '2026-08-19 17:34:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11549 -2.816361)'), GeomFromEWKT('SRID=4674;POINT (-40.11562 -2.816331)'))) / (select extract(epoch from '2026-08-19 17:34:00'::timestamp) - extract(epoch from '2026-08-19 17:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11549 -2.816361)'), GeomFromEWKT('SRID=4674;POINT (-40.11562 -2.816331)'))) / (select extract(epoch from '2026-08-19 17:34:00'::timestamp) - extract(epoch from '2026-08-19 17:33:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.115748 -2.816305)', '2026-08-19 17:34:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11562 -2.816331)'), GeomFromEWKT('SRID=4674;POINT (-40.115748 -2.816305)'))) / (select extract(epoch from '2026-08-19 17:34:08'::timestamp) - extract(epoch from '2026-08-19 17:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11562 -2.816331)'), GeomFromEWKT('SRID=4674;POINT (-40.115748 -2.816305)'))) / (select extract(epoch from '2026-08-19 17:34:08'::timestamp) - extract(epoch from '2026-08-19 17:34:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.115866 -2.816292)', '2026-08-19 17:34:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115748 -2.816305)'), GeomFromEWKT('SRID=4674;POINT (-40.115866 -2.816292)'))) / (select extract(epoch from '2026-08-19 17:34:15'::timestamp) - extract(epoch from '2026-08-19 17:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115748 -2.816305)'), GeomFromEWKT('SRID=4674;POINT (-40.115866 -2.816292)'))) / (select extract(epoch from '2026-08-19 17:34:15'::timestamp) - extract(epoch from '2026-08-19 17:34:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.116002 -2.81628)', '2026-08-19 17:34:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115866 -2.816292)'), GeomFromEWKT('SRID=4674;POINT (-40.116002 -2.81628)'))) / (select extract(epoch from '2026-08-19 17:34:23'::timestamp) - extract(epoch from '2026-08-19 17:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115866 -2.816292)'), GeomFromEWKT('SRID=4674;POINT (-40.116002 -2.81628)'))) / (select extract(epoch from '2026-08-19 17:34:23'::timestamp) - extract(epoch from '2026-08-19 17:34:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.116116 -2.816254)', '2026-08-19 17:34:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116002 -2.81628)'), GeomFromEWKT('SRID=4674;POINT (-40.116116 -2.816254)'))) / (select extract(epoch from '2026-08-19 17:34:30'::timestamp) - extract(epoch from '2026-08-19 17:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116002 -2.81628)'), GeomFromEWKT('SRID=4674;POINT (-40.116116 -2.816254)'))) / (select extract(epoch from '2026-08-19 17:34:30'::timestamp) - extract(epoch from '2026-08-19 17:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.116223 -2.816229)', '2026-08-19 17:34:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116116 -2.816254)'), GeomFromEWKT('SRID=4674;POINT (-40.116223 -2.816229)'))) / (select extract(epoch from '2026-08-19 17:34:37'::timestamp) - extract(epoch from '2026-08-19 17:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116116 -2.816254)'), GeomFromEWKT('SRID=4674;POINT (-40.116223 -2.816229)'))) / (select extract(epoch from '2026-08-19 17:34:37'::timestamp) - extract(epoch from '2026-08-19 17:34: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'), 48199, 'SRID=4674;POINT (-40.116384 -2.816191)', '2026-08-19 17:34:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116223 -2.816229)'), GeomFromEWKT('SRID=4674;POINT (-40.116384 -2.816191)'))) / (select extract(epoch from '2026-08-19 17:34:48'::timestamp) - extract(epoch from '2026-08-19 17:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116223 -2.816229)'), GeomFromEWKT('SRID=4674;POINT (-40.116384 -2.816191)'))) / (select extract(epoch from '2026-08-19 17:34:48'::timestamp) - extract(epoch from '2026-08-19 17:34: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'), 48199, 'SRID=4674;POINT (-40.116513 -2.816171)', '2026-08-19 17:34:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116384 -2.816191)'), GeomFromEWKT('SRID=4674;POINT (-40.116513 -2.816171)'))) / (select extract(epoch from '2026-08-19 17:34:56'::timestamp) - extract(epoch from '2026-08-19 17:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116384 -2.816191)'), GeomFromEWKT('SRID=4674;POINT (-40.116513 -2.816171)'))) / (select extract(epoch from '2026-08-19 17:34:56'::timestamp) - extract(epoch from '2026-08-19 17:34:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.116648 -2.816134)', '2026-08-19 17:35:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116513 -2.816171)'), GeomFromEWKT('SRID=4674;POINT (-40.116648 -2.816134)'))) / (select extract(epoch from '2026-08-19 17:35:05'::timestamp) - extract(epoch from '2026-08-19 17:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116513 -2.816171)'), GeomFromEWKT('SRID=4674;POINT (-40.116648 -2.816134)'))) / (select extract(epoch from '2026-08-19 17:35:05'::timestamp) - extract(epoch from '2026-08-19 17:34: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'), 48199, 'SRID=4674;POINT (-40.116759 -2.816107)', '2026-08-19 17:35:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116648 -2.816134)'), GeomFromEWKT('SRID=4674;POINT (-40.116759 -2.816107)'))) / (select extract(epoch from '2026-08-19 17:35:13'::timestamp) - extract(epoch from '2026-08-19 17:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116648 -2.816134)'), GeomFromEWKT('SRID=4674;POINT (-40.116759 -2.816107)'))) / (select extract(epoch from '2026-08-19 17:35:13'::timestamp) - extract(epoch from '2026-08-19 17:35: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'), 48199, 'SRID=4674;POINT (-40.116895 -2.816073)', '2026-08-19 17:35:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116759 -2.816107)'), GeomFromEWKT('SRID=4674;POINT (-40.116895 -2.816073)'))) / (select extract(epoch from '2026-08-19 17:35:22'::timestamp) - extract(epoch from '2026-08-19 17:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116759 -2.816107)'), GeomFromEWKT('SRID=4674;POINT (-40.116895 -2.816073)'))) / (select extract(epoch from '2026-08-19 17:35:22'::timestamp) - extract(epoch from '2026-08-19 17:35: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'), 48199, 'SRID=4674;POINT (-40.117048 -2.815999)', '2026-08-19 17:35:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116895 -2.816073)'), GeomFromEWKT('SRID=4674;POINT (-40.117048 -2.815999)'))) / (select extract(epoch from '2026-08-19 17:35:33'::timestamp) - extract(epoch from '2026-08-19 17:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116895 -2.816073)'), GeomFromEWKT('SRID=4674;POINT (-40.117048 -2.815999)'))) / (select extract(epoch from '2026-08-19 17:35:33'::timestamp) - extract(epoch from '2026-08-19 17:35: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'), 48199, 'SRID=4674;POINT (-40.117152 -2.815953)', '2026-08-19 17:35:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117048 -2.815999)'), GeomFromEWKT('SRID=4674;POINT (-40.117152 -2.815953)'))) / (select extract(epoch from '2026-08-19 17:35:40'::timestamp) - extract(epoch from '2026-08-19 17:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117048 -2.815999)'), GeomFromEWKT('SRID=4674;POINT (-40.117152 -2.815953)'))) / (select extract(epoch from '2026-08-19 17:35:40'::timestamp) - extract(epoch from '2026-08-19 17:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.117263 -2.815905)', '2026-08-19 17:35:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117152 -2.815953)'), GeomFromEWKT('SRID=4674;POINT (-40.117263 -2.815905)'))) / (select extract(epoch from '2026-08-19 17:35:48'::timestamp) - extract(epoch from '2026-08-19 17:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117152 -2.815953)'), GeomFromEWKT('SRID=4674;POINT (-40.117263 -2.815905)'))) / (select extract(epoch from '2026-08-19 17:35:48'::timestamp) - extract(epoch from '2026-08-19 17:35:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.117362 -2.815861)', '2026-08-19 17:35:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117263 -2.815905)'), GeomFromEWKT('SRID=4674;POINT (-40.117362 -2.815861)'))) / (select extract(epoch from '2026-08-19 17:35:55'::timestamp) - extract(epoch from '2026-08-19 17:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117263 -2.815905)'), GeomFromEWKT('SRID=4674;POINT (-40.117362 -2.815861)'))) / (select extract(epoch from '2026-08-19 17:35:55'::timestamp) - extract(epoch from '2026-08-19 17:35:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.117488 -2.815796)', '2026-08-19 17:36:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117362 -2.815861)'), GeomFromEWKT('SRID=4674;POINT (-40.117488 -2.815796)'))) / (select extract(epoch from '2026-08-19 17:36:04'::timestamp) - extract(epoch from '2026-08-19 17:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117362 -2.815861)'), GeomFromEWKT('SRID=4674;POINT (-40.117488 -2.815796)'))) / (select extract(epoch from '2026-08-19 17:36:04'::timestamp) - extract(epoch from '2026-08-19 17:35: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'), 48199, 'SRID=4674;POINT (-40.117572 -2.815722)', '2026-08-19 17:36:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117488 -2.815796)'), GeomFromEWKT('SRID=4674;POINT (-40.117572 -2.815722)'))) / (select extract(epoch from '2026-08-19 17:36:12'::timestamp) - extract(epoch from '2026-08-19 17:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117488 -2.815796)'), GeomFromEWKT('SRID=4674;POINT (-40.117572 -2.815722)'))) / (select extract(epoch from '2026-08-19 17:36:12'::timestamp) - extract(epoch from '2026-08-19 17:36: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'), 48199, 'SRID=4674;POINT (-40.117678 -2.815642)', '2026-08-19 17:36:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117572 -2.815722)'), GeomFromEWKT('SRID=4674;POINT (-40.117678 -2.815642)'))) / (select extract(epoch from '2026-08-19 17:36:21'::timestamp) - extract(epoch from '2026-08-19 17:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117572 -2.815722)'), GeomFromEWKT('SRID=4674;POINT (-40.117678 -2.815642)'))) / (select extract(epoch from '2026-08-19 17:36:21'::timestamp) - extract(epoch from '2026-08-19 17:36: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'), 48199, 'SRID=4674;POINT (-40.117811 -2.815565)', '2026-08-19 17:36:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117678 -2.815642)'), GeomFromEWKT('SRID=4674;POINT (-40.117811 -2.815565)'))) / (select extract(epoch from '2026-08-19 17:36:31'::timestamp) - extract(epoch from '2026-08-19 17:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117678 -2.815642)'), GeomFromEWKT('SRID=4674;POINT (-40.117811 -2.815565)'))) / (select extract(epoch from '2026-08-19 17:36:31'::timestamp) - extract(epoch from '2026-08-19 17:36: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'), 48199, 'SRID=4674;POINT (-40.117935 -2.815484)', '2026-08-19 17:36:40', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117811 -2.815565)'), GeomFromEWKT('SRID=4674;POINT (-40.117935 -2.815484)'))) / (select extract(epoch from '2026-08-19 17:36:40'::timestamp) - extract(epoch from '2026-08-19 17:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117811 -2.815565)'), GeomFromEWKT('SRID=4674;POINT (-40.117935 -2.815484)'))) / (select extract(epoch from '2026-08-19 17:36:40'::timestamp) - extract(epoch from '2026-08-19 17:36:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.118073 -2.815411)', '2026-08-19 17:36:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117935 -2.815484)'), GeomFromEWKT('SRID=4674;POINT (-40.118073 -2.815411)'))) / (select extract(epoch from '2026-08-19 17:36:50'::timestamp) - extract(epoch from '2026-08-19 17:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117935 -2.815484)'), GeomFromEWKT('SRID=4674;POINT (-40.118073 -2.815411)'))) / (select extract(epoch from '2026-08-19 17:36:50'::timestamp) - extract(epoch from '2026-08-19 17:36:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.11819 -2.815366)', '2026-08-19 17:36:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118073 -2.815411)'), GeomFromEWKT('SRID=4674;POINT (-40.11819 -2.815366)'))) / (select extract(epoch from '2026-08-19 17:36:58'::timestamp) - extract(epoch from '2026-08-19 17:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118073 -2.815411)'), GeomFromEWKT('SRID=4674;POINT (-40.11819 -2.815366)'))) / (select extract(epoch from '2026-08-19 17:36:58'::timestamp) - extract(epoch from '2026-08-19 17:36:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.11824 -2.81532)', '2026-08-19 17:37:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11819 -2.815366)'), GeomFromEWKT('SRID=4674;POINT (-40.11824 -2.81532)'))) / (select extract(epoch from '2026-08-19 17:37:06'::timestamp) - extract(epoch from '2026-08-19 17:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11819 -2.815366)'), GeomFromEWKT('SRID=4674;POINT (-40.11824 -2.81532)'))) / (select extract(epoch from '2026-08-19 17:37:06'::timestamp) - extract(epoch from '2026-08-19 17:36: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'), 48199, 'SRID=4674;POINT (-40.118259 -2.815302)', '2026-08-19 17:37:09', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11824 -2.81532)'), GeomFromEWKT('SRID=4674;POINT (-40.118259 -2.815302)'))) / (select extract(epoch from '2026-08-19 17:37:09'::timestamp) - extract(epoch from '2026-08-19 17:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11824 -2.81532)'), GeomFromEWKT('SRID=4674;POINT (-40.118259 -2.815302)'))) / (select extract(epoch from '2026-08-19 17:37:09'::timestamp) - extract(epoch from '2026-08-19 17:37: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'), 48199, 'SRID=4674;POINT (-40.118278 -2.815287)', '2026-08-19 17:37:12', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118259 -2.815302)'), GeomFromEWKT('SRID=4674;POINT (-40.118278 -2.815287)'))) / (select extract(epoch from '2026-08-19 17:37:12'::timestamp) - extract(epoch from '2026-08-19 17:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118259 -2.815302)'), GeomFromEWKT('SRID=4674;POINT (-40.118278 -2.815287)'))) / (select extract(epoch from '2026-08-19 17:37:12'::timestamp) - extract(epoch from '2026-08-19 17:37:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.118326 -2.815228)', '2026-08-19 17:37:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118278 -2.815287)'), GeomFromEWKT('SRID=4674;POINT (-40.118326 -2.815228)'))) / (select extract(epoch from '2026-08-19 17:37:21'::timestamp) - extract(epoch from '2026-08-19 17:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118278 -2.815287)'), GeomFromEWKT('SRID=4674;POINT (-40.118326 -2.815228)'))) / (select extract(epoch from '2026-08-19 17:37:21'::timestamp) - extract(epoch from '2026-08-19 17:37: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'), 48199, 'SRID=4674;POINT (-40.118366 -2.815141)', '2026-08-19 17:37:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118326 -2.815228)'), GeomFromEWKT('SRID=4674;POINT (-40.118366 -2.815141)'))) / (select extract(epoch from '2026-08-19 17:37:33'::timestamp) - extract(epoch from '2026-08-19 17:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118326 -2.815228)'), GeomFromEWKT('SRID=4674;POINT (-40.118366 -2.815141)'))) / (select extract(epoch from '2026-08-19 17:37:33'::timestamp) - extract(epoch from '2026-08-19 17:37: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'), 48199, 'SRID=4674;POINT (-40.11839 -2.815025)', '2026-08-19 17:37:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118366 -2.815141)'), GeomFromEWKT('SRID=4674;POINT (-40.11839 -2.815025)'))) / (select extract(epoch from '2026-08-19 17:37:46'::timestamp) - extract(epoch from '2026-08-19 17:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118366 -2.815141)'), GeomFromEWKT('SRID=4674;POINT (-40.11839 -2.815025)'))) / (select extract(epoch from '2026-08-19 17:37:46'::timestamp) - extract(epoch from '2026-08-19 17:37: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'), 48199, 'SRID=4674;POINT (-40.11845 -2.81491)', '2026-08-19 17:38:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11839 -2.815025)'), GeomFromEWKT('SRID=4674;POINT (-40.11845 -2.81491)'))) / (select extract(epoch from '2026-08-19 17:38:00'::timestamp) - extract(epoch from '2026-08-19 17:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11839 -2.815025)'), GeomFromEWKT('SRID=4674;POINT (-40.11845 -2.81491)'))) / (select extract(epoch from '2026-08-19 17:38:00'::timestamp) - extract(epoch from '2026-08-19 17:37:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.118451 -2.814851)', '2026-08-19 17:38:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11845 -2.81491)'), GeomFromEWKT('SRID=4674;POINT (-40.118451 -2.814851)'))) / (select extract(epoch from '2026-08-19 17:38:11'::timestamp) - extract(epoch from '2026-08-19 17:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11845 -2.81491)'), GeomFromEWKT('SRID=4674;POINT (-40.118451 -2.814851)'))) / (select extract(epoch from '2026-08-19 17:38:11'::timestamp) - extract(epoch from '2026-08-19 17:38: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'), 48199, 'SRID=4674;POINT (-40.118432 -2.814768)', '2026-08-19 17:38:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118451 -2.814851)'), GeomFromEWKT('SRID=4674;POINT (-40.118432 -2.814768)'))) / (select extract(epoch from '2026-08-19 17:38:24'::timestamp) - extract(epoch from '2026-08-19 17:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118451 -2.814851)'), GeomFromEWKT('SRID=4674;POINT (-40.118432 -2.814768)'))) / (select extract(epoch from '2026-08-19 17:38:24'::timestamp) - extract(epoch from '2026-08-19 17:38: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'), 48199, 'SRID=4674;POINT (-40.118455 -2.814703)', '2026-08-19 17:38:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118432 -2.814768)'), GeomFromEWKT('SRID=4674;POINT (-40.118455 -2.814703)'))) / (select extract(epoch from '2026-08-19 17:38:34'::timestamp) - extract(epoch from '2026-08-19 17:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118432 -2.814768)'), GeomFromEWKT('SRID=4674;POINT (-40.118455 -2.814703)'))) / (select extract(epoch from '2026-08-19 17:38:34'::timestamp) - extract(epoch from '2026-08-19 17:38: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'), 48199, 'SRID=4674;POINT (-40.118494 -2.814618)', '2026-08-19 17:38:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118455 -2.814703)'), GeomFromEWKT('SRID=4674;POINT (-40.118494 -2.814618)'))) / (select extract(epoch from '2026-08-19 17:38:48'::timestamp) - extract(epoch from '2026-08-19 17:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118455 -2.814703)'), GeomFromEWKT('SRID=4674;POINT (-40.118494 -2.814618)'))) / (select extract(epoch from '2026-08-19 17:38:48'::timestamp) - extract(epoch from '2026-08-19 17:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.118503 -2.814605)', '2026-08-19 17:38:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118494 -2.814618)'), GeomFromEWKT('SRID=4674;POINT (-40.118503 -2.814605)'))) / (select extract(epoch from '2026-08-19 17:38:58'::timestamp) - extract(epoch from '2026-08-19 17:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118494 -2.814618)'), GeomFromEWKT('SRID=4674;POINT (-40.118503 -2.814605)'))) / (select extract(epoch from '2026-08-19 17:38:58'::timestamp) - extract(epoch from '2026-08-19 17:38:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.11856 -2.814637)', '2026-08-19 17:39:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118503 -2.814605)'), GeomFromEWKT('SRID=4674;POINT (-40.11856 -2.814637)'))) / (select extract(epoch from '2026-08-19 17:39:08'::timestamp) - extract(epoch from '2026-08-19 17:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118503 -2.814605)'), GeomFromEWKT('SRID=4674;POINT (-40.11856 -2.814637)'))) / (select extract(epoch from '2026-08-19 17:39:08'::timestamp) - extract(epoch from '2026-08-19 17:38: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'), 48199, 'SRID=4674;POINT (-40.118684 -2.814664)', '2026-08-19 17:39:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11856 -2.814637)'), GeomFromEWKT('SRID=4674;POINT (-40.118684 -2.814664)'))) / (select extract(epoch from '2026-08-19 17:39:26'::timestamp) - extract(epoch from '2026-08-19 17:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11856 -2.814637)'), GeomFromEWKT('SRID=4674;POINT (-40.118684 -2.814664)'))) / (select extract(epoch from '2026-08-19 17:39:26'::timestamp) - extract(epoch from '2026-08-19 17:39: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'), 48199, 'SRID=4674;POINT (-40.118812 -2.814653)', '2026-08-19 17:39:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118684 -2.814664)'), GeomFromEWKT('SRID=4674;POINT (-40.118812 -2.814653)'))) / (select extract(epoch from '2026-08-19 17:39:45'::timestamp) - extract(epoch from '2026-08-19 17:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118684 -2.814664)'), GeomFromEWKT('SRID=4674;POINT (-40.118812 -2.814653)'))) / (select extract(epoch from '2026-08-19 17:39:45'::timestamp) - extract(epoch from '2026-08-19 17:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.118913 -2.814637)', '2026-08-19 17:39:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118812 -2.814653)'), GeomFromEWKT('SRID=4674;POINT (-40.118913 -2.814637)'))) / (select extract(epoch from '2026-08-19 17:39:59'::timestamp) - extract(epoch from '2026-08-19 17:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118812 -2.814653)'), GeomFromEWKT('SRID=4674;POINT (-40.118913 -2.814637)'))) / (select extract(epoch from '2026-08-19 17:39:59'::timestamp) - extract(epoch from '2026-08-19 17:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.119014 -2.814621)', '2026-08-19 17:40:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118913 -2.814637)'), GeomFromEWKT('SRID=4674;POINT (-40.119014 -2.814621)'))) / (select extract(epoch from '2026-08-19 17:40:13'::timestamp) - extract(epoch from '2026-08-19 17:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118913 -2.814637)'), GeomFromEWKT('SRID=4674;POINT (-40.119014 -2.814621)'))) / (select extract(epoch from '2026-08-19 17:40:13'::timestamp) - extract(epoch from '2026-08-19 17:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.119134 -2.814613)', '2026-08-19 17:40:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119014 -2.814621)'), GeomFromEWKT('SRID=4674;POINT (-40.119134 -2.814613)'))) / (select extract(epoch from '2026-08-19 17:40:29'::timestamp) - extract(epoch from '2026-08-19 17:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119014 -2.814621)'), GeomFromEWKT('SRID=4674;POINT (-40.119134 -2.814613)'))) / (select extract(epoch from '2026-08-19 17:40:29'::timestamp) - extract(epoch from '2026-08-19 17:40: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'), 48199, 'SRID=4674;POINT (-40.119275 -2.814595)', '2026-08-19 17:40:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119134 -2.814613)'), GeomFromEWKT('SRID=4674;POINT (-40.119275 -2.814595)'))) / (select extract(epoch from '2026-08-19 17:40:47'::timestamp) - extract(epoch from '2026-08-19 17:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119134 -2.814613)'), GeomFromEWKT('SRID=4674;POINT (-40.119275 -2.814595)'))) / (select extract(epoch from '2026-08-19 17:40:47'::timestamp) - extract(epoch from '2026-08-19 17:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.119412 -2.814571)', '2026-08-19 17:41:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119275 -2.814595)'), GeomFromEWKT('SRID=4674;POINT (-40.119412 -2.814571)'))) / (select extract(epoch from '2026-08-19 17:41:05'::timestamp) - extract(epoch from '2026-08-19 17:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119275 -2.814595)'), GeomFromEWKT('SRID=4674;POINT (-40.119412 -2.814571)'))) / (select extract(epoch from '2026-08-19 17:41:05'::timestamp) - extract(epoch from '2026-08-19 17:40: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'), 48199, 'SRID=4674;POINT (-40.119507 -2.814579)', '2026-08-19 17:41:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119412 -2.814571)'), GeomFromEWKT('SRID=4674;POINT (-40.119507 -2.814579)'))) / (select extract(epoch from '2026-08-19 17:41:19'::timestamp) - extract(epoch from '2026-08-19 17:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119412 -2.814571)'), GeomFromEWKT('SRID=4674;POINT (-40.119507 -2.814579)'))) / (select extract(epoch from '2026-08-19 17:41:19'::timestamp) - extract(epoch from '2026-08-19 17:41: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'), 48199, 'SRID=4674;POINT (-40.11965 -2.814566)', '2026-08-19 17:41:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119507 -2.814579)'), GeomFromEWKT('SRID=4674;POINT (-40.11965 -2.814566)'))) / (select extract(epoch from '2026-08-19 17:41:36'::timestamp) - extract(epoch from '2026-08-19 17:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119507 -2.814579)'), GeomFromEWKT('SRID=4674;POINT (-40.11965 -2.814566)'))) / (select extract(epoch from '2026-08-19 17:41:36'::timestamp) - extract(epoch from '2026-08-19 17:41: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'), 48199, 'SRID=4674;POINT (-40.119766 -2.81455)', '2026-08-19 17:41:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11965 -2.814566)'), GeomFromEWKT('SRID=4674;POINT (-40.119766 -2.81455)'))) / (select extract(epoch from '2026-08-19 17:41:52'::timestamp) - extract(epoch from '2026-08-19 17:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11965 -2.814566)'), GeomFromEWKT('SRID=4674;POINT (-40.119766 -2.81455)'))) / (select extract(epoch from '2026-08-19 17:41:52'::timestamp) - extract(epoch from '2026-08-19 17:41: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'), 48199, 'SRID=4674;POINT (-40.119875 -2.814547)', '2026-08-19 17:42:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119766 -2.81455)'), GeomFromEWKT('SRID=4674;POINT (-40.119875 -2.814547)'))) / (select extract(epoch from '2026-08-19 17:42:07'::timestamp) - extract(epoch from '2026-08-19 17:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119766 -2.81455)'), GeomFromEWKT('SRID=4674;POINT (-40.119875 -2.814547)'))) / (select extract(epoch from '2026-08-19 17:42:07'::timestamp) - extract(epoch from '2026-08-19 17:41:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.119998 -2.81454)', '2026-08-19 17:42:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119875 -2.814547)'), GeomFromEWKT('SRID=4674;POINT (-40.119998 -2.81454)'))) / (select extract(epoch from '2026-08-19 17:42:24'::timestamp) - extract(epoch from '2026-08-19 17:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119875 -2.814547)'), GeomFromEWKT('SRID=4674;POINT (-40.119998 -2.81454)'))) / (select extract(epoch from '2026-08-19 17:42:24'::timestamp) - extract(epoch from '2026-08-19 17:42: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'), 48199, 'SRID=4674;POINT (-40.120144 -2.814524)', '2026-08-19 17:42:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119998 -2.81454)'), GeomFromEWKT('SRID=4674;POINT (-40.120144 -2.814524)'))) / (select extract(epoch from '2026-08-19 17:42:43'::timestamp) - extract(epoch from '2026-08-19 17:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119998 -2.81454)'), GeomFromEWKT('SRID=4674;POINT (-40.120144 -2.814524)'))) / (select extract(epoch from '2026-08-19 17:42:43'::timestamp) - extract(epoch from '2026-08-19 17:42: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'), 48199, 'SRID=4674;POINT (-40.120274 -2.814507)', '2026-08-19 17:43:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120144 -2.814524)'), GeomFromEWKT('SRID=4674;POINT (-40.120274 -2.814507)'))) / (select extract(epoch from '2026-08-19 17:43:02'::timestamp) - extract(epoch from '2026-08-19 17:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120144 -2.814524)'), GeomFromEWKT('SRID=4674;POINT (-40.120274 -2.814507)'))) / (select extract(epoch from '2026-08-19 17:43:02'::timestamp) - extract(epoch from '2026-08-19 17:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.120371 -2.8145)', '2026-08-19 17:43:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120274 -2.814507)'), GeomFromEWKT('SRID=4674;POINT (-40.120371 -2.8145)'))) / (select extract(epoch from '2026-08-19 17:43:15'::timestamp) - extract(epoch from '2026-08-19 17:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120274 -2.814507)'), GeomFromEWKT('SRID=4674;POINT (-40.120371 -2.8145)'))) / (select extract(epoch from '2026-08-19 17:43:15'::timestamp) - extract(epoch from '2026-08-19 17:43: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'), 48199, 'SRID=4674;POINT (-40.120469 -2.814489)', '2026-08-19 17:43:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120371 -2.8145)'), GeomFromEWKT('SRID=4674;POINT (-40.120469 -2.814489)'))) / (select extract(epoch from '2026-08-19 17:43:29'::timestamp) - extract(epoch from '2026-08-19 17:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120371 -2.8145)'), GeomFromEWKT('SRID=4674;POINT (-40.120469 -2.814489)'))) / (select extract(epoch from '2026-08-19 17:43:29'::timestamp) - extract(epoch from '2026-08-19 17:43:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.120589 -2.814481)', '2026-08-19 17:43:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120469 -2.814489)'), GeomFromEWKT('SRID=4674;POINT (-40.120589 -2.814481)'))) / (select extract(epoch from '2026-08-19 17:43:42'::timestamp) - extract(epoch from '2026-08-19 17:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120469 -2.814489)'), GeomFromEWKT('SRID=4674;POINT (-40.120589 -2.814481)'))) / (select extract(epoch from '2026-08-19 17:43:42'::timestamp) - extract(epoch from '2026-08-19 17:43:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.120681 -2.814483)', '2026-08-19 17:43:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120589 -2.814481)'), GeomFromEWKT('SRID=4674;POINT (-40.120681 -2.814483)'))) / (select extract(epoch from '2026-08-19 17:43:55'::timestamp) - extract(epoch from '2026-08-19 17:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120589 -2.814481)'), GeomFromEWKT('SRID=4674;POINT (-40.120681 -2.814483)'))) / (select extract(epoch from '2026-08-19 17:43:55'::timestamp) - extract(epoch from '2026-08-19 17:43:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.120818 -2.81448)', '2026-08-19 17:44:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120681 -2.814483)'), GeomFromEWKT('SRID=4674;POINT (-40.120818 -2.81448)'))) / (select extract(epoch from '2026-08-19 17:44:11'::timestamp) - extract(epoch from '2026-08-19 17:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120681 -2.814483)'), GeomFromEWKT('SRID=4674;POINT (-40.120818 -2.81448)'))) / (select extract(epoch from '2026-08-19 17:44:11'::timestamp) - extract(epoch from '2026-08-19 17:43: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'), 48199, 'SRID=4674;POINT (-40.120905 -2.814481)', '2026-08-19 17:44:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120818 -2.81448)'), GeomFromEWKT('SRID=4674;POINT (-40.120905 -2.814481)'))) / (select extract(epoch from '2026-08-19 17:44:25'::timestamp) - extract(epoch from '2026-08-19 17:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120818 -2.81448)'), GeomFromEWKT('SRID=4674;POINT (-40.120905 -2.814481)'))) / (select extract(epoch from '2026-08-19 17:44:25'::timestamp) - extract(epoch from '2026-08-19 17:44: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'), 48199, 'SRID=4674;POINT (-40.121032 -2.814468)', '2026-08-19 17:44:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120905 -2.814481)'), GeomFromEWKT('SRID=4674;POINT (-40.121032 -2.814468)'))) / (select extract(epoch from '2026-08-19 17:44:43'::timestamp) - extract(epoch from '2026-08-19 17:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120905 -2.814481)'), GeomFromEWKT('SRID=4674;POINT (-40.121032 -2.814468)'))) / (select extract(epoch from '2026-08-19 17:44:43'::timestamp) - extract(epoch from '2026-08-19 17:44: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'), 48199, 'SRID=4674;POINT (-40.121163 -2.814477)', '2026-08-19 17:44:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121032 -2.814468)'), GeomFromEWKT('SRID=4674;POINT (-40.121163 -2.814477)'))) / (select extract(epoch from '2026-08-19 17:44:58'::timestamp) - extract(epoch from '2026-08-19 17:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121032 -2.814468)'), GeomFromEWKT('SRID=4674;POINT (-40.121163 -2.814477)'))) / (select extract(epoch from '2026-08-19 17:44:58'::timestamp) - extract(epoch from '2026-08-19 17:44: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'), 48199, 'SRID=4674;POINT (-40.12129 -2.814462)', '2026-08-19 17:45:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121163 -2.814477)'), GeomFromEWKT('SRID=4674;POINT (-40.12129 -2.814462)'))) / (select extract(epoch from '2026-08-19 17:45:15'::timestamp) - extract(epoch from '2026-08-19 17:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121163 -2.814477)'), GeomFromEWKT('SRID=4674;POINT (-40.12129 -2.814462)'))) / (select extract(epoch from '2026-08-19 17:45:15'::timestamp) - extract(epoch from '2026-08-19 17:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
