 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024232 -3.354709)', '2026-08-10 18:37:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354708)'), GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354709)'))) / (select extract(epoch from '2026-08-10 18:37:24'::timestamp) - extract(epoch from '2026-08-10 18:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354708)'), GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354709)'))) / (select extract(epoch from '2026-08-10 18:37:24'::timestamp) - extract(epoch from '2026-08-10 18:37: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'), 48138, 'SRID=4674;POINT (-39.024236 -3.354708)', '2026-08-10 18:37:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354709)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354708)'))) / (select extract(epoch from '2026-08-10 18:37:25'::timestamp) - extract(epoch from '2026-08-10 18:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.354709)'), GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354708)'))) / (select extract(epoch from '2026-08-10 18:37:25'::timestamp) - extract(epoch from '2026-08-10 18:37: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'), 48138, 'SRID=4674;POINT (-39.024225 -3.354709)', '2026-08-10 18:37:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354708)'), GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354709)'))) / (select extract(epoch from '2026-08-10 18:37:27'::timestamp) - extract(epoch from '2026-08-10 18:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024236 -3.354708)'), GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354709)'))) / (select extract(epoch from '2026-08-10 18:37:27'::timestamp) - extract(epoch from '2026-08-10 18:37: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'), 48138, 'SRID=4674;POINT (-39.024225 -3.354719)', '2026-08-10 18:37:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354709)'), GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354719)'))) / (select extract(epoch from '2026-08-10 18:37:30'::timestamp) - extract(epoch from '2026-08-10 18:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354709)'), GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354719)'))) / (select extract(epoch from '2026-08-10 18:37:30'::timestamp) - extract(epoch from '2026-08-10 18:37:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024216 -3.354721)', '2026-08-10 18:37:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354719)'), GeomFromEWKT('SRID=4674;POINT (-39.024216 -3.354721)'))) / (select extract(epoch from '2026-08-10 18:37:40'::timestamp) - extract(epoch from '2026-08-10 18:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.354719)'), GeomFromEWKT('SRID=4674;POINT (-39.024216 -3.354721)'))) / (select extract(epoch from '2026-08-10 18:37:40'::timestamp) - extract(epoch from '2026-08-10 18:37:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024224 -3.354712)', '2026-08-10 18:37:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024216 -3.354721)'), GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354712)'))) / (select extract(epoch from '2026-08-10 18:37:49'::timestamp) - extract(epoch from '2026-08-10 18:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024216 -3.354721)'), GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354712)'))) / (select extract(epoch from '2026-08-10 18:37:49'::timestamp) - extract(epoch from '2026-08-10 18:37:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024234 -3.354711)', '2026-08-10 18:37:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354712)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354711)'))) / (select extract(epoch from '2026-08-10 18:37:57'::timestamp) - extract(epoch from '2026-08-10 18:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024224 -3.354712)'), GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354711)'))) / (select extract(epoch from '2026-08-10 18:37:57'::timestamp) - extract(epoch from '2026-08-10 18:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024229 -3.354712)', '2026-08-10 18:38:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354711)'), GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354712)'))) / (select extract(epoch from '2026-08-10 18:38:06'::timestamp) - extract(epoch from '2026-08-10 18:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024234 -3.354711)'), GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354712)'))) / (select extract(epoch from '2026-08-10 18:38:06'::timestamp) - extract(epoch from '2026-08-10 18:37:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024216 -3.354708)', '2026-08-10 18:38:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354712)'), GeomFromEWKT('SRID=4674;POINT (-39.024216 -3.354708)'))) / (select extract(epoch from '2026-08-10 18:38:15'::timestamp) - extract(epoch from '2026-08-10 18:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024229 -3.354712)'), GeomFromEWKT('SRID=4674;POINT (-39.024216 -3.354708)'))) / (select extract(epoch from '2026-08-10 18:38:15'::timestamp) - extract(epoch from '2026-08-10 18:38: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'), 48138, 'SRID=4674;POINT (-39.024221 -3.354714)', '2026-08-10 18:38:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024216 -3.354708)'), GeomFromEWKT('SRID=4674;POINT (-39.024221 -3.354714)'))) / (select extract(epoch from '2026-08-10 18:38:24'::timestamp) - extract(epoch from '2026-08-10 18:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024216 -3.354708)'), GeomFromEWKT('SRID=4674;POINT (-39.024221 -3.354714)'))) / (select extract(epoch from '2026-08-10 18:38:24'::timestamp) - extract(epoch from '2026-08-10 18:38: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'), 48138, 'SRID=4674;POINT (-39.0242 -3.354707)', '2026-08-10 18:38:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024221 -3.354714)'), GeomFromEWKT('SRID=4674;POINT (-39.0242 -3.354707)'))) / (select extract(epoch from '2026-08-10 18:38:34'::timestamp) - extract(epoch from '2026-08-10 18:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024221 -3.354714)'), GeomFromEWKT('SRID=4674;POINT (-39.0242 -3.354707)'))) / (select extract(epoch from '2026-08-10 18:38:34'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.024171 -3.354704)', '2026-08-10 18:38:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0242 -3.354707)'), GeomFromEWKT('SRID=4674;POINT (-39.024171 -3.354704)'))) / (select extract(epoch from '2026-08-10 18:38:39'::timestamp) - extract(epoch from '2026-08-10 18:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0242 -3.354707)'), GeomFromEWKT('SRID=4674;POINT (-39.024171 -3.354704)'))) / (select extract(epoch from '2026-08-10 18:38:39'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.024149 -3.354702)', '2026-08-10 18:38:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024171 -3.354704)'), GeomFromEWKT('SRID=4674;POINT (-39.024149 -3.354702)'))) / (select extract(epoch from '2026-08-10 18:38:45'::timestamp) - extract(epoch from '2026-08-10 18:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024171 -3.354704)'), GeomFromEWKT('SRID=4674;POINT (-39.024149 -3.354702)'))) / (select extract(epoch from '2026-08-10 18:38:45'::timestamp) - extract(epoch from '2026-08-10 18:38: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'), 48138, 'SRID=4674;POINT (-39.024103 -3.354707)', '2026-08-10 18:38:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024149 -3.354702)'), GeomFromEWKT('SRID=4674;POINT (-39.024103 -3.354707)'))) / (select extract(epoch from '2026-08-10 18:38:54'::timestamp) - extract(epoch from '2026-08-10 18:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024149 -3.354702)'), GeomFromEWKT('SRID=4674;POINT (-39.024103 -3.354707)'))) / (select extract(epoch from '2026-08-10 18:38:54'::timestamp) - extract(epoch from '2026-08-10 18:38:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.024079 -3.354698)', '2026-08-10 18:39:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024103 -3.354707)'), GeomFromEWKT('SRID=4674;POINT (-39.024079 -3.354698)'))) / (select extract(epoch from '2026-08-10 18:39:03'::timestamp) - extract(epoch from '2026-08-10 18:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024103 -3.354707)'), GeomFromEWKT('SRID=4674;POINT (-39.024079 -3.354698)'))) / (select extract(epoch from '2026-08-10 18:39:03'::timestamp) - extract(epoch from '2026-08-10 18:38: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'), 48138, 'SRID=4674;POINT (-39.02407 -3.354699)', '2026-08-10 18:39:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024079 -3.354698)'), GeomFromEWKT('SRID=4674;POINT (-39.02407 -3.354699)'))) / (select extract(epoch from '2026-08-10 18:39:11'::timestamp) - extract(epoch from '2026-08-10 18:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024079 -3.354698)'), GeomFromEWKT('SRID=4674;POINT (-39.02407 -3.354699)'))) / (select extract(epoch from '2026-08-10 18:39:11'::timestamp) - extract(epoch from '2026-08-10 18:39: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'), 48138, 'SRID=4674;POINT (-39.024053 -3.354697)', '2026-08-10 18:39:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02407 -3.354699)'), GeomFromEWKT('SRID=4674;POINT (-39.024053 -3.354697)'))) / (select extract(epoch from '2026-08-10 18:39:19'::timestamp) - extract(epoch from '2026-08-10 18:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02407 -3.354699)'), GeomFromEWKT('SRID=4674;POINT (-39.024053 -3.354697)'))) / (select extract(epoch from '2026-08-10 18:39:19'::timestamp) - extract(epoch from '2026-08-10 18:39: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'), 48138, 'SRID=4674;POINT (-39.023994 -3.354698)', '2026-08-10 18:39:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024053 -3.354697)'), GeomFromEWKT('SRID=4674;POINT (-39.023994 -3.354698)'))) / (select extract(epoch from '2026-08-10 18:39:31'::timestamp) - extract(epoch from '2026-08-10 18:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024053 -3.354697)'), GeomFromEWKT('SRID=4674;POINT (-39.023994 -3.354698)'))) / (select extract(epoch from '2026-08-10 18:39:31'::timestamp) - extract(epoch from '2026-08-10 18:39: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'), 48138, 'SRID=4674;POINT (-39.023944 -3.35469)', '2026-08-10 18:39:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023994 -3.354698)'), GeomFromEWKT('SRID=4674;POINT (-39.023944 -3.35469)'))) / (select extract(epoch from '2026-08-10 18:39:43'::timestamp) - extract(epoch from '2026-08-10 18:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023994 -3.354698)'), GeomFromEWKT('SRID=4674;POINT (-39.023944 -3.35469)'))) / (select extract(epoch from '2026-08-10 18:39:43'::timestamp) - extract(epoch from '2026-08-10 18:39:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02389 -3.354689)', '2026-08-10 18:39:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023944 -3.35469)'), GeomFromEWKT('SRID=4674;POINT (-39.02389 -3.354689)'))) / (select extract(epoch from '2026-08-10 18:39:55'::timestamp) - extract(epoch from '2026-08-10 18:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023944 -3.35469)'), GeomFromEWKT('SRID=4674;POINT (-39.02389 -3.354689)'))) / (select extract(epoch from '2026-08-10 18:39:55'::timestamp) - extract(epoch from '2026-08-10 18:39: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'), 48138, 'SRID=4674;POINT (-39.023864 -3.354694)', '2026-08-10 18:40:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02389 -3.354689)'), GeomFromEWKT('SRID=4674;POINT (-39.023864 -3.354694)'))) / (select extract(epoch from '2026-08-10 18:40:02'::timestamp) - extract(epoch from '2026-08-10 18:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02389 -3.354689)'), GeomFromEWKT('SRID=4674;POINT (-39.023864 -3.354694)'))) / (select extract(epoch from '2026-08-10 18:40:02'::timestamp) - extract(epoch from '2026-08-10 18:39: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'), 48138, 'SRID=4674;POINT (-39.023808 -3.354705)', '2026-08-10 18:40:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023864 -3.354694)'), GeomFromEWKT('SRID=4674;POINT (-39.023808 -3.354705)'))) / (select extract(epoch from '2026-08-10 18:40:16'::timestamp) - extract(epoch from '2026-08-10 18:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023864 -3.354694)'), GeomFromEWKT('SRID=4674;POINT (-39.023808 -3.354705)'))) / (select extract(epoch from '2026-08-10 18:40:16'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.023773 -3.354701)', '2026-08-10 18:40:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023808 -3.354705)'), GeomFromEWKT('SRID=4674;POINT (-39.023773 -3.354701)'))) / (select extract(epoch from '2026-08-10 18:40:24'::timestamp) - extract(epoch from '2026-08-10 18:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023808 -3.354705)'), GeomFromEWKT('SRID=4674;POINT (-39.023773 -3.354701)'))) / (select extract(epoch from '2026-08-10 18:40:24'::timestamp) - extract(epoch from '2026-08-10 18:40: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'), 48138, 'SRID=4674;POINT (-39.02375 -3.354704)', '2026-08-10 18:40:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023773 -3.354701)'), GeomFromEWKT('SRID=4674;POINT (-39.02375 -3.354704)'))) / (select extract(epoch from '2026-08-10 18:40:33'::timestamp) - extract(epoch from '2026-08-10 18:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023773 -3.354701)'), GeomFromEWKT('SRID=4674;POINT (-39.02375 -3.354704)'))) / (select extract(epoch from '2026-08-10 18:40:33'::timestamp) - extract(epoch from '2026-08-10 18:40: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'), 48138, 'SRID=4674;POINT (-39.023691 -3.354696)', '2026-08-10 18:40:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02375 -3.354704)'), GeomFromEWKT('SRID=4674;POINT (-39.023691 -3.354696)'))) / (select extract(epoch from '2026-08-10 18:40:45'::timestamp) - extract(epoch from '2026-08-10 18:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02375 -3.354704)'), GeomFromEWKT('SRID=4674;POINT (-39.023691 -3.354696)'))) / (select extract(epoch from '2026-08-10 18:40:45'::timestamp) - extract(epoch from '2026-08-10 18:40: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'), 48138, 'SRID=4674;POINT (-39.023657 -3.354692)', '2026-08-10 18:40:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023691 -3.354696)'), GeomFromEWKT('SRID=4674;POINT (-39.023657 -3.354692)'))) / (select extract(epoch from '2026-08-10 18:40:53'::timestamp) - extract(epoch from '2026-08-10 18:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023691 -3.354696)'), GeomFromEWKT('SRID=4674;POINT (-39.023657 -3.354692)'))) / (select extract(epoch from '2026-08-10 18:40:53'::timestamp) - extract(epoch from '2026-08-10 18:40: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'), 48138, 'SRID=4674;POINT (-39.023626 -3.35469)', '2026-08-10 18:41:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023657 -3.354692)'), GeomFromEWKT('SRID=4674;POINT (-39.023626 -3.35469)'))) / (select extract(epoch from '2026-08-10 18:41:01'::timestamp) - extract(epoch from '2026-08-10 18:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023657 -3.354692)'), GeomFromEWKT('SRID=4674;POINT (-39.023626 -3.35469)'))) / (select extract(epoch from '2026-08-10 18:41:01'::timestamp) - extract(epoch from '2026-08-10 18:40: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'), 48138, 'SRID=4674;POINT (-39.0236 -3.35469)', '2026-08-10 18:41:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023626 -3.35469)'), GeomFromEWKT('SRID=4674;POINT (-39.0236 -3.35469)'))) / (select extract(epoch from '2026-08-10 18:41:12'::timestamp) - extract(epoch from '2026-08-10 18:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023626 -3.35469)'), GeomFromEWKT('SRID=4674;POINT (-39.0236 -3.35469)'))) / (select extract(epoch from '2026-08-10 18:41:12'::timestamp) - extract(epoch from '2026-08-10 18:41: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'), 48138, 'SRID=4674;POINT (-39.023589 -3.354686)', '2026-08-10 18:41:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0236 -3.35469)'), GeomFromEWKT('SRID=4674;POINT (-39.023589 -3.354686)'))) / (select extract(epoch from '2026-08-10 18:41:18'::timestamp) - extract(epoch from '2026-08-10 18:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0236 -3.35469)'), GeomFromEWKT('SRID=4674;POINT (-39.023589 -3.354686)'))) / (select extract(epoch from '2026-08-10 18:41:18'::timestamp) - extract(epoch from '2026-08-10 18:41: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'), 48138, 'SRID=4674;POINT (-39.023565 -3.354686)', '2026-08-10 18:41:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023589 -3.354686)'), GeomFromEWKT('SRID=4674;POINT (-39.023565 -3.354686)'))) / (select extract(epoch from '2026-08-10 18:41:29'::timestamp) - extract(epoch from '2026-08-10 18:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023589 -3.354686)'), GeomFromEWKT('SRID=4674;POINT (-39.023565 -3.354686)'))) / (select extract(epoch from '2026-08-10 18:41:29'::timestamp) - extract(epoch from '2026-08-10 18:41: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'), 48138, 'SRID=4674;POINT (-39.02354 -3.354691)', '2026-08-10 18:41:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023565 -3.354686)'), GeomFromEWKT('SRID=4674;POINT (-39.02354 -3.354691)'))) / (select extract(epoch from '2026-08-10 18:41:38'::timestamp) - extract(epoch from '2026-08-10 18:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023565 -3.354686)'), GeomFromEWKT('SRID=4674;POINT (-39.02354 -3.354691)'))) / (select extract(epoch from '2026-08-10 18:41:38'::timestamp) - extract(epoch from '2026-08-10 18:41: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'), 48138, 'SRID=4674;POINT (-39.023517 -3.354694)', '2026-08-10 18:41:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02354 -3.354691)'), GeomFromEWKT('SRID=4674;POINT (-39.023517 -3.354694)'))) / (select extract(epoch from '2026-08-10 18:41:46'::timestamp) - extract(epoch from '2026-08-10 18:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02354 -3.354691)'), GeomFromEWKT('SRID=4674;POINT (-39.023517 -3.354694)'))) / (select extract(epoch from '2026-08-10 18:41:46'::timestamp) - extract(epoch from '2026-08-10 18:41: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'), 48138, 'SRID=4674;POINT (-39.023547 -3.354689)', '2026-08-10 18:41:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023517 -3.354694)'), GeomFromEWKT('SRID=4674;POINT (-39.023547 -3.354689)'))) / (select extract(epoch from '2026-08-10 18:41:56'::timestamp) - extract(epoch from '2026-08-10 18:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023517 -3.354694)'), GeomFromEWKT('SRID=4674;POINT (-39.023547 -3.354689)'))) / (select extract(epoch from '2026-08-10 18:41:56'::timestamp) - extract(epoch from '2026-08-10 18:41:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023594 -3.354705)', '2026-08-10 18:42:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023547 -3.354689)'), GeomFromEWKT('SRID=4674;POINT (-39.023594 -3.354705)'))) / (select extract(epoch from '2026-08-10 18:42:09'::timestamp) - extract(epoch from '2026-08-10 18:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023547 -3.354689)'), GeomFromEWKT('SRID=4674;POINT (-39.023594 -3.354705)'))) / (select extract(epoch from '2026-08-10 18:42:09'::timestamp) - extract(epoch from '2026-08-10 18:41: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'), 48138, 'SRID=4674;POINT (-39.023628 -3.354709)', '2026-08-10 18:42:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023594 -3.354705)'), GeomFromEWKT('SRID=4674;POINT (-39.023628 -3.354709)'))) / (select extract(epoch from '2026-08-10 18:42:18'::timestamp) - extract(epoch from '2026-08-10 18:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023594 -3.354705)'), GeomFromEWKT('SRID=4674;POINT (-39.023628 -3.354709)'))) / (select extract(epoch from '2026-08-10 18:42:18'::timestamp) - extract(epoch from '2026-08-10 18:42: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'), 48138, 'SRID=4674;POINT (-39.023655 -3.354707)', '2026-08-10 18:42:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023628 -3.354709)'), GeomFromEWKT('SRID=4674;POINT (-39.023655 -3.354707)'))) / (select extract(epoch from '2026-08-10 18:42:30'::timestamp) - extract(epoch from '2026-08-10 18:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023628 -3.354709)'), GeomFromEWKT('SRID=4674;POINT (-39.023655 -3.354707)'))) / (select extract(epoch from '2026-08-10 18:42:30'::timestamp) - extract(epoch from '2026-08-10 18:42: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'), 48138, 'SRID=4674;POINT (-39.023672 -3.354702)', '2026-08-10 18:42:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023655 -3.354707)'), GeomFromEWKT('SRID=4674;POINT (-39.023672 -3.354702)'))) / (select extract(epoch from '2026-08-10 18:42:43'::timestamp) - extract(epoch from '2026-08-10 18:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023655 -3.354707)'), GeomFromEWKT('SRID=4674;POINT (-39.023672 -3.354702)'))) / (select extract(epoch from '2026-08-10 18:42:43'::timestamp) - extract(epoch from '2026-08-10 18:42: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'), 48138, 'SRID=4674;POINT (-39.02368 -3.354699)', '2026-08-10 18:42:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023672 -3.354702)'), GeomFromEWKT('SRID=4674;POINT (-39.02368 -3.354699)'))) / (select extract(epoch from '2026-08-10 18:42:54'::timestamp) - extract(epoch from '2026-08-10 18:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023672 -3.354702)'), GeomFromEWKT('SRID=4674;POINT (-39.02368 -3.354699)'))) / (select extract(epoch from '2026-08-10 18:42:54'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.023684 -3.354695)', '2026-08-10 18:43:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02368 -3.354699)'), GeomFromEWKT('SRID=4674;POINT (-39.023684 -3.354695)'))) / (select extract(epoch from '2026-08-10 18:43:05'::timestamp) - extract(epoch from '2026-08-10 18:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02368 -3.354699)'), GeomFromEWKT('SRID=4674;POINT (-39.023684 -3.354695)'))) / (select extract(epoch from '2026-08-10 18:43:05'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.023662 -3.354686)', '2026-08-10 18:43:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023684 -3.354695)'), GeomFromEWKT('SRID=4674;POINT (-39.023662 -3.354686)'))) / (select extract(epoch from '2026-08-10 18:43:15'::timestamp) - extract(epoch from '2026-08-10 18:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023684 -3.354695)'), GeomFromEWKT('SRID=4674;POINT (-39.023662 -3.354686)'))) / (select extract(epoch from '2026-08-10 18:43:15'::timestamp) - extract(epoch from '2026-08-10 18:43:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023653 -3.354677)', '2026-08-10 18:43:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023662 -3.354686)'), GeomFromEWKT('SRID=4674;POINT (-39.023653 -3.354677)'))) / (select extract(epoch from '2026-08-10 18:43:21'::timestamp) - extract(epoch from '2026-08-10 18:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023662 -3.354686)'), GeomFromEWKT('SRID=4674;POINT (-39.023653 -3.354677)'))) / (select extract(epoch from '2026-08-10 18:43:21'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.023615 -3.354662)', '2026-08-10 18:43:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023653 -3.354677)'), GeomFromEWKT('SRID=4674;POINT (-39.023615 -3.354662)'))) / (select extract(epoch from '2026-08-10 18:43:29'::timestamp) - extract(epoch from '2026-08-10 18:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023653 -3.354677)'), GeomFromEWKT('SRID=4674;POINT (-39.023615 -3.354662)'))) / (select extract(epoch from '2026-08-10 18:43:29'::timestamp) - extract(epoch from '2026-08-10 18:43: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'), 48138, 'SRID=4674;POINT (-39.02357 -3.35464)', '2026-08-10 18:43:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023615 -3.354662)'), GeomFromEWKT('SRID=4674;POINT (-39.02357 -3.35464)'))) / (select extract(epoch from '2026-08-10 18:43:40'::timestamp) - extract(epoch from '2026-08-10 18:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023615 -3.354662)'), GeomFromEWKT('SRID=4674;POINT (-39.02357 -3.35464)'))) / (select extract(epoch from '2026-08-10 18:43:40'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.023532 -3.354635)', '2026-08-10 18:43:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02357 -3.35464)'), GeomFromEWKT('SRID=4674;POINT (-39.023532 -3.354635)'))) / (select extract(epoch from '2026-08-10 18:43:48'::timestamp) - extract(epoch from '2026-08-10 18:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02357 -3.35464)'), GeomFromEWKT('SRID=4674;POINT (-39.023532 -3.354635)'))) / (select extract(epoch from '2026-08-10 18:43:48'::timestamp) - extract(epoch from '2026-08-10 18:43: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'), 48138, 'SRID=4674;POINT (-39.023514 -3.354632)', '2026-08-10 18:43:55', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023532 -3.354635)'), GeomFromEWKT('SRID=4674;POINT (-39.023514 -3.354632)'))) / (select extract(epoch from '2026-08-10 18:43:55'::timestamp) - extract(epoch from '2026-08-10 18:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023532 -3.354635)'), GeomFromEWKT('SRID=4674;POINT (-39.023514 -3.354632)'))) / (select extract(epoch from '2026-08-10 18:43:55'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.023471 -3.354638)', '2026-08-10 18:44:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023514 -3.354632)'), GeomFromEWKT('SRID=4674;POINT (-39.023471 -3.354638)'))) / (select extract(epoch from '2026-08-10 18:44:04'::timestamp) - extract(epoch from '2026-08-10 18:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023514 -3.354632)'), GeomFromEWKT('SRID=4674;POINT (-39.023471 -3.354638)'))) / (select extract(epoch from '2026-08-10 18:44:04'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.02343 -3.354653)', '2026-08-10 18:44:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023471 -3.354638)'), GeomFromEWKT('SRID=4674;POINT (-39.02343 -3.354653)'))) / (select extract(epoch from '2026-08-10 18:44:12'::timestamp) - extract(epoch from '2026-08-10 18:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023471 -3.354638)'), GeomFromEWKT('SRID=4674;POINT (-39.02343 -3.354653)'))) / (select extract(epoch from '2026-08-10 18:44:12'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.023357 -3.354651)', '2026-08-10 18:44:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02343 -3.354653)'), GeomFromEWKT('SRID=4674;POINT (-39.023357 -3.354651)'))) / (select extract(epoch from '2026-08-10 18:44:23'::timestamp) - extract(epoch from '2026-08-10 18:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02343 -3.354653)'), GeomFromEWKT('SRID=4674;POINT (-39.023357 -3.354651)'))) / (select extract(epoch from '2026-08-10 18:44:23'::timestamp) - extract(epoch from '2026-08-10 18:44: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'), 48138, 'SRID=4674;POINT (-39.023353 -3.35466)', '2026-08-10 18:44:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023357 -3.354651)'), GeomFromEWKT('SRID=4674;POINT (-39.023353 -3.35466)'))) / (select extract(epoch from '2026-08-10 18:44:28'::timestamp) - extract(epoch from '2026-08-10 18:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023357 -3.354651)'), GeomFromEWKT('SRID=4674;POINT (-39.023353 -3.35466)'))) / (select extract(epoch from '2026-08-10 18:44:28'::timestamp) - extract(epoch from '2026-08-10 18:44: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'), 48138, 'SRID=4674;POINT (-39.023328 -3.354675)', '2026-08-10 18:44:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023353 -3.35466)'), GeomFromEWKT('SRID=4674;POINT (-39.023328 -3.354675)'))) / (select extract(epoch from '2026-08-10 18:44:35'::timestamp) - extract(epoch from '2026-08-10 18:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023353 -3.35466)'), GeomFromEWKT('SRID=4674;POINT (-39.023328 -3.354675)'))) / (select extract(epoch from '2026-08-10 18:44:35'::timestamp) - extract(epoch from '2026-08-10 18:44:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023296 -3.354687)', '2026-08-10 18:44:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023328 -3.354675)'), GeomFromEWKT('SRID=4674;POINT (-39.023296 -3.354687)'))) / (select extract(epoch from '2026-08-10 18:44:42'::timestamp) - extract(epoch from '2026-08-10 18:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023328 -3.354675)'), GeomFromEWKT('SRID=4674;POINT (-39.023296 -3.354687)'))) / (select extract(epoch from '2026-08-10 18:44:42'::timestamp) - extract(epoch from '2026-08-10 18:44:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02328 -3.354688)', '2026-08-10 18:44:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023296 -3.354687)'), GeomFromEWKT('SRID=4674;POINT (-39.02328 -3.354688)'))) / (select extract(epoch from '2026-08-10 18:44:49'::timestamp) - extract(epoch from '2026-08-10 18:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023296 -3.354687)'), GeomFromEWKT('SRID=4674;POINT (-39.02328 -3.354688)'))) / (select extract(epoch from '2026-08-10 18:44:49'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.023252 -3.354673)', '2026-08-10 18:44:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02328 -3.354688)'), GeomFromEWKT('SRID=4674;POINT (-39.023252 -3.354673)'))) / (select extract(epoch from '2026-08-10 18:44:54'::timestamp) - extract(epoch from '2026-08-10 18:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02328 -3.354688)'), GeomFromEWKT('SRID=4674;POINT (-39.023252 -3.354673)'))) / (select extract(epoch from '2026-08-10 18:44:54'::timestamp) - extract(epoch from '2026-08-10 18:44:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023208 -3.354665)', '2026-08-10 18:45:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023252 -3.354673)'), GeomFromEWKT('SRID=4674;POINT (-39.023208 -3.354665)'))) / (select extract(epoch from '2026-08-10 18:45:03'::timestamp) - extract(epoch from '2026-08-10 18:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023252 -3.354673)'), GeomFromEWKT('SRID=4674;POINT (-39.023208 -3.354665)'))) / (select extract(epoch from '2026-08-10 18:45:03'::timestamp) - extract(epoch from '2026-08-10 18:44:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023193 -3.354682)', '2026-08-10 18:45:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023208 -3.354665)'), GeomFromEWKT('SRID=4674;POINT (-39.023193 -3.354682)'))) / (select extract(epoch from '2026-08-10 18:45:12'::timestamp) - extract(epoch from '2026-08-10 18:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023208 -3.354665)'), GeomFromEWKT('SRID=4674;POINT (-39.023193 -3.354682)'))) / (select extract(epoch from '2026-08-10 18:45:12'::timestamp) - extract(epoch from '2026-08-10 18:45:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.023179 -3.354684)', '2026-08-10 18:45:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023193 -3.354682)'), GeomFromEWKT('SRID=4674;POINT (-39.023179 -3.354684)'))) / (select extract(epoch from '2026-08-10 18:45:21'::timestamp) - extract(epoch from '2026-08-10 18:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023193 -3.354682)'), GeomFromEWKT('SRID=4674;POINT (-39.023179 -3.354684)'))) / (select extract(epoch from '2026-08-10 18:45:21'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.02317 -3.354686)', '2026-08-10 18:45:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023179 -3.354684)'), GeomFromEWKT('SRID=4674;POINT (-39.02317 -3.354686)'))) / (select extract(epoch from '2026-08-10 18:45:26'::timestamp) - extract(epoch from '2026-08-10 18:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023179 -3.354684)'), GeomFromEWKT('SRID=4674;POINT (-39.02317 -3.354686)'))) / (select extract(epoch from '2026-08-10 18:45:26'::timestamp) - extract(epoch from '2026-08-10 18:45: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'), 48138, 'SRID=4674;POINT (-39.023157 -3.354688)', '2026-08-10 18:45:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02317 -3.354686)'), GeomFromEWKT('SRID=4674;POINT (-39.023157 -3.354688)'))) / (select extract(epoch from '2026-08-10 18:45:32'::timestamp) - extract(epoch from '2026-08-10 18:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02317 -3.354686)'), GeomFromEWKT('SRID=4674;POINT (-39.023157 -3.354688)'))) / (select extract(epoch from '2026-08-10 18:45:32'::timestamp) - extract(epoch from '2026-08-10 18:45: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'), 48138, 'SRID=4674;POINT (-39.023136 -3.354691)', '2026-08-10 18:45:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023157 -3.354688)'), GeomFromEWKT('SRID=4674;POINT (-39.023136 -3.354691)'))) / (select extract(epoch from '2026-08-10 18:45:35'::timestamp) - extract(epoch from '2026-08-10 18:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023157 -3.354688)'), GeomFromEWKT('SRID=4674;POINT (-39.023136 -3.354691)'))) / (select extract(epoch from '2026-08-10 18:45:35'::timestamp) - extract(epoch from '2026-08-10 18:45: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'), 48138, 'SRID=4674;POINT (-39.023121 -3.354684)', '2026-08-10 18:45:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023136 -3.354691)'), GeomFromEWKT('SRID=4674;POINT (-39.023121 -3.354684)'))) / (select extract(epoch from '2026-08-10 18:45:38'::timestamp) - extract(epoch from '2026-08-10 18:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023136 -3.354691)'), GeomFromEWKT('SRID=4674;POINT (-39.023121 -3.354684)'))) / (select extract(epoch from '2026-08-10 18:45:38'::timestamp) - extract(epoch from '2026-08-10 18:45: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'), 48138, 'SRID=4674;POINT (-39.023072 -3.354688)', '2026-08-10 18:45:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023121 -3.354684)'), GeomFromEWKT('SRID=4674;POINT (-39.023072 -3.354688)'))) / (select extract(epoch from '2026-08-10 18:45:48'::timestamp) - extract(epoch from '2026-08-10 18:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023121 -3.354684)'), GeomFromEWKT('SRID=4674;POINT (-39.023072 -3.354688)'))) / (select extract(epoch from '2026-08-10 18:45:48'::timestamp) - extract(epoch from '2026-08-10 18:45: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'), 48138, 'SRID=4674;POINT (-39.023047 -3.354705)', '2026-08-10 18:45:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023072 -3.354688)'), GeomFromEWKT('SRID=4674;POINT (-39.023047 -3.354705)'))) / (select extract(epoch from '2026-08-10 18:45:57'::timestamp) - extract(epoch from '2026-08-10 18:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023072 -3.354688)'), GeomFromEWKT('SRID=4674;POINT (-39.023047 -3.354705)'))) / (select extract(epoch from '2026-08-10 18:45:57'::timestamp) - extract(epoch from '2026-08-10 18:45: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'), 48138, 'SRID=4674;POINT (-39.023016 -3.354718)', '2026-08-10 18:46:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023047 -3.354705)'), GeomFromEWKT('SRID=4674;POINT (-39.023016 -3.354718)'))) / (select extract(epoch from '2026-08-10 18:46:06'::timestamp) - extract(epoch from '2026-08-10 18:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023047 -3.354705)'), GeomFromEWKT('SRID=4674;POINT (-39.023016 -3.354718)'))) / (select extract(epoch from '2026-08-10 18:46:06'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.022973 -3.354716)', '2026-08-10 18:46:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023016 -3.354718)'), GeomFromEWKT('SRID=4674;POINT (-39.022973 -3.354716)'))) / (select extract(epoch from '2026-08-10 18:46:14'::timestamp) - extract(epoch from '2026-08-10 18:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023016 -3.354718)'), GeomFromEWKT('SRID=4674;POINT (-39.022973 -3.354716)'))) / (select extract(epoch from '2026-08-10 18:46:14'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.022947 -3.35472)', '2026-08-10 18:46:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022973 -3.354716)'), GeomFromEWKT('SRID=4674;POINT (-39.022947 -3.35472)'))) / (select extract(epoch from '2026-08-10 18:46:23'::timestamp) - extract(epoch from '2026-08-10 18:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022973 -3.354716)'), GeomFromEWKT('SRID=4674;POINT (-39.022947 -3.35472)'))) / (select extract(epoch from '2026-08-10 18:46:23'::timestamp) - extract(epoch from '2026-08-10 18:46:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022922 -3.354734)', '2026-08-10 18:46:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022947 -3.35472)'), GeomFromEWKT('SRID=4674;POINT (-39.022922 -3.354734)'))) / (select extract(epoch from '2026-08-10 18:46:30'::timestamp) - extract(epoch from '2026-08-10 18:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022947 -3.35472)'), GeomFromEWKT('SRID=4674;POINT (-39.022922 -3.354734)'))) / (select extract(epoch from '2026-08-10 18:46:30'::timestamp) - extract(epoch from '2026-08-10 18:46:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022896 -3.354734)', '2026-08-10 18:46:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022922 -3.354734)'), GeomFromEWKT('SRID=4674;POINT (-39.022896 -3.354734)'))) / (select extract(epoch from '2026-08-10 18:46:39'::timestamp) - extract(epoch from '2026-08-10 18:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022922 -3.354734)'), GeomFromEWKT('SRID=4674;POINT (-39.022896 -3.354734)'))) / (select extract(epoch from '2026-08-10 18:46:39'::timestamp) - extract(epoch from '2026-08-10 18:46: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'), 48138, 'SRID=4674;POINT (-39.022883 -3.354737)', '2026-08-10 18:46:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022896 -3.354734)'), GeomFromEWKT('SRID=4674;POINT (-39.022883 -3.354737)'))) / (select extract(epoch from '2026-08-10 18:46:45'::timestamp) - extract(epoch from '2026-08-10 18:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022896 -3.354734)'), GeomFromEWKT('SRID=4674;POINT (-39.022883 -3.354737)'))) / (select extract(epoch from '2026-08-10 18:46:45'::timestamp) - extract(epoch from '2026-08-10 18:46: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'), 48138, 'SRID=4674;POINT (-39.022866 -3.354746)', '2026-08-10 18:46:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022883 -3.354737)'), GeomFromEWKT('SRID=4674;POINT (-39.022866 -3.354746)'))) / (select extract(epoch from '2026-08-10 18:46:52'::timestamp) - extract(epoch from '2026-08-10 18:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022883 -3.354737)'), GeomFromEWKT('SRID=4674;POINT (-39.022866 -3.354746)'))) / (select extract(epoch from '2026-08-10 18:46:52'::timestamp) - extract(epoch from '2026-08-10 18:46:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022848 -3.354752)', '2026-08-10 18:46:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022866 -3.354746)'), GeomFromEWKT('SRID=4674;POINT (-39.022848 -3.354752)'))) / (select extract(epoch from '2026-08-10 18:46:59'::timestamp) - extract(epoch from '2026-08-10 18:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022866 -3.354746)'), GeomFromEWKT('SRID=4674;POINT (-39.022848 -3.354752)'))) / (select extract(epoch from '2026-08-10 18:46:59'::timestamp) - extract(epoch from '2026-08-10 18:46:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022829 -3.354751)', '2026-08-10 18:47:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022848 -3.354752)'), GeomFromEWKT('SRID=4674;POINT (-39.022829 -3.354751)'))) / (select extract(epoch from '2026-08-10 18:47:06'::timestamp) - extract(epoch from '2026-08-10 18:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022848 -3.354752)'), GeomFromEWKT('SRID=4674;POINT (-39.022829 -3.354751)'))) / (select extract(epoch from '2026-08-10 18:47:06'::timestamp) - extract(epoch from '2026-08-10 18:46:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022815 -3.354761)', '2026-08-10 18:47:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022829 -3.354751)'), GeomFromEWKT('SRID=4674;POINT (-39.022815 -3.354761)'))) / (select extract(epoch from '2026-08-10 18:47:15'::timestamp) - extract(epoch from '2026-08-10 18:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022829 -3.354751)'), GeomFromEWKT('SRID=4674;POINT (-39.022815 -3.354761)'))) / (select extract(epoch from '2026-08-10 18:47:15'::timestamp) - extract(epoch from '2026-08-10 18:47:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.0228 -3.354748)', '2026-08-10 18:47:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022815 -3.354761)'), GeomFromEWKT('SRID=4674;POINT (-39.0228 -3.354748)'))) / (select extract(epoch from '2026-08-10 18:47:22'::timestamp) - extract(epoch from '2026-08-10 18:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022815 -3.354761)'), GeomFromEWKT('SRID=4674;POINT (-39.0228 -3.354748)'))) / (select extract(epoch from '2026-08-10 18:47:22'::timestamp) - extract(epoch from '2026-08-10 18:47: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'), 48138, 'SRID=4674;POINT (-39.022752 -3.35476)', '2026-08-10 18:47:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0228 -3.354748)'), GeomFromEWKT('SRID=4674;POINT (-39.022752 -3.35476)'))) / (select extract(epoch from '2026-08-10 18:47:31'::timestamp) - extract(epoch from '2026-08-10 18:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0228 -3.354748)'), GeomFromEWKT('SRID=4674;POINT (-39.022752 -3.35476)'))) / (select extract(epoch from '2026-08-10 18:47:31'::timestamp) - extract(epoch from '2026-08-10 18:47: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'), 48138, 'SRID=4674;POINT (-39.02271 -3.354765)', '2026-08-10 18:47:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022752 -3.35476)'), GeomFromEWKT('SRID=4674;POINT (-39.02271 -3.354765)'))) / (select extract(epoch from '2026-08-10 18:47:39'::timestamp) - extract(epoch from '2026-08-10 18:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022752 -3.35476)'), GeomFromEWKT('SRID=4674;POINT (-39.02271 -3.354765)'))) / (select extract(epoch from '2026-08-10 18:47:39'::timestamp) - extract(epoch from '2026-08-10 18:47: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'), 48138, 'SRID=4674;POINT (-39.02269 -3.354776)', '2026-08-10 18:47:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02271 -3.354765)'), GeomFromEWKT('SRID=4674;POINT (-39.02269 -3.354776)'))) / (select extract(epoch from '2026-08-10 18:47:49'::timestamp) - extract(epoch from '2026-08-10 18:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02271 -3.354765)'), GeomFromEWKT('SRID=4674;POINT (-39.02269 -3.354776)'))) / (select extract(epoch from '2026-08-10 18:47:49'::timestamp) - extract(epoch from '2026-08-10 18:47:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022686 -3.354777)', '2026-08-10 18:47:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02269 -3.354776)'), GeomFromEWKT('SRID=4674;POINT (-39.022686 -3.354777)'))) / (select extract(epoch from '2026-08-10 18:47:56'::timestamp) - extract(epoch from '2026-08-10 18:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02269 -3.354776)'), GeomFromEWKT('SRID=4674;POINT (-39.022686 -3.354777)'))) / (select extract(epoch from '2026-08-10 18:47:56'::timestamp) - extract(epoch from '2026-08-10 18:47:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022665 -3.354788)', '2026-08-10 18:48:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022686 -3.354777)'), GeomFromEWKT('SRID=4674;POINT (-39.022665 -3.354788)'))) / (select extract(epoch from '2026-08-10 18:48:05'::timestamp) - extract(epoch from '2026-08-10 18:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022686 -3.354777)'), GeomFromEWKT('SRID=4674;POINT (-39.022665 -3.354788)'))) / (select extract(epoch from '2026-08-10 18:48:05'::timestamp) - extract(epoch from '2026-08-10 18:47:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022616 -3.354799)', '2026-08-10 18:48:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022665 -3.354788)'), GeomFromEWKT('SRID=4674;POINT (-39.022616 -3.354799)'))) / (select extract(epoch from '2026-08-10 18:48:13'::timestamp) - extract(epoch from '2026-08-10 18:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022665 -3.354788)'), GeomFromEWKT('SRID=4674;POINT (-39.022616 -3.354799)'))) / (select extract(epoch from '2026-08-10 18:48:13'::timestamp) - extract(epoch from '2026-08-10 18:48: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'), 48138, 'SRID=4674;POINT (-39.022602 -3.354798)', '2026-08-10 18:48:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022616 -3.354799)'), GeomFromEWKT('SRID=4674;POINT (-39.022602 -3.354798)'))) / (select extract(epoch from '2026-08-10 18:48:18'::timestamp) - extract(epoch from '2026-08-10 18:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022616 -3.354799)'), GeomFromEWKT('SRID=4674;POINT (-39.022602 -3.354798)'))) / (select extract(epoch from '2026-08-10 18:48:18'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.022572 -3.354808)', '2026-08-10 18:48:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022602 -3.354798)'), GeomFromEWKT('SRID=4674;POINT (-39.022572 -3.354808)'))) / (select extract(epoch from '2026-08-10 18:48:25'::timestamp) - extract(epoch from '2026-08-10 18:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022602 -3.354798)'), GeomFromEWKT('SRID=4674;POINT (-39.022572 -3.354808)'))) / (select extract(epoch from '2026-08-10 18:48:25'::timestamp) - extract(epoch from '2026-08-10 18:48: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'), 48138, 'SRID=4674;POINT (-39.022556 -3.354818)', '2026-08-10 18:48:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022572 -3.354808)'), GeomFromEWKT('SRID=4674;POINT (-39.022556 -3.354818)'))) / (select extract(epoch from '2026-08-10 18:48:35'::timestamp) - extract(epoch from '2026-08-10 18:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022572 -3.354808)'), GeomFromEWKT('SRID=4674;POINT (-39.022556 -3.354818)'))) / (select extract(epoch from '2026-08-10 18:48:35'::timestamp) - extract(epoch from '2026-08-10 18:48: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'), 48138, 'SRID=4674;POINT (-39.02252 -3.354825)', '2026-08-10 18:48:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022556 -3.354818)'), GeomFromEWKT('SRID=4674;POINT (-39.02252 -3.354825)'))) / (select extract(epoch from '2026-08-10 18:48:43'::timestamp) - extract(epoch from '2026-08-10 18:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022556 -3.354818)'), GeomFromEWKT('SRID=4674;POINT (-39.02252 -3.354825)'))) / (select extract(epoch from '2026-08-10 18:48:43'::timestamp) - extract(epoch from '2026-08-10 18:48: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'), 48138, 'SRID=4674;POINT (-39.022459 -3.354838)', '2026-08-10 18:48:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02252 -3.354825)'), GeomFromEWKT('SRID=4674;POINT (-39.022459 -3.354838)'))) / (select extract(epoch from '2026-08-10 18:48:51'::timestamp) - extract(epoch from '2026-08-10 18:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02252 -3.354825)'), GeomFromEWKT('SRID=4674;POINT (-39.022459 -3.354838)'))) / (select extract(epoch from '2026-08-10 18:48:51'::timestamp) - extract(epoch from '2026-08-10 18:48:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.0224 -3.354866)', '2026-08-10 18:49:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022459 -3.354838)'), GeomFromEWKT('SRID=4674;POINT (-39.0224 -3.354866)'))) / (select extract(epoch from '2026-08-10 18:49:03'::timestamp) - extract(epoch from '2026-08-10 18:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022459 -3.354838)'), GeomFromEWKT('SRID=4674;POINT (-39.0224 -3.354866)'))) / (select extract(epoch from '2026-08-10 18:49:03'::timestamp) - extract(epoch from '2026-08-10 18:48: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'), 48138, 'SRID=4674;POINT (-39.02236 -3.35488)', '2026-08-10 18:49:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0224 -3.354866)'), GeomFromEWKT('SRID=4674;POINT (-39.02236 -3.35488)'))) / (select extract(epoch from '2026-08-10 18:49:11'::timestamp) - extract(epoch from '2026-08-10 18:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0224 -3.354866)'), GeomFromEWKT('SRID=4674;POINT (-39.02236 -3.35488)'))) / (select extract(epoch from '2026-08-10 18:49:11'::timestamp) - extract(epoch from '2026-08-10 18:49: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'), 48138, 'SRID=4674;POINT (-39.022321 -3.354878)', '2026-08-10 18:49:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02236 -3.35488)'), GeomFromEWKT('SRID=4674;POINT (-39.022321 -3.354878)'))) / (select extract(epoch from '2026-08-10 18:49:19'::timestamp) - extract(epoch from '2026-08-10 18:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02236 -3.35488)'), GeomFromEWKT('SRID=4674;POINT (-39.022321 -3.354878)'))) / (select extract(epoch from '2026-08-10 18:49:19'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.02231 -3.354883)', '2026-08-10 18:49:25', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022321 -3.354878)'), GeomFromEWKT('SRID=4674;POINT (-39.02231 -3.354883)'))) / (select extract(epoch from '2026-08-10 18:49:25'::timestamp) - extract(epoch from '2026-08-10 18:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022321 -3.354878)'), GeomFromEWKT('SRID=4674;POINT (-39.02231 -3.354883)'))) / (select extract(epoch from '2026-08-10 18:49:25'::timestamp) - extract(epoch from '2026-08-10 18:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022302 -3.354893)', '2026-08-10 18:49:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02231 -3.354883)'), GeomFromEWKT('SRID=4674;POINT (-39.022302 -3.354893)'))) / (select extract(epoch from '2026-08-10 18:49:29'::timestamp) - extract(epoch from '2026-08-10 18:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02231 -3.354883)'), GeomFromEWKT('SRID=4674;POINT (-39.022302 -3.354893)'))) / (select extract(epoch from '2026-08-10 18:49:29'::timestamp) - extract(epoch from '2026-08-10 18:49:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022269 -3.354906)', '2026-08-10 18:49:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022302 -3.354893)'), GeomFromEWKT('SRID=4674;POINT (-39.022269 -3.354906)'))) / (select extract(epoch from '2026-08-10 18:49:36'::timestamp) - extract(epoch from '2026-08-10 18:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022302 -3.354893)'), GeomFromEWKT('SRID=4674;POINT (-39.022269 -3.354906)'))) / (select extract(epoch from '2026-08-10 18:49:36'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.022248 -3.354921)', '2026-08-10 18:49:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022269 -3.354906)'), GeomFromEWKT('SRID=4674;POINT (-39.022248 -3.354921)'))) / (select extract(epoch from '2026-08-10 18:49:43'::timestamp) - extract(epoch from '2026-08-10 18:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022269 -3.354906)'), GeomFromEWKT('SRID=4674;POINT (-39.022248 -3.354921)'))) / (select extract(epoch from '2026-08-10 18:49:43'::timestamp) - extract(epoch from '2026-08-10 18:49: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'), 48138, 'SRID=4674;POINT (-39.022214 -3.35492)', '2026-08-10 18:49:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022248 -3.354921)'), GeomFromEWKT('SRID=4674;POINT (-39.022214 -3.35492)'))) / (select extract(epoch from '2026-08-10 18:49:50'::timestamp) - extract(epoch from '2026-08-10 18:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022248 -3.354921)'), GeomFromEWKT('SRID=4674;POINT (-39.022214 -3.35492)'))) / (select extract(epoch from '2026-08-10 18:49:50'::timestamp) - extract(epoch from '2026-08-10 18:49:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022166 -3.354918)', '2026-08-10 18:49:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022214 -3.35492)'), GeomFromEWKT('SRID=4674;POINT (-39.022166 -3.354918)'))) / (select extract(epoch from '2026-08-10 18:49:59'::timestamp) - extract(epoch from '2026-08-10 18:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022214 -3.35492)'), GeomFromEWKT('SRID=4674;POINT (-39.022166 -3.354918)'))) / (select extract(epoch from '2026-08-10 18:49:59'::timestamp) - extract(epoch from '2026-08-10 18:49:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.022145 -3.35493)', '2026-08-10 18:50:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022166 -3.354918)'), GeomFromEWKT('SRID=4674;POINT (-39.022145 -3.35493)'))) / (select extract(epoch from '2026-08-10 18:50:06'::timestamp) - extract(epoch from '2026-08-10 18:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022166 -3.354918)'), GeomFromEWKT('SRID=4674;POINT (-39.022145 -3.35493)'))) / (select extract(epoch from '2026-08-10 18:50:06'::timestamp) - extract(epoch from '2026-08-10 18:49: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'), 48138, 'SRID=4674;POINT (-39.022123 -3.354945)', '2026-08-10 18:50:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022145 -3.35493)'), GeomFromEWKT('SRID=4674;POINT (-39.022123 -3.354945)'))) / (select extract(epoch from '2026-08-10 18:50:14'::timestamp) - extract(epoch from '2026-08-10 18:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022145 -3.35493)'), GeomFromEWKT('SRID=4674;POINT (-39.022123 -3.354945)'))) / (select extract(epoch from '2026-08-10 18:50:14'::timestamp) - extract(epoch from '2026-08-10 18:50: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'), 48138, 'SRID=4674;POINT (-39.022102 -3.35496)', '2026-08-10 18:50:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022123 -3.354945)'), GeomFromEWKT('SRID=4674;POINT (-39.022102 -3.35496)'))) / (select extract(epoch from '2026-08-10 18:50:20'::timestamp) - extract(epoch from '2026-08-10 18:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022123 -3.354945)'), GeomFromEWKT('SRID=4674;POINT (-39.022102 -3.35496)'))) / (select extract(epoch from '2026-08-10 18:50:20'::timestamp) - extract(epoch from '2026-08-10 18:50: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'), 48138, 'SRID=4674;POINT (-39.022056 -3.35497)', '2026-08-10 18:50:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022102 -3.35496)'), GeomFromEWKT('SRID=4674;POINT (-39.022056 -3.35497)'))) / (select extract(epoch from '2026-08-10 18:50:28'::timestamp) - extract(epoch from '2026-08-10 18:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022102 -3.35496)'), GeomFromEWKT('SRID=4674;POINT (-39.022056 -3.35497)'))) / (select extract(epoch from '2026-08-10 18:50:28'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.022018 -3.354977)', '2026-08-10 18:50:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022056 -3.35497)'), GeomFromEWKT('SRID=4674;POINT (-39.022018 -3.354977)'))) / (select extract(epoch from '2026-08-10 18:50:36'::timestamp) - extract(epoch from '2026-08-10 18:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022056 -3.35497)'), GeomFromEWKT('SRID=4674;POINT (-39.022018 -3.354977)'))) / (select extract(epoch from '2026-08-10 18:50:36'::timestamp) - extract(epoch from '2026-08-10 18:50:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.021991 -3.354999)', '2026-08-10 18:50:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022018 -3.354977)'), GeomFromEWKT('SRID=4674;POINT (-39.021991 -3.354999)'))) / (select extract(epoch from '2026-08-10 18:50:43'::timestamp) - extract(epoch from '2026-08-10 18:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022018 -3.354977)'), GeomFromEWKT('SRID=4674;POINT (-39.021991 -3.354999)'))) / (select extract(epoch from '2026-08-10 18:50:43'::timestamp) - extract(epoch from '2026-08-10 18:50:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.021986 -3.355002)', '2026-08-10 18:50:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021991 -3.354999)'), GeomFromEWKT('SRID=4674;POINT (-39.021986 -3.355002)'))) / (select extract(epoch from '2026-08-10 18:50:48'::timestamp) - extract(epoch from '2026-08-10 18:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021991 -3.354999)'), GeomFromEWKT('SRID=4674;POINT (-39.021986 -3.355002)'))) / (select extract(epoch from '2026-08-10 18:50:48'::timestamp) - extract(epoch from '2026-08-10 18:50: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'), 48138, 'SRID=4674;POINT (-39.021971 -3.355011)', '2026-08-10 18:50:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021986 -3.355002)'), GeomFromEWKT('SRID=4674;POINT (-39.021971 -3.355011)'))) / (select extract(epoch from '2026-08-10 18:50:54'::timestamp) - extract(epoch from '2026-08-10 18:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021986 -3.355002)'), GeomFromEWKT('SRID=4674;POINT (-39.021971 -3.355011)'))) / (select extract(epoch from '2026-08-10 18:50:54'::timestamp) - extract(epoch from '2026-08-10 18:50:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02193 -3.355024)', '2026-08-10 18:51:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021971 -3.355011)'), GeomFromEWKT('SRID=4674;POINT (-39.02193 -3.355024)'))) / (select extract(epoch from '2026-08-10 18:51:02'::timestamp) - extract(epoch from '2026-08-10 18:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021971 -3.355011)'), GeomFromEWKT('SRID=4674;POINT (-39.02193 -3.355024)'))) / (select extract(epoch from '2026-08-10 18:51:02'::timestamp) - extract(epoch from '2026-08-10 18:50: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'), 48138, 'SRID=4674;POINT (-39.021897 -3.355037)', '2026-08-10 18:51:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02193 -3.355024)'), GeomFromEWKT('SRID=4674;POINT (-39.021897 -3.355037)'))) / (select extract(epoch from '2026-08-10 18:51:09'::timestamp) - extract(epoch from '2026-08-10 18:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02193 -3.355024)'), GeomFromEWKT('SRID=4674;POINT (-39.021897 -3.355037)'))) / (select extract(epoch from '2026-08-10 18:51:09'::timestamp) - extract(epoch from '2026-08-10 18:51: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'), 48138, 'SRID=4674;POINT (-39.021877 -3.35505)', '2026-08-10 18:51:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021897 -3.355037)'), GeomFromEWKT('SRID=4674;POINT (-39.021877 -3.35505)'))) / (select extract(epoch from '2026-08-10 18:51:17'::timestamp) - extract(epoch from '2026-08-10 18:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021897 -3.355037)'), GeomFromEWKT('SRID=4674;POINT (-39.021877 -3.35505)'))) / (select extract(epoch from '2026-08-10 18:51:17'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.021817 -3.355061)', '2026-08-10 18:51:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021877 -3.35505)'), GeomFromEWKT('SRID=4674;POINT (-39.021817 -3.355061)'))) / (select extract(epoch from '2026-08-10 18:51:27'::timestamp) - extract(epoch from '2026-08-10 18:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021877 -3.35505)'), GeomFromEWKT('SRID=4674;POINT (-39.021817 -3.355061)'))) / (select extract(epoch from '2026-08-10 18:51:27'::timestamp) - extract(epoch from '2026-08-10 18:51:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.021777 -3.355082)', '2026-08-10 18:51:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021817 -3.355061)'), GeomFromEWKT('SRID=4674;POINT (-39.021777 -3.355082)'))) / (select extract(epoch from '2026-08-10 18:51:38'::timestamp) - extract(epoch from '2026-08-10 18:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021817 -3.355061)'), GeomFromEWKT('SRID=4674;POINT (-39.021777 -3.355082)'))) / (select extract(epoch from '2026-08-10 18:51:38'::timestamp) - extract(epoch from '2026-08-10 18:51: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'), 48138, 'SRID=4674;POINT (-39.021729 -3.355089)', '2026-08-10 18:51:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021777 -3.355082)'), GeomFromEWKT('SRID=4674;POINT (-39.021729 -3.355089)'))) / (select extract(epoch from '2026-08-10 18:51:46'::timestamp) - extract(epoch from '2026-08-10 18:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021777 -3.355082)'), GeomFromEWKT('SRID=4674;POINT (-39.021729 -3.355089)'))) / (select extract(epoch from '2026-08-10 18:51:46'::timestamp) - extract(epoch from '2026-08-10 18:51: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'), 48138, 'SRID=4674;POINT (-39.021695 -3.355092)', '2026-08-10 18:51:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021729 -3.355089)'), GeomFromEWKT('SRID=4674;POINT (-39.021695 -3.355092)'))) / (select extract(epoch from '2026-08-10 18:51:55'::timestamp) - extract(epoch from '2026-08-10 18:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021729 -3.355089)'), GeomFromEWKT('SRID=4674;POINT (-39.021695 -3.355092)'))) / (select extract(epoch from '2026-08-10 18:51:55'::timestamp) - extract(epoch from '2026-08-10 18:51: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'), 48138, 'SRID=4674;POINT (-39.021645 -3.355111)', '2026-08-10 18:52:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021695 -3.355092)'), GeomFromEWKT('SRID=4674;POINT (-39.021645 -3.355111)'))) / (select extract(epoch from '2026-08-10 18:52:06'::timestamp) - extract(epoch from '2026-08-10 18:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021695 -3.355092)'), GeomFromEWKT('SRID=4674;POINT (-39.021645 -3.355111)'))) / (select extract(epoch from '2026-08-10 18:52:06'::timestamp) - extract(epoch from '2026-08-10 18:51: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'), 48138, 'SRID=4674;POINT (-39.021611 -3.35512)', '2026-08-10 18:52:13', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021645 -3.355111)'), GeomFromEWKT('SRID=4674;POINT (-39.021611 -3.35512)'))) / (select extract(epoch from '2026-08-10 18:52:13'::timestamp) - extract(epoch from '2026-08-10 18:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021645 -3.355111)'), GeomFromEWKT('SRID=4674;POINT (-39.021611 -3.35512)'))) / (select extract(epoch from '2026-08-10 18:52:13'::timestamp) - extract(epoch from '2026-08-10 18:52: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'), 48138, 'SRID=4674;POINT (-39.021583 -3.355111)', '2026-08-10 18:52:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021611 -3.35512)'), GeomFromEWKT('SRID=4674;POINT (-39.021583 -3.355111)'))) / (select extract(epoch from '2026-08-10 18:52:18'::timestamp) - extract(epoch from '2026-08-10 18:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021611 -3.35512)'), GeomFromEWKT('SRID=4674;POINT (-39.021583 -3.355111)'))) / (select extract(epoch from '2026-08-10 18:52:18'::timestamp) - extract(epoch from '2026-08-10 18:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.021561 -3.355108)', '2026-08-10 18:52:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021583 -3.355111)'), GeomFromEWKT('SRID=4674;POINT (-39.021561 -3.355108)'))) / (select extract(epoch from '2026-08-10 18:52:21'::timestamp) - extract(epoch from '2026-08-10 18:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021583 -3.355111)'), GeomFromEWKT('SRID=4674;POINT (-39.021561 -3.355108)'))) / (select extract(epoch from '2026-08-10 18:52:21'::timestamp) - extract(epoch from '2026-08-10 18:52: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'), 48138, 'SRID=4674;POINT (-39.021554 -3.355111)', '2026-08-10 18:52:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021561 -3.355108)'), GeomFromEWKT('SRID=4674;POINT (-39.021554 -3.355111)'))) / (select extract(epoch from '2026-08-10 18:52:23'::timestamp) - extract(epoch from '2026-08-10 18:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021561 -3.355108)'), GeomFromEWKT('SRID=4674;POINT (-39.021554 -3.355111)'))) / (select extract(epoch from '2026-08-10 18:52:23'::timestamp) - extract(epoch from '2026-08-10 18:52: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'), 48138, 'SRID=4674;POINT (-39.021544 -3.355134)', '2026-08-10 18:52:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021554 -3.355111)'), GeomFromEWKT('SRID=4674;POINT (-39.021544 -3.355134)'))) / (select extract(epoch from '2026-08-10 18:52:31'::timestamp) - extract(epoch from '2026-08-10 18:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021554 -3.355111)'), GeomFromEWKT('SRID=4674;POINT (-39.021544 -3.355134)'))) / (select extract(epoch from '2026-08-10 18:52:31'::timestamp) - extract(epoch from '2026-08-10 18:52: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'), 48138, 'SRID=4674;POINT (-39.021521 -3.355154)', '2026-08-10 18:52:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021544 -3.355134)'), GeomFromEWKT('SRID=4674;POINT (-39.021521 -3.355154)'))) / (select extract(epoch from '2026-08-10 18:52:40'::timestamp) - extract(epoch from '2026-08-10 18:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021544 -3.355134)'), GeomFromEWKT('SRID=4674;POINT (-39.021521 -3.355154)'))) / (select extract(epoch from '2026-08-10 18:52:40'::timestamp) - extract(epoch from '2026-08-10 18:52: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'), 48138, 'SRID=4674;POINT (-39.021496 -3.355164)', '2026-08-10 18:52:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021521 -3.355154)'), GeomFromEWKT('SRID=4674;POINT (-39.021496 -3.355164)'))) / (select extract(epoch from '2026-08-10 18:52:47'::timestamp) - extract(epoch from '2026-08-10 18:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021521 -3.355154)'), GeomFromEWKT('SRID=4674;POINT (-39.021496 -3.355164)'))) / (select extract(epoch from '2026-08-10 18:52:47'::timestamp) - extract(epoch from '2026-08-10 18:52: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'), 48138, 'SRID=4674;POINT (-39.021459 -3.355175)', '2026-08-10 18:52:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021496 -3.355164)'), GeomFromEWKT('SRID=4674;POINT (-39.021459 -3.355175)'))) / (select extract(epoch from '2026-08-10 18:52:56'::timestamp) - extract(epoch from '2026-08-10 18:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021496 -3.355164)'), GeomFromEWKT('SRID=4674;POINT (-39.021459 -3.355175)'))) / (select extract(epoch from '2026-08-10 18:52:56'::timestamp) - extract(epoch from '2026-08-10 18:52: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'), 48138, 'SRID=4674;POINT (-39.021436 -3.355207)', '2026-08-10 18:53:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021459 -3.355175)'), GeomFromEWKT('SRID=4674;POINT (-39.021436 -3.355207)'))) / (select extract(epoch from '2026-08-10 18:53:05'::timestamp) - extract(epoch from '2026-08-10 18:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021459 -3.355175)'), GeomFromEWKT('SRID=4674;POINT (-39.021436 -3.355207)'))) / (select extract(epoch from '2026-08-10 18:53:05'::timestamp) - extract(epoch from '2026-08-10 18:52: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'), 48138, 'SRID=4674;POINT (-39.02139 -3.355225)', '2026-08-10 18:53:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021436 -3.355207)'), GeomFromEWKT('SRID=4674;POINT (-39.02139 -3.355225)'))) / (select extract(epoch from '2026-08-10 18:53:15'::timestamp) - extract(epoch from '2026-08-10 18:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021436 -3.355207)'), GeomFromEWKT('SRID=4674;POINT (-39.02139 -3.355225)'))) / (select extract(epoch from '2026-08-10 18:53:15'::timestamp) - extract(epoch from '2026-08-10 18:53: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'), 48138, 'SRID=4674;POINT (-39.021356 -3.355226)', '2026-08-10 18:53:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02139 -3.355225)'), GeomFromEWKT('SRID=4674;POINT (-39.021356 -3.355226)'))) / (select extract(epoch from '2026-08-10 18:53:23'::timestamp) - extract(epoch from '2026-08-10 18:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02139 -3.355225)'), GeomFromEWKT('SRID=4674;POINT (-39.021356 -3.355226)'))) / (select extract(epoch from '2026-08-10 18:53:23'::timestamp) - extract(epoch from '2026-08-10 18:53: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'), 48138, 'SRID=4674;POINT (-39.021324 -3.35523)', '2026-08-10 18:53:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021356 -3.355226)'), GeomFromEWKT('SRID=4674;POINT (-39.021324 -3.35523)'))) / (select extract(epoch from '2026-08-10 18:53:30'::timestamp) - extract(epoch from '2026-08-10 18:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021356 -3.355226)'), GeomFromEWKT('SRID=4674;POINT (-39.021324 -3.35523)'))) / (select extract(epoch from '2026-08-10 18:53:30'::timestamp) - extract(epoch from '2026-08-10 18:53: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'), 48138, 'SRID=4674;POINT (-39.021278 -3.355246)', '2026-08-10 18:53:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021324 -3.35523)'), GeomFromEWKT('SRID=4674;POINT (-39.021278 -3.355246)'))) / (select extract(epoch from '2026-08-10 18:53:39'::timestamp) - extract(epoch from '2026-08-10 18:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021324 -3.35523)'), GeomFromEWKT('SRID=4674;POINT (-39.021278 -3.355246)'))) / (select extract(epoch from '2026-08-10 18:53:39'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.021231 -3.355267)', '2026-08-10 18:53:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021278 -3.355246)'), GeomFromEWKT('SRID=4674;POINT (-39.021231 -3.355267)'))) / (select extract(epoch from '2026-08-10 18:53:52'::timestamp) - extract(epoch from '2026-08-10 18:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021278 -3.355246)'), GeomFromEWKT('SRID=4674;POINT (-39.021231 -3.355267)'))) / (select extract(epoch from '2026-08-10 18:53:52'::timestamp) - extract(epoch from '2026-08-10 18:53:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.021197 -3.355278)', '2026-08-10 18:54:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021231 -3.355267)'), GeomFromEWKT('SRID=4674;POINT (-39.021197 -3.355278)'))) / (select extract(epoch from '2026-08-10 18:54:01'::timestamp) - extract(epoch from '2026-08-10 18:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021231 -3.355267)'), GeomFromEWKT('SRID=4674;POINT (-39.021197 -3.355278)'))) / (select extract(epoch from '2026-08-10 18:54:01'::timestamp) - extract(epoch from '2026-08-10 18:53: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'), 48138, 'SRID=4674;POINT (-39.02118 -3.355278)', '2026-08-10 18:54:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021197 -3.355278)'), GeomFromEWKT('SRID=4674;POINT (-39.02118 -3.355278)'))) / (select extract(epoch from '2026-08-10 18:54:08'::timestamp) - extract(epoch from '2026-08-10 18:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021197 -3.355278)'), GeomFromEWKT('SRID=4674;POINT (-39.02118 -3.355278)'))) / (select extract(epoch from '2026-08-10 18:54:08'::timestamp) - extract(epoch from '2026-08-10 18:54: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'), 48138, 'SRID=4674;POINT (-39.021147 -3.355297)', '2026-08-10 18:54:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02118 -3.355278)'), GeomFromEWKT('SRID=4674;POINT (-39.021147 -3.355297)'))) / (select extract(epoch from '2026-08-10 18:54:18'::timestamp) - extract(epoch from '2026-08-10 18:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02118 -3.355278)'), GeomFromEWKT('SRID=4674;POINT (-39.021147 -3.355297)'))) / (select extract(epoch from '2026-08-10 18:54:18'::timestamp) - extract(epoch from '2026-08-10 18:54: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'), 48138, 'SRID=4674;POINT (-39.021114 -3.355305)', '2026-08-10 18:54:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021147 -3.355297)'), GeomFromEWKT('SRID=4674;POINT (-39.021114 -3.355305)'))) / (select extract(epoch from '2026-08-10 18:54:25'::timestamp) - extract(epoch from '2026-08-10 18:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021147 -3.355297)'), GeomFromEWKT('SRID=4674;POINT (-39.021114 -3.355305)'))) / (select extract(epoch from '2026-08-10 18:54:25'::timestamp) - extract(epoch from '2026-08-10 18:54: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'), 48138, 'SRID=4674;POINT (-39.021095 -3.355318)', '2026-08-10 18:54:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021114 -3.355305)'), GeomFromEWKT('SRID=4674;POINT (-39.021095 -3.355318)'))) / (select extract(epoch from '2026-08-10 18:54:33'::timestamp) - extract(epoch from '2026-08-10 18:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021114 -3.355305)'), GeomFromEWKT('SRID=4674;POINT (-39.021095 -3.355318)'))) / (select extract(epoch from '2026-08-10 18:54:33'::timestamp) - extract(epoch from '2026-08-10 18:54: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'), 48138, 'SRID=4674;POINT (-39.021058 -3.35533)', '2026-08-10 18:54:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021095 -3.355318)'), GeomFromEWKT('SRID=4674;POINT (-39.021058 -3.35533)'))) / (select extract(epoch from '2026-08-10 18:54:40'::timestamp) - extract(epoch from '2026-08-10 18:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021095 -3.355318)'), GeomFromEWKT('SRID=4674;POINT (-39.021058 -3.35533)'))) / (select extract(epoch from '2026-08-10 18:54:40'::timestamp) - extract(epoch from '2026-08-10 18:54: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'), 48138, 'SRID=4674;POINT (-39.021007 -3.35535)', '2026-08-10 18:54:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021058 -3.35533)'), GeomFromEWKT('SRID=4674;POINT (-39.021007 -3.35535)'))) / (select extract(epoch from '2026-08-10 18:54:51'::timestamp) - extract(epoch from '2026-08-10 18:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021058 -3.35533)'), GeomFromEWKT('SRID=4674;POINT (-39.021007 -3.35535)'))) / (select extract(epoch from '2026-08-10 18:54:51'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.020974 -3.355372)', '2026-08-10 18:55:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021007 -3.35535)'), GeomFromEWKT('SRID=4674;POINT (-39.020974 -3.355372)'))) / (select extract(epoch from '2026-08-10 18:55:02'::timestamp) - extract(epoch from '2026-08-10 18:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021007 -3.35535)'), GeomFromEWKT('SRID=4674;POINT (-39.020974 -3.355372)'))) / (select extract(epoch from '2026-08-10 18:55:02'::timestamp) - extract(epoch from '2026-08-10 18:54:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020923 -3.355391)', '2026-08-10 18:55:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020974 -3.355372)'), GeomFromEWKT('SRID=4674;POINT (-39.020923 -3.355391)'))) / (select extract(epoch from '2026-08-10 18:55:13'::timestamp) - extract(epoch from '2026-08-10 18:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020974 -3.355372)'), GeomFromEWKT('SRID=4674;POINT (-39.020923 -3.355391)'))) / (select extract(epoch from '2026-08-10 18:55:13'::timestamp) - extract(epoch from '2026-08-10 18:55: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'), 48138, 'SRID=4674;POINT (-39.020898 -3.355392)', '2026-08-10 18:55:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020923 -3.355391)'), GeomFromEWKT('SRID=4674;POINT (-39.020898 -3.355392)'))) / (select extract(epoch from '2026-08-10 18:55:18'::timestamp) - extract(epoch from '2026-08-10 18:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020923 -3.355391)'), GeomFromEWKT('SRID=4674;POINT (-39.020898 -3.355392)'))) / (select extract(epoch from '2026-08-10 18:55:18'::timestamp) - extract(epoch from '2026-08-10 18:55:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020882 -3.355404)', '2026-08-10 18:55:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020898 -3.355392)'), GeomFromEWKT('SRID=4674;POINT (-39.020882 -3.355404)'))) / (select extract(epoch from '2026-08-10 18:55:25'::timestamp) - extract(epoch from '2026-08-10 18:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020898 -3.355392)'), GeomFromEWKT('SRID=4674;POINT (-39.020882 -3.355404)'))) / (select extract(epoch from '2026-08-10 18:55:25'::timestamp) - extract(epoch from '2026-08-10 18:55:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020879 -3.355408)', '2026-08-10 18:55:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020882 -3.355404)'), GeomFromEWKT('SRID=4674;POINT (-39.020879 -3.355408)'))) / (select extract(epoch from '2026-08-10 18:55:26'::timestamp) - extract(epoch from '2026-08-10 18:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020882 -3.355404)'), GeomFromEWKT('SRID=4674;POINT (-39.020879 -3.355408)'))) / (select extract(epoch from '2026-08-10 18:55:26'::timestamp) - extract(epoch from '2026-08-10 18:55: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'), 48138, 'SRID=4674;POINT (-39.02087 -3.355406)', '2026-08-10 18:55:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020879 -3.355408)'), GeomFromEWKT('SRID=4674;POINT (-39.02087 -3.355406)'))) / (select extract(epoch from '2026-08-10 18:55:29'::timestamp) - extract(epoch from '2026-08-10 18:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020879 -3.355408)'), GeomFromEWKT('SRID=4674;POINT (-39.02087 -3.355406)'))) / (select extract(epoch from '2026-08-10 18:55:29'::timestamp) - extract(epoch from '2026-08-10 18:55:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020849 -3.355419)', '2026-08-10 18:55:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02087 -3.355406)'), GeomFromEWKT('SRID=4674;POINT (-39.020849 -3.355419)'))) / (select extract(epoch from '2026-08-10 18:55:36'::timestamp) - extract(epoch from '2026-08-10 18:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02087 -3.355406)'), GeomFromEWKT('SRID=4674;POINT (-39.020849 -3.355419)'))) / (select extract(epoch from '2026-08-10 18:55:36'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.020812 -3.355427)', '2026-08-10 18:55:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020849 -3.355419)'), GeomFromEWKT('SRID=4674;POINT (-39.020812 -3.355427)'))) / (select extract(epoch from '2026-08-10 18:55:42'::timestamp) - extract(epoch from '2026-08-10 18:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020849 -3.355419)'), GeomFromEWKT('SRID=4674;POINT (-39.020812 -3.355427)'))) / (select extract(epoch from '2026-08-10 18:55:42'::timestamp) - extract(epoch from '2026-08-10 18:55: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'), 48138, 'SRID=4674;POINT (-39.020769 -3.355448)', '2026-08-10 18:55:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020812 -3.355427)'), GeomFromEWKT('SRID=4674;POINT (-39.020769 -3.355448)'))) / (select extract(epoch from '2026-08-10 18:55:50'::timestamp) - extract(epoch from '2026-08-10 18:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020812 -3.355427)'), GeomFromEWKT('SRID=4674;POINT (-39.020769 -3.355448)'))) / (select extract(epoch from '2026-08-10 18:55:50'::timestamp) - extract(epoch from '2026-08-10 18:55: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'), 48138, 'SRID=4674;POINT (-39.020751 -3.355453)', '2026-08-10 18:55:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020769 -3.355448)'), GeomFromEWKT('SRID=4674;POINT (-39.020751 -3.355453)'))) / (select extract(epoch from '2026-08-10 18:55:55'::timestamp) - extract(epoch from '2026-08-10 18:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020769 -3.355448)'), GeomFromEWKT('SRID=4674;POINT (-39.020751 -3.355453)'))) / (select extract(epoch from '2026-08-10 18:55:55'::timestamp) - extract(epoch from '2026-08-10 18:55: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'), 48138, 'SRID=4674;POINT (-39.020734 -3.355463)', '2026-08-10 18:56:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020751 -3.355453)'), GeomFromEWKT('SRID=4674;POINT (-39.020734 -3.355463)'))) / (select extract(epoch from '2026-08-10 18:56:00'::timestamp) - extract(epoch from '2026-08-10 18:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020751 -3.355453)'), GeomFromEWKT('SRID=4674;POINT (-39.020734 -3.355463)'))) / (select extract(epoch from '2026-08-10 18:56:00'::timestamp) - extract(epoch from '2026-08-10 18:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020727 -3.35546)', '2026-08-10 18:56:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020734 -3.355463)'), GeomFromEWKT('SRID=4674;POINT (-39.020727 -3.35546)'))) / (select extract(epoch from '2026-08-10 18:56:01'::timestamp) - extract(epoch from '2026-08-10 18:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020734 -3.355463)'), GeomFromEWKT('SRID=4674;POINT (-39.020727 -3.35546)'))) / (select extract(epoch from '2026-08-10 18:56:01'::timestamp) - extract(epoch from '2026-08-10 18:56:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020715 -3.355455)', '2026-08-10 18:56:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020727 -3.35546)'), GeomFromEWKT('SRID=4674;POINT (-39.020715 -3.355455)'))) / (select extract(epoch from '2026-08-10 18:56:04'::timestamp) - extract(epoch from '2026-08-10 18:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020727 -3.35546)'), GeomFromEWKT('SRID=4674;POINT (-39.020715 -3.355455)'))) / (select extract(epoch from '2026-08-10 18:56:04'::timestamp) - extract(epoch from '2026-08-10 18:56: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'), 48138, 'SRID=4674;POINT (-39.02071 -3.355455)', '2026-08-10 18:56:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020715 -3.355455)'), GeomFromEWKT('SRID=4674;POINT (-39.02071 -3.355455)'))) / (select extract(epoch from '2026-08-10 18:56:05'::timestamp) - extract(epoch from '2026-08-10 18:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020715 -3.355455)'), GeomFromEWKT('SRID=4674;POINT (-39.02071 -3.355455)'))) / (select extract(epoch from '2026-08-10 18:56:05'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.020684 -3.355465)', '2026-08-10 18:56:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02071 -3.355455)'), GeomFromEWKT('SRID=4674;POINT (-39.020684 -3.355465)'))) / (select extract(epoch from '2026-08-10 18:56:12'::timestamp) - extract(epoch from '2026-08-10 18:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02071 -3.355455)'), GeomFromEWKT('SRID=4674;POINT (-39.020684 -3.355465)'))) / (select extract(epoch from '2026-08-10 18:56:12'::timestamp) - extract(epoch from '2026-08-10 18:56:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020665 -3.355494)', '2026-08-10 18:56:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020684 -3.355465)'), GeomFromEWKT('SRID=4674;POINT (-39.020665 -3.355494)'))) / (select extract(epoch from '2026-08-10 18:56:19'::timestamp) - extract(epoch from '2026-08-10 18:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020684 -3.355465)'), GeomFromEWKT('SRID=4674;POINT (-39.020665 -3.355494)'))) / (select extract(epoch from '2026-08-10 18:56:19'::timestamp) - extract(epoch from '2026-08-10 18:56: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'), 48138, 'SRID=4674;POINT (-39.020658 -3.355512)', '2026-08-10 18:56:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020665 -3.355494)'), GeomFromEWKT('SRID=4674;POINT (-39.020658 -3.355512)'))) / (select extract(epoch from '2026-08-10 18:56:24'::timestamp) - extract(epoch from '2026-08-10 18:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020665 -3.355494)'), GeomFromEWKT('SRID=4674;POINT (-39.020658 -3.355512)'))) / (select extract(epoch from '2026-08-10 18:56:24'::timestamp) - extract(epoch from '2026-08-10 18:56: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'), 48138, 'SRID=4674;POINT (-39.020639 -3.355521)', '2026-08-10 18:56:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020658 -3.355512)'), GeomFromEWKT('SRID=4674;POINT (-39.020639 -3.355521)'))) / (select extract(epoch from '2026-08-10 18:56:29'::timestamp) - extract(epoch from '2026-08-10 18:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020658 -3.355512)'), GeomFromEWKT('SRID=4674;POINT (-39.020639 -3.355521)'))) / (select extract(epoch from '2026-08-10 18:56:29'::timestamp) - extract(epoch from '2026-08-10 18:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020576 -3.355515)', '2026-08-10 18:56:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020639 -3.355521)'), GeomFromEWKT('SRID=4674;POINT (-39.020576 -3.355515)'))) / (select extract(epoch from '2026-08-10 18:56:39'::timestamp) - extract(epoch from '2026-08-10 18:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020639 -3.355521)'), GeomFromEWKT('SRID=4674;POINT (-39.020576 -3.355515)'))) / (select extract(epoch from '2026-08-10 18:56:39'::timestamp) - extract(epoch from '2026-08-10 18:56:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020534 -3.355543)', '2026-08-10 18:56:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020576 -3.355515)'), GeomFromEWKT('SRID=4674;POINT (-39.020534 -3.355543)'))) / (select extract(epoch from '2026-08-10 18:56:50'::timestamp) - extract(epoch from '2026-08-10 18:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020576 -3.355515)'), GeomFromEWKT('SRID=4674;POINT (-39.020534 -3.355543)'))) / (select extract(epoch from '2026-08-10 18:56:50'::timestamp) - extract(epoch from '2026-08-10 18:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020486 -3.355558)', '2026-08-10 18:56:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020534 -3.355543)'), GeomFromEWKT('SRID=4674;POINT (-39.020486 -3.355558)'))) / (select extract(epoch from '2026-08-10 18:56:59'::timestamp) - extract(epoch from '2026-08-10 18:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020534 -3.355543)'), GeomFromEWKT('SRID=4674;POINT (-39.020486 -3.355558)'))) / (select extract(epoch from '2026-08-10 18:56:59'::timestamp) - extract(epoch from '2026-08-10 18:56: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'), 48138, 'SRID=4674;POINT (-39.020454 -3.35556)', '2026-08-10 18:57:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020486 -3.355558)'), GeomFromEWKT('SRID=4674;POINT (-39.020454 -3.35556)'))) / (select extract(epoch from '2026-08-10 18:57:07'::timestamp) - extract(epoch from '2026-08-10 18:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020486 -3.355558)'), GeomFromEWKT('SRID=4674;POINT (-39.020454 -3.35556)'))) / (select extract(epoch from '2026-08-10 18:57:07'::timestamp) - extract(epoch from '2026-08-10 18:56:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02044 -3.355578)', '2026-08-10 18:57:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020454 -3.35556)'), GeomFromEWKT('SRID=4674;POINT (-39.02044 -3.355578)'))) / (select extract(epoch from '2026-08-10 18:57:13'::timestamp) - extract(epoch from '2026-08-10 18:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020454 -3.35556)'), GeomFromEWKT('SRID=4674;POINT (-39.02044 -3.355578)'))) / (select extract(epoch from '2026-08-10 18:57:13'::timestamp) - extract(epoch from '2026-08-10 18:57: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'), 48138, 'SRID=4674;POINT (-39.020404 -3.355598)', '2026-08-10 18:57:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02044 -3.355578)'), GeomFromEWKT('SRID=4674;POINT (-39.020404 -3.355598)'))) / (select extract(epoch from '2026-08-10 18:57:21'::timestamp) - extract(epoch from '2026-08-10 18:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02044 -3.355578)'), GeomFromEWKT('SRID=4674;POINT (-39.020404 -3.355598)'))) / (select extract(epoch from '2026-08-10 18:57:21'::timestamp) - extract(epoch from '2026-08-10 18:57:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.02037 -3.355613)', '2026-08-10 18:57:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020404 -3.355598)'), GeomFromEWKT('SRID=4674;POINT (-39.02037 -3.355613)'))) / (select extract(epoch from '2026-08-10 18:57:30'::timestamp) - extract(epoch from '2026-08-10 18:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020404 -3.355598)'), GeomFromEWKT('SRID=4674;POINT (-39.02037 -3.355613)'))) / (select extract(epoch from '2026-08-10 18:57:30'::timestamp) - extract(epoch from '2026-08-10 18:57:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020321 -3.355621)', '2026-08-10 18:57:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02037 -3.355613)'), GeomFromEWKT('SRID=4674;POINT (-39.020321 -3.355621)'))) / (select extract(epoch from '2026-08-10 18:57:41'::timestamp) - extract(epoch from '2026-08-10 18:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02037 -3.355613)'), GeomFromEWKT('SRID=4674;POINT (-39.020321 -3.355621)'))) / (select extract(epoch from '2026-08-10 18:57:41'::timestamp) - extract(epoch from '2026-08-10 18:57: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'), 48138, 'SRID=4674;POINT (-39.020301 -3.355647)', '2026-08-10 18:57:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020321 -3.355621)'), GeomFromEWKT('SRID=4674;POINT (-39.020301 -3.355647)'))) / (select extract(epoch from '2026-08-10 18:57:49'::timestamp) - extract(epoch from '2026-08-10 18:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020321 -3.355621)'), GeomFromEWKT('SRID=4674;POINT (-39.020301 -3.355647)'))) / (select extract(epoch from '2026-08-10 18:57:49'::timestamp) - extract(epoch from '2026-08-10 18:57: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'), 48138, 'SRID=4674;POINT (-39.020262 -3.355658)', '2026-08-10 18:57:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020301 -3.355647)'), GeomFromEWKT('SRID=4674;POINT (-39.020262 -3.355658)'))) / (select extract(epoch from '2026-08-10 18:57:57'::timestamp) - extract(epoch from '2026-08-10 18:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020301 -3.355647)'), GeomFromEWKT('SRID=4674;POINT (-39.020262 -3.355658)'))) / (select extract(epoch from '2026-08-10 18:57:57'::timestamp) - extract(epoch from '2026-08-10 18:57: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'), 48138, 'SRID=4674;POINT (-39.020219 -3.355671)', '2026-08-10 18:58:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020262 -3.355658)'), GeomFromEWKT('SRID=4674;POINT (-39.020219 -3.355671)'))) / (select extract(epoch from '2026-08-10 18:58:07'::timestamp) - extract(epoch from '2026-08-10 18:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020262 -3.355658)'), GeomFromEWKT('SRID=4674;POINT (-39.020219 -3.355671)'))) / (select extract(epoch from '2026-08-10 18:58:07'::timestamp) - extract(epoch from '2026-08-10 18:57:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.0202 -3.355694)', '2026-08-10 18:58:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020219 -3.355671)'), GeomFromEWKT('SRID=4674;POINT (-39.0202 -3.355694)'))) / (select extract(epoch from '2026-08-10 18:58:16'::timestamp) - extract(epoch from '2026-08-10 18:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020219 -3.355671)'), GeomFromEWKT('SRID=4674;POINT (-39.0202 -3.355694)'))) / (select extract(epoch from '2026-08-10 18:58:16'::timestamp) - extract(epoch from '2026-08-10 18:58: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'), 48138, 'SRID=4674;POINT (-39.020166 -3.355712)', '2026-08-10 18:58:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0202 -3.355694)'), GeomFromEWKT('SRID=4674;POINT (-39.020166 -3.355712)'))) / (select extract(epoch from '2026-08-10 18:58:25'::timestamp) - extract(epoch from '2026-08-10 18:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0202 -3.355694)'), GeomFromEWKT('SRID=4674;POINT (-39.020166 -3.355712)'))) / (select extract(epoch from '2026-08-10 18:58:25'::timestamp) - extract(epoch from '2026-08-10 18:58: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'), 48138, 'SRID=4674;POINT (-39.020128 -3.355725)', '2026-08-10 18:58:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020166 -3.355712)'), GeomFromEWKT('SRID=4674;POINT (-39.020128 -3.355725)'))) / (select extract(epoch from '2026-08-10 18:58:34'::timestamp) - extract(epoch from '2026-08-10 18:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020166 -3.355712)'), GeomFromEWKT('SRID=4674;POINT (-39.020128 -3.355725)'))) / (select extract(epoch from '2026-08-10 18:58:34'::timestamp) - extract(epoch from '2026-08-10 18:58: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'), 48138, 'SRID=4674;POINT (-39.020116 -3.355735)', '2026-08-10 18:58:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020128 -3.355725)'), GeomFromEWKT('SRID=4674;POINT (-39.020116 -3.355735)'))) / (select extract(epoch from '2026-08-10 18:58:42'::timestamp) - extract(epoch from '2026-08-10 18:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020128 -3.355725)'), GeomFromEWKT('SRID=4674;POINT (-39.020116 -3.355735)'))) / (select extract(epoch from '2026-08-10 18:58:42'::timestamp) - extract(epoch from '2026-08-10 18:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020077 -3.355739)', '2026-08-10 18:58:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020116 -3.355735)'), GeomFromEWKT('SRID=4674;POINT (-39.020077 -3.355739)'))) / (select extract(epoch from '2026-08-10 18:58:53'::timestamp) - extract(epoch from '2026-08-10 18:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020116 -3.355735)'), GeomFromEWKT('SRID=4674;POINT (-39.020077 -3.355739)'))) / (select extract(epoch from '2026-08-10 18:58:53'::timestamp) - extract(epoch from '2026-08-10 18:58: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'), 48138, 'SRID=4674;POINT (-39.020036 -3.355771)', '2026-08-10 18:59:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020077 -3.355739)'), GeomFromEWKT('SRID=4674;POINT (-39.020036 -3.355771)'))) / (select extract(epoch from '2026-08-10 18:59:04'::timestamp) - extract(epoch from '2026-08-10 18:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020077 -3.355739)'), GeomFromEWKT('SRID=4674;POINT (-39.020036 -3.355771)'))) / (select extract(epoch from '2026-08-10 18:59:04'::timestamp) - extract(epoch from '2026-08-10 18:58:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.020014 -3.355775)', '2026-08-10 18:59:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020036 -3.355771)'), GeomFromEWKT('SRID=4674;POINT (-39.020014 -3.355775)'))) / (select extract(epoch from '2026-08-10 18:59:10'::timestamp) - extract(epoch from '2026-08-10 18:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020036 -3.355771)'), GeomFromEWKT('SRID=4674;POINT (-39.020014 -3.355775)'))) / (select extract(epoch from '2026-08-10 18:59:10'::timestamp) - extract(epoch from '2026-08-10 18:59:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019998 -3.355774)', '2026-08-10 18:59:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020014 -3.355775)'), GeomFromEWKT('SRID=4674;POINT (-39.019998 -3.355774)'))) / (select extract(epoch from '2026-08-10 18:59:15'::timestamp) - extract(epoch from '2026-08-10 18:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020014 -3.355775)'), GeomFromEWKT('SRID=4674;POINT (-39.019998 -3.355774)'))) / (select extract(epoch from '2026-08-10 18:59:15'::timestamp) - extract(epoch from '2026-08-10 18:59: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'), 48138, 'SRID=4674;POINT (-39.019992 -3.355751)', '2026-08-10 18:59:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019998 -3.355774)'), GeomFromEWKT('SRID=4674;POINT (-39.019992 -3.355751)'))) / (select extract(epoch from '2026-08-10 18:59:24'::timestamp) - extract(epoch from '2026-08-10 18:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019998 -3.355774)'), GeomFromEWKT('SRID=4674;POINT (-39.019992 -3.355751)'))) / (select extract(epoch from '2026-08-10 18:59:24'::timestamp) - extract(epoch from '2026-08-10 18:59:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019975 -3.355762)', '2026-08-10 18:59:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019992 -3.355751)'), GeomFromEWKT('SRID=4674;POINT (-39.019975 -3.355762)'))) / (select extract(epoch from '2026-08-10 18:59:33'::timestamp) - extract(epoch from '2026-08-10 18:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019992 -3.355751)'), GeomFromEWKT('SRID=4674;POINT (-39.019975 -3.355762)'))) / (select extract(epoch from '2026-08-10 18:59:33'::timestamp) - extract(epoch from '2026-08-10 18:59: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'), 48138, 'SRID=4674;POINT (-39.019955 -3.355791)', '2026-08-10 18:59:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019975 -3.355762)'), GeomFromEWKT('SRID=4674;POINT (-39.019955 -3.355791)'))) / (select extract(epoch from '2026-08-10 18:59:43'::timestamp) - extract(epoch from '2026-08-10 18:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019975 -3.355762)'), GeomFromEWKT('SRID=4674;POINT (-39.019955 -3.355791)'))) / (select extract(epoch from '2026-08-10 18:59:43'::timestamp) - extract(epoch from '2026-08-10 18:59:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019931 -3.355792)', '2026-08-10 18:59:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019955 -3.355791)'), GeomFromEWKT('SRID=4674;POINT (-39.019931 -3.355792)'))) / (select extract(epoch from '2026-08-10 18:59:49'::timestamp) - extract(epoch from '2026-08-10 18:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019955 -3.355791)'), GeomFromEWKT('SRID=4674;POINT (-39.019931 -3.355792)'))) / (select extract(epoch from '2026-08-10 18:59:49'::timestamp) - extract(epoch from '2026-08-10 18:59: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'), 48138, 'SRID=4674;POINT (-39.019888 -3.355803)', '2026-08-10 18:59:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019931 -3.355792)'), GeomFromEWKT('SRID=4674;POINT (-39.019888 -3.355803)'))) / (select extract(epoch from '2026-08-10 18:59:59'::timestamp) - extract(epoch from '2026-08-10 18:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019931 -3.355792)'), GeomFromEWKT('SRID=4674;POINT (-39.019888 -3.355803)'))) / (select extract(epoch from '2026-08-10 18:59:59'::timestamp) - extract(epoch from '2026-08-10 18:59: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'), 48138, 'SRID=4674;POINT (-39.01987 -3.35583)', '2026-08-10 19:00:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019888 -3.355803)'), GeomFromEWKT('SRID=4674;POINT (-39.01987 -3.35583)'))) / (select extract(epoch from '2026-08-10 19:00:07'::timestamp) - extract(epoch from '2026-08-10 18:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019888 -3.355803)'), GeomFromEWKT('SRID=4674;POINT (-39.01987 -3.35583)'))) / (select extract(epoch from '2026-08-10 19:00:07'::timestamp) - extract(epoch from '2026-08-10 18: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'), 48138, 'SRID=4674;POINT (-39.019839 -3.355851)', '2026-08-10 19:00:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01987 -3.35583)'), GeomFromEWKT('SRID=4674;POINT (-39.019839 -3.355851)'))) / (select extract(epoch from '2026-08-10 19:00:16'::timestamp) - extract(epoch from '2026-08-10 19:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01987 -3.35583)'), GeomFromEWKT('SRID=4674;POINT (-39.019839 -3.355851)'))) / (select extract(epoch from '2026-08-10 19:00:16'::timestamp) - extract(epoch from '2026-08-10 19:00: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'), 48138, 'SRID=4674;POINT (-39.019805 -3.355867)', '2026-08-10 19:00:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019839 -3.355851)'), GeomFromEWKT('SRID=4674;POINT (-39.019805 -3.355867)'))) / (select extract(epoch from '2026-08-10 19:00:26'::timestamp) - extract(epoch from '2026-08-10 19:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019839 -3.355851)'), GeomFromEWKT('SRID=4674;POINT (-39.019805 -3.355867)'))) / (select extract(epoch from '2026-08-10 19:00:26'::timestamp) - extract(epoch from '2026-08-10 19:00: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'), 48138, 'SRID=4674;POINT (-39.019765 -3.355892)', '2026-08-10 19:00:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019805 -3.355867)'), GeomFromEWKT('SRID=4674;POINT (-39.019765 -3.355892)'))) / (select extract(epoch from '2026-08-10 19:00:35'::timestamp) - extract(epoch from '2026-08-10 19:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019805 -3.355867)'), GeomFromEWKT('SRID=4674;POINT (-39.019765 -3.355892)'))) / (select extract(epoch from '2026-08-10 19:00:35'::timestamp) - extract(epoch from '2026-08-10 19:00: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'), 48138, 'SRID=4674;POINT (-39.019747 -3.355892)', '2026-08-10 19:00:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019765 -3.355892)'), GeomFromEWKT('SRID=4674;POINT (-39.019747 -3.355892)'))) / (select extract(epoch from '2026-08-10 19:00:39'::timestamp) - extract(epoch from '2026-08-10 19:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019765 -3.355892)'), GeomFromEWKT('SRID=4674;POINT (-39.019747 -3.355892)'))) / (select extract(epoch from '2026-08-10 19:00:39'::timestamp) - extract(epoch from '2026-08-10 19:00: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'), 48138, 'SRID=4674;POINT (-39.01974 -3.355899)', '2026-08-10 19:00:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019747 -3.355892)'), GeomFromEWKT('SRID=4674;POINT (-39.01974 -3.355899)'))) / (select extract(epoch from '2026-08-10 19:00:41'::timestamp) - extract(epoch from '2026-08-10 19:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019747 -3.355892)'), GeomFromEWKT('SRID=4674;POINT (-39.01974 -3.355899)'))) / (select extract(epoch from '2026-08-10 19:00:41'::timestamp) - extract(epoch from '2026-08-10 19:00: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'), 48138, 'SRID=4674;POINT (-39.019705 -3.355909)', '2026-08-10 19:00:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01974 -3.355899)'), GeomFromEWKT('SRID=4674;POINT (-39.019705 -3.355909)'))) / (select extract(epoch from '2026-08-10 19:00:49'::timestamp) - extract(epoch from '2026-08-10 19:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01974 -3.355899)'), GeomFromEWKT('SRID=4674;POINT (-39.019705 -3.355909)'))) / (select extract(epoch from '2026-08-10 19:00:49'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.019667 -3.355914)', '2026-08-10 19:00:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019705 -3.355909)'), GeomFromEWKT('SRID=4674;POINT (-39.019667 -3.355914)'))) / (select extract(epoch from '2026-08-10 19:00:58'::timestamp) - extract(epoch from '2026-08-10 19:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019705 -3.355909)'), GeomFromEWKT('SRID=4674;POINT (-39.019667 -3.355914)'))) / (select extract(epoch from '2026-08-10 19:00:58'::timestamp) - extract(epoch from '2026-08-10 19:00: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'), 48138, 'SRID=4674;POINT (-39.01964 -3.355929)', '2026-08-10 19:01:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019667 -3.355914)'), GeomFromEWKT('SRID=4674;POINT (-39.01964 -3.355929)'))) / (select extract(epoch from '2026-08-10 19:01:07'::timestamp) - extract(epoch from '2026-08-10 19:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019667 -3.355914)'), GeomFromEWKT('SRID=4674;POINT (-39.01964 -3.355929)'))) / (select extract(epoch from '2026-08-10 19:01:07'::timestamp) - extract(epoch from '2026-08-10 19:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019613 -3.355948)', '2026-08-10 19:01:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01964 -3.355929)'), GeomFromEWKT('SRID=4674;POINT (-39.019613 -3.355948)'))) / (select extract(epoch from '2026-08-10 19:01:15'::timestamp) - extract(epoch from '2026-08-10 19:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01964 -3.355929)'), GeomFromEWKT('SRID=4674;POINT (-39.019613 -3.355948)'))) / (select extract(epoch from '2026-08-10 19:01:15'::timestamp) - extract(epoch from '2026-08-10 19:01:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019582 -3.35596)', '2026-08-10 19:01:25', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019613 -3.355948)'), GeomFromEWKT('SRID=4674;POINT (-39.019582 -3.35596)'))) / (select extract(epoch from '2026-08-10 19:01:25'::timestamp) - extract(epoch from '2026-08-10 19:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019613 -3.355948)'), GeomFromEWKT('SRID=4674;POINT (-39.019582 -3.35596)'))) / (select extract(epoch from '2026-08-10 19:01:25'::timestamp) - extract(epoch from '2026-08-10 19:01: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'), 48138, 'SRID=4674;POINT (-39.019574 -3.355972)', '2026-08-10 19:01:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019582 -3.35596)'), GeomFromEWKT('SRID=4674;POINT (-39.019574 -3.355972)'))) / (select extract(epoch from '2026-08-10 19:01:31'::timestamp) - extract(epoch from '2026-08-10 19:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019582 -3.35596)'), GeomFromEWKT('SRID=4674;POINT (-39.019574 -3.355972)'))) / (select extract(epoch from '2026-08-10 19:01:31'::timestamp) - extract(epoch from '2026-08-10 19:01: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'), 48138, 'SRID=4674;POINT (-39.019558 -3.355983)', '2026-08-10 19:01:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019574 -3.355972)'), GeomFromEWKT('SRID=4674;POINT (-39.019558 -3.355983)'))) / (select extract(epoch from '2026-08-10 19:01:37'::timestamp) - extract(epoch from '2026-08-10 19:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019574 -3.355972)'), GeomFromEWKT('SRID=4674;POINT (-39.019558 -3.355983)'))) / (select extract(epoch from '2026-08-10 19:01:37'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.019542 -3.355992)', '2026-08-10 19:01:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019558 -3.355983)'), GeomFromEWKT('SRID=4674;POINT (-39.019542 -3.355992)'))) / (select extract(epoch from '2026-08-10 19:01:42'::timestamp) - extract(epoch from '2026-08-10 19:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019558 -3.355983)'), GeomFromEWKT('SRID=4674;POINT (-39.019542 -3.355992)'))) / (select extract(epoch from '2026-08-10 19:01:42'::timestamp) - extract(epoch from '2026-08-10 19:01:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019517 -3.355999)', '2026-08-10 19:01:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019542 -3.355992)'), GeomFromEWKT('SRID=4674;POINT (-39.019517 -3.355999)'))) / (select extract(epoch from '2026-08-10 19:01:49'::timestamp) - extract(epoch from '2026-08-10 19:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019542 -3.355992)'), GeomFromEWKT('SRID=4674;POINT (-39.019517 -3.355999)'))) / (select extract(epoch from '2026-08-10 19:01:49'::timestamp) - extract(epoch from '2026-08-10 19:01: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'), 48138, 'SRID=4674;POINT (-39.019481 -3.35601)', '2026-08-10 19:01:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019517 -3.355999)'), GeomFromEWKT('SRID=4674;POINT (-39.019481 -3.35601)'))) / (select extract(epoch from '2026-08-10 19:01:59'::timestamp) - extract(epoch from '2026-08-10 19:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019517 -3.355999)'), GeomFromEWKT('SRID=4674;POINT (-39.019481 -3.35601)'))) / (select extract(epoch from '2026-08-10 19:01:59'::timestamp) - extract(epoch from '2026-08-10 19:01: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'), 48138, 'SRID=4674;POINT (-39.019455 -3.356021)', '2026-08-10 19:02:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019481 -3.35601)'), GeomFromEWKT('SRID=4674;POINT (-39.019455 -3.356021)'))) / (select extract(epoch from '2026-08-10 19:02:05'::timestamp) - extract(epoch from '2026-08-10 19:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019481 -3.35601)'), GeomFromEWKT('SRID=4674;POINT (-39.019455 -3.356021)'))) / (select extract(epoch from '2026-08-10 19:02:05'::timestamp) - extract(epoch from '2026-08-10 19:01: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'), 48138, 'SRID=4674;POINT (-39.019441 -3.356037)', '2026-08-10 19:02:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019455 -3.356021)'), GeomFromEWKT('SRID=4674;POINT (-39.019441 -3.356037)'))) / (select extract(epoch from '2026-08-10 19:02:11'::timestamp) - extract(epoch from '2026-08-10 19:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019455 -3.356021)'), GeomFromEWKT('SRID=4674;POINT (-39.019441 -3.356037)'))) / (select extract(epoch from '2026-08-10 19:02:11'::timestamp) - extract(epoch from '2026-08-10 19:02: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'), 48138, 'SRID=4674;POINT (-39.019386 -3.356054)', '2026-08-10 19:02:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019441 -3.356037)'), GeomFromEWKT('SRID=4674;POINT (-39.019386 -3.356054)'))) / (select extract(epoch from '2026-08-10 19:02:21'::timestamp) - extract(epoch from '2026-08-10 19:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019441 -3.356037)'), GeomFromEWKT('SRID=4674;POINT (-39.019386 -3.356054)'))) / (select extract(epoch from '2026-08-10 19:02:21'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.019328 -3.356061)', '2026-08-10 19:02:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019386 -3.356054)'), GeomFromEWKT('SRID=4674;POINT (-39.019328 -3.356061)'))) / (select extract(epoch from '2026-08-10 19:02:32'::timestamp) - extract(epoch from '2026-08-10 19:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019386 -3.356054)'), GeomFromEWKT('SRID=4674;POINT (-39.019328 -3.356061)'))) / (select extract(epoch from '2026-08-10 19:02:32'::timestamp) - extract(epoch from '2026-08-10 19:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019291 -3.356082)', '2026-08-10 19:02:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019328 -3.356061)'), GeomFromEWKT('SRID=4674;POINT (-39.019291 -3.356082)'))) / (select extract(epoch from '2026-08-10 19:02:41'::timestamp) - extract(epoch from '2026-08-10 19:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019328 -3.356061)'), GeomFromEWKT('SRID=4674;POINT (-39.019291 -3.356082)'))) / (select extract(epoch from '2026-08-10 19:02:41'::timestamp) - extract(epoch from '2026-08-10 19:02: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'), 48138, 'SRID=4674;POINT (-39.019257 -3.356084)', '2026-08-10 19:02:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019291 -3.356082)'), GeomFromEWKT('SRID=4674;POINT (-39.019257 -3.356084)'))) / (select extract(epoch from '2026-08-10 19:02:49'::timestamp) - extract(epoch from '2026-08-10 19:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019291 -3.356082)'), GeomFromEWKT('SRID=4674;POINT (-39.019257 -3.356084)'))) / (select extract(epoch from '2026-08-10 19:02:49'::timestamp) - extract(epoch from '2026-08-10 19:02: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'), 48138, 'SRID=4674;POINT (-39.019225 -3.356099)', '2026-08-10 19:02:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019257 -3.356084)'), GeomFromEWKT('SRID=4674;POINT (-39.019225 -3.356099)'))) / (select extract(epoch from '2026-08-10 19:02:56'::timestamp) - extract(epoch from '2026-08-10 19:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019257 -3.356084)'), GeomFromEWKT('SRID=4674;POINT (-39.019225 -3.356099)'))) / (select extract(epoch from '2026-08-10 19:02:56'::timestamp) - extract(epoch from '2026-08-10 19:02:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019186 -3.356109)', '2026-08-10 19:03:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019225 -3.356099)'), GeomFromEWKT('SRID=4674;POINT (-39.019186 -3.356109)'))) / (select extract(epoch from '2026-08-10 19:03:03'::timestamp) - extract(epoch from '2026-08-10 19:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019225 -3.356099)'), GeomFromEWKT('SRID=4674;POINT (-39.019186 -3.356109)'))) / (select extract(epoch from '2026-08-10 19:03:03'::timestamp) - extract(epoch from '2026-08-10 19:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019168 -3.356127)', '2026-08-10 19:03:07', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019186 -3.356109)'), GeomFromEWKT('SRID=4674;POINT (-39.019168 -3.356127)'))) / (select extract(epoch from '2026-08-10 19:03:07'::timestamp) - extract(epoch from '2026-08-10 19:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019186 -3.356109)'), GeomFromEWKT('SRID=4674;POINT (-39.019168 -3.356127)'))) / (select extract(epoch from '2026-08-10 19:03:07'::timestamp) - extract(epoch from '2026-08-10 19:03:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019159 -3.356137)', '2026-08-10 19:03:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019168 -3.356127)'), GeomFromEWKT('SRID=4674;POINT (-39.019159 -3.356137)'))) / (select extract(epoch from '2026-08-10 19:03:10'::timestamp) - extract(epoch from '2026-08-10 19:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019168 -3.356127)'), GeomFromEWKT('SRID=4674;POINT (-39.019159 -3.356137)'))) / (select extract(epoch from '2026-08-10 19:03:10'::timestamp) - extract(epoch from '2026-08-10 19:03:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019142 -3.356143)', '2026-08-10 19:03:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019159 -3.356137)'), GeomFromEWKT('SRID=4674;POINT (-39.019142 -3.356143)'))) / (select extract(epoch from '2026-08-10 19:03:18'::timestamp) - extract(epoch from '2026-08-10 19:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019159 -3.356137)'), GeomFromEWKT('SRID=4674;POINT (-39.019142 -3.356143)'))) / (select extract(epoch from '2026-08-10 19:03:18'::timestamp) - extract(epoch from '2026-08-10 19:03: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'), 48138, 'SRID=4674;POINT (-39.019116 -3.356155)', '2026-08-10 19:03:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019142 -3.356143)'), GeomFromEWKT('SRID=4674;POINT (-39.019116 -3.356155)'))) / (select extract(epoch from '2026-08-10 19:03:27'::timestamp) - extract(epoch from '2026-08-10 19:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019142 -3.356143)'), GeomFromEWKT('SRID=4674;POINT (-39.019116 -3.356155)'))) / (select extract(epoch from '2026-08-10 19:03:27'::timestamp) - extract(epoch from '2026-08-10 19:03: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'), 48138, 'SRID=4674;POINT (-39.019095 -3.35617)', '2026-08-10 19:03:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019116 -3.356155)'), GeomFromEWKT('SRID=4674;POINT (-39.019095 -3.35617)'))) / (select extract(epoch from '2026-08-10 19:03:35'::timestamp) - extract(epoch from '2026-08-10 19:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019116 -3.356155)'), GeomFromEWKT('SRID=4674;POINT (-39.019095 -3.35617)'))) / (select extract(epoch from '2026-08-10 19:03:35'::timestamp) - extract(epoch from '2026-08-10 19:03:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019076 -3.356194)', '2026-08-10 19:03:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019095 -3.35617)'), GeomFromEWKT('SRID=4674;POINT (-39.019076 -3.356194)'))) / (select extract(epoch from '2026-08-10 19:03:43'::timestamp) - extract(epoch from '2026-08-10 19:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019095 -3.35617)'), GeomFromEWKT('SRID=4674;POINT (-39.019076 -3.356194)'))) / (select extract(epoch from '2026-08-10 19:03:43'::timestamp) - extract(epoch from '2026-08-10 19:03: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'), 48138, 'SRID=4674;POINT (-39.019041 -3.356196)', '2026-08-10 19:03:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019076 -3.356194)'), GeomFromEWKT('SRID=4674;POINT (-39.019041 -3.356196)'))) / (select extract(epoch from '2026-08-10 19:03:51'::timestamp) - extract(epoch from '2026-08-10 19:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019076 -3.356194)'), GeomFromEWKT('SRID=4674;POINT (-39.019041 -3.356196)'))) / (select extract(epoch from '2026-08-10 19:03:51'::timestamp) - extract(epoch from '2026-08-10 19:03: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'), 48138, 'SRID=4674;POINT (-39.019015 -3.356206)', '2026-08-10 19:03:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019041 -3.356196)'), GeomFromEWKT('SRID=4674;POINT (-39.019015 -3.356206)'))) / (select extract(epoch from '2026-08-10 19:03:57'::timestamp) - extract(epoch from '2026-08-10 19:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019041 -3.356196)'), GeomFromEWKT('SRID=4674;POINT (-39.019015 -3.356206)'))) / (select extract(epoch from '2026-08-10 19:03:57'::timestamp) - extract(epoch from '2026-08-10 19:03:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01897 -3.356234)', '2026-08-10 19:04:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019015 -3.356206)'), GeomFromEWKT('SRID=4674;POINT (-39.01897 -3.356234)'))) / (select extract(epoch from '2026-08-10 19:04:07'::timestamp) - extract(epoch from '2026-08-10 19:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019015 -3.356206)'), GeomFromEWKT('SRID=4674;POINT (-39.01897 -3.356234)'))) / (select extract(epoch from '2026-08-10 19:04:07'::timestamp) - extract(epoch from '2026-08-10 19:03: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'), 48138, 'SRID=4674;POINT (-39.018926 -3.356248)', '2026-08-10 19:04:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01897 -3.356234)'), GeomFromEWKT('SRID=4674;POINT (-39.018926 -3.356248)'))) / (select extract(epoch from '2026-08-10 19:04:17'::timestamp) - extract(epoch from '2026-08-10 19:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01897 -3.356234)'), GeomFromEWKT('SRID=4674;POINT (-39.018926 -3.356248)'))) / (select extract(epoch from '2026-08-10 19:04:17'::timestamp) - extract(epoch from '2026-08-10 19:04: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'), 48138, 'SRID=4674;POINT (-39.018892 -3.356252)', '2026-08-10 19:04:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018926 -3.356248)'), GeomFromEWKT('SRID=4674;POINT (-39.018892 -3.356252)'))) / (select extract(epoch from '2026-08-10 19:04:26'::timestamp) - extract(epoch from '2026-08-10 19:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018926 -3.356248)'), GeomFromEWKT('SRID=4674;POINT (-39.018892 -3.356252)'))) / (select extract(epoch from '2026-08-10 19:04:26'::timestamp) - extract(epoch from '2026-08-10 19:04: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'), 48138, 'SRID=4674;POINT (-39.018861 -3.356271)', '2026-08-10 19:04:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018892 -3.356252)'), GeomFromEWKT('SRID=4674;POINT (-39.018861 -3.356271)'))) / (select extract(epoch from '2026-08-10 19:04:36'::timestamp) - extract(epoch from '2026-08-10 19:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018892 -3.356252)'), GeomFromEWKT('SRID=4674;POINT (-39.018861 -3.356271)'))) / (select extract(epoch from '2026-08-10 19:04:36'::timestamp) - extract(epoch from '2026-08-10 19:04: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'), 48138, 'SRID=4674;POINT (-39.018841 -3.356283)', '2026-08-10 19:04:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018861 -3.356271)'), GeomFromEWKT('SRID=4674;POINT (-39.018841 -3.356283)'))) / (select extract(epoch from '2026-08-10 19:04:43'::timestamp) - extract(epoch from '2026-08-10 19:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018861 -3.356271)'), GeomFromEWKT('SRID=4674;POINT (-39.018841 -3.356283)'))) / (select extract(epoch from '2026-08-10 19:04:43'::timestamp) - extract(epoch from '2026-08-10 19:04:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018822 -3.356288)', '2026-08-10 19:04:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018841 -3.356283)'), GeomFromEWKT('SRID=4674;POINT (-39.018822 -3.356288)'))) / (select extract(epoch from '2026-08-10 19:04:49'::timestamp) - extract(epoch from '2026-08-10 19:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018841 -3.356283)'), GeomFromEWKT('SRID=4674;POINT (-39.018822 -3.356288)'))) / (select extract(epoch from '2026-08-10 19:04:49'::timestamp) - extract(epoch from '2026-08-10 19:04:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018822 -3.356294)', '2026-08-10 19:04:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018822 -3.356288)'), GeomFromEWKT('SRID=4674;POINT (-39.018822 -3.356294)'))) / (select extract(epoch from '2026-08-10 19:04:54'::timestamp) - extract(epoch from '2026-08-10 19:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018822 -3.356288)'), GeomFromEWKT('SRID=4674;POINT (-39.018822 -3.356294)'))) / (select extract(epoch from '2026-08-10 19:04:54'::timestamp) - extract(epoch from '2026-08-10 19:04: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'), 48138, 'SRID=4674;POINT (-39.018801 -3.356298)', '2026-08-10 19:05:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018822 -3.356294)'), GeomFromEWKT('SRID=4674;POINT (-39.018801 -3.356298)'))) / (select extract(epoch from '2026-08-10 19:05:00'::timestamp) - extract(epoch from '2026-08-10 19:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018822 -3.356294)'), GeomFromEWKT('SRID=4674;POINT (-39.018801 -3.356298)'))) / (select extract(epoch from '2026-08-10 19:05:00'::timestamp) - extract(epoch from '2026-08-10 19:04: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'), 48138, 'SRID=4674;POINT (-39.018753 -3.356308)', '2026-08-10 19:05:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018801 -3.356298)'), GeomFromEWKT('SRID=4674;POINT (-39.018753 -3.356308)'))) / (select extract(epoch from '2026-08-10 19:05:09'::timestamp) - extract(epoch from '2026-08-10 19:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018801 -3.356298)'), GeomFromEWKT('SRID=4674;POINT (-39.018753 -3.356308)'))) / (select extract(epoch from '2026-08-10 19:05:09'::timestamp) - extract(epoch from '2026-08-10 19:05: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'), 48138, 'SRID=4674;POINT (-39.018706 -3.356323)', '2026-08-10 19:05:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018753 -3.356308)'), GeomFromEWKT('SRID=4674;POINT (-39.018706 -3.356323)'))) / (select extract(epoch from '2026-08-10 19:05:18'::timestamp) - extract(epoch from '2026-08-10 19:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018753 -3.356308)'), GeomFromEWKT('SRID=4674;POINT (-39.018706 -3.356323)'))) / (select extract(epoch from '2026-08-10 19:05:18'::timestamp) - extract(epoch from '2026-08-10 19:05: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'), 48138, 'SRID=4674;POINT (-39.018675 -3.356331)', '2026-08-10 19:05:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018706 -3.356323)'), GeomFromEWKT('SRID=4674;POINT (-39.018675 -3.356331)'))) / (select extract(epoch from '2026-08-10 19:05:27'::timestamp) - extract(epoch from '2026-08-10 19:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018706 -3.356323)'), GeomFromEWKT('SRID=4674;POINT (-39.018675 -3.356331)'))) / (select extract(epoch from '2026-08-10 19:05:27'::timestamp) - extract(epoch from '2026-08-10 19:05: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'), 48138, 'SRID=4674;POINT (-39.018653 -3.35634)', '2026-08-10 19:05:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018675 -3.356331)'), GeomFromEWKT('SRID=4674;POINT (-39.018653 -3.35634)'))) / (select extract(epoch from '2026-08-10 19:05:33'::timestamp) - extract(epoch from '2026-08-10 19:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018675 -3.356331)'), GeomFromEWKT('SRID=4674;POINT (-39.018653 -3.35634)'))) / (select extract(epoch from '2026-08-10 19:05:33'::timestamp) - extract(epoch from '2026-08-10 19:05: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'), 48138, 'SRID=4674;POINT (-39.018606 -3.356371)', '2026-08-10 19:05:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018653 -3.35634)'), GeomFromEWKT('SRID=4674;POINT (-39.018606 -3.356371)'))) / (select extract(epoch from '2026-08-10 19:05:43'::timestamp) - extract(epoch from '2026-08-10 19:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018653 -3.35634)'), GeomFromEWKT('SRID=4674;POINT (-39.018606 -3.356371)'))) / (select extract(epoch from '2026-08-10 19:05:43'::timestamp) - extract(epoch from '2026-08-10 19:05: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'), 48138, 'SRID=4674;POINT (-39.018574 -3.35639)', '2026-08-10 19:05:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018606 -3.356371)'), GeomFromEWKT('SRID=4674;POINT (-39.018574 -3.35639)'))) / (select extract(epoch from '2026-08-10 19:05:51'::timestamp) - extract(epoch from '2026-08-10 19:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018606 -3.356371)'), GeomFromEWKT('SRID=4674;POINT (-39.018574 -3.35639)'))) / (select extract(epoch from '2026-08-10 19:05:51'::timestamp) - extract(epoch from '2026-08-10 19:05: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'), 48138, 'SRID=4674;POINT (-39.018544 -3.356384)', '2026-08-10 19:05:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018574 -3.35639)'), GeomFromEWKT('SRID=4674;POINT (-39.018544 -3.356384)'))) / (select extract(epoch from '2026-08-10 19:05:57'::timestamp) - extract(epoch from '2026-08-10 19:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018574 -3.35639)'), GeomFromEWKT('SRID=4674;POINT (-39.018544 -3.356384)'))) / (select extract(epoch from '2026-08-10 19:05:57'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.018529 -3.356387)', '2026-08-10 19:06:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018544 -3.356384)'), GeomFromEWKT('SRID=4674;POINT (-39.018529 -3.356387)'))) / (select extract(epoch from '2026-08-10 19:06:03'::timestamp) - extract(epoch from '2026-08-10 19:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018544 -3.356384)'), GeomFromEWKT('SRID=4674;POINT (-39.018529 -3.356387)'))) / (select extract(epoch from '2026-08-10 19:06:03'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.018496 -3.356409)', '2026-08-10 19:06:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018529 -3.356387)'), GeomFromEWKT('SRID=4674;POINT (-39.018496 -3.356409)'))) / (select extract(epoch from '2026-08-10 19:06:11'::timestamp) - extract(epoch from '2026-08-10 19:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018529 -3.356387)'), GeomFromEWKT('SRID=4674;POINT (-39.018496 -3.356409)'))) / (select extract(epoch from '2026-08-10 19:06:11'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.018455 -3.356431)', '2026-08-10 19:06:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018496 -3.356409)'), GeomFromEWKT('SRID=4674;POINT (-39.018455 -3.356431)'))) / (select extract(epoch from '2026-08-10 19:06:20'::timestamp) - extract(epoch from '2026-08-10 19:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018496 -3.356409)'), GeomFromEWKT('SRID=4674;POINT (-39.018455 -3.356431)'))) / (select extract(epoch from '2026-08-10 19:06:20'::timestamp) - extract(epoch from '2026-08-10 19:06:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018434 -3.356449)', '2026-08-10 19:06:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018455 -3.356431)'), GeomFromEWKT('SRID=4674;POINT (-39.018434 -3.356449)'))) / (select extract(epoch from '2026-08-10 19:06:27'::timestamp) - extract(epoch from '2026-08-10 19:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018455 -3.356431)'), GeomFromEWKT('SRID=4674;POINT (-39.018434 -3.356449)'))) / (select extract(epoch from '2026-08-10 19:06:27'::timestamp) - extract(epoch from '2026-08-10 19:06:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018415 -3.356471)', '2026-08-10 19:06:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018434 -3.356449)'), GeomFromEWKT('SRID=4674;POINT (-39.018415 -3.356471)'))) / (select extract(epoch from '2026-08-10 19:06:37'::timestamp) - extract(epoch from '2026-08-10 19:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018434 -3.356449)'), GeomFromEWKT('SRID=4674;POINT (-39.018415 -3.356471)'))) / (select extract(epoch from '2026-08-10 19:06:37'::timestamp) - extract(epoch from '2026-08-10 19:06: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'), 48138, 'SRID=4674;POINT (-39.018389 -3.356493)', '2026-08-10 19:06:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018415 -3.356471)'), GeomFromEWKT('SRID=4674;POINT (-39.018389 -3.356493)'))) / (select extract(epoch from '2026-08-10 19:06:47'::timestamp) - extract(epoch from '2026-08-10 19:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018415 -3.356471)'), GeomFromEWKT('SRID=4674;POINT (-39.018389 -3.356493)'))) / (select extract(epoch from '2026-08-10 19:06:47'::timestamp) - extract(epoch from '2026-08-10 19:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018354 -3.356507)', '2026-08-10 19:06:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018389 -3.356493)'), GeomFromEWKT('SRID=4674;POINT (-39.018354 -3.356507)'))) / (select extract(epoch from '2026-08-10 19:06:55'::timestamp) - extract(epoch from '2026-08-10 19:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018389 -3.356493)'), GeomFromEWKT('SRID=4674;POINT (-39.018354 -3.356507)'))) / (select extract(epoch from '2026-08-10 19:06:55'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.018318 -3.356529)', '2026-08-10 19:07:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018354 -3.356507)'), GeomFromEWKT('SRID=4674;POINT (-39.018318 -3.356529)'))) / (select extract(epoch from '2026-08-10 19:07:04'::timestamp) - extract(epoch from '2026-08-10 19:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018354 -3.356507)'), GeomFromEWKT('SRID=4674;POINT (-39.018318 -3.356529)'))) / (select extract(epoch from '2026-08-10 19:07:04'::timestamp) - extract(epoch from '2026-08-10 19:06: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'), 48138, 'SRID=4674;POINT (-39.018273 -3.356544)', '2026-08-10 19:07:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018318 -3.356529)'), GeomFromEWKT('SRID=4674;POINT (-39.018273 -3.356544)'))) / (select extract(epoch from '2026-08-10 19:07:15'::timestamp) - extract(epoch from '2026-08-10 19:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018318 -3.356529)'), GeomFromEWKT('SRID=4674;POINT (-39.018273 -3.356544)'))) / (select extract(epoch from '2026-08-10 19:07:15'::timestamp) - extract(epoch from '2026-08-10 19:07:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01824 -3.356537)', '2026-08-10 19:07:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018273 -3.356544)'), GeomFromEWKT('SRID=4674;POINT (-39.01824 -3.356537)'))) / (select extract(epoch from '2026-08-10 19:07:23'::timestamp) - extract(epoch from '2026-08-10 19:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018273 -3.356544)'), GeomFromEWKT('SRID=4674;POINT (-39.01824 -3.356537)'))) / (select extract(epoch from '2026-08-10 19:07:23'::timestamp) - extract(epoch from '2026-08-10 19:07:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018238 -3.356528)', '2026-08-10 19:07:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01824 -3.356537)'), GeomFromEWKT('SRID=4674;POINT (-39.018238 -3.356528)'))) / (select extract(epoch from '2026-08-10 19:07:28'::timestamp) - extract(epoch from '2026-08-10 19:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01824 -3.356537)'), GeomFromEWKT('SRID=4674;POINT (-39.018238 -3.356528)'))) / (select extract(epoch from '2026-08-10 19:07:28'::timestamp) - extract(epoch from '2026-08-10 19:07: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'), 48138, 'SRID=4674;POINT (-39.018229 -3.356498)', '2026-08-10 19:07:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018238 -3.356528)'), GeomFromEWKT('SRID=4674;POINT (-39.018229 -3.356498)'))) / (select extract(epoch from '2026-08-10 19:07:38'::timestamp) - extract(epoch from '2026-08-10 19:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018238 -3.356528)'), GeomFromEWKT('SRID=4674;POINT (-39.018229 -3.356498)'))) / (select extract(epoch from '2026-08-10 19:07:38'::timestamp) - extract(epoch from '2026-08-10 19:07:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018218 -3.356506)', '2026-08-10 19:07:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018229 -3.356498)'), GeomFromEWKT('SRID=4674;POINT (-39.018218 -3.356506)'))) / (select extract(epoch from '2026-08-10 19:07:43'::timestamp) - extract(epoch from '2026-08-10 19:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018229 -3.356498)'), GeomFromEWKT('SRID=4674;POINT (-39.018218 -3.356506)'))) / (select extract(epoch from '2026-08-10 19:07:43'::timestamp) - extract(epoch from '2026-08-10 19:07: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'), 48138, 'SRID=4674;POINT (-39.018215 -3.356528)', '2026-08-10 19:07:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018218 -3.356506)'), GeomFromEWKT('SRID=4674;POINT (-39.018215 -3.356528)'))) / (select extract(epoch from '2026-08-10 19:07:51'::timestamp) - extract(epoch from '2026-08-10 19:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018218 -3.356506)'), GeomFromEWKT('SRID=4674;POINT (-39.018215 -3.356528)'))) / (select extract(epoch from '2026-08-10 19:07:51'::timestamp) - extract(epoch from '2026-08-10 19:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018202 -3.35655)', '2026-08-10 19:07:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018215 -3.356528)'), GeomFromEWKT('SRID=4674;POINT (-39.018202 -3.35655)'))) / (select extract(epoch from '2026-08-10 19:07:56'::timestamp) - extract(epoch from '2026-08-10 19:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018215 -3.356528)'), GeomFromEWKT('SRID=4674;POINT (-39.018202 -3.35655)'))) / (select extract(epoch from '2026-08-10 19:07:56'::timestamp) - extract(epoch from '2026-08-10 19:07: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'), 48138, 'SRID=4674;POINT (-39.018179 -3.356567)', '2026-08-10 19:08:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018202 -3.35655)'), GeomFromEWKT('SRID=4674;POINT (-39.018179 -3.356567)'))) / (select extract(epoch from '2026-08-10 19:08:03'::timestamp) - extract(epoch from '2026-08-10 19:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018202 -3.35655)'), GeomFromEWKT('SRID=4674;POINT (-39.018179 -3.356567)'))) / (select extract(epoch from '2026-08-10 19:08:03'::timestamp) - extract(epoch from '2026-08-10 19:07: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'), 48138, 'SRID=4674;POINT (-39.018156 -3.356571)', '2026-08-10 19:08:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018179 -3.356567)'), GeomFromEWKT('SRID=4674;POINT (-39.018156 -3.356571)'))) / (select extract(epoch from '2026-08-10 19:08:11'::timestamp) - extract(epoch from '2026-08-10 19:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018179 -3.356567)'), GeomFromEWKT('SRID=4674;POINT (-39.018156 -3.356571)'))) / (select extract(epoch from '2026-08-10 19:08:11'::timestamp) - extract(epoch from '2026-08-10 19:08: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'), 48138, 'SRID=4674;POINT (-39.018108 -3.356583)', '2026-08-10 19:08:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018156 -3.356571)'), GeomFromEWKT('SRID=4674;POINT (-39.018108 -3.356583)'))) / (select extract(epoch from '2026-08-10 19:08:20'::timestamp) - extract(epoch from '2026-08-10 19:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018156 -3.356571)'), GeomFromEWKT('SRID=4674;POINT (-39.018108 -3.356583)'))) / (select extract(epoch from '2026-08-10 19:08:20'::timestamp) - extract(epoch from '2026-08-10 19:08: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'), 48138, 'SRID=4674;POINT (-39.018094 -3.356596)', '2026-08-10 19:08:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018108 -3.356583)'), GeomFromEWKT('SRID=4674;POINT (-39.018094 -3.356596)'))) / (select extract(epoch from '2026-08-10 19:08:25'::timestamp) - extract(epoch from '2026-08-10 19:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018108 -3.356583)'), GeomFromEWKT('SRID=4674;POINT (-39.018094 -3.356596)'))) / (select extract(epoch from '2026-08-10 19:08:25'::timestamp) - extract(epoch from '2026-08-10 19:08:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018065 -3.356613)', '2026-08-10 19:08:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018094 -3.356596)'), GeomFromEWKT('SRID=4674;POINT (-39.018065 -3.356613)'))) / (select extract(epoch from '2026-08-10 19:08:34'::timestamp) - extract(epoch from '2026-08-10 19:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018094 -3.356596)'), GeomFromEWKT('SRID=4674;POINT (-39.018065 -3.356613)'))) / (select extract(epoch from '2026-08-10 19:08:34'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.018013 -3.356625)', '2026-08-10 19:08:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018065 -3.356613)'), GeomFromEWKT('SRID=4674;POINT (-39.018013 -3.356625)'))) / (select extract(epoch from '2026-08-10 19:08:42'::timestamp) - extract(epoch from '2026-08-10 19:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018065 -3.356613)'), GeomFromEWKT('SRID=4674;POINT (-39.018013 -3.356625)'))) / (select extract(epoch from '2026-08-10 19:08:42'::timestamp) - extract(epoch from '2026-08-10 19:08: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'), 48138, 'SRID=4674;POINT (-39.017977 -3.356639)', '2026-08-10 19:08:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018013 -3.356625)'), GeomFromEWKT('SRID=4674;POINT (-39.017977 -3.356639)'))) / (select extract(epoch from '2026-08-10 19:08:49'::timestamp) - extract(epoch from '2026-08-10 19:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018013 -3.356625)'), GeomFromEWKT('SRID=4674;POINT (-39.017977 -3.356639)'))) / (select extract(epoch from '2026-08-10 19:08:49'::timestamp) - extract(epoch from '2026-08-10 19:08:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017959 -3.356664)', '2026-08-10 19:08:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017977 -3.356639)'), GeomFromEWKT('SRID=4674;POINT (-39.017959 -3.356664)'))) / (select extract(epoch from '2026-08-10 19:08:56'::timestamp) - extract(epoch from '2026-08-10 19:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017977 -3.356639)'), GeomFromEWKT('SRID=4674;POINT (-39.017959 -3.356664)'))) / (select extract(epoch from '2026-08-10 19:08:56'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.017936 -3.356684)', '2026-08-10 19:09:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017959 -3.356664)'), GeomFromEWKT('SRID=4674;POINT (-39.017936 -3.356684)'))) / (select extract(epoch from '2026-08-10 19:09:02'::timestamp) - extract(epoch from '2026-08-10 19:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017959 -3.356664)'), GeomFromEWKT('SRID=4674;POINT (-39.017936 -3.356684)'))) / (select extract(epoch from '2026-08-10 19:09:02'::timestamp) - extract(epoch from '2026-08-10 19:08: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'), 48138, 'SRID=4674;POINT (-39.017887 -3.356693)', '2026-08-10 19:09:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017936 -3.356684)'), GeomFromEWKT('SRID=4674;POINT (-39.017887 -3.356693)'))) / (select extract(epoch from '2026-08-10 19:09:09'::timestamp) - extract(epoch from '2026-08-10 19:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017936 -3.356684)'), GeomFromEWKT('SRID=4674;POINT (-39.017887 -3.356693)'))) / (select extract(epoch from '2026-08-10 19:09:09'::timestamp) - extract(epoch from '2026-08-10 19:09: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'), 48138, 'SRID=4674;POINT (-39.017881 -3.356691)', '2026-08-10 19:09:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017887 -3.356693)'), GeomFromEWKT('SRID=4674;POINT (-39.017881 -3.356691)'))) / (select extract(epoch from '2026-08-10 19:09:10'::timestamp) - extract(epoch from '2026-08-10 19:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017887 -3.356693)'), GeomFromEWKT('SRID=4674;POINT (-39.017881 -3.356691)'))) / (select extract(epoch from '2026-08-10 19:09:10'::timestamp) - extract(epoch from '2026-08-10 19:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017813 -3.356694)', '2026-08-10 19:09:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017881 -3.356691)'), GeomFromEWKT('SRID=4674;POINT (-39.017813 -3.356694)'))) / (select extract(epoch from '2026-08-10 19:09:21'::timestamp) - extract(epoch from '2026-08-10 19:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017881 -3.356691)'), GeomFromEWKT('SRID=4674;POINT (-39.017813 -3.356694)'))) / (select extract(epoch from '2026-08-10 19:09:21'::timestamp) - extract(epoch from '2026-08-10 19:09: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'), 48138, 'SRID=4674;POINT (-39.017782 -3.35672)', '2026-08-10 19:09:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017813 -3.356694)'), GeomFromEWKT('SRID=4674;POINT (-39.017782 -3.35672)'))) / (select extract(epoch from '2026-08-10 19:09:29'::timestamp) - extract(epoch from '2026-08-10 19:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017813 -3.356694)'), GeomFromEWKT('SRID=4674;POINT (-39.017782 -3.35672)'))) / (select extract(epoch from '2026-08-10 19:09:29'::timestamp) - extract(epoch from '2026-08-10 19:09: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'), 48138, 'SRID=4674;POINT (-39.017743 -3.356739)', '2026-08-10 19:09:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017782 -3.35672)'), GeomFromEWKT('SRID=4674;POINT (-39.017743 -3.356739)'))) / (select extract(epoch from '2026-08-10 19:09:36'::timestamp) - extract(epoch from '2026-08-10 19:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017782 -3.35672)'), GeomFromEWKT('SRID=4674;POINT (-39.017743 -3.356739)'))) / (select extract(epoch from '2026-08-10 19:09:36'::timestamp) - extract(epoch from '2026-08-10 19:09: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'), 48138, 'SRID=4674;POINT (-39.017737 -3.356749)', '2026-08-10 19:09:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017743 -3.356739)'), GeomFromEWKT('SRID=4674;POINT (-39.017737 -3.356749)'))) / (select extract(epoch from '2026-08-10 19:09:40'::timestamp) - extract(epoch from '2026-08-10 19:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017743 -3.356739)'), GeomFromEWKT('SRID=4674;POINT (-39.017737 -3.356749)'))) / (select extract(epoch from '2026-08-10 19:09:40'::timestamp) - extract(epoch from '2026-08-10 19:09:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017721 -3.356753)', '2026-08-10 19:09:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017737 -3.356749)'), GeomFromEWKT('SRID=4674;POINT (-39.017721 -3.356753)'))) / (select extract(epoch from '2026-08-10 19:09:43'::timestamp) - extract(epoch from '2026-08-10 19:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017737 -3.356749)'), GeomFromEWKT('SRID=4674;POINT (-39.017721 -3.356753)'))) / (select extract(epoch from '2026-08-10 19:09:43'::timestamp) - extract(epoch from '2026-08-10 19:09: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'), 48138, 'SRID=4674;POINT (-39.017678 -3.35677)', '2026-08-10 19:09:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017721 -3.356753)'), GeomFromEWKT('SRID=4674;POINT (-39.017678 -3.35677)'))) / (select extract(epoch from '2026-08-10 19:09:54'::timestamp) - extract(epoch from '2026-08-10 19:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017721 -3.356753)'), GeomFromEWKT('SRID=4674;POINT (-39.017678 -3.35677)'))) / (select extract(epoch from '2026-08-10 19:09:54'::timestamp) - extract(epoch from '2026-08-10 19:09: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'), 48138, 'SRID=4674;POINT (-39.017636 -3.356775)', '2026-08-10 19:10:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017678 -3.35677)'), GeomFromEWKT('SRID=4674;POINT (-39.017636 -3.356775)'))) / (select extract(epoch from '2026-08-10 19:10:02'::timestamp) - extract(epoch from '2026-08-10 19:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017678 -3.35677)'), GeomFromEWKT('SRID=4674;POINT (-39.017636 -3.356775)'))) / (select extract(epoch from '2026-08-10 19:10:02'::timestamp) - extract(epoch from '2026-08-10 19:09:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017609 -3.356785)', '2026-08-10 19:10:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017636 -3.356775)'), GeomFromEWKT('SRID=4674;POINT (-39.017609 -3.356785)'))) / (select extract(epoch from '2026-08-10 19:10:11'::timestamp) - extract(epoch from '2026-08-10 19:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017636 -3.356775)'), GeomFromEWKT('SRID=4674;POINT (-39.017609 -3.356785)'))) / (select extract(epoch from '2026-08-10 19:10:11'::timestamp) - extract(epoch from '2026-08-10 19:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017577 -3.356796)', '2026-08-10 19:10:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017609 -3.356785)'), GeomFromEWKT('SRID=4674;POINT (-39.017577 -3.356796)'))) / (select extract(epoch from '2026-08-10 19:10:19'::timestamp) - extract(epoch from '2026-08-10 19:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017609 -3.356785)'), GeomFromEWKT('SRID=4674;POINT (-39.017577 -3.356796)'))) / (select extract(epoch from '2026-08-10 19:10:19'::timestamp) - extract(epoch from '2026-08-10 19:10:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017559 -3.356812)', '2026-08-10 19:10:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017577 -3.356796)'), GeomFromEWKT('SRID=4674;POINT (-39.017559 -3.356812)'))) / (select extract(epoch from '2026-08-10 19:10:25'::timestamp) - extract(epoch from '2026-08-10 19:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017577 -3.356796)'), GeomFromEWKT('SRID=4674;POINT (-39.017559 -3.356812)'))) / (select extract(epoch from '2026-08-10 19:10:25'::timestamp) - extract(epoch from '2026-08-10 19:10: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'), 48138, 'SRID=4674;POINT (-39.017545 -3.356808)', '2026-08-10 19:10:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017559 -3.356812)'), GeomFromEWKT('SRID=4674;POINT (-39.017545 -3.356808)'))) / (select extract(epoch from '2026-08-10 19:10:33'::timestamp) - extract(epoch from '2026-08-10 19:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017559 -3.356812)'), GeomFromEWKT('SRID=4674;POINT (-39.017545 -3.356808)'))) / (select extract(epoch from '2026-08-10 19:10:33'::timestamp) - extract(epoch from '2026-08-10 19:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01752 -3.356805)', '2026-08-10 19:10:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017545 -3.356808)'), GeomFromEWKT('SRID=4674;POINT (-39.01752 -3.356805)'))) / (select extract(epoch from '2026-08-10 19:10:41'::timestamp) - extract(epoch from '2026-08-10 19:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017545 -3.356808)'), GeomFromEWKT('SRID=4674;POINT (-39.01752 -3.356805)'))) / (select extract(epoch from '2026-08-10 19:10:41'::timestamp) - extract(epoch from '2026-08-10 19:10:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017517 -3.356807)', '2026-08-10 19:10:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01752 -3.356805)'), GeomFromEWKT('SRID=4674;POINT (-39.017517 -3.356807)'))) / (select extract(epoch from '2026-08-10 19:10:49'::timestamp) - extract(epoch from '2026-08-10 19:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01752 -3.356805)'), GeomFromEWKT('SRID=4674;POINT (-39.017517 -3.356807)'))) / (select extract(epoch from '2026-08-10 19:10:49'::timestamp) - extract(epoch from '2026-08-10 19:10:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017512 -3.356801)', '2026-08-10 19:10:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017517 -3.356807)'), GeomFromEWKT('SRID=4674;POINT (-39.017512 -3.356801)'))) / (select extract(epoch from '2026-08-10 19:10:56'::timestamp) - extract(epoch from '2026-08-10 19:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017517 -3.356807)'), GeomFromEWKT('SRID=4674;POINT (-39.017512 -3.356801)'))) / (select extract(epoch from '2026-08-10 19:10:56'::timestamp) - extract(epoch from '2026-08-10 19:10: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'), 48138, 'SRID=4674;POINT (-39.017495 -3.356806)', '2026-08-10 19:11:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017512 -3.356801)'), GeomFromEWKT('SRID=4674;POINT (-39.017495 -3.356806)'))) / (select extract(epoch from '2026-08-10 19:11:02'::timestamp) - extract(epoch from '2026-08-10 19:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017512 -3.356801)'), GeomFromEWKT('SRID=4674;POINT (-39.017495 -3.356806)'))) / (select extract(epoch from '2026-08-10 19:11:02'::timestamp) - extract(epoch from '2026-08-10 19:10: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'), 48138, 'SRID=4674;POINT (-39.017445 -3.356811)', '2026-08-10 19:11:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017495 -3.356806)'), GeomFromEWKT('SRID=4674;POINT (-39.017445 -3.356811)'))) / (select extract(epoch from '2026-08-10 19:11:12'::timestamp) - extract(epoch from '2026-08-10 19:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017495 -3.356806)'), GeomFromEWKT('SRID=4674;POINT (-39.017445 -3.356811)'))) / (select extract(epoch from '2026-08-10 19:11:12'::timestamp) - extract(epoch from '2026-08-10 19:11: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'), 48138, 'SRID=4674;POINT (-39.017426 -3.356845)', '2026-08-10 19:11:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017445 -3.356811)'), GeomFromEWKT('SRID=4674;POINT (-39.017426 -3.356845)'))) / (select extract(epoch from '2026-08-10 19:11:21'::timestamp) - extract(epoch from '2026-08-10 19:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017445 -3.356811)'), GeomFromEWKT('SRID=4674;POINT (-39.017426 -3.356845)'))) / (select extract(epoch from '2026-08-10 19:11:21'::timestamp) - extract(epoch from '2026-08-10 19:11: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'), 48138, 'SRID=4674;POINT (-39.017413 -3.356859)', '2026-08-10 19:11:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017426 -3.356845)'), GeomFromEWKT('SRID=4674;POINT (-39.017413 -3.356859)'))) / (select extract(epoch from '2026-08-10 19:11:27'::timestamp) - extract(epoch from '2026-08-10 19:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017426 -3.356845)'), GeomFromEWKT('SRID=4674;POINT (-39.017413 -3.356859)'))) / (select extract(epoch from '2026-08-10 19:11:27'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.017401 -3.35686)', '2026-08-10 19:11:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017413 -3.356859)'), GeomFromEWKT('SRID=4674;POINT (-39.017401 -3.35686)'))) / (select extract(epoch from '2026-08-10 19:11:30'::timestamp) - extract(epoch from '2026-08-10 19:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017413 -3.356859)'), GeomFromEWKT('SRID=4674;POINT (-39.017401 -3.35686)'))) / (select extract(epoch from '2026-08-10 19:11:30'::timestamp) - extract(epoch from '2026-08-10 19:11:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017354 -3.356888)', '2026-08-10 19:11:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017401 -3.35686)'), GeomFromEWKT('SRID=4674;POINT (-39.017354 -3.356888)'))) / (select extract(epoch from '2026-08-10 19:11:40'::timestamp) - extract(epoch from '2026-08-10 19:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017401 -3.35686)'), GeomFromEWKT('SRID=4674;POINT (-39.017354 -3.356888)'))) / (select extract(epoch from '2026-08-10 19:11:40'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.017334 -3.356902)', '2026-08-10 19:11:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017354 -3.356888)'), GeomFromEWKT('SRID=4674;POINT (-39.017334 -3.356902)'))) / (select extract(epoch from '2026-08-10 19:11:46'::timestamp) - extract(epoch from '2026-08-10 19:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017354 -3.356888)'), GeomFromEWKT('SRID=4674;POINT (-39.017334 -3.356902)'))) / (select extract(epoch from '2026-08-10 19:11:46'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.017314 -3.356921)', '2026-08-10 19:11:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017334 -3.356902)'), GeomFromEWKT('SRID=4674;POINT (-39.017314 -3.356921)'))) / (select extract(epoch from '2026-08-10 19:11:53'::timestamp) - extract(epoch from '2026-08-10 19:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017334 -3.356902)'), GeomFromEWKT('SRID=4674;POINT (-39.017314 -3.356921)'))) / (select extract(epoch from '2026-08-10 19:11:53'::timestamp) - extract(epoch from '2026-08-10 19:11: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'), 48138, 'SRID=4674;POINT (-39.017301 -3.356936)', '2026-08-10 19:12:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017314 -3.356921)'), GeomFromEWKT('SRID=4674;POINT (-39.017301 -3.356936)'))) / (select extract(epoch from '2026-08-10 19:12:03'::timestamp) - extract(epoch from '2026-08-10 19:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017314 -3.356921)'), GeomFromEWKT('SRID=4674;POINT (-39.017301 -3.356936)'))) / (select extract(epoch from '2026-08-10 19:12:03'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.017295 -3.356949)', '2026-08-10 19:12:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017301 -3.356936)'), GeomFromEWKT('SRID=4674;POINT (-39.017295 -3.356949)'))) / (select extract(epoch from '2026-08-10 19:12:10'::timestamp) - extract(epoch from '2026-08-10 19:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017301 -3.356936)'), GeomFromEWKT('SRID=4674;POINT (-39.017295 -3.356949)'))) / (select extract(epoch from '2026-08-10 19:12:10'::timestamp) - extract(epoch from '2026-08-10 19:12: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'), 48138, 'SRID=4674;POINT (-39.017265 -3.35695)', '2026-08-10 19:12:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017295 -3.356949)'), GeomFromEWKT('SRID=4674;POINT (-39.017265 -3.35695)'))) / (select extract(epoch from '2026-08-10 19:12:16'::timestamp) - extract(epoch from '2026-08-10 19:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017295 -3.356949)'), GeomFromEWKT('SRID=4674;POINT (-39.017265 -3.35695)'))) / (select extract(epoch from '2026-08-10 19:12:16'::timestamp) - extract(epoch from '2026-08-10 19:12: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'), 48138, 'SRID=4674;POINT (-39.017209 -3.356959)', '2026-08-10 19:12:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017265 -3.35695)'), GeomFromEWKT('SRID=4674;POINT (-39.017209 -3.356959)'))) / (select extract(epoch from '2026-08-10 19:12:27'::timestamp) - extract(epoch from '2026-08-10 19:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017265 -3.35695)'), GeomFromEWKT('SRID=4674;POINT (-39.017209 -3.356959)'))) / (select extract(epoch from '2026-08-10 19:12:27'::timestamp) - extract(epoch from '2026-08-10 19:12: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'), 48138, 'SRID=4674;POINT (-39.017177 -3.356975)', '2026-08-10 19:12:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017209 -3.356959)'), GeomFromEWKT('SRID=4674;POINT (-39.017177 -3.356975)'))) / (select extract(epoch from '2026-08-10 19:12:34'::timestamp) - extract(epoch from '2026-08-10 19:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017209 -3.356959)'), GeomFromEWKT('SRID=4674;POINT (-39.017177 -3.356975)'))) / (select extract(epoch from '2026-08-10 19:12:34'::timestamp) - extract(epoch from '2026-08-10 19:12: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'), 48138, 'SRID=4674;POINT (-39.01712 -3.357007)', '2026-08-10 19:12:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017177 -3.356975)'), GeomFromEWKT('SRID=4674;POINT (-39.01712 -3.357007)'))) / (select extract(epoch from '2026-08-10 19:12:46'::timestamp) - extract(epoch from '2026-08-10 19:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017177 -3.356975)'), GeomFromEWKT('SRID=4674;POINT (-39.01712 -3.357007)'))) / (select extract(epoch from '2026-08-10 19:12:46'::timestamp) - extract(epoch from '2026-08-10 19:12: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'), 48138, 'SRID=4674;POINT (-39.017081 -3.357025)', '2026-08-10 19:12:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01712 -3.357007)'), GeomFromEWKT('SRID=4674;POINT (-39.017081 -3.357025)'))) / (select extract(epoch from '2026-08-10 19:12:55'::timestamp) - extract(epoch from '2026-08-10 19:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01712 -3.357007)'), GeomFromEWKT('SRID=4674;POINT (-39.017081 -3.357025)'))) / (select extract(epoch from '2026-08-10 19:12:55'::timestamp) - extract(epoch from '2026-08-10 19:12: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'), 48138, 'SRID=4674;POINT (-39.01706 -3.357031)', '2026-08-10 19:12:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017081 -3.357025)'), GeomFromEWKT('SRID=4674;POINT (-39.01706 -3.357031)'))) / (select extract(epoch from '2026-08-10 19:12:59'::timestamp) - extract(epoch from '2026-08-10 19:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017081 -3.357025)'), GeomFromEWKT('SRID=4674;POINT (-39.01706 -3.357031)'))) / (select extract(epoch from '2026-08-10 19:12:59'::timestamp) - extract(epoch from '2026-08-10 19:12: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'), 48138, 'SRID=4674;POINT (-39.017032 -3.357043)', '2026-08-10 19:13:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01706 -3.357031)'), GeomFromEWKT('SRID=4674;POINT (-39.017032 -3.357043)'))) / (select extract(epoch from '2026-08-10 19:13:09'::timestamp) - extract(epoch from '2026-08-10 19:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01706 -3.357031)'), GeomFromEWKT('SRID=4674;POINT (-39.017032 -3.357043)'))) / (select extract(epoch from '2026-08-10 19:13:09'::timestamp) - extract(epoch from '2026-08-10 19:12: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'), 48138, 'SRID=4674;POINT (-39.016998 -3.357063)', '2026-08-10 19:13:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017032 -3.357043)'), GeomFromEWKT('SRID=4674;POINT (-39.016998 -3.357063)'))) / (select extract(epoch from '2026-08-10 19:13:18'::timestamp) - extract(epoch from '2026-08-10 19:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017032 -3.357043)'), GeomFromEWKT('SRID=4674;POINT (-39.016998 -3.357063)'))) / (select extract(epoch from '2026-08-10 19:13:18'::timestamp) - extract(epoch from '2026-08-10 19:13: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'), 48138, 'SRID=4674;POINT (-39.016972 -3.357077)', '2026-08-10 19:13:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016998 -3.357063)'), GeomFromEWKT('SRID=4674;POINT (-39.016972 -3.357077)'))) / (select extract(epoch from '2026-08-10 19:13:27'::timestamp) - extract(epoch from '2026-08-10 19:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016998 -3.357063)'), GeomFromEWKT('SRID=4674;POINT (-39.016972 -3.357077)'))) / (select extract(epoch from '2026-08-10 19:13:27'::timestamp) - extract(epoch from '2026-08-10 19:13: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'), 48138, 'SRID=4674;POINT (-39.016971 -3.357091)', '2026-08-10 19:13:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016972 -3.357077)'), GeomFromEWKT('SRID=4674;POINT (-39.016971 -3.357091)'))) / (select extract(epoch from '2026-08-10 19:13:35'::timestamp) - extract(epoch from '2026-08-10 19:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016972 -3.357077)'), GeomFromEWKT('SRID=4674;POINT (-39.016971 -3.357091)'))) / (select extract(epoch from '2026-08-10 19:13:35'::timestamp) - extract(epoch from '2026-08-10 19:13: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'), 48138, 'SRID=4674;POINT (-39.016931 -3.357101)', '2026-08-10 19:13:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016971 -3.357091)'), GeomFromEWKT('SRID=4674;POINT (-39.016931 -3.357101)'))) / (select extract(epoch from '2026-08-10 19:13:43'::timestamp) - extract(epoch from '2026-08-10 19:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016971 -3.357091)'), GeomFromEWKT('SRID=4674;POINT (-39.016931 -3.357101)'))) / (select extract(epoch from '2026-08-10 19:13:43'::timestamp) - extract(epoch from '2026-08-10 19:13: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'), 48138, 'SRID=4674;POINT (-39.016884 -3.357129)', '2026-08-10 19:13:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016931 -3.357101)'), GeomFromEWKT('SRID=4674;POINT (-39.016884 -3.357129)'))) / (select extract(epoch from '2026-08-10 19:13:51'::timestamp) - extract(epoch from '2026-08-10 19:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016931 -3.357101)'), GeomFromEWKT('SRID=4674;POINT (-39.016884 -3.357129)'))) / (select extract(epoch from '2026-08-10 19:13:51'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.016854 -3.357143)', '2026-08-10 19:13:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016884 -3.357129)'), GeomFromEWKT('SRID=4674;POINT (-39.016854 -3.357143)'))) / (select extract(epoch from '2026-08-10 19:13:58'::timestamp) - extract(epoch from '2026-08-10 19:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016884 -3.357129)'), GeomFromEWKT('SRID=4674;POINT (-39.016854 -3.357143)'))) / (select extract(epoch from '2026-08-10 19:13:58'::timestamp) - extract(epoch from '2026-08-10 19:13: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'), 48138, 'SRID=4674;POINT (-39.016808 -3.357164)', '2026-08-10 19:14:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016854 -3.357143)'), GeomFromEWKT('SRID=4674;POINT (-39.016808 -3.357164)'))) / (select extract(epoch from '2026-08-10 19:14:05'::timestamp) - extract(epoch from '2026-08-10 19:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016854 -3.357143)'), GeomFromEWKT('SRID=4674;POINT (-39.016808 -3.357164)'))) / (select extract(epoch from '2026-08-10 19:14:05'::timestamp) - extract(epoch from '2026-08-10 19:13: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'), 48138, 'SRID=4674;POINT (-39.016778 -3.357179)', '2026-08-10 19:14:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016808 -3.357164)'), GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.357179)'))) / (select extract(epoch from '2026-08-10 19:14:13'::timestamp) - extract(epoch from '2026-08-10 19:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016808 -3.357164)'), GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.357179)'))) / (select extract(epoch from '2026-08-10 19:14:13'::timestamp) - extract(epoch from '2026-08-10 19:14: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'), 48138, 'SRID=4674;POINT (-39.016761 -3.357186)', '2026-08-10 19:14:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.357179)'), GeomFromEWKT('SRID=4674;POINT (-39.016761 -3.357186)'))) / (select extract(epoch from '2026-08-10 19:14:19'::timestamp) - extract(epoch from '2026-08-10 19:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016778 -3.357179)'), GeomFromEWKT('SRID=4674;POINT (-39.016761 -3.357186)'))) / (select extract(epoch from '2026-08-10 19:14:19'::timestamp) - extract(epoch from '2026-08-10 19:14: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'), 48138, 'SRID=4674;POINT (-39.016745 -3.357185)', '2026-08-10 19:14:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016761 -3.357186)'), GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.357185)'))) / (select extract(epoch from '2026-08-10 19:14:26'::timestamp) - extract(epoch from '2026-08-10 19:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016761 -3.357186)'), GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.357185)'))) / (select extract(epoch from '2026-08-10 19:14:26'::timestamp) - extract(epoch from '2026-08-10 19:14: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'), 48138, 'SRID=4674;POINT (-39.016711 -3.357198)', '2026-08-10 19:14:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.357185)'), GeomFromEWKT('SRID=4674;POINT (-39.016711 -3.357198)'))) / (select extract(epoch from '2026-08-10 19:14:33'::timestamp) - extract(epoch from '2026-08-10 19:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016745 -3.357185)'), GeomFromEWKT('SRID=4674;POINT (-39.016711 -3.357198)'))) / (select extract(epoch from '2026-08-10 19:14:33'::timestamp) - extract(epoch from '2026-08-10 19:14: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'), 48138, 'SRID=4674;POINT (-39.016669 -3.357214)', '2026-08-10 19:14:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016711 -3.357198)'), GeomFromEWKT('SRID=4674;POINT (-39.016669 -3.357214)'))) / (select extract(epoch from '2026-08-10 19:14:40'::timestamp) - extract(epoch from '2026-08-10 19:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016711 -3.357198)'), GeomFromEWKT('SRID=4674;POINT (-39.016669 -3.357214)'))) / (select extract(epoch from '2026-08-10 19:14:40'::timestamp) - extract(epoch from '2026-08-10 19:14: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'), 48138, 'SRID=4674;POINT (-39.016637 -3.357233)', '2026-08-10 19:14:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016669 -3.357214)'), GeomFromEWKT('SRID=4674;POINT (-39.016637 -3.357233)'))) / (select extract(epoch from '2026-08-10 19:14:47'::timestamp) - extract(epoch from '2026-08-10 19:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016669 -3.357214)'), GeomFromEWKT('SRID=4674;POINT (-39.016637 -3.357233)'))) / (select extract(epoch from '2026-08-10 19:14:47'::timestamp) - extract(epoch from '2026-08-10 19:14: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'), 48138, 'SRID=4674;POINT (-39.016627 -3.357235)', '2026-08-10 19:14:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016637 -3.357233)'), GeomFromEWKT('SRID=4674;POINT (-39.016627 -3.357235)'))) / (select extract(epoch from '2026-08-10 19:14:54'::timestamp) - extract(epoch from '2026-08-10 19:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016637 -3.357233)'), GeomFromEWKT('SRID=4674;POINT (-39.016627 -3.357235)'))) / (select extract(epoch from '2026-08-10 19:14:54'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.016616 -3.357238)', '2026-08-10 19:15:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016627 -3.357235)'), GeomFromEWKT('SRID=4674;POINT (-39.016616 -3.357238)'))) / (select extract(epoch from '2026-08-10 19:15:04'::timestamp) - extract(epoch from '2026-08-10 19:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016627 -3.357235)'), GeomFromEWKT('SRID=4674;POINT (-39.016616 -3.357238)'))) / (select extract(epoch from '2026-08-10 19:15:04'::timestamp) - extract(epoch from '2026-08-10 19:14: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'), 48138, 'SRID=4674;POINT (-39.016605 -3.357257)', '2026-08-10 19:15:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016616 -3.357238)'), GeomFromEWKT('SRID=4674;POINT (-39.016605 -3.357257)'))) / (select extract(epoch from '2026-08-10 19:15:14'::timestamp) - extract(epoch from '2026-08-10 19:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016616 -3.357238)'), GeomFromEWKT('SRID=4674;POINT (-39.016605 -3.357257)'))) / (select extract(epoch from '2026-08-10 19:15:14'::timestamp) - extract(epoch from '2026-08-10 19:15: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'), 48138, 'SRID=4674;POINT (-39.016571 -3.357271)', '2026-08-10 19:15:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016605 -3.357257)'), GeomFromEWKT('SRID=4674;POINT (-39.016571 -3.357271)'))) / (select extract(epoch from '2026-08-10 19:15:22'::timestamp) - extract(epoch from '2026-08-10 19:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016605 -3.357257)'), GeomFromEWKT('SRID=4674;POINT (-39.016571 -3.357271)'))) / (select extract(epoch from '2026-08-10 19:15:22'::timestamp) - extract(epoch from '2026-08-10 19:15: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'), 48138, 'SRID=4674;POINT (-39.016534 -3.357291)', '2026-08-10 19:15:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016571 -3.357271)'), GeomFromEWKT('SRID=4674;POINT (-39.016534 -3.357291)'))) / (select extract(epoch from '2026-08-10 19:15:30'::timestamp) - extract(epoch from '2026-08-10 19:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016571 -3.357271)'), GeomFromEWKT('SRID=4674;POINT (-39.016534 -3.357291)'))) / (select extract(epoch from '2026-08-10 19:15:30'::timestamp) - extract(epoch from '2026-08-10 19:15:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016493 -3.357312)', '2026-08-10 19:15:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016534 -3.357291)'), GeomFromEWKT('SRID=4674;POINT (-39.016493 -3.357312)'))) / (select extract(epoch from '2026-08-10 19:15:40'::timestamp) - extract(epoch from '2026-08-10 19:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016534 -3.357291)'), GeomFromEWKT('SRID=4674;POINT (-39.016493 -3.357312)'))) / (select extract(epoch from '2026-08-10 19:15:40'::timestamp) - extract(epoch from '2026-08-10 19:15: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'), 48138, 'SRID=4674;POINT (-39.016466 -3.357327)', '2026-08-10 19:15:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016493 -3.357312)'), GeomFromEWKT('SRID=4674;POINT (-39.016466 -3.357327)'))) / (select extract(epoch from '2026-08-10 19:15:47'::timestamp) - extract(epoch from '2026-08-10 19:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016493 -3.357312)'), GeomFromEWKT('SRID=4674;POINT (-39.016466 -3.357327)'))) / (select extract(epoch from '2026-08-10 19:15:47'::timestamp) - extract(epoch from '2026-08-10 19:15: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'), 48138, 'SRID=4674;POINT (-39.016414 -3.357344)', '2026-08-10 19:15:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016466 -3.357327)'), GeomFromEWKT('SRID=4674;POINT (-39.016414 -3.357344)'))) / (select extract(epoch from '2026-08-10 19:15:56'::timestamp) - extract(epoch from '2026-08-10 19:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016466 -3.357327)'), GeomFromEWKT('SRID=4674;POINT (-39.016414 -3.357344)'))) / (select extract(epoch from '2026-08-10 19:15:56'::timestamp) - extract(epoch from '2026-08-10 19:15: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'), 48138, 'SRID=4674;POINT (-39.016353 -3.357354)', '2026-08-10 19:16:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016414 -3.357344)'), GeomFromEWKT('SRID=4674;POINT (-39.016353 -3.357354)'))) / (select extract(epoch from '2026-08-10 19:16:05'::timestamp) - extract(epoch from '2026-08-10 19:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016414 -3.357344)'), GeomFromEWKT('SRID=4674;POINT (-39.016353 -3.357354)'))) / (select extract(epoch from '2026-08-10 19:16:05'::timestamp) - extract(epoch from '2026-08-10 19:15: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'), 48138, 'SRID=4674;POINT (-39.016338 -3.357365)', '2026-08-10 19:16:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016353 -3.357354)'), GeomFromEWKT('SRID=4674;POINT (-39.016338 -3.357365)'))) / (select extract(epoch from '2026-08-10 19:16:11'::timestamp) - extract(epoch from '2026-08-10 19:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016353 -3.357354)'), GeomFromEWKT('SRID=4674;POINT (-39.016338 -3.357365)'))) / (select extract(epoch from '2026-08-10 19:16:11'::timestamp) - extract(epoch from '2026-08-10 19:16: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'), 48138, 'SRID=4674;POINT (-39.016315 -3.357374)', '2026-08-10 19:16:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016338 -3.357365)'), GeomFromEWKT('SRID=4674;POINT (-39.016315 -3.357374)'))) / (select extract(epoch from '2026-08-10 19:16:18'::timestamp) - extract(epoch from '2026-08-10 19:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016338 -3.357365)'), GeomFromEWKT('SRID=4674;POINT (-39.016315 -3.357374)'))) / (select extract(epoch from '2026-08-10 19:16:18'::timestamp) - extract(epoch from '2026-08-10 19:16: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'), 48138, 'SRID=4674;POINT (-39.016282 -3.357399)', '2026-08-10 19:16:28', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016315 -3.357374)'), GeomFromEWKT('SRID=4674;POINT (-39.016282 -3.357399)'))) / (select extract(epoch from '2026-08-10 19:16:28'::timestamp) - extract(epoch from '2026-08-10 19:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016315 -3.357374)'), GeomFromEWKT('SRID=4674;POINT (-39.016282 -3.357399)'))) / (select extract(epoch from '2026-08-10 19:16:28'::timestamp) - extract(epoch from '2026-08-10 19:16: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'), 48138, 'SRID=4674;POINT (-39.016253 -3.357403)', '2026-08-10 19:16:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016282 -3.357399)'), GeomFromEWKT('SRID=4674;POINT (-39.016253 -3.357403)'))) / (select extract(epoch from '2026-08-10 19:16:36'::timestamp) - extract(epoch from '2026-08-10 19:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016282 -3.357399)'), GeomFromEWKT('SRID=4674;POINT (-39.016253 -3.357403)'))) / (select extract(epoch from '2026-08-10 19:16:36'::timestamp) - extract(epoch from '2026-08-10 19:16: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'), 48138, 'SRID=4674;POINT (-39.016239 -3.357401)', '2026-08-10 19:16:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016253 -3.357403)'), GeomFromEWKT('SRID=4674;POINT (-39.016239 -3.357401)'))) / (select extract(epoch from '2026-08-10 19:16:44'::timestamp) - extract(epoch from '2026-08-10 19:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016253 -3.357403)'), GeomFromEWKT('SRID=4674;POINT (-39.016239 -3.357401)'))) / (select extract(epoch from '2026-08-10 19:16:44'::timestamp) - extract(epoch from '2026-08-10 19:16: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'), 48138, 'SRID=4674;POINT (-39.016211 -3.357418)', '2026-08-10 19:16:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016239 -3.357401)'), GeomFromEWKT('SRID=4674;POINT (-39.016211 -3.357418)'))) / (select extract(epoch from '2026-08-10 19:16:54'::timestamp) - extract(epoch from '2026-08-10 19:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016239 -3.357401)'), GeomFromEWKT('SRID=4674;POINT (-39.016211 -3.357418)'))) / (select extract(epoch from '2026-08-10 19:16:54'::timestamp) - extract(epoch from '2026-08-10 19:16: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'), 48138, 'SRID=4674;POINT (-39.016189 -3.357434)', '2026-08-10 19:17:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016211 -3.357418)'), GeomFromEWKT('SRID=4674;POINT (-39.016189 -3.357434)'))) / (select extract(epoch from '2026-08-10 19:17:03'::timestamp) - extract(epoch from '2026-08-10 19:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016211 -3.357418)'), GeomFromEWKT('SRID=4674;POINT (-39.016189 -3.357434)'))) / (select extract(epoch from '2026-08-10 19:17:03'::timestamp) - extract(epoch from '2026-08-10 19:16: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'), 48138, 'SRID=4674;POINT (-39.016159 -3.357448)', '2026-08-10 19:17:11', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016189 -3.357434)'), GeomFromEWKT('SRID=4674;POINT (-39.016159 -3.357448)'))) / (select extract(epoch from '2026-08-10 19:17:11'::timestamp) - extract(epoch from '2026-08-10 19:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016189 -3.357434)'), GeomFromEWKT('SRID=4674;POINT (-39.016159 -3.357448)'))) / (select extract(epoch from '2026-08-10 19:17:11'::timestamp) - extract(epoch from '2026-08-10 19:17:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016098 -3.357463)', '2026-08-10 19:17:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016159 -3.357448)'), GeomFromEWKT('SRID=4674;POINT (-39.016098 -3.357463)'))) / (select extract(epoch from '2026-08-10 19:17:19'::timestamp) - extract(epoch from '2026-08-10 19:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016159 -3.357448)'), GeomFromEWKT('SRID=4674;POINT (-39.016098 -3.357463)'))) / (select extract(epoch from '2026-08-10 19:17:19'::timestamp) - extract(epoch from '2026-08-10 19:17:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016089 -3.357466)', '2026-08-10 19:17:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016098 -3.357463)'), GeomFromEWKT('SRID=4674;POINT (-39.016089 -3.357466)'))) / (select extract(epoch from '2026-08-10 19:17:20'::timestamp) - extract(epoch from '2026-08-10 19:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016098 -3.357463)'), GeomFromEWKT('SRID=4674;POINT (-39.016089 -3.357466)'))) / (select extract(epoch from '2026-08-10 19:17:20'::timestamp) - extract(epoch from '2026-08-10 19:17: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'), 48138, 'SRID=4674;POINT (-39.016078 -3.357471)', '2026-08-10 19:17:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016089 -3.357466)'), GeomFromEWKT('SRID=4674;POINT (-39.016078 -3.357471)'))) / (select extract(epoch from '2026-08-10 19:17:23'::timestamp) - extract(epoch from '2026-08-10 19:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016089 -3.357466)'), GeomFromEWKT('SRID=4674;POINT (-39.016078 -3.357471)'))) / (select extract(epoch from '2026-08-10 19:17:23'::timestamp) - extract(epoch from '2026-08-10 19:17: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'), 48138, 'SRID=4674;POINT (-39.016072 -3.357485)', '2026-08-10 19:17:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016078 -3.357471)'), GeomFromEWKT('SRID=4674;POINT (-39.016072 -3.357485)'))) / (select extract(epoch from '2026-08-10 19:17:29'::timestamp) - extract(epoch from '2026-08-10 19:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016078 -3.357471)'), GeomFromEWKT('SRID=4674;POINT (-39.016072 -3.357485)'))) / (select extract(epoch from '2026-08-10 19:17:29'::timestamp) - extract(epoch from '2026-08-10 19:17: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'), 48138, 'SRID=4674;POINT (-39.016045 -3.357492)', '2026-08-10 19:17:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016072 -3.357485)'), GeomFromEWKT('SRID=4674;POINT (-39.016045 -3.357492)'))) / (select extract(epoch from '2026-08-10 19:17:37'::timestamp) - extract(epoch from '2026-08-10 19:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016072 -3.357485)'), GeomFromEWKT('SRID=4674;POINT (-39.016045 -3.357492)'))) / (select extract(epoch from '2026-08-10 19:17:37'::timestamp) - extract(epoch from '2026-08-10 19:17: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'), 48138, 'SRID=4674;POINT (-39.016005 -3.357503)', '2026-08-10 19:17:45', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016045 -3.357492)'), GeomFromEWKT('SRID=4674;POINT (-39.016005 -3.357503)'))) / (select extract(epoch from '2026-08-10 19:17:45'::timestamp) - extract(epoch from '2026-08-10 19:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016045 -3.357492)'), GeomFromEWKT('SRID=4674;POINT (-39.016005 -3.357503)'))) / (select extract(epoch from '2026-08-10 19:17:45'::timestamp) - extract(epoch from '2026-08-10 19:17: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'), 48138, 'SRID=4674;POINT (-39.015959 -3.357538)', '2026-08-10 19:17:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016005 -3.357503)'), GeomFromEWKT('SRID=4674;POINT (-39.015959 -3.357538)'))) / (select extract(epoch from '2026-08-10 19:17:56'::timestamp) - extract(epoch from '2026-08-10 19:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016005 -3.357503)'), GeomFromEWKT('SRID=4674;POINT (-39.015959 -3.357538)'))) / (select extract(epoch from '2026-08-10 19:17:56'::timestamp) - extract(epoch from '2026-08-10 19:17: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'), 48138, 'SRID=4674;POINT (-39.015921 -3.35755)', '2026-08-10 19:18:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015959 -3.357538)'), GeomFromEWKT('SRID=4674;POINT (-39.015921 -3.35755)'))) / (select extract(epoch from '2026-08-10 19:18:05'::timestamp) - extract(epoch from '2026-08-10 19:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015959 -3.357538)'), GeomFromEWKT('SRID=4674;POINT (-39.015921 -3.35755)'))) / (select extract(epoch from '2026-08-10 19:18:05'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.015909 -3.357561)', '2026-08-10 19:18:09', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015921 -3.35755)'), GeomFromEWKT('SRID=4674;POINT (-39.015909 -3.357561)'))) / (select extract(epoch from '2026-08-10 19:18:09'::timestamp) - extract(epoch from '2026-08-10 19:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015921 -3.35755)'), GeomFromEWKT('SRID=4674;POINT (-39.015909 -3.357561)'))) / (select extract(epoch from '2026-08-10 19:18:09'::timestamp) - extract(epoch from '2026-08-10 19:18: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'), 48138, 'SRID=4674;POINT (-39.015898 -3.357562)', '2026-08-10 19:18:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015909 -3.357561)'), GeomFromEWKT('SRID=4674;POINT (-39.015898 -3.357562)'))) / (select extract(epoch from '2026-08-10 19:18:10'::timestamp) - extract(epoch from '2026-08-10 19:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015909 -3.357561)'), GeomFromEWKT('SRID=4674;POINT (-39.015898 -3.357562)'))) / (select extract(epoch from '2026-08-10 19:18:10'::timestamp) - extract(epoch from '2026-08-10 19:18: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'), 48138, 'SRID=4674;POINT (-39.015872 -3.357567)', '2026-08-10 19:18:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015898 -3.357562)'), GeomFromEWKT('SRID=4674;POINT (-39.015872 -3.357567)'))) / (select extract(epoch from '2026-08-10 19:18:15'::timestamp) - extract(epoch from '2026-08-10 19:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015898 -3.357562)'), GeomFromEWKT('SRID=4674;POINT (-39.015872 -3.357567)'))) / (select extract(epoch from '2026-08-10 19:18:15'::timestamp) - extract(epoch from '2026-08-10 19:18:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015863 -3.357566)', '2026-08-10 19:18:16', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015872 -3.357567)'), GeomFromEWKT('SRID=4674;POINT (-39.015863 -3.357566)'))) / (select extract(epoch from '2026-08-10 19:18:16'::timestamp) - extract(epoch from '2026-08-10 19:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015872 -3.357567)'), GeomFromEWKT('SRID=4674;POINT (-39.015863 -3.357566)'))) / (select extract(epoch from '2026-08-10 19:18:16'::timestamp) - extract(epoch from '2026-08-10 19:18: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'), 48138, 'SRID=4674;POINT (-39.015849 -3.357575)', '2026-08-10 19:18:20', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015863 -3.357566)'), GeomFromEWKT('SRID=4674;POINT (-39.015849 -3.357575)'))) / (select extract(epoch from '2026-08-10 19:18:20'::timestamp) - extract(epoch from '2026-08-10 19:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015863 -3.357566)'), GeomFromEWKT('SRID=4674;POINT (-39.015849 -3.357575)'))) / (select extract(epoch from '2026-08-10 19:18:20'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.01582 -3.357599)', '2026-08-10 19:18:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015849 -3.357575)'), GeomFromEWKT('SRID=4674;POINT (-39.01582 -3.357599)'))) / (select extract(epoch from '2026-08-10 19:18:29'::timestamp) - extract(epoch from '2026-08-10 19:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015849 -3.357575)'), GeomFromEWKT('SRID=4674;POINT (-39.01582 -3.357599)'))) / (select extract(epoch from '2026-08-10 19:18:29'::timestamp) - extract(epoch from '2026-08-10 19:18: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'), 48138, 'SRID=4674;POINT (-39.015788 -3.357606)', '2026-08-10 19:18:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01582 -3.357599)'), GeomFromEWKT('SRID=4674;POINT (-39.015788 -3.357606)'))) / (select extract(epoch from '2026-08-10 19:18:37'::timestamp) - extract(epoch from '2026-08-10 19:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01582 -3.357599)'), GeomFromEWKT('SRID=4674;POINT (-39.015788 -3.357606)'))) / (select extract(epoch from '2026-08-10 19:18:37'::timestamp) - extract(epoch from '2026-08-10 19:18: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'), 48138, 'SRID=4674;POINT (-39.015741 -3.357628)', '2026-08-10 19:18:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015788 -3.357606)'), GeomFromEWKT('SRID=4674;POINT (-39.015741 -3.357628)'))) / (select extract(epoch from '2026-08-10 19:18:47'::timestamp) - extract(epoch from '2026-08-10 19:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015788 -3.357606)'), GeomFromEWKT('SRID=4674;POINT (-39.015741 -3.357628)'))) / (select extract(epoch from '2026-08-10 19:18:47'::timestamp) - extract(epoch from '2026-08-10 19:18: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'), 48138, 'SRID=4674;POINT (-39.015714 -3.357645)', '2026-08-10 19:18:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015741 -3.357628)'), GeomFromEWKT('SRID=4674;POINT (-39.015714 -3.357645)'))) / (select extract(epoch from '2026-08-10 19:18:54'::timestamp) - extract(epoch from '2026-08-10 19:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015741 -3.357628)'), GeomFromEWKT('SRID=4674;POINT (-39.015714 -3.357645)'))) / (select extract(epoch from '2026-08-10 19:18:54'::timestamp) - extract(epoch from '2026-08-10 19:18:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015678 -3.357655)', '2026-08-10 19:19:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015714 -3.357645)'), GeomFromEWKT('SRID=4674;POINT (-39.015678 -3.357655)'))) / (select extract(epoch from '2026-08-10 19:19:02'::timestamp) - extract(epoch from '2026-08-10 19:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015714 -3.357645)'), GeomFromEWKT('SRID=4674;POINT (-39.015678 -3.357655)'))) / (select extract(epoch from '2026-08-10 19:19:02'::timestamp) - extract(epoch from '2026-08-10 19:18: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'), 48138, 'SRID=4674;POINT (-39.015653 -3.357668)', '2026-08-10 19:19:08', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015678 -3.357655)'), GeomFromEWKT('SRID=4674;POINT (-39.015653 -3.357668)'))) / (select extract(epoch from '2026-08-10 19:19:08'::timestamp) - extract(epoch from '2026-08-10 19:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015678 -3.357655)'), GeomFromEWKT('SRID=4674;POINT (-39.015653 -3.357668)'))) / (select extract(epoch from '2026-08-10 19:19:08'::timestamp) - extract(epoch from '2026-08-10 19:19: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'), 48138, 'SRID=4674;POINT (-39.015644 -3.357668)', '2026-08-10 19:19:09', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015653 -3.357668)'), GeomFromEWKT('SRID=4674;POINT (-39.015644 -3.357668)'))) / (select extract(epoch from '2026-08-10 19:19:09'::timestamp) - extract(epoch from '2026-08-10 19:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015653 -3.357668)'), GeomFromEWKT('SRID=4674;POINT (-39.015644 -3.357668)'))) / (select extract(epoch from '2026-08-10 19:19:09'::timestamp) - extract(epoch from '2026-08-10 19:19:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015622 -3.357677)', '2026-08-10 19:19:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015644 -3.357668)'), GeomFromEWKT('SRID=4674;POINT (-39.015622 -3.357677)'))) / (select extract(epoch from '2026-08-10 19:19:14'::timestamp) - extract(epoch from '2026-08-10 19:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015644 -3.357668)'), GeomFromEWKT('SRID=4674;POINT (-39.015622 -3.357677)'))) / (select extract(epoch from '2026-08-10 19:19:14'::timestamp) - extract(epoch from '2026-08-10 19:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015617 -3.357695)', '2026-08-10 19:19:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015622 -3.357677)'), GeomFromEWKT('SRID=4674;POINT (-39.015617 -3.357695)'))) / (select extract(epoch from '2026-08-10 19:19:20'::timestamp) - extract(epoch from '2026-08-10 19:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015622 -3.357677)'), GeomFromEWKT('SRID=4674;POINT (-39.015617 -3.357695)'))) / (select extract(epoch from '2026-08-10 19:19:20'::timestamp) - extract(epoch from '2026-08-10 19:19: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'), 48138, 'SRID=4674;POINT (-39.015576 -3.357711)', '2026-08-10 19:19:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015617 -3.357695)'), GeomFromEWKT('SRID=4674;POINT (-39.015576 -3.357711)'))) / (select extract(epoch from '2026-08-10 19:19:29'::timestamp) - extract(epoch from '2026-08-10 19:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015617 -3.357695)'), GeomFromEWKT('SRID=4674;POINT (-39.015576 -3.357711)'))) / (select extract(epoch from '2026-08-10 19:19:29'::timestamp) - extract(epoch from '2026-08-10 19:19: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'), 48138, 'SRID=4674;POINT (-39.015541 -3.357713)', '2026-08-10 19:19:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015576 -3.357711)'), GeomFromEWKT('SRID=4674;POINT (-39.015541 -3.357713)'))) / (select extract(epoch from '2026-08-10 19:19:36'::timestamp) - extract(epoch from '2026-08-10 19:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015576 -3.357711)'), GeomFromEWKT('SRID=4674;POINT (-39.015541 -3.357713)'))) / (select extract(epoch from '2026-08-10 19:19:36'::timestamp) - extract(epoch from '2026-08-10 19:19: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'), 48138, 'SRID=4674;POINT (-39.015489 -3.357735)', '2026-08-10 19:19:46', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015541 -3.357713)'), GeomFromEWKT('SRID=4674;POINT (-39.015489 -3.357735)'))) / (select extract(epoch from '2026-08-10 19:19:46'::timestamp) - extract(epoch from '2026-08-10 19:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015541 -3.357713)'), GeomFromEWKT('SRID=4674;POINT (-39.015489 -3.357735)'))) / (select extract(epoch from '2026-08-10 19:19:46'::timestamp) - extract(epoch from '2026-08-10 19:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015466 -3.35776)', '2026-08-10 19:19:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015489 -3.357735)'), GeomFromEWKT('SRID=4674;POINT (-39.015466 -3.35776)'))) / (select extract(epoch from '2026-08-10 19:19:54'::timestamp) - extract(epoch from '2026-08-10 19:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015489 -3.357735)'), GeomFromEWKT('SRID=4674;POINT (-39.015466 -3.35776)'))) / (select extract(epoch from '2026-08-10 19:19:54'::timestamp) - extract(epoch from '2026-08-10 19:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015418 -3.357784)', '2026-08-10 19:20:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015466 -3.35776)'), GeomFromEWKT('SRID=4674;POINT (-39.015418 -3.357784)'))) / (select extract(epoch from '2026-08-10 19:20:05'::timestamp) - extract(epoch from '2026-08-10 19:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015466 -3.35776)'), GeomFromEWKT('SRID=4674;POINT (-39.015418 -3.357784)'))) / (select extract(epoch from '2026-08-10 19:20:05'::timestamp) - extract(epoch from '2026-08-10 19:19:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01539 -3.357791)', '2026-08-10 19:20:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015418 -3.357784)'), GeomFromEWKT('SRID=4674;POINT (-39.01539 -3.357791)'))) / (select extract(epoch from '2026-08-10 19:20:13'::timestamp) - extract(epoch from '2026-08-10 19:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015418 -3.357784)'), GeomFromEWKT('SRID=4674;POINT (-39.01539 -3.357791)'))) / (select extract(epoch from '2026-08-10 19:20:13'::timestamp) - extract(epoch from '2026-08-10 19:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015346 -3.357803)', '2026-08-10 19:20:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01539 -3.357791)'), GeomFromEWKT('SRID=4674;POINT (-39.015346 -3.357803)'))) / (select extract(epoch from '2026-08-10 19:20:20'::timestamp) - extract(epoch from '2026-08-10 19:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01539 -3.357791)'), GeomFromEWKT('SRID=4674;POINT (-39.015346 -3.357803)'))) / (select extract(epoch from '2026-08-10 19:20:20'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.015328 -3.357827)', '2026-08-10 19:20:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015346 -3.357803)'), GeomFromEWKT('SRID=4674;POINT (-39.015328 -3.357827)'))) / (select extract(epoch from '2026-08-10 19:20:28'::timestamp) - extract(epoch from '2026-08-10 19:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015346 -3.357803)'), GeomFromEWKT('SRID=4674;POINT (-39.015328 -3.357827)'))) / (select extract(epoch from '2026-08-10 19:20:28'::timestamp) - extract(epoch from '2026-08-10 19:20: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'), 48138, 'SRID=4674;POINT (-39.015305 -3.357842)', '2026-08-10 19:20:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015328 -3.357827)'), GeomFromEWKT('SRID=4674;POINT (-39.015305 -3.357842)'))) / (select extract(epoch from '2026-08-10 19:20:36'::timestamp) - extract(epoch from '2026-08-10 19:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015328 -3.357827)'), GeomFromEWKT('SRID=4674;POINT (-39.015305 -3.357842)'))) / (select extract(epoch from '2026-08-10 19:20:36'::timestamp) - extract(epoch from '2026-08-10 19:20: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'), 48138, 'SRID=4674;POINT (-39.015293 -3.357848)', '2026-08-10 19:20:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015305 -3.357842)'), GeomFromEWKT('SRID=4674;POINT (-39.015293 -3.357848)'))) / (select extract(epoch from '2026-08-10 19:20:45'::timestamp) - extract(epoch from '2026-08-10 19:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015305 -3.357842)'), GeomFromEWKT('SRID=4674;POINT (-39.015293 -3.357848)'))) / (select extract(epoch from '2026-08-10 19:20:45'::timestamp) - extract(epoch from '2026-08-10 19:20: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'), 48138, 'SRID=4674;POINT (-39.01525 -3.357857)', '2026-08-10 19:20:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015293 -3.357848)'), GeomFromEWKT('SRID=4674;POINT (-39.01525 -3.357857)'))) / (select extract(epoch from '2026-08-10 19:20:53'::timestamp) - extract(epoch from '2026-08-10 19:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015293 -3.357848)'), GeomFromEWKT('SRID=4674;POINT (-39.01525 -3.357857)'))) / (select extract(epoch from '2026-08-10 19:20:53'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.015217 -3.357866)', '2026-08-10 19:21:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01525 -3.357857)'), GeomFromEWKT('SRID=4674;POINT (-39.015217 -3.357866)'))) / (select extract(epoch from '2026-08-10 19:21:01'::timestamp) - extract(epoch from '2026-08-10 19:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01525 -3.357857)'), GeomFromEWKT('SRID=4674;POINT (-39.015217 -3.357866)'))) / (select extract(epoch from '2026-08-10 19:21:01'::timestamp) - extract(epoch from '2026-08-10 19:20:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015181 -3.357887)', '2026-08-10 19:21:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015217 -3.357866)'), GeomFromEWKT('SRID=4674;POINT (-39.015181 -3.357887)'))) / (select extract(epoch from '2026-08-10 19:21:11'::timestamp) - extract(epoch from '2026-08-10 19:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015217 -3.357866)'), GeomFromEWKT('SRID=4674;POINT (-39.015181 -3.357887)'))) / (select extract(epoch from '2026-08-10 19:21:11'::timestamp) - extract(epoch from '2026-08-10 19:21: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'), 48138, 'SRID=4674;POINT (-39.015138 -3.357914)', '2026-08-10 19:21:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015181 -3.357887)'), GeomFromEWKT('SRID=4674;POINT (-39.015138 -3.357914)'))) / (select extract(epoch from '2026-08-10 19:21:23'::timestamp) - extract(epoch from '2026-08-10 19:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015181 -3.357887)'), GeomFromEWKT('SRID=4674;POINT (-39.015138 -3.357914)'))) / (select extract(epoch from '2026-08-10 19:21:23'::timestamp) - extract(epoch from '2026-08-10 19:21: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'), 48138, 'SRID=4674;POINT (-39.015112 -3.357926)', '2026-08-10 19:21:32', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015138 -3.357914)'), GeomFromEWKT('SRID=4674;POINT (-39.015112 -3.357926)'))) / (select extract(epoch from '2026-08-10 19:21:32'::timestamp) - extract(epoch from '2026-08-10 19:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015138 -3.357914)'), GeomFromEWKT('SRID=4674;POINT (-39.015112 -3.357926)'))) / (select extract(epoch from '2026-08-10 19:21:32'::timestamp) - extract(epoch from '2026-08-10 19:21:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015066 -3.357935)', '2026-08-10 19:21:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015112 -3.357926)'), GeomFromEWKT('SRID=4674;POINT (-39.015066 -3.357935)'))) / (select extract(epoch from '2026-08-10 19:21:41'::timestamp) - extract(epoch from '2026-08-10 19:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015112 -3.357926)'), GeomFromEWKT('SRID=4674;POINT (-39.015066 -3.357935)'))) / (select extract(epoch from '2026-08-10 19:21:41'::timestamp) - extract(epoch from '2026-08-10 19:21: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'), 48138, 'SRID=4674;POINT (-39.015039 -3.357941)', '2026-08-10 19:21:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015066 -3.357935)'), GeomFromEWKT('SRID=4674;POINT (-39.015039 -3.357941)'))) / (select extract(epoch from '2026-08-10 19:21:47'::timestamp) - extract(epoch from '2026-08-10 19:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015066 -3.357935)'), GeomFromEWKT('SRID=4674;POINT (-39.015039 -3.357941)'))) / (select extract(epoch from '2026-08-10 19:21:47'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.015009 -3.357954)', '2026-08-10 19:21:55', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015039 -3.357941)'), GeomFromEWKT('SRID=4674;POINT (-39.015009 -3.357954)'))) / (select extract(epoch from '2026-08-10 19:21:55'::timestamp) - extract(epoch from '2026-08-10 19:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015039 -3.357941)'), GeomFromEWKT('SRID=4674;POINT (-39.015009 -3.357954)'))) / (select extract(epoch from '2026-08-10 19:21:55'::timestamp) - extract(epoch from '2026-08-10 19:21: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'), 48138, 'SRID=4674;POINT (-39.014975 -3.357968)', '2026-08-10 19:22:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015009 -3.357954)'), GeomFromEWKT('SRID=4674;POINT (-39.014975 -3.357968)'))) / (select extract(epoch from '2026-08-10 19:22:03'::timestamp) - extract(epoch from '2026-08-10 19:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015009 -3.357954)'), GeomFromEWKT('SRID=4674;POINT (-39.014975 -3.357968)'))) / (select extract(epoch from '2026-08-10 19:22:03'::timestamp) - extract(epoch from '2026-08-10 19:21:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014942 -3.357983)', '2026-08-10 19:22:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014975 -3.357968)'), GeomFromEWKT('SRID=4674;POINT (-39.014942 -3.357983)'))) / (select extract(epoch from '2026-08-10 19:22:11'::timestamp) - extract(epoch from '2026-08-10 19:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014975 -3.357968)'), GeomFromEWKT('SRID=4674;POINT (-39.014942 -3.357983)'))) / (select extract(epoch from '2026-08-10 19:22:11'::timestamp) - extract(epoch from '2026-08-10 19:22: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'), 48138, 'SRID=4674;POINT (-39.014915 -3.357997)', '2026-08-10 19:22:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014942 -3.357983)'), GeomFromEWKT('SRID=4674;POINT (-39.014915 -3.357997)'))) / (select extract(epoch from '2026-08-10 19:22:19'::timestamp) - extract(epoch from '2026-08-10 19:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014942 -3.357983)'), GeomFromEWKT('SRID=4674;POINT (-39.014915 -3.357997)'))) / (select extract(epoch from '2026-08-10 19:22:19'::timestamp) - extract(epoch from '2026-08-10 19:22:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014901 -3.358003)', '2026-08-10 19:22:24', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014915 -3.357997)'), GeomFromEWKT('SRID=4674;POINT (-39.014901 -3.358003)'))) / (select extract(epoch from '2026-08-10 19:22:24'::timestamp) - extract(epoch from '2026-08-10 19:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014915 -3.357997)'), GeomFromEWKT('SRID=4674;POINT (-39.014901 -3.358003)'))) / (select extract(epoch from '2026-08-10 19:22:24'::timestamp) - extract(epoch from '2026-08-10 19:22: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'), 48138, 'SRID=4674;POINT (-39.01487 -3.358016)', '2026-08-10 19:22:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014901 -3.358003)'), GeomFromEWKT('SRID=4674;POINT (-39.01487 -3.358016)'))) / (select extract(epoch from '2026-08-10 19:22:32'::timestamp) - extract(epoch from '2026-08-10 19:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014901 -3.358003)'), GeomFromEWKT('SRID=4674;POINT (-39.01487 -3.358016)'))) / (select extract(epoch from '2026-08-10 19:22:32'::timestamp) - extract(epoch from '2026-08-10 19:22: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'), 48138, 'SRID=4674;POINT (-39.014845 -3.358015)', '2026-08-10 19:22:40', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01487 -3.358016)'), GeomFromEWKT('SRID=4674;POINT (-39.014845 -3.358015)'))) / (select extract(epoch from '2026-08-10 19:22:40'::timestamp) - extract(epoch from '2026-08-10 19:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01487 -3.358016)'), GeomFromEWKT('SRID=4674;POINT (-39.014845 -3.358015)'))) / (select extract(epoch from '2026-08-10 19:22:40'::timestamp) - extract(epoch from '2026-08-10 19:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014838 -3.358016)', '2026-08-10 19:22:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014845 -3.358015)'), GeomFromEWKT('SRID=4674;POINT (-39.014838 -3.358016)'))) / (select extract(epoch from '2026-08-10 19:22:41'::timestamp) - extract(epoch from '2026-08-10 19:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014845 -3.358015)'), GeomFromEWKT('SRID=4674;POINT (-39.014838 -3.358016)'))) / (select extract(epoch from '2026-08-10 19:22:41'::timestamp) - extract(epoch from '2026-08-10 19:22: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'), 48138, 'SRID=4674;POINT (-39.014834 -3.358022)', '2026-08-10 19:22:46', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014838 -3.358016)'), GeomFromEWKT('SRID=4674;POINT (-39.014834 -3.358022)'))) / (select extract(epoch from '2026-08-10 19:22:46'::timestamp) - extract(epoch from '2026-08-10 19:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014838 -3.358016)'), GeomFromEWKT('SRID=4674;POINT (-39.014834 -3.358022)'))) / (select extract(epoch from '2026-08-10 19:22:46'::timestamp) - extract(epoch from '2026-08-10 19:22: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'), 48138, 'SRID=4674;POINT (-39.014805 -3.358033)', '2026-08-10 19:22:55', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014834 -3.358022)'), GeomFromEWKT('SRID=4674;POINT (-39.014805 -3.358033)'))) / (select extract(epoch from '2026-08-10 19:22:55'::timestamp) - extract(epoch from '2026-08-10 19:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014834 -3.358022)'), GeomFromEWKT('SRID=4674;POINT (-39.014805 -3.358033)'))) / (select extract(epoch from '2026-08-10 19:22:55'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.014789 -3.358054)', '2026-08-10 19:23:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014805 -3.358033)'), GeomFromEWKT('SRID=4674;POINT (-39.014789 -3.358054)'))) / (select extract(epoch from '2026-08-10 19:23:03'::timestamp) - extract(epoch from '2026-08-10 19:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014805 -3.358033)'), GeomFromEWKT('SRID=4674;POINT (-39.014789 -3.358054)'))) / (select extract(epoch from '2026-08-10 19:23:03'::timestamp) - extract(epoch from '2026-08-10 19:22: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'), 48138, 'SRID=4674;POINT (-39.014779 -3.358057)', '2026-08-10 19:23:10', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014789 -3.358054)'), GeomFromEWKT('SRID=4674;POINT (-39.014779 -3.358057)'))) / (select extract(epoch from '2026-08-10 19:23:10'::timestamp) - extract(epoch from '2026-08-10 19:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014789 -3.358054)'), GeomFromEWKT('SRID=4674;POINT (-39.014779 -3.358057)'))) / (select extract(epoch from '2026-08-10 19:23:10'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.014777 -3.358068)', '2026-08-10 19:23:14', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014779 -3.358057)'), GeomFromEWKT('SRID=4674;POINT (-39.014777 -3.358068)'))) / (select extract(epoch from '2026-08-10 19:23:14'::timestamp) - extract(epoch from '2026-08-10 19:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014779 -3.358057)'), GeomFromEWKT('SRID=4674;POINT (-39.014777 -3.358068)'))) / (select extract(epoch from '2026-08-10 19:23:14'::timestamp) - extract(epoch from '2026-08-10 19:23: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'), 48138, 'SRID=4674;POINT (-39.014751 -3.358083)', '2026-08-10 19:23:20', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014777 -3.358068)'), GeomFromEWKT('SRID=4674;POINT (-39.014751 -3.358083)'))) / (select extract(epoch from '2026-08-10 19:23:20'::timestamp) - extract(epoch from '2026-08-10 19:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014777 -3.358068)'), GeomFromEWKT('SRID=4674;POINT (-39.014751 -3.358083)'))) / (select extract(epoch from '2026-08-10 19:23:20'::timestamp) - extract(epoch from '2026-08-10 19:23: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'), 48138, 'SRID=4674;POINT (-39.014713 -3.358094)', '2026-08-10 19:23:29', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014751 -3.358083)'), GeomFromEWKT('SRID=4674;POINT (-39.014713 -3.358094)'))) / (select extract(epoch from '2026-08-10 19:23:29'::timestamp) - extract(epoch from '2026-08-10 19:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014751 -3.358083)'), GeomFromEWKT('SRID=4674;POINT (-39.014713 -3.358094)'))) / (select extract(epoch from '2026-08-10 19:23:29'::timestamp) - extract(epoch from '2026-08-10 19:23: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'), 48138, 'SRID=4674;POINT (-39.01466 -3.358103)', '2026-08-10 19:23:38', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014713 -3.358094)'), GeomFromEWKT('SRID=4674;POINT (-39.01466 -3.358103)'))) / (select extract(epoch from '2026-08-10 19:23:38'::timestamp) - extract(epoch from '2026-08-10 19:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014713 -3.358094)'), GeomFromEWKT('SRID=4674;POINT (-39.01466 -3.358103)'))) / (select extract(epoch from '2026-08-10 19:23:38'::timestamp) - extract(epoch from '2026-08-10 19:23:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01462 -3.358113)', '2026-08-10 19:23:48', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01466 -3.358103)'), GeomFromEWKT('SRID=4674;POINT (-39.01462 -3.358113)'))) / (select extract(epoch from '2026-08-10 19:23:48'::timestamp) - extract(epoch from '2026-08-10 19:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01466 -3.358103)'), GeomFromEWKT('SRID=4674;POINT (-39.01462 -3.358113)'))) / (select extract(epoch from '2026-08-10 19:23:48'::timestamp) - extract(epoch from '2026-08-10 19:23: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'), 48138, 'SRID=4674;POINT (-39.014583 -3.358119)', '2026-08-10 19:23:57', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01462 -3.358113)'), GeomFromEWKT('SRID=4674;POINT (-39.014583 -3.358119)'))) / (select extract(epoch from '2026-08-10 19:23:57'::timestamp) - extract(epoch from '2026-08-10 19:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01462 -3.358113)'), GeomFromEWKT('SRID=4674;POINT (-39.014583 -3.358119)'))) / (select extract(epoch from '2026-08-10 19:23:57'::timestamp) - extract(epoch from '2026-08-10 19:23:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014537 -3.358124)', '2026-08-10 19:24:05', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014583 -3.358119)'), GeomFromEWKT('SRID=4674;POINT (-39.014537 -3.358124)'))) / (select extract(epoch from '2026-08-10 19:24:05'::timestamp) - extract(epoch from '2026-08-10 19:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014583 -3.358119)'), GeomFromEWKT('SRID=4674;POINT (-39.014537 -3.358124)'))) / (select extract(epoch from '2026-08-10 19:24:05'::timestamp) - extract(epoch from '2026-08-10 19:23: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'), 48138, 'SRID=4674;POINT (-39.014494 -3.358142)', '2026-08-10 19:24:15', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014537 -3.358124)'), GeomFromEWKT('SRID=4674;POINT (-39.014494 -3.358142)'))) / (select extract(epoch from '2026-08-10 19:24:15'::timestamp) - extract(epoch from '2026-08-10 19:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014537 -3.358124)'), GeomFromEWKT('SRID=4674;POINT (-39.014494 -3.358142)'))) / (select extract(epoch from '2026-08-10 19:24:15'::timestamp) - extract(epoch from '2026-08-10 19:24: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'), 48138, 'SRID=4674;POINT (-39.01446 -3.358166)', '2026-08-10 19:24:24', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014494 -3.358142)'), GeomFromEWKT('SRID=4674;POINT (-39.01446 -3.358166)'))) / (select extract(epoch from '2026-08-10 19:24:24'::timestamp) - extract(epoch from '2026-08-10 19:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014494 -3.358142)'), GeomFromEWKT('SRID=4674;POINT (-39.01446 -3.358166)'))) / (select extract(epoch from '2026-08-10 19:24:24'::timestamp) - extract(epoch from '2026-08-10 19:24: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'), 48138, 'SRID=4674;POINT (-39.014443 -3.358172)', '2026-08-10 19:24:32', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01446 -3.358166)'), GeomFromEWKT('SRID=4674;POINT (-39.014443 -3.358172)'))) / (select extract(epoch from '2026-08-10 19:24:32'::timestamp) - extract(epoch from '2026-08-10 19:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01446 -3.358166)'), GeomFromEWKT('SRID=4674;POINT (-39.014443 -3.358172)'))) / (select extract(epoch from '2026-08-10 19:24:32'::timestamp) - extract(epoch from '2026-08-10 19:24: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'), 48138, 'SRID=4674;POINT (-39.014406 -3.358186)', '2026-08-10 19:24:40', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014443 -3.358172)'), GeomFromEWKT('SRID=4674;POINT (-39.014406 -3.358186)'))) / (select extract(epoch from '2026-08-10 19:24:40'::timestamp) - extract(epoch from '2026-08-10 19:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014443 -3.358172)'), GeomFromEWKT('SRID=4674;POINT (-39.014406 -3.358186)'))) / (select extract(epoch from '2026-08-10 19:24:40'::timestamp) - extract(epoch from '2026-08-10 19:24: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'), 48138, 'SRID=4674;POINT (-39.01437 -3.358205)', '2026-08-10 19:24:48', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014406 -3.358186)'), GeomFromEWKT('SRID=4674;POINT (-39.01437 -3.358205)'))) / (select extract(epoch from '2026-08-10 19:24:48'::timestamp) - extract(epoch from '2026-08-10 19:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014406 -3.358186)'), GeomFromEWKT('SRID=4674;POINT (-39.01437 -3.358205)'))) / (select extract(epoch from '2026-08-10 19:24:48'::timestamp) - extract(epoch from '2026-08-10 19:24: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'), 48138, 'SRID=4674;POINT (-39.014337 -3.358234)', '2026-08-10 19:24:57', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01437 -3.358205)'), GeomFromEWKT('SRID=4674;POINT (-39.014337 -3.358234)'))) / (select extract(epoch from '2026-08-10 19:24:57'::timestamp) - extract(epoch from '2026-08-10 19:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01437 -3.358205)'), GeomFromEWKT('SRID=4674;POINT (-39.014337 -3.358234)'))) / (select extract(epoch from '2026-08-10 19:24:57'::timestamp) - extract(epoch from '2026-08-10 19:24: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'), 48138, 'SRID=4674;POINT (-39.014315 -3.35824)', '2026-08-10 19:25:06', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014337 -3.358234)'), GeomFromEWKT('SRID=4674;POINT (-39.014315 -3.35824)'))) / (select extract(epoch from '2026-08-10 19:25:06'::timestamp) - extract(epoch from '2026-08-10 19:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014337 -3.358234)'), GeomFromEWKT('SRID=4674;POINT (-39.014315 -3.35824)'))) / (select extract(epoch from '2026-08-10 19:25:06'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.014272 -3.358246)', '2026-08-10 19:25:14', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014315 -3.35824)'), GeomFromEWKT('SRID=4674;POINT (-39.014272 -3.358246)'))) / (select extract(epoch from '2026-08-10 19:25:14'::timestamp) - extract(epoch from '2026-08-10 19:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014315 -3.35824)'), GeomFromEWKT('SRID=4674;POINT (-39.014272 -3.358246)'))) / (select extract(epoch from '2026-08-10 19:25:14'::timestamp) - extract(epoch from '2026-08-10 19:25: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'), 48138, 'SRID=4674;POINT (-39.014221 -3.358263)', '2026-08-10 19:25:23', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014272 -3.358246)'), GeomFromEWKT('SRID=4674;POINT (-39.014221 -3.358263)'))) / (select extract(epoch from '2026-08-10 19:25:23'::timestamp) - extract(epoch from '2026-08-10 19:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014272 -3.358246)'), GeomFromEWKT('SRID=4674;POINT (-39.014221 -3.358263)'))) / (select extract(epoch from '2026-08-10 19:25:23'::timestamp) - extract(epoch from '2026-08-10 19:25: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'), 48138, 'SRID=4674;POINT (-39.014185 -3.358281)', '2026-08-10 19:25:30', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014221 -3.358263)'), GeomFromEWKT('SRID=4674;POINT (-39.014185 -3.358281)'))) / (select extract(epoch from '2026-08-10 19:25:30'::timestamp) - extract(epoch from '2026-08-10 19:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014221 -3.358263)'), GeomFromEWKT('SRID=4674;POINT (-39.014185 -3.358281)'))) / (select extract(epoch from '2026-08-10 19:25:30'::timestamp) - extract(epoch from '2026-08-10 19:25: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'), 48138, 'SRID=4674;POINT (-39.014166 -3.358287)', '2026-08-10 19:25:34', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014185 -3.358281)'), GeomFromEWKT('SRID=4674;POINT (-39.014166 -3.358287)'))) / (select extract(epoch from '2026-08-10 19:25:34'::timestamp) - extract(epoch from '2026-08-10 19:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014185 -3.358281)'), GeomFromEWKT('SRID=4674;POINT (-39.014166 -3.358287)'))) / (select extract(epoch from '2026-08-10 19:25:34'::timestamp) - extract(epoch from '2026-08-10 19:25: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'), 48138, 'SRID=4674;POINT (-39.014149 -3.358292)', '2026-08-10 19:25:37', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014166 -3.358287)'), GeomFromEWKT('SRID=4674;POINT (-39.014149 -3.358292)'))) / (select extract(epoch from '2026-08-10 19:25:37'::timestamp) - extract(epoch from '2026-08-10 19:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014166 -3.358287)'), GeomFromEWKT('SRID=4674;POINT (-39.014149 -3.358292)'))) / (select extract(epoch from '2026-08-10 19:25:37'::timestamp) - extract(epoch from '2026-08-10 19:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014113 -3.358302)', '2026-08-10 19:25:45', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014149 -3.358292)'), GeomFromEWKT('SRID=4674;POINT (-39.014113 -3.358302)'))) / (select extract(epoch from '2026-08-10 19:25:45'::timestamp) - extract(epoch from '2026-08-10 19:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014149 -3.358292)'), GeomFromEWKT('SRID=4674;POINT (-39.014113 -3.358302)'))) / (select extract(epoch from '2026-08-10 19:25:45'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.014081 -3.358312)', '2026-08-10 19:25:53', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014113 -3.358302)'), GeomFromEWKT('SRID=4674;POINT (-39.014081 -3.358312)'))) / (select extract(epoch from '2026-08-10 19:25:53'::timestamp) - extract(epoch from '2026-08-10 19:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014113 -3.358302)'), GeomFromEWKT('SRID=4674;POINT (-39.014081 -3.358312)'))) / (select extract(epoch from '2026-08-10 19:25:53'::timestamp) - extract(epoch from '2026-08-10 19:25: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'), 48138, 'SRID=4674;POINT (-39.014043 -3.358316)', '2026-08-10 19:26:02', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014081 -3.358312)'), GeomFromEWKT('SRID=4674;POINT (-39.014043 -3.358316)'))) / (select extract(epoch from '2026-08-10 19:26:02'::timestamp) - extract(epoch from '2026-08-10 19:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014081 -3.358312)'), GeomFromEWKT('SRID=4674;POINT (-39.014043 -3.358316)'))) / (select extract(epoch from '2026-08-10 19:26:02'::timestamp) - extract(epoch from '2026-08-10 19:25: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'), 48138, 'SRID=4674;POINT (-39.014003 -3.358333)', '2026-08-10 19:26:12', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014043 -3.358316)'), GeomFromEWKT('SRID=4674;POINT (-39.014003 -3.358333)'))) / (select extract(epoch from '2026-08-10 19:26:12'::timestamp) - extract(epoch from '2026-08-10 19:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014043 -3.358316)'), GeomFromEWKT('SRID=4674;POINT (-39.014003 -3.358333)'))) / (select extract(epoch from '2026-08-10 19:26:12'::timestamp) - extract(epoch from '2026-08-10 19:26: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'), 48138, 'SRID=4674;POINT (-39.013981 -3.358351)', '2026-08-10 19:26:21', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014003 -3.358333)'), GeomFromEWKT('SRID=4674;POINT (-39.013981 -3.358351)'))) / (select extract(epoch from '2026-08-10 19:26:21'::timestamp) - extract(epoch from '2026-08-10 19:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014003 -3.358333)'), GeomFromEWKT('SRID=4674;POINT (-39.013981 -3.358351)'))) / (select extract(epoch from '2026-08-10 19:26:21'::timestamp) - extract(epoch from '2026-08-10 19:26: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'), 48138, 'SRID=4674;POINT (-39.013947 -3.358353)', '2026-08-10 19:26:29', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013981 -3.358351)'), GeomFromEWKT('SRID=4674;POINT (-39.013947 -3.358353)'))) / (select extract(epoch from '2026-08-10 19:26:29'::timestamp) - extract(epoch from '2026-08-10 19:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013981 -3.358351)'), GeomFromEWKT('SRID=4674;POINT (-39.013947 -3.358353)'))) / (select extract(epoch from '2026-08-10 19:26:29'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.013933 -3.358373)', '2026-08-10 19:26:37', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013947 -3.358353)'), GeomFromEWKT('SRID=4674;POINT (-39.013933 -3.358373)'))) / (select extract(epoch from '2026-08-10 19:26:37'::timestamp) - extract(epoch from '2026-08-10 19:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013947 -3.358353)'), GeomFromEWKT('SRID=4674;POINT (-39.013933 -3.358373)'))) / (select extract(epoch from '2026-08-10 19:26:37'::timestamp) - extract(epoch from '2026-08-10 19:26: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'), 48138, 'SRID=4674;POINT (-39.013903 -3.358391)', '2026-08-10 19:26:45', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013933 -3.358373)'), GeomFromEWKT('SRID=4674;POINT (-39.013903 -3.358391)'))) / (select extract(epoch from '2026-08-10 19:26:45'::timestamp) - extract(epoch from '2026-08-10 19:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013933 -3.358373)'), GeomFromEWKT('SRID=4674;POINT (-39.013903 -3.358391)'))) / (select extract(epoch from '2026-08-10 19:26:45'::timestamp) - extract(epoch from '2026-08-10 19:26: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'), 48138, 'SRID=4674;POINT (-39.013884 -3.358404)', '2026-08-10 19:26:50', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013903 -3.358391)'), GeomFromEWKT('SRID=4674;POINT (-39.013884 -3.358404)'))) / (select extract(epoch from '2026-08-10 19:26:50'::timestamp) - extract(epoch from '2026-08-10 19:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013903 -3.358391)'), GeomFromEWKT('SRID=4674;POINT (-39.013884 -3.358404)'))) / (select extract(epoch from '2026-08-10 19:26:50'::timestamp) - extract(epoch from '2026-08-10 19:26: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'), 48138, 'SRID=4674;POINT (-39.01387 -3.358409)', '2026-08-10 19:26:52', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013884 -3.358404)'), GeomFromEWKT('SRID=4674;POINT (-39.01387 -3.358409)'))) / (select extract(epoch from '2026-08-10 19:26:52'::timestamp) - extract(epoch from '2026-08-10 19:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013884 -3.358404)'), GeomFromEWKT('SRID=4674;POINT (-39.01387 -3.358409)'))) / (select extract(epoch from '2026-08-10 19:26:52'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.013843 -3.358416)', '2026-08-10 19:27:02', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01387 -3.358409)'), GeomFromEWKT('SRID=4674;POINT (-39.013843 -3.358416)'))) / (select extract(epoch from '2026-08-10 19:27:02'::timestamp) - extract(epoch from '2026-08-10 19:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01387 -3.358409)'), GeomFromEWKT('SRID=4674;POINT (-39.013843 -3.358416)'))) / (select extract(epoch from '2026-08-10 19:27:02'::timestamp) - extract(epoch from '2026-08-10 19:26: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'), 48138, 'SRID=4674;POINT (-39.013792 -3.358427)', '2026-08-10 19:27:10', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013843 -3.358416)'), GeomFromEWKT('SRID=4674;POINT (-39.013792 -3.358427)'))) / (select extract(epoch from '2026-08-10 19:27:10'::timestamp) - extract(epoch from '2026-08-10 19:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013843 -3.358416)'), GeomFromEWKT('SRID=4674;POINT (-39.013792 -3.358427)'))) / (select extract(epoch from '2026-08-10 19:27:10'::timestamp) - extract(epoch from '2026-08-10 19:27: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'), 48138, 'SRID=4674;POINT (-39.013757 -3.358438)', '2026-08-10 19:27:18', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013792 -3.358427)'), GeomFromEWKT('SRID=4674;POINT (-39.013757 -3.358438)'))) / (select extract(epoch from '2026-08-10 19:27:18'::timestamp) - extract(epoch from '2026-08-10 19:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013792 -3.358427)'), GeomFromEWKT('SRID=4674;POINT (-39.013757 -3.358438)'))) / (select extract(epoch from '2026-08-10 19:27:18'::timestamp) - extract(epoch from '2026-08-10 19:27: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'), 48138, 'SRID=4674;POINT (-39.013719 -3.358451)', '2026-08-10 19:27:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013757 -3.358438)'), GeomFromEWKT('SRID=4674;POINT (-39.013719 -3.358451)'))) / (select extract(epoch from '2026-08-10 19:27:26'::timestamp) - extract(epoch from '2026-08-10 19:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013757 -3.358438)'), GeomFromEWKT('SRID=4674;POINT (-39.013719 -3.358451)'))) / (select extract(epoch from '2026-08-10 19:27:26'::timestamp) - extract(epoch from '2026-08-10 19:27: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'), 48138, 'SRID=4674;POINT (-39.013699 -3.358465)', '2026-08-10 19:27:35', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013719 -3.358451)'), GeomFromEWKT('SRID=4674;POINT (-39.013699 -3.358465)'))) / (select extract(epoch from '2026-08-10 19:27:35'::timestamp) - extract(epoch from '2026-08-10 19:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013719 -3.358451)'), GeomFromEWKT('SRID=4674;POINT (-39.013699 -3.358465)'))) / (select extract(epoch from '2026-08-10 19:27:35'::timestamp) - extract(epoch from '2026-08-10 19:27: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'), 48138, 'SRID=4674;POINT (-39.013678 -3.358469)', '2026-08-10 19:27:42', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013699 -3.358465)'), GeomFromEWKT('SRID=4674;POINT (-39.013678 -3.358469)'))) / (select extract(epoch from '2026-08-10 19:27:42'::timestamp) - extract(epoch from '2026-08-10 19:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013699 -3.358465)'), GeomFromEWKT('SRID=4674;POINT (-39.013678 -3.358469)'))) / (select extract(epoch from '2026-08-10 19:27:42'::timestamp) - extract(epoch from '2026-08-10 19:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013646 -3.358489)', '2026-08-10 19:27:50', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013678 -3.358469)'), GeomFromEWKT('SRID=4674;POINT (-39.013646 -3.358489)'))) / (select extract(epoch from '2026-08-10 19:27:50'::timestamp) - extract(epoch from '2026-08-10 19:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013678 -3.358469)'), GeomFromEWKT('SRID=4674;POINT (-39.013646 -3.358489)'))) / (select extract(epoch from '2026-08-10 19:27:50'::timestamp) - extract(epoch from '2026-08-10 19:27:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013636 -3.358514)', '2026-08-10 19:27:57', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013646 -3.358489)'), GeomFromEWKT('SRID=4674;POINT (-39.013636 -3.358514)'))) / (select extract(epoch from '2026-08-10 19:27:57'::timestamp) - extract(epoch from '2026-08-10 19:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013646 -3.358489)'), GeomFromEWKT('SRID=4674;POINT (-39.013636 -3.358514)'))) / (select extract(epoch from '2026-08-10 19:27:57'::timestamp) - extract(epoch from '2026-08-10 19:27: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'), 48138, 'SRID=4674;POINT (-39.013613 -3.358527)', '2026-08-10 19:28:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013636 -3.358514)'), GeomFromEWKT('SRID=4674;POINT (-39.013613 -3.358527)'))) / (select extract(epoch from '2026-08-10 19:28:04'::timestamp) - extract(epoch from '2026-08-10 19:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013636 -3.358514)'), GeomFromEWKT('SRID=4674;POINT (-39.013613 -3.358527)'))) / (select extract(epoch from '2026-08-10 19:28:04'::timestamp) - extract(epoch from '2026-08-10 19:27: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'), 48138, 'SRID=4674;POINT (-39.013584 -3.358542)', '2026-08-10 19:28:13', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013613 -3.358527)'), GeomFromEWKT('SRID=4674;POINT (-39.013584 -3.358542)'))) / (select extract(epoch from '2026-08-10 19:28:13'::timestamp) - extract(epoch from '2026-08-10 19:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013613 -3.358527)'), GeomFromEWKT('SRID=4674;POINT (-39.013584 -3.358542)'))) / (select extract(epoch from '2026-08-10 19:28:13'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.01355 -3.358548)', '2026-08-10 19:28:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013584 -3.358542)'), GeomFromEWKT('SRID=4674;POINT (-39.01355 -3.358548)'))) / (select extract(epoch from '2026-08-10 19:28:21'::timestamp) - extract(epoch from '2026-08-10 19:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013584 -3.358542)'), GeomFromEWKT('SRID=4674;POINT (-39.01355 -3.358548)'))) / (select extract(epoch from '2026-08-10 19:28:21'::timestamp) - extract(epoch from '2026-08-10 19:28:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013506 -3.35857)', '2026-08-10 19:28:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01355 -3.358548)'), GeomFromEWKT('SRID=4674;POINT (-39.013506 -3.35857)'))) / (select extract(epoch from '2026-08-10 19:28:31'::timestamp) - extract(epoch from '2026-08-10 19:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01355 -3.358548)'), GeomFromEWKT('SRID=4674;POINT (-39.013506 -3.35857)'))) / (select extract(epoch from '2026-08-10 19:28:31'::timestamp) - extract(epoch from '2026-08-10 19:28: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'), 48138, 'SRID=4674;POINT (-39.01348 -3.358586)', '2026-08-10 19:28:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013506 -3.35857)'), GeomFromEWKT('SRID=4674;POINT (-39.01348 -3.358586)'))) / (select extract(epoch from '2026-08-10 19:28:38'::timestamp) - extract(epoch from '2026-08-10 19:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013506 -3.35857)'), GeomFromEWKT('SRID=4674;POINT (-39.01348 -3.358586)'))) / (select extract(epoch from '2026-08-10 19:28:38'::timestamp) - extract(epoch from '2026-08-10 19:28:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013461 -3.35859)', '2026-08-10 19:28:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01348 -3.358586)'), GeomFromEWKT('SRID=4674;POINT (-39.013461 -3.35859)'))) / (select extract(epoch from '2026-08-10 19:28:47'::timestamp) - extract(epoch from '2026-08-10 19:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01348 -3.358586)'), GeomFromEWKT('SRID=4674;POINT (-39.013461 -3.35859)'))) / (select extract(epoch from '2026-08-10 19:28:47'::timestamp) - extract(epoch from '2026-08-10 19:28: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'), 48138, 'SRID=4674;POINT (-39.013447 -3.3586)', '2026-08-10 19:28:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013461 -3.35859)'), GeomFromEWKT('SRID=4674;POINT (-39.013447 -3.3586)'))) / (select extract(epoch from '2026-08-10 19:28:52'::timestamp) - extract(epoch from '2026-08-10 19:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013461 -3.35859)'), GeomFromEWKT('SRID=4674;POINT (-39.013447 -3.3586)'))) / (select extract(epoch from '2026-08-10 19:28:52'::timestamp) - extract(epoch from '2026-08-10 19:28:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01342 -3.358609)', '2026-08-10 19:28:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013447 -3.3586)'), GeomFromEWKT('SRID=4674;POINT (-39.01342 -3.358609)'))) / (select extract(epoch from '2026-08-10 19:28:59'::timestamp) - extract(epoch from '2026-08-10 19:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013447 -3.3586)'), GeomFromEWKT('SRID=4674;POINT (-39.01342 -3.358609)'))) / (select extract(epoch from '2026-08-10 19:28:59'::timestamp) - extract(epoch from '2026-08-10 19:28:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013391 -3.358628)', '2026-08-10 19:29:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01342 -3.358609)'), GeomFromEWKT('SRID=4674;POINT (-39.013391 -3.358628)'))) / (select extract(epoch from '2026-08-10 19:29:06'::timestamp) - extract(epoch from '2026-08-10 19:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01342 -3.358609)'), GeomFromEWKT('SRID=4674;POINT (-39.013391 -3.358628)'))) / (select extract(epoch from '2026-08-10 19:29:06'::timestamp) - extract(epoch from '2026-08-10 19:28: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'), 48138, 'SRID=4674;POINT (-39.013359 -3.35865)', '2026-08-10 19:29:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013391 -3.358628)'), GeomFromEWKT('SRID=4674;POINT (-39.013359 -3.35865)'))) / (select extract(epoch from '2026-08-10 19:29:12'::timestamp) - extract(epoch from '2026-08-10 19:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013391 -3.358628)'), GeomFromEWKT('SRID=4674;POINT (-39.013359 -3.35865)'))) / (select extract(epoch from '2026-08-10 19:29:12'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.01335 -3.358658)', '2026-08-10 19:29:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013359 -3.35865)'), GeomFromEWKT('SRID=4674;POINT (-39.01335 -3.358658)'))) / (select extract(epoch from '2026-08-10 19:29:17'::timestamp) - extract(epoch from '2026-08-10 19:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013359 -3.35865)'), GeomFromEWKT('SRID=4674;POINT (-39.01335 -3.358658)'))) / (select extract(epoch from '2026-08-10 19:29:17'::timestamp) - extract(epoch from '2026-08-10 19:29: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'), 48138, 'SRID=4674;POINT (-39.013334 -3.358661)', '2026-08-10 19:29:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01335 -3.358658)'), GeomFromEWKT('SRID=4674;POINT (-39.013334 -3.358661)'))) / (select extract(epoch from '2026-08-10 19:29:24'::timestamp) - extract(epoch from '2026-08-10 19:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01335 -3.358658)'), GeomFromEWKT('SRID=4674;POINT (-39.013334 -3.358661)'))) / (select extract(epoch from '2026-08-10 19:29:24'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.013305 -3.358674)', '2026-08-10 19:29:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013334 -3.358661)'), GeomFromEWKT('SRID=4674;POINT (-39.013305 -3.358674)'))) / (select extract(epoch from '2026-08-10 19:29:31'::timestamp) - extract(epoch from '2026-08-10 19:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013334 -3.358661)'), GeomFromEWKT('SRID=4674;POINT (-39.013305 -3.358674)'))) / (select extract(epoch from '2026-08-10 19:29:31'::timestamp) - extract(epoch from '2026-08-10 19:29: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'), 48138, 'SRID=4674;POINT (-39.013273 -3.358698)', '2026-08-10 19:29:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013305 -3.358674)'), GeomFromEWKT('SRID=4674;POINT (-39.013273 -3.358698)'))) / (select extract(epoch from '2026-08-10 19:29:40'::timestamp) - extract(epoch from '2026-08-10 19:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013305 -3.358674)'), GeomFromEWKT('SRID=4674;POINT (-39.013273 -3.358698)'))) / (select extract(epoch from '2026-08-10 19:29:40'::timestamp) - extract(epoch from '2026-08-10 19:29:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013226 -3.358717)', '2026-08-10 19:29:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013273 -3.358698)'), GeomFromEWKT('SRID=4674;POINT (-39.013226 -3.358717)'))) / (select extract(epoch from '2026-08-10 19:29:49'::timestamp) - extract(epoch from '2026-08-10 19:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013273 -3.358698)'), GeomFromEWKT('SRID=4674;POINT (-39.013226 -3.358717)'))) / (select extract(epoch from '2026-08-10 19:29:49'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.01321 -3.358732)', '2026-08-10 19:29:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013226 -3.358717)'), GeomFromEWKT('SRID=4674;POINT (-39.01321 -3.358732)'))) / (select extract(epoch from '2026-08-10 19:29:58'::timestamp) - extract(epoch from '2026-08-10 19:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013226 -3.358717)'), GeomFromEWKT('SRID=4674;POINT (-39.01321 -3.358732)'))) / (select extract(epoch from '2026-08-10 19:29:58'::timestamp) - extract(epoch from '2026-08-10 19:29: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'), 48138, 'SRID=4674;POINT (-39.013173 -3.358737)', '2026-08-10 19:30:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01321 -3.358732)'), GeomFromEWKT('SRID=4674;POINT (-39.013173 -3.358737)'))) / (select extract(epoch from '2026-08-10 19:30:08'::timestamp) - extract(epoch from '2026-08-10 19:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01321 -3.358732)'), GeomFromEWKT('SRID=4674;POINT (-39.013173 -3.358737)'))) / (select extract(epoch from '2026-08-10 19:30:08'::timestamp) - extract(epoch from '2026-08-10 19:29: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'), 48138, 'SRID=4674;POINT (-39.013144 -3.358743)', '2026-08-10 19:30:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013173 -3.358737)'), GeomFromEWKT('SRID=4674;POINT (-39.013144 -3.358743)'))) / (select extract(epoch from '2026-08-10 19:30:16'::timestamp) - extract(epoch from '2026-08-10 19:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013173 -3.358737)'), GeomFromEWKT('SRID=4674;POINT (-39.013144 -3.358743)'))) / (select extract(epoch from '2026-08-10 19:30:16'::timestamp) - extract(epoch from '2026-08-10 19:30:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013114 -3.358763)', '2026-08-10 19:30:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013144 -3.358743)'), GeomFromEWKT('SRID=4674;POINT (-39.013114 -3.358763)'))) / (select extract(epoch from '2026-08-10 19:30:23'::timestamp) - extract(epoch from '2026-08-10 19:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013144 -3.358743)'), GeomFromEWKT('SRID=4674;POINT (-39.013114 -3.358763)'))) / (select extract(epoch from '2026-08-10 19:30:23'::timestamp) - extract(epoch from '2026-08-10 19:30: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'), 48138, 'SRID=4674;POINT (-39.01308 -3.358779)', '2026-08-10 19:30:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013114 -3.358763)'), GeomFromEWKT('SRID=4674;POINT (-39.01308 -3.358779)'))) / (select extract(epoch from '2026-08-10 19:30:33'::timestamp) - extract(epoch from '2026-08-10 19:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013114 -3.358763)'), GeomFromEWKT('SRID=4674;POINT (-39.01308 -3.358779)'))) / (select extract(epoch from '2026-08-10 19:30:33'::timestamp) - extract(epoch from '2026-08-10 19:30: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'), 48138, 'SRID=4674;POINT (-39.013056 -3.358785)', '2026-08-10 19:30:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01308 -3.358779)'), GeomFromEWKT('SRID=4674;POINT (-39.013056 -3.358785)'))) / (select extract(epoch from '2026-08-10 19:30:41'::timestamp) - extract(epoch from '2026-08-10 19:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01308 -3.358779)'), GeomFromEWKT('SRID=4674;POINT (-39.013056 -3.358785)'))) / (select extract(epoch from '2026-08-10 19:30:41'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.01301 -3.358801)', '2026-08-10 19:30:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013056 -3.358785)'), GeomFromEWKT('SRID=4674;POINT (-39.01301 -3.358801)'))) / (select extract(epoch from '2026-08-10 19:30:49'::timestamp) - extract(epoch from '2026-08-10 19:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013056 -3.358785)'), GeomFromEWKT('SRID=4674;POINT (-39.01301 -3.358801)'))) / (select extract(epoch from '2026-08-10 19:30:49'::timestamp) - extract(epoch from '2026-08-10 19:30: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'), 48138, 'SRID=4674;POINT (-39.012946 -3.358824)', '2026-08-10 19:31:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01301 -3.358801)'), GeomFromEWKT('SRID=4674;POINT (-39.012946 -3.358824)'))) / (select extract(epoch from '2026-08-10 19:31:01'::timestamp) - extract(epoch from '2026-08-10 19:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01301 -3.358801)'), GeomFromEWKT('SRID=4674;POINT (-39.012946 -3.358824)'))) / (select extract(epoch from '2026-08-10 19:31:01'::timestamp) - extract(epoch from '2026-08-10 19:30: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'), 48138, 'SRID=4674;POINT (-39.012906 -3.358838)', '2026-08-10 19:31:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012946 -3.358824)'), GeomFromEWKT('SRID=4674;POINT (-39.012906 -3.358838)'))) / (select extract(epoch from '2026-08-10 19:31:10'::timestamp) - extract(epoch from '2026-08-10 19:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012946 -3.358824)'), GeomFromEWKT('SRID=4674;POINT (-39.012906 -3.358838)'))) / (select extract(epoch from '2026-08-10 19:31:10'::timestamp) - extract(epoch from '2026-08-10 19:31:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012864 -3.35885)', '2026-08-10 19:31:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012906 -3.358838)'), GeomFromEWKT('SRID=4674;POINT (-39.012864 -3.35885)'))) / (select extract(epoch from '2026-08-10 19:31:19'::timestamp) - extract(epoch from '2026-08-10 19:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012906 -3.358838)'), GeomFromEWKT('SRID=4674;POINT (-39.012864 -3.35885)'))) / (select extract(epoch from '2026-08-10 19:31:19'::timestamp) - extract(epoch from '2026-08-10 19:31:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012817 -3.358883)', '2026-08-10 19:31:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012864 -3.35885)'), GeomFromEWKT('SRID=4674;POINT (-39.012817 -3.358883)'))) / (select extract(epoch from '2026-08-10 19:31:31'::timestamp) - extract(epoch from '2026-08-10 19:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012864 -3.35885)'), GeomFromEWKT('SRID=4674;POINT (-39.012817 -3.358883)'))) / (select extract(epoch from '2026-08-10 19:31:31'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.012757 -3.358907)', '2026-08-10 19:31:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012817 -3.358883)'), GeomFromEWKT('SRID=4674;POINT (-39.012757 -3.358907)'))) / (select extract(epoch from '2026-08-10 19:31:42'::timestamp) - extract(epoch from '2026-08-10 19:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012817 -3.358883)'), GeomFromEWKT('SRID=4674;POINT (-39.012757 -3.358907)'))) / (select extract(epoch from '2026-08-10 19:31:42'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.012717 -3.358932)', '2026-08-10 19:31:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012757 -3.358907)'), GeomFromEWKT('SRID=4674;POINT (-39.012717 -3.358932)'))) / (select extract(epoch from '2026-08-10 19:31:51'::timestamp) - extract(epoch from '2026-08-10 19:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012757 -3.358907)'), GeomFromEWKT('SRID=4674;POINT (-39.012717 -3.358932)'))) / (select extract(epoch from '2026-08-10 19:31:51'::timestamp) - extract(epoch from '2026-08-10 19:31: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'), 48138, 'SRID=4674;POINT (-39.012673 -3.358952)', '2026-08-10 19:32:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012717 -3.358932)'), GeomFromEWKT('SRID=4674;POINT (-39.012673 -3.358952)'))) / (select extract(epoch from '2026-08-10 19:32:01'::timestamp) - extract(epoch from '2026-08-10 19:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012717 -3.358932)'), GeomFromEWKT('SRID=4674;POINT (-39.012673 -3.358952)'))) / (select extract(epoch from '2026-08-10 19:32:01'::timestamp) - extract(epoch from '2026-08-10 19:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01264 -3.358968)', '2026-08-10 19:32:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012673 -3.358952)'), GeomFromEWKT('SRID=4674;POINT (-39.01264 -3.358968)'))) / (select extract(epoch from '2026-08-10 19:32:08'::timestamp) - extract(epoch from '2026-08-10 19:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012673 -3.358952)'), GeomFromEWKT('SRID=4674;POINT (-39.01264 -3.358968)'))) / (select extract(epoch from '2026-08-10 19:32:08'::timestamp) - extract(epoch from '2026-08-10 19:32: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'), 48138, 'SRID=4674;POINT (-39.012613 -3.358973)', '2026-08-10 19:32:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01264 -3.358968)'), GeomFromEWKT('SRID=4674;POINT (-39.012613 -3.358973)'))) / (select extract(epoch from '2026-08-10 19:32:15'::timestamp) - extract(epoch from '2026-08-10 19:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01264 -3.358968)'), GeomFromEWKT('SRID=4674;POINT (-39.012613 -3.358973)'))) / (select extract(epoch from '2026-08-10 19:32:15'::timestamp) - extract(epoch from '2026-08-10 19:32: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'), 48138, 'SRID=4674;POINT (-39.012596 -3.358983)', '2026-08-10 19:32:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012613 -3.358973)'), GeomFromEWKT('SRID=4674;POINT (-39.012596 -3.358983)'))) / (select extract(epoch from '2026-08-10 19:32:21'::timestamp) - extract(epoch from '2026-08-10 19:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012613 -3.358973)'), GeomFromEWKT('SRID=4674;POINT (-39.012596 -3.358983)'))) / (select extract(epoch from '2026-08-10 19:32:21'::timestamp) - extract(epoch from '2026-08-10 19:32:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012581 -3.359004)', '2026-08-10 19:32:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012596 -3.358983)'), GeomFromEWKT('SRID=4674;POINT (-39.012581 -3.359004)'))) / (select extract(epoch from '2026-08-10 19:32:28'::timestamp) - extract(epoch from '2026-08-10 19:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012596 -3.358983)'), GeomFromEWKT('SRID=4674;POINT (-39.012581 -3.359004)'))) / (select extract(epoch from '2026-08-10 19:32:28'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.012556 -3.359014)', '2026-08-10 19:32:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012581 -3.359004)'), GeomFromEWKT('SRID=4674;POINT (-39.012556 -3.359014)'))) / (select extract(epoch from '2026-08-10 19:32:34'::timestamp) - extract(epoch from '2026-08-10 19:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012581 -3.359004)'), GeomFromEWKT('SRID=4674;POINT (-39.012556 -3.359014)'))) / (select extract(epoch from '2026-08-10 19:32:34'::timestamp) - extract(epoch from '2026-08-10 19:32: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'), 48138, 'SRID=4674;POINT (-39.012517 -3.359018)', '2026-08-10 19:32:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012556 -3.359014)'), GeomFromEWKT('SRID=4674;POINT (-39.012517 -3.359018)'))) / (select extract(epoch from '2026-08-10 19:32:42'::timestamp) - extract(epoch from '2026-08-10 19:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012556 -3.359014)'), GeomFromEWKT('SRID=4674;POINT (-39.012517 -3.359018)'))) / (select extract(epoch from '2026-08-10 19:32:42'::timestamp) - extract(epoch from '2026-08-10 19:32:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012499 -3.359033)', '2026-08-10 19:32:49', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012517 -3.359018)'), GeomFromEWKT('SRID=4674;POINT (-39.012499 -3.359033)'))) / (select extract(epoch from '2026-08-10 19:32:49'::timestamp) - extract(epoch from '2026-08-10 19:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012517 -3.359018)'), GeomFromEWKT('SRID=4674;POINT (-39.012499 -3.359033)'))) / (select extract(epoch from '2026-08-10 19:32:49'::timestamp) - extract(epoch from '2026-08-10 19:32: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'), 48138, 'SRID=4674;POINT (-39.012482 -3.359043)', '2026-08-10 19:32:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012499 -3.359033)'), GeomFromEWKT('SRID=4674;POINT (-39.012482 -3.359043)'))) / (select extract(epoch from '2026-08-10 19:32:55'::timestamp) - extract(epoch from '2026-08-10 19:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012499 -3.359033)'), GeomFromEWKT('SRID=4674;POINT (-39.012482 -3.359043)'))) / (select extract(epoch from '2026-08-10 19:32:55'::timestamp) - extract(epoch from '2026-08-10 19:32: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'), 48138, 'SRID=4674;POINT (-39.012429 -3.359037)', '2026-08-10 19:33:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012482 -3.359043)'), GeomFromEWKT('SRID=4674;POINT (-39.012429 -3.359037)'))) / (select extract(epoch from '2026-08-10 19:33:04'::timestamp) - extract(epoch from '2026-08-10 19:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012482 -3.359043)'), GeomFromEWKT('SRID=4674;POINT (-39.012429 -3.359037)'))) / (select extract(epoch from '2026-08-10 19:33:04'::timestamp) - extract(epoch from '2026-08-10 19:32: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'), 48138, 'SRID=4674;POINT (-39.012399 -3.359058)', '2026-08-10 19:33:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012429 -3.359037)'), GeomFromEWKT('SRID=4674;POINT (-39.012399 -3.359058)'))) / (select extract(epoch from '2026-08-10 19:33:12'::timestamp) - extract(epoch from '2026-08-10 19:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012429 -3.359037)'), GeomFromEWKT('SRID=4674;POINT (-39.012399 -3.359058)'))) / (select extract(epoch from '2026-08-10 19:33:12'::timestamp) - extract(epoch from '2026-08-10 19:33: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'), 48138, 'SRID=4674;POINT (-39.012377 -3.35908)', '2026-08-10 19:33:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012399 -3.359058)'), GeomFromEWKT('SRID=4674;POINT (-39.012377 -3.35908)'))) / (select extract(epoch from '2026-08-10 19:33:19'::timestamp) - extract(epoch from '2026-08-10 19:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012399 -3.359058)'), GeomFromEWKT('SRID=4674;POINT (-39.012377 -3.35908)'))) / (select extract(epoch from '2026-08-10 19:33:19'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.012328 -3.359102)', '2026-08-10 19:33:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012377 -3.35908)'), GeomFromEWKT('SRID=4674;POINT (-39.012328 -3.359102)'))) / (select extract(epoch from '2026-08-10 19:33:29'::timestamp) - extract(epoch from '2026-08-10 19:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012377 -3.35908)'), GeomFromEWKT('SRID=4674;POINT (-39.012328 -3.359102)'))) / (select extract(epoch from '2026-08-10 19:33:29'::timestamp) - extract(epoch from '2026-08-10 19:33: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'), 48138, 'SRID=4674;POINT (-39.012295 -3.359125)', '2026-08-10 19:33:38', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012328 -3.359102)'), GeomFromEWKT('SRID=4674;POINT (-39.012295 -3.359125)'))) / (select extract(epoch from '2026-08-10 19:33:38'::timestamp) - extract(epoch from '2026-08-10 19:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012328 -3.359102)'), GeomFromEWKT('SRID=4674;POINT (-39.012295 -3.359125)'))) / (select extract(epoch from '2026-08-10 19:33:38'::timestamp) - extract(epoch from '2026-08-10 19:33: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'), 48138, 'SRID=4674;POINT (-39.012288 -3.359128)', '2026-08-10 19:33:39', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012295 -3.359125)'), GeomFromEWKT('SRID=4674;POINT (-39.012288 -3.359128)'))) / (select extract(epoch from '2026-08-10 19:33:39'::timestamp) - extract(epoch from '2026-08-10 19:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012295 -3.359125)'), GeomFromEWKT('SRID=4674;POINT (-39.012288 -3.359128)'))) / (select extract(epoch from '2026-08-10 19:33:39'::timestamp) - extract(epoch from '2026-08-10 19:33:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012245 -3.359138)', '2026-08-10 19:33:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012288 -3.359128)'), GeomFromEWKT('SRID=4674;POINT (-39.012245 -3.359138)'))) / (select extract(epoch from '2026-08-10 19:33:46'::timestamp) - extract(epoch from '2026-08-10 19:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012288 -3.359128)'), GeomFromEWKT('SRID=4674;POINT (-39.012245 -3.359138)'))) / (select extract(epoch from '2026-08-10 19:33:46'::timestamp) - extract(epoch from '2026-08-10 19:33: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'), 48138, 'SRID=4674;POINT (-39.012195 -3.359149)', '2026-08-10 19:33:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012245 -3.359138)'), GeomFromEWKT('SRID=4674;POINT (-39.012195 -3.359149)'))) / (select extract(epoch from '2026-08-10 19:33:56'::timestamp) - extract(epoch from '2026-08-10 19:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012245 -3.359138)'), GeomFromEWKT('SRID=4674;POINT (-39.012195 -3.359149)'))) / (select extract(epoch from '2026-08-10 19:33:56'::timestamp) - extract(epoch from '2026-08-10 19:33: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'), 48138, 'SRID=4674;POINT (-39.012158 -3.359159)', '2026-08-10 19:34:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012195 -3.359149)'), GeomFromEWKT('SRID=4674;POINT (-39.012158 -3.359159)'))) / (select extract(epoch from '2026-08-10 19:34:05'::timestamp) - extract(epoch from '2026-08-10 19:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012195 -3.359149)'), GeomFromEWKT('SRID=4674;POINT (-39.012158 -3.359159)'))) / (select extract(epoch from '2026-08-10 19:34:05'::timestamp) - extract(epoch from '2026-08-10 19:33: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'), 48138, 'SRID=4674;POINT (-39.012128 -3.359181)', '2026-08-10 19:34:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012158 -3.359159)'), GeomFromEWKT('SRID=4674;POINT (-39.012128 -3.359181)'))) / (select extract(epoch from '2026-08-10 19:34:15'::timestamp) - extract(epoch from '2026-08-10 19:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012158 -3.359159)'), GeomFromEWKT('SRID=4674;POINT (-39.012128 -3.359181)'))) / (select extract(epoch from '2026-08-10 19:34:15'::timestamp) - extract(epoch from '2026-08-10 19:34: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'), 48138, 'SRID=4674;POINT (-39.012103 -3.359196)', '2026-08-10 19:34:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012128 -3.359181)'), GeomFromEWKT('SRID=4674;POINT (-39.012103 -3.359196)'))) / (select extract(epoch from '2026-08-10 19:34:22'::timestamp) - extract(epoch from '2026-08-10 19:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012128 -3.359181)'), GeomFromEWKT('SRID=4674;POINT (-39.012103 -3.359196)'))) / (select extract(epoch from '2026-08-10 19:34:22'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.012064 -3.3592)', '2026-08-10 19:34:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012103 -3.359196)'), GeomFromEWKT('SRID=4674;POINT (-39.012064 -3.3592)'))) / (select extract(epoch from '2026-08-10 19:34:28'::timestamp) - extract(epoch from '2026-08-10 19:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012103 -3.359196)'), GeomFromEWKT('SRID=4674;POINT (-39.012064 -3.3592)'))) / (select extract(epoch from '2026-08-10 19:34:28'::timestamp) - extract(epoch from '2026-08-10 19:34: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'), 48138, 'SRID=4674;POINT (-39.012036 -3.359215)', '2026-08-10 19:34:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012064 -3.3592)'), GeomFromEWKT('SRID=4674;POINT (-39.012036 -3.359215)'))) / (select extract(epoch from '2026-08-10 19:34:35'::timestamp) - extract(epoch from '2026-08-10 19:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012064 -3.3592)'), GeomFromEWKT('SRID=4674;POINT (-39.012036 -3.359215)'))) / (select extract(epoch from '2026-08-10 19:34:35'::timestamp) - extract(epoch from '2026-08-10 19:34: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'), 48138, 'SRID=4674;POINT (-39.01199 -3.359224)', '2026-08-10 19:34:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012036 -3.359215)'), GeomFromEWKT('SRID=4674;POINT (-39.01199 -3.359224)'))) / (select extract(epoch from '2026-08-10 19:34:45'::timestamp) - extract(epoch from '2026-08-10 19:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012036 -3.359215)'), GeomFromEWKT('SRID=4674;POINT (-39.01199 -3.359224)'))) / (select extract(epoch from '2026-08-10 19:34:45'::timestamp) - extract(epoch from '2026-08-10 19:34:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011971 -3.359238)', '2026-08-10 19:34:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01199 -3.359224)'), GeomFromEWKT('SRID=4674;POINT (-39.011971 -3.359238)'))) / (select extract(epoch from '2026-08-10 19:34:53'::timestamp) - extract(epoch from '2026-08-10 19:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01199 -3.359224)'), GeomFromEWKT('SRID=4674;POINT (-39.011971 -3.359238)'))) / (select extract(epoch from '2026-08-10 19:34:53'::timestamp) - extract(epoch from '2026-08-10 19:34: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'), 48138, 'SRID=4674;POINT (-39.011947 -3.359248)', '2026-08-10 19:35:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011971 -3.359238)'), GeomFromEWKT('SRID=4674;POINT (-39.011947 -3.359248)'))) / (select extract(epoch from '2026-08-10 19:35:02'::timestamp) - extract(epoch from '2026-08-10 19:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011971 -3.359238)'), GeomFromEWKT('SRID=4674;POINT (-39.011947 -3.359248)'))) / (select extract(epoch from '2026-08-10 19:35:02'::timestamp) - extract(epoch from '2026-08-10 19:34: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'), 48138, 'SRID=4674;POINT (-39.011932 -3.35925)', '2026-08-10 19:35:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011947 -3.359248)'), GeomFromEWKT('SRID=4674;POINT (-39.011932 -3.35925)'))) / (select extract(epoch from '2026-08-10 19:35:09'::timestamp) - extract(epoch from '2026-08-10 19:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011947 -3.359248)'), GeomFromEWKT('SRID=4674;POINT (-39.011932 -3.35925)'))) / (select extract(epoch from '2026-08-10 19:35:09'::timestamp) - extract(epoch from '2026-08-10 19:35: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'), 48138, 'SRID=4674;POINT (-39.011918 -3.359252)', '2026-08-10 19:35:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011932 -3.35925)'), GeomFromEWKT('SRID=4674;POINT (-39.011918 -3.359252)'))) / (select extract(epoch from '2026-08-10 19:35:16'::timestamp) - extract(epoch from '2026-08-10 19:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011932 -3.35925)'), GeomFromEWKT('SRID=4674;POINT (-39.011918 -3.359252)'))) / (select extract(epoch from '2026-08-10 19:35:16'::timestamp) - extract(epoch from '2026-08-10 19:35: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'), 48138, 'SRID=4674;POINT (-39.011901 -3.35926)', '2026-08-10 19:35:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011918 -3.359252)'), GeomFromEWKT('SRID=4674;POINT (-39.011901 -3.35926)'))) / (select extract(epoch from '2026-08-10 19:35:26'::timestamp) - extract(epoch from '2026-08-10 19:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011918 -3.359252)'), GeomFromEWKT('SRID=4674;POINT (-39.011901 -3.35926)'))) / (select extract(epoch from '2026-08-10 19:35:26'::timestamp) - extract(epoch from '2026-08-10 19:35: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'), 48138, 'SRID=4674;POINT (-39.011868 -3.359265)', '2026-08-10 19:35:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011901 -3.35926)'), GeomFromEWKT('SRID=4674;POINT (-39.011868 -3.359265)'))) / (select extract(epoch from '2026-08-10 19:35:34'::timestamp) - extract(epoch from '2026-08-10 19:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011901 -3.35926)'), GeomFromEWKT('SRID=4674;POINT (-39.011868 -3.359265)'))) / (select extract(epoch from '2026-08-10 19:35:34'::timestamp) - extract(epoch from '2026-08-10 19:35: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'), 48138, 'SRID=4674;POINT (-39.011824 -3.359286)', '2026-08-10 19:35:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011868 -3.359265)'), GeomFromEWKT('SRID=4674;POINT (-39.011824 -3.359286)'))) / (select extract(epoch from '2026-08-10 19:35:44'::timestamp) - extract(epoch from '2026-08-10 19:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011868 -3.359265)'), GeomFromEWKT('SRID=4674;POINT (-39.011824 -3.359286)'))) / (select extract(epoch from '2026-08-10 19:35:44'::timestamp) - extract(epoch from '2026-08-10 19:35: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'), 48138, 'SRID=4674;POINT (-39.011789 -3.359302)', '2026-08-10 19:35:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011824 -3.359286)'), GeomFromEWKT('SRID=4674;POINT (-39.011789 -3.359302)'))) / (select extract(epoch from '2026-08-10 19:35:51'::timestamp) - extract(epoch from '2026-08-10 19:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011824 -3.359286)'), GeomFromEWKT('SRID=4674;POINT (-39.011789 -3.359302)'))) / (select extract(epoch from '2026-08-10 19:35:51'::timestamp) - extract(epoch from '2026-08-10 19:35: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'), 48138, 'SRID=4674;POINT (-39.011747 -3.35931)', '2026-08-10 19:35:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011789 -3.359302)'), GeomFromEWKT('SRID=4674;POINT (-39.011747 -3.35931)'))) / (select extract(epoch from '2026-08-10 19:35:58'::timestamp) - extract(epoch from '2026-08-10 19:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011789 -3.359302)'), GeomFromEWKT('SRID=4674;POINT (-39.011747 -3.35931)'))) / (select extract(epoch from '2026-08-10 19:35:58'::timestamp) - extract(epoch from '2026-08-10 19:35:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011721 -3.359339)', '2026-08-10 19:36:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011747 -3.35931)'), GeomFromEWKT('SRID=4674;POINT (-39.011721 -3.359339)'))) / (select extract(epoch from '2026-08-10 19:36:05'::timestamp) - extract(epoch from '2026-08-10 19:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011747 -3.35931)'), GeomFromEWKT('SRID=4674;POINT (-39.011721 -3.359339)'))) / (select extract(epoch from '2026-08-10 19:36:05'::timestamp) - extract(epoch from '2026-08-10 19:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011684 -3.35936)', '2026-08-10 19:36:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011721 -3.359339)'), GeomFromEWKT('SRID=4674;POINT (-39.011684 -3.35936)'))) / (select extract(epoch from '2026-08-10 19:36:12'::timestamp) - extract(epoch from '2026-08-10 19:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011721 -3.359339)'), GeomFromEWKT('SRID=4674;POINT (-39.011684 -3.35936)'))) / (select extract(epoch from '2026-08-10 19:36:12'::timestamp) - extract(epoch from '2026-08-10 19:36: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'), 48138, 'SRID=4674;POINT (-39.011649 -3.35938)', '2026-08-10 19:36:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011684 -3.35936)'), GeomFromEWKT('SRID=4674;POINT (-39.011649 -3.35938)'))) / (select extract(epoch from '2026-08-10 19:36:20'::timestamp) - extract(epoch from '2026-08-10 19:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011684 -3.35936)'), GeomFromEWKT('SRID=4674;POINT (-39.011649 -3.35938)'))) / (select extract(epoch from '2026-08-10 19:36:20'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.011616 -3.359393)', '2026-08-10 19:36:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011649 -3.35938)'), GeomFromEWKT('SRID=4674;POINT (-39.011616 -3.359393)'))) / (select extract(epoch from '2026-08-10 19:36:27'::timestamp) - extract(epoch from '2026-08-10 19:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011649 -3.35938)'), GeomFromEWKT('SRID=4674;POINT (-39.011616 -3.359393)'))) / (select extract(epoch from '2026-08-10 19:36:27'::timestamp) - extract(epoch from '2026-08-10 19:36: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'), 48138, 'SRID=4674;POINT (-39.011604 -3.359406)', '2026-08-10 19:36:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011616 -3.359393)'), GeomFromEWKT('SRID=4674;POINT (-39.011604 -3.359406)'))) / (select extract(epoch from '2026-08-10 19:36:34'::timestamp) - extract(epoch from '2026-08-10 19:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011616 -3.359393)'), GeomFromEWKT('SRID=4674;POINT (-39.011604 -3.359406)'))) / (select extract(epoch from '2026-08-10 19:36:34'::timestamp) - extract(epoch from '2026-08-10 19:36: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'), 48138, 'SRID=4674;POINT (-39.011553 -3.359417)', '2026-08-10 19:36:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011604 -3.359406)'), GeomFromEWKT('SRID=4674;POINT (-39.011553 -3.359417)'))) / (select extract(epoch from '2026-08-10 19:36:43'::timestamp) - extract(epoch from '2026-08-10 19:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011604 -3.359406)'), GeomFromEWKT('SRID=4674;POINT (-39.011553 -3.359417)'))) / (select extract(epoch from '2026-08-10 19:36:43'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.011493 -3.359442)', '2026-08-10 19:36:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011553 -3.359417)'), GeomFromEWKT('SRID=4674;POINT (-39.011493 -3.359442)'))) / (select extract(epoch from '2026-08-10 19:36:57'::timestamp) - extract(epoch from '2026-08-10 19:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011553 -3.359417)'), GeomFromEWKT('SRID=4674;POINT (-39.011493 -3.359442)'))) / (select extract(epoch from '2026-08-10 19:36:57'::timestamp) - extract(epoch from '2026-08-10 19:36: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'), 48138, 'SRID=4674;POINT (-39.01147 -3.359466)', '2026-08-10 19:37:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011493 -3.359442)'), GeomFromEWKT('SRID=4674;POINT (-39.01147 -3.359466)'))) / (select extract(epoch from '2026-08-10 19:37:05'::timestamp) - extract(epoch from '2026-08-10 19:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011493 -3.359442)'), GeomFromEWKT('SRID=4674;POINT (-39.01147 -3.359466)'))) / (select extract(epoch from '2026-08-10 19:37:05'::timestamp) - extract(epoch from '2026-08-10 19:36: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'), 48138, 'SRID=4674;POINT (-39.011422 -3.359467)', '2026-08-10 19:37:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01147 -3.359466)'), GeomFromEWKT('SRID=4674;POINT (-39.011422 -3.359467)'))) / (select extract(epoch from '2026-08-10 19:37:14'::timestamp) - extract(epoch from '2026-08-10 19:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01147 -3.359466)'), GeomFromEWKT('SRID=4674;POINT (-39.011422 -3.359467)'))) / (select extract(epoch from '2026-08-10 19:37:14'::timestamp) - extract(epoch from '2026-08-10 19:37: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'), 48138, 'SRID=4674;POINT (-39.011387 -3.359477)', '2026-08-10 19:37:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011422 -3.359467)'), GeomFromEWKT('SRID=4674;POINT (-39.011387 -3.359477)'))) / (select extract(epoch from '2026-08-10 19:37:22'::timestamp) - extract(epoch from '2026-08-10 19:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011422 -3.359467)'), GeomFromEWKT('SRID=4674;POINT (-39.011387 -3.359477)'))) / (select extract(epoch from '2026-08-10 19:37:22'::timestamp) - extract(epoch from '2026-08-10 19:37: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'), 48138, 'SRID=4674;POINT (-39.011365 -3.359495)', '2026-08-10 19:37:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011387 -3.359477)'), GeomFromEWKT('SRID=4674;POINT (-39.011365 -3.359495)'))) / (select extract(epoch from '2026-08-10 19:37:30'::timestamp) - extract(epoch from '2026-08-10 19:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011387 -3.359477)'), GeomFromEWKT('SRID=4674;POINT (-39.011365 -3.359495)'))) / (select extract(epoch from '2026-08-10 19:37:30'::timestamp) - extract(epoch from '2026-08-10 19:37: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'), 48138, 'SRID=4674;POINT (-39.011326 -3.359515)', '2026-08-10 19:37:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011365 -3.359495)'), GeomFromEWKT('SRID=4674;POINT (-39.011326 -3.359515)'))) / (select extract(epoch from '2026-08-10 19:37:39'::timestamp) - extract(epoch from '2026-08-10 19:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011365 -3.359495)'), GeomFromEWKT('SRID=4674;POINT (-39.011326 -3.359515)'))) / (select extract(epoch from '2026-08-10 19:37:39'::timestamp) - extract(epoch from '2026-08-10 19:37:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011281 -3.359528)', '2026-08-10 19:37:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011326 -3.359515)'), GeomFromEWKT('SRID=4674;POINT (-39.011281 -3.359528)'))) / (select extract(epoch from '2026-08-10 19:37:48'::timestamp) - extract(epoch from '2026-08-10 19:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011326 -3.359515)'), GeomFromEWKT('SRID=4674;POINT (-39.011281 -3.359528)'))) / (select extract(epoch from '2026-08-10 19:37:48'::timestamp) - extract(epoch from '2026-08-10 19: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'), 48138, 'SRID=4674;POINT (-39.011258 -3.359549)', '2026-08-10 19:37:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011281 -3.359528)'), GeomFromEWKT('SRID=4674;POINT (-39.011258 -3.359549)'))) / (select extract(epoch from '2026-08-10 19:37:57'::timestamp) - extract(epoch from '2026-08-10 19:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011281 -3.359528)'), GeomFromEWKT('SRID=4674;POINT (-39.011258 -3.359549)'))) / (select extract(epoch from '2026-08-10 19:37:57'::timestamp) - extract(epoch from '2026-08-10 19:37: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'), 48138, 'SRID=4674;POINT (-39.011228 -3.359552)', '2026-08-10 19:38:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011258 -3.359549)'), GeomFromEWKT('SRID=4674;POINT (-39.011228 -3.359552)'))) / (select extract(epoch from '2026-08-10 19:38:04'::timestamp) - extract(epoch from '2026-08-10 19:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011258 -3.359549)'), GeomFromEWKT('SRID=4674;POINT (-39.011228 -3.359552)'))) / (select extract(epoch from '2026-08-10 19:38:04'::timestamp) - extract(epoch from '2026-08-10 19:37:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011194 -3.359573)', '2026-08-10 19:38:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011228 -3.359552)'), GeomFromEWKT('SRID=4674;POINT (-39.011194 -3.359573)'))) / (select extract(epoch from '2026-08-10 19:38:14'::timestamp) - extract(epoch from '2026-08-10 19:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011228 -3.359552)'), GeomFromEWKT('SRID=4674;POINT (-39.011194 -3.359573)'))) / (select extract(epoch from '2026-08-10 19:38:14'::timestamp) - extract(epoch from '2026-08-10 19:38:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011163 -3.359601)', '2026-08-10 19:38:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011194 -3.359573)'), GeomFromEWKT('SRID=4674;POINT (-39.011163 -3.359601)'))) / (select extract(epoch from '2026-08-10 19:38:23'::timestamp) - extract(epoch from '2026-08-10 19:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011194 -3.359573)'), GeomFromEWKT('SRID=4674;POINT (-39.011163 -3.359601)'))) / (select extract(epoch from '2026-08-10 19:38:23'::timestamp) - extract(epoch from '2026-08-10 19:38: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'), 48138, 'SRID=4674;POINT (-39.011124 -3.359624)', '2026-08-10 19:38:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011163 -3.359601)'), GeomFromEWKT('SRID=4674;POINT (-39.011124 -3.359624)'))) / (select extract(epoch from '2026-08-10 19:38:30'::timestamp) - extract(epoch from '2026-08-10 19:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011163 -3.359601)'), GeomFromEWKT('SRID=4674;POINT (-39.011124 -3.359624)'))) / (select extract(epoch from '2026-08-10 19:38:30'::timestamp) - extract(epoch from '2026-08-10 19:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
