 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024445 -2.80007)', '2026-06-27 08:23:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02437 -2.799946)'), GeomFromEWKT('SRID=4674;POINT (-40.024445 -2.80007)'))) / (select extract(epoch from '2026-06-27 08:23:01'::timestamp) - extract(epoch from '2026-06-27 08:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02437 -2.799946)'), GeomFromEWKT('SRID=4674;POINT (-40.024445 -2.80007)'))) / (select extract(epoch from '2026-06-27 08:23:01'::timestamp) - extract(epoch from '2026-06-27 08:22: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.024464 -2.800166)', '2026-06-27 08:23:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024445 -2.80007)'), GeomFromEWKT('SRID=4674;POINT (-40.024464 -2.800166)'))) / (select extract(epoch from '2026-06-27 08:23:08'::timestamp) - extract(epoch from '2026-06-27 08:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024445 -2.80007)'), GeomFromEWKT('SRID=4674;POINT (-40.024464 -2.800166)'))) / (select extract(epoch from '2026-06-27 08:23:08'::timestamp) - extract(epoch from '2026-06-27 08:23: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.024452 -2.800299)', '2026-06-27 08:23:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024464 -2.800166)'), GeomFromEWKT('SRID=4674;POINT (-40.024452 -2.800299)'))) / (select extract(epoch from '2026-06-27 08:23:16'::timestamp) - extract(epoch from '2026-06-27 08:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024464 -2.800166)'), GeomFromEWKT('SRID=4674;POINT (-40.024452 -2.800299)'))) / (select extract(epoch from '2026-06-27 08:23:16'::timestamp) - extract(epoch from '2026-06-27 08:23: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.024489 -2.800395)', '2026-06-27 08:23:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024452 -2.800299)'), GeomFromEWKT('SRID=4674;POINT (-40.024489 -2.800395)'))) / (select extract(epoch from '2026-06-27 08:23:23'::timestamp) - extract(epoch from '2026-06-27 08:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024452 -2.800299)'), GeomFromEWKT('SRID=4674;POINT (-40.024489 -2.800395)'))) / (select extract(epoch from '2026-06-27 08:23:23'::timestamp) - extract(epoch from '2026-06-27 08:23:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024531 -2.800443)', '2026-06-27 08:23:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024489 -2.800395)'), GeomFromEWKT('SRID=4674;POINT (-40.024531 -2.800443)'))) / (select extract(epoch from '2026-06-27 08:23:28'::timestamp) - extract(epoch from '2026-06-27 08:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024489 -2.800395)'), GeomFromEWKT('SRID=4674;POINT (-40.024531 -2.800443)'))) / (select extract(epoch from '2026-06-27 08:23:28'::timestamp) - extract(epoch from '2026-06-27 08:23: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.024574 -2.800529)', '2026-06-27 08:23:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024531 -2.800443)'), GeomFromEWKT('SRID=4674;POINT (-40.024574 -2.800529)'))) / (select extract(epoch from '2026-06-27 08:23:36'::timestamp) - extract(epoch from '2026-06-27 08:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024531 -2.800443)'), GeomFromEWKT('SRID=4674;POINT (-40.024574 -2.800529)'))) / (select extract(epoch from '2026-06-27 08:23:36'::timestamp) - extract(epoch from '2026-06-27 08:23: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.024556 -2.800629)', '2026-06-27 08:23:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024574 -2.800529)'), GeomFromEWKT('SRID=4674;POINT (-40.024556 -2.800629)'))) / (select extract(epoch from '2026-06-27 08:23:47'::timestamp) - extract(epoch from '2026-06-27 08:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024574 -2.800529)'), GeomFromEWKT('SRID=4674;POINT (-40.024556 -2.800629)'))) / (select extract(epoch from '2026-06-27 08:23:47'::timestamp) - extract(epoch from '2026-06-27 08:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024557 -2.800692)', '2026-06-27 08:23:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024556 -2.800629)'), GeomFromEWKT('SRID=4674;POINT (-40.024557 -2.800692)'))) / (select extract(epoch from '2026-06-27 08:23:55'::timestamp) - extract(epoch from '2026-06-27 08:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024556 -2.800629)'), GeomFromEWKT('SRID=4674;POINT (-40.024557 -2.800692)'))) / (select extract(epoch from '2026-06-27 08:23:55'::timestamp) - extract(epoch from '2026-06-27 08:23: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.024563 -2.8007)', '2026-06-27 08:23:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024557 -2.800692)'), GeomFromEWKT('SRID=4674;POINT (-40.024563 -2.8007)'))) / (select extract(epoch from '2026-06-27 08:23:56'::timestamp) - extract(epoch from '2026-06-27 08:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024557 -2.800692)'), GeomFromEWKT('SRID=4674;POINT (-40.024563 -2.8007)'))) / (select extract(epoch from '2026-06-27 08:23:56'::timestamp) - extract(epoch from '2026-06-27 08:23: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.02457 -2.800706)', '2026-06-27 08:23:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024563 -2.8007)'), GeomFromEWKT('SRID=4674;POINT (-40.02457 -2.800706)'))) / (select extract(epoch from '2026-06-27 08:23:57'::timestamp) - extract(epoch from '2026-06-27 08:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024563 -2.8007)'), GeomFromEWKT('SRID=4674;POINT (-40.02457 -2.800706)'))) / (select extract(epoch from '2026-06-27 08:23:57'::timestamp) - extract(epoch from '2026-06-27 08:23: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.024586 -2.800716)', '2026-06-27 08:23:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02457 -2.800706)'), GeomFromEWKT('SRID=4674;POINT (-40.024586 -2.800716)'))) / (select extract(epoch from '2026-06-27 08:23:59'::timestamp) - extract(epoch from '2026-06-27 08:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02457 -2.800706)'), GeomFromEWKT('SRID=4674;POINT (-40.024586 -2.800716)'))) / (select extract(epoch from '2026-06-27 08:23:59'::timestamp) - extract(epoch from '2026-06-27 08:23:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024624 -2.800729)', '2026-06-27 08:24:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024586 -2.800716)'), GeomFromEWKT('SRID=4674;POINT (-40.024624 -2.800729)'))) / (select extract(epoch from '2026-06-27 08:24:03'::timestamp) - extract(epoch from '2026-06-27 08:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024586 -2.800716)'), GeomFromEWKT('SRID=4674;POINT (-40.024624 -2.800729)'))) / (select extract(epoch from '2026-06-27 08:24:03'::timestamp) - extract(epoch from '2026-06-27 08:23: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.024658 -2.800732)', '2026-06-27 08:24:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024624 -2.800729)'), GeomFromEWKT('SRID=4674;POINT (-40.024658 -2.800732)'))) / (select extract(epoch from '2026-06-27 08:24:07'::timestamp) - extract(epoch from '2026-06-27 08:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024624 -2.800729)'), GeomFromEWKT('SRID=4674;POINT (-40.024658 -2.800732)'))) / (select extract(epoch from '2026-06-27 08:24:07'::timestamp) - extract(epoch from '2026-06-27 08:24: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.024684 -2.800727)', '2026-06-27 08:24:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024658 -2.800732)'), GeomFromEWKT('SRID=4674;POINT (-40.024684 -2.800727)'))) / (select extract(epoch from '2026-06-27 08:24:10'::timestamp) - extract(epoch from '2026-06-27 08:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024658 -2.800732)'), GeomFromEWKT('SRID=4674;POINT (-40.024684 -2.800727)'))) / (select extract(epoch from '2026-06-27 08:24:10'::timestamp) - extract(epoch from '2026-06-27 08:24:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024737 -2.800749)', '2026-06-27 08:24:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024684 -2.800727)'), GeomFromEWKT('SRID=4674;POINT (-40.024737 -2.800749)'))) / (select extract(epoch from '2026-06-27 08:24:18'::timestamp) - extract(epoch from '2026-06-27 08:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024684 -2.800727)'), GeomFromEWKT('SRID=4674;POINT (-40.024737 -2.800749)'))) / (select extract(epoch from '2026-06-27 08:24:18'::timestamp) - extract(epoch from '2026-06-27 08:24: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.024768 -2.800777)', '2026-06-27 08:24:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024737 -2.800749)'), GeomFromEWKT('SRID=4674;POINT (-40.024768 -2.800777)'))) / (select extract(epoch from '2026-06-27 08:24:26'::timestamp) - extract(epoch from '2026-06-27 08:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024737 -2.800749)'), GeomFromEWKT('SRID=4674;POINT (-40.024768 -2.800777)'))) / (select extract(epoch from '2026-06-27 08:24:26'::timestamp) - extract(epoch from '2026-06-27 08:24: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.024772 -2.800819)', '2026-06-27 08:24:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024768 -2.800777)'), GeomFromEWKT('SRID=4674;POINT (-40.024772 -2.800819)'))) / (select extract(epoch from '2026-06-27 08:24:34'::timestamp) - extract(epoch from '2026-06-27 08:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024768 -2.800777)'), GeomFromEWKT('SRID=4674;POINT (-40.024772 -2.800819)'))) / (select extract(epoch from '2026-06-27 08:24:34'::timestamp) - extract(epoch from '2026-06-27 08:24: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.024728 -2.800818)', '2026-06-27 08:24:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024772 -2.800819)'), GeomFromEWKT('SRID=4674;POINT (-40.024728 -2.800818)'))) / (select extract(epoch from '2026-06-27 08:24:41'::timestamp) - extract(epoch from '2026-06-27 08:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024772 -2.800819)'), GeomFromEWKT('SRID=4674;POINT (-40.024728 -2.800818)'))) / (select extract(epoch from '2026-06-27 08:24:41'::timestamp) - extract(epoch from '2026-06-27 08:24: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.024719 -2.800804)', '2026-06-27 08:24:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024728 -2.800818)'), GeomFromEWKT('SRID=4674;POINT (-40.024719 -2.800804)'))) / (select extract(epoch from '2026-06-27 08:24:43'::timestamp) - extract(epoch from '2026-06-27 08:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024728 -2.800818)'), GeomFromEWKT('SRID=4674;POINT (-40.024719 -2.800804)'))) / (select extract(epoch from '2026-06-27 08:24:43'::timestamp) - extract(epoch from '2026-06-27 08:24:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024717 -2.800781)', '2026-06-27 08:24:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024719 -2.800804)'), GeomFromEWKT('SRID=4674;POINT (-40.024717 -2.800781)'))) / (select extract(epoch from '2026-06-27 08:24:46'::timestamp) - extract(epoch from '2026-06-27 08:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024719 -2.800804)'), GeomFromEWKT('SRID=4674;POINT (-40.024717 -2.800781)'))) / (select extract(epoch from '2026-06-27 08:24:46'::timestamp) - extract(epoch from '2026-06-27 08:24: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.024725 -2.800751)', '2026-06-27 08:24:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024717 -2.800781)'), GeomFromEWKT('SRID=4674;POINT (-40.024725 -2.800751)'))) / (select extract(epoch from '2026-06-27 08:24:51'::timestamp) - extract(epoch from '2026-06-27 08:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024717 -2.800781)'), GeomFromEWKT('SRID=4674;POINT (-40.024725 -2.800751)'))) / (select extract(epoch from '2026-06-27 08:24:51'::timestamp) - extract(epoch from '2026-06-27 08:24: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.024735 -2.800733)', '2026-06-27 08:24:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024725 -2.800751)'), GeomFromEWKT('SRID=4674;POINT (-40.024735 -2.800733)'))) / (select extract(epoch from '2026-06-27 08:24:54'::timestamp) - extract(epoch from '2026-06-27 08:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024725 -2.800751)'), GeomFromEWKT('SRID=4674;POINT (-40.024735 -2.800733)'))) / (select extract(epoch from '2026-06-27 08:24:54'::timestamp) - extract(epoch from '2026-06-27 08:24: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.024744 -2.800712)', '2026-06-27 08:24:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024735 -2.800733)'), GeomFromEWKT('SRID=4674;POINT (-40.024744 -2.800712)'))) / (select extract(epoch from '2026-06-27 08:24:57'::timestamp) - extract(epoch from '2026-06-27 08:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024735 -2.800733)'), GeomFromEWKT('SRID=4674;POINT (-40.024744 -2.800712)'))) / (select extract(epoch from '2026-06-27 08:24:57'::timestamp) - extract(epoch from '2026-06-27 08:24:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024753 -2.800674)', '2026-06-27 08:25:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024744 -2.800712)'), GeomFromEWKT('SRID=4674;POINT (-40.024753 -2.800674)'))) / (select extract(epoch from '2026-06-27 08:25:01'::timestamp) - extract(epoch from '2026-06-27 08:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024744 -2.800712)'), GeomFromEWKT('SRID=4674;POINT (-40.024753 -2.800674)'))) / (select extract(epoch from '2026-06-27 08:25:01'::timestamp) - extract(epoch from '2026-06-27 08:24:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024756 -2.800639)', '2026-06-27 08:25:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024753 -2.800674)'), GeomFromEWKT('SRID=4674;POINT (-40.024756 -2.800639)'))) / (select extract(epoch from '2026-06-27 08:25:04'::timestamp) - extract(epoch from '2026-06-27 08:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024753 -2.800674)'), GeomFromEWKT('SRID=4674;POINT (-40.024756 -2.800639)'))) / (select extract(epoch from '2026-06-27 08:25:04'::timestamp) - extract(epoch from '2026-06-27 08:25: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.024757 -2.800627)', '2026-06-27 08:25:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024756 -2.800639)'), GeomFromEWKT('SRID=4674;POINT (-40.024757 -2.800627)'))) / (select extract(epoch from '2026-06-27 08:25:05'::timestamp) - extract(epoch from '2026-06-27 08:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024756 -2.800639)'), GeomFromEWKT('SRID=4674;POINT (-40.024757 -2.800627)'))) / (select extract(epoch from '2026-06-27 08:25:05'::timestamp) - extract(epoch from '2026-06-27 08:25: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.024748 -2.800597)', '2026-06-27 08:25:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024757 -2.800627)'), GeomFromEWKT('SRID=4674;POINT (-40.024748 -2.800597)'))) / (select extract(epoch from '2026-06-27 08:25:08'::timestamp) - extract(epoch from '2026-06-27 08:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024757 -2.800627)'), GeomFromEWKT('SRID=4674;POINT (-40.024748 -2.800597)'))) / (select extract(epoch from '2026-06-27 08:25:08'::timestamp) - extract(epoch from '2026-06-27 08:25: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.024713 -2.800547)', '2026-06-27 08:25:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024748 -2.800597)'), GeomFromEWKT('SRID=4674;POINT (-40.024713 -2.800547)'))) / (select extract(epoch from '2026-06-27 08:25:14'::timestamp) - extract(epoch from '2026-06-27 08:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024748 -2.800597)'), GeomFromEWKT('SRID=4674;POINT (-40.024713 -2.800547)'))) / (select extract(epoch from '2026-06-27 08:25:14'::timestamp) - extract(epoch from '2026-06-27 08:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024658 -2.800479)', '2026-06-27 08:25:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024713 -2.800547)'), GeomFromEWKT('SRID=4674;POINT (-40.024658 -2.800479)'))) / (select extract(epoch from '2026-06-27 08:25:21'::timestamp) - extract(epoch from '2026-06-27 08:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024713 -2.800547)'), GeomFromEWKT('SRID=4674;POINT (-40.024658 -2.800479)'))) / (select extract(epoch from '2026-06-27 08:25:21'::timestamp) - extract(epoch from '2026-06-27 08:25:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024638 -2.800404)', '2026-06-27 08:25:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024658 -2.800479)'), GeomFromEWKT('SRID=4674;POINT (-40.024638 -2.800404)'))) / (select extract(epoch from '2026-06-27 08:25:26'::timestamp) - extract(epoch from '2026-06-27 08:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024658 -2.800479)'), GeomFromEWKT('SRID=4674;POINT (-40.024638 -2.800404)'))) / (select extract(epoch from '2026-06-27 08:25:26'::timestamp) - extract(epoch from '2026-06-27 08:25: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.024583 -2.800243)', '2026-06-27 08:25:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024638 -2.800404)'), GeomFromEWKT('SRID=4674;POINT (-40.024583 -2.800243)'))) / (select extract(epoch from '2026-06-27 08:25:36'::timestamp) - extract(epoch from '2026-06-27 08:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024638 -2.800404)'), GeomFromEWKT('SRID=4674;POINT (-40.024583 -2.800243)'))) / (select extract(epoch from '2026-06-27 08:25:36'::timestamp) - extract(epoch from '2026-06-27 08:25: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.024475 -2.800059)', '2026-06-27 08:25:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024583 -2.800243)'), GeomFromEWKT('SRID=4674;POINT (-40.024475 -2.800059)'))) / (select extract(epoch from '2026-06-27 08:25:47'::timestamp) - extract(epoch from '2026-06-27 08:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024583 -2.800243)'), GeomFromEWKT('SRID=4674;POINT (-40.024475 -2.800059)'))) / (select extract(epoch from '2026-06-27 08:25:47'::timestamp) - extract(epoch from '2026-06-27 08:25: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.024396 -2.799917)', '2026-06-27 08:25:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024475 -2.800059)'), GeomFromEWKT('SRID=4674;POINT (-40.024396 -2.799917)'))) / (select extract(epoch from '2026-06-27 08:25:55'::timestamp) - extract(epoch from '2026-06-27 08:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024475 -2.800059)'), GeomFromEWKT('SRID=4674;POINT (-40.024396 -2.799917)'))) / (select extract(epoch from '2026-06-27 08:25:55'::timestamp) - extract(epoch from '2026-06-27 08:25: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.024334 -2.799717)', '2026-06-27 08:26:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024396 -2.799917)'), GeomFromEWKT('SRID=4674;POINT (-40.024334 -2.799717)'))) / (select extract(epoch from '2026-06-27 08:26:05'::timestamp) - extract(epoch from '2026-06-27 08:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024396 -2.799917)'), GeomFromEWKT('SRID=4674;POINT (-40.024334 -2.799717)'))) / (select extract(epoch from '2026-06-27 08:26:05'::timestamp) - extract(epoch from '2026-06-27 08:25: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.024288 -2.79956)', '2026-06-27 08:26:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024334 -2.799717)'), GeomFromEWKT('SRID=4674;POINT (-40.024288 -2.79956)'))) / (select extract(epoch from '2026-06-27 08:26:13'::timestamp) - extract(epoch from '2026-06-27 08:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024334 -2.799717)'), GeomFromEWKT('SRID=4674;POINT (-40.024288 -2.79956)'))) / (select extract(epoch from '2026-06-27 08:26:13'::timestamp) - extract(epoch from '2026-06-27 08:26: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.024247 -2.799475)', '2026-06-27 08:26:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024288 -2.79956)'), GeomFromEWKT('SRID=4674;POINT (-40.024247 -2.799475)'))) / (select extract(epoch from '2026-06-27 08:26:18'::timestamp) - extract(epoch from '2026-06-27 08:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024288 -2.79956)'), GeomFromEWKT('SRID=4674;POINT (-40.024247 -2.799475)'))) / (select extract(epoch from '2026-06-27 08:26:18'::timestamp) - extract(epoch from '2026-06-27 08:26: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.024239 -2.799459)', '2026-06-27 08:26:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024247 -2.799475)'), GeomFromEWKT('SRID=4674;POINT (-40.024239 -2.799459)'))) / (select extract(epoch from '2026-06-27 08:26:19'::timestamp) - extract(epoch from '2026-06-27 08:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024247 -2.799475)'), GeomFromEWKT('SRID=4674;POINT (-40.024239 -2.799459)'))) / (select extract(epoch from '2026-06-27 08:26:19'::timestamp) - extract(epoch from '2026-06-27 08:26: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.024188 -2.799373)', '2026-06-27 08:26:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024239 -2.799459)'), GeomFromEWKT('SRID=4674;POINT (-40.024188 -2.799373)'))) / (select extract(epoch from '2026-06-27 08:26:25'::timestamp) - extract(epoch from '2026-06-27 08:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024239 -2.799459)'), GeomFromEWKT('SRID=4674;POINT (-40.024188 -2.799373)'))) / (select extract(epoch from '2026-06-27 08:26:25'::timestamp) - extract(epoch from '2026-06-27 08:26: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.024159 -2.799317)', '2026-06-27 08:26:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024188 -2.799373)'), GeomFromEWKT('SRID=4674;POINT (-40.024159 -2.799317)'))) / (select extract(epoch from '2026-06-27 08:26:29'::timestamp) - extract(epoch from '2026-06-27 08:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024188 -2.799373)'), GeomFromEWKT('SRID=4674;POINT (-40.024159 -2.799317)'))) / (select extract(epoch from '2026-06-27 08:26:29'::timestamp) - extract(epoch from '2026-06-27 08:26: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.024149 -2.799288)', '2026-06-27 08:26:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024159 -2.799317)'), GeomFromEWKT('SRID=4674;POINT (-40.024149 -2.799288)'))) / (select extract(epoch from '2026-06-27 08:26:31'::timestamp) - extract(epoch from '2026-06-27 08:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024159 -2.799317)'), GeomFromEWKT('SRID=4674;POINT (-40.024149 -2.799288)'))) / (select extract(epoch from '2026-06-27 08:26:31'::timestamp) - extract(epoch from '2026-06-27 08:26:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024127 -2.799219)', '2026-06-27 08:26:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024149 -2.799288)'), GeomFromEWKT('SRID=4674;POINT (-40.024127 -2.799219)'))) / (select extract(epoch from '2026-06-27 08:26:36'::timestamp) - extract(epoch from '2026-06-27 08:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024149 -2.799288)'), GeomFromEWKT('SRID=4674;POINT (-40.024127 -2.799219)'))) / (select extract(epoch from '2026-06-27 08:26:36'::timestamp) - extract(epoch from '2026-06-27 08:26: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.024126 -2.799207)', '2026-06-27 08:26:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024127 -2.799219)'), GeomFromEWKT('SRID=4674;POINT (-40.024126 -2.799207)'))) / (select extract(epoch from '2026-06-27 08:26:37'::timestamp) - extract(epoch from '2026-06-27 08:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024127 -2.799219)'), GeomFromEWKT('SRID=4674;POINT (-40.024126 -2.799207)'))) / (select extract(epoch from '2026-06-27 08:26:37'::timestamp) - extract(epoch from '2026-06-27 08:26: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.024077 -2.799098)', '2026-06-27 08:26:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024126 -2.799207)'), GeomFromEWKT('SRID=4674;POINT (-40.024077 -2.799098)'))) / (select extract(epoch from '2026-06-27 08:26:45'::timestamp) - extract(epoch from '2026-06-27 08:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024126 -2.799207)'), GeomFromEWKT('SRID=4674;POINT (-40.024077 -2.799098)'))) / (select extract(epoch from '2026-06-27 08:26:45'::timestamp) - extract(epoch from '2026-06-27 08:26:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024007 -2.799039)', '2026-06-27 08:26:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024077 -2.799098)'), GeomFromEWKT('SRID=4674;POINT (-40.024007 -2.799039)'))) / (select extract(epoch from '2026-06-27 08:26:52'::timestamp) - extract(epoch from '2026-06-27 08:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024077 -2.799098)'), GeomFromEWKT('SRID=4674;POINT (-40.024007 -2.799039)'))) / (select extract(epoch from '2026-06-27 08:26:52'::timestamp) - extract(epoch from '2026-06-27 08:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024005 -2.798963)', '2026-06-27 08:26:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024007 -2.799039)'), GeomFromEWKT('SRID=4674;POINT (-40.024005 -2.798963)'))) / (select extract(epoch from '2026-06-27 08:26:58'::timestamp) - extract(epoch from '2026-06-27 08:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024007 -2.799039)'), GeomFromEWKT('SRID=4674;POINT (-40.024005 -2.798963)'))) / (select extract(epoch from '2026-06-27 08:26:58'::timestamp) - extract(epoch from '2026-06-27 08:26:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024039 -2.798916)', '2026-06-27 08:27:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024005 -2.798963)'), GeomFromEWKT('SRID=4674;POINT (-40.024039 -2.798916)'))) / (select extract(epoch from '2026-06-27 08:27:02'::timestamp) - extract(epoch from '2026-06-27 08:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024005 -2.798963)'), GeomFromEWKT('SRID=4674;POINT (-40.024039 -2.798916)'))) / (select extract(epoch from '2026-06-27 08:27:02'::timestamp) - extract(epoch from '2026-06-27 08:26: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.024081 -2.798907)', '2026-06-27 08:27:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024039 -2.798916)'), GeomFromEWKT('SRID=4674;POINT (-40.024081 -2.798907)'))) / (select extract(epoch from '2026-06-27 08:27:06'::timestamp) - extract(epoch from '2026-06-27 08:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024039 -2.798916)'), GeomFromEWKT('SRID=4674;POINT (-40.024081 -2.798907)'))) / (select extract(epoch from '2026-06-27 08:27:06'::timestamp) - extract(epoch from '2026-06-27 08:27:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024101 -2.798907)', '2026-06-27 08:27:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024081 -2.798907)'), GeomFromEWKT('SRID=4674;POINT (-40.024101 -2.798907)'))) / (select extract(epoch from '2026-06-27 08:27:08'::timestamp) - extract(epoch from '2026-06-27 08:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024081 -2.798907)'), GeomFromEWKT('SRID=4674;POINT (-40.024101 -2.798907)'))) / (select extract(epoch from '2026-06-27 08:27:08'::timestamp) - extract(epoch from '2026-06-27 08:27: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.024172 -2.7989)', '2026-06-27 08:27:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024101 -2.798907)'), GeomFromEWKT('SRID=4674;POINT (-40.024172 -2.7989)'))) / (select extract(epoch from '2026-06-27 08:27:15'::timestamp) - extract(epoch from '2026-06-27 08:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024101 -2.798907)'), GeomFromEWKT('SRID=4674;POINT (-40.024172 -2.7989)'))) / (select extract(epoch from '2026-06-27 08:27:15'::timestamp) - extract(epoch from '2026-06-27 08:27: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.024217 -2.79888)', '2026-06-27 08:27:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024172 -2.7989)'), GeomFromEWKT('SRID=4674;POINT (-40.024217 -2.79888)'))) / (select extract(epoch from '2026-06-27 08:27:19'::timestamp) - extract(epoch from '2026-06-27 08:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024172 -2.7989)'), GeomFromEWKT('SRID=4674;POINT (-40.024217 -2.79888)'))) / (select extract(epoch from '2026-06-27 08:27:19'::timestamp) - extract(epoch from '2026-06-27 08:27: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.024236 -2.79885)', '2026-06-27 08:27:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024217 -2.79888)'), GeomFromEWKT('SRID=4674;POINT (-40.024236 -2.79885)'))) / (select extract(epoch from '2026-06-27 08:27:22'::timestamp) - extract(epoch from '2026-06-27 08:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024217 -2.79888)'), GeomFromEWKT('SRID=4674;POINT (-40.024236 -2.79885)'))) / (select extract(epoch from '2026-06-27 08:27:22'::timestamp) - extract(epoch from '2026-06-27 08:27: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.024246 -2.798826)', '2026-06-27 08:27:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024236 -2.79885)'), GeomFromEWKT('SRID=4674;POINT (-40.024246 -2.798826)'))) / (select extract(epoch from '2026-06-27 08:27:24'::timestamp) - extract(epoch from '2026-06-27 08:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024236 -2.79885)'), GeomFromEWKT('SRID=4674;POINT (-40.024246 -2.798826)'))) / (select extract(epoch from '2026-06-27 08:27:24'::timestamp) - extract(epoch from '2026-06-27 08:27: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.024249 -2.798803)', '2026-06-27 08:27:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024246 -2.798826)'), GeomFromEWKT('SRID=4674;POINT (-40.024249 -2.798803)'))) / (select extract(epoch from '2026-06-27 08:27:26'::timestamp) - extract(epoch from '2026-06-27 08:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024246 -2.798826)'), GeomFromEWKT('SRID=4674;POINT (-40.024249 -2.798803)'))) / (select extract(epoch from '2026-06-27 08:27:26'::timestamp) - extract(epoch from '2026-06-27 08:27: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.024251 -2.798781)', '2026-06-27 08:27:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024249 -2.798803)'), GeomFromEWKT('SRID=4674;POINT (-40.024251 -2.798781)'))) / (select extract(epoch from '2026-06-27 08:27:28'::timestamp) - extract(epoch from '2026-06-27 08:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024249 -2.798803)'), GeomFromEWKT('SRID=4674;POINT (-40.024251 -2.798781)'))) / (select extract(epoch from '2026-06-27 08:27:28'::timestamp) - extract(epoch from '2026-06-27 08:27:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.024244 -2.798752)', '2026-06-27 08:27:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024251 -2.798781)'), GeomFromEWKT('SRID=4674;POINT (-40.024244 -2.798752)'))) / (select extract(epoch from '2026-06-27 08:27:31'::timestamp) - extract(epoch from '2026-06-27 08:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024251 -2.798781)'), GeomFromEWKT('SRID=4674;POINT (-40.024244 -2.798752)'))) / (select extract(epoch from '2026-06-27 08:27:31'::timestamp) - extract(epoch from '2026-06-27 08:27: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.024235 -2.798746)', '2026-06-27 08:27:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024244 -2.798752)'), GeomFromEWKT('SRID=4674;POINT (-40.024235 -2.798746)'))) / (select extract(epoch from '2026-06-27 08:27:32'::timestamp) - extract(epoch from '2026-06-27 08:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024244 -2.798752)'), GeomFromEWKT('SRID=4674;POINT (-40.024235 -2.798746)'))) / (select extract(epoch from '2026-06-27 08:27:32'::timestamp) - extract(epoch from '2026-06-27 08:27: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.024221 -2.798733)', '2026-06-27 08:27:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024235 -2.798746)'), GeomFromEWKT('SRID=4674;POINT (-40.024221 -2.798733)'))) / (select extract(epoch from '2026-06-27 08:27:34'::timestamp) - extract(epoch from '2026-06-27 08:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024235 -2.798746)'), GeomFromEWKT('SRID=4674;POINT (-40.024221 -2.798733)'))) / (select extract(epoch from '2026-06-27 08:27:34'::timestamp) - extract(epoch from '2026-06-27 08:27: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.024207 -2.798721)', '2026-06-27 08:27:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024221 -2.798733)'), GeomFromEWKT('SRID=4674;POINT (-40.024207 -2.798721)'))) / (select extract(epoch from '2026-06-27 08:27:36'::timestamp) - extract(epoch from '2026-06-27 08:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024221 -2.798733)'), GeomFromEWKT('SRID=4674;POINT (-40.024207 -2.798721)'))) / (select extract(epoch from '2026-06-27 08:27:36'::timestamp) - extract(epoch from '2026-06-27 08:27: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.024184 -2.798698)', '2026-06-27 08:27:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024207 -2.798721)'), GeomFromEWKT('SRID=4674;POINT (-40.024184 -2.798698)'))) / (select extract(epoch from '2026-06-27 08:27:39'::timestamp) - extract(epoch from '2026-06-27 08:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024207 -2.798721)'), GeomFromEWKT('SRID=4674;POINT (-40.024184 -2.798698)'))) / (select extract(epoch from '2026-06-27 08:27:39'::timestamp) - extract(epoch from '2026-06-27 08:27: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.02417 -2.798684)', '2026-06-27 08:27:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024184 -2.798698)'), GeomFromEWKT('SRID=4674;POINT (-40.02417 -2.798684)'))) / (select extract(epoch from '2026-06-27 08:27:41'::timestamp) - extract(epoch from '2026-06-27 08:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024184 -2.798698)'), GeomFromEWKT('SRID=4674;POINT (-40.02417 -2.798684)'))) / (select extract(epoch from '2026-06-27 08:27:41'::timestamp) - extract(epoch from '2026-06-27 08:27: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.024113 -2.798663)', '2026-06-27 08:27:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02417 -2.798684)'), GeomFromEWKT('SRID=4674;POINT (-40.024113 -2.798663)'))) / (select extract(epoch from '2026-06-27 08:27:51'::timestamp) - extract(epoch from '2026-06-27 08:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02417 -2.798684)'), GeomFromEWKT('SRID=4674;POINT (-40.024113 -2.798663)'))) / (select extract(epoch from '2026-06-27 08:27:51'::timestamp) - extract(epoch from '2026-06-27 08:27: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.024073 -2.798657)', '2026-06-27 08:28:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024113 -2.798663)'), GeomFromEWKT('SRID=4674;POINT (-40.024073 -2.798657)'))) / (select extract(epoch from '2026-06-27 08:28:01'::timestamp) - extract(epoch from '2026-06-27 08:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024113 -2.798663)'), GeomFromEWKT('SRID=4674;POINT (-40.024073 -2.798657)'))) / (select extract(epoch from '2026-06-27 08:28:01'::timestamp) - extract(epoch from '2026-06-27 08:27: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.023993 -2.798636)', '2026-06-27 08:28:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024073 -2.798657)'), GeomFromEWKT('SRID=4674;POINT (-40.023993 -2.798636)'))) / (select extract(epoch from '2026-06-27 08:28:10'::timestamp) - extract(epoch from '2026-06-27 08:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024073 -2.798657)'), GeomFromEWKT('SRID=4674;POINT (-40.023993 -2.798636)'))) / (select extract(epoch from '2026-06-27 08:28:10'::timestamp) - extract(epoch from '2026-06-27 08:28: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.023917 -2.798558)', '2026-06-27 08:28:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023993 -2.798636)'), GeomFromEWKT('SRID=4674;POINT (-40.023917 -2.798558)'))) / (select extract(epoch from '2026-06-27 08:28:17'::timestamp) - extract(epoch from '2026-06-27 08:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023993 -2.798636)'), GeomFromEWKT('SRID=4674;POINT (-40.023917 -2.798558)'))) / (select extract(epoch from '2026-06-27 08:28:17'::timestamp) - extract(epoch from '2026-06-27 08:28: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.023881 -2.798449)', '2026-06-27 08:28:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023917 -2.798558)'), GeomFromEWKT('SRID=4674;POINT (-40.023881 -2.798449)'))) / (select extract(epoch from '2026-06-27 08:28:23'::timestamp) - extract(epoch from '2026-06-27 08:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023917 -2.798558)'), GeomFromEWKT('SRID=4674;POINT (-40.023881 -2.798449)'))) / (select extract(epoch from '2026-06-27 08:28:23'::timestamp) - extract(epoch from '2026-06-27 08:28: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.023861 -2.798301)', '2026-06-27 08:28:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023881 -2.798449)'), GeomFromEWKT('SRID=4674;POINT (-40.023861 -2.798301)'))) / (select extract(epoch from '2026-06-27 08:28:30'::timestamp) - extract(epoch from '2026-06-27 08:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023881 -2.798449)'), GeomFromEWKT('SRID=4674;POINT (-40.023861 -2.798301)'))) / (select extract(epoch from '2026-06-27 08:28:30'::timestamp) - extract(epoch from '2026-06-27 08:28: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.023825 -2.798127)', '2026-06-27 08:28:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023861 -2.798301)'), GeomFromEWKT('SRID=4674;POINT (-40.023825 -2.798127)'))) / (select extract(epoch from '2026-06-27 08:28:39'::timestamp) - extract(epoch from '2026-06-27 08:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023861 -2.798301)'), GeomFromEWKT('SRID=4674;POINT (-40.023825 -2.798127)'))) / (select extract(epoch from '2026-06-27 08:28:39'::timestamp) - extract(epoch from '2026-06-27 08:28:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.0238 -2.797994)', '2026-06-27 08:28:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023825 -2.798127)'), GeomFromEWKT('SRID=4674;POINT (-40.0238 -2.797994)'))) / (select extract(epoch from '2026-06-27 08:28:46'::timestamp) - extract(epoch from '2026-06-27 08:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023825 -2.798127)'), GeomFromEWKT('SRID=4674;POINT (-40.0238 -2.797994)'))) / (select extract(epoch from '2026-06-27 08:28:46'::timestamp) - extract(epoch from '2026-06-27 08:28: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.02381 -2.797892)', '2026-06-27 08:28:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0238 -2.797994)'), GeomFromEWKT('SRID=4674;POINT (-40.02381 -2.797892)'))) / (select extract(epoch from '2026-06-27 08:28:53'::timestamp) - extract(epoch from '2026-06-27 08:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0238 -2.797994)'), GeomFromEWKT('SRID=4674;POINT (-40.02381 -2.797892)'))) / (select extract(epoch from '2026-06-27 08:28:53'::timestamp) - extract(epoch from '2026-06-27 08:28: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.023878 -2.797783)', '2026-06-27 08:29:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02381 -2.797892)'), GeomFromEWKT('SRID=4674;POINT (-40.023878 -2.797783)'))) / (select extract(epoch from '2026-06-27 08:29:03'::timestamp) - extract(epoch from '2026-06-27 08:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02381 -2.797892)'), GeomFromEWKT('SRID=4674;POINT (-40.023878 -2.797783)'))) / (select extract(epoch from '2026-06-27 08:29:03'::timestamp) - extract(epoch from '2026-06-27 08:28: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.023936 -2.797789)', '2026-06-27 08:29:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023878 -2.797783)'), GeomFromEWKT('SRID=4674;POINT (-40.023936 -2.797789)'))) / (select extract(epoch from '2026-06-27 08:29:09'::timestamp) - extract(epoch from '2026-06-27 08:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023878 -2.797783)'), GeomFromEWKT('SRID=4674;POINT (-40.023936 -2.797789)'))) / (select extract(epoch from '2026-06-27 08:29:09'::timestamp) - extract(epoch from '2026-06-27 08:29: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.023954 -2.797802)', '2026-06-27 08:29:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023936 -2.797789)'), GeomFromEWKT('SRID=4674;POINT (-40.023954 -2.797802)'))) / (select extract(epoch from '2026-06-27 08:29:11'::timestamp) - extract(epoch from '2026-06-27 08:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023936 -2.797789)'), GeomFromEWKT('SRID=4674;POINT (-40.023954 -2.797802)'))) / (select extract(epoch from '2026-06-27 08:29:11'::timestamp) - extract(epoch from '2026-06-27 08:29: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.023967 -2.797825)', '2026-06-27 08:29:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023954 -2.797802)'), GeomFromEWKT('SRID=4674;POINT (-40.023967 -2.797825)'))) / (select extract(epoch from '2026-06-27 08:29:14'::timestamp) - extract(epoch from '2026-06-27 08:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023954 -2.797802)'), GeomFromEWKT('SRID=4674;POINT (-40.023967 -2.797825)'))) / (select extract(epoch from '2026-06-27 08:29:14'::timestamp) - extract(epoch from '2026-06-27 08:29: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.023963 -2.797861)', '2026-06-27 08:29:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023967 -2.797825)'), GeomFromEWKT('SRID=4674;POINT (-40.023963 -2.797861)'))) / (select extract(epoch from '2026-06-27 08:29:23'::timestamp) - extract(epoch from '2026-06-27 08:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023967 -2.797825)'), GeomFromEWKT('SRID=4674;POINT (-40.023963 -2.797861)'))) / (select extract(epoch from '2026-06-27 08:29:23'::timestamp) - extract(epoch from '2026-06-27 08:29: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.023946 -2.797863)', '2026-06-27 08:29:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023963 -2.797861)'), GeomFromEWKT('SRID=4674;POINT (-40.023946 -2.797863)'))) / (select extract(epoch from '2026-06-27 08:29:29'::timestamp) - extract(epoch from '2026-06-27 08:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023963 -2.797861)'), GeomFromEWKT('SRID=4674;POINT (-40.023946 -2.797863)'))) / (select extract(epoch from '2026-06-27 08:29:29'::timestamp) - extract(epoch from '2026-06-27 08:29: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.023926 -2.797799)', '2026-06-27 08:29:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023946 -2.797863)'), GeomFromEWKT('SRID=4674;POINT (-40.023926 -2.797799)'))) / (select extract(epoch from '2026-06-27 08:29:38'::timestamp) - extract(epoch from '2026-06-27 08:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023946 -2.797863)'), GeomFromEWKT('SRID=4674;POINT (-40.023926 -2.797799)'))) / (select extract(epoch from '2026-06-27 08:29:38'::timestamp) - extract(epoch from '2026-06-27 08:29: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.023953 -2.797705)', '2026-06-27 08:29:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023926 -2.797799)'), GeomFromEWKT('SRID=4674;POINT (-40.023953 -2.797705)'))) / (select extract(epoch from '2026-06-27 08:29:45'::timestamp) - extract(epoch from '2026-06-27 08:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023926 -2.797799)'), GeomFromEWKT('SRID=4674;POINT (-40.023953 -2.797705)'))) / (select extract(epoch from '2026-06-27 08:29:45'::timestamp) - extract(epoch from '2026-06-27 08:29: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.023965 -2.797557)', '2026-06-27 08:29:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023953 -2.797705)'), GeomFromEWKT('SRID=4674;POINT (-40.023965 -2.797557)'))) / (select extract(epoch from '2026-06-27 08:29:53'::timestamp) - extract(epoch from '2026-06-27 08:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023953 -2.797705)'), GeomFromEWKT('SRID=4674;POINT (-40.023965 -2.797557)'))) / (select extract(epoch from '2026-06-27 08:29:53'::timestamp) - extract(epoch from '2026-06-27 08:29: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.023907 -2.797415)', '2026-06-27 08:30:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023965 -2.797557)'), GeomFromEWKT('SRID=4674;POINT (-40.023907 -2.797415)'))) / (select extract(epoch from '2026-06-27 08:30:01'::timestamp) - extract(epoch from '2026-06-27 08:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023965 -2.797557)'), GeomFromEWKT('SRID=4674;POINT (-40.023907 -2.797415)'))) / (select extract(epoch from '2026-06-27 08:30:01'::timestamp) - extract(epoch from '2026-06-27 08:29: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.023842 -2.797273)', '2026-06-27 08:30:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023907 -2.797415)'), GeomFromEWKT('SRID=4674;POINT (-40.023842 -2.797273)'))) / (select extract(epoch from '2026-06-27 08:30:09'::timestamp) - extract(epoch from '2026-06-27 08:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023907 -2.797415)'), GeomFromEWKT('SRID=4674;POINT (-40.023842 -2.797273)'))) / (select extract(epoch from '2026-06-27 08:30:09'::timestamp) - extract(epoch from '2026-06-27 08:30: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.023796 -2.797141)', '2026-06-27 08:30:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023842 -2.797273)'), GeomFromEWKT('SRID=4674;POINT (-40.023796 -2.797141)'))) / (select extract(epoch from '2026-06-27 08:30:16'::timestamp) - extract(epoch from '2026-06-27 08:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023842 -2.797273)'), GeomFromEWKT('SRID=4674;POINT (-40.023796 -2.797141)'))) / (select extract(epoch from '2026-06-27 08:30:16'::timestamp) - extract(epoch from '2026-06-27 08:30: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.023752 -2.796987)', '2026-06-27 08:30:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023796 -2.797141)'), GeomFromEWKT('SRID=4674;POINT (-40.023752 -2.796987)'))) / (select extract(epoch from '2026-06-27 08:30:24'::timestamp) - extract(epoch from '2026-06-27 08:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023796 -2.797141)'), GeomFromEWKT('SRID=4674;POINT (-40.023752 -2.796987)'))) / (select extract(epoch from '2026-06-27 08:30:24'::timestamp) - extract(epoch from '2026-06-27 08:30:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.023658 -2.79689)', '2026-06-27 08:30:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023752 -2.796987)'), GeomFromEWKT('SRID=4674;POINT (-40.023658 -2.79689)'))) / (select extract(epoch from '2026-06-27 08:30:32'::timestamp) - extract(epoch from '2026-06-27 08:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023752 -2.796987)'), GeomFromEWKT('SRID=4674;POINT (-40.023658 -2.79689)'))) / (select extract(epoch from '2026-06-27 08:30:32'::timestamp) - extract(epoch from '2026-06-27 08:30: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.023549 -2.796853)', '2026-06-27 08:30:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023658 -2.79689)'), GeomFromEWKT('SRID=4674;POINT (-40.023549 -2.796853)'))) / (select extract(epoch from '2026-06-27 08:30:40'::timestamp) - extract(epoch from '2026-06-27 08:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023658 -2.79689)'), GeomFromEWKT('SRID=4674;POINT (-40.023549 -2.796853)'))) / (select extract(epoch from '2026-06-27 08:30:40'::timestamp) - extract(epoch from '2026-06-27 08:30: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.023474 -2.796797)', '2026-06-27 08:30:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023549 -2.796853)'), GeomFromEWKT('SRID=4674;POINT (-40.023474 -2.796797)'))) / (select extract(epoch from '2026-06-27 08:30:48'::timestamp) - extract(epoch from '2026-06-27 08:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023549 -2.796853)'), GeomFromEWKT('SRID=4674;POINT (-40.023474 -2.796797)'))) / (select extract(epoch from '2026-06-27 08:30:48'::timestamp) - extract(epoch from '2026-06-27 08:30: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.023421 -2.796759)', '2026-06-27 08:30:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023474 -2.796797)'), GeomFromEWKT('SRID=4674;POINT (-40.023421 -2.796759)'))) / (select extract(epoch from '2026-06-27 08:30:58'::timestamp) - extract(epoch from '2026-06-27 08:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023474 -2.796797)'), GeomFromEWKT('SRID=4674;POINT (-40.023421 -2.796759)'))) / (select extract(epoch from '2026-06-27 08:30:58'::timestamp) - extract(epoch from '2026-06-27 08:30: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.023406 -2.79675)', '2026-06-27 08:31:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023421 -2.796759)'), GeomFromEWKT('SRID=4674;POINT (-40.023406 -2.79675)'))) / (select extract(epoch from '2026-06-27 08:31:03'::timestamp) - extract(epoch from '2026-06-27 08:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023421 -2.796759)'), GeomFromEWKT('SRID=4674;POINT (-40.023406 -2.79675)'))) / (select extract(epoch from '2026-06-27 08:31:03'::timestamp) - extract(epoch from '2026-06-27 08:30: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.023367 -2.796775)', '2026-06-27 08:31:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023406 -2.79675)'), GeomFromEWKT('SRID=4674;POINT (-40.023367 -2.796775)'))) / (select extract(epoch from '2026-06-27 08:31:18'::timestamp) - extract(epoch from '2026-06-27 08:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023406 -2.79675)'), GeomFromEWKT('SRID=4674;POINT (-40.023367 -2.796775)'))) / (select extract(epoch from '2026-06-27 08:31:18'::timestamp) - extract(epoch from '2026-06-27 08:31: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.023339 -2.796761)', '2026-06-27 08:31:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023367 -2.796775)'), GeomFromEWKT('SRID=4674;POINT (-40.023339 -2.796761)'))) / (select extract(epoch from '2026-06-27 08:31:33'::timestamp) - extract(epoch from '2026-06-27 08:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023367 -2.796775)'), GeomFromEWKT('SRID=4674;POINT (-40.023339 -2.796761)'))) / (select extract(epoch from '2026-06-27 08:31:33'::timestamp) - extract(epoch from '2026-06-27 08:31: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.023346 -2.796696)', '2026-06-27 08:31:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023339 -2.796761)'), GeomFromEWKT('SRID=4674;POINT (-40.023346 -2.796696)'))) / (select extract(epoch from '2026-06-27 08:31:46'::timestamp) - extract(epoch from '2026-06-27 08:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023339 -2.796761)'), GeomFromEWKT('SRID=4674;POINT (-40.023346 -2.796696)'))) / (select extract(epoch from '2026-06-27 08:31:46'::timestamp) - extract(epoch from '2026-06-27 08:31: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.02339 -2.796666)', '2026-06-27 08:31:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023346 -2.796696)'), GeomFromEWKT('SRID=4674;POINT (-40.02339 -2.796666)'))) / (select extract(epoch from '2026-06-27 08:31:57'::timestamp) - extract(epoch from '2026-06-27 08:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023346 -2.796696)'), GeomFromEWKT('SRID=4674;POINT (-40.02339 -2.796666)'))) / (select extract(epoch from '2026-06-27 08:31:57'::timestamp) - extract(epoch from '2026-06-27 08:31: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.023442 -2.796635)', '2026-06-27 08:32:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02339 -2.796666)'), GeomFromEWKT('SRID=4674;POINT (-40.023442 -2.796635)'))) / (select extract(epoch from '2026-06-27 08:32:05'::timestamp) - extract(epoch from '2026-06-27 08:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02339 -2.796666)'), GeomFromEWKT('SRID=4674;POINT (-40.023442 -2.796635)'))) / (select extract(epoch from '2026-06-27 08:32:05'::timestamp) - extract(epoch from '2026-06-27 08:31: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.023518 -2.796572)', '2026-06-27 08:32:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023442 -2.796635)'), GeomFromEWKT('SRID=4674;POINT (-40.023518 -2.796572)'))) / (select extract(epoch from '2026-06-27 08:32:13'::timestamp) - extract(epoch from '2026-06-27 08:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023442 -2.796635)'), GeomFromEWKT('SRID=4674;POINT (-40.023518 -2.796572)'))) / (select extract(epoch from '2026-06-27 08:32:13'::timestamp) - extract(epoch from '2026-06-27 08:32: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.023563 -2.796485)', '2026-06-27 08:32:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023518 -2.796572)'), GeomFromEWKT('SRID=4674;POINT (-40.023563 -2.796485)'))) / (select extract(epoch from '2026-06-27 08:32:19'::timestamp) - extract(epoch from '2026-06-27 08:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023518 -2.796572)'), GeomFromEWKT('SRID=4674;POINT (-40.023563 -2.796485)'))) / (select extract(epoch from '2026-06-27 08:32:19'::timestamp) - extract(epoch from '2026-06-27 08:32: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.02356 -2.796438)', '2026-06-27 08:32:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023563 -2.796485)'), GeomFromEWKT('SRID=4674;POINT (-40.02356 -2.796438)'))) / (select extract(epoch from '2026-06-27 08:32:22'::timestamp) - extract(epoch from '2026-06-27 08:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023563 -2.796485)'), GeomFromEWKT('SRID=4674;POINT (-40.02356 -2.796438)'))) / (select extract(epoch from '2026-06-27 08:32:22'::timestamp) - extract(epoch from '2026-06-27 08:32:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.02355 -2.796417)', '2026-06-27 08:32:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02356 -2.796438)'), GeomFromEWKT('SRID=4674;POINT (-40.02355 -2.796417)'))) / (select extract(epoch from '2026-06-27 08:32:24'::timestamp) - extract(epoch from '2026-06-27 08:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02356 -2.796438)'), GeomFromEWKT('SRID=4674;POINT (-40.02355 -2.796417)'))) / (select extract(epoch from '2026-06-27 08:32:24'::timestamp) - extract(epoch from '2026-06-27 08:32: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.023512 -2.796351)', '2026-06-27 08:32:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02355 -2.796417)'), GeomFromEWKT('SRID=4674;POINT (-40.023512 -2.796351)'))) / (select extract(epoch from '2026-06-27 08:32:30'::timestamp) - extract(epoch from '2026-06-27 08:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02355 -2.796417)'), GeomFromEWKT('SRID=4674;POINT (-40.023512 -2.796351)'))) / (select extract(epoch from '2026-06-27 08:32:30'::timestamp) - extract(epoch from '2026-06-27 08:32: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.023476 -2.796261)', '2026-06-27 08:32:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023512 -2.796351)'), GeomFromEWKT('SRID=4674;POINT (-40.023476 -2.796261)'))) / (select extract(epoch from '2026-06-27 08:32:36'::timestamp) - extract(epoch from '2026-06-27 08:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023512 -2.796351)'), GeomFromEWKT('SRID=4674;POINT (-40.023476 -2.796261)'))) / (select extract(epoch from '2026-06-27 08:32:36'::timestamp) - extract(epoch from '2026-06-27 08:32: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.023473 -2.796246)', '2026-06-27 08:32:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023476 -2.796261)'), GeomFromEWKT('SRID=4674;POINT (-40.023473 -2.796246)'))) / (select extract(epoch from '2026-06-27 08:32:37'::timestamp) - extract(epoch from '2026-06-27 08:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023476 -2.796261)'), GeomFromEWKT('SRID=4674;POINT (-40.023473 -2.796246)'))) / (select extract(epoch from '2026-06-27 08:32:37'::timestamp) - extract(epoch from '2026-06-27 08:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.023471 -2.796231)', '2026-06-27 08:32:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023473 -2.796246)'), GeomFromEWKT('SRID=4674;POINT (-40.023471 -2.796231)'))) / (select extract(epoch from '2026-06-27 08:32:38'::timestamp) - extract(epoch from '2026-06-27 08:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023473 -2.796246)'), GeomFromEWKT('SRID=4674;POINT (-40.023471 -2.796231)'))) / (select extract(epoch from '2026-06-27 08:32:38'::timestamp) - extract(epoch from '2026-06-27 08:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.023465 -2.79618)', '2026-06-27 08:32:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023471 -2.796231)'), GeomFromEWKT('SRID=4674;POINT (-40.023465 -2.79618)'))) / (select extract(epoch from '2026-06-27 08:32:41'::timestamp) - extract(epoch from '2026-06-27 08:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023471 -2.796231)'), GeomFromEWKT('SRID=4674;POINT (-40.023465 -2.79618)'))) / (select extract(epoch from '2026-06-27 08:32:41'::timestamp) - extract(epoch from '2026-06-27 08:32: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.023426 -2.796036)', '2026-06-27 08:32:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023465 -2.79618)'), GeomFromEWKT('SRID=4674;POINT (-40.023426 -2.796036)'))) / (select extract(epoch from '2026-06-27 08:32:49'::timestamp) - extract(epoch from '2026-06-27 08:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023465 -2.79618)'), GeomFromEWKT('SRID=4674;POINT (-40.023426 -2.796036)'))) / (select extract(epoch from '2026-06-27 08:32:49'::timestamp) - extract(epoch from '2026-06-27 08: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.023414 -2.795967)', '2026-06-27 08:32:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023426 -2.796036)'), GeomFromEWKT('SRID=4674;POINT (-40.023414 -2.795967)'))) / (select extract(epoch from '2026-06-27 08:32:53'::timestamp) - extract(epoch from '2026-06-27 08:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023426 -2.796036)'), GeomFromEWKT('SRID=4674;POINT (-40.023414 -2.795967)'))) / (select extract(epoch from '2026-06-27 08:32:53'::timestamp) - extract(epoch from '2026-06-27 08:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.023413 -2.795935)', '2026-06-27 08:32:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023414 -2.795967)'), GeomFromEWKT('SRID=4674;POINT (-40.023413 -2.795935)'))) / (select extract(epoch from '2026-06-27 08:32:55'::timestamp) - extract(epoch from '2026-06-27 08:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023414 -2.795967)'), GeomFromEWKT('SRID=4674;POINT (-40.023413 -2.795935)'))) / (select extract(epoch from '2026-06-27 08:32:55'::timestamp) - extract(epoch from '2026-06-27 08:32: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.023431 -2.795831)', '2026-06-27 08:33:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023413 -2.795935)'), GeomFromEWKT('SRID=4674;POINT (-40.023431 -2.795831)'))) / (select extract(epoch from '2026-06-27 08:33:02'::timestamp) - extract(epoch from '2026-06-27 08:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023413 -2.795935)'), GeomFromEWKT('SRID=4674;POINT (-40.023431 -2.795831)'))) / (select extract(epoch from '2026-06-27 08:33:02'::timestamp) - extract(epoch from '2026-06-27 08: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.023436 -2.795817)', '2026-06-27 08:33:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023431 -2.795831)'), GeomFromEWKT('SRID=4674;POINT (-40.023436 -2.795817)'))) / (select extract(epoch from '2026-06-27 08:33:03'::timestamp) - extract(epoch from '2026-06-27 08:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023431 -2.795831)'), GeomFromEWKT('SRID=4674;POINT (-40.023436 -2.795817)'))) / (select extract(epoch from '2026-06-27 08:33:03'::timestamp) - extract(epoch from '2026-06-27 08:33: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.023498 -2.7957)', '2026-06-27 08:33:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023436 -2.795817)'), GeomFromEWKT('SRID=4674;POINT (-40.023498 -2.7957)'))) / (select extract(epoch from '2026-06-27 08:33:12'::timestamp) - extract(epoch from '2026-06-27 08:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023436 -2.795817)'), GeomFromEWKT('SRID=4674;POINT (-40.023498 -2.7957)'))) / (select extract(epoch from '2026-06-27 08:33:12'::timestamp) - extract(epoch from '2026-06-27 08: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.023528 -2.795662)', '2026-06-27 08:33:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023498 -2.7957)'), GeomFromEWKT('SRID=4674;POINT (-40.023528 -2.795662)'))) / (select extract(epoch from '2026-06-27 08:33:15'::timestamp) - extract(epoch from '2026-06-27 08:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023498 -2.7957)'), GeomFromEWKT('SRID=4674;POINT (-40.023528 -2.795662)'))) / (select extract(epoch from '2026-06-27 08:33:15'::timestamp) - extract(epoch from '2026-06-27 08:33:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.023557 -2.79564)', '2026-06-27 08:33:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023528 -2.795662)'), GeomFromEWKT('SRID=4674;POINT (-40.023557 -2.79564)'))) / (select extract(epoch from '2026-06-27 08:33:17'::timestamp) - extract(epoch from '2026-06-27 08:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023528 -2.795662)'), GeomFromEWKT('SRID=4674;POINT (-40.023557 -2.79564)'))) / (select extract(epoch from '2026-06-27 08:33:17'::timestamp) - extract(epoch from '2026-06-27 08: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.023566 -2.795628)', '2026-06-27 08:33:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023557 -2.79564)'), GeomFromEWKT('SRID=4674;POINT (-40.023566 -2.795628)'))) / (select extract(epoch from '2026-06-27 08:33:18'::timestamp) - extract(epoch from '2026-06-27 08:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023557 -2.79564)'), GeomFromEWKT('SRID=4674;POINT (-40.023566 -2.795628)'))) / (select extract(epoch from '2026-06-27 08:33:18'::timestamp) - extract(epoch from '2026-06-27 08:33: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.023624 -2.795506)', '2026-06-27 08:33:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023566 -2.795628)'), GeomFromEWKT('SRID=4674;POINT (-40.023624 -2.795506)'))) / (select extract(epoch from '2026-06-27 08:33:26'::timestamp) - extract(epoch from '2026-06-27 08:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023566 -2.795628)'), GeomFromEWKT('SRID=4674;POINT (-40.023624 -2.795506)'))) / (select extract(epoch from '2026-06-27 08:33:26'::timestamp) - extract(epoch from '2026-06-27 08:33: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.023608 -2.795358)', '2026-06-27 08:33:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023624 -2.795506)'), GeomFromEWKT('SRID=4674;POINT (-40.023608 -2.795358)'))) / (select extract(epoch from '2026-06-27 08:33:34'::timestamp) - extract(epoch from '2026-06-27 08:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023624 -2.795506)'), GeomFromEWKT('SRID=4674;POINT (-40.023608 -2.795358)'))) / (select extract(epoch from '2026-06-27 08:33:34'::timestamp) - extract(epoch from '2026-06-27 08: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.023547 -2.795244)', '2026-06-27 08:33:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023608 -2.795358)'), GeomFromEWKT('SRID=4674;POINT (-40.023547 -2.795244)'))) / (select extract(epoch from '2026-06-27 08:33:41'::timestamp) - extract(epoch from '2026-06-27 08:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023608 -2.795358)'), GeomFromEWKT('SRID=4674;POINT (-40.023547 -2.795244)'))) / (select extract(epoch from '2026-06-27 08:33:41'::timestamp) - extract(epoch from '2026-06-27 08:33: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.023443 -2.795148)', '2026-06-27 08:33:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023547 -2.795244)'), GeomFromEWKT('SRID=4674;POINT (-40.023443 -2.795148)'))) / (select extract(epoch from '2026-06-27 08:33:49'::timestamp) - extract(epoch from '2026-06-27 08:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023547 -2.795244)'), GeomFromEWKT('SRID=4674;POINT (-40.023443 -2.795148)'))) / (select extract(epoch from '2026-06-27 08:33:49'::timestamp) - extract(epoch from '2026-06-27 08:33: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.023307 -2.795084)', '2026-06-27 08:33:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023443 -2.795148)'), GeomFromEWKT('SRID=4674;POINT (-40.023307 -2.795084)'))) / (select extract(epoch from '2026-06-27 08:33:58'::timestamp) - extract(epoch from '2026-06-27 08:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023443 -2.795148)'), GeomFromEWKT('SRID=4674;POINT (-40.023307 -2.795084)'))) / (select extract(epoch from '2026-06-27 08:33:58'::timestamp) - extract(epoch from '2026-06-27 08: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.02317 -2.795046)', '2026-06-27 08:34:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023307 -2.795084)'), GeomFromEWKT('SRID=4674;POINT (-40.02317 -2.795046)'))) / (select extract(epoch from '2026-06-27 08:34:07'::timestamp) - extract(epoch from '2026-06-27 08:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023307 -2.795084)'), GeomFromEWKT('SRID=4674;POINT (-40.02317 -2.795046)'))) / (select extract(epoch from '2026-06-27 08:34:07'::timestamp) - extract(epoch from '2026-06-27 08:33: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.023033 -2.794997)', '2026-06-27 08:34:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02317 -2.795046)'), GeomFromEWKT('SRID=4674;POINT (-40.023033 -2.794997)'))) / (select extract(epoch from '2026-06-27 08:34:16'::timestamp) - extract(epoch from '2026-06-27 08:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02317 -2.795046)'), GeomFromEWKT('SRID=4674;POINT (-40.023033 -2.794997)'))) / (select extract(epoch from '2026-06-27 08:34:16'::timestamp) - extract(epoch from '2026-06-27 08:34: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.022905 -2.794962)', '2026-06-27 08:34:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023033 -2.794997)'), GeomFromEWKT('SRID=4674;POINT (-40.022905 -2.794962)'))) / (select extract(epoch from '2026-06-27 08:34:24'::timestamp) - extract(epoch from '2026-06-27 08:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023033 -2.794997)'), GeomFromEWKT('SRID=4674;POINT (-40.022905 -2.794962)'))) / (select extract(epoch from '2026-06-27 08:34:24'::timestamp) - extract(epoch from '2026-06-27 08:34: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.022704 -2.794891)', '2026-06-27 08:34:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022905 -2.794962)'), GeomFromEWKT('SRID=4674;POINT (-40.022704 -2.794891)'))) / (select extract(epoch from '2026-06-27 08:34:37'::timestamp) - extract(epoch from '2026-06-27 08:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022905 -2.794962)'), GeomFromEWKT('SRID=4674;POINT (-40.022704 -2.794891)'))) / (select extract(epoch from '2026-06-27 08:34:37'::timestamp) - extract(epoch from '2026-06-27 08:34: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.022542 -2.794843)', '2026-06-27 08:34:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022704 -2.794891)'), GeomFromEWKT('SRID=4674;POINT (-40.022542 -2.794843)'))) / (select extract(epoch from '2026-06-27 08:34:47'::timestamp) - extract(epoch from '2026-06-27 08:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022704 -2.794891)'), GeomFromEWKT('SRID=4674;POINT (-40.022542 -2.794843)'))) / (select extract(epoch from '2026-06-27 08:34:47'::timestamp) - extract(epoch from '2026-06-27 08:34:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.02243 -2.794823)', '2026-06-27 08:34:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022542 -2.794843)'), GeomFromEWKT('SRID=4674;POINT (-40.02243 -2.794823)'))) / (select extract(epoch from '2026-06-27 08:34:54'::timestamp) - extract(epoch from '2026-06-27 08:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022542 -2.794843)'), GeomFromEWKT('SRID=4674;POINT (-40.02243 -2.794823)'))) / (select extract(epoch from '2026-06-27 08:34:54'::timestamp) - extract(epoch from '2026-06-27 08:34: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.022413 -2.794825)', '2026-06-27 08:34:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02243 -2.794823)'), GeomFromEWKT('SRID=4674;POINT (-40.022413 -2.794825)'))) / (select extract(epoch from '2026-06-27 08:34:55'::timestamp) - extract(epoch from '2026-06-27 08:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02243 -2.794823)'), GeomFromEWKT('SRID=4674;POINT (-40.022413 -2.794825)'))) / (select extract(epoch from '2026-06-27 08:34:55'::timestamp) - extract(epoch from '2026-06-27 08:34: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.022281 -2.794817)', '2026-06-27 08:35:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022413 -2.794825)'), GeomFromEWKT('SRID=4674;POINT (-40.022281 -2.794817)'))) / (select extract(epoch from '2026-06-27 08:35:03'::timestamp) - extract(epoch from '2026-06-27 08:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022413 -2.794825)'), GeomFromEWKT('SRID=4674;POINT (-40.022281 -2.794817)'))) / (select extract(epoch from '2026-06-27 08:35:03'::timestamp) - extract(epoch from '2026-06-27 08:34: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.022137 -2.794804)', '2026-06-27 08:35:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022281 -2.794817)'), GeomFromEWKT('SRID=4674;POINT (-40.022137 -2.794804)'))) / (select extract(epoch from '2026-06-27 08:35:12'::timestamp) - extract(epoch from '2026-06-27 08:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022281 -2.794817)'), GeomFromEWKT('SRID=4674;POINT (-40.022137 -2.794804)'))) / (select extract(epoch from '2026-06-27 08:35:12'::timestamp) - extract(epoch from '2026-06-27 08:35: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.022043 -2.794799)', '2026-06-27 08:35:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022137 -2.794804)'), GeomFromEWKT('SRID=4674;POINT (-40.022043 -2.794799)'))) / (select extract(epoch from '2026-06-27 08:35:18'::timestamp) - extract(epoch from '2026-06-27 08:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022137 -2.794804)'), GeomFromEWKT('SRID=4674;POINT (-40.022043 -2.794799)'))) / (select extract(epoch from '2026-06-27 08:35:18'::timestamp) - extract(epoch from '2026-06-27 08: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.021936 -2.794797)', '2026-06-27 08:35:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022043 -2.794799)'), GeomFromEWKT('SRID=4674;POINT (-40.021936 -2.794797)'))) / (select extract(epoch from '2026-06-27 08:35:25'::timestamp) - extract(epoch from '2026-06-27 08:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022043 -2.794799)'), GeomFromEWKT('SRID=4674;POINT (-40.021936 -2.794797)'))) / (select extract(epoch from '2026-06-27 08:35:25'::timestamp) - extract(epoch from '2026-06-27 08:35: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.021811 -2.794808)', '2026-06-27 08:35:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021936 -2.794797)'), GeomFromEWKT('SRID=4674;POINT (-40.021811 -2.794808)'))) / (select extract(epoch from '2026-06-27 08:35:33'::timestamp) - extract(epoch from '2026-06-27 08:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021936 -2.794797)'), GeomFromEWKT('SRID=4674;POINT (-40.021811 -2.794808)'))) / (select extract(epoch from '2026-06-27 08:35:33'::timestamp) - extract(epoch from '2026-06-27 08: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.021695 -2.794821)', '2026-06-27 08:35:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021811 -2.794808)'), GeomFromEWKT('SRID=4674;POINT (-40.021695 -2.794821)'))) / (select extract(epoch from '2026-06-27 08:35:40'::timestamp) - extract(epoch from '2026-06-27 08:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021811 -2.794808)'), GeomFromEWKT('SRID=4674;POINT (-40.021695 -2.794821)'))) / (select extract(epoch from '2026-06-27 08:35:40'::timestamp) - extract(epoch from '2026-06-27 08: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.02156 -2.794833)', '2026-06-27 08:35:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021695 -2.794821)'), GeomFromEWKT('SRID=4674;POINT (-40.02156 -2.794833)'))) / (select extract(epoch from '2026-06-27 08:35:48'::timestamp) - extract(epoch from '2026-06-27 08:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021695 -2.794821)'), GeomFromEWKT('SRID=4674;POINT (-40.02156 -2.794833)'))) / (select extract(epoch from '2026-06-27 08:35:48'::timestamp) - extract(epoch from '2026-06-27 08:35:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.021444 -2.794832)', '2026-06-27 08:35:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02156 -2.794833)'), GeomFromEWKT('SRID=4674;POINT (-40.021444 -2.794832)'))) / (select extract(epoch from '2026-06-27 08:35:55'::timestamp) - extract(epoch from '2026-06-27 08:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02156 -2.794833)'), GeomFromEWKT('SRID=4674;POINT (-40.021444 -2.794832)'))) / (select extract(epoch from '2026-06-27 08:35:55'::timestamp) - extract(epoch from '2026-06-27 08:35:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.021274 -2.794816)', '2026-06-27 08:36:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021444 -2.794832)'), GeomFromEWKT('SRID=4674;POINT (-40.021274 -2.794816)'))) / (select extract(epoch from '2026-06-27 08:36:05'::timestamp) - extract(epoch from '2026-06-27 08:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021444 -2.794832)'), GeomFromEWKT('SRID=4674;POINT (-40.021274 -2.794816)'))) / (select extract(epoch from '2026-06-27 08:36:05'::timestamp) - extract(epoch from '2026-06-27 08: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.021142 -2.794781)', '2026-06-27 08:36:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021274 -2.794816)'), GeomFromEWKT('SRID=4674;POINT (-40.021142 -2.794781)'))) / (select extract(epoch from '2026-06-27 08:36:13'::timestamp) - extract(epoch from '2026-06-27 08:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021274 -2.794816)'), GeomFromEWKT('SRID=4674;POINT (-40.021142 -2.794781)'))) / (select extract(epoch from '2026-06-27 08:36:13'::timestamp) - extract(epoch from '2026-06-27 08:36:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.021051 -2.794745)', '2026-06-27 08:36:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021142 -2.794781)'), GeomFromEWKT('SRID=4674;POINT (-40.021051 -2.794745)'))) / (select extract(epoch from '2026-06-27 08:36:19'::timestamp) - extract(epoch from '2026-06-27 08:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021142 -2.794781)'), GeomFromEWKT('SRID=4674;POINT (-40.021051 -2.794745)'))) / (select extract(epoch from '2026-06-27 08:36:19'::timestamp) - extract(epoch from '2026-06-27 08:36: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.02093 -2.794708)', '2026-06-27 08:36:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021051 -2.794745)'), GeomFromEWKT('SRID=4674;POINT (-40.02093 -2.794708)'))) / (select extract(epoch from '2026-06-27 08:36:26'::timestamp) - extract(epoch from '2026-06-27 08:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021051 -2.794745)'), GeomFromEWKT('SRID=4674;POINT (-40.02093 -2.794708)'))) / (select extract(epoch from '2026-06-27 08:36:26'::timestamp) - extract(epoch from '2026-06-27 08:36:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.020813 -2.794726)', '2026-06-27 08:36:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02093 -2.794708)'), GeomFromEWKT('SRID=4674;POINT (-40.020813 -2.794726)'))) / (select extract(epoch from '2026-06-27 08:36:34'::timestamp) - extract(epoch from '2026-06-27 08:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02093 -2.794708)'), GeomFromEWKT('SRID=4674;POINT (-40.020813 -2.794726)'))) / (select extract(epoch from '2026-06-27 08:36:34'::timestamp) - extract(epoch from '2026-06-27 08:36: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.020663 -2.794758)', '2026-06-27 08:36:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020813 -2.794726)'), GeomFromEWKT('SRID=4674;POINT (-40.020663 -2.794758)'))) / (select extract(epoch from '2026-06-27 08:36:44'::timestamp) - extract(epoch from '2026-06-27 08:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020813 -2.794726)'), GeomFromEWKT('SRID=4674;POINT (-40.020663 -2.794758)'))) / (select extract(epoch from '2026-06-27 08:36:44'::timestamp) - extract(epoch from '2026-06-27 08:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.020563 -2.794723)', '2026-06-27 08:36:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020663 -2.794758)'), GeomFromEWKT('SRID=4674;POINT (-40.020563 -2.794723)'))) / (select extract(epoch from '2026-06-27 08:36:52'::timestamp) - extract(epoch from '2026-06-27 08:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020663 -2.794758)'), GeomFromEWKT('SRID=4674;POINT (-40.020563 -2.794723)'))) / (select extract(epoch from '2026-06-27 08:36:52'::timestamp) - extract(epoch from '2026-06-27 08:36: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.020429 -2.794625)', '2026-06-27 08:37:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020563 -2.794723)'), GeomFromEWKT('SRID=4674;POINT (-40.020429 -2.794625)'))) / (select extract(epoch from '2026-06-27 08:37:03'::timestamp) - extract(epoch from '2026-06-27 08:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020563 -2.794723)'), GeomFromEWKT('SRID=4674;POINT (-40.020429 -2.794625)'))) / (select extract(epoch from '2026-06-27 08:37:03'::timestamp) - extract(epoch from '2026-06-27 08:36: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.020306 -2.79454)', '2026-06-27 08:37:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020429 -2.794625)'), GeomFromEWKT('SRID=4674;POINT (-40.020306 -2.79454)'))) / (select extract(epoch from '2026-06-27 08:37:13'::timestamp) - extract(epoch from '2026-06-27 08:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020429 -2.794625)'), GeomFromEWKT('SRID=4674;POINT (-40.020306 -2.79454)'))) / (select extract(epoch from '2026-06-27 08:37:13'::timestamp) - extract(epoch from '2026-06-27 08:37: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.020155 -2.794449)', '2026-06-27 08:37:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020306 -2.79454)'), GeomFromEWKT('SRID=4674;POINT (-40.020155 -2.794449)'))) / (select extract(epoch from '2026-06-27 08:37:24'::timestamp) - extract(epoch from '2026-06-27 08:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020306 -2.79454)'), GeomFromEWKT('SRID=4674;POINT (-40.020155 -2.794449)'))) / (select extract(epoch from '2026-06-27 08:37:24'::timestamp) - extract(epoch from '2026-06-27 08:37: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.020074 -2.794404)', '2026-06-27 08:37:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020155 -2.794449)'), GeomFromEWKT('SRID=4674;POINT (-40.020074 -2.794404)'))) / (select extract(epoch from '2026-06-27 08:37:32'::timestamp) - extract(epoch from '2026-06-27 08:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020155 -2.794449)'), GeomFromEWKT('SRID=4674;POINT (-40.020074 -2.794404)'))) / (select extract(epoch from '2026-06-27 08:37:32'::timestamp) - extract(epoch from '2026-06-27 08: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.020027 -2.794354)', '2026-06-27 08:37:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020074 -2.794404)'), GeomFromEWKT('SRID=4674;POINT (-40.020027 -2.794354)'))) / (select extract(epoch from '2026-06-27 08:37:39'::timestamp) - extract(epoch from '2026-06-27 08:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020074 -2.794404)'), GeomFromEWKT('SRID=4674;POINT (-40.020027 -2.794354)'))) / (select extract(epoch from '2026-06-27 08:37:39'::timestamp) - extract(epoch from '2026-06-27 08: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.020029 -2.794301)', '2026-06-27 08:37:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020027 -2.794354)'), GeomFromEWKT('SRID=4674;POINT (-40.020029 -2.794301)'))) / (select extract(epoch from '2026-06-27 08:37:47'::timestamp) - extract(epoch from '2026-06-27 08:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020027 -2.794354)'), GeomFromEWKT('SRID=4674;POINT (-40.020029 -2.794301)'))) / (select extract(epoch from '2026-06-27 08:37:47'::timestamp) - extract(epoch from '2026-06-27 08: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.020035 -2.794286)', '2026-06-27 08:37:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020029 -2.794301)'), GeomFromEWKT('SRID=4674;POINT (-40.020035 -2.794286)'))) / (select extract(epoch from '2026-06-27 08:37:49'::timestamp) - extract(epoch from '2026-06-27 08:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020029 -2.794301)'), GeomFromEWKT('SRID=4674;POINT (-40.020035 -2.794286)'))) / (select extract(epoch from '2026-06-27 08:37:49'::timestamp) - extract(epoch from '2026-06-27 08:37: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.020067 -2.794265)', '2026-06-27 08:37:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020035 -2.794286)'), GeomFromEWKT('SRID=4674;POINT (-40.020067 -2.794265)'))) / (select extract(epoch from '2026-06-27 08:37:54'::timestamp) - extract(epoch from '2026-06-27 08:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020035 -2.794286)'), GeomFromEWKT('SRID=4674;POINT (-40.020067 -2.794265)'))) / (select extract(epoch from '2026-06-27 08:37:54'::timestamp) - extract(epoch from '2026-06-27 08:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.020114 -2.794254)', '2026-06-27 08:38:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020067 -2.794265)'), GeomFromEWKT('SRID=4674;POINT (-40.020114 -2.794254)'))) / (select extract(epoch from '2026-06-27 08:38:00'::timestamp) - extract(epoch from '2026-06-27 08:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020067 -2.794265)'), GeomFromEWKT('SRID=4674;POINT (-40.020114 -2.794254)'))) / (select extract(epoch from '2026-06-27 08:38:00'::timestamp) - extract(epoch from '2026-06-27 08:37: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.020121 -2.794258)', '2026-06-27 08:38:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020114 -2.794254)'), GeomFromEWKT('SRID=4674;POINT (-40.020121 -2.794258)'))) / (select extract(epoch from '2026-06-27 08:38:01'::timestamp) - extract(epoch from '2026-06-27 08:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020114 -2.794254)'), GeomFromEWKT('SRID=4674;POINT (-40.020121 -2.794258)'))) / (select extract(epoch from '2026-06-27 08:38:01'::timestamp) - extract(epoch from '2026-06-27 08:38:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.020184 -2.794267)', '2026-06-27 08:38:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020121 -2.794258)'), GeomFromEWKT('SRID=4674;POINT (-40.020184 -2.794267)'))) / (select extract(epoch from '2026-06-27 08:38:08'::timestamp) - extract(epoch from '2026-06-27 08:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020121 -2.794258)'), GeomFromEWKT('SRID=4674;POINT (-40.020184 -2.794267)'))) / (select extract(epoch from '2026-06-27 08:38:08'::timestamp) - extract(epoch from '2026-06-27 08:38: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.020192 -2.794272)', '2026-06-27 08:38:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020184 -2.794267)'), GeomFromEWKT('SRID=4674;POINT (-40.020192 -2.794272)'))) / (select extract(epoch from '2026-06-27 08:38:09'::timestamp) - extract(epoch from '2026-06-27 08:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020184 -2.794267)'), GeomFromEWKT('SRID=4674;POINT (-40.020192 -2.794272)'))) / (select extract(epoch from '2026-06-27 08:38:09'::timestamp) - extract(epoch from '2026-06-27 08:38: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.020213 -2.794316)', '2026-06-27 08:38:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020192 -2.794272)'), GeomFromEWKT('SRID=4674;POINT (-40.020213 -2.794316)'))) / (select extract(epoch from '2026-06-27 08:38:14'::timestamp) - extract(epoch from '2026-06-27 08:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020192 -2.794272)'), GeomFromEWKT('SRID=4674;POINT (-40.020213 -2.794316)'))) / (select extract(epoch from '2026-06-27 08:38:14'::timestamp) - extract(epoch from '2026-06-27 08: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.020164 -2.794371)', '2026-06-27 08:38:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020213 -2.794316)'), GeomFromEWKT('SRID=4674;POINT (-40.020164 -2.794371)'))) / (select extract(epoch from '2026-06-27 08:38:22'::timestamp) - extract(epoch from '2026-06-27 08:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020213 -2.794316)'), GeomFromEWKT('SRID=4674;POINT (-40.020164 -2.794371)'))) / (select extract(epoch from '2026-06-27 08:38:22'::timestamp) - extract(epoch from '2026-06-27 08:38:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.020136 -2.794372)', '2026-06-27 08:38:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020164 -2.794371)'), GeomFromEWKT('SRID=4674;POINT (-40.020136 -2.794372)'))) / (select extract(epoch from '2026-06-27 08:38:25'::timestamp) - extract(epoch from '2026-06-27 08:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020164 -2.794371)'), GeomFromEWKT('SRID=4674;POINT (-40.020136 -2.794372)'))) / (select extract(epoch from '2026-06-27 08:38:25'::timestamp) - extract(epoch from '2026-06-27 08:38: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.020117 -2.794361)', '2026-06-27 08:38:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020136 -2.794372)'), GeomFromEWKT('SRID=4674;POINT (-40.020117 -2.794361)'))) / (select extract(epoch from '2026-06-27 08:38:28'::timestamp) - extract(epoch from '2026-06-27 08:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020136 -2.794372)'), GeomFromEWKT('SRID=4674;POINT (-40.020117 -2.794361)'))) / (select extract(epoch from '2026-06-27 08:38:28'::timestamp) - extract(epoch from '2026-06-27 08:38: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.020085 -2.794296)', '2026-06-27 08:38:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020117 -2.794361)'), GeomFromEWKT('SRID=4674;POINT (-40.020085 -2.794296)'))) / (select extract(epoch from '2026-06-27 08:38:37'::timestamp) - extract(epoch from '2026-06-27 08:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020117 -2.794361)'), GeomFromEWKT('SRID=4674;POINT (-40.020085 -2.794296)'))) / (select extract(epoch from '2026-06-27 08:38:37'::timestamp) - extract(epoch from '2026-06-27 08:38: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.020022 -2.794263)', '2026-06-27 08:38:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020085 -2.794296)'), GeomFromEWKT('SRID=4674;POINT (-40.020022 -2.794263)'))) / (select extract(epoch from '2026-06-27 08:38:46'::timestamp) - extract(epoch from '2026-06-27 08:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020085 -2.794296)'), GeomFromEWKT('SRID=4674;POINT (-40.020022 -2.794263)'))) / (select extract(epoch from '2026-06-27 08:38:46'::timestamp) - extract(epoch from '2026-06-27 08:38: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.02001 -2.794319)', '2026-06-27 08:38:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020022 -2.794263)'), GeomFromEWKT('SRID=4674;POINT (-40.02001 -2.794319)'))) / (select extract(epoch from '2026-06-27 08:38:55'::timestamp) - extract(epoch from '2026-06-27 08:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020022 -2.794263)'), GeomFromEWKT('SRID=4674;POINT (-40.02001 -2.794319)'))) / (select extract(epoch from '2026-06-27 08:38:55'::timestamp) - extract(epoch from '2026-06-27 08:38: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.020068 -2.794394)', '2026-06-27 08:39:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02001 -2.794319)'), GeomFromEWKT('SRID=4674;POINT (-40.020068 -2.794394)'))) / (select extract(epoch from '2026-06-27 08:39:07'::timestamp) - extract(epoch from '2026-06-27 08:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02001 -2.794319)'), GeomFromEWKT('SRID=4674;POINT (-40.020068 -2.794394)'))) / (select extract(epoch from '2026-06-27 08:39:07'::timestamp) - extract(epoch from '2026-06-27 08:38: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.02012 -2.794463)', '2026-06-27 08:39:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020068 -2.794394)'), GeomFromEWKT('SRID=4674;POINT (-40.02012 -2.794463)'))) / (select extract(epoch from '2026-06-27 08:39:18'::timestamp) - extract(epoch from '2026-06-27 08:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020068 -2.794394)'), GeomFromEWKT('SRID=4674;POINT (-40.02012 -2.794463)'))) / (select extract(epoch from '2026-06-27 08:39:18'::timestamp) - extract(epoch from '2026-06-27 08: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.020147 -2.794483)', '2026-06-27 08:39:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02012 -2.794463)'), GeomFromEWKT('SRID=4674;POINT (-40.020147 -2.794483)'))) / (select extract(epoch from '2026-06-27 08:39:29'::timestamp) - extract(epoch from '2026-06-27 08:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02012 -2.794463)'), GeomFromEWKT('SRID=4674;POINT (-40.020147 -2.794483)'))) / (select extract(epoch from '2026-06-27 08:39:29'::timestamp) - extract(epoch from '2026-06-27 08:39: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.020155 -2.794494)', '2026-06-27 08:39:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020147 -2.794483)'), GeomFromEWKT('SRID=4674;POINT (-40.020155 -2.794494)'))) / (select extract(epoch from '2026-06-27 08:39:35'::timestamp) - extract(epoch from '2026-06-27 08:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020147 -2.794483)'), GeomFromEWKT('SRID=4674;POINT (-40.020155 -2.794494)'))) / (select extract(epoch from '2026-06-27 08:39:35'::timestamp) - extract(epoch from '2026-06-27 08:39: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.020136 -2.794562)', '2026-06-27 08:39:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020155 -2.794494)'), GeomFromEWKT('SRID=4674;POINT (-40.020136 -2.794562)'))) / (select extract(epoch from '2026-06-27 08:39:46'::timestamp) - extract(epoch from '2026-06-27 08:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020155 -2.794494)'), GeomFromEWKT('SRID=4674;POINT (-40.020136 -2.794562)'))) / (select extract(epoch from '2026-06-27 08:39:46'::timestamp) - extract(epoch from '2026-06-27 08:39: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.020089 -2.794546)', '2026-06-27 08:39:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020136 -2.794562)'), GeomFromEWKT('SRID=4674;POINT (-40.020089 -2.794546)'))) / (select extract(epoch from '2026-06-27 08:39:53'::timestamp) - extract(epoch from '2026-06-27 08:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020136 -2.794562)'), GeomFromEWKT('SRID=4674;POINT (-40.020089 -2.794546)'))) / (select extract(epoch from '2026-06-27 08:39:53'::timestamp) - extract(epoch from '2026-06-27 08:39:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.020085 -2.794472)', '2026-06-27 08:40:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020089 -2.794546)'), GeomFromEWKT('SRID=4674;POINT (-40.020085 -2.794472)'))) / (select extract(epoch from '2026-06-27 08:40:00'::timestamp) - extract(epoch from '2026-06-27 08:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020089 -2.794546)'), GeomFromEWKT('SRID=4674;POINT (-40.020085 -2.794472)'))) / (select extract(epoch from '2026-06-27 08:40:00'::timestamp) - extract(epoch from '2026-06-27 08:39: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.020114 -2.794408)', '2026-06-27 08:40:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020085 -2.794472)'), GeomFromEWKT('SRID=4674;POINT (-40.020114 -2.794408)'))) / (select extract(epoch from '2026-06-27 08:40:08'::timestamp) - extract(epoch from '2026-06-27 08:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020085 -2.794472)'), GeomFromEWKT('SRID=4674;POINT (-40.020114 -2.794408)'))) / (select extract(epoch from '2026-06-27 08:40:08'::timestamp) - extract(epoch from '2026-06-27 08: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.020109 -2.794318)', '2026-06-27 08:40:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020114 -2.794408)'), GeomFromEWKT('SRID=4674;POINT (-40.020109 -2.794318)'))) / (select extract(epoch from '2026-06-27 08:40:16'::timestamp) - extract(epoch from '2026-06-27 08:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020114 -2.794408)'), GeomFromEWKT('SRID=4674;POINT (-40.020109 -2.794318)'))) / (select extract(epoch from '2026-06-27 08:40:16'::timestamp) - extract(epoch from '2026-06-27 08:40: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.020045 -2.794229)', '2026-06-27 08:40:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020109 -2.794318)'), GeomFromEWKT('SRID=4674;POINT (-40.020045 -2.794229)'))) / (select extract(epoch from '2026-06-27 08:40:23'::timestamp) - extract(epoch from '2026-06-27 08:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020109 -2.794318)'), GeomFromEWKT('SRID=4674;POINT (-40.020045 -2.794229)'))) / (select extract(epoch from '2026-06-27 08:40:23'::timestamp) - extract(epoch from '2026-06-27 08:40:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.019955 -2.794131)', '2026-06-27 08:40:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020045 -2.794229)'), GeomFromEWKT('SRID=4674;POINT (-40.019955 -2.794131)'))) / (select extract(epoch from '2026-06-27 08:40:31'::timestamp) - extract(epoch from '2026-06-27 08:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020045 -2.794229)'), GeomFromEWKT('SRID=4674;POINT (-40.019955 -2.794131)'))) / (select extract(epoch from '2026-06-27 08:40:31'::timestamp) - extract(epoch from '2026-06-27 08:40: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.019884 -2.79398)', '2026-06-27 08:40:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019955 -2.794131)'), GeomFromEWKT('SRID=4674;POINT (-40.019884 -2.79398)'))) / (select extract(epoch from '2026-06-27 08:40:40'::timestamp) - extract(epoch from '2026-06-27 08:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019955 -2.794131)'), GeomFromEWKT('SRID=4674;POINT (-40.019884 -2.79398)'))) / (select extract(epoch from '2026-06-27 08:40:40'::timestamp) - extract(epoch from '2026-06-27 08:40: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.019828 -2.793831)', '2026-06-27 08:40:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019884 -2.79398)'), GeomFromEWKT('SRID=4674;POINT (-40.019828 -2.793831)'))) / (select extract(epoch from '2026-06-27 08:40:48'::timestamp) - extract(epoch from '2026-06-27 08:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019884 -2.79398)'), GeomFromEWKT('SRID=4674;POINT (-40.019828 -2.793831)'))) / (select extract(epoch from '2026-06-27 08:40:48'::timestamp) - extract(epoch from '2026-06-27 08:40: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.019781 -2.793678)', '2026-06-27 08:40:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019828 -2.793831)'), GeomFromEWKT('SRID=4674;POINT (-40.019781 -2.793678)'))) / (select extract(epoch from '2026-06-27 08:40:56'::timestamp) - extract(epoch from '2026-06-27 08:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019828 -2.793831)'), GeomFromEWKT('SRID=4674;POINT (-40.019781 -2.793678)'))) / (select extract(epoch from '2026-06-27 08:40:56'::timestamp) - extract(epoch from '2026-06-27 08:40: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.019747 -2.793568)', '2026-06-27 08:41:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019781 -2.793678)'), GeomFromEWKT('SRID=4674;POINT (-40.019747 -2.793568)'))) / (select extract(epoch from '2026-06-27 08:41:02'::timestamp) - extract(epoch from '2026-06-27 08:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019781 -2.793678)'), GeomFromEWKT('SRID=4674;POINT (-40.019747 -2.793568)'))) / (select extract(epoch from '2026-06-27 08:41:02'::timestamp) - extract(epoch from '2026-06-27 08: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.019681 -2.793428)', '2026-06-27 08:41:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019747 -2.793568)'), GeomFromEWKT('SRID=4674;POINT (-40.019681 -2.793428)'))) / (select extract(epoch from '2026-06-27 08:41:10'::timestamp) - extract(epoch from '2026-06-27 08:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019747 -2.793568)'), GeomFromEWKT('SRID=4674;POINT (-40.019681 -2.793428)'))) / (select extract(epoch from '2026-06-27 08:41:10'::timestamp) - extract(epoch from '2026-06-27 08:41: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.019573 -2.793312)', '2026-06-27 08:41:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019681 -2.793428)'), GeomFromEWKT('SRID=4674;POINT (-40.019573 -2.793312)'))) / (select extract(epoch from '2026-06-27 08:41:19'::timestamp) - extract(epoch from '2026-06-27 08:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019681 -2.793428)'), GeomFromEWKT('SRID=4674;POINT (-40.019573 -2.793312)'))) / (select extract(epoch from '2026-06-27 08:41:19'::timestamp) - extract(epoch from '2026-06-27 08:41: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.019519 -2.79325)', '2026-06-27 08:41:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019573 -2.793312)'), GeomFromEWKT('SRID=4674;POINT (-40.019519 -2.79325)'))) / (select extract(epoch from '2026-06-27 08:41:26'::timestamp) - extract(epoch from '2026-06-27 08:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019573 -2.793312)'), GeomFromEWKT('SRID=4674;POINT (-40.019519 -2.79325)'))) / (select extract(epoch from '2026-06-27 08:41:26'::timestamp) - extract(epoch from '2026-06-27 08:41:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.019489 -2.793174)', '2026-06-27 08:41:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019519 -2.79325)'), GeomFromEWKT('SRID=4674;POINT (-40.019489 -2.793174)'))) / (select extract(epoch from '2026-06-27 08:41:33'::timestamp) - extract(epoch from '2026-06-27 08:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019519 -2.79325)'), GeomFromEWKT('SRID=4674;POINT (-40.019489 -2.793174)'))) / (select extract(epoch from '2026-06-27 08:41:33'::timestamp) - extract(epoch from '2026-06-27 08: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.019464 -2.793129)', '2026-06-27 08:41:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019489 -2.793174)'), GeomFromEWKT('SRID=4674;POINT (-40.019464 -2.793129)'))) / (select extract(epoch from '2026-06-27 08:41:41'::timestamp) - extract(epoch from '2026-06-27 08:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019489 -2.793174)'), GeomFromEWKT('SRID=4674;POINT (-40.019464 -2.793129)'))) / (select extract(epoch from '2026-06-27 08:41:41'::timestamp) - extract(epoch from '2026-06-27 08:41: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.019446 -2.793098)', '2026-06-27 08:41:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019464 -2.793129)'), GeomFromEWKT('SRID=4674;POINT (-40.019446 -2.793098)'))) / (select extract(epoch from '2026-06-27 08:41:55'::timestamp) - extract(epoch from '2026-06-27 08:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019464 -2.793129)'), GeomFromEWKT('SRID=4674;POINT (-40.019446 -2.793098)'))) / (select extract(epoch from '2026-06-27 08:41:55'::timestamp) - extract(epoch from '2026-06-27 08: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.019404 -2.793086)', '2026-06-27 08:42:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019446 -2.793098)'), GeomFromEWKT('SRID=4674;POINT (-40.019404 -2.793086)'))) / (select extract(epoch from '2026-06-27 08:42:07'::timestamp) - extract(epoch from '2026-06-27 08:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019446 -2.793098)'), GeomFromEWKT('SRID=4674;POINT (-40.019404 -2.793086)'))) / (select extract(epoch from '2026-06-27 08:42:07'::timestamp) - extract(epoch from '2026-06-27 08:41: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.019377 -2.793142)', '2026-06-27 08:42:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019404 -2.793086)'), GeomFromEWKT('SRID=4674;POINT (-40.019377 -2.793142)'))) / (select extract(epoch from '2026-06-27 08:42:18'::timestamp) - extract(epoch from '2026-06-27 08:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019404 -2.793086)'), GeomFromEWKT('SRID=4674;POINT (-40.019377 -2.793142)'))) / (select extract(epoch from '2026-06-27 08:42:18'::timestamp) - extract(epoch from '2026-06-27 08:42:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.019428 -2.793185)', '2026-06-27 08:42:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019377 -2.793142)'), GeomFromEWKT('SRID=4674;POINT (-40.019428 -2.793185)'))) / (select extract(epoch from '2026-06-27 08:42:26'::timestamp) - extract(epoch from '2026-06-27 08:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019377 -2.793142)'), GeomFromEWKT('SRID=4674;POINT (-40.019428 -2.793185)'))) / (select extract(epoch from '2026-06-27 08:42:26'::timestamp) - extract(epoch from '2026-06-27 08:42:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.019436 -2.79319)', '2026-06-27 08:42:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019428 -2.793185)'), GeomFromEWKT('SRID=4674;POINT (-40.019436 -2.79319)'))) / (select extract(epoch from '2026-06-27 08:42:27'::timestamp) - extract(epoch from '2026-06-27 08:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019428 -2.793185)'), GeomFromEWKT('SRID=4674;POINT (-40.019436 -2.79319)'))) / (select extract(epoch from '2026-06-27 08:42:27'::timestamp) - extract(epoch from '2026-06-27 08:42: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.019512 -2.79319)', '2026-06-27 08:42:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019436 -2.79319)'), GeomFromEWKT('SRID=4674;POINT (-40.019512 -2.79319)'))) / (select extract(epoch from '2026-06-27 08:42:34'::timestamp) - extract(epoch from '2026-06-27 08:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019436 -2.79319)'), GeomFromEWKT('SRID=4674;POINT (-40.019512 -2.79319)'))) / (select extract(epoch from '2026-06-27 08:42:34'::timestamp) - extract(epoch from '2026-06-27 08:42: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.019579 -2.79316)', '2026-06-27 08:42:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019512 -2.79319)'), GeomFromEWKT('SRID=4674;POINT (-40.019579 -2.79316)'))) / (select extract(epoch from '2026-06-27 08:42:40'::timestamp) - extract(epoch from '2026-06-27 08:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019512 -2.79319)'), GeomFromEWKT('SRID=4674;POINT (-40.019579 -2.79316)'))) / (select extract(epoch from '2026-06-27 08:42:40'::timestamp) - extract(epoch from '2026-06-27 08:42: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.019622 -2.793111)', '2026-06-27 08:42:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019579 -2.79316)'), GeomFromEWKT('SRID=4674;POINT (-40.019622 -2.793111)'))) / (select extract(epoch from '2026-06-27 08:42:47'::timestamp) - extract(epoch from '2026-06-27 08:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019579 -2.79316)'), GeomFromEWKT('SRID=4674;POINT (-40.019622 -2.793111)'))) / (select extract(epoch from '2026-06-27 08:42:47'::timestamp) - extract(epoch from '2026-06-27 08:42: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.019627 -2.79305)', '2026-06-27 08:42:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019622 -2.793111)'), GeomFromEWKT('SRID=4674;POINT (-40.019627 -2.79305)'))) / (select extract(epoch from '2026-06-27 08:42:58'::timestamp) - extract(epoch from '2026-06-27 08:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019622 -2.793111)'), GeomFromEWKT('SRID=4674;POINT (-40.019627 -2.79305)'))) / (select extract(epoch from '2026-06-27 08:42:58'::timestamp) - extract(epoch from '2026-06-27 08:42: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.019585 -2.793)', '2026-06-27 08:43:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019627 -2.79305)'), GeomFromEWKT('SRID=4674;POINT (-40.019585 -2.793)'))) / (select extract(epoch from '2026-06-27 08:43:06'::timestamp) - extract(epoch from '2026-06-27 08:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019627 -2.79305)'), GeomFromEWKT('SRID=4674;POINT (-40.019585 -2.793)'))) / (select extract(epoch from '2026-06-27 08:43:06'::timestamp) - extract(epoch from '2026-06-27 08:42: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.019526 -2.79291)', '2026-06-27 08:43:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019585 -2.793)'), GeomFromEWKT('SRID=4674;POINT (-40.019526 -2.79291)'))) / (select extract(epoch from '2026-06-27 08:43:13'::timestamp) - extract(epoch from '2026-06-27 08:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019585 -2.793)'), GeomFromEWKT('SRID=4674;POINT (-40.019526 -2.79291)'))) / (select extract(epoch from '2026-06-27 08:43:13'::timestamp) - extract(epoch from '2026-06-27 08:43: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.019417 -2.792784)', '2026-06-27 08:43:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019526 -2.79291)'), GeomFromEWKT('SRID=4674;POINT (-40.019417 -2.792784)'))) / (select extract(epoch from '2026-06-27 08:43:23'::timestamp) - extract(epoch from '2026-06-27 08:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019526 -2.79291)'), GeomFromEWKT('SRID=4674;POINT (-40.019417 -2.792784)'))) / (select extract(epoch from '2026-06-27 08:43:23'::timestamp) - extract(epoch from '2026-06-27 08: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.019328 -2.792673)', '2026-06-27 08:43:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019417 -2.792784)'), GeomFromEWKT('SRID=4674;POINT (-40.019328 -2.792673)'))) / (select extract(epoch from '2026-06-27 08:43:31'::timestamp) - extract(epoch from '2026-06-27 08:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019417 -2.792784)'), GeomFromEWKT('SRID=4674;POINT (-40.019328 -2.792673)'))) / (select extract(epoch from '2026-06-27 08:43:31'::timestamp) - extract(epoch from '2026-06-27 08:43: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.019243 -2.792558)', '2026-06-27 08:43:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019328 -2.792673)'), GeomFromEWKT('SRID=4674;POINT (-40.019243 -2.792558)'))) / (select extract(epoch from '2026-06-27 08:43:39'::timestamp) - extract(epoch from '2026-06-27 08:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019328 -2.792673)'), GeomFromEWKT('SRID=4674;POINT (-40.019243 -2.792558)'))) / (select extract(epoch from '2026-06-27 08:43:39'::timestamp) - extract(epoch from '2026-06-27 08:43: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.019179 -2.792429)', '2026-06-27 08:43:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019243 -2.792558)'), GeomFromEWKT('SRID=4674;POINT (-40.019179 -2.792429)'))) / (select extract(epoch from '2026-06-27 08:43:47'::timestamp) - extract(epoch from '2026-06-27 08:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019243 -2.792558)'), GeomFromEWKT('SRID=4674;POINT (-40.019179 -2.792429)'))) / (select extract(epoch from '2026-06-27 08:43:47'::timestamp) - extract(epoch from '2026-06-27 08:43: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.019107 -2.792262)', '2026-06-27 08:43:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019179 -2.792429)'), GeomFromEWKT('SRID=4674;POINT (-40.019107 -2.792262)'))) / (select extract(epoch from '2026-06-27 08:43:57'::timestamp) - extract(epoch from '2026-06-27 08:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019179 -2.792429)'), GeomFromEWKT('SRID=4674;POINT (-40.019107 -2.792262)'))) / (select extract(epoch from '2026-06-27 08:43:57'::timestamp) - extract(epoch from '2026-06-27 08: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.01908 -2.792154)', '2026-06-27 08:44:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019107 -2.792262)'), GeomFromEWKT('SRID=4674;POINT (-40.01908 -2.792154)'))) / (select extract(epoch from '2026-06-27 08:44:03'::timestamp) - extract(epoch from '2026-06-27 08:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019107 -2.792262)'), GeomFromEWKT('SRID=4674;POINT (-40.01908 -2.792154)'))) / (select extract(epoch from '2026-06-27 08:44:03'::timestamp) - extract(epoch from '2026-06-27 08:43: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.019046 -2.79204)', '2026-06-27 08:44:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01908 -2.792154)'), GeomFromEWKT('SRID=4674;POINT (-40.019046 -2.79204)'))) / (select extract(epoch from '2026-06-27 08:44:11'::timestamp) - extract(epoch from '2026-06-27 08:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01908 -2.792154)'), GeomFromEWKT('SRID=4674;POINT (-40.019046 -2.79204)'))) / (select extract(epoch from '2026-06-27 08:44:11'::timestamp) - extract(epoch from '2026-06-27 08:44: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.019007 -2.791978)', '2026-06-27 08:44:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019046 -2.79204)'), GeomFromEWKT('SRID=4674;POINT (-40.019007 -2.791978)'))) / (select extract(epoch from '2026-06-27 08:44:19'::timestamp) - extract(epoch from '2026-06-27 08:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019046 -2.79204)'), GeomFromEWKT('SRID=4674;POINT (-40.019007 -2.791978)'))) / (select extract(epoch from '2026-06-27 08:44:19'::timestamp) - extract(epoch from '2026-06-27 08:44:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.018973 -2.791933)', '2026-06-27 08:44:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019007 -2.791978)'), GeomFromEWKT('SRID=4674;POINT (-40.018973 -2.791933)'))) / (select extract(epoch from '2026-06-27 08:44:30'::timestamp) - extract(epoch from '2026-06-27 08:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019007 -2.791978)'), GeomFromEWKT('SRID=4674;POINT (-40.018973 -2.791933)'))) / (select extract(epoch from '2026-06-27 08:44:30'::timestamp) - extract(epoch from '2026-06-27 08: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.018961 -2.791899)', '2026-06-27 08:44:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018973 -2.791933)'), GeomFromEWKT('SRID=4674;POINT (-40.018961 -2.791899)'))) / (select extract(epoch from '2026-06-27 08:44:37'::timestamp) - extract(epoch from '2026-06-27 08:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018973 -2.791933)'), GeomFromEWKT('SRID=4674;POINT (-40.018961 -2.791899)'))) / (select extract(epoch from '2026-06-27 08:44:37'::timestamp) - extract(epoch from '2026-06-27 08:44: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.018956 -2.79187)', '2026-06-27 08:44:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018961 -2.791899)'), GeomFromEWKT('SRID=4674;POINT (-40.018956 -2.79187)'))) / (select extract(epoch from '2026-06-27 08:44:46'::timestamp) - extract(epoch from '2026-06-27 08:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018961 -2.791899)'), GeomFromEWKT('SRID=4674;POINT (-40.018956 -2.79187)'))) / (select extract(epoch from '2026-06-27 08:44:46'::timestamp) - extract(epoch from '2026-06-27 08:44: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.018958 -2.791877)', '2026-06-27 08:44:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018956 -2.79187)'), GeomFromEWKT('SRID=4674;POINT (-40.018958 -2.791877)'))) / (select extract(epoch from '2026-06-27 08:44:54'::timestamp) - extract(epoch from '2026-06-27 08:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018956 -2.79187)'), GeomFromEWKT('SRID=4674;POINT (-40.018958 -2.791877)'))) / (select extract(epoch from '2026-06-27 08:44:54'::timestamp) - extract(epoch from '2026-06-27 08:44:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.018999 -2.79193)', '2026-06-27 08:45:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018958 -2.791877)'), GeomFromEWKT('SRID=4674;POINT (-40.018999 -2.79193)'))) / (select extract(epoch from '2026-06-27 08:45:02'::timestamp) - extract(epoch from '2026-06-27 08:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018958 -2.791877)'), GeomFromEWKT('SRID=4674;POINT (-40.018999 -2.79193)'))) / (select extract(epoch from '2026-06-27 08:45:02'::timestamp) - extract(epoch from '2026-06-27 08:44:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.019087 -2.79192)', '2026-06-27 08:45:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018999 -2.79193)'), GeomFromEWKT('SRID=4674;POINT (-40.019087 -2.79192)'))) / (select extract(epoch from '2026-06-27 08:45:09'::timestamp) - extract(epoch from '2026-06-27 08:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018999 -2.79193)'), GeomFromEWKT('SRID=4674;POINT (-40.019087 -2.79192)'))) / (select extract(epoch from '2026-06-27 08:45:09'::timestamp) - extract(epoch from '2026-06-27 08:45: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.019124 -2.791829)', '2026-06-27 08:45:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019087 -2.79192)'), GeomFromEWKT('SRID=4674;POINT (-40.019124 -2.791829)'))) / (select extract(epoch from '2026-06-27 08:45:16'::timestamp) - extract(epoch from '2026-06-27 08:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019087 -2.79192)'), GeomFromEWKT('SRID=4674;POINT (-40.019124 -2.791829)'))) / (select extract(epoch from '2026-06-27 08:45:16'::timestamp) - extract(epoch from '2026-06-27 08:45: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.019083 -2.791701)', '2026-06-27 08:45:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019124 -2.791829)'), GeomFromEWKT('SRID=4674;POINT (-40.019083 -2.791701)'))) / (select extract(epoch from '2026-06-27 08:45:24'::timestamp) - extract(epoch from '2026-06-27 08:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019124 -2.791829)'), GeomFromEWKT('SRID=4674;POINT (-40.019083 -2.791701)'))) / (select extract(epoch from '2026-06-27 08:45:24'::timestamp) - extract(epoch from '2026-06-27 08:45:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.019013 -2.79158)', '2026-06-27 08:45:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019083 -2.791701)'), GeomFromEWKT('SRID=4674;POINT (-40.019013 -2.79158)'))) / (select extract(epoch from '2026-06-27 08:45:32'::timestamp) - extract(epoch from '2026-06-27 08:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019083 -2.791701)'), GeomFromEWKT('SRID=4674;POINT (-40.019013 -2.79158)'))) / (select extract(epoch from '2026-06-27 08:45:32'::timestamp) - extract(epoch from '2026-06-27 08:45: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.018904 -2.791439)', '2026-06-27 08:45:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019013 -2.79158)'), GeomFromEWKT('SRID=4674;POINT (-40.018904 -2.791439)'))) / (select extract(epoch from '2026-06-27 08:45:42'::timestamp) - extract(epoch from '2026-06-27 08:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019013 -2.79158)'), GeomFromEWKT('SRID=4674;POINT (-40.018904 -2.791439)'))) / (select extract(epoch from '2026-06-27 08:45:42'::timestamp) - extract(epoch from '2026-06-27 08: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.01882 -2.791339)', '2026-06-27 08:45:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018904 -2.791439)'), GeomFromEWKT('SRID=4674;POINT (-40.01882 -2.791339)'))) / (select extract(epoch from '2026-06-27 08:45:50'::timestamp) - extract(epoch from '2026-06-27 08:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018904 -2.791439)'), GeomFromEWKT('SRID=4674;POINT (-40.01882 -2.791339)'))) / (select extract(epoch from '2026-06-27 08:45:50'::timestamp) - extract(epoch from '2026-06-27 08:45: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.018696 -2.79122)', '2026-06-27 08:46:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01882 -2.791339)'), GeomFromEWKT('SRID=4674;POINT (-40.018696 -2.79122)'))) / (select extract(epoch from '2026-06-27 08:46:00'::timestamp) - extract(epoch from '2026-06-27 08:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01882 -2.791339)'), GeomFromEWKT('SRID=4674;POINT (-40.018696 -2.79122)'))) / (select extract(epoch from '2026-06-27 08:46:00'::timestamp) - extract(epoch from '2026-06-27 08:45: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.018599 -2.791111)', '2026-06-27 08:46:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018696 -2.79122)'), GeomFromEWKT('SRID=4674;POINT (-40.018599 -2.791111)'))) / (select extract(epoch from '2026-06-27 08:46:09'::timestamp) - extract(epoch from '2026-06-27 08:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018696 -2.79122)'), GeomFromEWKT('SRID=4674;POINT (-40.018599 -2.791111)'))) / (select extract(epoch from '2026-06-27 08:46:09'::timestamp) - extract(epoch from '2026-06-27 08:46: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.018521 -2.790989)', '2026-06-27 08:46:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018599 -2.791111)'), GeomFromEWKT('SRID=4674;POINT (-40.018521 -2.790989)'))) / (select extract(epoch from '2026-06-27 08:46:19'::timestamp) - extract(epoch from '2026-06-27 08:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018599 -2.791111)'), GeomFromEWKT('SRID=4674;POINT (-40.018521 -2.790989)'))) / (select extract(epoch from '2026-06-27 08:46:19'::timestamp) - extract(epoch from '2026-06-27 08:46: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.018481 -2.790901)', '2026-06-27 08:46:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018521 -2.790989)'), GeomFromEWKT('SRID=4674;POINT (-40.018481 -2.790901)'))) / (select extract(epoch from '2026-06-27 08:46:27'::timestamp) - extract(epoch from '2026-06-27 08:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018521 -2.790989)'), GeomFromEWKT('SRID=4674;POINT (-40.018481 -2.790901)'))) / (select extract(epoch from '2026-06-27 08:46:27'::timestamp) - extract(epoch from '2026-06-27 08:46: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.01846 -2.790863)', '2026-06-27 08:46:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018481 -2.790901)'), GeomFromEWKT('SRID=4674;POINT (-40.01846 -2.790863)'))) / (select extract(epoch from '2026-06-27 08:46:35'::timestamp) - extract(epoch from '2026-06-27 08:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018481 -2.790901)'), GeomFromEWKT('SRID=4674;POINT (-40.01846 -2.790863)'))) / (select extract(epoch from '2026-06-27 08:46:35'::timestamp) - extract(epoch from '2026-06-27 08:46: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.018459 -2.790839)', '2026-06-27 08:46:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01846 -2.790863)'), GeomFromEWKT('SRID=4674;POINT (-40.018459 -2.790839)'))) / (select extract(epoch from '2026-06-27 08:46:40'::timestamp) - extract(epoch from '2026-06-27 08:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01846 -2.790863)'), GeomFromEWKT('SRID=4674;POINT (-40.018459 -2.790839)'))) / (select extract(epoch from '2026-06-27 08:46:40'::timestamp) - extract(epoch from '2026-06-27 08:46: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.018459 -2.790809)', '2026-06-27 08:46:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018459 -2.790839)'), GeomFromEWKT('SRID=4674;POINT (-40.018459 -2.790809)'))) / (select extract(epoch from '2026-06-27 08:46:47'::timestamp) - extract(epoch from '2026-06-27 08:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018459 -2.790839)'), GeomFromEWKT('SRID=4674;POINT (-40.018459 -2.790809)'))) / (select extract(epoch from '2026-06-27 08:46:47'::timestamp) - extract(epoch from '2026-06-27 08:46: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.01844 -2.790764)', '2026-06-27 08:46:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018459 -2.790809)'), GeomFromEWKT('SRID=4674;POINT (-40.01844 -2.790764)'))) / (select extract(epoch from '2026-06-27 08:46:57'::timestamp) - extract(epoch from '2026-06-27 08:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018459 -2.790809)'), GeomFromEWKT('SRID=4674;POINT (-40.01844 -2.790764)'))) / (select extract(epoch from '2026-06-27 08:46:57'::timestamp) - extract(epoch from '2026-06-27 08:46:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.018401 -2.790773)', '2026-06-27 08:47:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01844 -2.790764)'), GeomFromEWKT('SRID=4674;POINT (-40.018401 -2.790773)'))) / (select extract(epoch from '2026-06-27 08:47:07'::timestamp) - extract(epoch from '2026-06-27 08:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01844 -2.790764)'), GeomFromEWKT('SRID=4674;POINT (-40.018401 -2.790773)'))) / (select extract(epoch from '2026-06-27 08:47:07'::timestamp) - extract(epoch from '2026-06-27 08:46: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.018328 -2.790796)', '2026-06-27 08:47:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018401 -2.790773)'), GeomFromEWKT('SRID=4674;POINT (-40.018328 -2.790796)'))) / (select extract(epoch from '2026-06-27 08:47:25'::timestamp) - extract(epoch from '2026-06-27 08:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018401 -2.790773)'), GeomFromEWKT('SRID=4674;POINT (-40.018328 -2.790796)'))) / (select extract(epoch from '2026-06-27 08:47:25'::timestamp) - extract(epoch from '2026-06-27 08:47: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.018273 -2.790734)', '2026-06-27 08:47:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018328 -2.790796)'), GeomFromEWKT('SRID=4674;POINT (-40.018273 -2.790734)'))) / (select extract(epoch from '2026-06-27 08:47:33'::timestamp) - extract(epoch from '2026-06-27 08:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018328 -2.790796)'), GeomFromEWKT('SRID=4674;POINT (-40.018273 -2.790734)'))) / (select extract(epoch from '2026-06-27 08:47:33'::timestamp) - extract(epoch from '2026-06-27 08:47:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.01824 -2.790624)', '2026-06-27 08:47:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018273 -2.790734)'), GeomFromEWKT('SRID=4674;POINT (-40.01824 -2.790624)'))) / (select extract(epoch from '2026-06-27 08:47:40'::timestamp) - extract(epoch from '2026-06-27 08:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018273 -2.790734)'), GeomFromEWKT('SRID=4674;POINT (-40.01824 -2.790624)'))) / (select extract(epoch from '2026-06-27 08:47:40'::timestamp) - extract(epoch from '2026-06-27 08:47: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.01822 -2.790529)', '2026-06-27 08:47:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01824 -2.790624)'), GeomFromEWKT('SRID=4674;POINT (-40.01822 -2.790529)'))) / (select extract(epoch from '2026-06-27 08:47:46'::timestamp) - extract(epoch from '2026-06-27 08:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01824 -2.790624)'), GeomFromEWKT('SRID=4674;POINT (-40.01822 -2.790529)'))) / (select extract(epoch from '2026-06-27 08:47:46'::timestamp) - extract(epoch from '2026-06-27 08:47: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.018209 -2.790437)', '2026-06-27 08:47:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01822 -2.790529)'), GeomFromEWKT('SRID=4674;POINT (-40.018209 -2.790437)'))) / (select extract(epoch from '2026-06-27 08:47:52'::timestamp) - extract(epoch from '2026-06-27 08:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01822 -2.790529)'), GeomFromEWKT('SRID=4674;POINT (-40.018209 -2.790437)'))) / (select extract(epoch from '2026-06-27 08:47:52'::timestamp) - extract(epoch from '2026-06-27 08:47: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.018193 -2.790338)', '2026-06-27 08:47:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018209 -2.790437)'), GeomFromEWKT('SRID=4674;POINT (-40.018193 -2.790338)'))) / (select extract(epoch from '2026-06-27 08:47:58'::timestamp) - extract(epoch from '2026-06-27 08:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018209 -2.790437)'), GeomFromEWKT('SRID=4674;POINT (-40.018193 -2.790338)'))) / (select extract(epoch from '2026-06-27 08:47:58'::timestamp) - extract(epoch from '2026-06-27 08:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.018157 -2.790238)', '2026-06-27 08:48:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018193 -2.790338)'), GeomFromEWKT('SRID=4674;POINT (-40.018157 -2.790238)'))) / (select extract(epoch from '2026-06-27 08:48:04'::timestamp) - extract(epoch from '2026-06-27 08:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018193 -2.790338)'), GeomFromEWKT('SRID=4674;POINT (-40.018157 -2.790238)'))) / (select extract(epoch from '2026-06-27 08:48:04'::timestamp) - extract(epoch from '2026-06-27 08:47: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.01809 -2.790122)', '2026-06-27 08:48:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018157 -2.790238)'), GeomFromEWKT('SRID=4674;POINT (-40.01809 -2.790122)'))) / (select extract(epoch from '2026-06-27 08:48:12'::timestamp) - extract(epoch from '2026-06-27 08:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018157 -2.790238)'), GeomFromEWKT('SRID=4674;POINT (-40.01809 -2.790122)'))) / (select extract(epoch from '2026-06-27 08:48:12'::timestamp) - extract(epoch from '2026-06-27 08:48: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.018022 -2.790006)', '2026-06-27 08:48:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01809 -2.790122)'), GeomFromEWKT('SRID=4674;POINT (-40.018022 -2.790006)'))) / (select extract(epoch from '2026-06-27 08:48:20'::timestamp) - extract(epoch from '2026-06-27 08:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01809 -2.790122)'), GeomFromEWKT('SRID=4674;POINT (-40.018022 -2.790006)'))) / (select extract(epoch from '2026-06-27 08:48:20'::timestamp) - extract(epoch from '2026-06-27 08:48: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.01798 -2.789903)', '2026-06-27 08:48:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018022 -2.790006)'), GeomFromEWKT('SRID=4674;POINT (-40.01798 -2.789903)'))) / (select extract(epoch from '2026-06-27 08:48:27'::timestamp) - extract(epoch from '2026-06-27 08:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018022 -2.790006)'), GeomFromEWKT('SRID=4674;POINT (-40.01798 -2.789903)'))) / (select extract(epoch from '2026-06-27 08:48:27'::timestamp) - extract(epoch from '2026-06-27 08: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.017918 -2.789792)', '2026-06-27 08:48:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01798 -2.789903)'), GeomFromEWKT('SRID=4674;POINT (-40.017918 -2.789792)'))) / (select extract(epoch from '2026-06-27 08:48:36'::timestamp) - extract(epoch from '2026-06-27 08:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01798 -2.789903)'), GeomFromEWKT('SRID=4674;POINT (-40.017918 -2.789792)'))) / (select extract(epoch from '2026-06-27 08:48:36'::timestamp) - extract(epoch from '2026-06-27 08:48: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.017868 -2.789735)', '2026-06-27 08:48:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017918 -2.789792)'), GeomFromEWKT('SRID=4674;POINT (-40.017868 -2.789735)'))) / (select extract(epoch from '2026-06-27 08:48:44'::timestamp) - extract(epoch from '2026-06-27 08:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017918 -2.789792)'), GeomFromEWKT('SRID=4674;POINT (-40.017868 -2.789735)'))) / (select extract(epoch from '2026-06-27 08:48:44'::timestamp) - extract(epoch from '2026-06-27 08:48: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.017834 -2.789717)', '2026-06-27 08:48:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017868 -2.789735)'), GeomFromEWKT('SRID=4674;POINT (-40.017834 -2.789717)'))) / (select extract(epoch from '2026-06-27 08:48:52'::timestamp) - extract(epoch from '2026-06-27 08:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017868 -2.789735)'), GeomFromEWKT('SRID=4674;POINT (-40.017834 -2.789717)'))) / (select extract(epoch from '2026-06-27 08:48:52'::timestamp) - extract(epoch from '2026-06-27 08:48: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.017827 -2.789705)', '2026-06-27 08:49:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017834 -2.789717)'), GeomFromEWKT('SRID=4674;POINT (-40.017827 -2.789705)'))) / (select extract(epoch from '2026-06-27 08:49:01'::timestamp) - extract(epoch from '2026-06-27 08:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017834 -2.789717)'), GeomFromEWKT('SRID=4674;POINT (-40.017827 -2.789705)'))) / (select extract(epoch from '2026-06-27 08:49:01'::timestamp) - extract(epoch from '2026-06-27 08:48: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.017835 -2.789717)', '2026-06-27 08:49:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017827 -2.789705)'), GeomFromEWKT('SRID=4674;POINT (-40.017835 -2.789717)'))) / (select extract(epoch from '2026-06-27 08:49:13'::timestamp) - extract(epoch from '2026-06-27 08:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017827 -2.789705)'), GeomFromEWKT('SRID=4674;POINT (-40.017835 -2.789717)'))) / (select extract(epoch from '2026-06-27 08:49:13'::timestamp) - extract(epoch from '2026-06-27 08: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.017863 -2.789737)', '2026-06-27 08:49:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017835 -2.789717)'), GeomFromEWKT('SRID=4674;POINT (-40.017863 -2.789737)'))) / (select extract(epoch from '2026-06-27 08:49:19'::timestamp) - extract(epoch from '2026-06-27 08:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017835 -2.789717)'), GeomFromEWKT('SRID=4674;POINT (-40.017863 -2.789737)'))) / (select extract(epoch from '2026-06-27 08:49:19'::timestamp) - extract(epoch from '2026-06-27 08:49: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.017882 -2.789744)', '2026-06-27 08:49:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017863 -2.789737)'), GeomFromEWKT('SRID=4674;POINT (-40.017882 -2.789744)'))) / (select extract(epoch from '2026-06-27 08:49:21'::timestamp) - extract(epoch from '2026-06-27 08:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017863 -2.789737)'), GeomFromEWKT('SRID=4674;POINT (-40.017882 -2.789744)'))) / (select extract(epoch from '2026-06-27 08:49:21'::timestamp) - extract(epoch from '2026-06-27 08:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.017949 -2.789731)', '2026-06-27 08:49:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017882 -2.789744)'), GeomFromEWKT('SRID=4674;POINT (-40.017949 -2.789731)'))) / (select extract(epoch from '2026-06-27 08:49:27'::timestamp) - extract(epoch from '2026-06-27 08:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017882 -2.789744)'), GeomFromEWKT('SRID=4674;POINT (-40.017949 -2.789731)'))) / (select extract(epoch from '2026-06-27 08:49:27'::timestamp) - extract(epoch from '2026-06-27 08:49:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.017986 -2.789667)', '2026-06-27 08:49:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017949 -2.789731)'), GeomFromEWKT('SRID=4674;POINT (-40.017986 -2.789667)'))) / (select extract(epoch from '2026-06-27 08:49:33'::timestamp) - extract(epoch from '2026-06-27 08:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017949 -2.789731)'), GeomFromEWKT('SRID=4674;POINT (-40.017986 -2.789667)'))) / (select extract(epoch from '2026-06-27 08:49:33'::timestamp) - extract(epoch from '2026-06-27 08:49: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.017982 -2.789638)', '2026-06-27 08:49:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017986 -2.789667)'), GeomFromEWKT('SRID=4674;POINT (-40.017982 -2.789638)'))) / (select extract(epoch from '2026-06-27 08:49:36'::timestamp) - extract(epoch from '2026-06-27 08:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017986 -2.789667)'), GeomFromEWKT('SRID=4674;POINT (-40.017982 -2.789638)'))) / (select extract(epoch from '2026-06-27 08:49:36'::timestamp) - extract(epoch from '2026-06-27 08:49: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.01797 -2.789616)', '2026-06-27 08:49:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017982 -2.789638)'), GeomFromEWKT('SRID=4674;POINT (-40.01797 -2.789616)'))) / (select extract(epoch from '2026-06-27 08:49:39'::timestamp) - extract(epoch from '2026-06-27 08:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017982 -2.789638)'), GeomFromEWKT('SRID=4674;POINT (-40.01797 -2.789616)'))) / (select extract(epoch from '2026-06-27 08:49:39'::timestamp) - extract(epoch from '2026-06-27 08:49:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.017922 -2.789586)', '2026-06-27 08:49:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01797 -2.789616)'), GeomFromEWKT('SRID=4674;POINT (-40.017922 -2.789586)'))) / (select extract(epoch from '2026-06-27 08:49:48'::timestamp) - extract(epoch from '2026-06-27 08:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01797 -2.789616)'), GeomFromEWKT('SRID=4674;POINT (-40.017922 -2.789586)'))) / (select extract(epoch from '2026-06-27 08:49:48'::timestamp) - extract(epoch from '2026-06-27 08:49: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.017825 -2.789581)', '2026-06-27 08:50:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017922 -2.789586)'), GeomFromEWKT('SRID=4674;POINT (-40.017825 -2.789581)'))) / (select extract(epoch from '2026-06-27 08:50:00'::timestamp) - extract(epoch from '2026-06-27 08:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017922 -2.789586)'), GeomFromEWKT('SRID=4674;POINT (-40.017825 -2.789581)'))) / (select extract(epoch from '2026-06-27 08:50:00'::timestamp) - extract(epoch from '2026-06-27 08:49: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.017747 -2.789499)', '2026-06-27 08:50:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017825 -2.789581)'), GeomFromEWKT('SRID=4674;POINT (-40.017747 -2.789499)'))) / (select extract(epoch from '2026-06-27 08:50:09'::timestamp) - extract(epoch from '2026-06-27 08:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017825 -2.789581)'), GeomFromEWKT('SRID=4674;POINT (-40.017747 -2.789499)'))) / (select extract(epoch from '2026-06-27 08:50:09'::timestamp) - extract(epoch from '2026-06-27 08:50: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.017666 -2.789412)', '2026-06-27 08:50:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017747 -2.789499)'), GeomFromEWKT('SRID=4674;POINT (-40.017666 -2.789412)'))) / (select extract(epoch from '2026-06-27 08:50:17'::timestamp) - extract(epoch from '2026-06-27 08:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017747 -2.789499)'), GeomFromEWKT('SRID=4674;POINT (-40.017666 -2.789412)'))) / (select extract(epoch from '2026-06-27 08:50:17'::timestamp) - extract(epoch from '2026-06-27 08:50: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.017634 -2.789355)', '2026-06-27 08:50:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017666 -2.789412)'), GeomFromEWKT('SRID=4674;POINT (-40.017634 -2.789355)'))) / (select extract(epoch from '2026-06-27 08:50:21'::timestamp) - extract(epoch from '2026-06-27 08:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017666 -2.789412)'), GeomFromEWKT('SRID=4674;POINT (-40.017634 -2.789355)'))) / (select extract(epoch from '2026-06-27 08:50:21'::timestamp) - extract(epoch from '2026-06-27 08:50: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.017629 -2.789321)', '2026-06-27 08:50:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017634 -2.789355)'), GeomFromEWKT('SRID=4674;POINT (-40.017629 -2.789321)'))) / (select extract(epoch from '2026-06-27 08:50:23'::timestamp) - extract(epoch from '2026-06-27 08:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017634 -2.789355)'), GeomFromEWKT('SRID=4674;POINT (-40.017629 -2.789321)'))) / (select extract(epoch from '2026-06-27 08:50:23'::timestamp) - extract(epoch from '2026-06-27 08: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.017597 -2.789192)', '2026-06-27 08:50:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017629 -2.789321)'), GeomFromEWKT('SRID=4674;POINT (-40.017597 -2.789192)'))) / (select extract(epoch from '2026-06-27 08:50:32'::timestamp) - extract(epoch from '2026-06-27 08:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017629 -2.789321)'), GeomFromEWKT('SRID=4674;POINT (-40.017597 -2.789192)'))) / (select extract(epoch from '2026-06-27 08:50:32'::timestamp) - extract(epoch from '2026-06-27 08:50: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.017561 -2.789117)', '2026-06-27 08:50:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017597 -2.789192)'), GeomFromEWKT('SRID=4674;POINT (-40.017561 -2.789117)'))) / (select extract(epoch from '2026-06-27 08:50:38'::timestamp) - extract(epoch from '2026-06-27 08:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017597 -2.789192)'), GeomFromEWKT('SRID=4674;POINT (-40.017561 -2.789117)'))) / (select extract(epoch from '2026-06-27 08:50:38'::timestamp) - extract(epoch from '2026-06-27 08:50: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.01752 -2.789005)', '2026-06-27 08:50:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017561 -2.789117)'), GeomFromEWKT('SRID=4674;POINT (-40.01752 -2.789005)'))) / (select extract(epoch from '2026-06-27 08:50:46'::timestamp) - extract(epoch from '2026-06-27 08:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017561 -2.789117)'), GeomFromEWKT('SRID=4674;POINT (-40.01752 -2.789005)'))) / (select extract(epoch from '2026-06-27 08:50:46'::timestamp) - extract(epoch from '2026-06-27 08:50:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.017488 -2.788907)', '2026-06-27 08:50:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01752 -2.789005)'), GeomFromEWKT('SRID=4674;POINT (-40.017488 -2.788907)'))) / (select extract(epoch from '2026-06-27 08:50:53'::timestamp) - extract(epoch from '2026-06-27 08:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01752 -2.789005)'), GeomFromEWKT('SRID=4674;POINT (-40.017488 -2.788907)'))) / (select extract(epoch from '2026-06-27 08:50:53'::timestamp) - extract(epoch from '2026-06-27 08:50: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.017466 -2.788785)', '2026-06-27 08:51:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017488 -2.788907)'), GeomFromEWKT('SRID=4674;POINT (-40.017466 -2.788785)'))) / (select extract(epoch from '2026-06-27 08:51:01'::timestamp) - extract(epoch from '2026-06-27 08:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017488 -2.788907)'), GeomFromEWKT('SRID=4674;POINT (-40.017466 -2.788785)'))) / (select extract(epoch from '2026-06-27 08:51:01'::timestamp) - extract(epoch from '2026-06-27 08:50: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.017423 -2.788681)', '2026-06-27 08:51:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017466 -2.788785)'), GeomFromEWKT('SRID=4674;POINT (-40.017423 -2.788681)'))) / (select extract(epoch from '2026-06-27 08:51:09'::timestamp) - extract(epoch from '2026-06-27 08:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017466 -2.788785)'), GeomFromEWKT('SRID=4674;POINT (-40.017423 -2.788681)'))) / (select extract(epoch from '2026-06-27 08:51:09'::timestamp) - extract(epoch from '2026-06-27 08:51: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.01737 -2.788585)', '2026-06-27 08:51:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017423 -2.788681)'), GeomFromEWKT('SRID=4674;POINT (-40.01737 -2.788585)'))) / (select extract(epoch from '2026-06-27 08:51:17'::timestamp) - extract(epoch from '2026-06-27 08:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017423 -2.788681)'), GeomFromEWKT('SRID=4674;POINT (-40.01737 -2.788585)'))) / (select extract(epoch from '2026-06-27 08:51:17'::timestamp) - extract(epoch from '2026-06-27 08:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.017334 -2.788464)', '2026-06-27 08:51:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01737 -2.788585)'), GeomFromEWKT('SRID=4674;POINT (-40.017334 -2.788464)'))) / (select extract(epoch from '2026-06-27 08:51:26'::timestamp) - extract(epoch from '2026-06-27 08:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01737 -2.788585)'), GeomFromEWKT('SRID=4674;POINT (-40.017334 -2.788464)'))) / (select extract(epoch from '2026-06-27 08:51:26'::timestamp) - extract(epoch from '2026-06-27 08: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.017277 -2.788366)', '2026-06-27 08:51:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017334 -2.788464)'), GeomFromEWKT('SRID=4674;POINT (-40.017277 -2.788366)'))) / (select extract(epoch from '2026-06-27 08:51:34'::timestamp) - extract(epoch from '2026-06-27 08:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017334 -2.788464)'), GeomFromEWKT('SRID=4674;POINT (-40.017277 -2.788366)'))) / (select extract(epoch from '2026-06-27 08:51:34'::timestamp) - extract(epoch from '2026-06-27 08:51:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.017171 -2.788356)', '2026-06-27 08:51:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017277 -2.788366)'), GeomFromEWKT('SRID=4674;POINT (-40.017171 -2.788356)'))) / (select extract(epoch from '2026-06-27 08:51:42'::timestamp) - extract(epoch from '2026-06-27 08:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017277 -2.788366)'), GeomFromEWKT('SRID=4674;POINT (-40.017171 -2.788356)'))) / (select extract(epoch from '2026-06-27 08:51:42'::timestamp) - extract(epoch from '2026-06-27 08: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.017151 -2.788371)', '2026-06-27 08:51:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017171 -2.788356)'), GeomFromEWKT('SRID=4674;POINT (-40.017151 -2.788371)'))) / (select extract(epoch from '2026-06-27 08:51:44'::timestamp) - extract(epoch from '2026-06-27 08:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017171 -2.788356)'), GeomFromEWKT('SRID=4674;POINT (-40.017151 -2.788371)'))) / (select extract(epoch from '2026-06-27 08:51:44'::timestamp) - extract(epoch from '2026-06-27 08:51: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.017134 -2.788414)', '2026-06-27 08:51:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017151 -2.788371)'), GeomFromEWKT('SRID=4674;POINT (-40.017134 -2.788414)'))) / (select extract(epoch from '2026-06-27 08:51:48'::timestamp) - extract(epoch from '2026-06-27 08:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017151 -2.788371)'), GeomFromEWKT('SRID=4674;POINT (-40.017134 -2.788414)'))) / (select extract(epoch from '2026-06-27 08:51:48'::timestamp) - extract(epoch from '2026-06-27 08:51: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.017163 -2.788493)', '2026-06-27 08:51:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017134 -2.788414)'), GeomFromEWKT('SRID=4674;POINT (-40.017163 -2.788493)'))) / (select extract(epoch from '2026-06-27 08:51:57'::timestamp) - extract(epoch from '2026-06-27 08:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017134 -2.788414)'), GeomFromEWKT('SRID=4674;POINT (-40.017163 -2.788493)'))) / (select extract(epoch from '2026-06-27 08:51:57'::timestamp) - extract(epoch from '2026-06-27 08:51: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.017212 -2.788533)', '2026-06-27 08:52:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017163 -2.788493)'), GeomFromEWKT('SRID=4674;POINT (-40.017212 -2.788533)'))) / (select extract(epoch from '2026-06-27 08:52:04'::timestamp) - extract(epoch from '2026-06-27 08:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017163 -2.788493)'), GeomFromEWKT('SRID=4674;POINT (-40.017212 -2.788533)'))) / (select extract(epoch from '2026-06-27 08:52:04'::timestamp) - extract(epoch from '2026-06-27 08:51: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.017245 -2.788577)', '2026-06-27 08:52:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017212 -2.788533)'), GeomFromEWKT('SRID=4674;POINT (-40.017245 -2.788577)'))) / (select extract(epoch from '2026-06-27 08:52:12'::timestamp) - extract(epoch from '2026-06-27 08:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017212 -2.788533)'), GeomFromEWKT('SRID=4674;POINT (-40.017245 -2.788577)'))) / (select extract(epoch from '2026-06-27 08:52:12'::timestamp) - extract(epoch from '2026-06-27 08:52: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.017233 -2.78863)', '2026-06-27 08:52:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017245 -2.788577)'), GeomFromEWKT('SRID=4674;POINT (-40.017233 -2.78863)'))) / (select extract(epoch from '2026-06-27 08:52:21'::timestamp) - extract(epoch from '2026-06-27 08:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017245 -2.788577)'), GeomFromEWKT('SRID=4674;POINT (-40.017233 -2.78863)'))) / (select extract(epoch from '2026-06-27 08:52:21'::timestamp) - extract(epoch from '2026-06-27 08:52: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.017174 -2.788631)', '2026-06-27 08:52:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017233 -2.78863)'), GeomFromEWKT('SRID=4674;POINT (-40.017174 -2.788631)'))) / (select extract(epoch from '2026-06-27 08:52:30'::timestamp) - extract(epoch from '2026-06-27 08:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017233 -2.78863)'), GeomFromEWKT('SRID=4674;POINT (-40.017174 -2.788631)'))) / (select extract(epoch from '2026-06-27 08:52:30'::timestamp) - extract(epoch from '2026-06-27 08: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.017147 -2.788604)', '2026-06-27 08:52:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017174 -2.788631)'), GeomFromEWKT('SRID=4674;POINT (-40.017147 -2.788604)'))) / (select extract(epoch from '2026-06-27 08:52:34'::timestamp) - extract(epoch from '2026-06-27 08:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017174 -2.788631)'), GeomFromEWKT('SRID=4674;POINT (-40.017147 -2.788604)'))) / (select extract(epoch from '2026-06-27 08:52:34'::timestamp) - extract(epoch from '2026-06-27 08:52: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.017135 -2.788584)', '2026-06-27 08:52:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017147 -2.788604)'), GeomFromEWKT('SRID=4674;POINT (-40.017135 -2.788584)'))) / (select extract(epoch from '2026-06-27 08:52:36'::timestamp) - extract(epoch from '2026-06-27 08:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017147 -2.788604)'), GeomFromEWKT('SRID=4674;POINT (-40.017135 -2.788584)'))) / (select extract(epoch from '2026-06-27 08:52:36'::timestamp) - extract(epoch from '2026-06-27 08:52: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.017129 -2.788571)', '2026-06-27 08:52:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017135 -2.788584)'), GeomFromEWKT('SRID=4674;POINT (-40.017129 -2.788571)'))) / (select extract(epoch from '2026-06-27 08:52:37'::timestamp) - extract(epoch from '2026-06-27 08:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017135 -2.788584)'), GeomFromEWKT('SRID=4674;POINT (-40.017129 -2.788571)'))) / (select extract(epoch from '2026-06-27 08:52:37'::timestamp) - extract(epoch from '2026-06-27 08:52: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.017108 -2.788451)', '2026-06-27 08:52:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017129 -2.788571)'), GeomFromEWKT('SRID=4674;POINT (-40.017108 -2.788451)'))) / (select extract(epoch from '2026-06-27 08:52:44'::timestamp) - extract(epoch from '2026-06-27 08:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017129 -2.788571)'), GeomFromEWKT('SRID=4674;POINT (-40.017108 -2.788451)'))) / (select extract(epoch from '2026-06-27 08:52:44'::timestamp) - extract(epoch from '2026-06-27 08:52: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.017102 -2.788332)', '2026-06-27 08:52:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017108 -2.788451)'), GeomFromEWKT('SRID=4674;POINT (-40.017102 -2.788332)'))) / (select extract(epoch from '2026-06-27 08:52:50'::timestamp) - extract(epoch from '2026-06-27 08:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017108 -2.788451)'), GeomFromEWKT('SRID=4674;POINT (-40.017102 -2.788332)'))) / (select extract(epoch from '2026-06-27 08:52:50'::timestamp) - extract(epoch from '2026-06-27 08: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.017077 -2.788181)', '2026-06-27 08:52:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017102 -2.788332)'), GeomFromEWKT('SRID=4674;POINT (-40.017077 -2.788181)'))) / (select extract(epoch from '2026-06-27 08:52:58'::timestamp) - extract(epoch from '2026-06-27 08:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017102 -2.788332)'), GeomFromEWKT('SRID=4674;POINT (-40.017077 -2.788181)'))) / (select extract(epoch from '2026-06-27 08:52:58'::timestamp) - extract(epoch from '2026-06-27 08:52: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.017045 -2.788073)', '2026-06-27 08:53:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017077 -2.788181)'), GeomFromEWKT('SRID=4674;POINT (-40.017045 -2.788073)'))) / (select extract(epoch from '2026-06-27 08:53:04'::timestamp) - extract(epoch from '2026-06-27 08:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017077 -2.788181)'), GeomFromEWKT('SRID=4674;POINT (-40.017045 -2.788073)'))) / (select extract(epoch from '2026-06-27 08:53:04'::timestamp) - extract(epoch from '2026-06-27 08: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.016977 -2.787938)', '2026-06-27 08:53:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017045 -2.788073)'), GeomFromEWKT('SRID=4674;POINT (-40.016977 -2.787938)'))) / (select extract(epoch from '2026-06-27 08:53:12'::timestamp) - extract(epoch from '2026-06-27 08:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017045 -2.788073)'), GeomFromEWKT('SRID=4674;POINT (-40.016977 -2.787938)'))) / (select extract(epoch from '2026-06-27 08:53:12'::timestamp) - extract(epoch from '2026-06-27 08:53:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.016927 -2.787839)', '2026-06-27 08:53:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016977 -2.787938)'), GeomFromEWKT('SRID=4674;POINT (-40.016927 -2.787839)'))) / (select extract(epoch from '2026-06-27 08:53:18'::timestamp) - extract(epoch from '2026-06-27 08:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016977 -2.787938)'), GeomFromEWKT('SRID=4674;POINT (-40.016927 -2.787839)'))) / (select extract(epoch from '2026-06-27 08:53:18'::timestamp) - extract(epoch from '2026-06-27 08:53: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.016889 -2.787754)', '2026-06-27 08:53:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016927 -2.787839)'), GeomFromEWKT('SRID=4674;POINT (-40.016889 -2.787754)'))) / (select extract(epoch from '2026-06-27 08:53:23'::timestamp) - extract(epoch from '2026-06-27 08:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016927 -2.787839)'), GeomFromEWKT('SRID=4674;POINT (-40.016889 -2.787754)'))) / (select extract(epoch from '2026-06-27 08:53:23'::timestamp) - extract(epoch from '2026-06-27 08: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.016843 -2.787651)', '2026-06-27 08:53:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016889 -2.787754)'), GeomFromEWKT('SRID=4674;POINT (-40.016843 -2.787651)'))) / (select extract(epoch from '2026-06-27 08:53:29'::timestamp) - extract(epoch from '2026-06-27 08:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016889 -2.787754)'), GeomFromEWKT('SRID=4674;POINT (-40.016843 -2.787651)'))) / (select extract(epoch from '2026-06-27 08:53:29'::timestamp) - extract(epoch from '2026-06-27 08:53:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.016787 -2.787557)', '2026-06-27 08:53:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016843 -2.787651)'), GeomFromEWKT('SRID=4674;POINT (-40.016787 -2.787557)'))) / (select extract(epoch from '2026-06-27 08:53:35'::timestamp) - extract(epoch from '2026-06-27 08:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016843 -2.787651)'), GeomFromEWKT('SRID=4674;POINT (-40.016787 -2.787557)'))) / (select extract(epoch from '2026-06-27 08:53:35'::timestamp) - extract(epoch from '2026-06-27 08:53: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.01668 -2.787484)', '2026-06-27 08:53:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016787 -2.787557)'), GeomFromEWKT('SRID=4674;POINT (-40.01668 -2.787484)'))) / (select extract(epoch from '2026-06-27 08:53:43'::timestamp) - extract(epoch from '2026-06-27 08:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016787 -2.787557)'), GeomFromEWKT('SRID=4674;POINT (-40.01668 -2.787484)'))) / (select extract(epoch from '2026-06-27 08:53:43'::timestamp) - extract(epoch from '2026-06-27 08:53: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.016586 -2.787418)', '2026-06-27 08:53:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01668 -2.787484)'), GeomFromEWKT('SRID=4674;POINT (-40.016586 -2.787418)'))) / (select extract(epoch from '2026-06-27 08:53:52'::timestamp) - extract(epoch from '2026-06-27 08:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01668 -2.787484)'), GeomFromEWKT('SRID=4674;POINT (-40.016586 -2.787418)'))) / (select extract(epoch from '2026-06-27 08:53:52'::timestamp) - extract(epoch from '2026-06-27 08: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.016558 -2.787343)', '2026-06-27 08:53:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016586 -2.787418)'), GeomFromEWKT('SRID=4674;POINT (-40.016558 -2.787343)'))) / (select extract(epoch from '2026-06-27 08:53:59'::timestamp) - extract(epoch from '2026-06-27 08:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016586 -2.787418)'), GeomFromEWKT('SRID=4674;POINT (-40.016558 -2.787343)'))) / (select extract(epoch from '2026-06-27 08:53:59'::timestamp) - extract(epoch from '2026-06-27 08:53:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.016505 -2.787274)', '2026-06-27 08:54:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016558 -2.787343)'), GeomFromEWKT('SRID=4674;POINT (-40.016505 -2.787274)'))) / (select extract(epoch from '2026-06-27 08:54:07'::timestamp) - extract(epoch from '2026-06-27 08:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016558 -2.787343)'), GeomFromEWKT('SRID=4674;POINT (-40.016505 -2.787274)'))) / (select extract(epoch from '2026-06-27 08:54:07'::timestamp) - extract(epoch from '2026-06-27 08:53: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.01645 -2.787255)', '2026-06-27 08:54:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016505 -2.787274)'), GeomFromEWKT('SRID=4674;POINT (-40.01645 -2.787255)'))) / (select extract(epoch from '2026-06-27 08:54:15'::timestamp) - extract(epoch from '2026-06-27 08:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016505 -2.787274)'), GeomFromEWKT('SRID=4674;POINT (-40.01645 -2.787255)'))) / (select extract(epoch from '2026-06-27 08:54:15'::timestamp) - extract(epoch from '2026-06-27 08:54: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.016411 -2.787282)', '2026-06-27 08:54:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01645 -2.787255)'), GeomFromEWKT('SRID=4674;POINT (-40.016411 -2.787282)'))) / (select extract(epoch from '2026-06-27 08:54:30'::timestamp) - extract(epoch from '2026-06-27 08:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01645 -2.787255)'), GeomFromEWKT('SRID=4674;POINT (-40.016411 -2.787282)'))) / (select extract(epoch from '2026-06-27 08:54:30'::timestamp) - extract(epoch from '2026-06-27 08:54: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.016433 -2.787295)', '2026-06-27 08:54:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016411 -2.787282)'), GeomFromEWKT('SRID=4674;POINT (-40.016433 -2.787295)'))) / (select extract(epoch from '2026-06-27 08:54:35'::timestamp) - extract(epoch from '2026-06-27 08:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016411 -2.787282)'), GeomFromEWKT('SRID=4674;POINT (-40.016433 -2.787295)'))) / (select extract(epoch from '2026-06-27 08:54:35'::timestamp) - extract(epoch from '2026-06-27 08: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.016445 -2.787298)', '2026-06-27 08:54:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016433 -2.787295)'), GeomFromEWKT('SRID=4674;POINT (-40.016445 -2.787298)'))) / (select extract(epoch from '2026-06-27 08:54:37'::timestamp) - extract(epoch from '2026-06-27 08:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016433 -2.787295)'), GeomFromEWKT('SRID=4674;POINT (-40.016445 -2.787298)'))) / (select extract(epoch from '2026-06-27 08:54:37'::timestamp) - extract(epoch from '2026-06-27 08:54: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.016464 -2.787324)', '2026-06-27 08:54:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016445 -2.787298)'), GeomFromEWKT('SRID=4674;POINT (-40.016464 -2.787324)'))) / (select extract(epoch from '2026-06-27 08:54:44'::timestamp) - extract(epoch from '2026-06-27 08:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016445 -2.787298)'), GeomFromEWKT('SRID=4674;POINT (-40.016464 -2.787324)'))) / (select extract(epoch from '2026-06-27 08:54:44'::timestamp) - extract(epoch from '2026-06-27 08:54: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.016488 -2.787347)', '2026-06-27 08:54:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016464 -2.787324)'), GeomFromEWKT('SRID=4674;POINT (-40.016488 -2.787347)'))) / (select extract(epoch from '2026-06-27 08:54:50'::timestamp) - extract(epoch from '2026-06-27 08:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016464 -2.787324)'), GeomFromEWKT('SRID=4674;POINT (-40.016488 -2.787347)'))) / (select extract(epoch from '2026-06-27 08:54:50'::timestamp) - extract(epoch from '2026-06-27 08:54: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.016546 -2.787361)', '2026-06-27 08:54:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016488 -2.787347)'), GeomFromEWKT('SRID=4674;POINT (-40.016546 -2.787361)'))) / (select extract(epoch from '2026-06-27 08:54:58'::timestamp) - extract(epoch from '2026-06-27 08:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016488 -2.787347)'), GeomFromEWKT('SRID=4674;POINT (-40.016546 -2.787361)'))) / (select extract(epoch from '2026-06-27 08:54:58'::timestamp) - extract(epoch from '2026-06-27 08:54: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.016585 -2.787348)', '2026-06-27 08:55:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016546 -2.787361)'), GeomFromEWKT('SRID=4674;POINT (-40.016585 -2.787348)'))) / (select extract(epoch from '2026-06-27 08:55:03'::timestamp) - extract(epoch from '2026-06-27 08:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016546 -2.787361)'), GeomFromEWKT('SRID=4674;POINT (-40.016585 -2.787348)'))) / (select extract(epoch from '2026-06-27 08:55:03'::timestamp) - extract(epoch from '2026-06-27 08:54: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.016612 -2.787306)', '2026-06-27 08:55:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016585 -2.787348)'), GeomFromEWKT('SRID=4674;POINT (-40.016612 -2.787306)'))) / (select extract(epoch from '2026-06-27 08:55:09'::timestamp) - extract(epoch from '2026-06-27 08:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016585 -2.787348)'), GeomFromEWKT('SRID=4674;POINT (-40.016612 -2.787306)'))) / (select extract(epoch from '2026-06-27 08:55:09'::timestamp) - extract(epoch from '2026-06-27 08:55: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.016604 -2.787236)', '2026-06-27 08:55:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016612 -2.787306)'), GeomFromEWKT('SRID=4674;POINT (-40.016604 -2.787236)'))) / (select extract(epoch from '2026-06-27 08:55:19'::timestamp) - extract(epoch from '2026-06-27 08:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016612 -2.787306)'), GeomFromEWKT('SRID=4674;POINT (-40.016604 -2.787236)'))) / (select extract(epoch from '2026-06-27 08:55:19'::timestamp) - extract(epoch from '2026-06-27 08:55: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.016639 -2.78714)', '2026-06-27 08:55:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016604 -2.787236)'), GeomFromEWKT('SRID=4674;POINT (-40.016639 -2.78714)'))) / (select extract(epoch from '2026-06-27 08:55:35'::timestamp) - extract(epoch from '2026-06-27 08:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016604 -2.787236)'), GeomFromEWKT('SRID=4674;POINT (-40.016639 -2.78714)'))) / (select extract(epoch from '2026-06-27 08:55:35'::timestamp) - extract(epoch from '2026-06-27 08:55: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.01666 -2.78713)', '2026-06-27 08:55:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016639 -2.78714)'), GeomFromEWKT('SRID=4674;POINT (-40.01666 -2.78713)'))) / (select extract(epoch from '2026-06-27 08:55:39'::timestamp) - extract(epoch from '2026-06-27 08:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016639 -2.78714)'), GeomFromEWKT('SRID=4674;POINT (-40.01666 -2.78713)'))) / (select extract(epoch from '2026-06-27 08:55:39'::timestamp) - extract(epoch from '2026-06-27 08:55: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.0167 -2.787122)', '2026-06-27 08:55:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01666 -2.78713)'), GeomFromEWKT('SRID=4674;POINT (-40.0167 -2.787122)'))) / (select extract(epoch from '2026-06-27 08:55:45'::timestamp) - extract(epoch from '2026-06-27 08:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01666 -2.78713)'), GeomFromEWKT('SRID=4674;POINT (-40.0167 -2.787122)'))) / (select extract(epoch from '2026-06-27 08:55:45'::timestamp) - extract(epoch from '2026-06-27 08:55: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.016759 -2.787138)', '2026-06-27 08:55:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0167 -2.787122)'), GeomFromEWKT('SRID=4674;POINT (-40.016759 -2.787138)'))) / (select extract(epoch from '2026-06-27 08:55:54'::timestamp) - extract(epoch from '2026-06-27 08:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0167 -2.787122)'), GeomFromEWKT('SRID=4674;POINT (-40.016759 -2.787138)'))) / (select extract(epoch from '2026-06-27 08:55:54'::timestamp) - extract(epoch from '2026-06-27 08:55: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.016847 -2.787124)', '2026-06-27 08:56:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016759 -2.787138)'), GeomFromEWKT('SRID=4674;POINT (-40.016847 -2.787124)'))) / (select extract(epoch from '2026-06-27 08:56:03'::timestamp) - extract(epoch from '2026-06-27 08:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016759 -2.787138)'), GeomFromEWKT('SRID=4674;POINT (-40.016847 -2.787124)'))) / (select extract(epoch from '2026-06-27 08:56:03'::timestamp) - extract(epoch from '2026-06-27 08: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.016873 -2.787077)', '2026-06-27 08:56:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016847 -2.787124)'), GeomFromEWKT('SRID=4674;POINT (-40.016873 -2.787077)'))) / (select extract(epoch from '2026-06-27 08:56:07'::timestamp) - extract(epoch from '2026-06-27 08:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016847 -2.787124)'), GeomFromEWKT('SRID=4674;POINT (-40.016873 -2.787077)'))) / (select extract(epoch from '2026-06-27 08:56:07'::timestamp) - extract(epoch from '2026-06-27 08:56: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.016873 -2.787039)', '2026-06-27 08:56:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016873 -2.787077)'), GeomFromEWKT('SRID=4674;POINT (-40.016873 -2.787039)'))) / (select extract(epoch from '2026-06-27 08:56:10'::timestamp) - extract(epoch from '2026-06-27 08:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016873 -2.787077)'), GeomFromEWKT('SRID=4674;POINT (-40.016873 -2.787039)'))) / (select extract(epoch from '2026-06-27 08:56:10'::timestamp) - extract(epoch from '2026-06-27 08:56: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.01684 -2.786992)', '2026-06-27 08:56:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016873 -2.787039)'), GeomFromEWKT('SRID=4674;POINT (-40.01684 -2.786992)'))) / (select extract(epoch from '2026-06-27 08:56:18'::timestamp) - extract(epoch from '2026-06-27 08:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016873 -2.787039)'), GeomFromEWKT('SRID=4674;POINT (-40.01684 -2.786992)'))) / (select extract(epoch from '2026-06-27 08:56:18'::timestamp) - extract(epoch from '2026-06-27 08:56: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.016793 -2.787019)', '2026-06-27 08:56:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01684 -2.786992)'), GeomFromEWKT('SRID=4674;POINT (-40.016793 -2.787019)'))) / (select extract(epoch from '2026-06-27 08:56:26'::timestamp) - extract(epoch from '2026-06-27 08:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01684 -2.786992)'), GeomFromEWKT('SRID=4674;POINT (-40.016793 -2.787019)'))) / (select extract(epoch from '2026-06-27 08:56:26'::timestamp) - extract(epoch from '2026-06-27 08:56:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.016799 -2.787098)', '2026-06-27 08:56:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016793 -2.787019)'), GeomFromEWKT('SRID=4674;POINT (-40.016799 -2.787098)'))) / (select extract(epoch from '2026-06-27 08:56:39'::timestamp) - extract(epoch from '2026-06-27 08:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016793 -2.787019)'), GeomFromEWKT('SRID=4674;POINT (-40.016799 -2.787098)'))) / (select extract(epoch from '2026-06-27 08:56:39'::timestamp) - extract(epoch from '2026-06-27 08:56: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.016804 -2.787179)', '2026-06-27 08:56:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016799 -2.787098)'), GeomFromEWKT('SRID=4674;POINT (-40.016804 -2.787179)'))) / (select extract(epoch from '2026-06-27 08:56:50'::timestamp) - extract(epoch from '2026-06-27 08:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016799 -2.787098)'), GeomFromEWKT('SRID=4674;POINT (-40.016804 -2.787179)'))) / (select extract(epoch from '2026-06-27 08:56:50'::timestamp) - extract(epoch from '2026-06-27 08:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.016799 -2.787185)', '2026-06-27 08:56:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016804 -2.787179)'), GeomFromEWKT('SRID=4674;POINT (-40.016799 -2.787185)'))) / (select extract(epoch from '2026-06-27 08:56:51'::timestamp) - extract(epoch from '2026-06-27 08:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016804 -2.787179)'), GeomFromEWKT('SRID=4674;POINT (-40.016799 -2.787185)'))) / (select extract(epoch from '2026-06-27 08:56:51'::timestamp) - extract(epoch from '2026-06-27 08:56:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.016765 -2.787218)', '2026-06-27 08:57:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016799 -2.787185)'), GeomFromEWKT('SRID=4674;POINT (-40.016765 -2.787218)'))) / (select extract(epoch from '2026-06-27 08:57:01'::timestamp) - extract(epoch from '2026-06-27 08:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016799 -2.787185)'), GeomFromEWKT('SRID=4674;POINT (-40.016765 -2.787218)'))) / (select extract(epoch from '2026-06-27 08:57:01'::timestamp) - extract(epoch from '2026-06-27 08:56: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.016728 -2.787176)', '2026-06-27 08:57:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016765 -2.787218)'), GeomFromEWKT('SRID=4674;POINT (-40.016728 -2.787176)'))) / (select extract(epoch from '2026-06-27 08:57:16'::timestamp) - extract(epoch from '2026-06-27 08:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016765 -2.787218)'), GeomFromEWKT('SRID=4674;POINT (-40.016728 -2.787176)'))) / (select extract(epoch from '2026-06-27 08:57:16'::timestamp) - extract(epoch from '2026-06-27 08:57: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.016757 -2.787114)', '2026-06-27 08:57:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016728 -2.787176)'), GeomFromEWKT('SRID=4674;POINT (-40.016757 -2.787114)'))) / (select extract(epoch from '2026-06-27 08:57:23'::timestamp) - extract(epoch from '2026-06-27 08:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016728 -2.787176)'), GeomFromEWKT('SRID=4674;POINT (-40.016757 -2.787114)'))) / (select extract(epoch from '2026-06-27 08:57:23'::timestamp) - extract(epoch from '2026-06-27 08:57: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.016767 -2.787107)', '2026-06-27 08:57:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016757 -2.787114)'), GeomFromEWKT('SRID=4674;POINT (-40.016767 -2.787107)'))) / (select extract(epoch from '2026-06-27 08:57:24'::timestamp) - extract(epoch from '2026-06-27 08:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016757 -2.787114)'), GeomFromEWKT('SRID=4674;POINT (-40.016767 -2.787107)'))) / (select extract(epoch from '2026-06-27 08:57:24'::timestamp) - extract(epoch from '2026-06-27 08:57: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.016803 -2.787098)', '2026-06-27 08:57:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016767 -2.787107)'), GeomFromEWKT('SRID=4674;POINT (-40.016803 -2.787098)'))) / (select extract(epoch from '2026-06-27 08:57:27'::timestamp) - extract(epoch from '2026-06-27 08:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016767 -2.787107)'), GeomFromEWKT('SRID=4674;POINT (-40.016803 -2.787098)'))) / (select extract(epoch from '2026-06-27 08:57:27'::timestamp) - extract(epoch from '2026-06-27 08:57: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.016833 -2.787112)', '2026-06-27 08:57:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016803 -2.787098)'), GeomFromEWKT('SRID=4674;POINT (-40.016833 -2.787112)'))) / (select extract(epoch from '2026-06-27 08:57:30'::timestamp) - extract(epoch from '2026-06-27 08:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016803 -2.787098)'), GeomFromEWKT('SRID=4674;POINT (-40.016833 -2.787112)'))) / (select extract(epoch from '2026-06-27 08:57:30'::timestamp) - extract(epoch from '2026-06-27 08:57: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.016846 -2.787172)', '2026-06-27 08:57:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016833 -2.787112)'), GeomFromEWKT('SRID=4674;POINT (-40.016846 -2.787172)'))) / (select extract(epoch from '2026-06-27 08:57:37'::timestamp) - extract(epoch from '2026-06-27 08:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016833 -2.787112)'), GeomFromEWKT('SRID=4674;POINT (-40.016846 -2.787172)'))) / (select extract(epoch from '2026-06-27 08:57:37'::timestamp) - extract(epoch from '2026-06-27 08:57:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.016812 -2.787224)', '2026-06-27 08:57:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016846 -2.787172)'), GeomFromEWKT('SRID=4674;POINT (-40.016812 -2.787224)'))) / (select extract(epoch from '2026-06-27 08:57:47'::timestamp) - extract(epoch from '2026-06-27 08:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016846 -2.787172)'), GeomFromEWKT('SRID=4674;POINT (-40.016812 -2.787224)'))) / (select extract(epoch from '2026-06-27 08:57:47'::timestamp) - extract(epoch from '2026-06-27 08:57: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.016782 -2.787226)', '2026-06-27 08:57:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016812 -2.787224)'), GeomFromEWKT('SRID=4674;POINT (-40.016782 -2.787226)'))) / (select extract(epoch from '2026-06-27 08:57:56'::timestamp) - extract(epoch from '2026-06-27 08:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016812 -2.787224)'), GeomFromEWKT('SRID=4674;POINT (-40.016782 -2.787226)'))) / (select extract(epoch from '2026-06-27 08:57:56'::timestamp) - extract(epoch from '2026-06-27 08:57:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.016724 -2.787208)', '2026-06-27 08:58:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016782 -2.787226)'), GeomFromEWKT('SRID=4674;POINT (-40.016724 -2.787208)'))) / (select extract(epoch from '2026-06-27 08:58:07'::timestamp) - extract(epoch from '2026-06-27 08:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016782 -2.787226)'), GeomFromEWKT('SRID=4674;POINT (-40.016724 -2.787208)'))) / (select extract(epoch from '2026-06-27 08:58:07'::timestamp) - extract(epoch from '2026-06-27 08:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.016717 -2.787202)', '2026-06-27 08:58:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016724 -2.787208)'), GeomFromEWKT('SRID=4674;POINT (-40.016717 -2.787202)'))) / (select extract(epoch from '2026-06-27 08:58:08'::timestamp) - extract(epoch from '2026-06-27 08:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016724 -2.787208)'), GeomFromEWKT('SRID=4674;POINT (-40.016717 -2.787202)'))) / (select extract(epoch from '2026-06-27 08:58:08'::timestamp) - extract(epoch from '2026-06-27 08:58:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.016704 -2.787186)', '2026-06-27 08:58:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016717 -2.787202)'), GeomFromEWKT('SRID=4674;POINT (-40.016704 -2.787186)'))) / (select extract(epoch from '2026-06-27 08:58:10'::timestamp) - extract(epoch from '2026-06-27 08:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016717 -2.787202)'), GeomFromEWKT('SRID=4674;POINT (-40.016704 -2.787186)'))) / (select extract(epoch from '2026-06-27 08:58:10'::timestamp) - extract(epoch from '2026-06-27 08:58: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.016697 -2.787164)', '2026-06-27 08:58:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016704 -2.787186)'), GeomFromEWKT('SRID=4674;POINT (-40.016697 -2.787164)'))) / (select extract(epoch from '2026-06-27 08:58:12'::timestamp) - extract(epoch from '2026-06-27 08:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016704 -2.787186)'), GeomFromEWKT('SRID=4674;POINT (-40.016697 -2.787164)'))) / (select extract(epoch from '2026-06-27 08:58:12'::timestamp) - extract(epoch from '2026-06-27 08:58: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.016705 -2.787099)', '2026-06-27 08:58:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016697 -2.787164)'), GeomFromEWKT('SRID=4674;POINT (-40.016705 -2.787099)'))) / (select extract(epoch from '2026-06-27 08:58:17'::timestamp) - extract(epoch from '2026-06-27 08:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016697 -2.787164)'), GeomFromEWKT('SRID=4674;POINT (-40.016705 -2.787099)'))) / (select extract(epoch from '2026-06-27 08:58:17'::timestamp) - extract(epoch from '2026-06-27 08:58: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.016714 -2.787089)', '2026-06-27 08:58:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016705 -2.787099)'), GeomFromEWKT('SRID=4674;POINT (-40.016714 -2.787089)'))) / (select extract(epoch from '2026-06-27 08:58:18'::timestamp) - extract(epoch from '2026-06-27 08:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016705 -2.787099)'), GeomFromEWKT('SRID=4674;POINT (-40.016714 -2.787089)'))) / (select extract(epoch from '2026-06-27 08:58:18'::timestamp) - extract(epoch from '2026-06-27 08:58: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.016759 -2.787059)', '2026-06-27 08:58:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016714 -2.787089)'), GeomFromEWKT('SRID=4674;POINT (-40.016759 -2.787059)'))) / (select extract(epoch from '2026-06-27 08:58:22'::timestamp) - extract(epoch from '2026-06-27 08:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016714 -2.787089)'), GeomFromEWKT('SRID=4674;POINT (-40.016759 -2.787059)'))) / (select extract(epoch from '2026-06-27 08:58:22'::timestamp) - extract(epoch from '2026-06-27 08:58: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.016798 -2.787055)', '2026-06-27 08:58:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016759 -2.787059)'), GeomFromEWKT('SRID=4674;POINT (-40.016798 -2.787055)'))) / (select extract(epoch from '2026-06-27 08:58:25'::timestamp) - extract(epoch from '2026-06-27 08:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016759 -2.787059)'), GeomFromEWKT('SRID=4674;POINT (-40.016798 -2.787055)'))) / (select extract(epoch from '2026-06-27 08:58:25'::timestamp) - extract(epoch from '2026-06-27 08:58: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.016823 -2.787044)', '2026-06-27 08:58:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016798 -2.787055)'), GeomFromEWKT('SRID=4674;POINT (-40.016823 -2.787044)'))) / (select extract(epoch from '2026-06-27 08:58:27'::timestamp) - extract(epoch from '2026-06-27 08:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016798 -2.787055)'), GeomFromEWKT('SRID=4674;POINT (-40.016823 -2.787044)'))) / (select extract(epoch from '2026-06-27 08:58:27'::timestamp) - extract(epoch from '2026-06-27 08:58:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.016852 -2.787)', '2026-06-27 08:58:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016823 -2.787044)'), GeomFromEWKT('SRID=4674;POINT (-40.016852 -2.787)'))) / (select extract(epoch from '2026-06-27 08:58:31'::timestamp) - extract(epoch from '2026-06-27 08:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016823 -2.787044)'), GeomFromEWKT('SRID=4674;POINT (-40.016852 -2.787)'))) / (select extract(epoch from '2026-06-27 08:58:31'::timestamp) - extract(epoch from '2026-06-27 08:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.016888 -2.786905)', '2026-06-27 08:58:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016852 -2.787)'), GeomFromEWKT('SRID=4674;POINT (-40.016888 -2.786905)'))) / (select extract(epoch from '2026-06-27 08:58:38'::timestamp) - extract(epoch from '2026-06-27 08:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016852 -2.787)'), GeomFromEWKT('SRID=4674;POINT (-40.016888 -2.786905)'))) / (select extract(epoch from '2026-06-27 08:58:38'::timestamp) - extract(epoch from '2026-06-27 08:58: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.016915 -2.786826)', '2026-06-27 08:58:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016888 -2.786905)'), GeomFromEWKT('SRID=4674;POINT (-40.016915 -2.786826)'))) / (select extract(epoch from '2026-06-27 08:58:43'::timestamp) - extract(epoch from '2026-06-27 08:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016888 -2.786905)'), GeomFromEWKT('SRID=4674;POINT (-40.016915 -2.786826)'))) / (select extract(epoch from '2026-06-27 08:58:43'::timestamp) - extract(epoch from '2026-06-27 08:58: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.016921 -2.786809)', '2026-06-27 08:58:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016915 -2.786826)'), GeomFromEWKT('SRID=4674;POINT (-40.016921 -2.786809)'))) / (select extract(epoch from '2026-06-27 08:58:44'::timestamp) - extract(epoch from '2026-06-27 08:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016915 -2.786826)'), GeomFromEWKT('SRID=4674;POINT (-40.016921 -2.786809)'))) / (select extract(epoch from '2026-06-27 08:58:44'::timestamp) - extract(epoch from '2026-06-27 08: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.01698 -2.786729)', '2026-06-27 08:58:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016921 -2.786809)'), GeomFromEWKT('SRID=4674;POINT (-40.01698 -2.786729)'))) / (select extract(epoch from '2026-06-27 08:58:50'::timestamp) - extract(epoch from '2026-06-27 08:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016921 -2.786809)'), GeomFromEWKT('SRID=4674;POINT (-40.01698 -2.786729)'))) / (select extract(epoch from '2026-06-27 08:58:50'::timestamp) - extract(epoch from '2026-06-27 08:58:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.017047 -2.786678)', '2026-06-27 08:58:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01698 -2.786729)'), GeomFromEWKT('SRID=4674;POINT (-40.017047 -2.786678)'))) / (select extract(epoch from '2026-06-27 08:58:55'::timestamp) - extract(epoch from '2026-06-27 08:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01698 -2.786729)'), GeomFromEWKT('SRID=4674;POINT (-40.017047 -2.786678)'))) / (select extract(epoch from '2026-06-27 08:58:55'::timestamp) - extract(epoch from '2026-06-27 08:58: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.017168 -2.786606)', '2026-06-27 08:59:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017047 -2.786678)'), GeomFromEWKT('SRID=4674;POINT (-40.017168 -2.786606)'))) / (select extract(epoch from '2026-06-27 08:59:03'::timestamp) - extract(epoch from '2026-06-27 08:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017047 -2.786678)'), GeomFromEWKT('SRID=4674;POINT (-40.017168 -2.786606)'))) / (select extract(epoch from '2026-06-27 08:59:03'::timestamp) - extract(epoch from '2026-06-27 08:58: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.017207 -2.786551)', '2026-06-27 08:59:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017168 -2.786606)'), GeomFromEWKT('SRID=4674;POINT (-40.017207 -2.786551)'))) / (select extract(epoch from '2026-06-27 08:59:07'::timestamp) - extract(epoch from '2026-06-27 08:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017168 -2.786606)'), GeomFromEWKT('SRID=4674;POINT (-40.017207 -2.786551)'))) / (select extract(epoch from '2026-06-27 08:59:07'::timestamp) - extract(epoch from '2026-06-27 08:59:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.017255 -2.786432)', '2026-06-27 08:59:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017207 -2.786551)'), GeomFromEWKT('SRID=4674;POINT (-40.017255 -2.786432)'))) / (select extract(epoch from '2026-06-27 08:59:15'::timestamp) - extract(epoch from '2026-06-27 08:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017207 -2.786551)'), GeomFromEWKT('SRID=4674;POINT (-40.017255 -2.786432)'))) / (select extract(epoch from '2026-06-27 08:59:15'::timestamp) - extract(epoch from '2026-06-27 08:59: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.017278 -2.786346)', '2026-06-27 08:59:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017255 -2.786432)'), GeomFromEWKT('SRID=4674;POINT (-40.017278 -2.786346)'))) / (select extract(epoch from '2026-06-27 08:59:20'::timestamp) - extract(epoch from '2026-06-27 08:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017255 -2.786432)'), GeomFromEWKT('SRID=4674;POINT (-40.017278 -2.786346)'))) / (select extract(epoch from '2026-06-27 08:59:20'::timestamp) - extract(epoch from '2026-06-27 08:59:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.017286 -2.786329)', '2026-06-27 08:59:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017278 -2.786346)'), GeomFromEWKT('SRID=4674;POINT (-40.017286 -2.786329)'))) / (select extract(epoch from '2026-06-27 08:59:21'::timestamp) - extract(epoch from '2026-06-27 08:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017278 -2.786346)'), GeomFromEWKT('SRID=4674;POINT (-40.017286 -2.786329)'))) / (select extract(epoch from '2026-06-27 08:59:21'::timestamp) - extract(epoch from '2026-06-27 08:59: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.01738 -2.786227)', '2026-06-27 08:59:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017286 -2.786329)'), GeomFromEWKT('SRID=4674;POINT (-40.01738 -2.786227)'))) / (select extract(epoch from '2026-06-27 08:59:28'::timestamp) - extract(epoch from '2026-06-27 08:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017286 -2.786329)'), GeomFromEWKT('SRID=4674;POINT (-40.01738 -2.786227)'))) / (select extract(epoch from '2026-06-27 08:59:28'::timestamp) - extract(epoch from '2026-06-27 08:59: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.017536 -2.786163)', '2026-06-27 08:59:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01738 -2.786227)'), GeomFromEWKT('SRID=4674;POINT (-40.017536 -2.786163)'))) / (select extract(epoch from '2026-06-27 08:59:36'::timestamp) - extract(epoch from '2026-06-27 08:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01738 -2.786227)'), GeomFromEWKT('SRID=4674;POINT (-40.017536 -2.786163)'))) / (select extract(epoch from '2026-06-27 08:59:36'::timestamp) - extract(epoch from '2026-06-27 08:59: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.017713 -2.78613)', '2026-06-27 08:59:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017536 -2.786163)'), GeomFromEWKT('SRID=4674;POINT (-40.017713 -2.78613)'))) / (select extract(epoch from '2026-06-27 08:59:44'::timestamp) - extract(epoch from '2026-06-27 08:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017536 -2.786163)'), GeomFromEWKT('SRID=4674;POINT (-40.017713 -2.78613)'))) / (select extract(epoch from '2026-06-27 08:59:44'::timestamp) - extract(epoch from '2026-06-27 08: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.017897 -2.786061)', '2026-06-27 08:59:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017713 -2.78613)'), GeomFromEWKT('SRID=4674;POINT (-40.017897 -2.786061)'))) / (select extract(epoch from '2026-06-27 08:59:53'::timestamp) - extract(epoch from '2026-06-27 08:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017713 -2.78613)'), GeomFromEWKT('SRID=4674;POINT (-40.017897 -2.786061)'))) / (select extract(epoch from '2026-06-27 08:59:53'::timestamp) - extract(epoch from '2026-06-27 08:59:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.018021 -2.785982)', '2026-06-27 09:00:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017897 -2.786061)'), GeomFromEWKT('SRID=4674;POINT (-40.018021 -2.785982)'))) / (select extract(epoch from '2026-06-27 09:00:00'::timestamp) - extract(epoch from '2026-06-27 08:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017897 -2.786061)'), GeomFromEWKT('SRID=4674;POINT (-40.018021 -2.785982)'))) / (select extract(epoch from '2026-06-27 09:00:00'::timestamp) - extract(epoch from '2026-06-27 08:59: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.018179 -2.785889)', '2026-06-27 09:00:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018021 -2.785982)'), GeomFromEWKT('SRID=4674;POINT (-40.018179 -2.785889)'))) / (select extract(epoch from '2026-06-27 09:00:09'::timestamp) - extract(epoch from '2026-06-27 09:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018021 -2.785982)'), GeomFromEWKT('SRID=4674;POINT (-40.018179 -2.785889)'))) / (select extract(epoch from '2026-06-27 09:00:09'::timestamp) - extract(epoch from '2026-06-27 09:00: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.018316 -2.78583)', '2026-06-27 09:00:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018179 -2.785889)'), GeomFromEWKT('SRID=4674;POINT (-40.018316 -2.78583)'))) / (select extract(epoch from '2026-06-27 09:00:16'::timestamp) - extract(epoch from '2026-06-27 09:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018179 -2.785889)'), GeomFromEWKT('SRID=4674;POINT (-40.018316 -2.78583)'))) / (select extract(epoch from '2026-06-27 09:00:16'::timestamp) - extract(epoch from '2026-06-27 09:00: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.018459 -2.785778)', '2026-06-27 09:00:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018316 -2.78583)'), GeomFromEWKT('SRID=4674;POINT (-40.018459 -2.785778)'))) / (select extract(epoch from '2026-06-27 09:00:23'::timestamp) - extract(epoch from '2026-06-27 09:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018316 -2.78583)'), GeomFromEWKT('SRID=4674;POINT (-40.018459 -2.785778)'))) / (select extract(epoch from '2026-06-27 09:00:23'::timestamp) - extract(epoch from '2026-06-27 09:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.0186 -2.785706)', '2026-06-27 09:00:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018459 -2.785778)'), GeomFromEWKT('SRID=4674;POINT (-40.0186 -2.785706)'))) / (select extract(epoch from '2026-06-27 09:00:30'::timestamp) - extract(epoch from '2026-06-27 09:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018459 -2.785778)'), GeomFromEWKT('SRID=4674;POINT (-40.0186 -2.785706)'))) / (select extract(epoch from '2026-06-27 09:00:30'::timestamp) - extract(epoch from '2026-06-27 09:00:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.018696 -2.785644)', '2026-06-27 09:00:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0186 -2.785706)'), GeomFromEWKT('SRID=4674;POINT (-40.018696 -2.785644)'))) / (select extract(epoch from '2026-06-27 09:00:35'::timestamp) - extract(epoch from '2026-06-27 09:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0186 -2.785706)'), GeomFromEWKT('SRID=4674;POINT (-40.018696 -2.785644)'))) / (select extract(epoch from '2026-06-27 09:00:35'::timestamp) - extract(epoch from '2026-06-27 09:00: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.01876 -2.785555)', '2026-06-27 09:00:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018696 -2.785644)'), GeomFromEWKT('SRID=4674;POINT (-40.01876 -2.785555)'))) / (select extract(epoch from '2026-06-27 09:00:40'::timestamp) - extract(epoch from '2026-06-27 09:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018696 -2.785644)'), GeomFromEWKT('SRID=4674;POINT (-40.01876 -2.785555)'))) / (select extract(epoch from '2026-06-27 09:00:40'::timestamp) - extract(epoch from '2026-06-27 09:00:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.018841 -2.785408)', '2026-06-27 09:00:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01876 -2.785555)'), GeomFromEWKT('SRID=4674;POINT (-40.018841 -2.785408)'))) / (select extract(epoch from '2026-06-27 09:00:48'::timestamp) - extract(epoch from '2026-06-27 09:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01876 -2.785555)'), GeomFromEWKT('SRID=4674;POINT (-40.018841 -2.785408)'))) / (select extract(epoch from '2026-06-27 09:00:48'::timestamp) - extract(epoch from '2026-06-27 09:00: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.01896 -2.785333)', '2026-06-27 09:00:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018841 -2.785408)'), GeomFromEWKT('SRID=4674;POINT (-40.01896 -2.785333)'))) / (select extract(epoch from '2026-06-27 09:00:55'::timestamp) - extract(epoch from '2026-06-27 09:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018841 -2.785408)'), GeomFromEWKT('SRID=4674;POINT (-40.01896 -2.785333)'))) / (select extract(epoch from '2026-06-27 09:00:55'::timestamp) - extract(epoch from '2026-06-27 09:00: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.019128 -2.785282)', '2026-06-27 09:01:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01896 -2.785333)'), GeomFromEWKT('SRID=4674;POINT (-40.019128 -2.785282)'))) / (select extract(epoch from '2026-06-27 09:01:03'::timestamp) - extract(epoch from '2026-06-27 09:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01896 -2.785333)'), GeomFromEWKT('SRID=4674;POINT (-40.019128 -2.785282)'))) / (select extract(epoch from '2026-06-27 09:01:03'::timestamp) - extract(epoch from '2026-06-27 09:00: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.019277 -2.785249)', '2026-06-27 09:01:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019128 -2.785282)'), GeomFromEWKT('SRID=4674;POINT (-40.019277 -2.785249)'))) / (select extract(epoch from '2026-06-27 09:01:10'::timestamp) - extract(epoch from '2026-06-27 09:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019128 -2.785282)'), GeomFromEWKT('SRID=4674;POINT (-40.019277 -2.785249)'))) / (select extract(epoch from '2026-06-27 09:01:10'::timestamp) - extract(epoch from '2026-06-27 09:01: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.019448 -2.785204)', '2026-06-27 09:01:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019277 -2.785249)'), GeomFromEWKT('SRID=4674;POINT (-40.019448 -2.785204)'))) / (select extract(epoch from '2026-06-27 09:01:18'::timestamp) - extract(epoch from '2026-06-27 09:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019277 -2.785249)'), GeomFromEWKT('SRID=4674;POINT (-40.019448 -2.785204)'))) / (select extract(epoch from '2026-06-27 09:01:18'::timestamp) - extract(epoch from '2026-06-27 09:01: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.019626 -2.785121)', '2026-06-27 09:01:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019448 -2.785204)'), GeomFromEWKT('SRID=4674;POINT (-40.019626 -2.785121)'))) / (select extract(epoch from '2026-06-27 09:01:27'::timestamp) - extract(epoch from '2026-06-27 09:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019448 -2.785204)'), GeomFromEWKT('SRID=4674;POINT (-40.019626 -2.785121)'))) / (select extract(epoch from '2026-06-27 09:01:27'::timestamp) - extract(epoch from '2026-06-27 09:01: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.019769 -2.785063)', '2026-06-27 09:01:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019626 -2.785121)'), GeomFromEWKT('SRID=4674;POINT (-40.019769 -2.785063)'))) / (select extract(epoch from '2026-06-27 09:01:34'::timestamp) - extract(epoch from '2026-06-27 09:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019626 -2.785121)'), GeomFromEWKT('SRID=4674;POINT (-40.019769 -2.785063)'))) / (select extract(epoch from '2026-06-27 09:01:34'::timestamp) - extract(epoch from '2026-06-27 09:01: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.019952 -2.784995)', '2026-06-27 09:01:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019769 -2.785063)'), GeomFromEWKT('SRID=4674;POINT (-40.019952 -2.784995)'))) / (select extract(epoch from '2026-06-27 09:01:43'::timestamp) - extract(epoch from '2026-06-27 09:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019769 -2.785063)'), GeomFromEWKT('SRID=4674;POINT (-40.019952 -2.784995)'))) / (select extract(epoch from '2026-06-27 09:01:43'::timestamp) - extract(epoch from '2026-06-27 09:01: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.020126 -2.784935)', '2026-06-27 09:01:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019952 -2.784995)'), GeomFromEWKT('SRID=4674;POINT (-40.020126 -2.784935)'))) / (select extract(epoch from '2026-06-27 09:01:51'::timestamp) - extract(epoch from '2026-06-27 09:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019952 -2.784995)'), GeomFromEWKT('SRID=4674;POINT (-40.020126 -2.784935)'))) / (select extract(epoch from '2026-06-27 09:01:51'::timestamp) - extract(epoch from '2026-06-27 09:01: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.020306 -2.784866)', '2026-06-27 09:02:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020126 -2.784935)'), GeomFromEWKT('SRID=4674;POINT (-40.020306 -2.784866)'))) / (select extract(epoch from '2026-06-27 09:02:00'::timestamp) - extract(epoch from '2026-06-27 09:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020126 -2.784935)'), GeomFromEWKT('SRID=4674;POINT (-40.020306 -2.784866)'))) / (select extract(epoch from '2026-06-27 09:02:00'::timestamp) - extract(epoch from '2026-06-27 09:01: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.020442 -2.784794)', '2026-06-27 09:02:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020306 -2.784866)'), GeomFromEWKT('SRID=4674;POINT (-40.020442 -2.784794)'))) / (select extract(epoch from '2026-06-27 09:02:07'::timestamp) - extract(epoch from '2026-06-27 09:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020306 -2.784866)'), GeomFromEWKT('SRID=4674;POINT (-40.020442 -2.784794)'))) / (select extract(epoch from '2026-06-27 09:02:07'::timestamp) - extract(epoch from '2026-06-27 09:02:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.020526 -2.784698)', '2026-06-27 09:02:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020442 -2.784794)'), GeomFromEWKT('SRID=4674;POINT (-40.020526 -2.784698)'))) / (select extract(epoch from '2026-06-27 09:02:13'::timestamp) - extract(epoch from '2026-06-27 09:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020442 -2.784794)'), GeomFromEWKT('SRID=4674;POINT (-40.020526 -2.784698)'))) / (select extract(epoch from '2026-06-27 09:02:13'::timestamp) - extract(epoch from '2026-06-27 09:02: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.020674 -2.78454)', '2026-06-27 09:02:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020526 -2.784698)'), GeomFromEWKT('SRID=4674;POINT (-40.020674 -2.78454)'))) / (select extract(epoch from '2026-06-27 09:02:23'::timestamp) - extract(epoch from '2026-06-27 09:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020526 -2.784698)'), GeomFromEWKT('SRID=4674;POINT (-40.020674 -2.78454)'))) / (select extract(epoch from '2026-06-27 09:02:23'::timestamp) - extract(epoch from '2026-06-27 09:02: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.020789 -2.784439)', '2026-06-27 09:02:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020674 -2.78454)'), GeomFromEWKT('SRID=4674;POINT (-40.020789 -2.784439)'))) / (select extract(epoch from '2026-06-27 09:02:30'::timestamp) - extract(epoch from '2026-06-27 09:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020674 -2.78454)'), GeomFromEWKT('SRID=4674;POINT (-40.020789 -2.784439)'))) / (select extract(epoch from '2026-06-27 09:02:30'::timestamp) - extract(epoch from '2026-06-27 09:02: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.020927 -2.784359)', '2026-06-27 09:02:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020789 -2.784439)'), GeomFromEWKT('SRID=4674;POINT (-40.020927 -2.784359)'))) / (select extract(epoch from '2026-06-27 09:02:37'::timestamp) - extract(epoch from '2026-06-27 09:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020789 -2.784439)'), GeomFromEWKT('SRID=4674;POINT (-40.020927 -2.784359)'))) / (select extract(epoch from '2026-06-27 09:02:37'::timestamp) - extract(epoch from '2026-06-27 09:02: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.021082 -2.784268)', '2026-06-27 09:02:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020927 -2.784359)'), GeomFromEWKT('SRID=4674;POINT (-40.021082 -2.784268)'))) / (select extract(epoch from '2026-06-27 09:02:45'::timestamp) - extract(epoch from '2026-06-27 09:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020927 -2.784359)'), GeomFromEWKT('SRID=4674;POINT (-40.021082 -2.784268)'))) / (select extract(epoch from '2026-06-27 09:02:45'::timestamp) - extract(epoch from '2026-06-27 09:02: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.02124 -2.784185)', '2026-06-27 09:02:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021082 -2.784268)'), GeomFromEWKT('SRID=4674;POINT (-40.02124 -2.784185)'))) / (select extract(epoch from '2026-06-27 09:02:53'::timestamp) - extract(epoch from '2026-06-27 09:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021082 -2.784268)'), GeomFromEWKT('SRID=4674;POINT (-40.02124 -2.784185)'))) / (select extract(epoch from '2026-06-27 09:02:53'::timestamp) - extract(epoch from '2026-06-27 09:02: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.021398 -2.784107)', '2026-06-27 09:03:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02124 -2.784185)'), GeomFromEWKT('SRID=4674;POINT (-40.021398 -2.784107)'))) / (select extract(epoch from '2026-06-27 09:03:01'::timestamp) - extract(epoch from '2026-06-27 09:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02124 -2.784185)'), GeomFromEWKT('SRID=4674;POINT (-40.021398 -2.784107)'))) / (select extract(epoch from '2026-06-27 09:03:01'::timestamp) - extract(epoch from '2026-06-27 09:02: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.021557 -2.784038)', '2026-06-27 09:03:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021398 -2.784107)'), GeomFromEWKT('SRID=4674;POINT (-40.021557 -2.784038)'))) / (select extract(epoch from '2026-06-27 09:03:09'::timestamp) - extract(epoch from '2026-06-27 09:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021398 -2.784107)'), GeomFromEWKT('SRID=4674;POINT (-40.021557 -2.784038)'))) / (select extract(epoch from '2026-06-27 09:03:09'::timestamp) - extract(epoch from '2026-06-27 09:03: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.021733 -2.783955)', '2026-06-27 09:03:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021557 -2.784038)'), GeomFromEWKT('SRID=4674;POINT (-40.021733 -2.783955)'))) / (select extract(epoch from '2026-06-27 09:03:18'::timestamp) - extract(epoch from '2026-06-27 09:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021557 -2.784038)'), GeomFromEWKT('SRID=4674;POINT (-40.021733 -2.783955)'))) / (select extract(epoch from '2026-06-27 09:03:18'::timestamp) - extract(epoch from '2026-06-27 09:03:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.021836 -2.78385)', '2026-06-27 09:03:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021733 -2.783955)'), GeomFromEWKT('SRID=4674;POINT (-40.021836 -2.78385)'))) / (select extract(epoch from '2026-06-27 09:03:25'::timestamp) - extract(epoch from '2026-06-27 09:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021733 -2.783955)'), GeomFromEWKT('SRID=4674;POINT (-40.021836 -2.78385)'))) / (select extract(epoch from '2026-06-27 09:03:25'::timestamp) - extract(epoch from '2026-06-27 09:03:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.021892 -2.78372)', '2026-06-27 09:03:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021836 -2.78385)'), GeomFromEWKT('SRID=4674;POINT (-40.021892 -2.78372)'))) / (select extract(epoch from '2026-06-27 09:03:32'::timestamp) - extract(epoch from '2026-06-27 09:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021836 -2.78385)'), GeomFromEWKT('SRID=4674;POINT (-40.021892 -2.78372)'))) / (select extract(epoch from '2026-06-27 09:03:32'::timestamp) - extract(epoch from '2026-06-27 09:03: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.021963 -2.783639)', '2026-06-27 09:03:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021892 -2.78372)'), GeomFromEWKT('SRID=4674;POINT (-40.021963 -2.783639)'))) / (select extract(epoch from '2026-06-27 09:03:38'::timestamp) - extract(epoch from '2026-06-27 09:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021892 -2.78372)'), GeomFromEWKT('SRID=4674;POINT (-40.021963 -2.783639)'))) / (select extract(epoch from '2026-06-27 09:03:38'::timestamp) - extract(epoch from '2026-06-27 09:03: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.022078 -2.783586)', '2026-06-27 09:03:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021963 -2.783639)'), GeomFromEWKT('SRID=4674;POINT (-40.022078 -2.783586)'))) / (select extract(epoch from '2026-06-27 09:03:46'::timestamp) - extract(epoch from '2026-06-27 09:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021963 -2.783639)'), GeomFromEWKT('SRID=4674;POINT (-40.022078 -2.783586)'))) / (select extract(epoch from '2026-06-27 09:03:46'::timestamp) - extract(epoch from '2026-06-27 09:03:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022169 -2.783534)', '2026-06-27 09:03:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022078 -2.783586)'), GeomFromEWKT('SRID=4674;POINT (-40.022169 -2.783534)'))) / (select extract(epoch from '2026-06-27 09:03:53'::timestamp) - extract(epoch from '2026-06-27 09:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022078 -2.783586)'), GeomFromEWKT('SRID=4674;POINT (-40.022169 -2.783534)'))) / (select extract(epoch from '2026-06-27 09:03:53'::timestamp) - extract(epoch from '2026-06-27 09:03: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.022163 -2.78346)', '2026-06-27 09:03:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022169 -2.783534)'), GeomFromEWKT('SRID=4674;POINT (-40.022163 -2.78346)'))) / (select extract(epoch from '2026-06-27 09:03:59'::timestamp) - extract(epoch from '2026-06-27 09:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022169 -2.783534)'), GeomFromEWKT('SRID=4674;POINT (-40.022163 -2.78346)'))) / (select extract(epoch from '2026-06-27 09:03:59'::timestamp) - extract(epoch from '2026-06-27 09:03: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.022128 -2.783397)', '2026-06-27 09:04:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022163 -2.78346)'), GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.783397)'))) / (select extract(epoch from '2026-06-27 09:04:06'::timestamp) - extract(epoch from '2026-06-27 09:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022163 -2.78346)'), GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.783397)'))) / (select extract(epoch from '2026-06-27 09:04:06'::timestamp) - extract(epoch from '2026-06-27 09:03:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022099 -2.783381)', '2026-06-27 09:04:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.783397)'), GeomFromEWKT('SRID=4674;POINT (-40.022099 -2.783381)'))) / (select extract(epoch from '2026-06-27 09:04:12'::timestamp) - extract(epoch from '2026-06-27 09:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.783397)'), GeomFromEWKT('SRID=4674;POINT (-40.022099 -2.783381)'))) / (select extract(epoch from '2026-06-27 09:04:12'::timestamp) - extract(epoch from '2026-06-27 09: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.022054 -2.783366)', '2026-06-27 09:04:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022099 -2.783381)'), GeomFromEWKT('SRID=4674;POINT (-40.022054 -2.783366)'))) / (select extract(epoch from '2026-06-27 09:04:21'::timestamp) - extract(epoch from '2026-06-27 09:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022099 -2.783381)'), GeomFromEWKT('SRID=4674;POINT (-40.022054 -2.783366)'))) / (select extract(epoch from '2026-06-27 09:04:21'::timestamp) - extract(epoch from '2026-06-27 09:04: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.022037 -2.783376)', '2026-06-27 09:04:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022054 -2.783366)'), GeomFromEWKT('SRID=4674;POINT (-40.022037 -2.783376)'))) / (select extract(epoch from '2026-06-27 09:04:28'::timestamp) - extract(epoch from '2026-06-27 09:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022054 -2.783366)'), GeomFromEWKT('SRID=4674;POINT (-40.022037 -2.783376)'))) / (select extract(epoch from '2026-06-27 09:04:28'::timestamp) - extract(epoch from '2026-06-27 09:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022046 -2.78342)', '2026-06-27 09:04:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022037 -2.783376)'), GeomFromEWKT('SRID=4674;POINT (-40.022046 -2.78342)'))) / (select extract(epoch from '2026-06-27 09:04:37'::timestamp) - extract(epoch from '2026-06-27 09:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022037 -2.783376)'), GeomFromEWKT('SRID=4674;POINT (-40.022046 -2.78342)'))) / (select extract(epoch from '2026-06-27 09:04:37'::timestamp) - extract(epoch from '2026-06-27 09: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.021995 -2.783448)', '2026-06-27 09:04:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022046 -2.78342)'), GeomFromEWKT('SRID=4674;POINT (-40.021995 -2.783448)'))) / (select extract(epoch from '2026-06-27 09:04:45'::timestamp) - extract(epoch from '2026-06-27 09:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022046 -2.78342)'), GeomFromEWKT('SRID=4674;POINT (-40.021995 -2.783448)'))) / (select extract(epoch from '2026-06-27 09:04:45'::timestamp) - extract(epoch from '2026-06-27 09:04:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.021928 -2.783421)', '2026-06-27 09:04:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021995 -2.783448)'), GeomFromEWKT('SRID=4674;POINT (-40.021928 -2.783421)'))) / (select extract(epoch from '2026-06-27 09:04:51'::timestamp) - extract(epoch from '2026-06-27 09:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021995 -2.783448)'), GeomFromEWKT('SRID=4674;POINT (-40.021928 -2.783421)'))) / (select extract(epoch from '2026-06-27 09:04:51'::timestamp) - extract(epoch from '2026-06-27 09:04:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.021856 -2.783378)', '2026-06-27 09:05:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021928 -2.783421)'), GeomFromEWKT('SRID=4674;POINT (-40.021856 -2.783378)'))) / (select extract(epoch from '2026-06-27 09:05:01'::timestamp) - extract(epoch from '2026-06-27 09:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021928 -2.783421)'), GeomFromEWKT('SRID=4674;POINT (-40.021856 -2.783378)'))) / (select extract(epoch from '2026-06-27 09:05:01'::timestamp) - extract(epoch from '2026-06-27 09:04: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.021873 -2.783351)', '2026-06-27 09:05:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021856 -2.783378)'), GeomFromEWKT('SRID=4674;POINT (-40.021873 -2.783351)'))) / (select extract(epoch from '2026-06-27 09:05:16'::timestamp) - extract(epoch from '2026-06-27 09:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021856 -2.783378)'), GeomFromEWKT('SRID=4674;POINT (-40.021873 -2.783351)'))) / (select extract(epoch from '2026-06-27 09:05:16'::timestamp) - extract(epoch from '2026-06-27 09:05:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.021989 -2.783306)', '2026-06-27 09:05:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021873 -2.783351)'), GeomFromEWKT('SRID=4674;POINT (-40.021989 -2.783306)'))) / (select extract(epoch from '2026-06-27 09:05:45'::timestamp) - extract(epoch from '2026-06-27 09:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021873 -2.783351)'), GeomFromEWKT('SRID=4674;POINT (-40.021989 -2.783306)'))) / (select extract(epoch from '2026-06-27 09:05:45'::timestamp) - extract(epoch from '2026-06-27 09:05: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.022047 -2.783276)', '2026-06-27 09:06:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021989 -2.783306)'), GeomFromEWKT('SRID=4674;POINT (-40.022047 -2.783276)'))) / (select extract(epoch from '2026-06-27 09:06:02'::timestamp) - extract(epoch from '2026-06-27 09:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021989 -2.783306)'), GeomFromEWKT('SRID=4674;POINT (-40.022047 -2.783276)'))) / (select extract(epoch from '2026-06-27 09:06:02'::timestamp) - extract(epoch from '2026-06-27 09:05:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022052 -2.783266)', '2026-06-27 09:06:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022047 -2.783276)'), GeomFromEWKT('SRID=4674;POINT (-40.022052 -2.783266)'))) / (select extract(epoch from '2026-06-27 09:06:21'::timestamp) - extract(epoch from '2026-06-27 09:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022047 -2.783276)'), GeomFromEWKT('SRID=4674;POINT (-40.022052 -2.783266)'))) / (select extract(epoch from '2026-06-27 09:06:21'::timestamp) - extract(epoch from '2026-06-27 09:06: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.02207 -2.783295)', '2026-06-27 09:06:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022052 -2.783266)'), GeomFromEWKT('SRID=4674;POINT (-40.02207 -2.783295)'))) / (select extract(epoch from '2026-06-27 09:06:33'::timestamp) - extract(epoch from '2026-06-27 09:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022052 -2.783266)'), GeomFromEWKT('SRID=4674;POINT (-40.02207 -2.783295)'))) / (select extract(epoch from '2026-06-27 09:06:33'::timestamp) - extract(epoch from '2026-06-27 09:06: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.022085 -2.783332)', '2026-06-27 09:06:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02207 -2.783295)'), GeomFromEWKT('SRID=4674;POINT (-40.022085 -2.783332)'))) / (select extract(epoch from '2026-06-27 09:06:55'::timestamp) - extract(epoch from '2026-06-27 09:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02207 -2.783295)'), GeomFromEWKT('SRID=4674;POINT (-40.022085 -2.783332)'))) / (select extract(epoch from '2026-06-27 09:06:55'::timestamp) - extract(epoch from '2026-06-27 09: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.022084 -2.783336)', '2026-06-27 09:07:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022085 -2.783332)'), GeomFromEWKT('SRID=4674;POINT (-40.022084 -2.783336)'))) / (select extract(epoch from '2026-06-27 09:07:10'::timestamp) - extract(epoch from '2026-06-27 09:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022085 -2.783332)'), GeomFromEWKT('SRID=4674;POINT (-40.022084 -2.783336)'))) / (select extract(epoch from '2026-06-27 09:07:10'::timestamp) - extract(epoch from '2026-06-27 09:06:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022082 -2.783345)', '2026-06-27 09:07:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022084 -2.783336)'), GeomFromEWKT('SRID=4674;POINT (-40.022082 -2.783345)'))) / (select extract(epoch from '2026-06-27 09:07:46'::timestamp) - extract(epoch from '2026-06-27 09:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022084 -2.783336)'), GeomFromEWKT('SRID=4674;POINT (-40.022082 -2.783345)'))) / (select extract(epoch from '2026-06-27 09:07:46'::timestamp) - extract(epoch from '2026-06-27 09:07: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.022098 -2.783359)', '2026-06-27 09:08:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022082 -2.783345)'), GeomFromEWKT('SRID=4674;POINT (-40.022098 -2.783359)'))) / (select extract(epoch from '2026-06-27 09:08:22'::timestamp) - extract(epoch from '2026-06-27 09:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022082 -2.783345)'), GeomFromEWKT('SRID=4674;POINT (-40.022098 -2.783359)'))) / (select extract(epoch from '2026-06-27 09:08:22'::timestamp) - extract(epoch from '2026-06-27 09:07: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.022092 -2.783369)', '2026-06-27 09:09:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022098 -2.783359)'), GeomFromEWKT('SRID=4674;POINT (-40.022092 -2.783369)'))) / (select extract(epoch from '2026-06-27 09:09:12'::timestamp) - extract(epoch from '2026-06-27 09:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022098 -2.783359)'), GeomFromEWKT('SRID=4674;POINT (-40.022092 -2.783369)'))) / (select extract(epoch from '2026-06-27 09:09:12'::timestamp) - extract(epoch from '2026-06-27 09:08: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.022092 -2.783363)', '2026-06-27 09:09:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022092 -2.783369)'), GeomFromEWKT('SRID=4674;POINT (-40.022092 -2.783363)'))) / (select extract(epoch from '2026-06-27 09:09:43'::timestamp) - extract(epoch from '2026-06-27 09:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022092 -2.783369)'), GeomFromEWKT('SRID=4674;POINT (-40.022092 -2.783363)'))) / (select extract(epoch from '2026-06-27 09:09:43'::timestamp) - extract(epoch from '2026-06-27 09:09: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.022095 -2.783358)', '2026-06-27 09:10:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022092 -2.783363)'), GeomFromEWKT('SRID=4674;POINT (-40.022095 -2.783358)'))) / (select extract(epoch from '2026-06-27 09:10:03'::timestamp) - extract(epoch from '2026-06-27 09:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022092 -2.783363)'), GeomFromEWKT('SRID=4674;POINT (-40.022095 -2.783358)'))) / (select extract(epoch from '2026-06-27 09:10:03'::timestamp) - extract(epoch from '2026-06-27 09: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.022095 -2.783359)', '2026-06-27 09:10:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022095 -2.783358)'), GeomFromEWKT('SRID=4674;POINT (-40.022095 -2.783359)'))) / (select extract(epoch from '2026-06-27 09:10:32'::timestamp) - extract(epoch from '2026-06-27 09:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022095 -2.783358)'), GeomFromEWKT('SRID=4674;POINT (-40.022095 -2.783359)'))) / (select extract(epoch from '2026-06-27 09:10:32'::timestamp) - extract(epoch from '2026-06-27 09:10:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022094 -2.783367)', '2026-06-27 09:11:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022095 -2.783359)'), GeomFromEWKT('SRID=4674;POINT (-40.022094 -2.783367)'))) / (select extract(epoch from '2026-06-27 09:11:04'::timestamp) - extract(epoch from '2026-06-27 09:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022095 -2.783359)'), GeomFromEWKT('SRID=4674;POINT (-40.022094 -2.783367)'))) / (select extract(epoch from '2026-06-27 09:11:04'::timestamp) - extract(epoch from '2026-06-27 09: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.022096 -2.783356)', '2026-06-27 09:11:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022094 -2.783367)'), GeomFromEWKT('SRID=4674;POINT (-40.022096 -2.783356)'))) / (select extract(epoch from '2026-06-27 09:11:45'::timestamp) - extract(epoch from '2026-06-27 09:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022094 -2.783367)'), GeomFromEWKT('SRID=4674;POINT (-40.022096 -2.783356)'))) / (select extract(epoch from '2026-06-27 09:11:45'::timestamp) - extract(epoch from '2026-06-27 09:11: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.022098 -2.783353)', '2026-06-27 09:12:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022096 -2.783356)'), GeomFromEWKT('SRID=4674;POINT (-40.022098 -2.783353)'))) / (select extract(epoch from '2026-06-27 09:12:18'::timestamp) - extract(epoch from '2026-06-27 09:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022096 -2.783356)'), GeomFromEWKT('SRID=4674;POINT (-40.022098 -2.783353)'))) / (select extract(epoch from '2026-06-27 09:12:18'::timestamp) - extract(epoch from '2026-06-27 09:11: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.022097 -2.783351)', '2026-06-27 09:12:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022098 -2.783353)'), GeomFromEWKT('SRID=4674;POINT (-40.022097 -2.783351)'))) / (select extract(epoch from '2026-06-27 09:12:38'::timestamp) - extract(epoch from '2026-06-27 09:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022098 -2.783353)'), GeomFromEWKT('SRID=4674;POINT (-40.022097 -2.783351)'))) / (select extract(epoch from '2026-06-27 09:12:38'::timestamp) - extract(epoch from '2026-06-27 09:12:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.0221 -2.783354)', '2026-06-27 09:13:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022097 -2.783351)'), GeomFromEWKT('SRID=4674;POINT (-40.0221 -2.783354)'))) / (select extract(epoch from '2026-06-27 09:13:13'::timestamp) - extract(epoch from '2026-06-27 09:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022097 -2.783351)'), GeomFromEWKT('SRID=4674;POINT (-40.0221 -2.783354)'))) / (select extract(epoch from '2026-06-27 09:13:13'::timestamp) - extract(epoch from '2026-06-27 09:12: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.022101 -2.783366)', '2026-06-27 09:13:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0221 -2.783354)'), GeomFromEWKT('SRID=4674;POINT (-40.022101 -2.783366)'))) / (select extract(epoch from '2026-06-27 09:13:57'::timestamp) - extract(epoch from '2026-06-27 09:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0221 -2.783354)'), GeomFromEWKT('SRID=4674;POINT (-40.022101 -2.783366)'))) / (select extract(epoch from '2026-06-27 09:13:57'::timestamp) - extract(epoch from '2026-06-27 09:13:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022099 -2.78339)', '2026-06-27 09:14:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022101 -2.783366)'), GeomFromEWKT('SRID=4674;POINT (-40.022099 -2.78339)'))) / (select extract(epoch from '2026-06-27 09:14:44'::timestamp) - extract(epoch from '2026-06-27 09:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022101 -2.783366)'), GeomFromEWKT('SRID=4674;POINT (-40.022099 -2.78339)'))) / (select extract(epoch from '2026-06-27 09:14:44'::timestamp) - extract(epoch from '2026-06-27 09:13: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.0221 -2.78338)', '2026-06-27 09:15:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022099 -2.78339)'), GeomFromEWKT('SRID=4674;POINT (-40.0221 -2.78338)'))) / (select extract(epoch from '2026-06-27 09:15:10'::timestamp) - extract(epoch from '2026-06-27 09:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022099 -2.78339)'), GeomFromEWKT('SRID=4674;POINT (-40.0221 -2.78338)'))) / (select extract(epoch from '2026-06-27 09:15:10'::timestamp) - extract(epoch from '2026-06-27 09:14:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022071 -2.78339)', '2026-06-27 09:15:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0221 -2.78338)'), GeomFromEWKT('SRID=4674;POINT (-40.022071 -2.78339)'))) / (select extract(epoch from '2026-06-27 09:15:43'::timestamp) - extract(epoch from '2026-06-27 09:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0221 -2.78338)'), GeomFromEWKT('SRID=4674;POINT (-40.022071 -2.78339)'))) / (select extract(epoch from '2026-06-27 09:15:43'::timestamp) - extract(epoch from '2026-06-27 09:15: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.021986 -2.783394)', '2026-06-27 09:15:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022071 -2.78339)'), GeomFromEWKT('SRID=4674;POINT (-40.021986 -2.783394)'))) / (select extract(epoch from '2026-06-27 09:15:55'::timestamp) - extract(epoch from '2026-06-27 09:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022071 -2.78339)'), GeomFromEWKT('SRID=4674;POINT (-40.021986 -2.783394)'))) / (select extract(epoch from '2026-06-27 09:15:55'::timestamp) - extract(epoch from '2026-06-27 09:15: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.021886 -2.783378)', '2026-06-27 09:16:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021986 -2.783394)'), GeomFromEWKT('SRID=4674;POINT (-40.021886 -2.783378)'))) / (select extract(epoch from '2026-06-27 09:16:05'::timestamp) - extract(epoch from '2026-06-27 09:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021986 -2.783394)'), GeomFromEWKT('SRID=4674;POINT (-40.021886 -2.783378)'))) / (select extract(epoch from '2026-06-27 09:16:05'::timestamp) - extract(epoch from '2026-06-27 09:15: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.021817 -2.783399)', '2026-06-27 09:16:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021886 -2.783378)'), GeomFromEWKT('SRID=4674;POINT (-40.021817 -2.783399)'))) / (select extract(epoch from '2026-06-27 09:16:16'::timestamp) - extract(epoch from '2026-06-27 09:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021886 -2.783378)'), GeomFromEWKT('SRID=4674;POINT (-40.021817 -2.783399)'))) / (select extract(epoch from '2026-06-27 09:16:16'::timestamp) - extract(epoch from '2026-06-27 09:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.021806 -2.78344)', '2026-06-27 09:16:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021817 -2.783399)'), GeomFromEWKT('SRID=4674;POINT (-40.021806 -2.78344)'))) / (select extract(epoch from '2026-06-27 09:16:20'::timestamp) - extract(epoch from '2026-06-27 09:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021817 -2.783399)'), GeomFromEWKT('SRID=4674;POINT (-40.021806 -2.78344)'))) / (select extract(epoch from '2026-06-27 09:16:20'::timestamp) - extract(epoch from '2026-06-27 09:16: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.021808 -2.783463)', '2026-06-27 09:16:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021806 -2.78344)'), GeomFromEWKT('SRID=4674;POINT (-40.021808 -2.783463)'))) / (select extract(epoch from '2026-06-27 09:16:23'::timestamp) - extract(epoch from '2026-06-27 09:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021806 -2.78344)'), GeomFromEWKT('SRID=4674;POINT (-40.021808 -2.783463)'))) / (select extract(epoch from '2026-06-27 09:16:23'::timestamp) - extract(epoch from '2026-06-27 09:16: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.02184 -2.783571)', '2026-06-27 09:16:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021808 -2.783463)'), GeomFromEWKT('SRID=4674;POINT (-40.02184 -2.783571)'))) / (select extract(epoch from '2026-06-27 09:16:31'::timestamp) - extract(epoch from '2026-06-27 09:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021808 -2.783463)'), GeomFromEWKT('SRID=4674;POINT (-40.02184 -2.783571)'))) / (select extract(epoch from '2026-06-27 09:16:31'::timestamp) - extract(epoch from '2026-06-27 09:16:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.021859 -2.783694)', '2026-06-27 09:16:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02184 -2.783571)'), GeomFromEWKT('SRID=4674;POINT (-40.021859 -2.783694)'))) / (select extract(epoch from '2026-06-27 09:16:38'::timestamp) - extract(epoch from '2026-06-27 09:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02184 -2.783571)'), GeomFromEWKT('SRID=4674;POINT (-40.021859 -2.783694)'))) / (select extract(epoch from '2026-06-27 09:16:38'::timestamp) - extract(epoch from '2026-06-27 09:16: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.021892 -2.78379)', '2026-06-27 09:16:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021859 -2.783694)'), GeomFromEWKT('SRID=4674;POINT (-40.021892 -2.78379)'))) / (select extract(epoch from '2026-06-27 09:16:45'::timestamp) - extract(epoch from '2026-06-27 09:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021859 -2.783694)'), GeomFromEWKT('SRID=4674;POINT (-40.021892 -2.78379)'))) / (select extract(epoch from '2026-06-27 09:16:45'::timestamp) - extract(epoch from '2026-06-27 09:16: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.021926 -2.783921)', '2026-06-27 09:16:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021892 -2.78379)'), GeomFromEWKT('SRID=4674;POINT (-40.021926 -2.783921)'))) / (select extract(epoch from '2026-06-27 09:16:53'::timestamp) - extract(epoch from '2026-06-27 09:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021892 -2.78379)'), GeomFromEWKT('SRID=4674;POINT (-40.021926 -2.783921)'))) / (select extract(epoch from '2026-06-27 09:16:53'::timestamp) - extract(epoch from '2026-06-27 09:16:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.021953 -2.784046)', '2026-06-27 09:16:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021926 -2.783921)'), GeomFromEWKT('SRID=4674;POINT (-40.021953 -2.784046)'))) / (select extract(epoch from '2026-06-27 09:16:59'::timestamp) - extract(epoch from '2026-06-27 09:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021926 -2.783921)'), GeomFromEWKT('SRID=4674;POINT (-40.021953 -2.784046)'))) / (select extract(epoch from '2026-06-27 09:16:59'::timestamp) - extract(epoch from '2026-06-27 09:16: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.022056 -2.784194)', '2026-06-27 09:17:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021953 -2.784046)'), GeomFromEWKT('SRID=4674;POINT (-40.022056 -2.784194)'))) / (select extract(epoch from '2026-06-27 09:17:08'::timestamp) - extract(epoch from '2026-06-27 09:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021953 -2.784046)'), GeomFromEWKT('SRID=4674;POINT (-40.022056 -2.784194)'))) / (select extract(epoch from '2026-06-27 09:17:08'::timestamp) - extract(epoch from '2026-06-27 09:16:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022185 -2.784251)', '2026-06-27 09:17:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022056 -2.784194)'), GeomFromEWKT('SRID=4674;POINT (-40.022185 -2.784251)'))) / (select extract(epoch from '2026-06-27 09:17:17'::timestamp) - extract(epoch from '2026-06-27 09:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022056 -2.784194)'), GeomFromEWKT('SRID=4674;POINT (-40.022185 -2.784251)'))) / (select extract(epoch from '2026-06-27 09:17:17'::timestamp) - extract(epoch from '2026-06-27 09:17: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.022283 -2.784282)', '2026-06-27 09:17:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022185 -2.784251)'), GeomFromEWKT('SRID=4674;POINT (-40.022283 -2.784282)'))) / (select extract(epoch from '2026-06-27 09:17:24'::timestamp) - extract(epoch from '2026-06-27 09:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022185 -2.784251)'), GeomFromEWKT('SRID=4674;POINT (-40.022283 -2.784282)'))) / (select extract(epoch from '2026-06-27 09:17:24'::timestamp) - extract(epoch from '2026-06-27 09:17: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.022403 -2.784308)', '2026-06-27 09:17:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022283 -2.784282)'), GeomFromEWKT('SRID=4674;POINT (-40.022403 -2.784308)'))) / (select extract(epoch from '2026-06-27 09:17:33'::timestamp) - extract(epoch from '2026-06-27 09:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022283 -2.784282)'), GeomFromEWKT('SRID=4674;POINT (-40.022403 -2.784308)'))) / (select extract(epoch from '2026-06-27 09:17:33'::timestamp) - extract(epoch from '2026-06-27 09:17: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.022451 -2.784283)', '2026-06-27 09:17:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022403 -2.784308)'), GeomFromEWKT('SRID=4674;POINT (-40.022451 -2.784283)'))) / (select extract(epoch from '2026-06-27 09:17:36'::timestamp) - extract(epoch from '2026-06-27 09:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022403 -2.784308)'), GeomFromEWKT('SRID=4674;POINT (-40.022451 -2.784283)'))) / (select extract(epoch from '2026-06-27 09:17:36'::timestamp) - extract(epoch from '2026-06-27 09:17: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.02246 -2.784272)', '2026-06-27 09:17:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022451 -2.784283)'), GeomFromEWKT('SRID=4674;POINT (-40.02246 -2.784272)'))) / (select extract(epoch from '2026-06-27 09:17:38'::timestamp) - extract(epoch from '2026-06-27 09:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022451 -2.784283)'), GeomFromEWKT('SRID=4674;POINT (-40.02246 -2.784272)'))) / (select extract(epoch from '2026-06-27 09:17:38'::timestamp) - extract(epoch from '2026-06-27 09:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022473 -2.78419)', '2026-06-27 09:17:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02246 -2.784272)'), GeomFromEWKT('SRID=4674;POINT (-40.022473 -2.78419)'))) / (select extract(epoch from '2026-06-27 09:17:44'::timestamp) - extract(epoch from '2026-06-27 09:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02246 -2.784272)'), GeomFromEWKT('SRID=4674;POINT (-40.022473 -2.78419)'))) / (select extract(epoch from '2026-06-27 09:17:44'::timestamp) - extract(epoch from '2026-06-27 09:17: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.022466 -2.784173)', '2026-06-27 09:17:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022473 -2.78419)'), GeomFromEWKT('SRID=4674;POINT (-40.022466 -2.784173)'))) / (select extract(epoch from '2026-06-27 09:17:46'::timestamp) - extract(epoch from '2026-06-27 09:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022473 -2.78419)'), GeomFromEWKT('SRID=4674;POINT (-40.022466 -2.784173)'))) / (select extract(epoch from '2026-06-27 09:17:46'::timestamp) - extract(epoch from '2026-06-27 09:17: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.022431 -2.784142)', '2026-06-27 09:17:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022466 -2.784173)'), GeomFromEWKT('SRID=4674;POINT (-40.022431 -2.784142)'))) / (select extract(epoch from '2026-06-27 09:17:50'::timestamp) - extract(epoch from '2026-06-27 09:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022466 -2.784173)'), GeomFromEWKT('SRID=4674;POINT (-40.022431 -2.784142)'))) / (select extract(epoch from '2026-06-27 09:17:50'::timestamp) - extract(epoch from '2026-06-27 09:17: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.022408 -2.784138)', '2026-06-27 09:17:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022431 -2.784142)'), GeomFromEWKT('SRID=4674;POINT (-40.022408 -2.784138)'))) / (select extract(epoch from '2026-06-27 09:17:52'::timestamp) - extract(epoch from '2026-06-27 09:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022431 -2.784142)'), GeomFromEWKT('SRID=4674;POINT (-40.022408 -2.784138)'))) / (select extract(epoch from '2026-06-27 09:17:52'::timestamp) - extract(epoch from '2026-06-27 09:17: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.022345 -2.78414)', '2026-06-27 09:18:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022408 -2.784138)'), GeomFromEWKT('SRID=4674;POINT (-40.022345 -2.78414)'))) / (select extract(epoch from '2026-06-27 09:18:03'::timestamp) - extract(epoch from '2026-06-27 09:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022408 -2.784138)'), GeomFromEWKT('SRID=4674;POINT (-40.022345 -2.78414)'))) / (select extract(epoch from '2026-06-27 09:18:03'::timestamp) - extract(epoch from '2026-06-27 09:17: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.022337 -2.784179)', '2026-06-27 09:18:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022345 -2.78414)'), GeomFromEWKT('SRID=4674;POINT (-40.022337 -2.784179)'))) / (select extract(epoch from '2026-06-27 09:18:14'::timestamp) - extract(epoch from '2026-06-27 09:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022345 -2.78414)'), GeomFromEWKT('SRID=4674;POINT (-40.022337 -2.784179)'))) / (select extract(epoch from '2026-06-27 09:18:14'::timestamp) - extract(epoch from '2026-06-27 09:18: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.022376 -2.784292)', '2026-06-27 09:18:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022337 -2.784179)'), GeomFromEWKT('SRID=4674;POINT (-40.022376 -2.784292)'))) / (select extract(epoch from '2026-06-27 09:18:23'::timestamp) - extract(epoch from '2026-06-27 09:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022337 -2.784179)'), GeomFromEWKT('SRID=4674;POINT (-40.022376 -2.784292)'))) / (select extract(epoch from '2026-06-27 09:18:23'::timestamp) - extract(epoch from '2026-06-27 09:18: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.02243 -2.784418)', '2026-06-27 09:18:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022376 -2.784292)'), GeomFromEWKT('SRID=4674;POINT (-40.02243 -2.784418)'))) / (select extract(epoch from '2026-06-27 09:18:32'::timestamp) - extract(epoch from '2026-06-27 09:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022376 -2.784292)'), GeomFromEWKT('SRID=4674;POINT (-40.02243 -2.784418)'))) / (select extract(epoch from '2026-06-27 09:18:32'::timestamp) - extract(epoch from '2026-06-27 09:18: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.022517 -2.784496)', '2026-06-27 09:18:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02243 -2.784418)'), GeomFromEWKT('SRID=4674;POINT (-40.022517 -2.784496)'))) / (select extract(epoch from '2026-06-27 09:18:39'::timestamp) - extract(epoch from '2026-06-27 09:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02243 -2.784418)'), GeomFromEWKT('SRID=4674;POINT (-40.022517 -2.784496)'))) / (select extract(epoch from '2026-06-27 09:18:39'::timestamp) - extract(epoch from '2026-06-27 09:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022647 -2.784579)', '2026-06-27 09:18:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022517 -2.784496)'), GeomFromEWKT('SRID=4674;POINT (-40.022647 -2.784579)'))) / (select extract(epoch from '2026-06-27 09:18:47'::timestamp) - extract(epoch from '2026-06-27 09:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022517 -2.784496)'), GeomFromEWKT('SRID=4674;POINT (-40.022647 -2.784579)'))) / (select extract(epoch from '2026-06-27 09:18:47'::timestamp) - extract(epoch from '2026-06-27 09:18: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.022769 -2.784639)', '2026-06-27 09:18:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022647 -2.784579)'), GeomFromEWKT('SRID=4674;POINT (-40.022769 -2.784639)'))) / (select extract(epoch from '2026-06-27 09:18:56'::timestamp) - extract(epoch from '2026-06-27 09:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022647 -2.784579)'), GeomFromEWKT('SRID=4674;POINT (-40.022769 -2.784639)'))) / (select extract(epoch from '2026-06-27 09:18:56'::timestamp) - extract(epoch from '2026-06-27 09:18:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022857 -2.784682)', '2026-06-27 09:19:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022769 -2.784639)'), GeomFromEWKT('SRID=4674;POINT (-40.022857 -2.784682)'))) / (select extract(epoch from '2026-06-27 09:19:05'::timestamp) - extract(epoch from '2026-06-27 09:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022769 -2.784639)'), GeomFromEWKT('SRID=4674;POINT (-40.022857 -2.784682)'))) / (select extract(epoch from '2026-06-27 09:19:05'::timestamp) - extract(epoch from '2026-06-27 09:18: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.022901 -2.78474)', '2026-06-27 09:19:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022857 -2.784682)'), GeomFromEWKT('SRID=4674;POINT (-40.022901 -2.78474)'))) / (select extract(epoch from '2026-06-27 09:19:14'::timestamp) - extract(epoch from '2026-06-27 09:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022857 -2.784682)'), GeomFromEWKT('SRID=4674;POINT (-40.022901 -2.78474)'))) / (select extract(epoch from '2026-06-27 09:19:14'::timestamp) - extract(epoch from '2026-06-27 09:19: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.022891 -2.784774)', '2026-06-27 09:19:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022901 -2.78474)'), GeomFromEWKT('SRID=4674;POINT (-40.022891 -2.784774)'))) / (select extract(epoch from '2026-06-27 09:19:17'::timestamp) - extract(epoch from '2026-06-27 09:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022901 -2.78474)'), GeomFromEWKT('SRID=4674;POINT (-40.022891 -2.784774)'))) / (select extract(epoch from '2026-06-27 09:19:17'::timestamp) - extract(epoch from '2026-06-27 09:19:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022875 -2.784782)', '2026-06-27 09:19:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022891 -2.784774)'), GeomFromEWKT('SRID=4674;POINT (-40.022875 -2.784782)'))) / (select extract(epoch from '2026-06-27 09:19:21'::timestamp) - extract(epoch from '2026-06-27 09:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022891 -2.784774)'), GeomFromEWKT('SRID=4674;POINT (-40.022875 -2.784782)'))) / (select extract(epoch from '2026-06-27 09:19:21'::timestamp) - extract(epoch from '2026-06-27 09:19: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.022842 -2.784744)', '2026-06-27 09:19:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022875 -2.784782)'), GeomFromEWKT('SRID=4674;POINT (-40.022842 -2.784744)'))) / (select extract(epoch from '2026-06-27 09:19:31'::timestamp) - extract(epoch from '2026-06-27 09:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022875 -2.784782)'), GeomFromEWKT('SRID=4674;POINT (-40.022842 -2.784744)'))) / (select extract(epoch from '2026-06-27 09:19:31'::timestamp) - extract(epoch from '2026-06-27 09:19:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.02283 -2.784677)', '2026-06-27 09:19:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022842 -2.784744)'), GeomFromEWKT('SRID=4674;POINT (-40.02283 -2.784677)'))) / (select extract(epoch from '2026-06-27 09:19:45'::timestamp) - extract(epoch from '2026-06-27 09:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022842 -2.784744)'), GeomFromEWKT('SRID=4674;POINT (-40.02283 -2.784677)'))) / (select extract(epoch from '2026-06-27 09:19:45'::timestamp) - extract(epoch from '2026-06-27 09:19: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.022851 -2.784647)', '2026-06-27 09:19:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02283 -2.784677)'), GeomFromEWKT('SRID=4674;POINT (-40.022851 -2.784647)'))) / (select extract(epoch from '2026-06-27 09:19:52'::timestamp) - extract(epoch from '2026-06-27 09:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02283 -2.784677)'), GeomFromEWKT('SRID=4674;POINT (-40.022851 -2.784647)'))) / (select extract(epoch from '2026-06-27 09:19:52'::timestamp) - extract(epoch from '2026-06-27 09:19: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.022881 -2.784615)', '2026-06-27 09:20:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022851 -2.784647)'), GeomFromEWKT('SRID=4674;POINT (-40.022881 -2.784615)'))) / (select extract(epoch from '2026-06-27 09:20:00'::timestamp) - extract(epoch from '2026-06-27 09:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022851 -2.784647)'), GeomFromEWKT('SRID=4674;POINT (-40.022881 -2.784615)'))) / (select extract(epoch from '2026-06-27 09:20:00'::timestamp) - extract(epoch from '2026-06-27 09:19: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.022871 -2.784551)', '2026-06-27 09:20:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022881 -2.784615)'), GeomFromEWKT('SRID=4674;POINT (-40.022871 -2.784551)'))) / (select extract(epoch from '2026-06-27 09:20:09'::timestamp) - extract(epoch from '2026-06-27 09:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022881 -2.784615)'), GeomFromEWKT('SRID=4674;POINT (-40.022871 -2.784551)'))) / (select extract(epoch from '2026-06-27 09:20:09'::timestamp) - extract(epoch from '2026-06-27 09:20: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.022798 -2.784519)', '2026-06-27 09:20:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022871 -2.784551)'), GeomFromEWKT('SRID=4674;POINT (-40.022798 -2.784519)'))) / (select extract(epoch from '2026-06-27 09:20:17'::timestamp) - extract(epoch from '2026-06-27 09:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022871 -2.784551)'), GeomFromEWKT('SRID=4674;POINT (-40.022798 -2.784519)'))) / (select extract(epoch from '2026-06-27 09:20:17'::timestamp) - extract(epoch from '2026-06-27 09:20: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.022777 -2.784538)', '2026-06-27 09:20:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022798 -2.784519)'), GeomFromEWKT('SRID=4674;POINT (-40.022777 -2.784538)'))) / (select extract(epoch from '2026-06-27 09:20:22'::timestamp) - extract(epoch from '2026-06-27 09:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022798 -2.784519)'), GeomFromEWKT('SRID=4674;POINT (-40.022777 -2.784538)'))) / (select extract(epoch from '2026-06-27 09:20:22'::timestamp) - extract(epoch from '2026-06-27 09:20: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.022771 -2.784585)', '2026-06-27 09:20:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022777 -2.784538)'), GeomFromEWKT('SRID=4674;POINT (-40.022771 -2.784585)'))) / (select extract(epoch from '2026-06-27 09:20:32'::timestamp) - extract(epoch from '2026-06-27 09:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022777 -2.784538)'), GeomFromEWKT('SRID=4674;POINT (-40.022771 -2.784585)'))) / (select extract(epoch from '2026-06-27 09:20:32'::timestamp) - extract(epoch from '2026-06-27 09:20: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.022808 -2.784642)', '2026-06-27 09:20:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022771 -2.784585)'), GeomFromEWKT('SRID=4674;POINT (-40.022808 -2.784642)'))) / (select extract(epoch from '2026-06-27 09:20:39'::timestamp) - extract(epoch from '2026-06-27 09:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022771 -2.784585)'), GeomFromEWKT('SRID=4674;POINT (-40.022808 -2.784642)'))) / (select extract(epoch from '2026-06-27 09:20:39'::timestamp) - extract(epoch from '2026-06-27 09:20:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022863 -2.784698)', '2026-06-27 09:20:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022808 -2.784642)'), GeomFromEWKT('SRID=4674;POINT (-40.022863 -2.784698)'))) / (select extract(epoch from '2026-06-27 09:20:47'::timestamp) - extract(epoch from '2026-06-27 09:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022808 -2.784642)'), GeomFromEWKT('SRID=4674;POINT (-40.022863 -2.784698)'))) / (select extract(epoch from '2026-06-27 09:20:47'::timestamp) - extract(epoch from '2026-06-27 09:20: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.022866 -2.784708)', '2026-06-27 09:20:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022863 -2.784698)'), GeomFromEWKT('SRID=4674;POINT (-40.022866 -2.784708)'))) / (select extract(epoch from '2026-06-27 09:20:49'::timestamp) - extract(epoch from '2026-06-27 09:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022863 -2.784698)'), GeomFromEWKT('SRID=4674;POINT (-40.022866 -2.784708)'))) / (select extract(epoch from '2026-06-27 09:20:49'::timestamp) - extract(epoch from '2026-06-27 09:20: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.022864 -2.784755)', '2026-06-27 09:20:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022866 -2.784708)'), GeomFromEWKT('SRID=4674;POINT (-40.022864 -2.784755)'))) / (select extract(epoch from '2026-06-27 09:20:54'::timestamp) - extract(epoch from '2026-06-27 09:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022866 -2.784708)'), GeomFromEWKT('SRID=4674;POINT (-40.022864 -2.784755)'))) / (select extract(epoch from '2026-06-27 09:20:54'::timestamp) - extract(epoch from '2026-06-27 09:20: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.022828 -2.784787)', '2026-06-27 09:20:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022864 -2.784755)'), GeomFromEWKT('SRID=4674;POINT (-40.022828 -2.784787)'))) / (select extract(epoch from '2026-06-27 09:20:58'::timestamp) - extract(epoch from '2026-06-27 09:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022864 -2.784755)'), GeomFromEWKT('SRID=4674;POINT (-40.022828 -2.784787)'))) / (select extract(epoch from '2026-06-27 09:20:58'::timestamp) - extract(epoch from '2026-06-27 09:20: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.022792 -2.784798)', '2026-06-27 09:21:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022828 -2.784787)'), GeomFromEWKT('SRID=4674;POINT (-40.022792 -2.784798)'))) / (select extract(epoch from '2026-06-27 09:21:01'::timestamp) - extract(epoch from '2026-06-27 09:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022828 -2.784787)'), GeomFromEWKT('SRID=4674;POINT (-40.022792 -2.784798)'))) / (select extract(epoch from '2026-06-27 09:21:01'::timestamp) - extract(epoch from '2026-06-27 09:20: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.022698 -2.784807)', '2026-06-27 09:21:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022792 -2.784798)'), GeomFromEWKT('SRID=4674;POINT (-40.022698 -2.784807)'))) / (select extract(epoch from '2026-06-27 09:21:11'::timestamp) - extract(epoch from '2026-06-27 09:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022792 -2.784798)'), GeomFromEWKT('SRID=4674;POINT (-40.022698 -2.784807)'))) / (select extract(epoch from '2026-06-27 09:21:11'::timestamp) - extract(epoch from '2026-06-27 09:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022671 -2.784787)', '2026-06-27 09:21:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022698 -2.784807)'), GeomFromEWKT('SRID=4674;POINT (-40.022671 -2.784787)'))) / (select extract(epoch from '2026-06-27 09:21:25'::timestamp) - extract(epoch from '2026-06-27 09:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022698 -2.784807)'), GeomFromEWKT('SRID=4674;POINT (-40.022671 -2.784787)'))) / (select extract(epoch from '2026-06-27 09:21:25'::timestamp) - extract(epoch from '2026-06-27 09:21:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.02271 -2.784767)', '2026-06-27 09:21:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022671 -2.784787)'), GeomFromEWKT('SRID=4674;POINT (-40.02271 -2.784767)'))) / (select extract(epoch from '2026-06-27 09:21:38'::timestamp) - extract(epoch from '2026-06-27 09:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022671 -2.784787)'), GeomFromEWKT('SRID=4674;POINT (-40.02271 -2.784767)'))) / (select extract(epoch from '2026-06-27 09:21:38'::timestamp) - extract(epoch from '2026-06-27 09:21:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022811 -2.784737)', '2026-06-27 09:22:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02271 -2.784767)'), GeomFromEWKT('SRID=4674;POINT (-40.022811 -2.784737)'))) / (select extract(epoch from '2026-06-27 09:22:06'::timestamp) - extract(epoch from '2026-06-27 09:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02271 -2.784767)'), GeomFromEWKT('SRID=4674;POINT (-40.022811 -2.784737)'))) / (select extract(epoch from '2026-06-27 09:22:06'::timestamp) - extract(epoch from '2026-06-27 09:21: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.022873 -2.784694)', '2026-06-27 09:22:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022811 -2.784737)'), GeomFromEWKT('SRID=4674;POINT (-40.022873 -2.784694)'))) / (select extract(epoch from '2026-06-27 09:22:30'::timestamp) - extract(epoch from '2026-06-27 09:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022811 -2.784737)'), GeomFromEWKT('SRID=4674;POINT (-40.022873 -2.784694)'))) / (select extract(epoch from '2026-06-27 09:22:30'::timestamp) - extract(epoch from '2026-06-27 09:22: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.022887 -2.784676)', '2026-06-27 09:22:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022873 -2.784694)'), GeomFromEWKT('SRID=4674;POINT (-40.022887 -2.784676)'))) / (select extract(epoch from '2026-06-27 09:22:48'::timestamp) - extract(epoch from '2026-06-27 09:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022873 -2.784694)'), GeomFromEWKT('SRID=4674;POINT (-40.022887 -2.784676)'))) / (select extract(epoch from '2026-06-27 09:22:48'::timestamp) - extract(epoch from '2026-06-27 09:22:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022895 -2.784711)', '2026-06-27 09:23:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022887 -2.784676)'), GeomFromEWKT('SRID=4674;POINT (-40.022895 -2.784711)'))) / (select extract(epoch from '2026-06-27 09:23:03'::timestamp) - extract(epoch from '2026-06-27 09:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022887 -2.784676)'), GeomFromEWKT('SRID=4674;POINT (-40.022895 -2.784711)'))) / (select extract(epoch from '2026-06-27 09:23:03'::timestamp) - extract(epoch from '2026-06-27 09:22: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.022917 -2.784764)', '2026-06-27 09:23:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022895 -2.784711)'), GeomFromEWKT('SRID=4674;POINT (-40.022917 -2.784764)'))) / (select extract(epoch from '2026-06-27 09:23:35'::timestamp) - extract(epoch from '2026-06-27 09:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022895 -2.784711)'), GeomFromEWKT('SRID=4674;POINT (-40.022917 -2.784764)'))) / (select extract(epoch from '2026-06-27 09:23:35'::timestamp) - extract(epoch from '2026-06-27 09:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022917 -2.784755)', '2026-06-27 09:24:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022917 -2.784764)'), GeomFromEWKT('SRID=4674;POINT (-40.022917 -2.784755)'))) / (select extract(epoch from '2026-06-27 09:24:06'::timestamp) - extract(epoch from '2026-06-27 09:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022917 -2.784764)'), GeomFromEWKT('SRID=4674;POINT (-40.022917 -2.784755)'))) / (select extract(epoch from '2026-06-27 09:24:06'::timestamp) - extract(epoch from '2026-06-27 09:23: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.022918 -2.784764)', '2026-06-27 09:25:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022917 -2.784755)'), GeomFromEWKT('SRID=4674;POINT (-40.022918 -2.784764)'))) / (select extract(epoch from '2026-06-27 09:25:23'::timestamp) - extract(epoch from '2026-06-27 09:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022917 -2.784755)'), GeomFromEWKT('SRID=4674;POINT (-40.022918 -2.784764)'))) / (select extract(epoch from '2026-06-27 09:25:23'::timestamp) - extract(epoch from '2026-06-27 09:24: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.022924 -2.784774)', '2026-06-27 09:26:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022918 -2.784764)'), GeomFromEWKT('SRID=4674;POINT (-40.022924 -2.784774)'))) / (select extract(epoch from '2026-06-27 09:26:06'::timestamp) - extract(epoch from '2026-06-27 09:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022918 -2.784764)'), GeomFromEWKT('SRID=4674;POINT (-40.022924 -2.784774)'))) / (select extract(epoch from '2026-06-27 09:26:06'::timestamp) - extract(epoch from '2026-06-27 09:25:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022923 -2.784775)', '2026-06-27 09:26:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022924 -2.784774)'), GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.784775)'))) / (select extract(epoch from '2026-06-27 09:26:42'::timestamp) - extract(epoch from '2026-06-27 09:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022924 -2.784774)'), GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.784775)'))) / (select extract(epoch from '2026-06-27 09:26:42'::timestamp) - extract(epoch from '2026-06-27 09:26: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.022928 -2.784782)', '2026-06-27 09:27:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.784775)'), GeomFromEWKT('SRID=4674;POINT (-40.022928 -2.784782)'))) / (select extract(epoch from '2026-06-27 09:27:08'::timestamp) - extract(epoch from '2026-06-27 09:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.784775)'), GeomFromEWKT('SRID=4674;POINT (-40.022928 -2.784782)'))) / (select extract(epoch from '2026-06-27 09:27:08'::timestamp) - extract(epoch from '2026-06-27 09:26: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.022925 -2.784759)', '2026-06-27 09:27:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022928 -2.784782)'), GeomFromEWKT('SRID=4674;POINT (-40.022925 -2.784759)'))) / (select extract(epoch from '2026-06-27 09:27:39'::timestamp) - extract(epoch from '2026-06-27 09:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022928 -2.784782)'), GeomFromEWKT('SRID=4674;POINT (-40.022925 -2.784759)'))) / (select extract(epoch from '2026-06-27 09:27:39'::timestamp) - extract(epoch from '2026-06-27 09:27: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.022919 -2.784747)', '2026-06-27 09:28:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022925 -2.784759)'), GeomFromEWKT('SRID=4674;POINT (-40.022919 -2.784747)'))) / (select extract(epoch from '2026-06-27 09:28:16'::timestamp) - extract(epoch from '2026-06-27 09:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022925 -2.784759)'), GeomFromEWKT('SRID=4674;POINT (-40.022919 -2.784747)'))) / (select extract(epoch from '2026-06-27 09:28:16'::timestamp) - extract(epoch from '2026-06-27 09:27: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.022927 -2.78477)', '2026-06-27 09:28:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022919 -2.784747)'), GeomFromEWKT('SRID=4674;POINT (-40.022927 -2.78477)'))) / (select extract(epoch from '2026-06-27 09:28:58'::timestamp) - extract(epoch from '2026-06-27 09:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022919 -2.784747)'), GeomFromEWKT('SRID=4674;POINT (-40.022927 -2.78477)'))) / (select extract(epoch from '2026-06-27 09:28:58'::timestamp) - extract(epoch from '2026-06-27 09:28: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.022925 -2.784786)', '2026-06-27 09:29:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022927 -2.78477)'), GeomFromEWKT('SRID=4674;POINT (-40.022925 -2.784786)'))) / (select extract(epoch from '2026-06-27 09:29:37'::timestamp) - extract(epoch from '2026-06-27 09:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022927 -2.78477)'), GeomFromEWKT('SRID=4674;POINT (-40.022925 -2.784786)'))) / (select extract(epoch from '2026-06-27 09:29:37'::timestamp) - extract(epoch from '2026-06-27 09:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022931 -2.784774)', '2026-06-27 09:30:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022925 -2.784786)'), GeomFromEWKT('SRID=4674;POINT (-40.022931 -2.784774)'))) / (select extract(epoch from '2026-06-27 09:30:13'::timestamp) - extract(epoch from '2026-06-27 09:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022925 -2.784786)'), GeomFromEWKT('SRID=4674;POINT (-40.022931 -2.784774)'))) / (select extract(epoch from '2026-06-27 09:30:13'::timestamp) - extract(epoch from '2026-06-27 09:29: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.022923 -2.784782)', '2026-06-27 09:30:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022931 -2.784774)'), GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.784782)'))) / (select extract(epoch from '2026-06-27 09:30:45'::timestamp) - extract(epoch from '2026-06-27 09:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022931 -2.784774)'), GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.784782)'))) / (select extract(epoch from '2026-06-27 09:30:45'::timestamp) - extract(epoch from '2026-06-27 09:30: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.022865 -2.784816)', '2026-06-27 09:31:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.784782)'), GeomFromEWKT('SRID=4674;POINT (-40.022865 -2.784816)'))) / (select extract(epoch from '2026-06-27 09:31:00'::timestamp) - extract(epoch from '2026-06-27 09:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.784782)'), GeomFromEWKT('SRID=4674;POINT (-40.022865 -2.784816)'))) / (select extract(epoch from '2026-06-27 09:31:00'::timestamp) - extract(epoch from '2026-06-27 09:30: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.022792 -2.784812)', '2026-06-27 09:31:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022865 -2.784816)'), GeomFromEWKT('SRID=4674;POINT (-40.022792 -2.784812)'))) / (select extract(epoch from '2026-06-27 09:31:09'::timestamp) - extract(epoch from '2026-06-27 09:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022865 -2.784816)'), GeomFromEWKT('SRID=4674;POINT (-40.022792 -2.784812)'))) / (select extract(epoch from '2026-06-27 09:31:09'::timestamp) - extract(epoch from '2026-06-27 09:31: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.022692 -2.78482)', '2026-06-27 09:31:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022792 -2.784812)'), GeomFromEWKT('SRID=4674;POINT (-40.022692 -2.78482)'))) / (select extract(epoch from '2026-06-27 09:31:19'::timestamp) - extract(epoch from '2026-06-27 09:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022792 -2.784812)'), GeomFromEWKT('SRID=4674;POINT (-40.022692 -2.78482)'))) / (select extract(epoch from '2026-06-27 09:31:19'::timestamp) - extract(epoch from '2026-06-27 09:31: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.022631 -2.784847)', '2026-06-27 09:31:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022692 -2.78482)'), GeomFromEWKT('SRID=4674;POINT (-40.022631 -2.784847)'))) / (select extract(epoch from '2026-06-27 09:31:30'::timestamp) - extract(epoch from '2026-06-27 09:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022692 -2.78482)'), GeomFromEWKT('SRID=4674;POINT (-40.022631 -2.784847)'))) / (select extract(epoch from '2026-06-27 09:31:30'::timestamp) - extract(epoch from '2026-06-27 09:31:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022631 -2.784892)', '2026-06-27 09:31:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022631 -2.784847)'), GeomFromEWKT('SRID=4674;POINT (-40.022631 -2.784892)'))) / (select extract(epoch from '2026-06-27 09:31:34'::timestamp) - extract(epoch from '2026-06-27 09:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022631 -2.784847)'), GeomFromEWKT('SRID=4674;POINT (-40.022631 -2.784892)'))) / (select extract(epoch from '2026-06-27 09:31:34'::timestamp) - extract(epoch from '2026-06-27 09:31: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.022649 -2.784928)', '2026-06-27 09:31:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022631 -2.784892)'), GeomFromEWKT('SRID=4674;POINT (-40.022649 -2.784928)'))) / (select extract(epoch from '2026-06-27 09:31:37'::timestamp) - extract(epoch from '2026-06-27 09:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022631 -2.784892)'), GeomFromEWKT('SRID=4674;POINT (-40.022649 -2.784928)'))) / (select extract(epoch from '2026-06-27 09:31:37'::timestamp) - extract(epoch from '2026-06-27 09:31: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.022681 -2.784957)', '2026-06-27 09:31:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022649 -2.784928)'), GeomFromEWKT('SRID=4674;POINT (-40.022681 -2.784957)'))) / (select extract(epoch from '2026-06-27 09:31:40'::timestamp) - extract(epoch from '2026-06-27 09:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022649 -2.784928)'), GeomFromEWKT('SRID=4674;POINT (-40.022681 -2.784957)'))) / (select extract(epoch from '2026-06-27 09:31:40'::timestamp) - extract(epoch from '2026-06-27 09:31: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.022721 -2.78498)', '2026-06-27 09:31:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022681 -2.784957)'), GeomFromEWKT('SRID=4674;POINT (-40.022721 -2.78498)'))) / (select extract(epoch from '2026-06-27 09:31:43'::timestamp) - extract(epoch from '2026-06-27 09:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022681 -2.784957)'), GeomFromEWKT('SRID=4674;POINT (-40.022721 -2.78498)'))) / (select extract(epoch from '2026-06-27 09:31:43'::timestamp) - extract(epoch from '2026-06-27 09:31: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.02281 -2.784999)', '2026-06-27 09:31:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022721 -2.78498)'), GeomFromEWKT('SRID=4674;POINT (-40.02281 -2.784999)'))) / (select extract(epoch from '2026-06-27 09:31:49'::timestamp) - extract(epoch from '2026-06-27 09:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022721 -2.78498)'), GeomFromEWKT('SRID=4674;POINT (-40.02281 -2.784999)'))) / (select extract(epoch from '2026-06-27 09:31:49'::timestamp) - extract(epoch from '2026-06-27 09:31: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.022849 -2.785016)', '2026-06-27 09:31:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02281 -2.784999)'), GeomFromEWKT('SRID=4674;POINT (-40.022849 -2.785016)'))) / (select extract(epoch from '2026-06-27 09:31:52'::timestamp) - extract(epoch from '2026-06-27 09:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02281 -2.784999)'), GeomFromEWKT('SRID=4674;POINT (-40.022849 -2.785016)'))) / (select extract(epoch from '2026-06-27 09:31:52'::timestamp) - extract(epoch from '2026-06-27 09:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022862 -2.785022)', '2026-06-27 09:31:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022849 -2.785016)'), GeomFromEWKT('SRID=4674;POINT (-40.022862 -2.785022)'))) / (select extract(epoch from '2026-06-27 09:31:54'::timestamp) - extract(epoch from '2026-06-27 09:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022849 -2.785016)'), GeomFromEWKT('SRID=4674;POINT (-40.022862 -2.785022)'))) / (select extract(epoch from '2026-06-27 09:31:54'::timestamp) - extract(epoch from '2026-06-27 09:31: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.022916 -2.78507)', '2026-06-27 09:31:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022862 -2.785022)'), GeomFromEWKT('SRID=4674;POINT (-40.022916 -2.78507)'))) / (select extract(epoch from '2026-06-27 09:31:59'::timestamp) - extract(epoch from '2026-06-27 09:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022862 -2.785022)'), GeomFromEWKT('SRID=4674;POINT (-40.022916 -2.78507)'))) / (select extract(epoch from '2026-06-27 09:31:59'::timestamp) - extract(epoch from '2026-06-27 09:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46942, 'SRID=4674;POINT (-40.022933 -2.785108)', '2026-06-27 09:32:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022916 -2.78507)'), GeomFromEWKT('SRID=4674;POINT (-40.022933 -2.785108)'))) / (select extract(epoch from '2026-06-27 09:32:03'::timestamp) - extract(epoch from '2026-06-27 09:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022916 -2.78507)'), GeomFromEWKT('SRID=4674;POINT (-40.022933 -2.785108)'))) / (select extract(epoch from '2026-06-27 09:32:03'::timestamp) - extract(epoch from '2026-06-27 09:31: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.022932 -2.785166)', '2026-06-27 09:32:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022933 -2.785108)'), GeomFromEWKT('SRID=4674;POINT (-40.022932 -2.785166)'))) / (select extract(epoch from '2026-06-27 09:32:10'::timestamp) - extract(epoch from '2026-06-27 09:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022933 -2.785108)'), GeomFromEWKT('SRID=4674;POINT (-40.022932 -2.785166)'))) / (select extract(epoch from '2026-06-27 09:32:10'::timestamp) - extract(epoch from '2026-06-27 09:32: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.022908 -2.785269)', '2026-06-27 09:32:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022932 -2.785166)'), GeomFromEWKT('SRID=4674;POINT (-40.022908 -2.785269)'))) / (select extract(epoch from '2026-06-27 09:32:18'::timestamp) - extract(epoch from '2026-06-27 09:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022932 -2.785166)'), GeomFromEWKT('SRID=4674;POINT (-40.022908 -2.785269)'))) / (select extract(epoch from '2026-06-27 09:32:18'::timestamp) - extract(epoch from '2026-06-27 09:32: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.022925 -2.785394)', '2026-06-27 09:32:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022908 -2.785269)'), GeomFromEWKT('SRID=4674;POINT (-40.022925 -2.785394)'))) / (select extract(epoch from '2026-06-27 09:32:26'::timestamp) - extract(epoch from '2026-06-27 09:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022908 -2.785269)'), GeomFromEWKT('SRID=4674;POINT (-40.022925 -2.785394)'))) / (select extract(epoch from '2026-06-27 09:32:26'::timestamp) - extract(epoch from '2026-06-27 09:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
