 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138413 -3.123402)', '2026-06-27 11:59:37', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123402)'))) / (select extract(epoch from '2026-06-27 11:59:37'::timestamp) - extract(epoch from '2026-06-27 11:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123402)'))) / (select extract(epoch from '2026-06-27 11:59:37'::timestamp) - extract(epoch from '2026-06-27 11:59: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'), 46645, 'SRID=4674;POINT (-39.138408 -3.123401)', '2026-06-27 11:59:45', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123401)'))) / (select extract(epoch from '2026-06-27 11:59:45'::timestamp) - extract(epoch from '2026-06-27 11:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123401)'))) / (select extract(epoch from '2026-06-27 11:59:45'::timestamp) - extract(epoch from '2026-06-27 11:59: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'), 46645, 'SRID=4674;POINT (-39.138407 -3.123399)', '2026-06-27 11:59:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123401)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123399)'))) / (select extract(epoch from '2026-06-27 11:59:57'::timestamp) - extract(epoch from '2026-06-27 11:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123401)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123399)'))) / (select extract(epoch from '2026-06-27 11:59:57'::timestamp) - extract(epoch from '2026-06-27 11:59: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.1234)', '2026-06-27 12:00:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123399)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.1234)'))) / (select extract(epoch from '2026-06-27 12:00:09'::timestamp) - extract(epoch from '2026-06-27 11:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123399)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.1234)'))) / (select extract(epoch from '2026-06-27 12:00:09'::timestamp) - extract(epoch from '2026-06-27 11:59: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'), 46645, 'SRID=4674;POINT (-39.138409 -3.123402)', '2026-06-27 12:00:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.1234)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123402)'))) / (select extract(epoch from '2026-06-27 12:00:15'::timestamp) - extract(epoch from '2026-06-27 12:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.1234)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123402)'))) / (select extract(epoch from '2026-06-27 12:00:15'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123401)', '2026-06-27 12:00:26', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123401)'))) / (select extract(epoch from '2026-06-27 12:00:26'::timestamp) - extract(epoch from '2026-06-27 12:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123401)'))) / (select extract(epoch from '2026-06-27 12:00:26'::timestamp) - extract(epoch from '2026-06-27 12:00: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.123403)', '2026-06-27 12:00:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123401)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123403)'))) / (select extract(epoch from '2026-06-27 12:00:34'::timestamp) - extract(epoch from '2026-06-27 12:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123401)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123403)'))) / (select extract(epoch from '2026-06-27 12:00:34'::timestamp) - extract(epoch from '2026-06-27 12:00:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13841 -3.123402)', '2026-06-27 12:00:44', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123403)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123402)'))) / (select extract(epoch from '2026-06-27 12:00:44'::timestamp) - extract(epoch from '2026-06-27 12:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123403)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123402)'))) / (select extract(epoch from '2026-06-27 12:00:44'::timestamp) - extract(epoch from '2026-06-27 12:00: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'), 46645, 'SRID=4674;POINT (-39.138407 -3.123403)', '2026-06-27 12:00:56', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123403)'))) / (select extract(epoch from '2026-06-27 12:00:56'::timestamp) - extract(epoch from '2026-06-27 12:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123403)'))) / (select extract(epoch from '2026-06-27 12:00:56'::timestamp) - extract(epoch from '2026-06-27 12:00: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.123395)', '2026-06-27 12:01:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123403)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123395)'))) / (select extract(epoch from '2026-06-27 12:01:02'::timestamp) - extract(epoch from '2026-06-27 12:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123403)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123395)'))) / (select extract(epoch from '2026-06-27 12:01:02'::timestamp) - extract(epoch from '2026-06-27 12:00: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'), 46645, 'SRID=4674;POINT (-39.138407 -3.12339)', '2026-06-27 12:01:12', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.12339)'))) / (select extract(epoch from '2026-06-27 12:01:12'::timestamp) - extract(epoch from '2026-06-27 12:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.12339)'))) / (select extract(epoch from '2026-06-27 12:01:12'::timestamp) - extract(epoch from '2026-06-27 12:01: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123383)', '2026-06-27 12:01:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:01:19'::timestamp) - extract(epoch from '2026-06-27 12:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:01:19'::timestamp) - extract(epoch from '2026-06-27 12:01: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123381)', '2026-06-27 12:01:33', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123381)'))) / (select extract(epoch from '2026-06-27 12:01:33'::timestamp) - extract(epoch from '2026-06-27 12:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123381)'))) / (select extract(epoch from '2026-06-27 12:01:33'::timestamp) - extract(epoch from '2026-06-27 12:01: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123381)', '2026-06-27 12:01:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123381)'))) / (select extract(epoch from '2026-06-27 12:01:42'::timestamp) - extract(epoch from '2026-06-27 12:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123381)'))) / (select extract(epoch from '2026-06-27 12:01:42'::timestamp) - extract(epoch from '2026-06-27 12:01: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123374)', '2026-06-27 12:01:51', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123374)'))) / (select extract(epoch from '2026-06-27 12:01:51'::timestamp) - extract(epoch from '2026-06-27 12:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123374)'))) / (select extract(epoch from '2026-06-27 12:01:51'::timestamp) - extract(epoch from '2026-06-27 12:01:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138418 -3.123374)', '2026-06-27 12:01:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123374)'))) / (select extract(epoch from '2026-06-27 12:01:58'::timestamp) - extract(epoch from '2026-06-27 12:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123374)'))) / (select extract(epoch from '2026-06-27 12:01:58'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138421 -3.123375)', '2026-06-27 12:02:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123375)'))) / (select extract(epoch from '2026-06-27 12:02:07'::timestamp) - extract(epoch from '2026-06-27 12:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123375)'))) / (select extract(epoch from '2026-06-27 12:02:07'::timestamp) - extract(epoch from '2026-06-27 12:01: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123369)', '2026-06-27 12:02:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:02:13'::timestamp) - extract(epoch from '2026-06-27 12:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:02:13'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123367)', '2026-06-27 12:02:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123367)'))) / (select extract(epoch from '2026-06-27 12:02:21'::timestamp) - extract(epoch from '2026-06-27 12:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123367)'))) / (select extract(epoch from '2026-06-27 12:02:21'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123366)', '2026-06-27 12:02:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123366)'))) / (select extract(epoch from '2026-06-27 12:02:31'::timestamp) - extract(epoch from '2026-06-27 12:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123366)'))) / (select extract(epoch from '2026-06-27 12:02:31'::timestamp) - extract(epoch from '2026-06-27 12:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138415 -3.123364)', '2026-06-27 12:02:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123364)'))) / (select extract(epoch from '2026-06-27 12:02:42'::timestamp) - extract(epoch from '2026-06-27 12:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123364)'))) / (select extract(epoch from '2026-06-27 12:02:42'::timestamp) - extract(epoch from '2026-06-27 12:02: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123363)', '2026-06-27 12:02:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123363)'))) / (select extract(epoch from '2026-06-27 12:02:53'::timestamp) - extract(epoch from '2026-06-27 12:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123363)'))) / (select extract(epoch from '2026-06-27 12:02:53'::timestamp) - extract(epoch from '2026-06-27 12:02: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123357)', '2026-06-27 12:03:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123357)'))) / (select extract(epoch from '2026-06-27 12:03:02'::timestamp) - extract(epoch from '2026-06-27 12:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123357)'))) / (select extract(epoch from '2026-06-27 12:03:02'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123359)', '2026-06-27 12:03:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123359)'))) / (select extract(epoch from '2026-06-27 12:03:08'::timestamp) - extract(epoch from '2026-06-27 12:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123359)'))) / (select extract(epoch from '2026-06-27 12:03:08'::timestamp) - extract(epoch from '2026-06-27 12:03:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138416 -3.123357)', '2026-06-27 12:03:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123357)'))) / (select extract(epoch from '2026-06-27 12:03:14'::timestamp) - extract(epoch from '2026-06-27 12:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123357)'))) / (select extract(epoch from '2026-06-27 12:03:14'::timestamp) - extract(epoch from '2026-06-27 12:03: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.123359)', '2026-06-27 12:03:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123359)'))) / (select extract(epoch from '2026-06-27 12:03:21'::timestamp) - extract(epoch from '2026-06-27 12:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123359)'))) / (select extract(epoch from '2026-06-27 12:03:21'::timestamp) - extract(epoch from '2026-06-27 12:03: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.123357)', '2026-06-27 12:03:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123357)'))) / (select extract(epoch from '2026-06-27 12:03:32'::timestamp) - extract(epoch from '2026-06-27 12:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123357)'))) / (select extract(epoch from '2026-06-27 12:03:32'::timestamp) - extract(epoch from '2026-06-27 12:03: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.123354)', '2026-06-27 12:03:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123354)'))) / (select extract(epoch from '2026-06-27 12:03:40'::timestamp) - extract(epoch from '2026-06-27 12:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123354)'))) / (select extract(epoch from '2026-06-27 12:03:40'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.123352)', '2026-06-27 12:03:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123352)'))) / (select extract(epoch from '2026-06-27 12:03:50'::timestamp) - extract(epoch from '2026-06-27 12:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123352)'))) / (select extract(epoch from '2026-06-27 12:03:50'::timestamp) - extract(epoch from '2026-06-27 12:03: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123359)', '2026-06-27 12:04:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123359)'))) / (select extract(epoch from '2026-06-27 12:04:00'::timestamp) - extract(epoch from '2026-06-27 12:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123359)'))) / (select extract(epoch from '2026-06-27 12:04:00'::timestamp) - extract(epoch from '2026-06-27 12:03: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'), 46645, 'SRID=4674;POINT (-39.138421 -3.123362)', '2026-06-27 12:04:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123362)'))) / (select extract(epoch from '2026-06-27 12:04:09'::timestamp) - extract(epoch from '2026-06-27 12:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123362)'))) / (select extract(epoch from '2026-06-27 12:04:09'::timestamp) - extract(epoch from '2026-06-27 12:04: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123362)', '2026-06-27 12:04:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123362)'))) / (select extract(epoch from '2026-06-27 12:04:20'::timestamp) - extract(epoch from '2026-06-27 12:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123362)'))) / (select extract(epoch from '2026-06-27 12:04:20'::timestamp) - extract(epoch from '2026-06-27 12:04: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123357)', '2026-06-27 12:04:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123357)'))) / (select extract(epoch from '2026-06-27 12:04:26'::timestamp) - extract(epoch from '2026-06-27 12:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123357)'))) / (select extract(epoch from '2026-06-27 12:04:26'::timestamp) - extract(epoch from '2026-06-27 12:04:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138421 -3.123355)', '2026-06-27 12:04:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123355)'))) / (select extract(epoch from '2026-06-27 12:04:36'::timestamp) - extract(epoch from '2026-06-27 12:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123355)'))) / (select extract(epoch from '2026-06-27 12:04:36'::timestamp) - extract(epoch from '2026-06-27 12:04:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13842 -3.123347)', '2026-06-27 12:04:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123347)'))) / (select extract(epoch from '2026-06-27 12:04:43'::timestamp) - extract(epoch from '2026-06-27 12:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123347)'))) / (select extract(epoch from '2026-06-27 12:04:43'::timestamp) - extract(epoch from '2026-06-27 12:04:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138423 -3.123345)', '2026-06-27 12:04:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123345)'))) / (select extract(epoch from '2026-06-27 12:04:51'::timestamp) - extract(epoch from '2026-06-27 12:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123345)'))) / (select extract(epoch from '2026-06-27 12:04:51'::timestamp) - extract(epoch from '2026-06-27 12:04:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138415 -3.123347)', '2026-06-27 12:04:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123347)'))) / (select extract(epoch from '2026-06-27 12:04:59'::timestamp) - extract(epoch from '2026-06-27 12:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123347)'))) / (select extract(epoch from '2026-06-27 12:04:59'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.123339)', '2026-06-27 12:05:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123339)'))) / (select extract(epoch from '2026-06-27 12:05:07'::timestamp) - extract(epoch from '2026-06-27 12:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123339)'))) / (select extract(epoch from '2026-06-27 12:05:07'::timestamp) - extract(epoch from '2026-06-27 12:04:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138416 -3.123335)', '2026-06-27 12:05:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123335)'))) / (select extract(epoch from '2026-06-27 12:05:20'::timestamp) - extract(epoch from '2026-06-27 12:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123335)'))) / (select extract(epoch from '2026-06-27 12:05:20'::timestamp) - extract(epoch from '2026-06-27 12:05:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138418 -3.123336)', '2026-06-27 12:05:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123336)'))) / (select extract(epoch from '2026-06-27 12:05:29'::timestamp) - extract(epoch from '2026-06-27 12:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123336)'))) / (select extract(epoch from '2026-06-27 12:05:29'::timestamp) - extract(epoch from '2026-06-27 12:05: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123335)', '2026-06-27 12:05:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123335)'))) / (select extract(epoch from '2026-06-27 12:05:38'::timestamp) - extract(epoch from '2026-06-27 12:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123335)'))) / (select extract(epoch from '2026-06-27 12:05:38'::timestamp) - extract(epoch from '2026-06-27 12:05: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.12334)', '2026-06-27 12:05:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.12334)'))) / (select extract(epoch from '2026-06-27 12:05:48'::timestamp) - extract(epoch from '2026-06-27 12:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123335)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.12334)'))) / (select extract(epoch from '2026-06-27 12:05:48'::timestamp) - extract(epoch from '2026-06-27 12:05: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123344)', '2026-06-27 12:05:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123344)'))) / (select extract(epoch from '2026-06-27 12:05:57'::timestamp) - extract(epoch from '2026-06-27 12:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.12334)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123344)'))) / (select extract(epoch from '2026-06-27 12:05:57'::timestamp) - extract(epoch from '2026-06-27 12:05: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.123342)', '2026-06-27 12:06:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123342)'))) / (select extract(epoch from '2026-06-27 12:06:08'::timestamp) - extract(epoch from '2026-06-27 12:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123342)'))) / (select extract(epoch from '2026-06-27 12:06:08'::timestamp) - extract(epoch from '2026-06-27 12:05:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138416 -3.123342)', '2026-06-27 12:06:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123342)'))) / (select extract(epoch from '2026-06-27 12:06:16'::timestamp) - extract(epoch from '2026-06-27 12:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123342)'))) / (select extract(epoch from '2026-06-27 12:06:16'::timestamp) - extract(epoch from '2026-06-27 12:06: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'), 46645, 'SRID=4674;POINT (-39.138407 -3.123347)', '2026-06-27 12:06:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123347)'))) / (select extract(epoch from '2026-06-27 12:06:22'::timestamp) - extract(epoch from '2026-06-27 12:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123347)'))) / (select extract(epoch from '2026-06-27 12:06:22'::timestamp) - extract(epoch from '2026-06-27 12:06: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.123354)', '2026-06-27 12:06:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123354)'))) / (select extract(epoch from '2026-06-27 12:06:34'::timestamp) - extract(epoch from '2026-06-27 12:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123354)'))) / (select extract(epoch from '2026-06-27 12:06:34'::timestamp) - extract(epoch from '2026-06-27 12:06: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.123351)', '2026-06-27 12:06:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123351)'))) / (select extract(epoch from '2026-06-27 12:06:40'::timestamp) - extract(epoch from '2026-06-27 12:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123351)'))) / (select extract(epoch from '2026-06-27 12:06:40'::timestamp) - extract(epoch from '2026-06-27 12:06: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.12335)', '2026-06-27 12:06:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12335)'))) / (select extract(epoch from '2026-06-27 12:06:48'::timestamp) - extract(epoch from '2026-06-27 12:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12335)'))) / (select extract(epoch from '2026-06-27 12:06:48'::timestamp) - extract(epoch from '2026-06-27 12:06:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138412 -3.123347)', '2026-06-27 12:06:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123347)'))) / (select extract(epoch from '2026-06-27 12:06:56'::timestamp) - extract(epoch from '2026-06-27 12:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123347)'))) / (select extract(epoch from '2026-06-27 12:06:56'::timestamp) - extract(epoch from '2026-06-27 12:06: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'), 46645, 'SRID=4674;POINT (-39.138414 -3.123351)', '2026-06-27 12:07:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123351)'))) / (select extract(epoch from '2026-06-27 12:07:04'::timestamp) - extract(epoch from '2026-06-27 12:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123351)'))) / (select extract(epoch from '2026-06-27 12:07:04'::timestamp) - extract(epoch from '2026-06-27 12:06:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138415 -3.123353)', '2026-06-27 12:07:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123353)'))) / (select extract(epoch from '2026-06-27 12:07:12'::timestamp) - extract(epoch from '2026-06-27 12:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123353)'))) / (select extract(epoch from '2026-06-27 12:07:12'::timestamp) - extract(epoch from '2026-06-27 12:07:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138413 -3.123355)', '2026-06-27 12:07:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123355)'))) / (select extract(epoch from '2026-06-27 12:07:17'::timestamp) - extract(epoch from '2026-06-27 12:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123355)'))) / (select extract(epoch from '2026-06-27 12:07:17'::timestamp) - extract(epoch from '2026-06-27 12:07: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123359)', '2026-06-27 12:07:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123359)'))) / (select extract(epoch from '2026-06-27 12:07:18'::timestamp) - extract(epoch from '2026-06-27 12:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123359)'))) / (select extract(epoch from '2026-06-27 12:07:18'::timestamp) - extract(epoch from '2026-06-27 12:07: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123358)', '2026-06-27 12:07:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123358)'))) / (select extract(epoch from '2026-06-27 12:07:22'::timestamp) - extract(epoch from '2026-06-27 12:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123358)'))) / (select extract(epoch from '2026-06-27 12:07:22'::timestamp) - extract(epoch from '2026-06-27 12:07:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138422 -3.12336)', '2026-06-27 12:07:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12336)'))) / (select extract(epoch from '2026-06-27 12:07:30'::timestamp) - extract(epoch from '2026-06-27 12:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12336)'))) / (select extract(epoch from '2026-06-27 12:07:30'::timestamp) - extract(epoch from '2026-06-27 12:07:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138423 -3.123361)', '2026-06-27 12:07:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123361)'))) / (select extract(epoch from '2026-06-27 12:07:40'::timestamp) - extract(epoch from '2026-06-27 12:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123361)'))) / (select extract(epoch from '2026-06-27 12:07:40'::timestamp) - extract(epoch from '2026-06-27 12:07: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123357)', '2026-06-27 12:07:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123357)'))) / (select extract(epoch from '2026-06-27 12:07:45'::timestamp) - extract(epoch from '2026-06-27 12:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123357)'))) / (select extract(epoch from '2026-06-27 12:07:45'::timestamp) - extract(epoch from '2026-06-27 12:07:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138429 -3.123359)', '2026-06-27 12:07:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123359)'))) / (select extract(epoch from '2026-06-27 12:07:53'::timestamp) - extract(epoch from '2026-06-27 12:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123359)'))) / (select extract(epoch from '2026-06-27 12:07:53'::timestamp) - extract(epoch from '2026-06-27 12:07:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138421 -3.123361)', '2026-06-27 12:08:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123361)'))) / (select extract(epoch from '2026-06-27 12:08:05'::timestamp) - extract(epoch from '2026-06-27 12:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123359)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123361)'))) / (select extract(epoch from '2026-06-27 12:08:05'::timestamp) - extract(epoch from '2026-06-27 12:07: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123368)', '2026-06-27 12:08:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:08:15'::timestamp) - extract(epoch from '2026-06-27 12:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:08:15'::timestamp) - extract(epoch from '2026-06-27 12:08: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.12336)', '2026-06-27 12:08:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12336)'))) / (select extract(epoch from '2026-06-27 12:08:26'::timestamp) - extract(epoch from '2026-06-27 12:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12336)'))) / (select extract(epoch from '2026-06-27 12:08:26'::timestamp) - extract(epoch from '2026-06-27 12:08:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138424 -3.123355)', '2026-06-27 12:08:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123355)'))) / (select extract(epoch from '2026-06-27 12:08:34'::timestamp) - extract(epoch from '2026-06-27 12:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123355)'))) / (select extract(epoch from '2026-06-27 12:08:34'::timestamp) - extract(epoch from '2026-06-27 12:08: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123354)', '2026-06-27 12:08:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123354)'))) / (select extract(epoch from '2026-06-27 12:08:43'::timestamp) - extract(epoch from '2026-06-27 12:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123354)'))) / (select extract(epoch from '2026-06-27 12:08:43'::timestamp) - extract(epoch from '2026-06-27 12:08:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138423 -3.123363)', '2026-06-27 12:08:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123363)'))) / (select extract(epoch from '2026-06-27 12:08:52'::timestamp) - extract(epoch from '2026-06-27 12:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123363)'))) / (select extract(epoch from '2026-06-27 12:08:52'::timestamp) - extract(epoch from '2026-06-27 12:08: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123368)', '2026-06-27 12:09:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:09:01'::timestamp) - extract(epoch from '2026-06-27 12:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:09:01'::timestamp) - extract(epoch from '2026-06-27 12:08: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123368)', '2026-06-27 12:09:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:09:08'::timestamp) - extract(epoch from '2026-06-27 12:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:09:08'::timestamp) - extract(epoch from '2026-06-27 12:09: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123373)', '2026-06-27 12:09:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:09:16'::timestamp) - extract(epoch from '2026-06-27 12:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:09:16'::timestamp) - extract(epoch from '2026-06-27 12:09:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138423 -3.123374)', '2026-06-27 12:09:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123374)'))) / (select extract(epoch from '2026-06-27 12:09:24'::timestamp) - extract(epoch from '2026-06-27 12:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123374)'))) / (select extract(epoch from '2026-06-27 12:09:24'::timestamp) - extract(epoch from '2026-06-27 12:09: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123373)', '2026-06-27 12:09:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:09:31'::timestamp) - extract(epoch from '2026-06-27 12:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:09:31'::timestamp) - extract(epoch from '2026-06-27 12:09:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138425 -3.123369)', '2026-06-27 12:09:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:09:40'::timestamp) - extract(epoch from '2026-06-27 12:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:09:40'::timestamp) - extract(epoch from '2026-06-27 12:09:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138421 -3.123369)', '2026-06-27 12:09:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:09:46'::timestamp) - extract(epoch from '2026-06-27 12:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:09:46'::timestamp) - extract(epoch from '2026-06-27 12:09:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13842 -3.123372)', '2026-06-27 12:09:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123372)'))) / (select extract(epoch from '2026-06-27 12:09:52'::timestamp) - extract(epoch from '2026-06-27 12:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123372)'))) / (select extract(epoch from '2026-06-27 12:09:52'::timestamp) - extract(epoch from '2026-06-27 12:09:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138421 -3.123373)', '2026-06-27 12:09:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:09:59'::timestamp) - extract(epoch from '2026-06-27 12:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:09:59'::timestamp) - extract(epoch from '2026-06-27 12:09: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.12337)', '2026-06-27 12:10:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12337)'))) / (select extract(epoch from '2026-06-27 12:10:07'::timestamp) - extract(epoch from '2026-06-27 12:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12337)'))) / (select extract(epoch from '2026-06-27 12:10:07'::timestamp) - extract(epoch from '2026-06-27 12:09: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123373)', '2026-06-27 12:10:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:10:16'::timestamp) - extract(epoch from '2026-06-27 12:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:10:16'::timestamp) - extract(epoch from '2026-06-27 12:10: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123371)', '2026-06-27 12:10:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123371)'))) / (select extract(epoch from '2026-06-27 12:10:25'::timestamp) - extract(epoch from '2026-06-27 12:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123371)'))) / (select extract(epoch from '2026-06-27 12:10:25'::timestamp) - extract(epoch from '2026-06-27 12:10: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123369)', '2026-06-27 12:10:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:10:32'::timestamp) - extract(epoch from '2026-06-27 12:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:10:32'::timestamp) - extract(epoch from '2026-06-27 12:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138418 -3.123367)', '2026-06-27 12:10:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123367)'))) / (select extract(epoch from '2026-06-27 12:10:39'::timestamp) - extract(epoch from '2026-06-27 12:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123367)'))) / (select extract(epoch from '2026-06-27 12:10:39'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123366)', '2026-06-27 12:10:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123366)'))) / (select extract(epoch from '2026-06-27 12:10:40'::timestamp) - extract(epoch from '2026-06-27 12:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123366)'))) / (select extract(epoch from '2026-06-27 12:10:40'::timestamp) - extract(epoch from '2026-06-27 12:10:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138418 -3.123361)', '2026-06-27 12:10:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123361)'))) / (select extract(epoch from '2026-06-27 12:10:49'::timestamp) - extract(epoch from '2026-06-27 12:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123361)'))) / (select extract(epoch from '2026-06-27 12:10:49'::timestamp) - extract(epoch from '2026-06-27 12:10: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.123356)', '2026-06-27 12:11:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123356)'))) / (select extract(epoch from '2026-06-27 12:11:00'::timestamp) - extract(epoch from '2026-06-27 12:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123356)'))) / (select extract(epoch from '2026-06-27 12:11:00'::timestamp) - extract(epoch from '2026-06-27 12:10:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138411 -3.123355)', '2026-06-27 12:11:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123355)'))) / (select extract(epoch from '2026-06-27 12:11:08'::timestamp) - extract(epoch from '2026-06-27 12:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123355)'))) / (select extract(epoch from '2026-06-27 12:11:08'::timestamp) - extract(epoch from '2026-06-27 12:11: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'), 46645, 'SRID=4674;POINT (-39.138405 -3.12335)', '2026-06-27 12:11:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.12335)'))) / (select extract(epoch from '2026-06-27 12:11:16'::timestamp) - extract(epoch from '2026-06-27 12:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.12335)'))) / (select extract(epoch from '2026-06-27 12:11:16'::timestamp) - extract(epoch from '2026-06-27 12:11: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'), 46645, 'SRID=4674;POINT (-39.138405 -3.123353)', '2026-06-27 12:11:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.123353)'))) / (select extract(epoch from '2026-06-27 12:11:23'::timestamp) - extract(epoch from '2026-06-27 12:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.123353)'))) / (select extract(epoch from '2026-06-27 12:11:23'::timestamp) - extract(epoch from '2026-06-27 12:11: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'), 46645, 'SRID=4674;POINT (-39.138401 -3.123354)', '2026-06-27 12:11:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.123354)'))) / (select extract(epoch from '2026-06-27 12:11:34'::timestamp) - extract(epoch from '2026-06-27 12:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.123354)'))) / (select extract(epoch from '2026-06-27 12:11:34'::timestamp) - extract(epoch from '2026-06-27 12:11: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'), 46645, 'SRID=4674;POINT (-39.138402 -3.123356)', '2026-06-27 12:11:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.123356)'))) / (select extract(epoch from '2026-06-27 12:11:41'::timestamp) - extract(epoch from '2026-06-27 12:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138401 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.123356)'))) / (select extract(epoch from '2026-06-27 12:11:41'::timestamp) - extract(epoch from '2026-06-27 12:11:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138398 -3.123353)', '2026-06-27 12:11:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.123353)'))) / (select extract(epoch from '2026-06-27 12:11:49'::timestamp) - extract(epoch from '2026-06-27 12:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.123353)'))) / (select extract(epoch from '2026-06-27 12:11:49'::timestamp) - extract(epoch from '2026-06-27 12:11: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'), 46645, 'SRID=4674;POINT (-39.138398 -3.123351)', '2026-06-27 12:11:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.123351)'))) / (select extract(epoch from '2026-06-27 12:11:57'::timestamp) - extract(epoch from '2026-06-27 12:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.123351)'))) / (select extract(epoch from '2026-06-27 12:11:57'::timestamp) - extract(epoch from '2026-06-27 12:11: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'), 46645, 'SRID=4674;POINT (-39.138404 -3.123352)', '2026-06-27 12:12:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.123352)'))) / (select extract(epoch from '2026-06-27 12:12:05'::timestamp) - extract(epoch from '2026-06-27 12:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.123351)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.123352)'))) / (select extract(epoch from '2026-06-27 12:12:05'::timestamp) - extract(epoch from '2026-06-27 12:11:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138399 -3.123357)', '2026-06-27 12:12:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.123357)'))) / (select extract(epoch from '2026-06-27 12:12:13'::timestamp) - extract(epoch from '2026-06-27 12:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.123357)'))) / (select extract(epoch from '2026-06-27 12:12:13'::timestamp) - extract(epoch from '2026-06-27 12:12: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'), 46645, 'SRID=4674;POINT (-39.1384 -3.123363)', '2026-06-27 12:12:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.123363)'))) / (select extract(epoch from '2026-06-27 12:12:20'::timestamp) - extract(epoch from '2026-06-27 12:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138399 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.123363)'))) / (select extract(epoch from '2026-06-27 12:12:20'::timestamp) - extract(epoch from '2026-06-27 12:12: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'), 46645, 'SRID=4674;POINT (-39.138402 -3.123358)', '2026-06-27 12:12:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.123358)'))) / (select extract(epoch from '2026-06-27 12:12:32'::timestamp) - extract(epoch from '2026-06-27 12:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.123358)'))) / (select extract(epoch from '2026-06-27 12:12:32'::timestamp) - extract(epoch from '2026-06-27 12:12: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'), 46645, 'SRID=4674;POINT (-39.138405 -3.123357)', '2026-06-27 12:12:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.123357)'))) / (select extract(epoch from '2026-06-27 12:12:38'::timestamp) - extract(epoch from '2026-06-27 12:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.123357)'))) / (select extract(epoch from '2026-06-27 12:12:38'::timestamp) - extract(epoch from '2026-06-27 12:12:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13841 -3.123356)', '2026-06-27 12:12:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123356)'))) / (select extract(epoch from '2026-06-27 12:12:45'::timestamp) - extract(epoch from '2026-06-27 12:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123356)'))) / (select extract(epoch from '2026-06-27 12:12:45'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138409 -3.123356)', '2026-06-27 12:12:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123356)'))) / (select extract(epoch from '2026-06-27 12:12:54'::timestamp) - extract(epoch from '2026-06-27 12:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123356)'))) / (select extract(epoch from '2026-06-27 12:12:54'::timestamp) - extract(epoch from '2026-06-27 12:12: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'), 46645, 'SRID=4674;POINT (-39.138406 -3.123355)', '2026-06-27 12:13:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123355)'))) / (select extract(epoch from '2026-06-27 12:13:02'::timestamp) - extract(epoch from '2026-06-27 12:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123355)'))) / (select extract(epoch from '2026-06-27 12:13:02'::timestamp) - extract(epoch from '2026-06-27 12:12:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138409 -3.123353)', '2026-06-27 12:13:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123353)'))) / (select extract(epoch from '2026-06-27 12:13:09'::timestamp) - extract(epoch from '2026-06-27 12:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123353)'))) / (select extract(epoch from '2026-06-27 12:13:09'::timestamp) - extract(epoch from '2026-06-27 12:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138411 -3.123353)', '2026-06-27 12:13:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123353)'))) / (select extract(epoch from '2026-06-27 12:13:18'::timestamp) - extract(epoch from '2026-06-27 12:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123353)'))) / (select extract(epoch from '2026-06-27 12:13:18'::timestamp) - extract(epoch from '2026-06-27 12:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138409 -3.123353)', '2026-06-27 12:13:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123353)'))) / (select extract(epoch from '2026-06-27 12:13:30'::timestamp) - extract(epoch from '2026-06-27 12:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123353)'))) / (select extract(epoch from '2026-06-27 12:13:30'::timestamp) - extract(epoch from '2026-06-27 12:13:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138412 -3.123353)', '2026-06-27 12:13:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123353)'))) / (select extract(epoch from '2026-06-27 12:13:36'::timestamp) - extract(epoch from '2026-06-27 12:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123353)'))) / (select extract(epoch from '2026-06-27 12:13:36'::timestamp) - extract(epoch from '2026-06-27 12:13: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123354)', '2026-06-27 12:13:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123354)'))) / (select extract(epoch from '2026-06-27 12:13:48'::timestamp) - extract(epoch from '2026-06-27 12:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123354)'))) / (select extract(epoch from '2026-06-27 12:13:48'::timestamp) - extract(epoch from '2026-06-27 12:13: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123349)', '2026-06-27 12:13:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123349)'))) / (select extract(epoch from '2026-06-27 12:13:57'::timestamp) - extract(epoch from '2026-06-27 12:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123354)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123349)'))) / (select extract(epoch from '2026-06-27 12:13:57'::timestamp) - extract(epoch from '2026-06-27 12:13: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123348)', '2026-06-27 12:14:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123348)'))) / (select extract(epoch from '2026-06-27 12:14:06'::timestamp) - extract(epoch from '2026-06-27 12:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123348)'))) / (select extract(epoch from '2026-06-27 12:14:06'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123346)', '2026-06-27 12:14:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123346)'))) / (select extract(epoch from '2026-06-27 12:14:17'::timestamp) - extract(epoch from '2026-06-27 12:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123346)'))) / (select extract(epoch from '2026-06-27 12:14:17'::timestamp) - extract(epoch from '2026-06-27 12:14: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123343)', '2026-06-27 12:14:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123343)'))) / (select extract(epoch from '2026-06-27 12:14:28'::timestamp) - extract(epoch from '2026-06-27 12:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123343)'))) / (select extract(epoch from '2026-06-27 12:14:28'::timestamp) - extract(epoch from '2026-06-27 12:14: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123336)', '2026-06-27 12:14:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123336)'))) / (select extract(epoch from '2026-06-27 12:14:35'::timestamp) - extract(epoch from '2026-06-27 12:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123336)'))) / (select extract(epoch from '2026-06-27 12:14:35'::timestamp) - extract(epoch from '2026-06-27 12:14: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'), 46645, 'SRID=4674;POINT (-39.138414 -3.12333)', '2026-06-27 12:14:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.12333)'))) / (select extract(epoch from '2026-06-27 12:14:42'::timestamp) - extract(epoch from '2026-06-27 12:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.12333)'))) / (select extract(epoch from '2026-06-27 12:14:42'::timestamp) - extract(epoch from '2026-06-27 12:14:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138417 -3.123329)', '2026-06-27 12:14:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123329)'))) / (select extract(epoch from '2026-06-27 12:14:50'::timestamp) - extract(epoch from '2026-06-27 12:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123329)'))) / (select extract(epoch from '2026-06-27 12:14:50'::timestamp) - extract(epoch from '2026-06-27 12:14: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123327)', '2026-06-27 12:14:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123327)'))) / (select extract(epoch from '2026-06-27 12:14:57'::timestamp) - extract(epoch from '2026-06-27 12:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123327)'))) / (select extract(epoch from '2026-06-27 12:14:57'::timestamp) - extract(epoch from '2026-06-27 12:14: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123323)', '2026-06-27 12:15:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123323)'))) / (select extract(epoch from '2026-06-27 12:15:09'::timestamp) - extract(epoch from '2026-06-27 12:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123323)'))) / (select extract(epoch from '2026-06-27 12:15:09'::timestamp) - extract(epoch from '2026-06-27 12:14: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'), 46645, 'SRID=4674;POINT (-39.138414 -3.123323)', '2026-06-27 12:15:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123323)'))) / (select extract(epoch from '2026-06-27 12:15:16'::timestamp) - extract(epoch from '2026-06-27 12:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123323)'))) / (select extract(epoch from '2026-06-27 12:15:16'::timestamp) - extract(epoch from '2026-06-27 12:15:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138413 -3.123322)', '2026-06-27 12:15:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123322)'))) / (select extract(epoch from '2026-06-27 12:15:24'::timestamp) - extract(epoch from '2026-06-27 12:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123323)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123322)'))) / (select extract(epoch from '2026-06-27 12:15:24'::timestamp) - extract(epoch from '2026-06-27 12:15: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123321)', '2026-06-27 12:15:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123321)'))) / (select extract(epoch from '2026-06-27 12:15:32'::timestamp) - extract(epoch from '2026-06-27 12:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123321)'))) / (select extract(epoch from '2026-06-27 12:15:32'::timestamp) - extract(epoch from '2026-06-27 12:15:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13841 -3.12332)', '2026-06-27 12:15:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12332)'))) / (select extract(epoch from '2026-06-27 12:15:38'::timestamp) - extract(epoch from '2026-06-27 12:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12332)'))) / (select extract(epoch from '2026-06-27 12:15:38'::timestamp) - extract(epoch from '2026-06-27 12:15: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123321)', '2026-06-27 12:15:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123321)'))) / (select extract(epoch from '2026-06-27 12:15:46'::timestamp) - extract(epoch from '2026-06-27 12:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123321)'))) / (select extract(epoch from '2026-06-27 12:15:46'::timestamp) - extract(epoch from '2026-06-27 12:15:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138415 -3.123325)', '2026-06-27 12:15:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123325)'))) / (select extract(epoch from '2026-06-27 12:15:56'::timestamp) - extract(epoch from '2026-06-27 12:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123321)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123325)'))) / (select extract(epoch from '2026-06-27 12:15:56'::timestamp) - extract(epoch from '2026-06-27 12:15: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123324)', '2026-06-27 12:16:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123324)'))) / (select extract(epoch from '2026-06-27 12:16:03'::timestamp) - extract(epoch from '2026-06-27 12:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123324)'))) / (select extract(epoch from '2026-06-27 12:16:03'::timestamp) - extract(epoch from '2026-06-27 12:15:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138414 -3.123328)', '2026-06-27 12:16:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123328)'))) / (select extract(epoch from '2026-06-27 12:16:10'::timestamp) - extract(epoch from '2026-06-27 12:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123328)'))) / (select extract(epoch from '2026-06-27 12:16:10'::timestamp) - extract(epoch from '2026-06-27 12:16:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138411 -3.123331)', '2026-06-27 12:16:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123331)'))) / (select extract(epoch from '2026-06-27 12:16:19'::timestamp) - extract(epoch from '2026-06-27 12:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123331)'))) / (select extract(epoch from '2026-06-27 12:16:19'::timestamp) - extract(epoch from '2026-06-27 12:16:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138411 -3.123329)', '2026-06-27 12:16:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123329)'))) / (select extract(epoch from '2026-06-27 12:16:31'::timestamp) - extract(epoch from '2026-06-27 12:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123329)'))) / (select extract(epoch from '2026-06-27 12:16:31'::timestamp) - extract(epoch from '2026-06-27 12:16: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'), 46645, 'SRID=4674;POINT (-39.138414 -3.123336)', '2026-06-27 12:16:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123336)'))) / (select extract(epoch from '2026-06-27 12:16:38'::timestamp) - extract(epoch from '2026-06-27 12:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123329)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123336)'))) / (select extract(epoch from '2026-06-27 12:16:38'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123339)', '2026-06-27 12:16:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123339)'))) / (select extract(epoch from '2026-06-27 12:16:49'::timestamp) - extract(epoch from '2026-06-27 12:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123339)'))) / (select extract(epoch from '2026-06-27 12:16:49'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123341)', '2026-06-27 12:16:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123341)'))) / (select extract(epoch from '2026-06-27 12:16:58'::timestamp) - extract(epoch from '2026-06-27 12:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123341)'))) / (select extract(epoch from '2026-06-27 12:16:58'::timestamp) - extract(epoch from '2026-06-27 12:16: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123343)', '2026-06-27 12:17:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123343)'))) / (select extract(epoch from '2026-06-27 12:17:06'::timestamp) - extract(epoch from '2026-06-27 12:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123343)'))) / (select extract(epoch from '2026-06-27 12:17:06'::timestamp) - extract(epoch from '2026-06-27 12:16: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123343)', '2026-06-27 12:17:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123343)'))) / (select extract(epoch from '2026-06-27 12:17:14'::timestamp) - extract(epoch from '2026-06-27 12:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123343)'))) / (select extract(epoch from '2026-06-27 12:17:14'::timestamp) - extract(epoch from '2026-06-27 12:17: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123342)', '2026-06-27 12:17:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123342)'))) / (select extract(epoch from '2026-06-27 12:17:21'::timestamp) - extract(epoch from '2026-06-27 12:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123342)'))) / (select extract(epoch from '2026-06-27 12:17:21'::timestamp) - extract(epoch from '2026-06-27 12:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138414 -3.123339)', '2026-06-27 12:17:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123339)'))) / (select extract(epoch from '2026-06-27 12:17:31'::timestamp) - extract(epoch from '2026-06-27 12:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123339)'))) / (select extract(epoch from '2026-06-27 12:17:31'::timestamp) - extract(epoch from '2026-06-27 12:17: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123336)', '2026-06-27 12:17:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123336)'))) / (select extract(epoch from '2026-06-27 12:17:37'::timestamp) - extract(epoch from '2026-06-27 12:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123336)'))) / (select extract(epoch from '2026-06-27 12:17:37'::timestamp) - extract(epoch from '2026-06-27 12:17: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123333)', '2026-06-27 12:17:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123333)'))) / (select extract(epoch from '2026-06-27 12:17:46'::timestamp) - extract(epoch from '2026-06-27 12:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123333)'))) / (select extract(epoch from '2026-06-27 12:17:46'::timestamp) - extract(epoch from '2026-06-27 12:17:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138409 -3.123333)', '2026-06-27 12:17:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123333)'))) / (select extract(epoch from '2026-06-27 12:17:55'::timestamp) - extract(epoch from '2026-06-27 12:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123333)'))) / (select extract(epoch from '2026-06-27 12:17:55'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.123333)', '2026-06-27 12:18:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123333)'))) / (select extract(epoch from '2026-06-27 12:18:02'::timestamp) - extract(epoch from '2026-06-27 12:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123333)'))) / (select extract(epoch from '2026-06-27 12:18:02'::timestamp) - extract(epoch from '2026-06-27 12:17: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'), 46645, 'SRID=4674;POINT (-39.138408 -3.12333)', '2026-06-27 12:18:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12333)'))) / (select extract(epoch from '2026-06-27 12:18:12'::timestamp) - extract(epoch from '2026-06-27 12:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123333)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12333)'))) / (select extract(epoch from '2026-06-27 12:18:12'::timestamp) - extract(epoch from '2026-06-27 12:18: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.123332)', '2026-06-27 12:18:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123332)'))) / (select extract(epoch from '2026-06-27 12:18:18'::timestamp) - extract(epoch from '2026-06-27 12:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123332)'))) / (select extract(epoch from '2026-06-27 12:18:18'::timestamp) - extract(epoch from '2026-06-27 12:18: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123334)', '2026-06-27 12:18:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123334)'))) / (select extract(epoch from '2026-06-27 12:18:28'::timestamp) - extract(epoch from '2026-06-27 12:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123334)'))) / (select extract(epoch from '2026-06-27 12:18:28'::timestamp) - extract(epoch from '2026-06-27 12:18: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.123341)', '2026-06-27 12:18:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123341)'))) / (select extract(epoch from '2026-06-27 12:18:40'::timestamp) - extract(epoch from '2026-06-27 12:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123334)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123341)'))) / (select extract(epoch from '2026-06-27 12:18:40'::timestamp) - extract(epoch from '2026-06-27 12:18: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123331)', '2026-06-27 12:18:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123331)'))) / (select extract(epoch from '2026-06-27 12:18:52'::timestamp) - extract(epoch from '2026-06-27 12:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123331)'))) / (select extract(epoch from '2026-06-27 12:18:52'::timestamp) - extract(epoch from '2026-06-27 12:18:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138412 -3.123332)', '2026-06-27 12:19:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123332)'))) / (select extract(epoch from '2026-06-27 12:19:02'::timestamp) - extract(epoch from '2026-06-27 12:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123331)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123332)'))) / (select extract(epoch from '2026-06-27 12:19:02'::timestamp) - extract(epoch from '2026-06-27 12:18: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.123328)', '2026-06-27 12:19:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123328)'))) / (select extract(epoch from '2026-06-27 12:19:11'::timestamp) - extract(epoch from '2026-06-27 12:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123328)'))) / (select extract(epoch from '2026-06-27 12:19:11'::timestamp) - extract(epoch from '2026-06-27 12:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138412 -3.12333)', '2026-06-27 12:19:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.12333)'))) / (select extract(epoch from '2026-06-27 12:19:19'::timestamp) - extract(epoch from '2026-06-27 12:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123328)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.12333)'))) / (select extract(epoch from '2026-06-27 12:19:19'::timestamp) - extract(epoch from '2026-06-27 12:19: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.123327)', '2026-06-27 12:19:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123327)'))) / (select extract(epoch from '2026-06-27 12:19:26'::timestamp) - extract(epoch from '2026-06-27 12:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.12333)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123327)'))) / (select extract(epoch from '2026-06-27 12:19:26'::timestamp) - extract(epoch from '2026-06-27 12:19: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'), 46645, 'SRID=4674;POINT (-39.138407 -3.123322)', '2026-06-27 12:19:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123322)'))) / (select extract(epoch from '2026-06-27 12:19:34'::timestamp) - extract(epoch from '2026-06-27 12:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123327)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123322)'))) / (select extract(epoch from '2026-06-27 12:19:34'::timestamp) - extract(epoch from '2026-06-27 12:19:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13841 -3.123322)', '2026-06-27 12:19:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123322)'))) / (select extract(epoch from '2026-06-27 12:19:40'::timestamp) - extract(epoch from '2026-06-27 12:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123322)'))) / (select extract(epoch from '2026-06-27 12:19:40'::timestamp) - extract(epoch from '2026-06-27 12:19: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'), 46645, 'SRID=4674;POINT (-39.138406 -3.123314)', '2026-06-27 12:19:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123314)'))) / (select extract(epoch from '2026-06-27 12:19:51'::timestamp) - extract(epoch from '2026-06-27 12:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123314)'))) / (select extract(epoch from '2026-06-27 12:19:51'::timestamp) - extract(epoch from '2026-06-27 12:19: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.123316)', '2026-06-27 12:20:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123316)'))) / (select extract(epoch from '2026-06-27 12:20:00'::timestamp) - extract(epoch from '2026-06-27 12:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123316)'))) / (select extract(epoch from '2026-06-27 12:20:00'::timestamp) - extract(epoch from '2026-06-27 12:19: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.12332)', '2026-06-27 12:20:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.12332)'))) / (select extract(epoch from '2026-06-27 12:20:06'::timestamp) - extract(epoch from '2026-06-27 12:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123316)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.12332)'))) / (select extract(epoch from '2026-06-27 12:20:06'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123314)', '2026-06-27 12:20:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123314)'))) / (select extract(epoch from '2026-06-27 12:20:18'::timestamp) - extract(epoch from '2026-06-27 12:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.12332)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123314)'))) / (select extract(epoch from '2026-06-27 12:20:18'::timestamp) - extract(epoch from '2026-06-27 12:20: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123324)', '2026-06-27 12:20:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123324)'))) / (select extract(epoch from '2026-06-27 12:20:25'::timestamp) - extract(epoch from '2026-06-27 12:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123314)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123324)'))) / (select extract(epoch from '2026-06-27 12:20:25'::timestamp) - extract(epoch from '2026-06-27 12:20: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123322)', '2026-06-27 12:20:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123322)'))) / (select extract(epoch from '2026-06-27 12:20:34'::timestamp) - extract(epoch from '2026-06-27 12:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123324)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123322)'))) / (select extract(epoch from '2026-06-27 12:20:34'::timestamp) - extract(epoch from '2026-06-27 12:20: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.123325)', '2026-06-27 12:20:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123325)'))) / (select extract(epoch from '2026-06-27 12:20:42'::timestamp) - extract(epoch from '2026-06-27 12:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123322)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123325)'))) / (select extract(epoch from '2026-06-27 12:20:42'::timestamp) - extract(epoch from '2026-06-27 12:20: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.123332)', '2026-06-27 12:20:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123332)'))) / (select extract(epoch from '2026-06-27 12:20:53'::timestamp) - extract(epoch from '2026-06-27 12:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123325)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123332)'))) / (select extract(epoch from '2026-06-27 12:20:53'::timestamp) - extract(epoch from '2026-06-27 12:20: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123336)', '2026-06-27 12:21:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123336)'))) / (select extract(epoch from '2026-06-27 12:21:00'::timestamp) - extract(epoch from '2026-06-27 12:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123332)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123336)'))) / (select extract(epoch from '2026-06-27 12:21:00'::timestamp) - extract(epoch from '2026-06-27 12:20:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138414 -3.123341)', '2026-06-27 12:21:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123341)'))) / (select extract(epoch from '2026-06-27 12:21:08'::timestamp) - extract(epoch from '2026-06-27 12:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123336)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123341)'))) / (select extract(epoch from '2026-06-27 12:21:08'::timestamp) - extract(epoch from '2026-06-27 12:21: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123338)', '2026-06-27 12:21:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123338)'))) / (select extract(epoch from '2026-06-27 12:21:18'::timestamp) - extract(epoch from '2026-06-27 12:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123341)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123338)'))) / (select extract(epoch from '2026-06-27 12:21:18'::timestamp) - extract(epoch from '2026-06-27 12:21: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123339)', '2026-06-27 12:21:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123339)'))) / (select extract(epoch from '2026-06-27 12:21:25'::timestamp) - extract(epoch from '2026-06-27 12:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123339)'))) / (select extract(epoch from '2026-06-27 12:21:25'::timestamp) - extract(epoch from '2026-06-27 12:21: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123342)', '2026-06-27 12:21:33', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123342)'))) / (select extract(epoch from '2026-06-27 12:21:33'::timestamp) - extract(epoch from '2026-06-27 12:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123342)'))) / (select extract(epoch from '2026-06-27 12:21:33'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123342)', '2026-06-27 12:21:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123342)'))) / (select extract(epoch from '2026-06-27 12:21:41'::timestamp) - extract(epoch from '2026-06-27 12:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123342)'))) / (select extract(epoch from '2026-06-27 12:21:41'::timestamp) - extract(epoch from '2026-06-27 12:21: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123339)', '2026-06-27 12:21:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123339)'))) / (select extract(epoch from '2026-06-27 12:21:52'::timestamp) - extract(epoch from '2026-06-27 12:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123339)'))) / (select extract(epoch from '2026-06-27 12:21:52'::timestamp) - extract(epoch from '2026-06-27 12:21:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138408 -3.123343)', '2026-06-27 12:21:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123343)'))) / (select extract(epoch from '2026-06-27 12:21:59'::timestamp) - extract(epoch from '2026-06-27 12:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123343)'))) / (select extract(epoch from '2026-06-27 12:21:59'::timestamp) - extract(epoch from '2026-06-27 12:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138411 -3.123338)', '2026-06-27 12:22:07', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123338)'))) / (select extract(epoch from '2026-06-27 12:22:07'::timestamp) - extract(epoch from '2026-06-27 12:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123338)'))) / (select extract(epoch from '2026-06-27 12:22:07'::timestamp) - extract(epoch from '2026-06-27 12:21:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138408 -3.123345)', '2026-06-27 12:22:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123345)'))) / (select extract(epoch from '2026-06-27 12:22:13'::timestamp) - extract(epoch from '2026-06-27 12:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123345)'))) / (select extract(epoch from '2026-06-27 12:22:13'::timestamp) - extract(epoch from '2026-06-27 12:22: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.123344)', '2026-06-27 12:22:20', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123344)'))) / (select extract(epoch from '2026-06-27 12:22:20'::timestamp) - extract(epoch from '2026-06-27 12:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123344)'))) / (select extract(epoch from '2026-06-27 12:22:20'::timestamp) - extract(epoch from '2026-06-27 12:22: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'), 46645, 'SRID=4674;POINT (-39.138405 -3.123344)', '2026-06-27 12:22:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.123344)'))) / (select extract(epoch from '2026-06-27 12:22:24'::timestamp) - extract(epoch from '2026-06-27 12:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.123344)'))) / (select extract(epoch from '2026-06-27 12:22:24'::timestamp) - extract(epoch from '2026-06-27 12:22: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'), 46645, 'SRID=4674;POINT (-39.138408 -3.123343)', '2026-06-27 12:22:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123343)'))) / (select extract(epoch from '2026-06-27 12:22:35'::timestamp) - extract(epoch from '2026-06-27 12:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138405 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123343)'))) / (select extract(epoch from '2026-06-27 12:22:35'::timestamp) - extract(epoch from '2026-06-27 12:22:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138411 -3.123347)', '2026-06-27 12:22:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123347)'))) / (select extract(epoch from '2026-06-27 12:22:44'::timestamp) - extract(epoch from '2026-06-27 12:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123347)'))) / (select extract(epoch from '2026-06-27 12:22:44'::timestamp) - extract(epoch from '2026-06-27 12:22: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123346)', '2026-06-27 12:22:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123346)'))) / (select extract(epoch from '2026-06-27 12:22:52'::timestamp) - extract(epoch from '2026-06-27 12:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123346)'))) / (select extract(epoch from '2026-06-27 12:22:52'::timestamp) - extract(epoch from '2026-06-27 12:22: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.123347)', '2026-06-27 12:23:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123347)'))) / (select extract(epoch from '2026-06-27 12:23:02'::timestamp) - extract(epoch from '2026-06-27 12:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123347)'))) / (select extract(epoch from '2026-06-27 12:23:02'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138409 -3.123348)', '2026-06-27 12:23:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123348)'))) / (select extract(epoch from '2026-06-27 12:23:11'::timestamp) - extract(epoch from '2026-06-27 12:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123348)'))) / (select extract(epoch from '2026-06-27 12:23:11'::timestamp) - extract(epoch from '2026-06-27 12:23: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.123346)', '2026-06-27 12:23:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123346)'))) / (select extract(epoch from '2026-06-27 12:23:19'::timestamp) - extract(epoch from '2026-06-27 12:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123346)'))) / (select extract(epoch from '2026-06-27 12:23:19'::timestamp) - extract(epoch from '2026-06-27 12:23: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.123348)', '2026-06-27 12:23:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123348)'))) / (select extract(epoch from '2026-06-27 12:23:26'::timestamp) - extract(epoch from '2026-06-27 12:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123348)'))) / (select extract(epoch from '2026-06-27 12:23:26'::timestamp) - extract(epoch from '2026-06-27 12:23: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'), 46645, 'SRID=4674;POINT (-39.138406 -3.123347)', '2026-06-27 12:23:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123347)'))) / (select extract(epoch from '2026-06-27 12:23:35'::timestamp) - extract(epoch from '2026-06-27 12:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123347)'))) / (select extract(epoch from '2026-06-27 12:23:35'::timestamp) - extract(epoch from '2026-06-27 12:23:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138406 -3.123342)', '2026-06-27 12:23:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123342)'))) / (select extract(epoch from '2026-06-27 12:23:46'::timestamp) - extract(epoch from '2026-06-27 12:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123342)'))) / (select extract(epoch from '2026-06-27 12:23:46'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138407 -3.123343)', '2026-06-27 12:23:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123343)'))) / (select extract(epoch from '2026-06-27 12:23:54'::timestamp) - extract(epoch from '2026-06-27 12:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123343)'))) / (select extract(epoch from '2026-06-27 12:23:54'::timestamp) - extract(epoch from '2026-06-27 12:23: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.123346)', '2026-06-27 12:24:00', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123346)'))) / (select extract(epoch from '2026-06-27 12:24:00'::timestamp) - extract(epoch from '2026-06-27 12:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123346)'))) / (select extract(epoch from '2026-06-27 12:24:00'::timestamp) - extract(epoch from '2026-06-27 12:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138411 -3.123353)', '2026-06-27 12:24:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123353)'))) / (select extract(epoch from '2026-06-27 12:24:07'::timestamp) - extract(epoch from '2026-06-27 12:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123353)'))) / (select extract(epoch from '2026-06-27 12:24:07'::timestamp) - extract(epoch from '2026-06-27 12:24: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'), 46645, 'SRID=4674;POINT (-39.138414 -3.123344)', '2026-06-27 12:24:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123344)'))) / (select extract(epoch from '2026-06-27 12:24:17'::timestamp) - extract(epoch from '2026-06-27 12:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123353)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123344)'))) / (select extract(epoch from '2026-06-27 12:24:17'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138414 -3.123348)', '2026-06-27 12:24:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123348)'))) / (select extract(epoch from '2026-06-27 12:24:23'::timestamp) - extract(epoch from '2026-06-27 12:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123344)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123348)'))) / (select extract(epoch from '2026-06-27 12:24:23'::timestamp) - extract(epoch from '2026-06-27 12:24: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123345)', '2026-06-27 12:24:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123345)'))) / (select extract(epoch from '2026-06-27 12:24:29'::timestamp) - extract(epoch from '2026-06-27 12:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123348)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123345)'))) / (select extract(epoch from '2026-06-27 12:24:29'::timestamp) - extract(epoch from '2026-06-27 12:24: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.123345)', '2026-06-27 12:24:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123345)'))) / (select extract(epoch from '2026-06-27 12:24:41'::timestamp) - extract(epoch from '2026-06-27 12:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123345)'))) / (select extract(epoch from '2026-06-27 12:24:41'::timestamp) - extract(epoch from '2026-06-27 12:24:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138411 -3.123347)', '2026-06-27 12:24:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123347)'))) / (select extract(epoch from '2026-06-27 12:24:55'::timestamp) - extract(epoch from '2026-06-27 12:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123347)'))) / (select extract(epoch from '2026-06-27 12:24:55'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.123347)', '2026-06-27 12:25:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123347)'))) / (select extract(epoch from '2026-06-27 12:25:03'::timestamp) - extract(epoch from '2026-06-27 12:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123347)'))) / (select extract(epoch from '2026-06-27 12:25:03'::timestamp) - extract(epoch from '2026-06-27 12:24: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.12335)', '2026-06-27 12:25:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.12335)'))) / (select extract(epoch from '2026-06-27 12:25:13'::timestamp) - extract(epoch from '2026-06-27 12:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123347)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.12335)'))) / (select extract(epoch from '2026-06-27 12:25:13'::timestamp) - extract(epoch from '2026-06-27 12:25: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.123345)', '2026-06-27 12:25:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123345)'))) / (select extract(epoch from '2026-06-27 12:25:22'::timestamp) - extract(epoch from '2026-06-27 12:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.12335)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123345)'))) / (select extract(epoch from '2026-06-27 12:25:22'::timestamp) - extract(epoch from '2026-06-27 12:25: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'), 46645, 'SRID=4674;POINT (-39.138409 -3.123345)', '2026-06-27 12:25:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123345)'))) / (select extract(epoch from '2026-06-27 12:25:28'::timestamp) - extract(epoch from '2026-06-27 12:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123345)'))) / (select extract(epoch from '2026-06-27 12:25:28'::timestamp) - extract(epoch from '2026-06-27 12:25: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'), 46645, 'SRID=4674;POINT (-39.138414 -3.123343)', '2026-06-27 12:25:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123343)'))) / (select extract(epoch from '2026-06-27 12:25:38'::timestamp) - extract(epoch from '2026-06-27 12:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123345)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123343)'))) / (select extract(epoch from '2026-06-27 12:25:38'::timestamp) - extract(epoch from '2026-06-27 12:25: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.123343)', '2026-06-27 12:25:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123343)'))) / (select extract(epoch from '2026-06-27 12:25:49'::timestamp) - extract(epoch from '2026-06-27 12:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123343)'))) / (select extract(epoch from '2026-06-27 12:25:49'::timestamp) - extract(epoch from '2026-06-27 12:25: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'), 46645, 'SRID=4674;POINT (-39.138414 -3.123346)', '2026-06-27 12:25:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123346)'))) / (select extract(epoch from '2026-06-27 12:25:56'::timestamp) - extract(epoch from '2026-06-27 12:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123343)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123346)'))) / (select extract(epoch from '2026-06-27 12:25:56'::timestamp) - extract(epoch from '2026-06-27 12:25: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.123342)', '2026-06-27 12:26:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123342)'))) / (select extract(epoch from '2026-06-27 12:26:02'::timestamp) - extract(epoch from '2026-06-27 12:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123346)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123342)'))) / (select extract(epoch from '2026-06-27 12:26:02'::timestamp) - extract(epoch from '2026-06-27 12:25:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138412 -3.123339)', '2026-06-27 12:26:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123339)'))) / (select extract(epoch from '2026-06-27 12:26:10'::timestamp) - extract(epoch from '2026-06-27 12:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123342)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123339)'))) / (select extract(epoch from '2026-06-27 12:26:10'::timestamp) - extract(epoch from '2026-06-27 12:26:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138413 -3.123338)', '2026-06-27 12:26:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123338)'))) / (select extract(epoch from '2026-06-27 12:26:23'::timestamp) - extract(epoch from '2026-06-27 12:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123339)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123338)'))) / (select extract(epoch from '2026-06-27 12:26:23'::timestamp) - extract(epoch from '2026-06-27 12:26:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138414 -3.123337)', '2026-06-27 12:26:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123337)'))) / (select extract(epoch from '2026-06-27 12:26:30'::timestamp) - extract(epoch from '2026-06-27 12:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123338)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123337)'))) / (select extract(epoch from '2026-06-27 12:26:30'::timestamp) - extract(epoch from '2026-06-27 12:26: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'), 46645, 'SRID=4674;POINT (-39.138414 -3.123349)', '2026-06-27 12:26:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123349)'))) / (select extract(epoch from '2026-06-27 12:26:44'::timestamp) - extract(epoch from '2026-06-27 12:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123337)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123349)'))) / (select extract(epoch from '2026-06-27 12:26:44'::timestamp) - extract(epoch from '2026-06-27 12:26: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123349)', '2026-06-27 12:26:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123349)'))) / (select extract(epoch from '2026-06-27 12:26:52'::timestamp) - extract(epoch from '2026-06-27 12:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123349)'))) / (select extract(epoch from '2026-06-27 12:26:52'::timestamp) - extract(epoch from '2026-06-27 12:26:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138413 -3.123349)', '2026-06-27 12:27:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123349)'))) / (select extract(epoch from '2026-06-27 12:27:01'::timestamp) - extract(epoch from '2026-06-27 12:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123349)'))) / (select extract(epoch from '2026-06-27 12:27:01'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123357)', '2026-06-27 12:27:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123357)'))) / (select extract(epoch from '2026-06-27 12:27:13'::timestamp) - extract(epoch from '2026-06-27 12:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123357)'))) / (select extract(epoch from '2026-06-27 12:27:13'::timestamp) - extract(epoch from '2026-06-27 12:27: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.12336)', '2026-06-27 12:27:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12336)'))) / (select extract(epoch from '2026-06-27 12:27:21'::timestamp) - extract(epoch from '2026-06-27 12:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12336)'))) / (select extract(epoch from '2026-06-27 12:27:21'::timestamp) - extract(epoch from '2026-06-27 12:27:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138414 -3.123358)', '2026-06-27 12:27:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123358)'))) / (select extract(epoch from '2026-06-27 12:27:28'::timestamp) - extract(epoch from '2026-06-27 12:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123358)'))) / (select extract(epoch from '2026-06-27 12:27:28'::timestamp) - extract(epoch from '2026-06-27 12:27: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.123358)', '2026-06-27 12:27:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123358)'))) / (select extract(epoch from '2026-06-27 12:27:35'::timestamp) - extract(epoch from '2026-06-27 12:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123358)'))) / (select extract(epoch from '2026-06-27 12:27:35'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123358)', '2026-06-27 12:27:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123358)'))) / (select extract(epoch from '2026-06-27 12:27:46'::timestamp) - extract(epoch from '2026-06-27 12:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123358)'))) / (select extract(epoch from '2026-06-27 12:27:46'::timestamp) - extract(epoch from '2026-06-27 12:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138419 -3.123356)', '2026-06-27 12:27:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123356)'))) / (select extract(epoch from '2026-06-27 12:27:57'::timestamp) - extract(epoch from '2026-06-27 12:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123356)'))) / (select extract(epoch from '2026-06-27 12:27:57'::timestamp) - extract(epoch from '2026-06-27 12:27:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138414 -3.123358)', '2026-06-27 12:28:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123358)'))) / (select extract(epoch from '2026-06-27 12:28:10'::timestamp) - extract(epoch from '2026-06-27 12:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123356)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123358)'))) / (select extract(epoch from '2026-06-27 12:28:10'::timestamp) - extract(epoch from '2026-06-27 12:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138417 -3.123349)', '2026-06-27 12:28:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123349)'))) / (select extract(epoch from '2026-06-27 12:28:17'::timestamp) - extract(epoch from '2026-06-27 12:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123349)'))) / (select extract(epoch from '2026-06-27 12:28:17'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123352)', '2026-06-27 12:28:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123352)'))) / (select extract(epoch from '2026-06-27 12:28:24'::timestamp) - extract(epoch from '2026-06-27 12:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123349)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123352)'))) / (select extract(epoch from '2026-06-27 12:28:24'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123355)', '2026-06-27 12:28:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123355)'))) / (select extract(epoch from '2026-06-27 12:28:34'::timestamp) - extract(epoch from '2026-06-27 12:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123352)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123355)'))) / (select extract(epoch from '2026-06-27 12:28:34'::timestamp) - extract(epoch from '2026-06-27 12:28: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123357)', '2026-06-27 12:28:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123357)'))) / (select extract(epoch from '2026-06-27 12:28:40'::timestamp) - extract(epoch from '2026-06-27 12:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123357)'))) / (select extract(epoch from '2026-06-27 12:28:40'::timestamp) - extract(epoch from '2026-06-27 12:28: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123355)', '2026-06-27 12:28:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123355)'))) / (select extract(epoch from '2026-06-27 12:28:49'::timestamp) - extract(epoch from '2026-06-27 12:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123357)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123355)'))) / (select extract(epoch from '2026-06-27 12:28:49'::timestamp) - extract(epoch from '2026-06-27 12:28: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'), 46645, 'SRID=4674;POINT (-39.138421 -3.123358)', '2026-06-27 12:29:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123358)'))) / (select extract(epoch from '2026-06-27 12:29:00'::timestamp) - extract(epoch from '2026-06-27 12:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123355)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123358)'))) / (select extract(epoch from '2026-06-27 12:29:00'::timestamp) - extract(epoch from '2026-06-27 12:28: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.12336)', '2026-06-27 12:29:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12336)'))) / (select extract(epoch from '2026-06-27 12:29:12'::timestamp) - extract(epoch from '2026-06-27 12:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123358)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12336)'))) / (select extract(epoch from '2026-06-27 12:29:12'::timestamp) - extract(epoch from '2026-06-27 12:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138426 -3.123364)', '2026-06-27 12:29:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123364)'))) / (select extract(epoch from '2026-06-27 12:29:19'::timestamp) - extract(epoch from '2026-06-27 12:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.12336)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123364)'))) / (select extract(epoch from '2026-06-27 12:29:19'::timestamp) - extract(epoch from '2026-06-27 12:29:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138425 -3.123361)', '2026-06-27 12:29:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123361)'))) / (select extract(epoch from '2026-06-27 12:29:26'::timestamp) - extract(epoch from '2026-06-27 12:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123361)'))) / (select extract(epoch from '2026-06-27 12:29:26'::timestamp) - extract(epoch from '2026-06-27 12:29: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'), 46645, 'SRID=4674;POINT (-39.138428 -3.123361)', '2026-06-27 12:29:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123361)'))) / (select extract(epoch from '2026-06-27 12:29:32'::timestamp) - extract(epoch from '2026-06-27 12:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123361)'))) / (select extract(epoch from '2026-06-27 12:29:32'::timestamp) - extract(epoch from '2026-06-27 12:29: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123369)', '2026-06-27 12:29:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:29:39'::timestamp) - extract(epoch from '2026-06-27 12:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:29:39'::timestamp) - extract(epoch from '2026-06-27 12:29:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138427 -3.123363)', '2026-06-27 12:29:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123363)'))) / (select extract(epoch from '2026-06-27 12:29:48'::timestamp) - extract(epoch from '2026-06-27 12:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123363)'))) / (select extract(epoch from '2026-06-27 12:29:48'::timestamp) - extract(epoch from '2026-06-27 12:29: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'), 46645, 'SRID=4674;POINT (-39.138421 -3.123367)', '2026-06-27 12:29:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123367)'))) / (select extract(epoch from '2026-06-27 12:29:56'::timestamp) - extract(epoch from '2026-06-27 12:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123367)'))) / (select extract(epoch from '2026-06-27 12:29:56'::timestamp) - extract(epoch from '2026-06-27 12:29: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123371)', '2026-06-27 12:30:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123371)'))) / (select extract(epoch from '2026-06-27 12:30:03'::timestamp) - extract(epoch from '2026-06-27 12:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123371)'))) / (select extract(epoch from '2026-06-27 12:30:03'::timestamp) - extract(epoch from '2026-06-27 12:29: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123369)', '2026-06-27 12:30:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:30:11'::timestamp) - extract(epoch from '2026-06-27 12:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:30:11'::timestamp) - extract(epoch from '2026-06-27 12:30: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123368)', '2026-06-27 12:30:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:30:27'::timestamp) - extract(epoch from '2026-06-27 12:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:30:27'::timestamp) - extract(epoch from '2026-06-27 12:30:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138418 -3.123365)', '2026-06-27 12:30:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123365)'))) / (select extract(epoch from '2026-06-27 12:30:38'::timestamp) - extract(epoch from '2026-06-27 12:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123365)'))) / (select extract(epoch from '2026-06-27 12:30:38'::timestamp) - extract(epoch from '2026-06-27 12:30: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123365)', '2026-06-27 12:30:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123365)'))) / (select extract(epoch from '2026-06-27 12:30:47'::timestamp) - extract(epoch from '2026-06-27 12:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123365)'))) / (select extract(epoch from '2026-06-27 12:30:47'::timestamp) - extract(epoch from '2026-06-27 12:30: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123369)', '2026-06-27 12:30:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:30:52'::timestamp) - extract(epoch from '2026-06-27 12:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:30:52'::timestamp) - extract(epoch from '2026-06-27 12:30:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138422 -3.12337)', '2026-06-27 12:31:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12337)'))) / (select extract(epoch from '2026-06-27 12:31:02'::timestamp) - extract(epoch from '2026-06-27 12:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12337)'))) / (select extract(epoch from '2026-06-27 12:31:02'::timestamp) - extract(epoch from '2026-06-27 12:30: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123368)', '2026-06-27 12:31:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:31:12'::timestamp) - extract(epoch from '2026-06-27 12:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:31:12'::timestamp) - extract(epoch from '2026-06-27 12:31: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123372)', '2026-06-27 12:31:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123372)'))) / (select extract(epoch from '2026-06-27 12:31:26'::timestamp) - extract(epoch from '2026-06-27 12:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123372)'))) / (select extract(epoch from '2026-06-27 12:31:26'::timestamp) - extract(epoch from '2026-06-27 12:31: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123371)', '2026-06-27 12:31:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123371)'))) / (select extract(epoch from '2026-06-27 12:31:34'::timestamp) - extract(epoch from '2026-06-27 12:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123371)'))) / (select extract(epoch from '2026-06-27 12:31:34'::timestamp) - extract(epoch from '2026-06-27 12:31: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123377)', '2026-06-27 12:31:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123377)'))) / (select extract(epoch from '2026-06-27 12:31:42'::timestamp) - extract(epoch from '2026-06-27 12:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123377)'))) / (select extract(epoch from '2026-06-27 12:31:42'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123369)', '2026-06-27 12:31:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:31:52'::timestamp) - extract(epoch from '2026-06-27 12:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:31:52'::timestamp) - extract(epoch from '2026-06-27 12:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138414 -3.123368)', '2026-06-27 12:32:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:32:01'::timestamp) - extract(epoch from '2026-06-27 12:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:32:01'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123366)', '2026-06-27 12:32:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123366)'))) / (select extract(epoch from '2026-06-27 12:32:10'::timestamp) - extract(epoch from '2026-06-27 12:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123366)'))) / (select extract(epoch from '2026-06-27 12:32:10'::timestamp) - extract(epoch from '2026-06-27 12:32:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138409 -3.123365)', '2026-06-27 12:32:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123365)'))) / (select extract(epoch from '2026-06-27 12:32:19'::timestamp) - extract(epoch from '2026-06-27 12:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123365)'))) / (select extract(epoch from '2026-06-27 12:32:19'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123369)', '2026-06-27 12:32:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:32:27'::timestamp) - extract(epoch from '2026-06-27 12:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:32:27'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.123372)', '2026-06-27 12:32:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123372)'))) / (select extract(epoch from '2026-06-27 12:32:34'::timestamp) - extract(epoch from '2026-06-27 12:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123372)'))) / (select extract(epoch from '2026-06-27 12:32:34'::timestamp) - extract(epoch from '2026-06-27 12:32:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138413 -3.123368)', '2026-06-27 12:32:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:32:46'::timestamp) - extract(epoch from '2026-06-27 12:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:32:46'::timestamp) - extract(epoch from '2026-06-27 12:32:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138404 -3.123368)', '2026-06-27 12:32:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:32:53'::timestamp) - extract(epoch from '2026-06-27 12:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:32:53'::timestamp) - extract(epoch from '2026-06-27 12:32: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'), 46645, 'SRID=4674;POINT (-39.138404 -3.123363)', '2026-06-27 12:33:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.123363)'))) / (select extract(epoch from '2026-06-27 12:33:01'::timestamp) - extract(epoch from '2026-06-27 12:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.123363)'))) / (select extract(epoch from '2026-06-27 12:33:01'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.1384 -3.123366)', '2026-06-27 12:33:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.123366)'))) / (select extract(epoch from '2026-06-27 12:33:09'::timestamp) - extract(epoch from '2026-06-27 12:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138404 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.123366)'))) / (select extract(epoch from '2026-06-27 12:33:09'::timestamp) - extract(epoch from '2026-06-27 12:33: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'), 46645, 'SRID=4674;POINT (-39.138407 -3.123369)', '2026-06-27 12:33:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:33:14'::timestamp) - extract(epoch from '2026-06-27 12:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.1384 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:33:14'::timestamp) - extract(epoch from '2026-06-27 12:33:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138398 -3.123364)', '2026-06-27 12:33:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.123364)'))) / (select extract(epoch from '2026-06-27 12:33:21'::timestamp) - extract(epoch from '2026-06-27 12:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.123364)'))) / (select extract(epoch from '2026-06-27 12:33:21'::timestamp) - extract(epoch from '2026-06-27 12:33: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'), 46645, 'SRID=4674;POINT (-39.138402 -3.123361)', '2026-06-27 12:33:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.123361)'))) / (select extract(epoch from '2026-06-27 12:33:29'::timestamp) - extract(epoch from '2026-06-27 12:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138398 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.123361)'))) / (select extract(epoch from '2026-06-27 12:33:29'::timestamp) - extract(epoch from '2026-06-27 12:33: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'), 46645, 'SRID=4674;POINT (-39.138408 -3.123362)', '2026-06-27 12:33:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123362)'))) / (select extract(epoch from '2026-06-27 12:33:38'::timestamp) - extract(epoch from '2026-06-27 12:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138402 -3.123361)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123362)'))) / (select extract(epoch from '2026-06-27 12:33:38'::timestamp) - extract(epoch from '2026-06-27 12:33:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138403 -3.123368)', '2026-06-27 12:33:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:33:45'::timestamp) - extract(epoch from '2026-06-27 12:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:33:45'::timestamp) - extract(epoch from '2026-06-27 12:33:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138409 -3.123367)', '2026-06-27 12:33:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123367)'))) / (select extract(epoch from '2026-06-27 12:33:56'::timestamp) - extract(epoch from '2026-06-27 12:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138403 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123367)'))) / (select extract(epoch from '2026-06-27 12:33:56'::timestamp) - extract(epoch from '2026-06-27 12:33: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.123367)', '2026-06-27 12:34:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123367)'))) / (select extract(epoch from '2026-06-27 12:34:09'::timestamp) - extract(epoch from '2026-06-27 12:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123367)'))) / (select extract(epoch from '2026-06-27 12:34:09'::timestamp) - extract(epoch from '2026-06-27 12:33:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138417 -3.123373)', '2026-06-27 12:34:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:34:24'::timestamp) - extract(epoch from '2026-06-27 12:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:34:24'::timestamp) - extract(epoch from '2026-06-27 12:34: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.12337)', '2026-06-27 12:34:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12337)'))) / (select extract(epoch from '2026-06-27 12:34:32'::timestamp) - extract(epoch from '2026-06-27 12:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12337)'))) / (select extract(epoch from '2026-06-27 12:34:32'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.12338)', '2026-06-27 12:34:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12338)'))) / (select extract(epoch from '2026-06-27 12:34:38'::timestamp) - extract(epoch from '2026-06-27 12:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12338)'))) / (select extract(epoch from '2026-06-27 12:34:38'::timestamp) - extract(epoch from '2026-06-27 12:34: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123376)', '2026-06-27 12:34:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123376)'))) / (select extract(epoch from '2026-06-27 12:34:45'::timestamp) - extract(epoch from '2026-06-27 12:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123376)'))) / (select extract(epoch from '2026-06-27 12:34:45'::timestamp) - extract(epoch from '2026-06-27 12:34: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123373)', '2026-06-27 12:34:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:34:52'::timestamp) - extract(epoch from '2026-06-27 12:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:34:52'::timestamp) - extract(epoch from '2026-06-27 12:34:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138418 -3.123378)', '2026-06-27 12:35:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123378)'))) / (select extract(epoch from '2026-06-27 12:35:00'::timestamp) - extract(epoch from '2026-06-27 12:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123378)'))) / (select extract(epoch from '2026-06-27 12:35:00'::timestamp) - extract(epoch from '2026-06-27 12:34: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123381)', '2026-06-27 12:35:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123381)'))) / (select extract(epoch from '2026-06-27 12:35:07'::timestamp) - extract(epoch from '2026-06-27 12:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123381)'))) / (select extract(epoch from '2026-06-27 12:35:07'::timestamp) - extract(epoch from '2026-06-27 12:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138424 -3.123385)', '2026-06-27 12:35:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123385)'))) / (select extract(epoch from '2026-06-27 12:35:14'::timestamp) - extract(epoch from '2026-06-27 12:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123385)'))) / (select extract(epoch from '2026-06-27 12:35:14'::timestamp) - extract(epoch from '2026-06-27 12:35: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123394)', '2026-06-27 12:35:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123394)'))) / (select extract(epoch from '2026-06-27 12:35:25'::timestamp) - extract(epoch from '2026-06-27 12:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123394)'))) / (select extract(epoch from '2026-06-27 12:35:25'::timestamp) - extract(epoch from '2026-06-27 12:35: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123395)', '2026-06-27 12:35:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123395)'))) / (select extract(epoch from '2026-06-27 12:35:34'::timestamp) - extract(epoch from '2026-06-27 12:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123395)'))) / (select extract(epoch from '2026-06-27 12:35:34'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138428 -3.123391)', '2026-06-27 12:35:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123391)'))) / (select extract(epoch from '2026-06-27 12:35:48'::timestamp) - extract(epoch from '2026-06-27 12:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123391)'))) / (select extract(epoch from '2026-06-27 12:35:48'::timestamp) - extract(epoch from '2026-06-27 12:35:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138426 -3.123389)', '2026-06-27 12:35:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123391)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123389)'))) / (select extract(epoch from '2026-06-27 12:35:56'::timestamp) - extract(epoch from '2026-06-27 12:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123391)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123389)'))) / (select extract(epoch from '2026-06-27 12:35:56'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138434 -3.123388)', '2026-06-27 12:36:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123388)'))) / (select extract(epoch from '2026-06-27 12:36:09'::timestamp) - extract(epoch from '2026-06-27 12:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123388)'))) / (select extract(epoch from '2026-06-27 12:36:09'::timestamp) - extract(epoch from '2026-06-27 12:35: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'), 46645, 'SRID=4674;POINT (-39.138427 -3.123387)', '2026-06-27 12:36:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123387)'))) / (select extract(epoch from '2026-06-27 12:36:23'::timestamp) - extract(epoch from '2026-06-27 12:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123387)'))) / (select extract(epoch from '2026-06-27 12:36:23'::timestamp) - extract(epoch from '2026-06-27 12:36:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138422 -3.123384)', '2026-06-27 12:36:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123384)'))) / (select extract(epoch from '2026-06-27 12:36:30'::timestamp) - extract(epoch from '2026-06-27 12:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123384)'))) / (select extract(epoch from '2026-06-27 12:36:30'::timestamp) - extract(epoch from '2026-06-27 12:36: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123383)', '2026-06-27 12:36:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:36:37'::timestamp) - extract(epoch from '2026-06-27 12:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:36:37'::timestamp) - extract(epoch from '2026-06-27 12:36: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123384)', '2026-06-27 12:36:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123384)'))) / (select extract(epoch from '2026-06-27 12:36:50'::timestamp) - extract(epoch from '2026-06-27 12:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123384)'))) / (select extract(epoch from '2026-06-27 12:36:50'::timestamp) - extract(epoch from '2026-06-27 12:36: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123386)', '2026-06-27 12:37:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123386)'))) / (select extract(epoch from '2026-06-27 12:37:01'::timestamp) - extract(epoch from '2026-06-27 12:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123386)'))) / (select extract(epoch from '2026-06-27 12:37:01'::timestamp) - extract(epoch from '2026-06-27 12:36:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138422 -3.123375)', '2026-06-27 12:37:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123375)'))) / (select extract(epoch from '2026-06-27 12:37:13'::timestamp) - extract(epoch from '2026-06-27 12:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123375)'))) / (select extract(epoch from '2026-06-27 12:37:13'::timestamp) - extract(epoch from '2026-06-27 12:37: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123369)', '2026-06-27 12:37:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:37:21'::timestamp) - extract(epoch from '2026-06-27 12:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123369)'))) / (select extract(epoch from '2026-06-27 12:37:21'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123367)', '2026-06-27 12:37:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123367)'))) / (select extract(epoch from '2026-06-27 12:37:28'::timestamp) - extract(epoch from '2026-06-27 12:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123369)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123367)'))) / (select extract(epoch from '2026-06-27 12:37:28'::timestamp) - extract(epoch from '2026-06-27 12:37:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13841 -3.123363)', '2026-06-27 12:37:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123363)'))) / (select extract(epoch from '2026-06-27 12:37:34'::timestamp) - extract(epoch from '2026-06-27 12:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123363)'))) / (select extract(epoch from '2026-06-27 12:37:34'::timestamp) - extract(epoch from '2026-06-27 12:37: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123367)', '2026-06-27 12:37:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123367)'))) / (select extract(epoch from '2026-06-27 12:37:44'::timestamp) - extract(epoch from '2026-06-27 12:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123367)'))) / (select extract(epoch from '2026-06-27 12:37:44'::timestamp) - extract(epoch from '2026-06-27 12:37: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123371)', '2026-06-27 12:37:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123371)'))) / (select extract(epoch from '2026-06-27 12:37:55'::timestamp) - extract(epoch from '2026-06-27 12:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123367)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123371)'))) / (select extract(epoch from '2026-06-27 12:37:55'::timestamp) - extract(epoch from '2026-06-27 12:37: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123375)', '2026-06-27 12:38:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123375)'))) / (select extract(epoch from '2026-06-27 12:38:03'::timestamp) - extract(epoch from '2026-06-27 12:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123375)'))) / (select extract(epoch from '2026-06-27 12:38:03'::timestamp) - extract(epoch from '2026-06-27 12:37:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138418 -3.123372)', '2026-06-27 12:38:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123372)'))) / (select extract(epoch from '2026-06-27 12:38:16'::timestamp) - extract(epoch from '2026-06-27 12:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123372)'))) / (select extract(epoch from '2026-06-27 12:38:16'::timestamp) - extract(epoch from '2026-06-27 12:38:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138414 -3.123373)', '2026-06-27 12:38:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:38:24'::timestamp) - extract(epoch from '2026-06-27 12:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:38:24'::timestamp) - extract(epoch from '2026-06-27 12:38: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'), 46645, 'SRID=4674;POINT (-39.138409 -3.12337)', '2026-06-27 12:38:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.12337)'))) / (select extract(epoch from '2026-06-27 12:38:39'::timestamp) - extract(epoch from '2026-06-27 12:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.12337)'))) / (select extract(epoch from '2026-06-27 12:38:39'::timestamp) - extract(epoch from '2026-06-27 12:38:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138407 -3.123363)', '2026-06-27 12:38:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123363)'))) / (select extract(epoch from '2026-06-27 12:38:48'::timestamp) - extract(epoch from '2026-06-27 12:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.12337)'), GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123363)'))) / (select extract(epoch from '2026-06-27 12:38:48'::timestamp) - extract(epoch from '2026-06-27 12:38:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13841 -3.123363)', '2026-06-27 12:38:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123363)'))) / (select extract(epoch from '2026-06-27 12:38:59'::timestamp) - extract(epoch from '2026-06-27 12:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138407 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123363)'))) / (select extract(epoch from '2026-06-27 12:38:59'::timestamp) - extract(epoch from '2026-06-27 12:38:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138408 -3.123364)', '2026-06-27 12:39:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123364)'))) / (select extract(epoch from '2026-06-27 12:39:12'::timestamp) - extract(epoch from '2026-06-27 12:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123363)'), GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123364)'))) / (select extract(epoch from '2026-06-27 12:39:12'::timestamp) - extract(epoch from '2026-06-27 12:38: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.123362)', '2026-06-27 12:39:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123362)'))) / (select extract(epoch from '2026-06-27 12:39:24'::timestamp) - extract(epoch from '2026-06-27 12:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138408 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123362)'))) / (select extract(epoch from '2026-06-27 12:39:24'::timestamp) - extract(epoch from '2026-06-27 12:39:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138418 -3.123365)', '2026-06-27 12:39:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123365)'))) / (select extract(epoch from '2026-06-27 12:39:34'::timestamp) - extract(epoch from '2026-06-27 12:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123362)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123365)'))) / (select extract(epoch from '2026-06-27 12:39:34'::timestamp) - extract(epoch from '2026-06-27 12:39: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123368)', '2026-06-27 12:39:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:39:42'::timestamp) - extract(epoch from '2026-06-27 12:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123368)'))) / (select extract(epoch from '2026-06-27 12:39:42'::timestamp) - extract(epoch from '2026-06-27 12:39:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138415 -3.123377)', '2026-06-27 12:39:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123377)'))) / (select extract(epoch from '2026-06-27 12:39:56'::timestamp) - extract(epoch from '2026-06-27 12:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123368)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123377)'))) / (select extract(epoch from '2026-06-27 12:39:56'::timestamp) - extract(epoch from '2026-06-27 12:39: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123379)', '2026-06-27 12:40:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123379)'))) / (select extract(epoch from '2026-06-27 12:40:08'::timestamp) - extract(epoch from '2026-06-27 12:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123377)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123379)'))) / (select extract(epoch from '2026-06-27 12:40:08'::timestamp) - extract(epoch from '2026-06-27 12:39: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123383)', '2026-06-27 12:40:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123379)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:40:18'::timestamp) - extract(epoch from '2026-06-27 12:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123379)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:40:18'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123381)', '2026-06-27 12:40:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123381)'))) / (select extract(epoch from '2026-06-27 12:40:27'::timestamp) - extract(epoch from '2026-06-27 12:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123381)'))) / (select extract(epoch from '2026-06-27 12:40:27'::timestamp) - extract(epoch from '2026-06-27 12:40: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123379)', '2026-06-27 12:40:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123379)'))) / (select extract(epoch from '2026-06-27 12:40:40'::timestamp) - extract(epoch from '2026-06-27 12:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123379)'))) / (select extract(epoch from '2026-06-27 12:40:40'::timestamp) - extract(epoch from '2026-06-27 12:40: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123373)', '2026-06-27 12:40:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123379)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:40:53'::timestamp) - extract(epoch from '2026-06-27 12:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123379)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:40:53'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123371)', '2026-06-27 12:41:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123371)'))) / (select extract(epoch from '2026-06-27 12:41:06'::timestamp) - extract(epoch from '2026-06-27 12:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123371)'))) / (select extract(epoch from '2026-06-27 12:41:06'::timestamp) - extract(epoch from '2026-06-27 12:40:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138417 -3.123372)', '2026-06-27 12:41:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123372)'))) / (select extract(epoch from '2026-06-27 12:41:15'::timestamp) - extract(epoch from '2026-06-27 12:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123372)'))) / (select extract(epoch from '2026-06-27 12:41:15'::timestamp) - extract(epoch from '2026-06-27 12:41: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123375)', '2026-06-27 12:41:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123375)'))) / (select extract(epoch from '2026-06-27 12:41:28'::timestamp) - extract(epoch from '2026-06-27 12:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123375)'))) / (select extract(epoch from '2026-06-27 12:41:28'::timestamp) - extract(epoch from '2026-06-27 12:41: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'), 46645, 'SRID=4674;POINT (-39.138412 -3.123378)', '2026-06-27 12:41:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123378)'))) / (select extract(epoch from '2026-06-27 12:41:38'::timestamp) - extract(epoch from '2026-06-27 12:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123378)'))) / (select extract(epoch from '2026-06-27 12:41:38'::timestamp) - extract(epoch from '2026-06-27 12:41: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123381)', '2026-06-27 12:41:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123381)'))) / (select extract(epoch from '2026-06-27 12:41:45'::timestamp) - extract(epoch from '2026-06-27 12:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138412 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123381)'))) / (select extract(epoch from '2026-06-27 12:41:45'::timestamp) - extract(epoch from '2026-06-27 12:41:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138414 -3.123381)', '2026-06-27 12:41:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123381)'))) / (select extract(epoch from '2026-06-27 12:41:57'::timestamp) - extract(epoch from '2026-06-27 12:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123381)'))) / (select extract(epoch from '2026-06-27 12:41:57'::timestamp) - extract(epoch from '2026-06-27 12:41:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13842 -3.123387)', '2026-06-27 12:42:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123387)'))) / (select extract(epoch from '2026-06-27 12:42:03'::timestamp) - extract(epoch from '2026-06-27 12:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123387)'))) / (select extract(epoch from '2026-06-27 12:42:03'::timestamp) - extract(epoch from '2026-06-27 12:41: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123386)', '2026-06-27 12:42:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123386)'))) / (select extract(epoch from '2026-06-27 12:42:12'::timestamp) - extract(epoch from '2026-06-27 12:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123386)'))) / (select extract(epoch from '2026-06-27 12:42:12'::timestamp) - extract(epoch from '2026-06-27 12:42:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138421 -3.123392)', '2026-06-27 12:42:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123392)'))) / (select extract(epoch from '2026-06-27 12:42:28'::timestamp) - extract(epoch from '2026-06-27 12:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123392)'))) / (select extract(epoch from '2026-06-27 12:42:28'::timestamp) - extract(epoch from '2026-06-27 12:42: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123393)', '2026-06-27 12:42:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123393)'))) / (select extract(epoch from '2026-06-27 12:42:38'::timestamp) - extract(epoch from '2026-06-27 12:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123393)'))) / (select extract(epoch from '2026-06-27 12:42:38'::timestamp) - extract(epoch from '2026-06-27 12:42: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123394)', '2026-06-27 12:42:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123394)'))) / (select extract(epoch from '2026-06-27 12:42:44'::timestamp) - extract(epoch from '2026-06-27 12:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123394)'))) / (select extract(epoch from '2026-06-27 12:42:44'::timestamp) - extract(epoch from '2026-06-27 12:42: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'), 46645, 'SRID=4674;POINT (-39.138409 -3.123391)', '2026-06-27 12:42:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123391)'))) / (select extract(epoch from '2026-06-27 12:42:56'::timestamp) - extract(epoch from '2026-06-27 12:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123391)'))) / (select extract(epoch from '2026-06-27 12:42:56'::timestamp) - extract(epoch from '2026-06-27 12:42: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123385)', '2026-06-27 12:43:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123391)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123385)'))) / (select extract(epoch from '2026-06-27 12:43:05'::timestamp) - extract(epoch from '2026-06-27 12:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123391)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123385)'))) / (select extract(epoch from '2026-06-27 12:43:05'::timestamp) - extract(epoch from '2026-06-27 12:42: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.12338)', '2026-06-27 12:43:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12338)'))) / (select extract(epoch from '2026-06-27 12:43:16'::timestamp) - extract(epoch from '2026-06-27 12:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12338)'))) / (select extract(epoch from '2026-06-27 12:43:16'::timestamp) - extract(epoch from '2026-06-27 12:43:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138416 -3.123379)', '2026-06-27 12:43:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123379)'))) / (select extract(epoch from '2026-06-27 12:43:26'::timestamp) - extract(epoch from '2026-06-27 12:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123379)'))) / (select extract(epoch from '2026-06-27 12:43:26'::timestamp) - extract(epoch from '2026-06-27 12:43: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123376)', '2026-06-27 12:43:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123379)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123376)'))) / (select extract(epoch from '2026-06-27 12:43:34'::timestamp) - extract(epoch from '2026-06-27 12:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123379)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123376)'))) / (select extract(epoch from '2026-06-27 12:43:34'::timestamp) - extract(epoch from '2026-06-27 12:43: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.123371)', '2026-06-27 12:43:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123371)'))) / (select extract(epoch from '2026-06-27 12:43:41'::timestamp) - extract(epoch from '2026-06-27 12:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123371)'))) / (select extract(epoch from '2026-06-27 12:43:41'::timestamp) - extract(epoch from '2026-06-27 12:43:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13841 -3.123365)', '2026-06-27 12:43:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123365)'))) / (select extract(epoch from '2026-06-27 12:43:48'::timestamp) - extract(epoch from '2026-06-27 12:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123371)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123365)'))) / (select extract(epoch from '2026-06-27 12:43:48'::timestamp) - extract(epoch from '2026-06-27 12:43: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123364)', '2026-06-27 12:43:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123364)'))) / (select extract(epoch from '2026-06-27 12:43:57'::timestamp) - extract(epoch from '2026-06-27 12:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123365)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123364)'))) / (select extract(epoch from '2026-06-27 12:43:57'::timestamp) - extract(epoch from '2026-06-27 12:43:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138416 -3.123366)', '2026-06-27 12:44:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123366)'))) / (select extract(epoch from '2026-06-27 12:44:06'::timestamp) - extract(epoch from '2026-06-27 12:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123364)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123366)'))) / (select extract(epoch from '2026-06-27 12:44:06'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123366)', '2026-06-27 12:44:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123366)'))) / (select extract(epoch from '2026-06-27 12:44:16'::timestamp) - extract(epoch from '2026-06-27 12:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123366)'))) / (select extract(epoch from '2026-06-27 12:44:16'::timestamp) - extract(epoch from '2026-06-27 12:44: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123372)', '2026-06-27 12:44:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123372)'))) / (select extract(epoch from '2026-06-27 12:44:28'::timestamp) - extract(epoch from '2026-06-27 12:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123366)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123372)'))) / (select extract(epoch from '2026-06-27 12:44:28'::timestamp) - extract(epoch from '2026-06-27 12:44: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'), 46645, 'SRID=4674;POINT (-39.138421 -3.123374)', '2026-06-27 12:44:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123374)'))) / (select extract(epoch from '2026-06-27 12:44:40'::timestamp) - extract(epoch from '2026-06-27 12:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123374)'))) / (select extract(epoch from '2026-06-27 12:44:40'::timestamp) - extract(epoch from '2026-06-27 12:44:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13842 -3.123373)', '2026-06-27 12:44:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:44:51'::timestamp) - extract(epoch from '2026-06-27 12:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:44:51'::timestamp) - extract(epoch from '2026-06-27 12:44: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123372)', '2026-06-27 12:45:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123372)'))) / (select extract(epoch from '2026-06-27 12:45:02'::timestamp) - extract(epoch from '2026-06-27 12:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123372)'))) / (select extract(epoch from '2026-06-27 12:45:02'::timestamp) - extract(epoch from '2026-06-27 12:44: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123372)', '2026-06-27 12:45:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123372)'))) / (select extract(epoch from '2026-06-27 12:45:09'::timestamp) - extract(epoch from '2026-06-27 12:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123372)'))) / (select extract(epoch from '2026-06-27 12:45:09'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138409 -3.123374)', '2026-06-27 12:45:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123374)'))) / (select extract(epoch from '2026-06-27 12:45:16'::timestamp) - extract(epoch from '2026-06-27 12:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123374)'))) / (select extract(epoch from '2026-06-27 12:45:16'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138411 -3.123375)', '2026-06-27 12:45:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123375)'))) / (select extract(epoch from '2026-06-27 12:45:22'::timestamp) - extract(epoch from '2026-06-27 12:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138409 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123375)'))) / (select extract(epoch from '2026-06-27 12:45:22'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.13841 -3.123373)', '2026-06-27 12:45:32', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:45:32'::timestamp) - extract(epoch from '2026-06-27 12:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138411 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123373)'))) / (select extract(epoch from '2026-06-27 12:45:32'::timestamp) - extract(epoch from '2026-06-27 12:45: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123378)', '2026-06-27 12:45:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123378)'))) / (select extract(epoch from '2026-06-27 12:45:43'::timestamp) - extract(epoch from '2026-06-27 12:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13841 -3.123373)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123378)'))) / (select extract(epoch from '2026-06-27 12:45:43'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138414 -3.123375)', '2026-06-27 12:45:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123375)'))) / (select extract(epoch from '2026-06-27 12:45:51'::timestamp) - extract(epoch from '2026-06-27 12:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123375)'))) / (select extract(epoch from '2026-06-27 12:45:51'::timestamp) - extract(epoch from '2026-06-27 12:45: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123378)', '2026-06-27 12:45:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123378)'))) / (select extract(epoch from '2026-06-27 12:45:58'::timestamp) - extract(epoch from '2026-06-27 12:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123375)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123378)'))) / (select extract(epoch from '2026-06-27 12:45:58'::timestamp) - extract(epoch from '2026-06-27 12:45: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'), 46645, 'SRID=4674;POINT (-39.138406 -3.123383)', '2026-06-27 12:46:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:46:06'::timestamp) - extract(epoch from '2026-06-27 12:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:46:06'::timestamp) - extract(epoch from '2026-06-27 12:45: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'), 46645, 'SRID=4674;POINT (-39.138413 -3.123387)', '2026-06-27 12:46:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123387)'))) / (select extract(epoch from '2026-06-27 12:46:17'::timestamp) - extract(epoch from '2026-06-27 12:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138406 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123387)'))) / (select extract(epoch from '2026-06-27 12:46:17'::timestamp) - extract(epoch from '2026-06-27 12:46:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138413 -3.123385)', '2026-06-27 12:46:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123385)'))) / (select extract(epoch from '2026-06-27 12:46:24'::timestamp) - extract(epoch from '2026-06-27 12:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123385)'))) / (select extract(epoch from '2026-06-27 12:46:24'::timestamp) - extract(epoch from '2026-06-27 12:46: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.123384)', '2026-06-27 12:46:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123384)'))) / (select extract(epoch from '2026-06-27 12:46:39'::timestamp) - extract(epoch from '2026-06-27 12:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123384)'))) / (select extract(epoch from '2026-06-27 12:46:39'::timestamp) - extract(epoch from '2026-06-27 12:46: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123385)', '2026-06-27 12:46:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123385)'))) / (select extract(epoch from '2026-06-27 12:46:52'::timestamp) - extract(epoch from '2026-06-27 12:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123385)'))) / (select extract(epoch from '2026-06-27 12:46:52'::timestamp) - extract(epoch from '2026-06-27 12:46:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138429 -3.123395)', '2026-06-27 12:47:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123395)'))) / (select extract(epoch from '2026-06-27 12:47:06'::timestamp) - extract(epoch from '2026-06-27 12:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123395)'))) / (select extract(epoch from '2026-06-27 12:47:06'::timestamp) - extract(epoch from '2026-06-27 12:46:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138425 -3.123397)', '2026-06-27 12:47:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123397)'))) / (select extract(epoch from '2026-06-27 12:47:13'::timestamp) - extract(epoch from '2026-06-27 12:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123397)'))) / (select extract(epoch from '2026-06-27 12:47:13'::timestamp) - extract(epoch from '2026-06-27 12:47:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138423 -3.123397)', '2026-06-27 12:47:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123397)'))) / (select extract(epoch from '2026-06-27 12:47:23'::timestamp) - extract(epoch from '2026-06-27 12:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123397)'))) / (select extract(epoch from '2026-06-27 12:47:23'::timestamp) - extract(epoch from '2026-06-27 12:47: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'), 46645, 'SRID=4674;POINT (-39.13843 -3.123397)', '2026-06-27 12:47:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123397)'))) / (select extract(epoch from '2026-06-27 12:47:29'::timestamp) - extract(epoch from '2026-06-27 12:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123397)'))) / (select extract(epoch from '2026-06-27 12:47:29'::timestamp) - extract(epoch from '2026-06-27 12:47:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138425 -3.123402)', '2026-06-27 12:47:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123402)'))) / (select extract(epoch from '2026-06-27 12:47:39'::timestamp) - extract(epoch from '2026-06-27 12:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123402)'))) / (select extract(epoch from '2026-06-27 12:47:39'::timestamp) - extract(epoch from '2026-06-27 12:47: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123404)', '2026-06-27 12:47:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123404)'))) / (select extract(epoch from '2026-06-27 12:47:52'::timestamp) - extract(epoch from '2026-06-27 12:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123404)'))) / (select extract(epoch from '2026-06-27 12:47:52'::timestamp) - extract(epoch from '2026-06-27 12:47:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138431 -3.123406)', '2026-06-27 12:47:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123404)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123406)'))) / (select extract(epoch from '2026-06-27 12:47:57'::timestamp) - extract(epoch from '2026-06-27 12:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123404)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123406)'))) / (select extract(epoch from '2026-06-27 12:47:57'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.12341)', '2026-06-27 12:48:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123406)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12341)'))) / (select extract(epoch from '2026-06-27 12:48:04'::timestamp) - extract(epoch from '2026-06-27 12:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123406)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12341)'))) / (select extract(epoch from '2026-06-27 12:48:04'::timestamp) - extract(epoch from '2026-06-27 12:47: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123414)', '2026-06-27 12:48:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12341)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123414)'))) / (select extract(epoch from '2026-06-27 12:48:12'::timestamp) - extract(epoch from '2026-06-27 12:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12341)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123414)'))) / (select extract(epoch from '2026-06-27 12:48:12'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123411)', '2026-06-27 12:48:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123414)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123411)'))) / (select extract(epoch from '2026-06-27 12:48:25'::timestamp) - extract(epoch from '2026-06-27 12:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123414)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123411)'))) / (select extract(epoch from '2026-06-27 12:48:25'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138428 -3.123411)', '2026-06-27 12:48:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123411)'))) / (select extract(epoch from '2026-06-27 12:48:40'::timestamp) - extract(epoch from '2026-06-27 12:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123411)'))) / (select extract(epoch from '2026-06-27 12:48:40'::timestamp) - extract(epoch from '2026-06-27 12:48:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138427 -3.123414)', '2026-06-27 12:48:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123414)'))) / (select extract(epoch from '2026-06-27 12:48:54'::timestamp) - extract(epoch from '2026-06-27 12:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123414)'))) / (select extract(epoch from '2026-06-27 12:48:54'::timestamp) - extract(epoch from '2026-06-27 12:48:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138426 -3.123408)', '2026-06-27 12:49:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123414)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123408)'))) / (select extract(epoch from '2026-06-27 12:49:02'::timestamp) - extract(epoch from '2026-06-27 12:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123414)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123408)'))) / (select extract(epoch from '2026-06-27 12:49:02'::timestamp) - extract(epoch from '2026-06-27 12:48: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123399)', '2026-06-27 12:49:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123399)'))) / (select extract(epoch from '2026-06-27 12:49:11'::timestamp) - extract(epoch from '2026-06-27 12:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123399)'))) / (select extract(epoch from '2026-06-27 12:49:11'::timestamp) - extract(epoch from '2026-06-27 12:49: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123395)', '2026-06-27 12:49:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123399)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123395)'))) / (select extract(epoch from '2026-06-27 12:49:18'::timestamp) - extract(epoch from '2026-06-27 12:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123399)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123395)'))) / (select extract(epoch from '2026-06-27 12:49:18'::timestamp) - extract(epoch from '2026-06-27 12:49:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138426 -3.123395)', '2026-06-27 12:49:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123395)'))) / (select extract(epoch from '2026-06-27 12:49:28'::timestamp) - extract(epoch from '2026-06-27 12:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123395)'))) / (select extract(epoch from '2026-06-27 12:49:28'::timestamp) - extract(epoch from '2026-06-27 12:49: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123399)', '2026-06-27 12:49:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123399)'))) / (select extract(epoch from '2026-06-27 12:49:36'::timestamp) - extract(epoch from '2026-06-27 12:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123399)'))) / (select extract(epoch from '2026-06-27 12:49:36'::timestamp) - extract(epoch from '2026-06-27 12:49: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123397)', '2026-06-27 12:49:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123399)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123397)'))) / (select extract(epoch from '2026-06-27 12:49:43'::timestamp) - extract(epoch from '2026-06-27 12:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123399)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123397)'))) / (select extract(epoch from '2026-06-27 12:49:43'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123398)', '2026-06-27 12:49:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123398)'))) / (select extract(epoch from '2026-06-27 12:49:50'::timestamp) - extract(epoch from '2026-06-27 12:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123398)'))) / (select extract(epoch from '2026-06-27 12:49:50'::timestamp) - extract(epoch from '2026-06-27 12:49:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138423 -3.123402)', '2026-06-27 12:49:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123402)'))) / (select extract(epoch from '2026-06-27 12:49:57'::timestamp) - extract(epoch from '2026-06-27 12:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123402)'))) / (select extract(epoch from '2026-06-27 12:49:57'::timestamp) - extract(epoch from '2026-06-27 12:49:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138421 -3.123394)', '2026-06-27 12:50:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123394)'))) / (select extract(epoch from '2026-06-27 12:50:13'::timestamp) - extract(epoch from '2026-06-27 12:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123394)'))) / (select extract(epoch from '2026-06-27 12:50:13'::timestamp) - extract(epoch from '2026-06-27 12:49: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'), 46645, 'SRID=4674;POINT (-39.138414 -3.123394)', '2026-06-27 12:50:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123394)'))) / (select extract(epoch from '2026-06-27 12:50:22'::timestamp) - extract(epoch from '2026-06-27 12:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123394)'))) / (select extract(epoch from '2026-06-27 12:50:22'::timestamp) - extract(epoch from '2026-06-27 12:50: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123393)', '2026-06-27 12:50:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123393)'))) / (select extract(epoch from '2026-06-27 12:50:29'::timestamp) - extract(epoch from '2026-06-27 12:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138414 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123393)'))) / (select extract(epoch from '2026-06-27 12:50:29'::timestamp) - extract(epoch from '2026-06-27 12:50: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'), 46645, 'SRID=4674;POINT (-39.138421 -3.123389)', '2026-06-27 12:50:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123389)'))) / (select extract(epoch from '2026-06-27 12:50:40'::timestamp) - extract(epoch from '2026-06-27 12:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123389)'))) / (select extract(epoch from '2026-06-27 12:50:40'::timestamp) - extract(epoch from '2026-06-27 12:50: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123385)', '2026-06-27 12:50:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123385)'))) / (select extract(epoch from '2026-06-27 12:50:46'::timestamp) - extract(epoch from '2026-06-27 12:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123385)'))) / (select extract(epoch from '2026-06-27 12:50:46'::timestamp) - extract(epoch from '2026-06-27 12:50: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123389)', '2026-06-27 12:50:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123389)'))) / (select extract(epoch from '2026-06-27 12:50:54'::timestamp) - extract(epoch from '2026-06-27 12:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123389)'))) / (select extract(epoch from '2026-06-27 12:50:54'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.13842 -3.123393)', '2026-06-27 12:51:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123393)'))) / (select extract(epoch from '2026-06-27 12:51:04'::timestamp) - extract(epoch from '2026-06-27 12:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123393)'))) / (select extract(epoch from '2026-06-27 12:51:04'::timestamp) - extract(epoch from '2026-06-27 12:50:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138423 -3.123391)', '2026-06-27 12:51:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123391)'))) / (select extract(epoch from '2026-06-27 12:51:15'::timestamp) - extract(epoch from '2026-06-27 12:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13842 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123391)'))) / (select extract(epoch from '2026-06-27 12:51:15'::timestamp) - extract(epoch from '2026-06-27 12:51: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123385)', '2026-06-27 12:51:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123391)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123385)'))) / (select extract(epoch from '2026-06-27 12:51:23'::timestamp) - extract(epoch from '2026-06-27 12:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123391)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123385)'))) / (select extract(epoch from '2026-06-27 12:51:23'::timestamp) - extract(epoch from '2026-06-27 12:51:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138417 -3.123386)', '2026-06-27 12:51:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123386)'))) / (select extract(epoch from '2026-06-27 12:51:30'::timestamp) - extract(epoch from '2026-06-27 12:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123386)'))) / (select extract(epoch from '2026-06-27 12:51:30'::timestamp) - extract(epoch from '2026-06-27 12:51: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123383)', '2026-06-27 12:51:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:51:44'::timestamp) - extract(epoch from '2026-06-27 12:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:51:44'::timestamp) - extract(epoch from '2026-06-27 12:51: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123386)', '2026-06-27 12:51:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123386)'))) / (select extract(epoch from '2026-06-27 12:51:56'::timestamp) - extract(epoch from '2026-06-27 12:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123386)'))) / (select extract(epoch from '2026-06-27 12:51:56'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138426 -3.123386)', '2026-06-27 12:52:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123386)'))) / (select extract(epoch from '2026-06-27 12:52:04'::timestamp) - extract(epoch from '2026-06-27 12:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123386)'))) / (select extract(epoch from '2026-06-27 12:52:04'::timestamp) - extract(epoch from '2026-06-27 12:51: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123388)', '2026-06-27 12:52:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123388)'))) / (select extract(epoch from '2026-06-27 12:52:17'::timestamp) - extract(epoch from '2026-06-27 12:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123388)'))) / (select extract(epoch from '2026-06-27 12:52:17'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123387)', '2026-06-27 12:52:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123387)'))) / (select extract(epoch from '2026-06-27 12:52:25'::timestamp) - extract(epoch from '2026-06-27 12:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123387)'))) / (select extract(epoch from '2026-06-27 12:52:25'::timestamp) - extract(epoch from '2026-06-27 12:52: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'), 46645, 'SRID=4674;POINT (-39.138421 -3.123384)', '2026-06-27 12:52:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123384)'))) / (select extract(epoch from '2026-06-27 12:52:38'::timestamp) - extract(epoch from '2026-06-27 12:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123384)'))) / (select extract(epoch from '2026-06-27 12:52:38'::timestamp) - extract(epoch from '2026-06-27 12:52: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.123384)', '2026-06-27 12:52:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123384)'))) / (select extract(epoch from '2026-06-27 12:52:47'::timestamp) - extract(epoch from '2026-06-27 12:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123384)'))) / (select extract(epoch from '2026-06-27 12:52:47'::timestamp) - extract(epoch from '2026-06-27 12:52: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123386)', '2026-06-27 12:52:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123386)'))) / (select extract(epoch from '2026-06-27 12:52:55'::timestamp) - extract(epoch from '2026-06-27 12:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123386)'))) / (select extract(epoch from '2026-06-27 12:52:55'::timestamp) - extract(epoch from '2026-06-27 12:52:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138419 -3.12339)', '2026-06-27 12:53:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12339)'))) / (select extract(epoch from '2026-06-27 12:53:11'::timestamp) - extract(epoch from '2026-06-27 12:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12339)'))) / (select extract(epoch from '2026-06-27 12:53:11'::timestamp) - extract(epoch from '2026-06-27 12:52: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'), 46645, 'SRID=4674;POINT (-39.138415 -3.123385)', '2026-06-27 12:53:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123385)'))) / (select extract(epoch from '2026-06-27 12:53:22'::timestamp) - extract(epoch from '2026-06-27 12:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123385)'))) / (select extract(epoch from '2026-06-27 12:53:22'::timestamp) - extract(epoch from '2026-06-27 12:53:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138413 -3.123389)', '2026-06-27 12:53:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123389)'))) / (select extract(epoch from '2026-06-27 12:53:29'::timestamp) - extract(epoch from '2026-06-27 12:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123389)'))) / (select extract(epoch from '2026-06-27 12:53:29'::timestamp) - extract(epoch from '2026-06-27 12:53: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.123392)', '2026-06-27 12:53:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123392)'))) / (select extract(epoch from '2026-06-27 12:53:38'::timestamp) - extract(epoch from '2026-06-27 12:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138413 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123392)'))) / (select extract(epoch from '2026-06-27 12:53:38'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123384)', '2026-06-27 12:53:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123384)'))) / (select extract(epoch from '2026-06-27 12:53:52'::timestamp) - extract(epoch from '2026-06-27 12:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123384)'))) / (select extract(epoch from '2026-06-27 12:53:52'::timestamp) - extract(epoch from '2026-06-27 12:53:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138415 -3.123383)', '2026-06-27 12:54:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:54:00'::timestamp) - extract(epoch from '2026-06-27 12:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:54:00'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123383)', '2026-06-27 12:54:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:54:15'::timestamp) - extract(epoch from '2026-06-27 12:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138415 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:54:15'::timestamp) - extract(epoch from '2026-06-27 12:54: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'), 46645, 'SRID=4674;POINT (-39.138418 -3.123384)', '2026-06-27 12:54:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123384)'))) / (select extract(epoch from '2026-06-27 12:54:23'::timestamp) - extract(epoch from '2026-06-27 12:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123384)'))) / (select extract(epoch from '2026-06-27 12:54:23'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.12339)', '2026-06-27 12:54:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12339)'))) / (select extract(epoch from '2026-06-27 12:54:32'::timestamp) - extract(epoch from '2026-06-27 12:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12339)'))) / (select extract(epoch from '2026-06-27 12:54:32'::timestamp) - extract(epoch from '2026-06-27 12:54:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138422 -3.12339)', '2026-06-27 12:54:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12339)'))) / (select extract(epoch from '2026-06-27 12:54:43'::timestamp) - extract(epoch from '2026-06-27 12:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12339)'))) / (select extract(epoch from '2026-06-27 12:54:43'::timestamp) - extract(epoch from '2026-06-27 12:54: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'), 46645, 'SRID=4674;POINT (-39.138417 -3.123393)', '2026-06-27 12:54:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123393)'))) / (select extract(epoch from '2026-06-27 12:54:52'::timestamp) - extract(epoch from '2026-06-27 12:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.12339)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123393)'))) / (select extract(epoch from '2026-06-27 12:54:52'::timestamp) - extract(epoch from '2026-06-27 12:54: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123394)', '2026-06-27 12:54:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123394)'))) / (select extract(epoch from '2026-06-27 12:54:59'::timestamp) - extract(epoch from '2026-06-27 12:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123394)'))) / (select extract(epoch from '2026-06-27 12:54:59'::timestamp) - extract(epoch from '2026-06-27 12:54: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.1234)', '2026-06-27 12:55:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.1234)'))) / (select extract(epoch from '2026-06-27 12:55:07'::timestamp) - extract(epoch from '2026-06-27 12:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.1234)'))) / (select extract(epoch from '2026-06-27 12:55:07'::timestamp) - extract(epoch from '2026-06-27 12:54: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123395)', '2026-06-27 12:55:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.1234)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123395)'))) / (select extract(epoch from '2026-06-27 12:55:15'::timestamp) - extract(epoch from '2026-06-27 12:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.1234)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123395)'))) / (select extract(epoch from '2026-06-27 12:55:15'::timestamp) - extract(epoch from '2026-06-27 12:55: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'), 46645, 'SRID=4674;POINT (-39.138416 -3.123392)', '2026-06-27 12:55:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123392)'))) / (select extract(epoch from '2026-06-27 12:55:23'::timestamp) - extract(epoch from '2026-06-27 12:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123392)'))) / (select extract(epoch from '2026-06-27 12:55:23'::timestamp) - extract(epoch from '2026-06-27 12:55: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123389)', '2026-06-27 12:55:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123389)'))) / (select extract(epoch from '2026-06-27 12:55:30'::timestamp) - extract(epoch from '2026-06-27 12:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138416 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123389)'))) / (select extract(epoch from '2026-06-27 12:55:30'::timestamp) - extract(epoch from '2026-06-27 12:55:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138418 -3.123383)', '2026-06-27 12:55:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:55:40'::timestamp) - extract(epoch from '2026-06-27 12:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123389)'), GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:55:40'::timestamp) - extract(epoch from '2026-06-27 12:55: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123382)', '2026-06-27 12:55:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123382)'))) / (select extract(epoch from '2026-06-27 12:55:50'::timestamp) - extract(epoch from '2026-06-27 12:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138418 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123382)'))) / (select extract(epoch from '2026-06-27 12:55:50'::timestamp) - extract(epoch from '2026-06-27 12:55: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.12338)', '2026-06-27 12:56:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.12338)'))) / (select extract(epoch from '2026-06-27 12:56:05'::timestamp) - extract(epoch from '2026-06-27 12:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.12338)'))) / (select extract(epoch from '2026-06-27 12:56:05'::timestamp) - extract(epoch from '2026-06-27 12:55:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138426 -3.123378)', '2026-06-27 12:56:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123378)'))) / (select extract(epoch from '2026-06-27 12:56:14'::timestamp) - extract(epoch from '2026-06-27 12:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123378)'))) / (select extract(epoch from '2026-06-27 12:56:14'::timestamp) - extract(epoch from '2026-06-27 12:56:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138425 -3.123379)', '2026-06-27 12:56:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123379)'))) / (select extract(epoch from '2026-06-27 12:56:29'::timestamp) - extract(epoch from '2026-06-27 12:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123379)'))) / (select extract(epoch from '2026-06-27 12:56:29'::timestamp) - extract(epoch from '2026-06-27 12:56: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123374)', '2026-06-27 12:56:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123379)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123374)'))) / (select extract(epoch from '2026-06-27 12:56:37'::timestamp) - extract(epoch from '2026-06-27 12:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123379)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123374)'))) / (select extract(epoch from '2026-06-27 12:56:37'::timestamp) - extract(epoch from '2026-06-27 12:56:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138422 -3.123372)', '2026-06-27 12:56:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123372)'))) / (select extract(epoch from '2026-06-27 12:56:46'::timestamp) - extract(epoch from '2026-06-27 12:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123374)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123372)'))) / (select extract(epoch from '2026-06-27 12:56:46'::timestamp) - extract(epoch from '2026-06-27 12:56: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123376)', '2026-06-27 12:56:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123376)'))) / (select extract(epoch from '2026-06-27 12:56:59'::timestamp) - extract(epoch from '2026-06-27 12:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123372)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123376)'))) / (select extract(epoch from '2026-06-27 12:56:59'::timestamp) - extract(epoch from '2026-06-27 12:56:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138424 -3.123378)', '2026-06-27 12:57:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123378)'))) / (select extract(epoch from '2026-06-27 12:57:09'::timestamp) - extract(epoch from '2026-06-27 12:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123376)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123378)'))) / (select extract(epoch from '2026-06-27 12:57:09'::timestamp) - extract(epoch from '2026-06-27 12:56:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138421 -3.123378)', '2026-06-27 12:57:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123378)'))) / (select extract(epoch from '2026-06-27 12:57:19'::timestamp) - extract(epoch from '2026-06-27 12:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123378)'))) / (select extract(epoch from '2026-06-27 12:57:19'::timestamp) - extract(epoch from '2026-06-27 12:57:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138417 -3.123378)', '2026-06-27 12:57:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123378)'))) / (select extract(epoch from '2026-06-27 12:57:32'::timestamp) - extract(epoch from '2026-06-27 12:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138421 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123378)'))) / (select extract(epoch from '2026-06-27 12:57:32'::timestamp) - extract(epoch from '2026-06-27 12:57: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'), 46645, 'SRID=4674;POINT (-39.138419 -3.123381)', '2026-06-27 12:57:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123381)'))) / (select extract(epoch from '2026-06-27 12:57:43'::timestamp) - extract(epoch from '2026-06-27 12:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138417 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123381)'))) / (select extract(epoch from '2026-06-27 12:57:43'::timestamp) - extract(epoch from '2026-06-27 12:57: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'), 46645, 'SRID=4674;POINT (-39.138422 -3.123384)', '2026-06-27 12:57:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123384)'))) / (select extract(epoch from '2026-06-27 12:57:53'::timestamp) - extract(epoch from '2026-06-27 12:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138419 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123384)'))) / (select extract(epoch from '2026-06-27 12:57:53'::timestamp) - extract(epoch from '2026-06-27 12:57:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138429 -3.123385)', '2026-06-27 12:58:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123385)'))) / (select extract(epoch from '2026-06-27 12:58:00'::timestamp) - extract(epoch from '2026-06-27 12:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138422 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123385)'))) / (select extract(epoch from '2026-06-27 12:58:00'::timestamp) - extract(epoch from '2026-06-27 12:57: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123383)', '2026-06-27 12:58:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:58:07'::timestamp) - extract(epoch from '2026-06-27 12:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123385)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:58:07'::timestamp) - extract(epoch from '2026-06-27 12:58: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'), 46645, 'SRID=4674;POINT (-39.13843 -3.123387)', '2026-06-27 12:58:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123387)'))) / (select extract(epoch from '2026-06-27 12:58:17'::timestamp) - extract(epoch from '2026-06-27 12:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123387)'))) / (select extract(epoch from '2026-06-27 12:58:17'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.12338)', '2026-06-27 12:58:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.12338)'))) / (select extract(epoch from '2026-06-27 12:58:25'::timestamp) - extract(epoch from '2026-06-27 12:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.12338)'))) / (select extract(epoch from '2026-06-27 12:58:25'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.123383)', '2026-06-27 12:58:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:58:38'::timestamp) - extract(epoch from '2026-06-27 12:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.12338)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123383)'))) / (select extract(epoch from '2026-06-27 12:58:38'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123388)', '2026-06-27 12:59:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123388)'))) / (select extract(epoch from '2026-06-27 12:59:01'::timestamp) - extract(epoch from '2026-06-27 12:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123388)'))) / (select extract(epoch from '2026-06-27 12:59:01'::timestamp) - extract(epoch from '2026-06-27 12: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123382)', '2026-06-27 12:59:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123382)'))) / (select extract(epoch from '2026-06-27 12:59:11'::timestamp) - extract(epoch from '2026-06-27 12:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123382)'))) / (select extract(epoch from '2026-06-27 12:59:11'::timestamp) - extract(epoch from '2026-06-27 12:59: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'), 46645, 'SRID=4674;POINT (-39.138428 -3.123378)', '2026-06-27 12:59:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123378)'))) / (select extract(epoch from '2026-06-27 12:59:30'::timestamp) - extract(epoch from '2026-06-27 12:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123378)'))) / (select extract(epoch from '2026-06-27 12:59:30'::timestamp) - extract(epoch from '2026-06-27 12:59: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123384)', '2026-06-27 12:59:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123384)'))) / (select extract(epoch from '2026-06-27 12:59:43'::timestamp) - extract(epoch from '2026-06-27 12:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123378)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123384)'))) / (select extract(epoch from '2026-06-27 12:59:43'::timestamp) - extract(epoch from '2026-06-27 12:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138429 -3.123382)', '2026-06-27 12:59:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123382)'))) / (select extract(epoch from '2026-06-27 12:59:52'::timestamp) - extract(epoch from '2026-06-27 12:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123384)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123382)'))) / (select extract(epoch from '2026-06-27 12:59:52'::timestamp) - extract(epoch from '2026-06-27 12:59:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138428 -3.123386)', '2026-06-27 13:00:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123386)'))) / (select extract(epoch from '2026-06-27 13:00:04'::timestamp) - extract(epoch from '2026-06-27 12:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123386)'))) / (select extract(epoch from '2026-06-27 13:00:04'::timestamp) - extract(epoch from '2026-06-27 12:59: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'), 46645, 'SRID=4674;POINT (-39.138432 -3.123386)', '2026-06-27 13:00:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123386)'))) / (select extract(epoch from '2026-06-27 13:00:11'::timestamp) - extract(epoch from '2026-06-27 13:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123386)'))) / (select extract(epoch from '2026-06-27 13:00:11'::timestamp) - extract(epoch from '2026-06-27 13:00: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123382)', '2026-06-27 13:00:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123382)'))) / (select extract(epoch from '2026-06-27 13:00:18'::timestamp) - extract(epoch from '2026-06-27 13:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123382)'))) / (select extract(epoch from '2026-06-27 13:00:18'::timestamp) - extract(epoch from '2026-06-27 13:00: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.123391)', '2026-06-27 13:00:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123391)'))) / (select extract(epoch from '2026-06-27 13:00:30'::timestamp) - extract(epoch from '2026-06-27 13:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123391)'))) / (select extract(epoch from '2026-06-27 13:00:30'::timestamp) - extract(epoch from '2026-06-27 13:00: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123392)', '2026-06-27 13:00:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123391)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123392)'))) / (select extract(epoch from '2026-06-27 13:00:42'::timestamp) - extract(epoch from '2026-06-27 13:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123391)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123392)'))) / (select extract(epoch from '2026-06-27 13:00:42'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123396)', '2026-06-27 13:00:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123396)'))) / (select extract(epoch from '2026-06-27 13:00:52'::timestamp) - extract(epoch from '2026-06-27 13:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123396)'))) / (select extract(epoch from '2026-06-27 13:00:52'::timestamp) - extract(epoch from '2026-06-27 13:00: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'), 46645, 'SRID=4674;POINT (-39.138435 -3.123398)', '2026-06-27 13:01:00', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123396)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123398)'))) / (select extract(epoch from '2026-06-27 13:01:00'::timestamp) - extract(epoch from '2026-06-27 13:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123396)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123398)'))) / (select extract(epoch from '2026-06-27 13:01:00'::timestamp) - extract(epoch from '2026-06-27 13:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138427 -3.123394)', '2026-06-27 13:01:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123394)'))) / (select extract(epoch from '2026-06-27 13:01:07'::timestamp) - extract(epoch from '2026-06-27 13:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123398)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123394)'))) / (select extract(epoch from '2026-06-27 13:01:07'::timestamp) - extract(epoch from '2026-06-27 13:01: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.123387)', '2026-06-27 13:01:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123387)'))) / (select extract(epoch from '2026-06-27 13:01:24'::timestamp) - extract(epoch from '2026-06-27 13:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123387)'))) / (select extract(epoch from '2026-06-27 13:01:24'::timestamp) - extract(epoch from '2026-06-27 13:01:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138425 -3.123387)', '2026-06-27 13:01:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123387)'))) / (select extract(epoch from '2026-06-27 13:01:31'::timestamp) - extract(epoch from '2026-06-27 13:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123387)'))) / (select extract(epoch from '2026-06-27 13:01:31'::timestamp) - extract(epoch from '2026-06-27 13:01: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'), 46645, 'SRID=4674;POINT (-39.138435 -3.123388)', '2026-06-27 13:01:38', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123388)'))) / (select extract(epoch from '2026-06-27 13:01:38'::timestamp) - extract(epoch from '2026-06-27 13:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123387)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123388)'))) / (select extract(epoch from '2026-06-27 13:01:38'::timestamp) - extract(epoch from '2026-06-27 13:01:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138428 -3.123388)', '2026-06-27 13:01:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123388)'))) / (select extract(epoch from '2026-06-27 13:01:47'::timestamp) - extract(epoch from '2026-06-27 13:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123388)'))) / (select extract(epoch from '2026-06-27 13:01:47'::timestamp) - extract(epoch from '2026-06-27 13:01: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'), 46645, 'SRID=4674;POINT (-39.138424 -3.123393)', '2026-06-27 13:01:57', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123393)'))) / (select extract(epoch from '2026-06-27 13:01:57'::timestamp) - extract(epoch from '2026-06-27 13:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123393)'))) / (select extract(epoch from '2026-06-27 13:01:57'::timestamp) - extract(epoch from '2026-06-27 13:01: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123393)', '2026-06-27 13:02:01', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123393)'))) / (select extract(epoch from '2026-06-27 13:02:01'::timestamp) - extract(epoch from '2026-06-27 13:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138424 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123393)'))) / (select extract(epoch from '2026-06-27 13:02:01'::timestamp) - extract(epoch from '2026-06-27 13:01: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'), 46645, 'SRID=4674;POINT (-39.13843 -3.123395)', '2026-06-27 13:02:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123395)'))) / (select extract(epoch from '2026-06-27 13:02:13'::timestamp) - extract(epoch from '2026-06-27 13:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123393)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123395)'))) / (select extract(epoch from '2026-06-27 13:02:13'::timestamp) - extract(epoch from '2026-06-27 13:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138433 -3.123396)', '2026-06-27 13:02:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123396)'))) / (select extract(epoch from '2026-06-27 13:02:23'::timestamp) - extract(epoch from '2026-06-27 13:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123395)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123396)'))) / (select extract(epoch from '2026-06-27 13:02:23'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123396)', '2026-06-27 13:02:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123396)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123396)'))) / (select extract(epoch from '2026-06-27 13:02:30'::timestamp) - extract(epoch from '2026-06-27 13:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123396)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123396)'))) / (select extract(epoch from '2026-06-27 13:02:30'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123403)', '2026-06-27 13:02:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123396)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123403)'))) / (select extract(epoch from '2026-06-27 13:02:36'::timestamp) - extract(epoch from '2026-06-27 13:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123396)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123403)'))) / (select extract(epoch from '2026-06-27 13:02:36'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138428 -3.123411)', '2026-06-27 13:02:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123403)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123411)'))) / (select extract(epoch from '2026-06-27 13:02:45'::timestamp) - extract(epoch from '2026-06-27 13:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123403)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123411)'))) / (select extract(epoch from '2026-06-27 13:02:45'::timestamp) - extract(epoch from '2026-06-27 13:02: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'), 46645, 'SRID=4674;POINT (-39.138427 -3.123407)', '2026-06-27 13:02:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123407)'))) / (select extract(epoch from '2026-06-27 13:02:55'::timestamp) - extract(epoch from '2026-06-27 13:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123407)'))) / (select extract(epoch from '2026-06-27 13:02:55'::timestamp) - extract(epoch from '2026-06-27 13: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'), 46645, 'SRID=4674;POINT (-39.138427 -3.123407)', '2026-06-27 13:03:02', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123407)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123407)'))) / (select extract(epoch from '2026-06-27 13:03:02'::timestamp) - extract(epoch from '2026-06-27 13:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123407)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123407)'))) / (select extract(epoch from '2026-06-27 13:03:02'::timestamp) - extract(epoch from '2026-06-27 13:02: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.123413)', '2026-06-27 13:03:07', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123407)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123413)'))) / (select extract(epoch from '2026-06-27 13:03:07'::timestamp) - extract(epoch from '2026-06-27 13:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123407)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123413)'))) / (select extract(epoch from '2026-06-27 13:03:07'::timestamp) - extract(epoch from '2026-06-27 13:03:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.13843 -3.123415)', '2026-06-27 13:03:13', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123413)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123415)'))) / (select extract(epoch from '2026-06-27 13:03:13'::timestamp) - extract(epoch from '2026-06-27 13:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123413)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123415)'))) / (select extract(epoch from '2026-06-27 13:03:13'::timestamp) - extract(epoch from '2026-06-27 13:03:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138431 -3.123412)', '2026-06-27 13:03:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123415)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123412)'))) / (select extract(epoch from '2026-06-27 13:03:21'::timestamp) - extract(epoch from '2026-06-27 13:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123415)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123412)'))) / (select extract(epoch from '2026-06-27 13:03:21'::timestamp) - extract(epoch from '2026-06-27 13:03: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123408)', '2026-06-27 13:03:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123412)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123408)'))) / (select extract(epoch from '2026-06-27 13:03:34'::timestamp) - extract(epoch from '2026-06-27 13:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123412)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123408)'))) / (select extract(epoch from '2026-06-27 13:03:34'::timestamp) - extract(epoch from '2026-06-27 13:03: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'), 46645, 'SRID=4674;POINT (-39.138437 -3.123404)', '2026-06-27 13:03:42', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123404)'))) / (select extract(epoch from '2026-06-27 13:03:42'::timestamp) - extract(epoch from '2026-06-27 13:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123404)'))) / (select extract(epoch from '2026-06-27 13:03:42'::timestamp) - extract(epoch from '2026-06-27 13:03: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123406)', '2026-06-27 13:03:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123404)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123406)'))) / (select extract(epoch from '2026-06-27 13:03:49'::timestamp) - extract(epoch from '2026-06-27 13:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123404)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123406)'))) / (select extract(epoch from '2026-06-27 13:03:49'::timestamp) - extract(epoch from '2026-06-27 13:03: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'), 46645, 'SRID=4674;POINT (-39.138434 -3.123411)', '2026-06-27 13:03:55', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123406)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123411)'))) / (select extract(epoch from '2026-06-27 13:03:55'::timestamp) - extract(epoch from '2026-06-27 13:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123406)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123411)'))) / (select extract(epoch from '2026-06-27 13:03:55'::timestamp) - extract(epoch from '2026-06-27 13:03: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'), 46645, 'SRID=4674;POINT (-39.138435 -3.123409)', '2026-06-27 13:04:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123409)'))) / (select extract(epoch from '2026-06-27 13:04:03'::timestamp) - extract(epoch from '2026-06-27 13:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123409)'))) / (select extract(epoch from '2026-06-27 13:04:03'::timestamp) - extract(epoch from '2026-06-27 13:03:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138434 -3.123411)', '2026-06-27 13:04:14', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123409)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123411)'))) / (select extract(epoch from '2026-06-27 13:04:14'::timestamp) - extract(epoch from '2026-06-27 13:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123409)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123411)'))) / (select extract(epoch from '2026-06-27 13:04:14'::timestamp) - extract(epoch from '2026-06-27 13:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138431 -3.123401)', '2026-06-27 13:04:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123401)'))) / (select extract(epoch from '2026-06-27 13:04:29'::timestamp) - extract(epoch from '2026-06-27 13:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123401)'))) / (select extract(epoch from '2026-06-27 13:04:29'::timestamp) - extract(epoch from '2026-06-27 13:04: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'), 46645, 'SRID=4674;POINT (-39.138434 -3.123401)', '2026-06-27 13:04:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123401)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123401)'))) / (select extract(epoch from '2026-06-27 13:04:40'::timestamp) - extract(epoch from '2026-06-27 13:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123401)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123401)'))) / (select extract(epoch from '2026-06-27 13:04:40'::timestamp) - extract(epoch from '2026-06-27 13:04:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138428 -3.123399)', '2026-06-27 13:04:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123401)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123399)'))) / (select extract(epoch from '2026-06-27 13:04:50'::timestamp) - extract(epoch from '2026-06-27 13:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123401)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123399)'))) / (select extract(epoch from '2026-06-27 13:04:50'::timestamp) - extract(epoch from '2026-06-27 13:04: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'), 46645, 'SRID=4674;POINT (-39.138444 -3.123397)', '2026-06-27 13:04:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123399)'), GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123397)'))) / (select extract(epoch from '2026-06-27 13:04:56'::timestamp) - extract(epoch from '2026-06-27 13:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123399)'), GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123397)'))) / (select extract(epoch from '2026-06-27 13:04:56'::timestamp) - extract(epoch from '2026-06-27 13:04:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138426 -3.123403)', '2026-06-27 13:05:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123403)'))) / (select extract(epoch from '2026-06-27 13:05:04'::timestamp) - extract(epoch from '2026-06-27 13:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138444 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123403)'))) / (select extract(epoch from '2026-06-27 13:05:04'::timestamp) - extract(epoch from '2026-06-27 13:04: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'), 46645, 'SRID=4674;POINT (-39.138434 -3.123411)', '2026-06-27 13:05:12', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123403)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123411)'))) / (select extract(epoch from '2026-06-27 13:05:12'::timestamp) - extract(epoch from '2026-06-27 13:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138426 -3.123403)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123411)'))) / (select extract(epoch from '2026-06-27 13:05:12'::timestamp) - extract(epoch from '2026-06-27 13:05: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123408)', '2026-06-27 13:05:19', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123408)'))) / (select extract(epoch from '2026-06-27 13:05:19'::timestamp) - extract(epoch from '2026-06-27 13:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123408)'))) / (select extract(epoch from '2026-06-27 13:05:19'::timestamp) - extract(epoch from '2026-06-27 13:05:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138433 -3.123406)', '2026-06-27 13:05:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123406)'))) / (select extract(epoch from '2026-06-27 13:05:28'::timestamp) - extract(epoch from '2026-06-27 13:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123406)'))) / (select extract(epoch from '2026-06-27 13:05:28'::timestamp) - extract(epoch from '2026-06-27 13:05: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.123405)', '2026-06-27 13:05:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123406)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123405)'))) / (select extract(epoch from '2026-06-27 13:05:36'::timestamp) - extract(epoch from '2026-06-27 13:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123406)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123405)'))) / (select extract(epoch from '2026-06-27 13:05:36'::timestamp) - extract(epoch from '2026-06-27 13:05:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138427 -3.123406)', '2026-06-27 13:05:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123405)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123406)'))) / (select extract(epoch from '2026-06-27 13:05:46'::timestamp) - extract(epoch from '2026-06-27 13:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123405)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123406)'))) / (select extract(epoch from '2026-06-27 13:05:46'::timestamp) - extract(epoch from '2026-06-27 13:05:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138434 -3.123408)', '2026-06-27 13:05:54', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123406)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123408)'))) / (select extract(epoch from '2026-06-27 13:05:54'::timestamp) - extract(epoch from '2026-06-27 13:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123406)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123408)'))) / (select extract(epoch from '2026-06-27 13:05:54'::timestamp) - extract(epoch from '2026-06-27 13:05: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'), 46645, 'SRID=4674;POINT (-39.138428 -3.123409)', '2026-06-27 13:06:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123409)'))) / (select extract(epoch from '2026-06-27 13:06:06'::timestamp) - extract(epoch from '2026-06-27 13:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123409)'))) / (select extract(epoch from '2026-06-27 13:06:06'::timestamp) - extract(epoch from '2026-06-27 13:05: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'), 46645, 'SRID=4674;POINT (-39.138434 -3.123407)', '2026-06-27 13:06:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123409)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123407)'))) / (select extract(epoch from '2026-06-27 13:06:14'::timestamp) - extract(epoch from '2026-06-27 13:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138428 -3.123409)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123407)'))) / (select extract(epoch from '2026-06-27 13:06:14'::timestamp) - extract(epoch from '2026-06-27 13:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138433 -3.123411)', '2026-06-27 13:06:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123407)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123411)'))) / (select extract(epoch from '2026-06-27 13:06:22'::timestamp) - extract(epoch from '2026-06-27 13:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123407)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123411)'))) / (select extract(epoch from '2026-06-27 13:06:22'::timestamp) - extract(epoch from '2026-06-27 13:06: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123412)', '2026-06-27 13:06:28', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123412)'))) / (select extract(epoch from '2026-06-27 13:06:28'::timestamp) - extract(epoch from '2026-06-27 13:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123412)'))) / (select extract(epoch from '2026-06-27 13:06:28'::timestamp) - extract(epoch from '2026-06-27 13:06: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'), 46645, 'SRID=4674;POINT (-39.13843 -3.123411)', '2026-06-27 13:06:35', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123412)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123411)'))) / (select extract(epoch from '2026-06-27 13:06:35'::timestamp) - extract(epoch from '2026-06-27 13:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123412)'), GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123411)'))) / (select extract(epoch from '2026-06-27 13:06:35'::timestamp) - extract(epoch from '2026-06-27 13:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138436 -3.123409)', '2026-06-27 13:06:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123409)'))) / (select extract(epoch from '2026-06-27 13:06:44'::timestamp) - extract(epoch from '2026-06-27 13:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.13843 -3.123411)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123409)'))) / (select extract(epoch from '2026-06-27 13:06:44'::timestamp) - extract(epoch from '2026-06-27 13:06: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.123407)', '2026-06-27 13:06:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123409)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123407)'))) / (select extract(epoch from '2026-06-27 13:06:54'::timestamp) - extract(epoch from '2026-06-27 13:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123409)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123407)'))) / (select extract(epoch from '2026-06-27 13:06:54'::timestamp) - extract(epoch from '2026-06-27 13:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138436 -3.123406)', '2026-06-27 13:07:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123407)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123406)'))) / (select extract(epoch from '2026-06-27 13:07:01'::timestamp) - extract(epoch from '2026-06-27 13:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123407)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123406)'))) / (select extract(epoch from '2026-06-27 13:07:01'::timestamp) - extract(epoch from '2026-06-27 13:06: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'), 46645, 'SRID=4674;POINT (-39.138436 -3.123402)', '2026-06-27 13:07:08', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123406)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123402)'))) / (select extract(epoch from '2026-06-27 13:07:08'::timestamp) - extract(epoch from '2026-06-27 13:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123406)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123402)'))) / (select extract(epoch from '2026-06-27 13:07:08'::timestamp) - extract(epoch from '2026-06-27 13:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138431 -3.123402)', '2026-06-27 13:07:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123402)'))) / (select extract(epoch from '2026-06-27 13:07:17'::timestamp) - extract(epoch from '2026-06-27 13:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123402)'))) / (select extract(epoch from '2026-06-27 13:07:17'::timestamp) - extract(epoch from '2026-06-27 13:07: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'), 46645, 'SRID=4674;POINT (-39.138432 -3.123403)', '2026-06-27 13:07:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123403)'))) / (select extract(epoch from '2026-06-27 13:07:27'::timestamp) - extract(epoch from '2026-06-27 13:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123402)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123403)'))) / (select extract(epoch from '2026-06-27 13:07:27'::timestamp) - extract(epoch from '2026-06-27 13:07: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'), 46645, 'SRID=4674;POINT (-39.138437 -3.123409)', '2026-06-27 13:07:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123403)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123409)'))) / (select extract(epoch from '2026-06-27 13:07:42'::timestamp) - extract(epoch from '2026-06-27 13:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123403)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123409)'))) / (select extract(epoch from '2026-06-27 13:07:42'::timestamp) - extract(epoch from '2026-06-27 13:07: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'), 46645, 'SRID=4674;POINT (-39.138438 -3.123403)', '2026-06-27 13:07:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123409)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123403)'))) / (select extract(epoch from '2026-06-27 13:07:55'::timestamp) - extract(epoch from '2026-06-27 13:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123409)'), GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123403)'))) / (select extract(epoch from '2026-06-27 13:07:55'::timestamp) - extract(epoch from '2026-06-27 13:07:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138432 -3.123406)', '2026-06-27 13:08:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123403)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123406)'))) / (select extract(epoch from '2026-06-27 13:08:05'::timestamp) - extract(epoch from '2026-06-27 13:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138438 -3.123403)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123406)'))) / (select extract(epoch from '2026-06-27 13:08:05'::timestamp) - extract(epoch from '2026-06-27 13:07: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'), 46645, 'SRID=4674;POINT (-39.138436 -3.123408)', '2026-06-27 13:08:12', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123406)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123408)'))) / (select extract(epoch from '2026-06-27 13:08:12'::timestamp) - extract(epoch from '2026-06-27 13:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123406)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123408)'))) / (select extract(epoch from '2026-06-27 13:08:12'::timestamp) - extract(epoch from '2026-06-27 13:08: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'), 46645, 'SRID=4674;POINT (-39.138437 -3.123406)', '2026-06-27 13:08:23', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123406)'))) / (select extract(epoch from '2026-06-27 13:08:23'::timestamp) - extract(epoch from '2026-06-27 13:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123408)'), GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123406)'))) / (select extract(epoch from '2026-06-27 13:08:23'::timestamp) - extract(epoch from '2026-06-27 13:08:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138439 -3.123406)', '2026-06-27 13:08:30', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123406)'), GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123406)'))) / (select extract(epoch from '2026-06-27 13:08:30'::timestamp) - extract(epoch from '2026-06-27 13:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138437 -3.123406)'), GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123406)'))) / (select extract(epoch from '2026-06-27 13:08:30'::timestamp) - extract(epoch from '2026-06-27 13:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138435 -3.123401)', '2026-06-27 13:08:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123406)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123401)'))) / (select extract(epoch from '2026-06-27 13:08:36'::timestamp) - extract(epoch from '2026-06-27 13:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123406)'), GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123401)'))) / (select extract(epoch from '2026-06-27 13:08:36'::timestamp) - extract(epoch from '2026-06-27 13:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138436 -3.123397)', '2026-06-27 13:08:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123401)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123397)'))) / (select extract(epoch from '2026-06-27 13:08:48'::timestamp) - extract(epoch from '2026-06-27 13:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138435 -3.123401)'), GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123397)'))) / (select extract(epoch from '2026-06-27 13:08:48'::timestamp) - extract(epoch from '2026-06-27 13:08: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'), 46645, 'SRID=4674;POINT (-39.138441 -3.123394)', '2026-06-27 13:08:55', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.123394)'))) / (select extract(epoch from '2026-06-27 13:08:55'::timestamp) - extract(epoch from '2026-06-27 13:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138436 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.123394)'))) / (select extract(epoch from '2026-06-27 13:08:55'::timestamp) - extract(epoch from '2026-06-27 13:08: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'), 46645, 'SRID=4674;POINT (-39.138439 -3.123392)', '2026-06-27 13:09:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123392)'))) / (select extract(epoch from '2026-06-27 13:09:02'::timestamp) - extract(epoch from '2026-06-27 13:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138441 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123392)'))) / (select extract(epoch from '2026-06-27 13:09:02'::timestamp) - extract(epoch from '2026-06-27 13:08: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'), 46645, 'SRID=4674;POINT (-39.138431 -3.123401)', '2026-06-27 13:09:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123401)'))) / (select extract(epoch from '2026-06-27 13:09:15'::timestamp) - extract(epoch from '2026-06-27 13:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138439 -3.123392)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123401)'))) / (select extract(epoch from '2026-06-27 13:09:15'::timestamp) - extract(epoch from '2026-06-27 13:09:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138431 -3.123404)', '2026-06-27 13:09:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123401)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123404)'))) / (select extract(epoch from '2026-06-27 13:09:23'::timestamp) - extract(epoch from '2026-06-27 13:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123401)'), GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123404)'))) / (select extract(epoch from '2026-06-27 13:09:23'::timestamp) - extract(epoch from '2026-06-27 13:09: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'), 46645, 'SRID=4674;POINT (-39.138434 -3.123401)', '2026-06-27 13:09:32', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123404)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123401)'))) / (select extract(epoch from '2026-06-27 13:09:32'::timestamp) - extract(epoch from '2026-06-27 13:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138431 -3.123404)'), GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123401)'))) / (select extract(epoch from '2026-06-27 13:09:32'::timestamp) - extract(epoch from '2026-06-27 13:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138432 -3.123397)', '2026-06-27 13:09:38', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123401)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123397)'))) / (select extract(epoch from '2026-06-27 13:09:38'::timestamp) - extract(epoch from '2026-06-27 13:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138434 -3.123401)'), GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123397)'))) / (select extract(epoch from '2026-06-27 13:09:38'::timestamp) - extract(epoch from '2026-06-27 13:09: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123396)', '2026-06-27 13:09:46', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123396)'))) / (select extract(epoch from '2026-06-27 13:09:46'::timestamp) - extract(epoch from '2026-06-27 13:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138432 -3.123397)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123396)'))) / (select extract(epoch from '2026-06-27 13:09:46'::timestamp) - extract(epoch from '2026-06-27 13:09: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'), 46645, 'SRID=4674;POINT (-39.138429 -3.123394)', '2026-06-27 13:09:57', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123396)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123394)'))) / (select extract(epoch from '2026-06-27 13:09:57'::timestamp) - extract(epoch from '2026-06-27 13:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123396)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123394)'))) / (select extract(epoch from '2026-06-27 13:09:57'::timestamp) - extract(epoch from '2026-06-27 13:09:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138427 -3.123388)', '2026-06-27 13:10:08', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123388)'))) / (select extract(epoch from '2026-06-27 13:10:08'::timestamp) - extract(epoch from '2026-06-27 13:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123394)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123388)'))) / (select extract(epoch from '2026-06-27 13:10:08'::timestamp) - extract(epoch from '2026-06-27 13:09: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'), 46645, 'SRID=4674;POINT (-39.138427 -3.123383)', '2026-06-27 13:10:15', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123383)'))) / (select extract(epoch from '2026-06-27 13:10:15'::timestamp) - extract(epoch from '2026-06-27 13:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123388)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123383)'))) / (select extract(epoch from '2026-06-27 13:10:15'::timestamp) - extract(epoch from '2026-06-27 13:10: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'), 46645, 'SRID=4674;POINT (-39.138433 -3.123382)', '2026-06-27 13:10:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123382)'))) / (select extract(epoch from '2026-06-27 13:10:23'::timestamp) - extract(epoch from '2026-06-27 13:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123382)'))) / (select extract(epoch from '2026-06-27 13:10:23'::timestamp) - extract(epoch from '2026-06-27 13:10:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138429 -3.123382)', '2026-06-27 13:10:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123382)'))) / (select extract(epoch from '2026-06-27 13:10:31'::timestamp) - extract(epoch from '2026-06-27 13:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138433 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123382)'))) / (select extract(epoch from '2026-06-27 13:10:31'::timestamp) - extract(epoch from '2026-06-27 13:10: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123383)', '2026-06-27 13:10:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123383)'))) / (select extract(epoch from '2026-06-27 13:10:37'::timestamp) - extract(epoch from '2026-06-27 13:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138429 -3.123382)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123383)'))) / (select extract(epoch from '2026-06-27 13:10:37'::timestamp) - extract(epoch from '2026-06-27 13:10: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'), 46645, 'SRID=4674;POINT (-39.138423 -3.123381)', '2026-06-27 13:10:45', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123381)'))) / (select extract(epoch from '2026-06-27 13:10:45'::timestamp) - extract(epoch from '2026-06-27 13:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123383)'), GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123381)'))) / (select extract(epoch from '2026-06-27 13:10:45'::timestamp) - extract(epoch from '2026-06-27 13:10: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'), 46645, 'SRID=4674;POINT (-39.138425 -3.123386)', '2026-06-27 13:10:54', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123386)'))) / (select extract(epoch from '2026-06-27 13:10:54'::timestamp) - extract(epoch from '2026-06-27 13:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138423 -3.123381)'), GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123386)'))) / (select extract(epoch from '2026-06-27 13:10:54'::timestamp) - extract(epoch from '2026-06-27 13:10:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46645, 'SRID=4674;POINT (-39.138427 -3.123389)', '2026-06-27 13:11:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123389)'))) / (select extract(epoch from '2026-06-27 13:11:05'::timestamp) - extract(epoch from '2026-06-27 13:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.138425 -3.123386)'), GeomFromEWKT('SRID=4674;POINT (-39.138427 -3.123389)'))) / (select extract(epoch from '2026-06-27 13:11:05'::timestamp) - extract(epoch from '2026-06-27 13:10:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
