 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022997 -2.785504)', '2026-06-27 09:32:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022925 -2.785394)'), GeomFromEWKT('SRID=4674;POINT (-40.022997 -2.785504)'))) / (select extract(epoch from '2026-06-27 09:32:33'::timestamp) - extract(epoch from '2026-06-27 09:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022925 -2.785394)'), GeomFromEWKT('SRID=4674;POINT (-40.022997 -2.785504)'))) / (select extract(epoch from '2026-06-27 09:32:33'::timestamp) - extract(epoch from '2026-06-27 09:32: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'), 46942, 'SRID=4674;POINT (-40.023092 -2.785623)', '2026-06-27 09:32:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022997 -2.785504)'), GeomFromEWKT('SRID=4674;POINT (-40.023092 -2.785623)'))) / (select extract(epoch from '2026-06-27 09:32:41'::timestamp) - extract(epoch from '2026-06-27 09:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022997 -2.785504)'), GeomFromEWKT('SRID=4674;POINT (-40.023092 -2.785623)'))) / (select extract(epoch from '2026-06-27 09:32:41'::timestamp) - extract(epoch from '2026-06-27 09:32: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'), 46942, 'SRID=4674;POINT (-40.023188 -2.785707)', '2026-06-27 09:32:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023092 -2.785623)'), GeomFromEWKT('SRID=4674;POINT (-40.023188 -2.785707)'))) / (select extract(epoch from '2026-06-27 09:32:48'::timestamp) - extract(epoch from '2026-06-27 09:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023092 -2.785623)'), GeomFromEWKT('SRID=4674;POINT (-40.023188 -2.785707)'))) / (select extract(epoch from '2026-06-27 09:32:48'::timestamp) - extract(epoch from '2026-06-27 09:32: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'), 46942, 'SRID=4674;POINT (-40.023238 -2.785816)', '2026-06-27 09:32:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023188 -2.785707)'), GeomFromEWKT('SRID=4674;POINT (-40.023238 -2.785816)'))) / (select extract(epoch from '2026-06-27 09:32:55'::timestamp) - extract(epoch from '2026-06-27 09:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023188 -2.785707)'), GeomFromEWKT('SRID=4674;POINT (-40.023238 -2.785816)'))) / (select extract(epoch from '2026-06-27 09:32:55'::timestamp) - extract(epoch from '2026-06-27 09:32:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.023288 -2.785928)', '2026-06-27 09:33:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023238 -2.785816)'), GeomFromEWKT('SRID=4674;POINT (-40.023288 -2.785928)'))) / (select extract(epoch from '2026-06-27 09:33:03'::timestamp) - extract(epoch from '2026-06-27 09:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023238 -2.785816)'), GeomFromEWKT('SRID=4674;POINT (-40.023288 -2.785928)'))) / (select extract(epoch from '2026-06-27 09:33:03'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.02337 -2.785947)', '2026-06-27 09:33:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023288 -2.785928)'), GeomFromEWKT('SRID=4674;POINT (-40.02337 -2.785947)'))) / (select extract(epoch from '2026-06-27 09:33:09'::timestamp) - extract(epoch from '2026-06-27 09:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023288 -2.785928)'), GeomFromEWKT('SRID=4674;POINT (-40.02337 -2.785947)'))) / (select extract(epoch from '2026-06-27 09:33:09'::timestamp) - extract(epoch from '2026-06-27 09:33: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'), 46942, 'SRID=4674;POINT (-40.023448 -2.785945)', '2026-06-27 09:33:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02337 -2.785947)'), GeomFromEWKT('SRID=4674;POINT (-40.023448 -2.785945)'))) / (select extract(epoch from '2026-06-27 09:33:15'::timestamp) - extract(epoch from '2026-06-27 09:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02337 -2.785947)'), GeomFromEWKT('SRID=4674;POINT (-40.023448 -2.785945)'))) / (select extract(epoch from '2026-06-27 09:33:15'::timestamp) - extract(epoch from '2026-06-27 09:33: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'), 46942, 'SRID=4674;POINT (-40.023482 -2.785978)', '2026-06-27 09:33:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023448 -2.785945)'), GeomFromEWKT('SRID=4674;POINT (-40.023482 -2.785978)'))) / (select extract(epoch from '2026-06-27 09:33:19'::timestamp) - extract(epoch from '2026-06-27 09:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023448 -2.785945)'), GeomFromEWKT('SRID=4674;POINT (-40.023482 -2.785978)'))) / (select extract(epoch from '2026-06-27 09:33:19'::timestamp) - extract(epoch from '2026-06-27 09:33: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'), 46942, 'SRID=4674;POINT (-40.023481 -2.786011)', '2026-06-27 09:33:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023482 -2.785978)'), GeomFromEWKT('SRID=4674;POINT (-40.023481 -2.786011)'))) / (select extract(epoch from '2026-06-27 09:33:22'::timestamp) - extract(epoch from '2026-06-27 09:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023482 -2.785978)'), GeomFromEWKT('SRID=4674;POINT (-40.023481 -2.786011)'))) / (select extract(epoch from '2026-06-27 09:33:22'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.023466 -2.786049)', '2026-06-27 09:33:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023481 -2.786011)'), GeomFromEWKT('SRID=4674;POINT (-40.023466 -2.786049)'))) / (select extract(epoch from '2026-06-27 09:33:26'::timestamp) - extract(epoch from '2026-06-27 09:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023481 -2.786011)'), GeomFromEWKT('SRID=4674;POINT (-40.023466 -2.786049)'))) / (select extract(epoch from '2026-06-27 09:33:26'::timestamp) - extract(epoch from '2026-06-27 09:33: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'), 46942, 'SRID=4674;POINT (-40.023447 -2.786064)', '2026-06-27 09:33:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023466 -2.786049)'), GeomFromEWKT('SRID=4674;POINT (-40.023447 -2.786064)'))) / (select extract(epoch from '2026-06-27 09:33:30'::timestamp) - extract(epoch from '2026-06-27 09:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023466 -2.786049)'), GeomFromEWKT('SRID=4674;POINT (-40.023447 -2.786064)'))) / (select extract(epoch from '2026-06-27 09:33:30'::timestamp) - extract(epoch from '2026-06-27 09:33:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.023409 -2.786048)', '2026-06-27 09:33:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023447 -2.786064)'), GeomFromEWKT('SRID=4674;POINT (-40.023409 -2.786048)'))) / (select extract(epoch from '2026-06-27 09:33:39'::timestamp) - extract(epoch from '2026-06-27 09:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023447 -2.786064)'), GeomFromEWKT('SRID=4674;POINT (-40.023409 -2.786048)'))) / (select extract(epoch from '2026-06-27 09:33:39'::timestamp) - extract(epoch from '2026-06-27 09:33: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'), 46942, 'SRID=4674;POINT (-40.023364 -2.786022)', '2026-06-27 09:33:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023409 -2.786048)'), GeomFromEWKT('SRID=4674;POINT (-40.023364 -2.786022)'))) / (select extract(epoch from '2026-06-27 09:33:49'::timestamp) - extract(epoch from '2026-06-27 09:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023409 -2.786048)'), GeomFromEWKT('SRID=4674;POINT (-40.023364 -2.786022)'))) / (select extract(epoch from '2026-06-27 09:33:49'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.023351 -2.786012)', '2026-06-27 09:33:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023364 -2.786022)'), GeomFromEWKT('SRID=4674;POINT (-40.023351 -2.786012)'))) / (select extract(epoch from '2026-06-27 09:33:51'::timestamp) - extract(epoch from '2026-06-27 09:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023364 -2.786022)'), GeomFromEWKT('SRID=4674;POINT (-40.023351 -2.786012)'))) / (select extract(epoch from '2026-06-27 09:33:51'::timestamp) - extract(epoch from '2026-06-27 09:33: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'), 46942, 'SRID=4674;POINT (-40.0233 -2.78597)', '2026-06-27 09:33:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023351 -2.786012)'), GeomFromEWKT('SRID=4674;POINT (-40.0233 -2.78597)'))) / (select extract(epoch from '2026-06-27 09:33:59'::timestamp) - extract(epoch from '2026-06-27 09:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023351 -2.786012)'), GeomFromEWKT('SRID=4674;POINT (-40.0233 -2.78597)'))) / (select extract(epoch from '2026-06-27 09:33:59'::timestamp) - extract(epoch from '2026-06-27 09:33: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'), 46942, 'SRID=4674;POINT (-40.023255 -2.785944)', '2026-06-27 09:34:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0233 -2.78597)'), GeomFromEWKT('SRID=4674;POINT (-40.023255 -2.785944)'))) / (select extract(epoch from '2026-06-27 09:34:08'::timestamp) - extract(epoch from '2026-06-27 09:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0233 -2.78597)'), GeomFromEWKT('SRID=4674;POINT (-40.023255 -2.785944)'))) / (select extract(epoch from '2026-06-27 09:34:08'::timestamp) - extract(epoch from '2026-06-27 09:33: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'), 46942, 'SRID=4674;POINT (-40.023221 -2.785978)', '2026-06-27 09:34:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023255 -2.785944)'), GeomFromEWKT('SRID=4674;POINT (-40.023221 -2.785978)'))) / (select extract(epoch from '2026-06-27 09:34:17'::timestamp) - extract(epoch from '2026-06-27 09:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023255 -2.785944)'), GeomFromEWKT('SRID=4674;POINT (-40.023221 -2.785978)'))) / (select extract(epoch from '2026-06-27 09:34:17'::timestamp) - extract(epoch from '2026-06-27 09:34:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.023269 -2.786026)', '2026-06-27 09:34:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023221 -2.785978)'), GeomFromEWKT('SRID=4674;POINT (-40.023269 -2.786026)'))) / (select extract(epoch from '2026-06-27 09:34:26'::timestamp) - extract(epoch from '2026-06-27 09:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023221 -2.785978)'), GeomFromEWKT('SRID=4674;POINT (-40.023269 -2.786026)'))) / (select extract(epoch from '2026-06-27 09:34:26'::timestamp) - extract(epoch from '2026-06-27 09:34: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'), 46942, 'SRID=4674;POINT (-40.023356 -2.786026)', '2026-06-27 09:34:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023269 -2.786026)'), GeomFromEWKT('SRID=4674;POINT (-40.023356 -2.786026)'))) / (select extract(epoch from '2026-06-27 09:34:35'::timestamp) - extract(epoch from '2026-06-27 09:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023269 -2.786026)'), GeomFromEWKT('SRID=4674;POINT (-40.023356 -2.786026)'))) / (select extract(epoch from '2026-06-27 09:34:35'::timestamp) - extract(epoch from '2026-06-27 09:34:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.023415 -2.786)', '2026-06-27 09:34:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023356 -2.786026)'), GeomFromEWKT('SRID=4674;POINT (-40.023415 -2.786)'))) / (select extract(epoch from '2026-06-27 09:34:42'::timestamp) - extract(epoch from '2026-06-27 09:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023356 -2.786026)'), GeomFromEWKT('SRID=4674;POINT (-40.023415 -2.786)'))) / (select extract(epoch from '2026-06-27 09:34:42'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.023465 -2.78595)', '2026-06-27 09:34:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023415 -2.786)'), GeomFromEWKT('SRID=4674;POINT (-40.023465 -2.78595)'))) / (select extract(epoch from '2026-06-27 09:34:51'::timestamp) - extract(epoch from '2026-06-27 09:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023415 -2.786)'), GeomFromEWKT('SRID=4674;POINT (-40.023465 -2.78595)'))) / (select extract(epoch from '2026-06-27 09:34:51'::timestamp) - extract(epoch from '2026-06-27 09:34:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.023534 -2.78592)', '2026-06-27 09:34:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023465 -2.78595)'), GeomFromEWKT('SRID=4674;POINT (-40.023534 -2.78592)'))) / (select extract(epoch from '2026-06-27 09:34:59'::timestamp) - extract(epoch from '2026-06-27 09:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023465 -2.78595)'), GeomFromEWKT('SRID=4674;POINT (-40.023534 -2.78592)'))) / (select extract(epoch from '2026-06-27 09:34:59'::timestamp) - extract(epoch from '2026-06-27 09:34: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'), 46942, 'SRID=4674;POINT (-40.023554 -2.785918)', '2026-06-27 09:35:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023534 -2.78592)'), GeomFromEWKT('SRID=4674;POINT (-40.023554 -2.785918)'))) / (select extract(epoch from '2026-06-27 09:35:01'::timestamp) - extract(epoch from '2026-06-27 09:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023534 -2.78592)'), GeomFromEWKT('SRID=4674;POINT (-40.023554 -2.785918)'))) / (select extract(epoch from '2026-06-27 09:35:01'::timestamp) - extract(epoch from '2026-06-27 09:34: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'), 46942, 'SRID=4674;POINT (-40.023587 -2.785932)', '2026-06-27 09:35:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023554 -2.785918)'), GeomFromEWKT('SRID=4674;POINT (-40.023587 -2.785932)'))) / (select extract(epoch from '2026-06-27 09:35:06'::timestamp) - extract(epoch from '2026-06-27 09:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023554 -2.785918)'), GeomFromEWKT('SRID=4674;POINT (-40.023587 -2.785932)'))) / (select extract(epoch from '2026-06-27 09:35:06'::timestamp) - extract(epoch from '2026-06-27 09:35: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'), 46942, 'SRID=4674;POINT (-40.023624 -2.785983)', '2026-06-27 09:35:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023587 -2.785932)'), GeomFromEWKT('SRID=4674;POINT (-40.023624 -2.785983)'))) / (select extract(epoch from '2026-06-27 09:35:13'::timestamp) - extract(epoch from '2026-06-27 09:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023587 -2.785932)'), GeomFromEWKT('SRID=4674;POINT (-40.023624 -2.785983)'))) / (select extract(epoch from '2026-06-27 09:35:13'::timestamp) - extract(epoch from '2026-06-27 09:35: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'), 46942, 'SRID=4674;POINT (-40.023646 -2.786052)', '2026-06-27 09:35:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023624 -2.785983)'), GeomFromEWKT('SRID=4674;POINT (-40.023646 -2.786052)'))) / (select extract(epoch from '2026-06-27 09:35:23'::timestamp) - extract(epoch from '2026-06-27 09:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023624 -2.785983)'), GeomFromEWKT('SRID=4674;POINT (-40.023646 -2.786052)'))) / (select extract(epoch from '2026-06-27 09:35:23'::timestamp) - extract(epoch from '2026-06-27 09:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.023602 -2.786114)', '2026-06-27 09:35:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023646 -2.786052)'), GeomFromEWKT('SRID=4674;POINT (-40.023602 -2.786114)'))) / (select extract(epoch from '2026-06-27 09:35:33'::timestamp) - extract(epoch from '2026-06-27 09:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023646 -2.786052)'), GeomFromEWKT('SRID=4674;POINT (-40.023602 -2.786114)'))) / (select extract(epoch from '2026-06-27 09:35:33'::timestamp) - extract(epoch from '2026-06-27 09:35: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'), 46942, 'SRID=4674;POINT (-40.023518 -2.786129)', '2026-06-27 09:35:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023602 -2.786114)'), GeomFromEWKT('SRID=4674;POINT (-40.023518 -2.786129)'))) / (select extract(epoch from '2026-06-27 09:35:43'::timestamp) - extract(epoch from '2026-06-27 09:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023602 -2.786114)'), GeomFromEWKT('SRID=4674;POINT (-40.023518 -2.786129)'))) / (select extract(epoch from '2026-06-27 09:35:43'::timestamp) - extract(epoch from '2026-06-27 09:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.023457 -2.786131)', '2026-06-27 09:35:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023518 -2.786129)'), GeomFromEWKT('SRID=4674;POINT (-40.023457 -2.786131)'))) / (select extract(epoch from '2026-06-27 09:35:53'::timestamp) - extract(epoch from '2026-06-27 09:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023518 -2.786129)'), GeomFromEWKT('SRID=4674;POINT (-40.023457 -2.786131)'))) / (select extract(epoch from '2026-06-27 09:35:53'::timestamp) - extract(epoch from '2026-06-27 09:35: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'), 46942, 'SRID=4674;POINT (-40.023427 -2.786148)', '2026-06-27 09:36:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023457 -2.786131)'), GeomFromEWKT('SRID=4674;POINT (-40.023427 -2.786148)'))) / (select extract(epoch from '2026-06-27 09:36:08'::timestamp) - extract(epoch from '2026-06-27 09:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023457 -2.786131)'), GeomFromEWKT('SRID=4674;POINT (-40.023427 -2.786148)'))) / (select extract(epoch from '2026-06-27 09:36:08'::timestamp) - extract(epoch from '2026-06-27 09:35: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'), 46942, 'SRID=4674;POINT (-40.023413 -2.786177)', '2026-06-27 09:36:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023427 -2.786148)'), GeomFromEWKT('SRID=4674;POINT (-40.023413 -2.786177)'))) / (select extract(epoch from '2026-06-27 09:36:16'::timestamp) - extract(epoch from '2026-06-27 09:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023427 -2.786148)'), GeomFromEWKT('SRID=4674;POINT (-40.023413 -2.786177)'))) / (select extract(epoch from '2026-06-27 09:36:16'::timestamp) - extract(epoch from '2026-06-27 09:36: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'), 46942, 'SRID=4674;POINT (-40.023398 -2.786179)', '2026-06-27 09:36:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023413 -2.786177)'), GeomFromEWKT('SRID=4674;POINT (-40.023398 -2.786179)'))) / (select extract(epoch from '2026-06-27 09:36:27'::timestamp) - extract(epoch from '2026-06-27 09:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023413 -2.786177)'), GeomFromEWKT('SRID=4674;POINT (-40.023398 -2.786179)'))) / (select extract(epoch from '2026-06-27 09:36:27'::timestamp) - extract(epoch from '2026-06-27 09:36: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'), 46942, 'SRID=4674;POINT (-40.023376 -2.78618)', '2026-06-27 09:36:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023398 -2.786179)'), GeomFromEWKT('SRID=4674;POINT (-40.023376 -2.78618)'))) / (select extract(epoch from '2026-06-27 09:36:48'::timestamp) - extract(epoch from '2026-06-27 09:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023398 -2.786179)'), GeomFromEWKT('SRID=4674;POINT (-40.023376 -2.78618)'))) / (select extract(epoch from '2026-06-27 09:36:48'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.023381 -2.78619)', '2026-06-27 09:36:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023376 -2.78618)'), GeomFromEWKT('SRID=4674;POINT (-40.023381 -2.78619)'))) / (select extract(epoch from '2026-06-27 09:36:54'::timestamp) - extract(epoch from '2026-06-27 09:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023376 -2.78618)'), GeomFromEWKT('SRID=4674;POINT (-40.023381 -2.78619)'))) / (select extract(epoch from '2026-06-27 09:36:54'::timestamp) - extract(epoch from '2026-06-27 09:36: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'), 46942, 'SRID=4674;POINT (-40.023424 -2.786213)', '2026-06-27 09:37:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023381 -2.78619)'), GeomFromEWKT('SRID=4674;POINT (-40.023424 -2.786213)'))) / (select extract(epoch from '2026-06-27 09:37:02'::timestamp) - extract(epoch from '2026-06-27 09:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023381 -2.78619)'), GeomFromEWKT('SRID=4674;POINT (-40.023424 -2.786213)'))) / (select extract(epoch from '2026-06-27 09:37:02'::timestamp) - extract(epoch from '2026-06-27 09:36: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'), 46942, 'SRID=4674;POINT (-40.023476 -2.786231)', '2026-06-27 09:37:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023424 -2.786213)'), GeomFromEWKT('SRID=4674;POINT (-40.023476 -2.786231)'))) / (select extract(epoch from '2026-06-27 09:37:10'::timestamp) - extract(epoch from '2026-06-27 09:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023424 -2.786213)'), GeomFromEWKT('SRID=4674;POINT (-40.023476 -2.786231)'))) / (select extract(epoch from '2026-06-27 09:37:10'::timestamp) - extract(epoch from '2026-06-27 09:37:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.023485 -2.786235)', '2026-06-27 09:37:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023476 -2.786231)'), GeomFromEWKT('SRID=4674;POINT (-40.023485 -2.786235)'))) / (select extract(epoch from '2026-06-27 09:37:11'::timestamp) - extract(epoch from '2026-06-27 09:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023476 -2.786231)'), GeomFromEWKT('SRID=4674;POINT (-40.023485 -2.786235)'))) / (select extract(epoch from '2026-06-27 09:37:11'::timestamp) - extract(epoch from '2026-06-27 09:37: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'), 46942, 'SRID=4674;POINT (-40.023546 -2.78627)', '2026-06-27 09:37:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023485 -2.786235)'), GeomFromEWKT('SRID=4674;POINT (-40.023546 -2.78627)'))) / (select extract(epoch from '2026-06-27 09:37:18'::timestamp) - extract(epoch from '2026-06-27 09:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023485 -2.786235)'), GeomFromEWKT('SRID=4674;POINT (-40.023546 -2.78627)'))) / (select extract(epoch from '2026-06-27 09:37:18'::timestamp) - extract(epoch from '2026-06-27 09:37: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'), 46942, 'SRID=4674;POINT (-40.023558 -2.786283)', '2026-06-27 09:37:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023546 -2.78627)'), GeomFromEWKT('SRID=4674;POINT (-40.023558 -2.786283)'))) / (select extract(epoch from '2026-06-27 09:37:20'::timestamp) - extract(epoch from '2026-06-27 09:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023546 -2.78627)'), GeomFromEWKT('SRID=4674;POINT (-40.023558 -2.786283)'))) / (select extract(epoch from '2026-06-27 09:37:20'::timestamp) - extract(epoch from '2026-06-27 09:37: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'), 46942, 'SRID=4674;POINT (-40.023572 -2.786311)', '2026-06-27 09:37:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023558 -2.786283)'), GeomFromEWKT('SRID=4674;POINT (-40.023572 -2.786311)'))) / (select extract(epoch from '2026-06-27 09:37:24'::timestamp) - extract(epoch from '2026-06-27 09:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023558 -2.786283)'), GeomFromEWKT('SRID=4674;POINT (-40.023572 -2.786311)'))) / (select extract(epoch from '2026-06-27 09:37:24'::timestamp) - extract(epoch from '2026-06-27 09:37: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'), 46942, 'SRID=4674;POINT (-40.023598 -2.786408)', '2026-06-27 09:37:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023572 -2.786311)'), GeomFromEWKT('SRID=4674;POINT (-40.023598 -2.786408)'))) / (select extract(epoch from '2026-06-27 09:37:32'::timestamp) - extract(epoch from '2026-06-27 09:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023572 -2.786311)'), GeomFromEWKT('SRID=4674;POINT (-40.023598 -2.786408)'))) / (select extract(epoch from '2026-06-27 09:37:32'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.023631 -2.786526)', '2026-06-27 09:37:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023598 -2.786408)'), GeomFromEWKT('SRID=4674;POINT (-40.023631 -2.786526)'))) / (select extract(epoch from '2026-06-27 09:37:39'::timestamp) - extract(epoch from '2026-06-27 09:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023598 -2.786408)'), GeomFromEWKT('SRID=4674;POINT (-40.023631 -2.786526)'))) / (select extract(epoch from '2026-06-27 09:37:39'::timestamp) - extract(epoch from '2026-06-27 09:37:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.023702 -2.786642)', '2026-06-27 09:37:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023631 -2.786526)'), GeomFromEWKT('SRID=4674;POINT (-40.023702 -2.786642)'))) / (select extract(epoch from '2026-06-27 09:37:46'::timestamp) - extract(epoch from '2026-06-27 09:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023631 -2.786526)'), GeomFromEWKT('SRID=4674;POINT (-40.023702 -2.786642)'))) / (select extract(epoch from '2026-06-27 09:37:46'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.023798 -2.786824)', '2026-06-27 09:37:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023702 -2.786642)'), GeomFromEWKT('SRID=4674;POINT (-40.023798 -2.786824)'))) / (select extract(epoch from '2026-06-27 09:37:56'::timestamp) - extract(epoch from '2026-06-27 09:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023702 -2.786642)'), GeomFromEWKT('SRID=4674;POINT (-40.023798 -2.786824)'))) / (select extract(epoch from '2026-06-27 09:37:56'::timestamp) - extract(epoch from '2026-06-27 09:37:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.023894 -2.78692)', '2026-06-27 09:38:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023798 -2.786824)'), GeomFromEWKT('SRID=4674;POINT (-40.023894 -2.78692)'))) / (select extract(epoch from '2026-06-27 09:38:03'::timestamp) - extract(epoch from '2026-06-27 09:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023798 -2.786824)'), GeomFromEWKT('SRID=4674;POINT (-40.023894 -2.78692)'))) / (select extract(epoch from '2026-06-27 09:38:03'::timestamp) - extract(epoch from '2026-06-27 09:37: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'), 46942, 'SRID=4674;POINT (-40.023994 -2.786999)', '2026-06-27 09:38:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023894 -2.78692)'), GeomFromEWKT('SRID=4674;POINT (-40.023994 -2.786999)'))) / (select extract(epoch from '2026-06-27 09:38:10'::timestamp) - extract(epoch from '2026-06-27 09:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023894 -2.78692)'), GeomFromEWKT('SRID=4674;POINT (-40.023994 -2.786999)'))) / (select extract(epoch from '2026-06-27 09:38:10'::timestamp) - extract(epoch from '2026-06-27 09:38: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'), 46942, 'SRID=4674;POINT (-40.024081 -2.787084)', '2026-06-27 09:38:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023994 -2.786999)'), GeomFromEWKT('SRID=4674;POINT (-40.024081 -2.787084)'))) / (select extract(epoch from '2026-06-27 09:38:17'::timestamp) - extract(epoch from '2026-06-27 09:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023994 -2.786999)'), GeomFromEWKT('SRID=4674;POINT (-40.024081 -2.787084)'))) / (select extract(epoch from '2026-06-27 09:38:17'::timestamp) - extract(epoch from '2026-06-27 09:38: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'), 46942, 'SRID=4674;POINT (-40.024171 -2.787175)', '2026-06-27 09:38:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024081 -2.787084)'), GeomFromEWKT('SRID=4674;POINT (-40.024171 -2.787175)'))) / (select extract(epoch from '2026-06-27 09:38:26'::timestamp) - extract(epoch from '2026-06-27 09:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024081 -2.787084)'), GeomFromEWKT('SRID=4674;POINT (-40.024171 -2.787175)'))) / (select extract(epoch from '2026-06-27 09:38:26'::timestamp) - extract(epoch from '2026-06-27 09:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024201 -2.787196)', '2026-06-27 09:38:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024171 -2.787175)'), GeomFromEWKT('SRID=4674;POINT (-40.024201 -2.787196)'))) / (select extract(epoch from '2026-06-27 09:38:29'::timestamp) - extract(epoch from '2026-06-27 09:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024171 -2.787175)'), GeomFromEWKT('SRID=4674;POINT (-40.024201 -2.787196)'))) / (select extract(epoch from '2026-06-27 09:38:29'::timestamp) - extract(epoch from '2026-06-27 09:38: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'), 46942, 'SRID=4674;POINT (-40.024223 -2.787219)', '2026-06-27 09:38:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024201 -2.787196)'), GeomFromEWKT('SRID=4674;POINT (-40.024223 -2.787219)'))) / (select extract(epoch from '2026-06-27 09:38:32'::timestamp) - extract(epoch from '2026-06-27 09:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024201 -2.787196)'), GeomFromEWKT('SRID=4674;POINT (-40.024223 -2.787219)'))) / (select extract(epoch from '2026-06-27 09:38:32'::timestamp) - extract(epoch from '2026-06-27 09:38: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'), 46942, 'SRID=4674;POINT (-40.024301 -2.787259)', '2026-06-27 09:38:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024223 -2.787219)'), GeomFromEWKT('SRID=4674;POINT (-40.024301 -2.787259)'))) / (select extract(epoch from '2026-06-27 09:38:40'::timestamp) - extract(epoch from '2026-06-27 09:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024223 -2.787219)'), GeomFromEWKT('SRID=4674;POINT (-40.024301 -2.787259)'))) / (select extract(epoch from '2026-06-27 09:38:40'::timestamp) - extract(epoch from '2026-06-27 09:38: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'), 46942, 'SRID=4674;POINT (-40.024341 -2.787262)', '2026-06-27 09:38:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024301 -2.787259)'), GeomFromEWKT('SRID=4674;POINT (-40.024341 -2.787262)'))) / (select extract(epoch from '2026-06-27 09:38:43'::timestamp) - extract(epoch from '2026-06-27 09:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024301 -2.787259)'), GeomFromEWKT('SRID=4674;POINT (-40.024341 -2.787262)'))) / (select extract(epoch from '2026-06-27 09:38:43'::timestamp) - extract(epoch from '2026-06-27 09:38: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'), 46942, 'SRID=4674;POINT (-40.024367 -2.787262)', '2026-06-27 09:38:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024341 -2.787262)'), GeomFromEWKT('SRID=4674;POINT (-40.024367 -2.787262)'))) / (select extract(epoch from '2026-06-27 09:38:45'::timestamp) - extract(epoch from '2026-06-27 09:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024341 -2.787262)'), GeomFromEWKT('SRID=4674;POINT (-40.024367 -2.787262)'))) / (select extract(epoch from '2026-06-27 09:38:45'::timestamp) - extract(epoch from '2026-06-27 09:38: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'), 46942, 'SRID=4674;POINT (-40.024421 -2.787224)', '2026-06-27 09:38:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024367 -2.787262)'), GeomFromEWKT('SRID=4674;POINT (-40.024421 -2.787224)'))) / (select extract(epoch from '2026-06-27 09:38:52'::timestamp) - extract(epoch from '2026-06-27 09:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024367 -2.787262)'), GeomFromEWKT('SRID=4674;POINT (-40.024421 -2.787224)'))) / (select extract(epoch from '2026-06-27 09:38:52'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.024423 -2.787162)', '2026-06-27 09:39:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024421 -2.787224)'), GeomFromEWKT('SRID=4674;POINT (-40.024423 -2.787162)'))) / (select extract(epoch from '2026-06-27 09:39:00'::timestamp) - extract(epoch from '2026-06-27 09:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024421 -2.787224)'), GeomFromEWKT('SRID=4674;POINT (-40.024423 -2.787162)'))) / (select extract(epoch from '2026-06-27 09:39:00'::timestamp) - extract(epoch from '2026-06-27 09:38: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'), 46942, 'SRID=4674;POINT (-40.024385 -2.787128)', '2026-06-27 09:39:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024423 -2.787162)'), GeomFromEWKT('SRID=4674;POINT (-40.024385 -2.787128)'))) / (select extract(epoch from '2026-06-27 09:39:07'::timestamp) - extract(epoch from '2026-06-27 09:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024423 -2.787162)'), GeomFromEWKT('SRID=4674;POINT (-40.024385 -2.787128)'))) / (select extract(epoch from '2026-06-27 09:39:07'::timestamp) - extract(epoch from '2026-06-27 09:39: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'), 46942, 'SRID=4674;POINT (-40.024351 -2.787139)', '2026-06-27 09:39:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024385 -2.787128)'), GeomFromEWKT('SRID=4674;POINT (-40.024351 -2.787139)'))) / (select extract(epoch from '2026-06-27 09:39:17'::timestamp) - extract(epoch from '2026-06-27 09:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024385 -2.787128)'), GeomFromEWKT('SRID=4674;POINT (-40.024351 -2.787139)'))) / (select extract(epoch from '2026-06-27 09:39:17'::timestamp) - extract(epoch from '2026-06-27 09:39: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'), 46942, 'SRID=4674;POINT (-40.02438 -2.787174)', '2026-06-27 09:39:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024351 -2.787139)'), GeomFromEWKT('SRID=4674;POINT (-40.02438 -2.787174)'))) / (select extract(epoch from '2026-06-27 09:39:25'::timestamp) - extract(epoch from '2026-06-27 09:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024351 -2.787139)'), GeomFromEWKT('SRID=4674;POINT (-40.02438 -2.787174)'))) / (select extract(epoch from '2026-06-27 09:39:25'::timestamp) - extract(epoch from '2026-06-27 09:39: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'), 46942, 'SRID=4674;POINT (-40.024459 -2.787179)', '2026-06-27 09:39:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02438 -2.787174)'), GeomFromEWKT('SRID=4674;POINT (-40.024459 -2.787179)'))) / (select extract(epoch from '2026-06-27 09:39:32'::timestamp) - extract(epoch from '2026-06-27 09:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02438 -2.787174)'), GeomFromEWKT('SRID=4674;POINT (-40.024459 -2.787179)'))) / (select extract(epoch from '2026-06-27 09:39:32'::timestamp) - extract(epoch from '2026-06-27 09:39: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'), 46942, 'SRID=4674;POINT (-40.024472 -2.787184)', '2026-06-27 09:39:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024459 -2.787179)'), GeomFromEWKT('SRID=4674;POINT (-40.024472 -2.787184)'))) / (select extract(epoch from '2026-06-27 09:39:33'::timestamp) - extract(epoch from '2026-06-27 09:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024459 -2.787179)'), GeomFromEWKT('SRID=4674;POINT (-40.024472 -2.787184)'))) / (select extract(epoch from '2026-06-27 09:39:33'::timestamp) - extract(epoch from '2026-06-27 09:39: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'), 46942, 'SRID=4674;POINT (-40.024521 -2.787217)', '2026-06-27 09:39:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024472 -2.787184)'), GeomFromEWKT('SRID=4674;POINT (-40.024521 -2.787217)'))) / (select extract(epoch from '2026-06-27 09:39:37'::timestamp) - extract(epoch from '2026-06-27 09:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024472 -2.787184)'), GeomFromEWKT('SRID=4674;POINT (-40.024521 -2.787217)'))) / (select extract(epoch from '2026-06-27 09:39:37'::timestamp) - extract(epoch from '2026-06-27 09:39: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'), 46942, 'SRID=4674;POINT (-40.024574 -2.787323)', '2026-06-27 09:39:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024521 -2.787217)'), GeomFromEWKT('SRID=4674;POINT (-40.024574 -2.787323)'))) / (select extract(epoch from '2026-06-27 09:39:44'::timestamp) - extract(epoch from '2026-06-27 09:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024521 -2.787217)'), GeomFromEWKT('SRID=4674;POINT (-40.024574 -2.787323)'))) / (select extract(epoch from '2026-06-27 09:39:44'::timestamp) - extract(epoch from '2026-06-27 09:39: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'), 46942, 'SRID=4674;POINT (-40.024569 -2.78747)', '2026-06-27 09:39:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024574 -2.787323)'), GeomFromEWKT('SRID=4674;POINT (-40.024569 -2.78747)'))) / (select extract(epoch from '2026-06-27 09:39:52'::timestamp) - extract(epoch from '2026-06-27 09:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024574 -2.787323)'), GeomFromEWKT('SRID=4674;POINT (-40.024569 -2.78747)'))) / (select extract(epoch from '2026-06-27 09:39:52'::timestamp) - extract(epoch from '2026-06-27 09:39: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'), 46942, 'SRID=4674;POINT (-40.024557 -2.787618)', '2026-06-27 09:40:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024569 -2.78747)'), GeomFromEWKT('SRID=4674;POINT (-40.024557 -2.787618)'))) / (select extract(epoch from '2026-06-27 09:40:00'::timestamp) - extract(epoch from '2026-06-27 09:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024569 -2.78747)'), GeomFromEWKT('SRID=4674;POINT (-40.024557 -2.787618)'))) / (select extract(epoch from '2026-06-27 09:40:00'::timestamp) - extract(epoch from '2026-06-27 09:39: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'), 46942, 'SRID=4674;POINT (-40.024571 -2.787726)', '2026-06-27 09:40:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024557 -2.787618)'), GeomFromEWKT('SRID=4674;POINT (-40.024571 -2.787726)'))) / (select extract(epoch from '2026-06-27 09:40:06'::timestamp) - extract(epoch from '2026-06-27 09:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024557 -2.787618)'), GeomFromEWKT('SRID=4674;POINT (-40.024571 -2.787726)'))) / (select extract(epoch from '2026-06-27 09:40:06'::timestamp) - extract(epoch from '2026-06-27 09:40: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'), 46942, 'SRID=4674;POINT (-40.024575 -2.78778)', '2026-06-27 09:40:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024571 -2.787726)'), GeomFromEWKT('SRID=4674;POINT (-40.024575 -2.78778)'))) / (select extract(epoch from '2026-06-27 09:40:10'::timestamp) - extract(epoch from '2026-06-27 09:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024571 -2.787726)'), GeomFromEWKT('SRID=4674;POINT (-40.024575 -2.78778)'))) / (select extract(epoch from '2026-06-27 09:40:10'::timestamp) - extract(epoch from '2026-06-27 09:40: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'), 46942, 'SRID=4674;POINT (-40.024569 -2.787797)', '2026-06-27 09:40:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024575 -2.78778)'), GeomFromEWKT('SRID=4674;POINT (-40.024569 -2.787797)'))) / (select extract(epoch from '2026-06-27 09:40:12'::timestamp) - extract(epoch from '2026-06-27 09:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024575 -2.78778)'), GeomFromEWKT('SRID=4674;POINT (-40.024569 -2.787797)'))) / (select extract(epoch from '2026-06-27 09:40:12'::timestamp) - extract(epoch from '2026-06-27 09:40: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'), 46942, 'SRID=4674;POINT (-40.024524 -2.787876)', '2026-06-27 09:40:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024569 -2.787797)'), GeomFromEWKT('SRID=4674;POINT (-40.024524 -2.787876)'))) / (select extract(epoch from '2026-06-27 09:40:21'::timestamp) - extract(epoch from '2026-06-27 09:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024569 -2.787797)'), GeomFromEWKT('SRID=4674;POINT (-40.024524 -2.787876)'))) / (select extract(epoch from '2026-06-27 09:40:21'::timestamp) - extract(epoch from '2026-06-27 09:40: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'), 46942, 'SRID=4674;POINT (-40.024492 -2.787956)', '2026-06-27 09:40:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024524 -2.787876)'), GeomFromEWKT('SRID=4674;POINT (-40.024492 -2.787956)'))) / (select extract(epoch from '2026-06-27 09:40:30'::timestamp) - extract(epoch from '2026-06-27 09:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024524 -2.787876)'), GeomFromEWKT('SRID=4674;POINT (-40.024492 -2.787956)'))) / (select extract(epoch from '2026-06-27 09:40:30'::timestamp) - extract(epoch from '2026-06-27 09:40: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'), 46942, 'SRID=4674;POINT (-40.024486 -2.788014)', '2026-06-27 09:40:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024492 -2.787956)'), GeomFromEWKT('SRID=4674;POINT (-40.024486 -2.788014)'))) / (select extract(epoch from '2026-06-27 09:40:38'::timestamp) - extract(epoch from '2026-06-27 09:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024492 -2.787956)'), GeomFromEWKT('SRID=4674;POINT (-40.024486 -2.788014)'))) / (select extract(epoch from '2026-06-27 09:40:38'::timestamp) - extract(epoch from '2026-06-27 09:40: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'), 46942, 'SRID=4674;POINT (-40.024497 -2.788085)', '2026-06-27 09:40:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024486 -2.788014)'), GeomFromEWKT('SRID=4674;POINT (-40.024497 -2.788085)'))) / (select extract(epoch from '2026-06-27 09:40:47'::timestamp) - extract(epoch from '2026-06-27 09:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024486 -2.788014)'), GeomFromEWKT('SRID=4674;POINT (-40.024497 -2.788085)'))) / (select extract(epoch from '2026-06-27 09:40:47'::timestamp) - extract(epoch from '2026-06-27 09:40: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'), 46942, 'SRID=4674;POINT (-40.024484 -2.788143)', '2026-06-27 09:40:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024497 -2.788085)'), GeomFromEWKT('SRID=4674;POINT (-40.024484 -2.788143)'))) / (select extract(epoch from '2026-06-27 09:40:56'::timestamp) - extract(epoch from '2026-06-27 09:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024497 -2.788085)'), GeomFromEWKT('SRID=4674;POINT (-40.024484 -2.788143)'))) / (select extract(epoch from '2026-06-27 09:40:56'::timestamp) - extract(epoch from '2026-06-27 09:40:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024459 -2.788159)', '2026-06-27 09:41:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024484 -2.788143)'), GeomFromEWKT('SRID=4674;POINT (-40.024459 -2.788159)'))) / (select extract(epoch from '2026-06-27 09:41:07'::timestamp) - extract(epoch from '2026-06-27 09:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024484 -2.788143)'), GeomFromEWKT('SRID=4674;POINT (-40.024459 -2.788159)'))) / (select extract(epoch from '2026-06-27 09:41:07'::timestamp) - extract(epoch from '2026-06-27 09:40: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'), 46942, 'SRID=4674;POINT (-40.024414 -2.788111)', '2026-06-27 09:41:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024459 -2.788159)'), GeomFromEWKT('SRID=4674;POINT (-40.024414 -2.788111)'))) / (select extract(epoch from '2026-06-27 09:41:18'::timestamp) - extract(epoch from '2026-06-27 09:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024459 -2.788159)'), GeomFromEWKT('SRID=4674;POINT (-40.024414 -2.788111)'))) / (select extract(epoch from '2026-06-27 09:41:18'::timestamp) - extract(epoch from '2026-06-27 09:41: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'), 46942, 'SRID=4674;POINT (-40.024455 -2.78806)', '2026-06-27 09:41:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024414 -2.788111)'), GeomFromEWKT('SRID=4674;POINT (-40.024455 -2.78806)'))) / (select extract(epoch from '2026-06-27 09:41:25'::timestamp) - extract(epoch from '2026-06-27 09:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024414 -2.788111)'), GeomFromEWKT('SRID=4674;POINT (-40.024455 -2.78806)'))) / (select extract(epoch from '2026-06-27 09:41:25'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.024463 -2.788056)', '2026-06-27 09:41:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024455 -2.78806)'), GeomFromEWKT('SRID=4674;POINT (-40.024463 -2.788056)'))) / (select extract(epoch from '2026-06-27 09:41:26'::timestamp) - extract(epoch from '2026-06-27 09:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024455 -2.78806)'), GeomFromEWKT('SRID=4674;POINT (-40.024463 -2.788056)'))) / (select extract(epoch from '2026-06-27 09:41:26'::timestamp) - extract(epoch from '2026-06-27 09:41: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'), 46942, 'SRID=4674;POINT (-40.024502 -2.788052)', '2026-06-27 09:41:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024463 -2.788056)'), GeomFromEWKT('SRID=4674;POINT (-40.024502 -2.788052)'))) / (select extract(epoch from '2026-06-27 09:41:31'::timestamp) - extract(epoch from '2026-06-27 09:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024463 -2.788056)'), GeomFromEWKT('SRID=4674;POINT (-40.024502 -2.788052)'))) / (select extract(epoch from '2026-06-27 09:41:31'::timestamp) - extract(epoch from '2026-06-27 09:41:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024554 -2.788086)', '2026-06-27 09:41:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024502 -2.788052)'), GeomFromEWKT('SRID=4674;POINT (-40.024554 -2.788086)'))) / (select extract(epoch from '2026-06-27 09:41:39'::timestamp) - extract(epoch from '2026-06-27 09:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024502 -2.788052)'), GeomFromEWKT('SRID=4674;POINT (-40.024554 -2.788086)'))) / (select extract(epoch from '2026-06-27 09:41:39'::timestamp) - extract(epoch from '2026-06-27 09:41: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'), 46942, 'SRID=4674;POINT (-40.024563 -2.788106)', '2026-06-27 09:41:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024554 -2.788086)'), GeomFromEWKT('SRID=4674;POINT (-40.024563 -2.788106)'))) / (select extract(epoch from '2026-06-27 09:41:41'::timestamp) - extract(epoch from '2026-06-27 09:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024554 -2.788086)'), GeomFromEWKT('SRID=4674;POINT (-40.024563 -2.788106)'))) / (select extract(epoch from '2026-06-27 09:41:41'::timestamp) - extract(epoch from '2026-06-27 09:41:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024563 -2.788152)', '2026-06-27 09:41:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024563 -2.788106)'), GeomFromEWKT('SRID=4674;POINT (-40.024563 -2.788152)'))) / (select extract(epoch from '2026-06-27 09:41:45'::timestamp) - extract(epoch from '2026-06-27 09:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024563 -2.788106)'), GeomFromEWKT('SRID=4674;POINT (-40.024563 -2.788152)'))) / (select extract(epoch from '2026-06-27 09:41:45'::timestamp) - extract(epoch from '2026-06-27 09:41: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'), 46942, 'SRID=4674;POINT (-40.024527 -2.788243)', '2026-06-27 09:41:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024563 -2.788152)'), GeomFromEWKT('SRID=4674;POINT (-40.024527 -2.788243)'))) / (select extract(epoch from '2026-06-27 09:41:53'::timestamp) - extract(epoch from '2026-06-27 09:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024563 -2.788152)'), GeomFromEWKT('SRID=4674;POINT (-40.024527 -2.788243)'))) / (select extract(epoch from '2026-06-27 09:41:53'::timestamp) - extract(epoch from '2026-06-27 09:41: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'), 46942, 'SRID=4674;POINT (-40.024565 -2.78835)', '2026-06-27 09:42:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024527 -2.788243)'), GeomFromEWKT('SRID=4674;POINT (-40.024565 -2.78835)'))) / (select extract(epoch from '2026-06-27 09:42:01'::timestamp) - extract(epoch from '2026-06-27 09:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024527 -2.788243)'), GeomFromEWKT('SRID=4674;POINT (-40.024565 -2.78835)'))) / (select extract(epoch from '2026-06-27 09:42:01'::timestamp) - extract(epoch from '2026-06-27 09:41:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024644 -2.788408)', '2026-06-27 09:42:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024565 -2.78835)'), GeomFromEWKT('SRID=4674;POINT (-40.024644 -2.788408)'))) / (select extract(epoch from '2026-06-27 09:42:08'::timestamp) - extract(epoch from '2026-06-27 09:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024565 -2.78835)'), GeomFromEWKT('SRID=4674;POINT (-40.024644 -2.788408)'))) / (select extract(epoch from '2026-06-27 09:42:08'::timestamp) - extract(epoch from '2026-06-27 09:42:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024714 -2.788454)', '2026-06-27 09:42:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024644 -2.788408)'), GeomFromEWKT('SRID=4674;POINT (-40.024714 -2.788454)'))) / (select extract(epoch from '2026-06-27 09:42:15'::timestamp) - extract(epoch from '2026-06-27 09:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024644 -2.788408)'), GeomFromEWKT('SRID=4674;POINT (-40.024714 -2.788454)'))) / (select extract(epoch from '2026-06-27 09:42:15'::timestamp) - extract(epoch from '2026-06-27 09:42:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024717 -2.788473)', '2026-06-27 09:42:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024714 -2.788454)'), GeomFromEWKT('SRID=4674;POINT (-40.024717 -2.788473)'))) / (select extract(epoch from '2026-06-27 09:42:17'::timestamp) - extract(epoch from '2026-06-27 09:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024714 -2.788454)'), GeomFromEWKT('SRID=4674;POINT (-40.024717 -2.788473)'))) / (select extract(epoch from '2026-06-27 09:42:17'::timestamp) - extract(epoch from '2026-06-27 09:42:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024703 -2.788495)', '2026-06-27 09:42:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024717 -2.788473)'), GeomFromEWKT('SRID=4674;POINT (-40.024703 -2.788495)'))) / (select extract(epoch from '2026-06-27 09:42:21'::timestamp) - extract(epoch from '2026-06-27 09:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024717 -2.788473)'), GeomFromEWKT('SRID=4674;POINT (-40.024703 -2.788495)'))) / (select extract(epoch from '2026-06-27 09:42:21'::timestamp) - extract(epoch from '2026-06-27 09:42: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'), 46942, 'SRID=4674;POINT (-40.024673 -2.78852)', '2026-06-27 09:42:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024703 -2.788495)'), GeomFromEWKT('SRID=4674;POINT (-40.024673 -2.78852)'))) / (select extract(epoch from '2026-06-27 09:42:31'::timestamp) - extract(epoch from '2026-06-27 09:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024703 -2.788495)'), GeomFromEWKT('SRID=4674;POINT (-40.024673 -2.78852)'))) / (select extract(epoch from '2026-06-27 09:42:31'::timestamp) - extract(epoch from '2026-06-27 09:42: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'), 46942, 'SRID=4674;POINT (-40.02464 -2.788515)', '2026-06-27 09:42:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024673 -2.78852)'), GeomFromEWKT('SRID=4674;POINT (-40.02464 -2.788515)'))) / (select extract(epoch from '2026-06-27 09:42:42'::timestamp) - extract(epoch from '2026-06-27 09:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024673 -2.78852)'), GeomFromEWKT('SRID=4674;POINT (-40.02464 -2.788515)'))) / (select extract(epoch from '2026-06-27 09:42:42'::timestamp) - extract(epoch from '2026-06-27 09:42:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024623 -2.78849)', '2026-06-27 09:42:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02464 -2.788515)'), GeomFromEWKT('SRID=4674;POINT (-40.024623 -2.78849)'))) / (select extract(epoch from '2026-06-27 09:42:48'::timestamp) - extract(epoch from '2026-06-27 09:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02464 -2.788515)'), GeomFromEWKT('SRID=4674;POINT (-40.024623 -2.78849)'))) / (select extract(epoch from '2026-06-27 09:42:48'::timestamp) - extract(epoch from '2026-06-27 09:42: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'), 46942, 'SRID=4674;POINT (-40.024597 -2.788456)', '2026-06-27 09:42:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024623 -2.78849)'), GeomFromEWKT('SRID=4674;POINT (-40.024597 -2.788456)'))) / (select extract(epoch from '2026-06-27 09:42:55'::timestamp) - extract(epoch from '2026-06-27 09:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024623 -2.78849)'), GeomFromEWKT('SRID=4674;POINT (-40.024597 -2.788456)'))) / (select extract(epoch from '2026-06-27 09:42:55'::timestamp) - extract(epoch from '2026-06-27 09:42: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'), 46942, 'SRID=4674;POINT (-40.024541 -2.788456)', '2026-06-27 09:43:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024597 -2.788456)'), GeomFromEWKT('SRID=4674;POINT (-40.024541 -2.788456)'))) / (select extract(epoch from '2026-06-27 09:43:05'::timestamp) - extract(epoch from '2026-06-27 09:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024597 -2.788456)'), GeomFromEWKT('SRID=4674;POINT (-40.024541 -2.788456)'))) / (select extract(epoch from '2026-06-27 09:43:05'::timestamp) - extract(epoch from '2026-06-27 09:42: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'), 46942, 'SRID=4674;POINT (-40.024541 -2.788508)', '2026-06-27 09:43:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024541 -2.788456)'), GeomFromEWKT('SRID=4674;POINT (-40.024541 -2.788508)'))) / (select extract(epoch from '2026-06-27 09:43:13'::timestamp) - extract(epoch from '2026-06-27 09:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024541 -2.788456)'), GeomFromEWKT('SRID=4674;POINT (-40.024541 -2.788508)'))) / (select extract(epoch from '2026-06-27 09:43:13'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.02455 -2.788521)', '2026-06-27 09:43:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024541 -2.788508)'), GeomFromEWKT('SRID=4674;POINT (-40.02455 -2.788521)'))) / (select extract(epoch from '2026-06-27 09:43:15'::timestamp) - extract(epoch from '2026-06-27 09:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024541 -2.788508)'), GeomFromEWKT('SRID=4674;POINT (-40.02455 -2.788521)'))) / (select extract(epoch from '2026-06-27 09:43:15'::timestamp) - extract(epoch from '2026-06-27 09:43:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024566 -2.788576)', '2026-06-27 09:43:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02455 -2.788521)'), GeomFromEWKT('SRID=4674;POINT (-40.024566 -2.788576)'))) / (select extract(epoch from '2026-06-27 09:43:24'::timestamp) - extract(epoch from '2026-06-27 09:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02455 -2.788521)'), GeomFromEWKT('SRID=4674;POINT (-40.024566 -2.788576)'))) / (select extract(epoch from '2026-06-27 09:43:24'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.024572 -2.788623)', '2026-06-27 09:43:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024566 -2.788576)'), GeomFromEWKT('SRID=4674;POINT (-40.024572 -2.788623)'))) / (select extract(epoch from '2026-06-27 09:43:36'::timestamp) - extract(epoch from '2026-06-27 09:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024566 -2.788576)'), GeomFromEWKT('SRID=4674;POINT (-40.024572 -2.788623)'))) / (select extract(epoch from '2026-06-27 09:43:36'::timestamp) - extract(epoch from '2026-06-27 09:43:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.02459 -2.788665)', '2026-06-27 09:43:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024572 -2.788623)'), GeomFromEWKT('SRID=4674;POINT (-40.02459 -2.788665)'))) / (select extract(epoch from '2026-06-27 09:43:47'::timestamp) - extract(epoch from '2026-06-27 09:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024572 -2.788623)'), GeomFromEWKT('SRID=4674;POINT (-40.02459 -2.788665)'))) / (select extract(epoch from '2026-06-27 09:43:47'::timestamp) - extract(epoch from '2026-06-27 09:43: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'), 46942, 'SRID=4674;POINT (-40.02458 -2.788722)', '2026-06-27 09:43:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02459 -2.788665)'), GeomFromEWKT('SRID=4674;POINT (-40.02458 -2.788722)'))) / (select extract(epoch from '2026-06-27 09:43:54'::timestamp) - extract(epoch from '2026-06-27 09:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02459 -2.788665)'), GeomFromEWKT('SRID=4674;POINT (-40.02458 -2.788722)'))) / (select extract(epoch from '2026-06-27 09:43:54'::timestamp) - extract(epoch from '2026-06-27 09:43: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'), 46942, 'SRID=4674;POINT (-40.024573 -2.788726)', '2026-06-27 09:43:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02458 -2.788722)'), GeomFromEWKT('SRID=4674;POINT (-40.024573 -2.788726)'))) / (select extract(epoch from '2026-06-27 09:43:55'::timestamp) - extract(epoch from '2026-06-27 09:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02458 -2.788722)'), GeomFromEWKT('SRID=4674;POINT (-40.024573 -2.788726)'))) / (select extract(epoch from '2026-06-27 09:43:55'::timestamp) - extract(epoch from '2026-06-27 09:43: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'), 46942, 'SRID=4674;POINT (-40.024566 -2.788728)', '2026-06-27 09:43:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024573 -2.788726)'), GeomFromEWKT('SRID=4674;POINT (-40.024566 -2.788728)'))) / (select extract(epoch from '2026-06-27 09:43:56'::timestamp) - extract(epoch from '2026-06-27 09:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024573 -2.788726)'), GeomFromEWKT('SRID=4674;POINT (-40.024566 -2.788728)'))) / (select extract(epoch from '2026-06-27 09:43:56'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.024512 -2.78871)', '2026-06-27 09:44:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024566 -2.788728)'), GeomFromEWKT('SRID=4674;POINT (-40.024512 -2.78871)'))) / (select extract(epoch from '2026-06-27 09:44:02'::timestamp) - extract(epoch from '2026-06-27 09:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024566 -2.788728)'), GeomFromEWKT('SRID=4674;POINT (-40.024512 -2.78871)'))) / (select extract(epoch from '2026-06-27 09:44:02'::timestamp) - extract(epoch from '2026-06-27 09:43: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'), 46942, 'SRID=4674;POINT (-40.024479 -2.78867)', '2026-06-27 09:44:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024512 -2.78871)'), GeomFromEWKT('SRID=4674;POINT (-40.024479 -2.78867)'))) / (select extract(epoch from '2026-06-27 09:44:10'::timestamp) - extract(epoch from '2026-06-27 09:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024512 -2.78871)'), GeomFromEWKT('SRID=4674;POINT (-40.024479 -2.78867)'))) / (select extract(epoch from '2026-06-27 09:44:10'::timestamp) - extract(epoch from '2026-06-27 09:44: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'), 46942, 'SRID=4674;POINT (-40.024443 -2.788602)', '2026-06-27 09:44:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024479 -2.78867)'), GeomFromEWKT('SRID=4674;POINT (-40.024443 -2.788602)'))) / (select extract(epoch from '2026-06-27 09:44:19'::timestamp) - extract(epoch from '2026-06-27 09:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024479 -2.78867)'), GeomFromEWKT('SRID=4674;POINT (-40.024443 -2.788602)'))) / (select extract(epoch from '2026-06-27 09:44:19'::timestamp) - extract(epoch from '2026-06-27 09:44: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'), 46942, 'SRID=4674;POINT (-40.024447 -2.788567)', '2026-06-27 09:44:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024443 -2.788602)'), GeomFromEWKT('SRID=4674;POINT (-40.024447 -2.788567)'))) / (select extract(epoch from '2026-06-27 09:44:28'::timestamp) - extract(epoch from '2026-06-27 09:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024443 -2.788602)'), GeomFromEWKT('SRID=4674;POINT (-40.024447 -2.788567)'))) / (select extract(epoch from '2026-06-27 09:44:28'::timestamp) - extract(epoch from '2026-06-27 09:44: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'), 46942, 'SRID=4674;POINT (-40.024494 -2.788523)', '2026-06-27 09:44:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024447 -2.788567)'), GeomFromEWKT('SRID=4674;POINT (-40.024494 -2.788523)'))) / (select extract(epoch from '2026-06-27 09:44:45'::timestamp) - extract(epoch from '2026-06-27 09:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024447 -2.788567)'), GeomFromEWKT('SRID=4674;POINT (-40.024494 -2.788523)'))) / (select extract(epoch from '2026-06-27 09:44:45'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.024604 -2.788483)', '2026-06-27 09:45:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024494 -2.788523)'), GeomFromEWKT('SRID=4674;POINT (-40.024604 -2.788483)'))) / (select extract(epoch from '2026-06-27 09:45:14'::timestamp) - extract(epoch from '2026-06-27 09:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024494 -2.788523)'), GeomFromEWKT('SRID=4674;POINT (-40.024604 -2.788483)'))) / (select extract(epoch from '2026-06-27 09:45:14'::timestamp) - extract(epoch from '2026-06-27 09:44: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'), 46942, 'SRID=4674;POINT (-40.02463 -2.788453)', '2026-06-27 09:45:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024604 -2.788483)'), GeomFromEWKT('SRID=4674;POINT (-40.02463 -2.788453)'))) / (select extract(epoch from '2026-06-27 09:45:32'::timestamp) - extract(epoch from '2026-06-27 09:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024604 -2.788483)'), GeomFromEWKT('SRID=4674;POINT (-40.02463 -2.788453)'))) / (select extract(epoch from '2026-06-27 09:45:32'::timestamp) - extract(epoch from '2026-06-27 09:45: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'), 46942, 'SRID=4674;POINT (-40.024632 -2.788481)', '2026-06-27 09:45:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02463 -2.788453)'), GeomFromEWKT('SRID=4674;POINT (-40.024632 -2.788481)'))) / (select extract(epoch from '2026-06-27 09:45:44'::timestamp) - extract(epoch from '2026-06-27 09:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02463 -2.788453)'), GeomFromEWKT('SRID=4674;POINT (-40.024632 -2.788481)'))) / (select extract(epoch from '2026-06-27 09:45:44'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.024654 -2.788537)', '2026-06-27 09:46:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024632 -2.788481)'), GeomFromEWKT('SRID=4674;POINT (-40.024654 -2.788537)'))) / (select extract(epoch from '2026-06-27 09:46:11'::timestamp) - extract(epoch from '2026-06-27 09:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024632 -2.788481)'), GeomFromEWKT('SRID=4674;POINT (-40.024654 -2.788537)'))) / (select extract(epoch from '2026-06-27 09:46:11'::timestamp) - extract(epoch from '2026-06-27 09:45:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024652 -2.788533)', '2026-06-27 09:46:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024654 -2.788537)'), GeomFromEWKT('SRID=4674;POINT (-40.024652 -2.788533)'))) / (select extract(epoch from '2026-06-27 09:46:42'::timestamp) - extract(epoch from '2026-06-27 09:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024654 -2.788537)'), GeomFromEWKT('SRID=4674;POINT (-40.024652 -2.788533)'))) / (select extract(epoch from '2026-06-27 09:46:42'::timestamp) - extract(epoch from '2026-06-27 09:46:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024651 -2.788551)', '2026-06-27 09:47:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024652 -2.788533)'), GeomFromEWKT('SRID=4674;POINT (-40.024651 -2.788551)'))) / (select extract(epoch from '2026-06-27 09:47:01'::timestamp) - extract(epoch from '2026-06-27 09:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024652 -2.788533)'), GeomFromEWKT('SRID=4674;POINT (-40.024651 -2.788551)'))) / (select extract(epoch from '2026-06-27 09:47:01'::timestamp) - extract(epoch from '2026-06-27 09:46: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'), 46942, 'SRID=4674;POINT (-40.024655 -2.78857)', '2026-06-27 09:47:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024651 -2.788551)'), GeomFromEWKT('SRID=4674;POINT (-40.024655 -2.78857)'))) / (select extract(epoch from '2026-06-27 09:47:24'::timestamp) - extract(epoch from '2026-06-27 09:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024651 -2.788551)'), GeomFromEWKT('SRID=4674;POINT (-40.024655 -2.78857)'))) / (select extract(epoch from '2026-06-27 09:47:24'::timestamp) - extract(epoch from '2026-06-27 09:47: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'), 46942, 'SRID=4674;POINT (-40.024657 -2.788579)', '2026-06-27 09:47:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024655 -2.78857)'), GeomFromEWKT('SRID=4674;POINT (-40.024657 -2.788579)'))) / (select extract(epoch from '2026-06-27 09:47:41'::timestamp) - extract(epoch from '2026-06-27 09:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024655 -2.78857)'), GeomFromEWKT('SRID=4674;POINT (-40.024657 -2.788579)'))) / (select extract(epoch from '2026-06-27 09:47:41'::timestamp) - extract(epoch from '2026-06-27 09:47: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'), 46942, 'SRID=4674;POINT (-40.024654 -2.788598)', '2026-06-27 09:48:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024657 -2.788579)'), GeomFromEWKT('SRID=4674;POINT (-40.024654 -2.788598)'))) / (select extract(epoch from '2026-06-27 09:48:01'::timestamp) - extract(epoch from '2026-06-27 09:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024657 -2.788579)'), GeomFromEWKT('SRID=4674;POINT (-40.024654 -2.788598)'))) / (select extract(epoch from '2026-06-27 09:48:01'::timestamp) - extract(epoch from '2026-06-27 09:47: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'), 46942, 'SRID=4674;POINT (-40.024647 -2.788607)', '2026-06-27 09:48:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024654 -2.788598)'), GeomFromEWKT('SRID=4674;POINT (-40.024647 -2.788607)'))) / (select extract(epoch from '2026-06-27 09:48:20'::timestamp) - extract(epoch from '2026-06-27 09:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024654 -2.788598)'), GeomFromEWKT('SRID=4674;POINT (-40.024647 -2.788607)'))) / (select extract(epoch from '2026-06-27 09:48:20'::timestamp) - extract(epoch from '2026-06-27 09:48: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'), 46942, 'SRID=4674;POINT (-40.024655 -2.788592)', '2026-06-27 09:48:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024647 -2.788607)'), GeomFromEWKT('SRID=4674;POINT (-40.024655 -2.788592)'))) / (select extract(epoch from '2026-06-27 09:48:29'::timestamp) - extract(epoch from '2026-06-27 09:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024647 -2.788607)'), GeomFromEWKT('SRID=4674;POINT (-40.024655 -2.788592)'))) / (select extract(epoch from '2026-06-27 09:48:29'::timestamp) - extract(epoch from '2026-06-27 09:48: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'), 46942, 'SRID=4674;POINT (-40.024655 -2.788567)', '2026-06-27 09:48:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024655 -2.788592)'), GeomFromEWKT('SRID=4674;POINT (-40.024655 -2.788567)'))) / (select extract(epoch from '2026-06-27 09:48:38'::timestamp) - extract(epoch from '2026-06-27 09:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024655 -2.788592)'), GeomFromEWKT('SRID=4674;POINT (-40.024655 -2.788567)'))) / (select extract(epoch from '2026-06-27 09:48:38'::timestamp) - extract(epoch from '2026-06-27 09:48: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'), 46942, 'SRID=4674;POINT (-40.024649 -2.788534)', '2026-06-27 09:49:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024655 -2.788567)'), GeomFromEWKT('SRID=4674;POINT (-40.024649 -2.788534)'))) / (select extract(epoch from '2026-06-27 09:49:01'::timestamp) - extract(epoch from '2026-06-27 09:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024655 -2.788567)'), GeomFromEWKT('SRID=4674;POINT (-40.024649 -2.788534)'))) / (select extract(epoch from '2026-06-27 09:49:01'::timestamp) - extract(epoch from '2026-06-27 09:48: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'), 46942, 'SRID=4674;POINT (-40.024642 -2.788507)', '2026-06-27 09:49:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024649 -2.788534)'), GeomFromEWKT('SRID=4674;POINT (-40.024642 -2.788507)'))) / (select extract(epoch from '2026-06-27 09:49:32'::timestamp) - extract(epoch from '2026-06-27 09:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024649 -2.788534)'), GeomFromEWKT('SRID=4674;POINT (-40.024642 -2.788507)'))) / (select extract(epoch from '2026-06-27 09:49:32'::timestamp) - extract(epoch from '2026-06-27 09:49: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'), 46942, 'SRID=4674;POINT (-40.024645 -2.788503)', '2026-06-27 09:50:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024642 -2.788507)'), GeomFromEWKT('SRID=4674;POINT (-40.024645 -2.788503)'))) / (select extract(epoch from '2026-06-27 09:50:02'::timestamp) - extract(epoch from '2026-06-27 09:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024642 -2.788507)'), GeomFromEWKT('SRID=4674;POINT (-40.024645 -2.788503)'))) / (select extract(epoch from '2026-06-27 09:50:02'::timestamp) - extract(epoch from '2026-06-27 09:49: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'), 46942, 'SRID=4674;POINT (-40.02464 -2.788495)', '2026-06-27 09:50:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024645 -2.788503)'), GeomFromEWKT('SRID=4674;POINT (-40.02464 -2.788495)'))) / (select extract(epoch from '2026-06-27 09:50:21'::timestamp) - extract(epoch from '2026-06-27 09:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024645 -2.788503)'), GeomFromEWKT('SRID=4674;POINT (-40.02464 -2.788495)'))) / (select extract(epoch from '2026-06-27 09:50:21'::timestamp) - extract(epoch from '2026-06-27 09:50:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024649 -2.788521)', '2026-06-27 09:50:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02464 -2.788495)'), GeomFromEWKT('SRID=4674;POINT (-40.024649 -2.788521)'))) / (select extract(epoch from '2026-06-27 09:50:43'::timestamp) - extract(epoch from '2026-06-27 09:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02464 -2.788495)'), GeomFromEWKT('SRID=4674;POINT (-40.024649 -2.788521)'))) / (select extract(epoch from '2026-06-27 09:50:43'::timestamp) - extract(epoch from '2026-06-27 09:50: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'), 46942, 'SRID=4674;POINT (-40.02464 -2.788488)', '2026-06-27 09:51:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024649 -2.788521)'), GeomFromEWKT('SRID=4674;POINT (-40.02464 -2.788488)'))) / (select extract(epoch from '2026-06-27 09:51:02'::timestamp) - extract(epoch from '2026-06-27 09:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024649 -2.788521)'), GeomFromEWKT('SRID=4674;POINT (-40.02464 -2.788488)'))) / (select extract(epoch from '2026-06-27 09:51:02'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.024609 -2.788522)', '2026-06-27 09:51:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02464 -2.788488)'), GeomFromEWKT('SRID=4674;POINT (-40.024609 -2.788522)'))) / (select extract(epoch from '2026-06-27 09:51:17'::timestamp) - extract(epoch from '2026-06-27 09:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02464 -2.788488)'), GeomFromEWKT('SRID=4674;POINT (-40.024609 -2.788522)'))) / (select extract(epoch from '2026-06-27 09:51:17'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.02458 -2.788543)', '2026-06-27 09:51:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024609 -2.788522)'), GeomFromEWKT('SRID=4674;POINT (-40.02458 -2.788543)'))) / (select extract(epoch from '2026-06-27 09:51:21'::timestamp) - extract(epoch from '2026-06-27 09:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024609 -2.788522)'), GeomFromEWKT('SRID=4674;POINT (-40.02458 -2.788543)'))) / (select extract(epoch from '2026-06-27 09:51:21'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.024538 -2.78856)', '2026-06-27 09:51:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02458 -2.788543)'), GeomFromEWKT('SRID=4674;POINT (-40.024538 -2.78856)'))) / (select extract(epoch from '2026-06-27 09:51:25'::timestamp) - extract(epoch from '2026-06-27 09:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02458 -2.788543)'), GeomFromEWKT('SRID=4674;POINT (-40.024538 -2.78856)'))) / (select extract(epoch from '2026-06-27 09:51:25'::timestamp) - extract(epoch from '2026-06-27 09:51: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'), 46942, 'SRID=4674;POINT (-40.024438 -2.788575)', '2026-06-27 09:51:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024538 -2.78856)'), GeomFromEWKT('SRID=4674;POINT (-40.024438 -2.788575)'))) / (select extract(epoch from '2026-06-27 09:51:34'::timestamp) - extract(epoch from '2026-06-27 09:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024538 -2.78856)'), GeomFromEWKT('SRID=4674;POINT (-40.024438 -2.788575)'))) / (select extract(epoch from '2026-06-27 09:51:34'::timestamp) - extract(epoch from '2026-06-27 09:51: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'), 46942, 'SRID=4674;POINT (-40.024383 -2.788573)', '2026-06-27 09:51:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024438 -2.788575)'), GeomFromEWKT('SRID=4674;POINT (-40.024383 -2.788573)'))) / (select extract(epoch from '2026-06-27 09:51:45'::timestamp) - extract(epoch from '2026-06-27 09:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024438 -2.788575)'), GeomFromEWKT('SRID=4674;POINT (-40.024383 -2.788573)'))) / (select extract(epoch from '2026-06-27 09:51:45'::timestamp) - extract(epoch from '2026-06-27 09:51: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'), 46942, 'SRID=4674;POINT (-40.024311 -2.788591)', '2026-06-27 09:52:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024383 -2.788573)'), GeomFromEWKT('SRID=4674;POINT (-40.024311 -2.788591)'))) / (select extract(epoch from '2026-06-27 09:52:01'::timestamp) - extract(epoch from '2026-06-27 09:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024383 -2.788573)'), GeomFromEWKT('SRID=4674;POINT (-40.024311 -2.788591)'))) / (select extract(epoch from '2026-06-27 09:52:01'::timestamp) - extract(epoch from '2026-06-27 09:51: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'), 46942, 'SRID=4674;POINT (-40.024309 -2.788601)', '2026-06-27 09:52:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024311 -2.788591)'), GeomFromEWKT('SRID=4674;POINT (-40.024309 -2.788601)'))) / (select extract(epoch from '2026-06-27 09:52:02'::timestamp) - extract(epoch from '2026-06-27 09:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024311 -2.788591)'), GeomFromEWKT('SRID=4674;POINT (-40.024309 -2.788601)'))) / (select extract(epoch from '2026-06-27 09:52:02'::timestamp) - extract(epoch from '2026-06-27 09:52: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'), 46942, 'SRID=4674;POINT (-40.024316 -2.788637)', '2026-06-27 09:52:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024309 -2.788601)'), GeomFromEWKT('SRID=4674;POINT (-40.024316 -2.788637)'))) / (select extract(epoch from '2026-06-27 09:52:05'::timestamp) - extract(epoch from '2026-06-27 09:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024309 -2.788601)'), GeomFromEWKT('SRID=4674;POINT (-40.024316 -2.788637)'))) / (select extract(epoch from '2026-06-27 09:52:05'::timestamp) - extract(epoch from '2026-06-27 09:52:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024321 -2.78865)', '2026-06-27 09:52:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024316 -2.788637)'), GeomFromEWKT('SRID=4674;POINT (-40.024321 -2.78865)'))) / (select extract(epoch from '2026-06-27 09:52:06'::timestamp) - extract(epoch from '2026-06-27 09:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024316 -2.788637)'), GeomFromEWKT('SRID=4674;POINT (-40.024321 -2.78865)'))) / (select extract(epoch from '2026-06-27 09:52:06'::timestamp) - extract(epoch from '2026-06-27 09:52: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'), 46942, 'SRID=4674;POINT (-40.024345 -2.788719)', '2026-06-27 09:52:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024321 -2.78865)'), GeomFromEWKT('SRID=4674;POINT (-40.024345 -2.788719)'))) / (select extract(epoch from '2026-06-27 09:52:11'::timestamp) - extract(epoch from '2026-06-27 09:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024321 -2.78865)'), GeomFromEWKT('SRID=4674;POINT (-40.024345 -2.788719)'))) / (select extract(epoch from '2026-06-27 09:52:11'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.0244 -2.788883)', '2026-06-27 09:52:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024345 -2.788719)'), GeomFromEWKT('SRID=4674;POINT (-40.0244 -2.788883)'))) / (select extract(epoch from '2026-06-27 09:52:21'::timestamp) - extract(epoch from '2026-06-27 09:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024345 -2.788719)'), GeomFromEWKT('SRID=4674;POINT (-40.0244 -2.788883)'))) / (select extract(epoch from '2026-06-27 09:52:21'::timestamp) - extract(epoch from '2026-06-27 09:52: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'), 46942, 'SRID=4674;POINT (-40.024461 -2.788987)', '2026-06-27 09:52:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0244 -2.788883)'), GeomFromEWKT('SRID=4674;POINT (-40.024461 -2.788987)'))) / (select extract(epoch from '2026-06-27 09:52:27'::timestamp) - extract(epoch from '2026-06-27 09:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0244 -2.788883)'), GeomFromEWKT('SRID=4674;POINT (-40.024461 -2.788987)'))) / (select extract(epoch from '2026-06-27 09:52:27'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.024556 -2.789121)', '2026-06-27 09:52:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024461 -2.788987)'), GeomFromEWKT('SRID=4674;POINT (-40.024556 -2.789121)'))) / (select extract(epoch from '2026-06-27 09:52:35'::timestamp) - extract(epoch from '2026-06-27 09:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024461 -2.788987)'), GeomFromEWKT('SRID=4674;POINT (-40.024556 -2.789121)'))) / (select extract(epoch from '2026-06-27 09:52:35'::timestamp) - extract(epoch from '2026-06-27 09:52:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024646 -2.789281)', '2026-06-27 09:52:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024556 -2.789121)'), GeomFromEWKT('SRID=4674;POINT (-40.024646 -2.789281)'))) / (select extract(epoch from '2026-06-27 09:52:44'::timestamp) - extract(epoch from '2026-06-27 09:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024556 -2.789121)'), GeomFromEWKT('SRID=4674;POINT (-40.024646 -2.789281)'))) / (select extract(epoch from '2026-06-27 09:52:44'::timestamp) - extract(epoch from '2026-06-27 09:52: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'), 46942, 'SRID=4674;POINT (-40.024714 -2.789406)', '2026-06-27 09:52:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024646 -2.789281)'), GeomFromEWKT('SRID=4674;POINT (-40.024714 -2.789406)'))) / (select extract(epoch from '2026-06-27 09:52:51'::timestamp) - extract(epoch from '2026-06-27 09:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024646 -2.789281)'), GeomFromEWKT('SRID=4674;POINT (-40.024714 -2.789406)'))) / (select extract(epoch from '2026-06-27 09:52:51'::timestamp) - extract(epoch from '2026-06-27 09:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024823 -2.789492)', '2026-06-27 09:52:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024714 -2.789406)'), GeomFromEWKT('SRID=4674;POINT (-40.024823 -2.789492)'))) / (select extract(epoch from '2026-06-27 09:52:58'::timestamp) - extract(epoch from '2026-06-27 09:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024714 -2.789406)'), GeomFromEWKT('SRID=4674;POINT (-40.024823 -2.789492)'))) / (select extract(epoch from '2026-06-27 09:52:58'::timestamp) - extract(epoch from '2026-06-27 09:52:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.02495 -2.789562)', '2026-06-27 09:53:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024823 -2.789492)'), GeomFromEWKT('SRID=4674;POINT (-40.02495 -2.789562)'))) / (select extract(epoch from '2026-06-27 09:53:05'::timestamp) - extract(epoch from '2026-06-27 09:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024823 -2.789492)'), GeomFromEWKT('SRID=4674;POINT (-40.02495 -2.789562)'))) / (select extract(epoch from '2026-06-27 09:53:05'::timestamp) - extract(epoch from '2026-06-27 09:52: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'), 46942, 'SRID=4674;POINT (-40.025019 -2.789654)', '2026-06-27 09:53:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02495 -2.789562)'), GeomFromEWKT('SRID=4674;POINT (-40.025019 -2.789654)'))) / (select extract(epoch from '2026-06-27 09:53:11'::timestamp) - extract(epoch from '2026-06-27 09:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02495 -2.789562)'), GeomFromEWKT('SRID=4674;POINT (-40.025019 -2.789654)'))) / (select extract(epoch from '2026-06-27 09:53:11'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.025096 -2.789749)', '2026-06-27 09:53:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025019 -2.789654)'), GeomFromEWKT('SRID=4674;POINT (-40.025096 -2.789749)'))) / (select extract(epoch from '2026-06-27 09:53:18'::timestamp) - extract(epoch from '2026-06-27 09:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025019 -2.789654)'), GeomFromEWKT('SRID=4674;POINT (-40.025096 -2.789749)'))) / (select extract(epoch from '2026-06-27 09:53:18'::timestamp) - extract(epoch from '2026-06-27 09:53: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'), 46942, 'SRID=4674;POINT (-40.025104 -2.789824)', '2026-06-27 09:53:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025096 -2.789749)'), GeomFromEWKT('SRID=4674;POINT (-40.025104 -2.789824)'))) / (select extract(epoch from '2026-06-27 09:53:25'::timestamp) - extract(epoch from '2026-06-27 09:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025096 -2.789749)'), GeomFromEWKT('SRID=4674;POINT (-40.025104 -2.789824)'))) / (select extract(epoch from '2026-06-27 09:53:25'::timestamp) - extract(epoch from '2026-06-27 09:53: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'), 46942, 'SRID=4674;POINT (-40.025101 -2.789913)', '2026-06-27 09:53:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025104 -2.789824)'), GeomFromEWKT('SRID=4674;POINT (-40.025101 -2.789913)'))) / (select extract(epoch from '2026-06-27 09:53:38'::timestamp) - extract(epoch from '2026-06-27 09:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025104 -2.789824)'), GeomFromEWKT('SRID=4674;POINT (-40.025101 -2.789913)'))) / (select extract(epoch from '2026-06-27 09:53:38'::timestamp) - extract(epoch from '2026-06-27 09:53: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'), 46942, 'SRID=4674;POINT (-40.025097 -2.789946)', '2026-06-27 09:53:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025101 -2.789913)'), GeomFromEWKT('SRID=4674;POINT (-40.025097 -2.789946)'))) / (select extract(epoch from '2026-06-27 09:53:43'::timestamp) - extract(epoch from '2026-06-27 09:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025101 -2.789913)'), GeomFromEWKT('SRID=4674;POINT (-40.025097 -2.789946)'))) / (select extract(epoch from '2026-06-27 09:53:43'::timestamp) - extract(epoch from '2026-06-27 09:53:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025086 -2.789956)', '2026-06-27 09:53:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025097 -2.789946)'), GeomFromEWKT('SRID=4674;POINT (-40.025086 -2.789956)'))) / (select extract(epoch from '2026-06-27 09:53:53'::timestamp) - extract(epoch from '2026-06-27 09:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025097 -2.789946)'), GeomFromEWKT('SRID=4674;POINT (-40.025086 -2.789956)'))) / (select extract(epoch from '2026-06-27 09:53:53'::timestamp) - extract(epoch from '2026-06-27 09:53: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'), 46942, 'SRID=4674;POINT (-40.025092 -2.789892)', '2026-06-27 09:54:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025086 -2.789956)'), GeomFromEWKT('SRID=4674;POINT (-40.025092 -2.789892)'))) / (select extract(epoch from '2026-06-27 09:54:03'::timestamp) - extract(epoch from '2026-06-27 09:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025086 -2.789956)'), GeomFromEWKT('SRID=4674;POINT (-40.025092 -2.789892)'))) / (select extract(epoch from '2026-06-27 09:54:03'::timestamp) - extract(epoch from '2026-06-27 09:53: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'), 46942, 'SRID=4674;POINT (-40.025123 -2.789793)', '2026-06-27 09:54:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025092 -2.789892)'), GeomFromEWKT('SRID=4674;POINT (-40.025123 -2.789793)'))) / (select extract(epoch from '2026-06-27 09:54:16'::timestamp) - extract(epoch from '2026-06-27 09:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025092 -2.789892)'), GeomFromEWKT('SRID=4674;POINT (-40.025123 -2.789793)'))) / (select extract(epoch from '2026-06-27 09:54:16'::timestamp) - extract(epoch from '2026-06-27 09:54: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'), 46942, 'SRID=4674;POINT (-40.025099 -2.789733)', '2026-06-27 09:54:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025123 -2.789793)'), GeomFromEWKT('SRID=4674;POINT (-40.025099 -2.789733)'))) / (select extract(epoch from '2026-06-27 09:54:23'::timestamp) - extract(epoch from '2026-06-27 09:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025123 -2.789793)'), GeomFromEWKT('SRID=4674;POINT (-40.025099 -2.789733)'))) / (select extract(epoch from '2026-06-27 09:54:23'::timestamp) - extract(epoch from '2026-06-27 09:54: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'), 46942, 'SRID=4674;POINT (-40.025049 -2.78971)', '2026-06-27 09:54:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025099 -2.789733)'), GeomFromEWKT('SRID=4674;POINT (-40.025049 -2.78971)'))) / (select extract(epoch from '2026-06-27 09:54:30'::timestamp) - extract(epoch from '2026-06-27 09:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025099 -2.789733)'), GeomFromEWKT('SRID=4674;POINT (-40.025049 -2.78971)'))) / (select extract(epoch from '2026-06-27 09:54:30'::timestamp) - extract(epoch from '2026-06-27 09:54: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'), 46942, 'SRID=4674;POINT (-40.024969 -2.789733)', '2026-06-27 09:54:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025049 -2.78971)'), GeomFromEWKT('SRID=4674;POINT (-40.024969 -2.789733)'))) / (select extract(epoch from '2026-06-27 09:54:40'::timestamp) - extract(epoch from '2026-06-27 09:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025049 -2.78971)'), GeomFromEWKT('SRID=4674;POINT (-40.024969 -2.789733)'))) / (select extract(epoch from '2026-06-27 09:54:40'::timestamp) - extract(epoch from '2026-06-27 09:54: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'), 46942, 'SRID=4674;POINT (-40.024937 -2.789766)', '2026-06-27 09:54:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024969 -2.789733)'), GeomFromEWKT('SRID=4674;POINT (-40.024937 -2.789766)'))) / (select extract(epoch from '2026-06-27 09:54:49'::timestamp) - extract(epoch from '2026-06-27 09:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024969 -2.789733)'), GeomFromEWKT('SRID=4674;POINT (-40.024937 -2.789766)'))) / (select extract(epoch from '2026-06-27 09:54:49'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.024963 -2.789772)', '2026-06-27 09:55:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024937 -2.789766)'), GeomFromEWKT('SRID=4674;POINT (-40.024963 -2.789772)'))) / (select extract(epoch from '2026-06-27 09:55:00'::timestamp) - extract(epoch from '2026-06-27 09:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024937 -2.789766)'), GeomFromEWKT('SRID=4674;POINT (-40.024963 -2.789772)'))) / (select extract(epoch from '2026-06-27 09:55:00'::timestamp) - extract(epoch from '2026-06-27 09:54:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025007 -2.789767)', '2026-06-27 09:55:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024963 -2.789772)'), GeomFromEWKT('SRID=4674;POINT (-40.025007 -2.789767)'))) / (select extract(epoch from '2026-06-27 09:55:14'::timestamp) - extract(epoch from '2026-06-27 09:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024963 -2.789772)'), GeomFromEWKT('SRID=4674;POINT (-40.025007 -2.789767)'))) / (select extract(epoch from '2026-06-27 09:55:14'::timestamp) - extract(epoch from '2026-06-27 09:55: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'), 46942, 'SRID=4674;POINT (-40.025048 -2.789761)', '2026-06-27 09:55:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025007 -2.789767)'), GeomFromEWKT('SRID=4674;POINT (-40.025048 -2.789761)'))) / (select extract(epoch from '2026-06-27 09:55:25'::timestamp) - extract(epoch from '2026-06-27 09:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025007 -2.789767)'), GeomFromEWKT('SRID=4674;POINT (-40.025048 -2.789761)'))) / (select extract(epoch from '2026-06-27 09:55:25'::timestamp) - extract(epoch from '2026-06-27 09:55: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'), 46942, 'SRID=4674;POINT (-40.025136 -2.789755)', '2026-06-27 09:55:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025048 -2.789761)'), GeomFromEWKT('SRID=4674;POINT (-40.025136 -2.789755)'))) / (select extract(epoch from '2026-06-27 09:55:54'::timestamp) - extract(epoch from '2026-06-27 09:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025048 -2.789761)'), GeomFromEWKT('SRID=4674;POINT (-40.025136 -2.789755)'))) / (select extract(epoch from '2026-06-27 09:55:54'::timestamp) - extract(epoch from '2026-06-27 09: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'), 46942, 'SRID=4674;POINT (-40.025136 -2.78979)', '2026-06-27 09:56:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025136 -2.789755)'), GeomFromEWKT('SRID=4674;POINT (-40.025136 -2.78979)'))) / (select extract(epoch from '2026-06-27 09:56:13'::timestamp) - extract(epoch from '2026-06-27 09:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025136 -2.789755)'), GeomFromEWKT('SRID=4674;POINT (-40.025136 -2.78979)'))) / (select extract(epoch from '2026-06-27 09:56:13'::timestamp) - extract(epoch from '2026-06-27 09:55: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'), 46942, 'SRID=4674;POINT (-40.025142 -2.789817)', '2026-06-27 09:56:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025136 -2.78979)'), GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789817)'))) / (select extract(epoch from '2026-06-27 09:56:36'::timestamp) - extract(epoch from '2026-06-27 09:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025136 -2.78979)'), GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789817)'))) / (select extract(epoch from '2026-06-27 09:56:36'::timestamp) - extract(epoch from '2026-06-27 09:56:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025145 -2.789824)', '2026-06-27 09:57:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789817)'), GeomFromEWKT('SRID=4674;POINT (-40.025145 -2.789824)'))) / (select extract(epoch from '2026-06-27 09:57:03'::timestamp) - extract(epoch from '2026-06-27 09:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789817)'), GeomFromEWKT('SRID=4674;POINT (-40.025145 -2.789824)'))) / (select extract(epoch from '2026-06-27 09:57:03'::timestamp) - extract(epoch from '2026-06-27 09:56: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'), 46942, 'SRID=4674;POINT (-40.02514 -2.789812)', '2026-06-27 09:57:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025145 -2.789824)'), GeomFromEWKT('SRID=4674;POINT (-40.02514 -2.789812)'))) / (select extract(epoch from '2026-06-27 09:57:22'::timestamp) - extract(epoch from '2026-06-27 09:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025145 -2.789824)'), GeomFromEWKT('SRID=4674;POINT (-40.02514 -2.789812)'))) / (select extract(epoch from '2026-06-27 09:57:22'::timestamp) - extract(epoch from '2026-06-27 09:57: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'), 46942, 'SRID=4674;POINT (-40.02514 -2.789808)', '2026-06-27 09:57:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02514 -2.789812)'), GeomFromEWKT('SRID=4674;POINT (-40.02514 -2.789808)'))) / (select extract(epoch from '2026-06-27 09:57:43'::timestamp) - extract(epoch from '2026-06-27 09:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02514 -2.789812)'), GeomFromEWKT('SRID=4674;POINT (-40.02514 -2.789808)'))) / (select extract(epoch from '2026-06-27 09:57:43'::timestamp) - extract(epoch from '2026-06-27 09:57:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025142 -2.789789)', '2026-06-27 09:58:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02514 -2.789808)'), GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789789)'))) / (select extract(epoch from '2026-06-27 09:58:20'::timestamp) - extract(epoch from '2026-06-27 09:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02514 -2.789808)'), GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789789)'))) / (select extract(epoch from '2026-06-27 09:58:20'::timestamp) - extract(epoch from '2026-06-27 09:57: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'), 46942, 'SRID=4674;POINT (-40.025142 -2.78976)', '2026-06-27 09:58:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789789)'), GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.78976)'))) / (select extract(epoch from '2026-06-27 09:58:43'::timestamp) - extract(epoch from '2026-06-27 09:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789789)'), GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.78976)'))) / (select extract(epoch from '2026-06-27 09:58:43'::timestamp) - extract(epoch from '2026-06-27 09:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.02514 -2.789769)', '2026-06-27 09:59:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.78976)'), GeomFromEWKT('SRID=4674;POINT (-40.02514 -2.789769)'))) / (select extract(epoch from '2026-06-27 09:59:08'::timestamp) - extract(epoch from '2026-06-27 09:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.78976)'), GeomFromEWKT('SRID=4674;POINT (-40.02514 -2.789769)'))) / (select extract(epoch from '2026-06-27 09:59:08'::timestamp) - extract(epoch from '2026-06-27 09:58:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025142 -2.789792)', '2026-06-27 09:59:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02514 -2.789769)'), GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789792)'))) / (select extract(epoch from '2026-06-27 09:59:36'::timestamp) - extract(epoch from '2026-06-27 09:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02514 -2.789769)'), GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789792)'))) / (select extract(epoch from '2026-06-27 09:59:36'::timestamp) - extract(epoch from '2026-06-27 09:59:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025137 -2.789806)', '2026-06-27 10:00:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789792)'), GeomFromEWKT('SRID=4674;POINT (-40.025137 -2.789806)'))) / (select extract(epoch from '2026-06-27 10:00:19'::timestamp) - extract(epoch from '2026-06-27 09:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789792)'), GeomFromEWKT('SRID=4674;POINT (-40.025137 -2.789806)'))) / (select extract(epoch from '2026-06-27 10:00:19'::timestamp) - extract(epoch from '2026-06-27 09:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025143 -2.789811)', '2026-06-27 10:00:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025137 -2.789806)'), GeomFromEWKT('SRID=4674;POINT (-40.025143 -2.789811)'))) / (select extract(epoch from '2026-06-27 10:00:59'::timestamp) - extract(epoch from '2026-06-27 10:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025137 -2.789806)'), GeomFromEWKT('SRID=4674;POINT (-40.025143 -2.789811)'))) / (select extract(epoch from '2026-06-27 10:00:59'::timestamp) - extract(epoch from '2026-06-27 10:00:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025147 -2.789806)', '2026-06-27 10:01:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025143 -2.789811)'), GeomFromEWKT('SRID=4674;POINT (-40.025147 -2.789806)'))) / (select extract(epoch from '2026-06-27 10:01:26'::timestamp) - extract(epoch from '2026-06-27 10:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025143 -2.789811)'), GeomFromEWKT('SRID=4674;POINT (-40.025147 -2.789806)'))) / (select extract(epoch from '2026-06-27 10:01:26'::timestamp) - extract(epoch from '2026-06-27 10:00: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'), 46942, 'SRID=4674;POINT (-40.025145 -2.789793)', '2026-06-27 10:01:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025147 -2.789806)'), GeomFromEWKT('SRID=4674;POINT (-40.025145 -2.789793)'))) / (select extract(epoch from '2026-06-27 10:01:42'::timestamp) - extract(epoch from '2026-06-27 10:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025147 -2.789806)'), GeomFromEWKT('SRID=4674;POINT (-40.025145 -2.789793)'))) / (select extract(epoch from '2026-06-27 10:01:42'::timestamp) - extract(epoch from '2026-06-27 10:01: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'), 46942, 'SRID=4674;POINT (-40.02514 -2.789778)', '2026-06-27 10:02:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025145 -2.789793)'), GeomFromEWKT('SRID=4674;POINT (-40.02514 -2.789778)'))) / (select extract(epoch from '2026-06-27 10:02:01'::timestamp) - extract(epoch from '2026-06-27 10:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025145 -2.789793)'), GeomFromEWKT('SRID=4674;POINT (-40.02514 -2.789778)'))) / (select extract(epoch from '2026-06-27 10:02:01'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.025142 -2.789768)', '2026-06-27 10:02:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02514 -2.789778)'), GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789768)'))) / (select extract(epoch from '2026-06-27 10:02:20'::timestamp) - extract(epoch from '2026-06-27 10:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02514 -2.789778)'), GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789768)'))) / (select extract(epoch from '2026-06-27 10:02:20'::timestamp) - extract(epoch from '2026-06-27 10:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025131 -2.789787)', '2026-06-27 10:02:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789768)'), GeomFromEWKT('SRID=4674;POINT (-40.025131 -2.789787)'))) / (select extract(epoch from '2026-06-27 10:02:38'::timestamp) - extract(epoch from '2026-06-27 10:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025142 -2.789768)'), GeomFromEWKT('SRID=4674;POINT (-40.025131 -2.789787)'))) / (select extract(epoch from '2026-06-27 10:02:38'::timestamp) - extract(epoch from '2026-06-27 10:02:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025084 -2.789845)', '2026-06-27 10:02:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025131 -2.789787)'), GeomFromEWKT('SRID=4674;POINT (-40.025084 -2.789845)'))) / (select extract(epoch from '2026-06-27 10:02:47'::timestamp) - extract(epoch from '2026-06-27 10:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025131 -2.789787)'), GeomFromEWKT('SRID=4674;POINT (-40.025084 -2.789845)'))) / (select extract(epoch from '2026-06-27 10:02:47'::timestamp) - extract(epoch from '2026-06-27 10:02: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'), 46942, 'SRID=4674;POINT (-40.024999 -2.789848)', '2026-06-27 10:02:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025084 -2.789845)'), GeomFromEWKT('SRID=4674;POINT (-40.024999 -2.789848)'))) / (select extract(epoch from '2026-06-27 10:02:54'::timestamp) - extract(epoch from '2026-06-27 10:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025084 -2.789845)'), GeomFromEWKT('SRID=4674;POINT (-40.024999 -2.789848)'))) / (select extract(epoch from '2026-06-27 10:02:54'::timestamp) - extract(epoch from '2026-06-27 10:02:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024924 -2.789819)', '2026-06-27 10:03:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024999 -2.789848)'), GeomFromEWKT('SRID=4674;POINT (-40.024924 -2.789819)'))) / (select extract(epoch from '2026-06-27 10:03:02'::timestamp) - extract(epoch from '2026-06-27 10:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024999 -2.789848)'), GeomFromEWKT('SRID=4674;POINT (-40.024924 -2.789819)'))) / (select extract(epoch from '2026-06-27 10:03:02'::timestamp) - extract(epoch from '2026-06-27 10:02: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'), 46942, 'SRID=4674;POINT (-40.024918 -2.789812)', '2026-06-27 10:03:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024924 -2.789819)'), GeomFromEWKT('SRID=4674;POINT (-40.024918 -2.789812)'))) / (select extract(epoch from '2026-06-27 10:03:03'::timestamp) - extract(epoch from '2026-06-27 10:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024924 -2.789819)'), GeomFromEWKT('SRID=4674;POINT (-40.024918 -2.789812)'))) / (select extract(epoch from '2026-06-27 10:03:03'::timestamp) - extract(epoch from '2026-06-27 10:03: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'), 46942, 'SRID=4674;POINT (-40.024883 -2.789789)', '2026-06-27 10:03:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024918 -2.789812)'), GeomFromEWKT('SRID=4674;POINT (-40.024883 -2.789789)'))) / (select extract(epoch from '2026-06-27 10:03:12'::timestamp) - extract(epoch from '2026-06-27 10:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024918 -2.789812)'), GeomFromEWKT('SRID=4674;POINT (-40.024883 -2.789789)'))) / (select extract(epoch from '2026-06-27 10:03:12'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.024833 -2.789824)', '2026-06-27 10:03:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024883 -2.789789)'), GeomFromEWKT('SRID=4674;POINT (-40.024833 -2.789824)'))) / (select extract(epoch from '2026-06-27 10:03:22'::timestamp) - extract(epoch from '2026-06-27 10:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024883 -2.789789)'), GeomFromEWKT('SRID=4674;POINT (-40.024833 -2.789824)'))) / (select extract(epoch from '2026-06-27 10:03:22'::timestamp) - extract(epoch from '2026-06-27 10:03:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024831 -2.789918)', '2026-06-27 10:03:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024833 -2.789824)'), GeomFromEWKT('SRID=4674;POINT (-40.024831 -2.789918)'))) / (select extract(epoch from '2026-06-27 10:03:29'::timestamp) - extract(epoch from '2026-06-27 10:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024833 -2.789824)'), GeomFromEWKT('SRID=4674;POINT (-40.024831 -2.789918)'))) / (select extract(epoch from '2026-06-27 10:03:29'::timestamp) - extract(epoch from '2026-06-27 10:03:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.02488 -2.790014)', '2026-06-27 10:03:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024831 -2.789918)'), GeomFromEWKT('SRID=4674;POINT (-40.02488 -2.790014)'))) / (select extract(epoch from '2026-06-27 10:03:35'::timestamp) - extract(epoch from '2026-06-27 10:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024831 -2.789918)'), GeomFromEWKT('SRID=4674;POINT (-40.02488 -2.790014)'))) / (select extract(epoch from '2026-06-27 10:03:35'::timestamp) - extract(epoch from '2026-06-27 10:03: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'), 46942, 'SRID=4674;POINT (-40.024922 -2.790107)', '2026-06-27 10:03:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02488 -2.790014)'), GeomFromEWKT('SRID=4674;POINT (-40.024922 -2.790107)'))) / (select extract(epoch from '2026-06-27 10:03:41'::timestamp) - extract(epoch from '2026-06-27 10:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02488 -2.790014)'), GeomFromEWKT('SRID=4674;POINT (-40.024922 -2.790107)'))) / (select extract(epoch from '2026-06-27 10:03:41'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.024953 -2.790239)', '2026-06-27 10:03:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024922 -2.790107)'), GeomFromEWKT('SRID=4674;POINT (-40.024953 -2.790239)'))) / (select extract(epoch from '2026-06-27 10:03:48'::timestamp) - extract(epoch from '2026-06-27 10:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024922 -2.790107)'), GeomFromEWKT('SRID=4674;POINT (-40.024953 -2.790239)'))) / (select extract(epoch from '2026-06-27 10:03:48'::timestamp) - extract(epoch from '2026-06-27 10:03: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'), 46942, 'SRID=4674;POINT (-40.024971 -2.790369)', '2026-06-27 10:03:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024953 -2.790239)'), GeomFromEWKT('SRID=4674;POINT (-40.024971 -2.790369)'))) / (select extract(epoch from '2026-06-27 10:03:55'::timestamp) - extract(epoch from '2026-06-27 10:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024953 -2.790239)'), GeomFromEWKT('SRID=4674;POINT (-40.024971 -2.790369)'))) / (select extract(epoch from '2026-06-27 10:03:55'::timestamp) - extract(epoch from '2026-06-27 10:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025 -2.790573)', '2026-06-27 10:04:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024971 -2.790369)'), GeomFromEWKT('SRID=4674;POINT (-40.025 -2.790573)'))) / (select extract(epoch from '2026-06-27 10:04:06'::timestamp) - extract(epoch from '2026-06-27 10:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024971 -2.790369)'), GeomFromEWKT('SRID=4674;POINT (-40.025 -2.790573)'))) / (select extract(epoch from '2026-06-27 10:04:06'::timestamp) - extract(epoch from '2026-06-27 10:03: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'), 46942, 'SRID=4674;POINT (-40.02504 -2.790742)', '2026-06-27 10:04:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025 -2.790573)'), GeomFromEWKT('SRID=4674;POINT (-40.02504 -2.790742)'))) / (select extract(epoch from '2026-06-27 10:04:15'::timestamp) - extract(epoch from '2026-06-27 10:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025 -2.790573)'), GeomFromEWKT('SRID=4674;POINT (-40.02504 -2.790742)'))) / (select extract(epoch from '2026-06-27 10:04:15'::timestamp) - extract(epoch from '2026-06-27 10:04:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025076 -2.790873)', '2026-06-27 10:04:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02504 -2.790742)'), GeomFromEWKT('SRID=4674;POINT (-40.025076 -2.790873)'))) / (select extract(epoch from '2026-06-27 10:04:22'::timestamp) - extract(epoch from '2026-06-27 10:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02504 -2.790742)'), GeomFromEWKT('SRID=4674;POINT (-40.025076 -2.790873)'))) / (select extract(epoch from '2026-06-27 10:04:22'::timestamp) - extract(epoch from '2026-06-27 10:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025107 -2.79099)', '2026-06-27 10:04:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025076 -2.790873)'), GeomFromEWKT('SRID=4674;POINT (-40.025107 -2.79099)'))) / (select extract(epoch from '2026-06-27 10:04:28'::timestamp) - extract(epoch from '2026-06-27 10:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025076 -2.790873)'), GeomFromEWKT('SRID=4674;POINT (-40.025107 -2.79099)'))) / (select extract(epoch from '2026-06-27 10:04:28'::timestamp) - extract(epoch from '2026-06-27 10:04: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'), 46942, 'SRID=4674;POINT (-40.025159 -2.791094)', '2026-06-27 10:04:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025107 -2.79099)'), GeomFromEWKT('SRID=4674;POINT (-40.025159 -2.791094)'))) / (select extract(epoch from '2026-06-27 10:04:35'::timestamp) - extract(epoch from '2026-06-27 10:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025107 -2.79099)'), GeomFromEWKT('SRID=4674;POINT (-40.025159 -2.791094)'))) / (select extract(epoch from '2026-06-27 10:04:35'::timestamp) - extract(epoch from '2026-06-27 10:04: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'), 46942, 'SRID=4674;POINT (-40.025251 -2.791183)', '2026-06-27 10:04:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025159 -2.791094)'), GeomFromEWKT('SRID=4674;POINT (-40.025251 -2.791183)'))) / (select extract(epoch from '2026-06-27 10:04:44'::timestamp) - extract(epoch from '2026-06-27 10:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025159 -2.791094)'), GeomFromEWKT('SRID=4674;POINT (-40.025251 -2.791183)'))) / (select extract(epoch from '2026-06-27 10:04:44'::timestamp) - extract(epoch from '2026-06-27 10:04: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'), 46942, 'SRID=4674;POINT (-40.025318 -2.791241)', '2026-06-27 10:04:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025251 -2.791183)'), GeomFromEWKT('SRID=4674;POINT (-40.025318 -2.791241)'))) / (select extract(epoch from '2026-06-27 10:04:52'::timestamp) - extract(epoch from '2026-06-27 10:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025251 -2.791183)'), GeomFromEWKT('SRID=4674;POINT (-40.025318 -2.791241)'))) / (select extract(epoch from '2026-06-27 10:04:52'::timestamp) - extract(epoch from '2026-06-27 10:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025324 -2.791286)', '2026-06-27 10:04:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025318 -2.791241)'), GeomFromEWKT('SRID=4674;POINT (-40.025324 -2.791286)'))) / (select extract(epoch from '2026-06-27 10:04:58'::timestamp) - extract(epoch from '2026-06-27 10:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025318 -2.791241)'), GeomFromEWKT('SRID=4674;POINT (-40.025324 -2.791286)'))) / (select extract(epoch from '2026-06-27 10:04:58'::timestamp) - extract(epoch from '2026-06-27 10:04:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025325 -2.791307)', '2026-06-27 10:05:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025324 -2.791286)'), GeomFromEWKT('SRID=4674;POINT (-40.025325 -2.791307)'))) / (select extract(epoch from '2026-06-27 10:05:00'::timestamp) - extract(epoch from '2026-06-27 10:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025324 -2.791286)'), GeomFromEWKT('SRID=4674;POINT (-40.025325 -2.791307)'))) / (select extract(epoch from '2026-06-27 10:05:00'::timestamp) - extract(epoch from '2026-06-27 10:04: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'), 46942, 'SRID=4674;POINT (-40.025318 -2.791329)', '2026-06-27 10:05:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025325 -2.791307)'), GeomFromEWKT('SRID=4674;POINT (-40.025318 -2.791329)'))) / (select extract(epoch from '2026-06-27 10:05:07'::timestamp) - extract(epoch from '2026-06-27 10:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025325 -2.791307)'), GeomFromEWKT('SRID=4674;POINT (-40.025318 -2.791329)'))) / (select extract(epoch from '2026-06-27 10:05:07'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.0253 -2.791314)', '2026-06-27 10:05:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025318 -2.791329)'), GeomFromEWKT('SRID=4674;POINT (-40.0253 -2.791314)'))) / (select extract(epoch from '2026-06-27 10:05:14'::timestamp) - extract(epoch from '2026-06-27 10:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025318 -2.791329)'), GeomFromEWKT('SRID=4674;POINT (-40.0253 -2.791314)'))) / (select extract(epoch from '2026-06-27 10:05:14'::timestamp) - extract(epoch from '2026-06-27 10:05:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025283 -2.791259)', '2026-06-27 10:05:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0253 -2.791314)'), GeomFromEWKT('SRID=4674;POINT (-40.025283 -2.791259)'))) / (select extract(epoch from '2026-06-27 10:05:22'::timestamp) - extract(epoch from '2026-06-27 10:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0253 -2.791314)'), GeomFromEWKT('SRID=4674;POINT (-40.025283 -2.791259)'))) / (select extract(epoch from '2026-06-27 10:05:22'::timestamp) - extract(epoch from '2026-06-27 10:05:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025281 -2.79125)', '2026-06-27 10:05:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025283 -2.791259)'), GeomFromEWKT('SRID=4674;POINT (-40.025281 -2.79125)'))) / (select extract(epoch from '2026-06-27 10:05:23'::timestamp) - extract(epoch from '2026-06-27 10:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025283 -2.791259)'), GeomFromEWKT('SRID=4674;POINT (-40.025281 -2.79125)'))) / (select extract(epoch from '2026-06-27 10:05:23'::timestamp) - extract(epoch from '2026-06-27 10:05:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025284 -2.791182)', '2026-06-27 10:05:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025281 -2.79125)'), GeomFromEWKT('SRID=4674;POINT (-40.025284 -2.791182)'))) / (select extract(epoch from '2026-06-27 10:05:33'::timestamp) - extract(epoch from '2026-06-27 10:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025281 -2.79125)'), GeomFromEWKT('SRID=4674;POINT (-40.025284 -2.791182)'))) / (select extract(epoch from '2026-06-27 10:05:33'::timestamp) - extract(epoch from '2026-06-27 10:05:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025253 -2.791108)', '2026-06-27 10:05:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025284 -2.791182)'), GeomFromEWKT('SRID=4674;POINT (-40.025253 -2.791108)'))) / (select extract(epoch from '2026-06-27 10:05:42'::timestamp) - extract(epoch from '2026-06-27 10:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025284 -2.791182)'), GeomFromEWKT('SRID=4674;POINT (-40.025253 -2.791108)'))) / (select extract(epoch from '2026-06-27 10:05:42'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.025168 -2.791112)', '2026-06-27 10:05:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025253 -2.791108)'), GeomFromEWKT('SRID=4674;POINT (-40.025168 -2.791112)'))) / (select extract(epoch from '2026-06-27 10:05:50'::timestamp) - extract(epoch from '2026-06-27 10:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025253 -2.791108)'), GeomFromEWKT('SRID=4674;POINT (-40.025168 -2.791112)'))) / (select extract(epoch from '2026-06-27 10:05:50'::timestamp) - extract(epoch from '2026-06-27 10:05:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025122 -2.791186)', '2026-06-27 10:05:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025168 -2.791112)'), GeomFromEWKT('SRID=4674;POINT (-40.025122 -2.791186)'))) / (select extract(epoch from '2026-06-27 10:05:56'::timestamp) - extract(epoch from '2026-06-27 10:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025168 -2.791112)'), GeomFromEWKT('SRID=4674;POINT (-40.025122 -2.791186)'))) / (select extract(epoch from '2026-06-27 10:05:56'::timestamp) - extract(epoch from '2026-06-27 10:05: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'), 46942, 'SRID=4674;POINT (-40.025119 -2.791199)', '2026-06-27 10:05:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025122 -2.791186)'), GeomFromEWKT('SRID=4674;POINT (-40.025119 -2.791199)'))) / (select extract(epoch from '2026-06-27 10:05:57'::timestamp) - extract(epoch from '2026-06-27 10:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025122 -2.791186)'), GeomFromEWKT('SRID=4674;POINT (-40.025119 -2.791199)'))) / (select extract(epoch from '2026-06-27 10:05:57'::timestamp) - extract(epoch from '2026-06-27 10:05:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025117 -2.791228)', '2026-06-27 10:05:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025119 -2.791199)'), GeomFromEWKT('SRID=4674;POINT (-40.025117 -2.791228)'))) / (select extract(epoch from '2026-06-27 10:05:59'::timestamp) - extract(epoch from '2026-06-27 10:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025119 -2.791199)'), GeomFromEWKT('SRID=4674;POINT (-40.025117 -2.791228)'))) / (select extract(epoch from '2026-06-27 10:05:59'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.025141 -2.791293)', '2026-06-27 10:06:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025117 -2.791228)'), GeomFromEWKT('SRID=4674;POINT (-40.025141 -2.791293)'))) / (select extract(epoch from '2026-06-27 10:06:03'::timestamp) - extract(epoch from '2026-06-27 10:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025117 -2.791228)'), GeomFromEWKT('SRID=4674;POINT (-40.025141 -2.791293)'))) / (select extract(epoch from '2026-06-27 10:06:03'::timestamp) - extract(epoch from '2026-06-27 10:05:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.02523 -2.791423)', '2026-06-27 10:06:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025141 -2.791293)'), GeomFromEWKT('SRID=4674;POINT (-40.02523 -2.791423)'))) / (select extract(epoch from '2026-06-27 10:06:11'::timestamp) - extract(epoch from '2026-06-27 10:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025141 -2.791293)'), GeomFromEWKT('SRID=4674;POINT (-40.02523 -2.791423)'))) / (select extract(epoch from '2026-06-27 10:06:11'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.02528 -2.791554)', '2026-06-27 10:06:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02523 -2.791423)'), GeomFromEWKT('SRID=4674;POINT (-40.02528 -2.791554)'))) / (select extract(epoch from '2026-06-27 10:06:18'::timestamp) - extract(epoch from '2026-06-27 10:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02523 -2.791423)'), GeomFromEWKT('SRID=4674;POINT (-40.02528 -2.791554)'))) / (select extract(epoch from '2026-06-27 10:06:18'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.025312 -2.791687)', '2026-06-27 10:06:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02528 -2.791554)'), GeomFromEWKT('SRID=4674;POINT (-40.025312 -2.791687)'))) / (select extract(epoch from '2026-06-27 10:06:25'::timestamp) - extract(epoch from '2026-06-27 10:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02528 -2.791554)'), GeomFromEWKT('SRID=4674;POINT (-40.025312 -2.791687)'))) / (select extract(epoch from '2026-06-27 10:06:25'::timestamp) - extract(epoch from '2026-06-27 10:06: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'), 46942, 'SRID=4674;POINT (-40.025344 -2.791835)', '2026-06-27 10:06:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025312 -2.791687)'), GeomFromEWKT('SRID=4674;POINT (-40.025344 -2.791835)'))) / (select extract(epoch from '2026-06-27 10:06:33'::timestamp) - extract(epoch from '2026-06-27 10:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025312 -2.791687)'), GeomFromEWKT('SRID=4674;POINT (-40.025344 -2.791835)'))) / (select extract(epoch from '2026-06-27 10:06:33'::timestamp) - extract(epoch from '2026-06-27 10:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025371 -2.791953)', '2026-06-27 10:06:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025344 -2.791835)'), GeomFromEWKT('SRID=4674;POINT (-40.025371 -2.791953)'))) / (select extract(epoch from '2026-06-27 10:06:39'::timestamp) - extract(epoch from '2026-06-27 10:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025344 -2.791835)'), GeomFromEWKT('SRID=4674;POINT (-40.025371 -2.791953)'))) / (select extract(epoch from '2026-06-27 10:06:39'::timestamp) - extract(epoch from '2026-06-27 10:06: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'), 46942, 'SRID=4674;POINT (-40.025386 -2.791988)', '2026-06-27 10:06:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025371 -2.791953)'), GeomFromEWKT('SRID=4674;POINT (-40.025386 -2.791988)'))) / (select extract(epoch from '2026-06-27 10:06:41'::timestamp) - extract(epoch from '2026-06-27 10:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025371 -2.791953)'), GeomFromEWKT('SRID=4674;POINT (-40.025386 -2.791988)'))) / (select extract(epoch from '2026-06-27 10:06:41'::timestamp) - extract(epoch from '2026-06-27 10:06:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025403 -2.79202)', '2026-06-27 10:06:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025386 -2.791988)'), GeomFromEWKT('SRID=4674;POINT (-40.025403 -2.79202)'))) / (select extract(epoch from '2026-06-27 10:06:43'::timestamp) - extract(epoch from '2026-06-27 10:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025386 -2.791988)'), GeomFromEWKT('SRID=4674;POINT (-40.025403 -2.79202)'))) / (select extract(epoch from '2026-06-27 10:06:43'::timestamp) - extract(epoch from '2026-06-27 10:06: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'), 46942, 'SRID=4674;POINT (-40.025413 -2.792038)', '2026-06-27 10:06:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025403 -2.79202)'), GeomFromEWKT('SRID=4674;POINT (-40.025413 -2.792038)'))) / (select extract(epoch from '2026-06-27 10:06:44'::timestamp) - extract(epoch from '2026-06-27 10:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025403 -2.79202)'), GeomFromEWKT('SRID=4674;POINT (-40.025413 -2.792038)'))) / (select extract(epoch from '2026-06-27 10:06:44'::timestamp) - extract(epoch from '2026-06-27 10:06:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025463 -2.792145)', '2026-06-27 10:06:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025413 -2.792038)'), GeomFromEWKT('SRID=4674;POINT (-40.025463 -2.792145)'))) / (select extract(epoch from '2026-06-27 10:06:50'::timestamp) - extract(epoch from '2026-06-27 10:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025413 -2.792038)'), GeomFromEWKT('SRID=4674;POINT (-40.025463 -2.792145)'))) / (select extract(epoch from '2026-06-27 10:06:50'::timestamp) - extract(epoch from '2026-06-27 10:06: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'), 46942, 'SRID=4674;POINT (-40.025519 -2.79224)', '2026-06-27 10:06:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025463 -2.792145)'), GeomFromEWKT('SRID=4674;POINT (-40.025519 -2.79224)'))) / (select extract(epoch from '2026-06-27 10:06:56'::timestamp) - extract(epoch from '2026-06-27 10:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025463 -2.792145)'), GeomFromEWKT('SRID=4674;POINT (-40.025519 -2.79224)'))) / (select extract(epoch from '2026-06-27 10:06:56'::timestamp) - extract(epoch from '2026-06-27 10:06: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'), 46942, 'SRID=4674;POINT (-40.025568 -2.792351)', '2026-06-27 10:07:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025519 -2.79224)'), GeomFromEWKT('SRID=4674;POINT (-40.025568 -2.792351)'))) / (select extract(epoch from '2026-06-27 10:07:03'::timestamp) - extract(epoch from '2026-06-27 10:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025519 -2.79224)'), GeomFromEWKT('SRID=4674;POINT (-40.025568 -2.792351)'))) / (select extract(epoch from '2026-06-27 10:07:03'::timestamp) - extract(epoch from '2026-06-27 10:06: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'), 46942, 'SRID=4674;POINT (-40.025638 -2.79248)', '2026-06-27 10:07:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025568 -2.792351)'), GeomFromEWKT('SRID=4674;POINT (-40.025638 -2.79248)'))) / (select extract(epoch from '2026-06-27 10:07:11'::timestamp) - extract(epoch from '2026-06-27 10:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025568 -2.792351)'), GeomFromEWKT('SRID=4674;POINT (-40.025638 -2.79248)'))) / (select extract(epoch from '2026-06-27 10:07:11'::timestamp) - extract(epoch from '2026-06-27 10:07: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'), 46942, 'SRID=4674;POINT (-40.025692 -2.792551)', '2026-06-27 10:07:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025638 -2.79248)'), GeomFromEWKT('SRID=4674;POINT (-40.025692 -2.792551)'))) / (select extract(epoch from '2026-06-27 10:07:18'::timestamp) - extract(epoch from '2026-06-27 10:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025638 -2.79248)'), GeomFromEWKT('SRID=4674;POINT (-40.025692 -2.792551)'))) / (select extract(epoch from '2026-06-27 10:07:18'::timestamp) - extract(epoch from '2026-06-27 10:07:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025716 -2.792592)', '2026-06-27 10:07:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025692 -2.792551)'), GeomFromEWKT('SRID=4674;POINT (-40.025716 -2.792592)'))) / (select extract(epoch from '2026-06-27 10:07:24'::timestamp) - extract(epoch from '2026-06-27 10:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025692 -2.792551)'), GeomFromEWKT('SRID=4674;POINT (-40.025716 -2.792592)'))) / (select extract(epoch from '2026-06-27 10:07:24'::timestamp) - extract(epoch from '2026-06-27 10:07:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025708 -2.792623)', '2026-06-27 10:07:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025716 -2.792592)'), GeomFromEWKT('SRID=4674;POINT (-40.025708 -2.792623)'))) / (select extract(epoch from '2026-06-27 10:07:33'::timestamp) - extract(epoch from '2026-06-27 10:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025716 -2.792592)'), GeomFromEWKT('SRID=4674;POINT (-40.025708 -2.792623)'))) / (select extract(epoch from '2026-06-27 10:07:33'::timestamp) - extract(epoch from '2026-06-27 10:07: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'), 46942, 'SRID=4674;POINT (-40.025702 -2.792623)', '2026-06-27 10:07:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025708 -2.792623)'), GeomFromEWKT('SRID=4674;POINT (-40.025702 -2.792623)'))) / (select extract(epoch from '2026-06-27 10:07:40'::timestamp) - extract(epoch from '2026-06-27 10:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025708 -2.792623)'), GeomFromEWKT('SRID=4674;POINT (-40.025702 -2.792623)'))) / (select extract(epoch from '2026-06-27 10:07:40'::timestamp) - extract(epoch from '2026-06-27 10:07:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025702 -2.792607)', '2026-06-27 10:07:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025702 -2.792623)'), GeomFromEWKT('SRID=4674;POINT (-40.025702 -2.792607)'))) / (select extract(epoch from '2026-06-27 10:07:45'::timestamp) - extract(epoch from '2026-06-27 10:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025702 -2.792623)'), GeomFromEWKT('SRID=4674;POINT (-40.025702 -2.792607)'))) / (select extract(epoch from '2026-06-27 10:07:45'::timestamp) - extract(epoch from '2026-06-27 10:07: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'), 46942, 'SRID=4674;POINT (-40.025738 -2.792523)', '2026-06-27 10:08:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025702 -2.792607)'), GeomFromEWKT('SRID=4674;POINT (-40.025738 -2.792523)'))) / (select extract(epoch from '2026-06-27 10:08:01'::timestamp) - extract(epoch from '2026-06-27 10:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025702 -2.792607)'), GeomFromEWKT('SRID=4674;POINT (-40.025738 -2.792523)'))) / (select extract(epoch from '2026-06-27 10:08:01'::timestamp) - extract(epoch from '2026-06-27 10:07: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'), 46942, 'SRID=4674;POINT (-40.025763 -2.792494)', '2026-06-27 10:08:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025738 -2.792523)'), GeomFromEWKT('SRID=4674;POINT (-40.025763 -2.792494)'))) / (select extract(epoch from '2026-06-27 10:08:04'::timestamp) - extract(epoch from '2026-06-27 10:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025738 -2.792523)'), GeomFromEWKT('SRID=4674;POINT (-40.025763 -2.792494)'))) / (select extract(epoch from '2026-06-27 10:08:04'::timestamp) - extract(epoch from '2026-06-27 10:08:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025802 -2.792482)', '2026-06-27 10:08:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025763 -2.792494)'), GeomFromEWKT('SRID=4674;POINT (-40.025802 -2.792482)'))) / (select extract(epoch from '2026-06-27 10:08:07'::timestamp) - extract(epoch from '2026-06-27 10:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025763 -2.792494)'), GeomFromEWKT('SRID=4674;POINT (-40.025802 -2.792482)'))) / (select extract(epoch from '2026-06-27 10:08:07'::timestamp) - extract(epoch from '2026-06-27 10:08:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025868 -2.792518)', '2026-06-27 10:08:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025802 -2.792482)'), GeomFromEWKT('SRID=4674;POINT (-40.025868 -2.792518)'))) / (select extract(epoch from '2026-06-27 10:08:12'::timestamp) - extract(epoch from '2026-06-27 10:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025802 -2.792482)'), GeomFromEWKT('SRID=4674;POINT (-40.025868 -2.792518)'))) / (select extract(epoch from '2026-06-27 10:08:12'::timestamp) - extract(epoch from '2026-06-27 10:08: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'), 46942, 'SRID=4674;POINT (-40.025931 -2.792588)', '2026-06-27 10:08:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025868 -2.792518)'), GeomFromEWKT('SRID=4674;POINT (-40.025931 -2.792588)'))) / (select extract(epoch from '2026-06-27 10:08:18'::timestamp) - extract(epoch from '2026-06-27 10:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025868 -2.792518)'), GeomFromEWKT('SRID=4674;POINT (-40.025931 -2.792588)'))) / (select extract(epoch from '2026-06-27 10:08:18'::timestamp) - extract(epoch from '2026-06-27 10:08:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025963 -2.792643)', '2026-06-27 10:08:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025931 -2.792588)'), GeomFromEWKT('SRID=4674;POINT (-40.025963 -2.792643)'))) / (select extract(epoch from '2026-06-27 10:08:23'::timestamp) - extract(epoch from '2026-06-27 10:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025931 -2.792588)'), GeomFromEWKT('SRID=4674;POINT (-40.025963 -2.792643)'))) / (select extract(epoch from '2026-06-27 10:08:23'::timestamp) - extract(epoch from '2026-06-27 10:08: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'), 46942, 'SRID=4674;POINT (-40.025976 -2.792661)', '2026-06-27 10:08:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025963 -2.792643)'), GeomFromEWKT('SRID=4674;POINT (-40.025976 -2.792661)'))) / (select extract(epoch from '2026-06-27 10:08:25'::timestamp) - extract(epoch from '2026-06-27 10:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025963 -2.792643)'), GeomFromEWKT('SRID=4674;POINT (-40.025976 -2.792661)'))) / (select extract(epoch from '2026-06-27 10:08:25'::timestamp) - extract(epoch from '2026-06-27 10:08: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'), 46942, 'SRID=4674;POINT (-40.025992 -2.792718)', '2026-06-27 10:08:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025976 -2.792661)'), GeomFromEWKT('SRID=4674;POINT (-40.025992 -2.792718)'))) / (select extract(epoch from '2026-06-27 10:08:33'::timestamp) - extract(epoch from '2026-06-27 10:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025976 -2.792661)'), GeomFromEWKT('SRID=4674;POINT (-40.025992 -2.792718)'))) / (select extract(epoch from '2026-06-27 10:08:33'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.025998 -2.792744)', '2026-06-27 10:08:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025992 -2.792718)'), GeomFromEWKT('SRID=4674;POINT (-40.025998 -2.792744)'))) / (select extract(epoch from '2026-06-27 10:08:47'::timestamp) - extract(epoch from '2026-06-27 10:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025992 -2.792718)'), GeomFromEWKT('SRID=4674;POINT (-40.025998 -2.792744)'))) / (select extract(epoch from '2026-06-27 10:08:47'::timestamp) - extract(epoch from '2026-06-27 10:08: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'), 46942, 'SRID=4674;POINT (-40.026017 -2.792714)', '2026-06-27 10:08:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025998 -2.792744)'), GeomFromEWKT('SRID=4674;POINT (-40.026017 -2.792714)'))) / (select extract(epoch from '2026-06-27 10:08:59'::timestamp) - extract(epoch from '2026-06-27 10:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025998 -2.792744)'), GeomFromEWKT('SRID=4674;POINT (-40.026017 -2.792714)'))) / (select extract(epoch from '2026-06-27 10:08:59'::timestamp) - extract(epoch from '2026-06-27 10:08:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.026022 -2.792637)', '2026-06-27 10:09:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026017 -2.792714)'), GeomFromEWKT('SRID=4674;POINT (-40.026022 -2.792637)'))) / (select extract(epoch from '2026-06-27 10:09:11'::timestamp) - extract(epoch from '2026-06-27 10:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026017 -2.792714)'), GeomFromEWKT('SRID=4674;POINT (-40.026022 -2.792637)'))) / (select extract(epoch from '2026-06-27 10:09:11'::timestamp) - extract(epoch from '2026-06-27 10:08:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025947 -2.792604)', '2026-06-27 10:09:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026022 -2.792637)'), GeomFromEWKT('SRID=4674;POINT (-40.025947 -2.792604)'))) / (select extract(epoch from '2026-06-27 10:09:19'::timestamp) - extract(epoch from '2026-06-27 10:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026022 -2.792637)'), GeomFromEWKT('SRID=4674;POINT (-40.025947 -2.792604)'))) / (select extract(epoch from '2026-06-27 10:09:19'::timestamp) - extract(epoch from '2026-06-27 10:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.02591 -2.792628)', '2026-06-27 10:09:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025947 -2.792604)'), GeomFromEWKT('SRID=4674;POINT (-40.02591 -2.792628)'))) / (select extract(epoch from '2026-06-27 10:09:23'::timestamp) - extract(epoch from '2026-06-27 10:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025947 -2.792604)'), GeomFromEWKT('SRID=4674;POINT (-40.02591 -2.792628)'))) / (select extract(epoch from '2026-06-27 10:09:23'::timestamp) - extract(epoch from '2026-06-27 10:09: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'), 46942, 'SRID=4674;POINT (-40.025896 -2.792666)', '2026-06-27 10:09:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02591 -2.792628)'), GeomFromEWKT('SRID=4674;POINT (-40.025896 -2.792666)'))) / (select extract(epoch from '2026-06-27 10:09:26'::timestamp) - extract(epoch from '2026-06-27 10:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02591 -2.792628)'), GeomFromEWKT('SRID=4674;POINT (-40.025896 -2.792666)'))) / (select extract(epoch from '2026-06-27 10:09:26'::timestamp) - extract(epoch from '2026-06-27 10:09: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'), 46942, 'SRID=4674;POINT (-40.02587 -2.792803)', '2026-06-27 10:09:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025896 -2.792666)'), GeomFromEWKT('SRID=4674;POINT (-40.02587 -2.792803)'))) / (select extract(epoch from '2026-06-27 10:09:35'::timestamp) - extract(epoch from '2026-06-27 10:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025896 -2.792666)'), GeomFromEWKT('SRID=4674;POINT (-40.02587 -2.792803)'))) / (select extract(epoch from '2026-06-27 10:09:35'::timestamp) - extract(epoch from '2026-06-27 10:09: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'), 46942, 'SRID=4674;POINT (-40.02585 -2.792935)', '2026-06-27 10:09:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02587 -2.792803)'), GeomFromEWKT('SRID=4674;POINT (-40.02585 -2.792935)'))) / (select extract(epoch from '2026-06-27 10:09:43'::timestamp) - extract(epoch from '2026-06-27 10:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02587 -2.792803)'), GeomFromEWKT('SRID=4674;POINT (-40.02585 -2.792935)'))) / (select extract(epoch from '2026-06-27 10:09:43'::timestamp) - extract(epoch from '2026-06-27 10:09: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'), 46942, 'SRID=4674;POINT (-40.025833 -2.793055)', '2026-06-27 10:09:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02585 -2.792935)'), GeomFromEWKT('SRID=4674;POINT (-40.025833 -2.793055)'))) / (select extract(epoch from '2026-06-27 10:09:50'::timestamp) - extract(epoch from '2026-06-27 10:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02585 -2.792935)'), GeomFromEWKT('SRID=4674;POINT (-40.025833 -2.793055)'))) / (select extract(epoch from '2026-06-27 10:09:50'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.025806 -2.793194)', '2026-06-27 10:09:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025833 -2.793055)'), GeomFromEWKT('SRID=4674;POINT (-40.025806 -2.793194)'))) / (select extract(epoch from '2026-06-27 10:09:58'::timestamp) - extract(epoch from '2026-06-27 10:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025833 -2.793055)'), GeomFromEWKT('SRID=4674;POINT (-40.025806 -2.793194)'))) / (select extract(epoch from '2026-06-27 10:09:58'::timestamp) - extract(epoch from '2026-06-27 10:09:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025785 -2.793334)', '2026-06-27 10:10:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025806 -2.793194)'), GeomFromEWKT('SRID=4674;POINT (-40.025785 -2.793334)'))) / (select extract(epoch from '2026-06-27 10:10:06'::timestamp) - extract(epoch from '2026-06-27 10:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025806 -2.793194)'), GeomFromEWKT('SRID=4674;POINT (-40.025785 -2.793334)'))) / (select extract(epoch from '2026-06-27 10:10:06'::timestamp) - extract(epoch from '2026-06-27 10:09: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'), 46942, 'SRID=4674;POINT (-40.025766 -2.793494)', '2026-06-27 10:10:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025785 -2.793334)'), GeomFromEWKT('SRID=4674;POINT (-40.025766 -2.793494)'))) / (select extract(epoch from '2026-06-27 10:10:15'::timestamp) - extract(epoch from '2026-06-27 10:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025785 -2.793334)'), GeomFromEWKT('SRID=4674;POINT (-40.025766 -2.793494)'))) / (select extract(epoch from '2026-06-27 10:10:15'::timestamp) - extract(epoch from '2026-06-27 10:10: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'), 46942, 'SRID=4674;POINT (-40.02575 -2.793677)', '2026-06-27 10:10:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025766 -2.793494)'), GeomFromEWKT('SRID=4674;POINT (-40.02575 -2.793677)'))) / (select extract(epoch from '2026-06-27 10:10:26'::timestamp) - extract(epoch from '2026-06-27 10:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025766 -2.793494)'), GeomFromEWKT('SRID=4674;POINT (-40.02575 -2.793677)'))) / (select extract(epoch from '2026-06-27 10:10:26'::timestamp) - extract(epoch from '2026-06-27 10:10: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'), 46942, 'SRID=4674;POINT (-40.025739 -2.793758)', '2026-06-27 10:10:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02575 -2.793677)'), GeomFromEWKT('SRID=4674;POINT (-40.025739 -2.793758)'))) / (select extract(epoch from '2026-06-27 10:10:32'::timestamp) - extract(epoch from '2026-06-27 10:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02575 -2.793677)'), GeomFromEWKT('SRID=4674;POINT (-40.025739 -2.793758)'))) / (select extract(epoch from '2026-06-27 10:10:32'::timestamp) - extract(epoch from '2026-06-27 10:10: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'), 46942, 'SRID=4674;POINT (-40.025729 -2.793792)', '2026-06-27 10:10:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025739 -2.793758)'), GeomFromEWKT('SRID=4674;POINT (-40.025729 -2.793792)'))) / (select extract(epoch from '2026-06-27 10:10:35'::timestamp) - extract(epoch from '2026-06-27 10:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025739 -2.793758)'), GeomFromEWKT('SRID=4674;POINT (-40.025729 -2.793792)'))) / (select extract(epoch from '2026-06-27 10:10:35'::timestamp) - extract(epoch from '2026-06-27 10:10:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025732 -2.79384)', '2026-06-27 10:10:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025729 -2.793792)'), GeomFromEWKT('SRID=4674;POINT (-40.025732 -2.79384)'))) / (select extract(epoch from '2026-06-27 10:10:39'::timestamp) - extract(epoch from '2026-06-27 10:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025729 -2.793792)'), GeomFromEWKT('SRID=4674;POINT (-40.025732 -2.79384)'))) / (select extract(epoch from '2026-06-27 10:10:39'::timestamp) - extract(epoch from '2026-06-27 10:10: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'), 46942, 'SRID=4674;POINT (-40.025785 -2.793892)', '2026-06-27 10:10:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025732 -2.79384)'), GeomFromEWKT('SRID=4674;POINT (-40.025785 -2.793892)'))) / (select extract(epoch from '2026-06-27 10:10:46'::timestamp) - extract(epoch from '2026-06-27 10:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025732 -2.79384)'), GeomFromEWKT('SRID=4674;POINT (-40.025785 -2.793892)'))) / (select extract(epoch from '2026-06-27 10:10:46'::timestamp) - extract(epoch from '2026-06-27 10:10:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025866 -2.793931)', '2026-06-27 10:10:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025785 -2.793892)'), GeomFromEWKT('SRID=4674;POINT (-40.025866 -2.793931)'))) / (select extract(epoch from '2026-06-27 10:10:55'::timestamp) - extract(epoch from '2026-06-27 10:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025785 -2.793892)'), GeomFromEWKT('SRID=4674;POINT (-40.025866 -2.793931)'))) / (select extract(epoch from '2026-06-27 10:10:55'::timestamp) - extract(epoch from '2026-06-27 10:10: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'), 46942, 'SRID=4674;POINT (-40.025876 -2.793991)', '2026-06-27 10:11:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025866 -2.793931)'), GeomFromEWKT('SRID=4674;POINT (-40.025876 -2.793991)'))) / (select extract(epoch from '2026-06-27 10:11:02'::timestamp) - extract(epoch from '2026-06-27 10:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025866 -2.793931)'), GeomFromEWKT('SRID=4674;POINT (-40.025876 -2.793991)'))) / (select extract(epoch from '2026-06-27 10:11:02'::timestamp) - extract(epoch from '2026-06-27 10:10:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025871 -2.793998)', '2026-06-27 10:11:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025876 -2.793991)'), GeomFromEWKT('SRID=4674;POINT (-40.025871 -2.793998)'))) / (select extract(epoch from '2026-06-27 10:11:03'::timestamp) - extract(epoch from '2026-06-27 10:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025876 -2.793991)'), GeomFromEWKT('SRID=4674;POINT (-40.025871 -2.793998)'))) / (select extract(epoch from '2026-06-27 10:11:03'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.025849 -2.794014)', '2026-06-27 10:11:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025871 -2.793998)'), GeomFromEWKT('SRID=4674;POINT (-40.025849 -2.794014)'))) / (select extract(epoch from '2026-06-27 10:11:12'::timestamp) - extract(epoch from '2026-06-27 10:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025871 -2.793998)'), GeomFromEWKT('SRID=4674;POINT (-40.025849 -2.794014)'))) / (select extract(epoch from '2026-06-27 10:11:12'::timestamp) - extract(epoch from '2026-06-27 10:11: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'), 46942, 'SRID=4674;POINT (-40.025813 -2.794002)', '2026-06-27 10:11:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025849 -2.794014)'), GeomFromEWKT('SRID=4674;POINT (-40.025813 -2.794002)'))) / (select extract(epoch from '2026-06-27 10:11:22'::timestamp) - extract(epoch from '2026-06-27 10:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025849 -2.794014)'), GeomFromEWKT('SRID=4674;POINT (-40.025813 -2.794002)'))) / (select extract(epoch from '2026-06-27 10:11:22'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.025785 -2.793939)', '2026-06-27 10:11:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025813 -2.794002)'), GeomFromEWKT('SRID=4674;POINT (-40.025785 -2.793939)'))) / (select extract(epoch from '2026-06-27 10:11:34'::timestamp) - extract(epoch from '2026-06-27 10:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025813 -2.794002)'), GeomFromEWKT('SRID=4674;POINT (-40.025785 -2.793939)'))) / (select extract(epoch from '2026-06-27 10:11:34'::timestamp) - extract(epoch from '2026-06-27 10:11: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'), 46942, 'SRID=4674;POINT (-40.025709 -2.79389)', '2026-06-27 10:11:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025785 -2.793939)'), GeomFromEWKT('SRID=4674;POINT (-40.025709 -2.79389)'))) / (select extract(epoch from '2026-06-27 10:11:48'::timestamp) - extract(epoch from '2026-06-27 10:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025785 -2.793939)'), GeomFromEWKT('SRID=4674;POINT (-40.025709 -2.79389)'))) / (select extract(epoch from '2026-06-27 10:11:48'::timestamp) - extract(epoch from '2026-06-27 10:11: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'), 46942, 'SRID=4674;POINT (-40.025616 -2.793863)', '2026-06-27 10:11:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025709 -2.79389)'), GeomFromEWKT('SRID=4674;POINT (-40.025616 -2.793863)'))) / (select extract(epoch from '2026-06-27 10:11:57'::timestamp) - extract(epoch from '2026-06-27 10:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025709 -2.79389)'), GeomFromEWKT('SRID=4674;POINT (-40.025616 -2.793863)'))) / (select extract(epoch from '2026-06-27 10:11:57'::timestamp) - extract(epoch from '2026-06-27 10:11:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.025555 -2.793859)', '2026-06-27 10:12:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025616 -2.793863)'), GeomFromEWKT('SRID=4674;POINT (-40.025555 -2.793859)'))) / (select extract(epoch from '2026-06-27 10:12:04'::timestamp) - extract(epoch from '2026-06-27 10:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025616 -2.793863)'), GeomFromEWKT('SRID=4674;POINT (-40.025555 -2.793859)'))) / (select extract(epoch from '2026-06-27 10:12:04'::timestamp) - extract(epoch from '2026-06-27 10:11: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'), 46942, 'SRID=4674;POINT (-40.025539 -2.793854)', '2026-06-27 10:12:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025555 -2.793859)'), GeomFromEWKT('SRID=4674;POINT (-40.025539 -2.793854)'))) / (select extract(epoch from '2026-06-27 10:12:14'::timestamp) - extract(epoch from '2026-06-27 10:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025555 -2.793859)'), GeomFromEWKT('SRID=4674;POINT (-40.025539 -2.793854)'))) / (select extract(epoch from '2026-06-27 10:12:14'::timestamp) - extract(epoch from '2026-06-27 10:12: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'), 46942, 'SRID=4674;POINT (-40.025552 -2.793849)', '2026-06-27 10:12:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025539 -2.793854)'), GeomFromEWKT('SRID=4674;POINT (-40.025552 -2.793849)'))) / (select extract(epoch from '2026-06-27 10:12:24'::timestamp) - extract(epoch from '2026-06-27 10:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025539 -2.793854)'), GeomFromEWKT('SRID=4674;POINT (-40.025552 -2.793849)'))) / (select extract(epoch from '2026-06-27 10:12:24'::timestamp) - extract(epoch from '2026-06-27 10:12: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'), 46942, 'SRID=4674;POINT (-40.025591 -2.793848)', '2026-06-27 10:12:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025552 -2.793849)'), GeomFromEWKT('SRID=4674;POINT (-40.025591 -2.793848)'))) / (select extract(epoch from '2026-06-27 10:12:34'::timestamp) - extract(epoch from '2026-06-27 10:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025552 -2.793849)'), GeomFromEWKT('SRID=4674;POINT (-40.025591 -2.793848)'))) / (select extract(epoch from '2026-06-27 10:12:34'::timestamp) - extract(epoch from '2026-06-27 10:12: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'), 46942, 'SRID=4674;POINT (-40.025653 -2.793854)', '2026-06-27 10:12:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025591 -2.793848)'), GeomFromEWKT('SRID=4674;POINT (-40.025653 -2.793854)'))) / (select extract(epoch from '2026-06-27 10:12:49'::timestamp) - extract(epoch from '2026-06-27 10:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025591 -2.793848)'), GeomFromEWKT('SRID=4674;POINT (-40.025653 -2.793854)'))) / (select extract(epoch from '2026-06-27 10:12:49'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.035397 -2.805006)', '2026-06-27 10:34:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025653 -2.793854)'), GeomFromEWKT('SRID=4674;POINT (-40.035397 -2.805006)'))) / (select extract(epoch from '2026-06-27 10:34:08'::timestamp) - extract(epoch from '2026-06-27 10:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025653 -2.793854)'), GeomFromEWKT('SRID=4674;POINT (-40.035397 -2.805006)'))) / (select extract(epoch from '2026-06-27 10:34:08'::timestamp) - extract(epoch from '2026-06-27 10:12: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'), 46942, 'SRID=4674;POINT (-40.035485 -2.805004)', '2026-06-27 10:34:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035397 -2.805006)'), GeomFromEWKT('SRID=4674;POINT (-40.035485 -2.805004)'))) / (select extract(epoch from '2026-06-27 10:34:14'::timestamp) - extract(epoch from '2026-06-27 10:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035397 -2.805006)'), GeomFromEWKT('SRID=4674;POINT (-40.035485 -2.805004)'))) / (select extract(epoch from '2026-06-27 10:34:14'::timestamp) - extract(epoch from '2026-06-27 10:34:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.035557 -2.805061)', '2026-06-27 10:34:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035485 -2.805004)'), GeomFromEWKT('SRID=4674;POINT (-40.035557 -2.805061)'))) / (select extract(epoch from '2026-06-27 10:34:21'::timestamp) - extract(epoch from '2026-06-27 10:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035485 -2.805004)'), GeomFromEWKT('SRID=4674;POINT (-40.035557 -2.805061)'))) / (select extract(epoch from '2026-06-27 10:34:21'::timestamp) - extract(epoch from '2026-06-27 10:34: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'), 46942, 'SRID=4674;POINT (-40.035575 -2.805087)', '2026-06-27 10:34:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035557 -2.805061)'), GeomFromEWKT('SRID=4674;POINT (-40.035575 -2.805087)'))) / (select extract(epoch from '2026-06-27 10:34:23'::timestamp) - extract(epoch from '2026-06-27 10:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035557 -2.805061)'), GeomFromEWKT('SRID=4674;POINT (-40.035575 -2.805087)'))) / (select extract(epoch from '2026-06-27 10:34:23'::timestamp) - extract(epoch from '2026-06-27 10:34: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'), 46942, 'SRID=4674;POINT (-40.035593 -2.805116)', '2026-06-27 10:34:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035575 -2.805087)'), GeomFromEWKT('SRID=4674;POINT (-40.035593 -2.805116)'))) / (select extract(epoch from '2026-06-27 10:34:25'::timestamp) - extract(epoch from '2026-06-27 10:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035575 -2.805087)'), GeomFromEWKT('SRID=4674;POINT (-40.035593 -2.805116)'))) / (select extract(epoch from '2026-06-27 10:34:25'::timestamp) - extract(epoch from '2026-06-27 10:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.035599 -2.805131)', '2026-06-27 10:34:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035593 -2.805116)'), GeomFromEWKT('SRID=4674;POINT (-40.035599 -2.805131)'))) / (select extract(epoch from '2026-06-27 10:34:26'::timestamp) - extract(epoch from '2026-06-27 10:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035593 -2.805116)'), GeomFromEWKT('SRID=4674;POINT (-40.035599 -2.805131)'))) / (select extract(epoch from '2026-06-27 10:34:26'::timestamp) - extract(epoch from '2026-06-27 10:34: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'), 46942, 'SRID=4674;POINT (-40.035669 -2.805202)', '2026-06-27 10:34:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035599 -2.805131)'), GeomFromEWKT('SRID=4674;POINT (-40.035669 -2.805202)'))) / (select extract(epoch from '2026-06-27 10:34:33'::timestamp) - extract(epoch from '2026-06-27 10:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035599 -2.805131)'), GeomFromEWKT('SRID=4674;POINT (-40.035669 -2.805202)'))) / (select extract(epoch from '2026-06-27 10:34:33'::timestamp) - extract(epoch from '2026-06-27 10:34:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.035759 -2.80526)', '2026-06-27 10:34:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035669 -2.805202)'), GeomFromEWKT('SRID=4674;POINT (-40.035759 -2.80526)'))) / (select extract(epoch from '2026-06-27 10:34:40'::timestamp) - extract(epoch from '2026-06-27 10:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035669 -2.805202)'), GeomFromEWKT('SRID=4674;POINT (-40.035759 -2.80526)'))) / (select extract(epoch from '2026-06-27 10:34:40'::timestamp) - extract(epoch from '2026-06-27 10:34: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'), 46942, 'SRID=4674;POINT (-40.035831 -2.805314)', '2026-06-27 10:34:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035759 -2.80526)'), GeomFromEWKT('SRID=4674;POINT (-40.035831 -2.805314)'))) / (select extract(epoch from '2026-06-27 10:34:46'::timestamp) - extract(epoch from '2026-06-27 10:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035759 -2.80526)'), GeomFromEWKT('SRID=4674;POINT (-40.035831 -2.805314)'))) / (select extract(epoch from '2026-06-27 10:34:46'::timestamp) - extract(epoch from '2026-06-27 10:34:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.035854 -2.805334)', '2026-06-27 10:34:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035831 -2.805314)'), GeomFromEWKT('SRID=4674;POINT (-40.035854 -2.805334)'))) / (select extract(epoch from '2026-06-27 10:34:48'::timestamp) - extract(epoch from '2026-06-27 10:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035831 -2.805314)'), GeomFromEWKT('SRID=4674;POINT (-40.035854 -2.805334)'))) / (select extract(epoch from '2026-06-27 10:34:48'::timestamp) - extract(epoch from '2026-06-27 10:34: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'), 46942, 'SRID=4674;POINT (-40.035877 -2.805353)', '2026-06-27 10:34:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035854 -2.805334)'), GeomFromEWKT('SRID=4674;POINT (-40.035877 -2.805353)'))) / (select extract(epoch from '2026-06-27 10:34:50'::timestamp) - extract(epoch from '2026-06-27 10:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035854 -2.805334)'), GeomFromEWKT('SRID=4674;POINT (-40.035877 -2.805353)'))) / (select extract(epoch from '2026-06-27 10:34:50'::timestamp) - extract(epoch from '2026-06-27 10:34:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.035917 -2.805389)', '2026-06-27 10:34:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035877 -2.805353)'), GeomFromEWKT('SRID=4674;POINT (-40.035917 -2.805389)'))) / (select extract(epoch from '2026-06-27 10:34:53'::timestamp) - extract(epoch from '2026-06-27 10:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035877 -2.805353)'), GeomFromEWKT('SRID=4674;POINT (-40.035917 -2.805389)'))) / (select extract(epoch from '2026-06-27 10:34:53'::timestamp) - extract(epoch from '2026-06-27 10:34: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'), 46942, 'SRID=4674;POINT (-40.03602 -2.805474)', '2026-06-27 10:35:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035917 -2.805389)'), GeomFromEWKT('SRID=4674;POINT (-40.03602 -2.805474)'))) / (select extract(epoch from '2026-06-27 10:35:00'::timestamp) - extract(epoch from '2026-06-27 10:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035917 -2.805389)'), GeomFromEWKT('SRID=4674;POINT (-40.03602 -2.805474)'))) / (select extract(epoch from '2026-06-27 10:35:00'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.036084 -2.80554)', '2026-06-27 10:35:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03602 -2.805474)'), GeomFromEWKT('SRID=4674;POINT (-40.036084 -2.80554)'))) / (select extract(epoch from '2026-06-27 10:35:05'::timestamp) - extract(epoch from '2026-06-27 10:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03602 -2.805474)'), GeomFromEWKT('SRID=4674;POINT (-40.036084 -2.80554)'))) / (select extract(epoch from '2026-06-27 10:35:05'::timestamp) - extract(epoch from '2026-06-27 10:35: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'), 46942, 'SRID=4674;POINT (-40.036176 -2.805628)', '2026-06-27 10:35:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036084 -2.80554)'), GeomFromEWKT('SRID=4674;POINT (-40.036176 -2.805628)'))) / (select extract(epoch from '2026-06-27 10:35:12'::timestamp) - extract(epoch from '2026-06-27 10:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036084 -2.80554)'), GeomFromEWKT('SRID=4674;POINT (-40.036176 -2.805628)'))) / (select extract(epoch from '2026-06-27 10:35:12'::timestamp) - extract(epoch from '2026-06-27 10:35:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.036281 -2.805724)', '2026-06-27 10:35:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036176 -2.805628)'), GeomFromEWKT('SRID=4674;POINT (-40.036281 -2.805724)'))) / (select extract(epoch from '2026-06-27 10:35:20'::timestamp) - extract(epoch from '2026-06-27 10:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036176 -2.805628)'), GeomFromEWKT('SRID=4674;POINT (-40.036281 -2.805724)'))) / (select extract(epoch from '2026-06-27 10:35:20'::timestamp) - extract(epoch from '2026-06-27 10:35: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'), 46942, 'SRID=4674;POINT (-40.036308 -2.805771)', '2026-06-27 10:35:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036281 -2.805724)'), GeomFromEWKT('SRID=4674;POINT (-40.036308 -2.805771)'))) / (select extract(epoch from '2026-06-27 10:35:23'::timestamp) - extract(epoch from '2026-06-27 10:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036281 -2.805724)'), GeomFromEWKT('SRID=4674;POINT (-40.036308 -2.805771)'))) / (select extract(epoch from '2026-06-27 10:35:23'::timestamp) - extract(epoch from '2026-06-27 10:35:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.036332 -2.805797)', '2026-06-27 10:35:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036308 -2.805771)'), GeomFromEWKT('SRID=4674;POINT (-40.036332 -2.805797)'))) / (select extract(epoch from '2026-06-27 10:35:25'::timestamp) - extract(epoch from '2026-06-27 10:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036308 -2.805771)'), GeomFromEWKT('SRID=4674;POINT (-40.036332 -2.805797)'))) / (select extract(epoch from '2026-06-27 10:35:25'::timestamp) - extract(epoch from '2026-06-27 10:35: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'), 46942, 'SRID=4674;POINT (-40.03643 -2.805877)', '2026-06-27 10:35:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036332 -2.805797)'), GeomFromEWKT('SRID=4674;POINT (-40.03643 -2.805877)'))) / (select extract(epoch from '2026-06-27 10:35:32'::timestamp) - extract(epoch from '2026-06-27 10:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036332 -2.805797)'), GeomFromEWKT('SRID=4674;POINT (-40.03643 -2.805877)'))) / (select extract(epoch from '2026-06-27 10:35:32'::timestamp) - extract(epoch from '2026-06-27 10:35: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'), 46942, 'SRID=4674;POINT (-40.036594 -2.806004)', '2026-06-27 10:35:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03643 -2.805877)'), GeomFromEWKT('SRID=4674;POINT (-40.036594 -2.806004)'))) / (select extract(epoch from '2026-06-27 10:35:42'::timestamp) - extract(epoch from '2026-06-27 10:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03643 -2.805877)'), GeomFromEWKT('SRID=4674;POINT (-40.036594 -2.806004)'))) / (select extract(epoch from '2026-06-27 10:35:42'::timestamp) - extract(epoch from '2026-06-27 10:35: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'), 46942, 'SRID=4674;POINT (-40.036693 -2.806102)', '2026-06-27 10:35:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036594 -2.806004)'), GeomFromEWKT('SRID=4674;POINT (-40.036693 -2.806102)'))) / (select extract(epoch from '2026-06-27 10:35:49'::timestamp) - extract(epoch from '2026-06-27 10:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036594 -2.806004)'), GeomFromEWKT('SRID=4674;POINT (-40.036693 -2.806102)'))) / (select extract(epoch from '2026-06-27 10:35:49'::timestamp) - extract(epoch from '2026-06-27 10:35: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'), 46942, 'SRID=4674;POINT (-40.036757 -2.806208)', '2026-06-27 10:35:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036693 -2.806102)'), GeomFromEWKT('SRID=4674;POINT (-40.036757 -2.806208)'))) / (select extract(epoch from '2026-06-27 10:35:55'::timestamp) - extract(epoch from '2026-06-27 10:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036693 -2.806102)'), GeomFromEWKT('SRID=4674;POINT (-40.036757 -2.806208)'))) / (select extract(epoch from '2026-06-27 10:35:55'::timestamp) - extract(epoch from '2026-06-27 10:35: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'), 46942, 'SRID=4674;POINT (-40.036832 -2.806337)', '2026-06-27 10:36:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036757 -2.806208)'), GeomFromEWKT('SRID=4674;POINT (-40.036832 -2.806337)'))) / (select extract(epoch from '2026-06-27 10:36:02'::timestamp) - extract(epoch from '2026-06-27 10:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036757 -2.806208)'), GeomFromEWKT('SRID=4674;POINT (-40.036832 -2.806337)'))) / (select extract(epoch from '2026-06-27 10:36:02'::timestamp) - extract(epoch from '2026-06-27 10:35:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.036906 -2.80646)', '2026-06-27 10:36:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036832 -2.806337)'), GeomFromEWKT('SRID=4674;POINT (-40.036906 -2.80646)'))) / (select extract(epoch from '2026-06-27 10:36:09'::timestamp) - extract(epoch from '2026-06-27 10:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036832 -2.806337)'), GeomFromEWKT('SRID=4674;POINT (-40.036906 -2.80646)'))) / (select extract(epoch from '2026-06-27 10:36:09'::timestamp) - extract(epoch from '2026-06-27 10:36: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'), 46942, 'SRID=4674;POINT (-40.036978 -2.806618)', '2026-06-27 10:36:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036906 -2.80646)'), GeomFromEWKT('SRID=4674;POINT (-40.036978 -2.806618)'))) / (select extract(epoch from '2026-06-27 10:36:18'::timestamp) - extract(epoch from '2026-06-27 10:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036906 -2.80646)'), GeomFromEWKT('SRID=4674;POINT (-40.036978 -2.806618)'))) / (select extract(epoch from '2026-06-27 10:36:18'::timestamp) - extract(epoch from '2026-06-27 10:36: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'), 46942, 'SRID=4674;POINT (-40.037039 -2.806737)', '2026-06-27 10:36:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036978 -2.806618)'), GeomFromEWKT('SRID=4674;POINT (-40.037039 -2.806737)'))) / (select extract(epoch from '2026-06-27 10:36:25'::timestamp) - extract(epoch from '2026-06-27 10:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036978 -2.806618)'), GeomFromEWKT('SRID=4674;POINT (-40.037039 -2.806737)'))) / (select extract(epoch from '2026-06-27 10:36:25'::timestamp) - extract(epoch from '2026-06-27 10:36: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'), 46942, 'SRID=4674;POINT (-40.037137 -2.806917)', '2026-06-27 10:36:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037039 -2.806737)'), GeomFromEWKT('SRID=4674;POINT (-40.037137 -2.806917)'))) / (select extract(epoch from '2026-06-27 10:36:35'::timestamp) - extract(epoch from '2026-06-27 10:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037039 -2.806737)'), GeomFromEWKT('SRID=4674;POINT (-40.037137 -2.806917)'))) / (select extract(epoch from '2026-06-27 10:36:35'::timestamp) - extract(epoch from '2026-06-27 10:36: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'), 46942, 'SRID=4674;POINT (-40.037236 -2.80703)', '2026-06-27 10:36:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037137 -2.806917)'), GeomFromEWKT('SRID=4674;POINT (-40.037236 -2.80703)'))) / (select extract(epoch from '2026-06-27 10:36:43'::timestamp) - extract(epoch from '2026-06-27 10:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037137 -2.806917)'), GeomFromEWKT('SRID=4674;POINT (-40.037236 -2.80703)'))) / (select extract(epoch from '2026-06-27 10:36:43'::timestamp) - extract(epoch from '2026-06-27 10:36:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.037325 -2.807141)', '2026-06-27 10:36:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037236 -2.80703)'), GeomFromEWKT('SRID=4674;POINT (-40.037325 -2.807141)'))) / (select extract(epoch from '2026-06-27 10:36:50'::timestamp) - extract(epoch from '2026-06-27 10:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037236 -2.80703)'), GeomFromEWKT('SRID=4674;POINT (-40.037325 -2.807141)'))) / (select extract(epoch from '2026-06-27 10:36:50'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.037392 -2.807236)', '2026-06-27 10:36:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037325 -2.807141)'), GeomFromEWKT('SRID=4674;POINT (-40.037392 -2.807236)'))) / (select extract(epoch from '2026-06-27 10:36:56'::timestamp) - extract(epoch from '2026-06-27 10:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037325 -2.807141)'), GeomFromEWKT('SRID=4674;POINT (-40.037392 -2.807236)'))) / (select extract(epoch from '2026-06-27 10:36:56'::timestamp) - extract(epoch from '2026-06-27 10:36:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.037435 -2.80734)', '2026-06-27 10:37:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037392 -2.807236)'), GeomFromEWKT('SRID=4674;POINT (-40.037435 -2.80734)'))) / (select extract(epoch from '2026-06-27 10:37:02'::timestamp) - extract(epoch from '2026-06-27 10:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037392 -2.807236)'), GeomFromEWKT('SRID=4674;POINT (-40.037435 -2.80734)'))) / (select extract(epoch from '2026-06-27 10:37:02'::timestamp) - extract(epoch from '2026-06-27 10:36: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'), 46942, 'SRID=4674;POINT (-40.037473 -2.807419)', '2026-06-27 10:37:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037435 -2.80734)'), GeomFromEWKT('SRID=4674;POINT (-40.037473 -2.807419)'))) / (select extract(epoch from '2026-06-27 10:37:08'::timestamp) - extract(epoch from '2026-06-27 10:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037435 -2.80734)'), GeomFromEWKT('SRID=4674;POINT (-40.037473 -2.807419)'))) / (select extract(epoch from '2026-06-27 10:37:08'::timestamp) - extract(epoch from '2026-06-27 10:37:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.03752 -2.807483)', '2026-06-27 10:37:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037473 -2.807419)'), GeomFromEWKT('SRID=4674;POINT (-40.03752 -2.807483)'))) / (select extract(epoch from '2026-06-27 10:37:15'::timestamp) - extract(epoch from '2026-06-27 10:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037473 -2.807419)'), GeomFromEWKT('SRID=4674;POINT (-40.03752 -2.807483)'))) / (select extract(epoch from '2026-06-27 10:37:15'::timestamp) - extract(epoch from '2026-06-27 10:37: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'), 46942, 'SRID=4674;POINT (-40.037518 -2.807547)', '2026-06-27 10:37:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03752 -2.807483)'), GeomFromEWKT('SRID=4674;POINT (-40.037518 -2.807547)'))) / (select extract(epoch from '2026-06-27 10:37:25'::timestamp) - extract(epoch from '2026-06-27 10:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03752 -2.807483)'), GeomFromEWKT('SRID=4674;POINT (-40.037518 -2.807547)'))) / (select extract(epoch from '2026-06-27 10:37:25'::timestamp) - extract(epoch from '2026-06-27 10:37:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.037493 -2.807553)', '2026-06-27 10:37:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037518 -2.807547)'), GeomFromEWKT('SRID=4674;POINT (-40.037493 -2.807553)'))) / (select extract(epoch from '2026-06-27 10:37:37'::timestamp) - extract(epoch from '2026-06-27 10:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037518 -2.807547)'), GeomFromEWKT('SRID=4674;POINT (-40.037493 -2.807553)'))) / (select extract(epoch from '2026-06-27 10:37:37'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.037495 -2.807504)', '2026-06-27 10:37:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037493 -2.807553)'), GeomFromEWKT('SRID=4674;POINT (-40.037495 -2.807504)'))) / (select extract(epoch from '2026-06-27 10:37:55'::timestamp) - extract(epoch from '2026-06-27 10:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037493 -2.807553)'), GeomFromEWKT('SRID=4674;POINT (-40.037495 -2.807504)'))) / (select extract(epoch from '2026-06-27 10:37:55'::timestamp) - extract(epoch from '2026-06-27 10:37: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'), 46942, 'SRID=4674;POINT (-40.037528 -2.807439)', '2026-06-27 10:38:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037495 -2.807504)'), GeomFromEWKT('SRID=4674;POINT (-40.037528 -2.807439)'))) / (select extract(epoch from '2026-06-27 10:38:02'::timestamp) - extract(epoch from '2026-06-27 10:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037495 -2.807504)'), GeomFromEWKT('SRID=4674;POINT (-40.037528 -2.807439)'))) / (select extract(epoch from '2026-06-27 10:38:02'::timestamp) - extract(epoch from '2026-06-27 10:37: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'), 46942, 'SRID=4674;POINT (-40.037641 -2.807413)', '2026-06-27 10:38:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037528 -2.807439)'), GeomFromEWKT('SRID=4674;POINT (-40.037641 -2.807413)'))) / (select extract(epoch from '2026-06-27 10:38:09'::timestamp) - extract(epoch from '2026-06-27 10:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037528 -2.807439)'), GeomFromEWKT('SRID=4674;POINT (-40.037641 -2.807413)'))) / (select extract(epoch from '2026-06-27 10:38:09'::timestamp) - extract(epoch from '2026-06-27 10:38: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'), 46942, 'SRID=4674;POINT (-40.037792 -2.807441)', '2026-06-27 10:38:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037641 -2.807413)'), GeomFromEWKT('SRID=4674;POINT (-40.037792 -2.807441)'))) / (select extract(epoch from '2026-06-27 10:38:17'::timestamp) - extract(epoch from '2026-06-27 10:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037641 -2.807413)'), GeomFromEWKT('SRID=4674;POINT (-40.037792 -2.807441)'))) / (select extract(epoch from '2026-06-27 10:38:17'::timestamp) - extract(epoch from '2026-06-27 10:38: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'), 46942, 'SRID=4674;POINT (-40.03792 -2.807514)', '2026-06-27 10:38:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037792 -2.807441)'), GeomFromEWKT('SRID=4674;POINT (-40.03792 -2.807514)'))) / (select extract(epoch from '2026-06-27 10:38:24'::timestamp) - extract(epoch from '2026-06-27 10:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037792 -2.807441)'), GeomFromEWKT('SRID=4674;POINT (-40.03792 -2.807514)'))) / (select extract(epoch from '2026-06-27 10:38:24'::timestamp) - extract(epoch from '2026-06-27 10:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.038001 -2.807609)', '2026-06-27 10:38:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03792 -2.807514)'), GeomFromEWKT('SRID=4674;POINT (-40.038001 -2.807609)'))) / (select extract(epoch from '2026-06-27 10:38:30'::timestamp) - extract(epoch from '2026-06-27 10:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03792 -2.807514)'), GeomFromEWKT('SRID=4674;POINT (-40.038001 -2.807609)'))) / (select extract(epoch from '2026-06-27 10:38:30'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.038137 -2.807744)', '2026-06-27 10:38:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038001 -2.807609)'), GeomFromEWKT('SRID=4674;POINT (-40.038137 -2.807744)'))) / (select extract(epoch from '2026-06-27 10:38:39'::timestamp) - extract(epoch from '2026-06-27 10:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038001 -2.807609)'), GeomFromEWKT('SRID=4674;POINT (-40.038137 -2.807744)'))) / (select extract(epoch from '2026-06-27 10:38:39'::timestamp) - extract(epoch from '2026-06-27 10:38: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'), 46942, 'SRID=4674;POINT (-40.038232 -2.80783)', '2026-06-27 10:38:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038137 -2.807744)'), GeomFromEWKT('SRID=4674;POINT (-40.038232 -2.80783)'))) / (select extract(epoch from '2026-06-27 10:38:45'::timestamp) - extract(epoch from '2026-06-27 10:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038137 -2.807744)'), GeomFromEWKT('SRID=4674;POINT (-40.038232 -2.80783)'))) / (select extract(epoch from '2026-06-27 10:38:45'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.038342 -2.807928)', '2026-06-27 10:38:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038232 -2.80783)'), GeomFromEWKT('SRID=4674;POINT (-40.038342 -2.807928)'))) / (select extract(epoch from '2026-06-27 10:38:52'::timestamp) - extract(epoch from '2026-06-27 10:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038232 -2.80783)'), GeomFromEWKT('SRID=4674;POINT (-40.038342 -2.807928)'))) / (select extract(epoch from '2026-06-27 10:38:52'::timestamp) - extract(epoch from '2026-06-27 10: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'), 46942, 'SRID=4674;POINT (-40.038423 -2.808024)', '2026-06-27 10:38:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038342 -2.807928)'), GeomFromEWKT('SRID=4674;POINT (-40.038423 -2.808024)'))) / (select extract(epoch from '2026-06-27 10:38:58'::timestamp) - extract(epoch from '2026-06-27 10:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038342 -2.807928)'), GeomFromEWKT('SRID=4674;POINT (-40.038423 -2.808024)'))) / (select extract(epoch from '2026-06-27 10:38:58'::timestamp) - extract(epoch from '2026-06-27 10:38: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'), 46942, 'SRID=4674;POINT (-40.038541 -2.808149)', '2026-06-27 10:39:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038423 -2.808024)'), GeomFromEWKT('SRID=4674;POINT (-40.038541 -2.808149)'))) / (select extract(epoch from '2026-06-27 10:39:06'::timestamp) - extract(epoch from '2026-06-27 10:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038423 -2.808024)'), GeomFromEWKT('SRID=4674;POINT (-40.038541 -2.808149)'))) / (select extract(epoch from '2026-06-27 10:39:06'::timestamp) - extract(epoch from '2026-06-27 10:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.038635 -2.808233)', '2026-06-27 10:39:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038541 -2.808149)'), GeomFromEWKT('SRID=4674;POINT (-40.038635 -2.808233)'))) / (select extract(epoch from '2026-06-27 10:39:12'::timestamp) - extract(epoch from '2026-06-27 10:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038541 -2.808149)'), GeomFromEWKT('SRID=4674;POINT (-40.038635 -2.808233)'))) / (select extract(epoch from '2026-06-27 10:39:12'::timestamp) - extract(epoch from '2026-06-27 10:39:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.038725 -2.808348)', '2026-06-27 10:39:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038635 -2.808233)'), GeomFromEWKT('SRID=4674;POINT (-40.038725 -2.808348)'))) / (select extract(epoch from '2026-06-27 10:39:19'::timestamp) - extract(epoch from '2026-06-27 10:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038635 -2.808233)'), GeomFromEWKT('SRID=4674;POINT (-40.038725 -2.808348)'))) / (select extract(epoch from '2026-06-27 10:39:19'::timestamp) - extract(epoch from '2026-06-27 10:39: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'), 46942, 'SRID=4674;POINT (-40.038725 -2.808348)', '2026-06-27 10:39:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038725 -2.808348)'), GeomFromEWKT('SRID=4674;POINT (-40.038725 -2.808348)'))) / (select extract(epoch from '2026-06-27 10:39:20'::timestamp) - extract(epoch from '2026-06-27 10:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038725 -2.808348)'), GeomFromEWKT('SRID=4674;POINT (-40.038725 -2.808348)'))) / (select extract(epoch from '2026-06-27 10:39:20'::timestamp) - extract(epoch from '2026-06-27 10:39:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
