 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.426555 -3.366551)', '2026-07-18 13:34:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426466 -3.366435)'), GeomFromEWKT('SRID=4674;POINT (-38.426555 -3.366551)'))) / (select extract(epoch from '2026-07-18 13:34:38'::timestamp) - extract(epoch from '2026-07-18 13:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426466 -3.366435)'), GeomFromEWKT('SRID=4674;POINT (-38.426555 -3.366551)'))) / (select extract(epoch from '2026-07-18 13:34:38'::timestamp) - extract(epoch from '2026-07-18 13:34: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'), 47391, 'SRID=4674;POINT (-38.426608 -3.366613)', '2026-07-18 13:34:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426555 -3.366551)'), GeomFromEWKT('SRID=4674;POINT (-38.426608 -3.366613)'))) / (select extract(epoch from '2026-07-18 13:34:43'::timestamp) - extract(epoch from '2026-07-18 13:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426555 -3.366551)'), GeomFromEWKT('SRID=4674;POINT (-38.426608 -3.366613)'))) / (select extract(epoch from '2026-07-18 13:34:43'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.42664 -3.366639)', '2026-07-18 13:34:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426608 -3.366613)'), GeomFromEWKT('SRID=4674;POINT (-38.42664 -3.366639)'))) / (select extract(epoch from '2026-07-18 13:34:45'::timestamp) - extract(epoch from '2026-07-18 13:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426608 -3.366613)'), GeomFromEWKT('SRID=4674;POINT (-38.42664 -3.366639)'))) / (select extract(epoch from '2026-07-18 13:34:45'::timestamp) - extract(epoch from '2026-07-18 13:34: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'), 47391, 'SRID=4674;POINT (-38.426653 -3.366661)', '2026-07-18 13:34:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42664 -3.366639)'), GeomFromEWKT('SRID=4674;POINT (-38.426653 -3.366661)'))) / (select extract(epoch from '2026-07-18 13:34:47'::timestamp) - extract(epoch from '2026-07-18 13:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42664 -3.366639)'), GeomFromEWKT('SRID=4674;POINT (-38.426653 -3.366661)'))) / (select extract(epoch from '2026-07-18 13:34:47'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.426719 -3.366709)', '2026-07-18 13:34:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426653 -3.366661)'), GeomFromEWKT('SRID=4674;POINT (-38.426719 -3.366709)'))) / (select extract(epoch from '2026-07-18 13:34:51'::timestamp) - extract(epoch from '2026-07-18 13:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426653 -3.366661)'), GeomFromEWKT('SRID=4674;POINT (-38.426719 -3.366709)'))) / (select extract(epoch from '2026-07-18 13:34:51'::timestamp) - extract(epoch from '2026-07-18 13:34:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.426786 -3.366783)', '2026-07-18 13:34:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426719 -3.366709)'), GeomFromEWKT('SRID=4674;POINT (-38.426786 -3.366783)'))) / (select extract(epoch from '2026-07-18 13:34:57'::timestamp) - extract(epoch from '2026-07-18 13:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426719 -3.366709)'), GeomFromEWKT('SRID=4674;POINT (-38.426786 -3.366783)'))) / (select extract(epoch from '2026-07-18 13:34:57'::timestamp) - extract(epoch from '2026-07-18 13:34:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.426816 -3.366826)', '2026-07-18 13:35:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426786 -3.366783)'), GeomFromEWKT('SRID=4674;POINT (-38.426816 -3.366826)'))) / (select extract(epoch from '2026-07-18 13:35:00'::timestamp) - extract(epoch from '2026-07-18 13:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426786 -3.366783)'), GeomFromEWKT('SRID=4674;POINT (-38.426816 -3.366826)'))) / (select extract(epoch from '2026-07-18 13:35:00'::timestamp) - extract(epoch from '2026-07-18 13:34: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'), 47391, 'SRID=4674;POINT (-38.426843 -3.366848)', '2026-07-18 13:35:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426816 -3.366826)'), GeomFromEWKT('SRID=4674;POINT (-38.426843 -3.366848)'))) / (select extract(epoch from '2026-07-18 13:35:02'::timestamp) - extract(epoch from '2026-07-18 13:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426816 -3.366826)'), GeomFromEWKT('SRID=4674;POINT (-38.426843 -3.366848)'))) / (select extract(epoch from '2026-07-18 13:35:02'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.426935 -3.36695)', '2026-07-18 13:35:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426843 -3.366848)'), GeomFromEWKT('SRID=4674;POINT (-38.426935 -3.36695)'))) / (select extract(epoch from '2026-07-18 13:35:09'::timestamp) - extract(epoch from '2026-07-18 13:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426843 -3.366848)'), GeomFromEWKT('SRID=4674;POINT (-38.426935 -3.36695)'))) / (select extract(epoch from '2026-07-18 13:35:09'::timestamp) - extract(epoch from '2026-07-18 13:35:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.42702 -3.367059)', '2026-07-18 13:35:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426935 -3.36695)'), GeomFromEWKT('SRID=4674;POINT (-38.42702 -3.367059)'))) / (select extract(epoch from '2026-07-18 13:35:16'::timestamp) - extract(epoch from '2026-07-18 13:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426935 -3.36695)'), GeomFromEWKT('SRID=4674;POINT (-38.42702 -3.367059)'))) / (select extract(epoch from '2026-07-18 13:35:16'::timestamp) - extract(epoch from '2026-07-18 13:35:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.42708 -3.36713)', '2026-07-18 13:35:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42702 -3.367059)'), GeomFromEWKT('SRID=4674;POINT (-38.42708 -3.36713)'))) / (select extract(epoch from '2026-07-18 13:35:21'::timestamp) - extract(epoch from '2026-07-18 13:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42702 -3.367059)'), GeomFromEWKT('SRID=4674;POINT (-38.42708 -3.36713)'))) / (select extract(epoch from '2026-07-18 13:35:21'::timestamp) - extract(epoch from '2026-07-18 13:35:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.427093 -3.367148)', '2026-07-18 13:35:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42708 -3.36713)'), GeomFromEWKT('SRID=4674;POINT (-38.427093 -3.367148)'))) / (select extract(epoch from '2026-07-18 13:35:22'::timestamp) - extract(epoch from '2026-07-18 13:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42708 -3.36713)'), GeomFromEWKT('SRID=4674;POINT (-38.427093 -3.367148)'))) / (select extract(epoch from '2026-07-18 13:35:22'::timestamp) - extract(epoch from '2026-07-18 13:35: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'), 47391, 'SRID=4674;POINT (-38.427116 -3.367193)', '2026-07-18 13:35:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427093 -3.367148)'), GeomFromEWKT('SRID=4674;POINT (-38.427116 -3.367193)'))) / (select extract(epoch from '2026-07-18 13:35:25'::timestamp) - extract(epoch from '2026-07-18 13:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427093 -3.367148)'), GeomFromEWKT('SRID=4674;POINT (-38.427116 -3.367193)'))) / (select extract(epoch from '2026-07-18 13:35:25'::timestamp) - extract(epoch from '2026-07-18 13:35:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.427179 -3.367276)', '2026-07-18 13:35:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427116 -3.367193)'), GeomFromEWKT('SRID=4674;POINT (-38.427179 -3.367276)'))) / (select extract(epoch from '2026-07-18 13:35:31'::timestamp) - extract(epoch from '2026-07-18 13:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427116 -3.367193)'), GeomFromEWKT('SRID=4674;POINT (-38.427179 -3.367276)'))) / (select extract(epoch from '2026-07-18 13:35:31'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.4272 -3.367304)', '2026-07-18 13:35:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427179 -3.367276)'), GeomFromEWKT('SRID=4674;POINT (-38.4272 -3.367304)'))) / (select extract(epoch from '2026-07-18 13:35:33'::timestamp) - extract(epoch from '2026-07-18 13:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427179 -3.367276)'), GeomFromEWKT('SRID=4674;POINT (-38.4272 -3.367304)'))) / (select extract(epoch from '2026-07-18 13:35:33'::timestamp) - extract(epoch from '2026-07-18 13:35: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'), 47391, 'SRID=4674;POINT (-38.427247 -3.367348)', '2026-07-18 13:35:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4272 -3.367304)'), GeomFromEWKT('SRID=4674;POINT (-38.427247 -3.367348)'))) / (select extract(epoch from '2026-07-18 13:35:36'::timestamp) - extract(epoch from '2026-07-18 13:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4272 -3.367304)'), GeomFromEWKT('SRID=4674;POINT (-38.427247 -3.367348)'))) / (select extract(epoch from '2026-07-18 13:35:36'::timestamp) - extract(epoch from '2026-07-18 13:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.427302 -3.367418)', '2026-07-18 13:35:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427247 -3.367348)'), GeomFromEWKT('SRID=4674;POINT (-38.427302 -3.367418)'))) / (select extract(epoch from '2026-07-18 13:35:41'::timestamp) - extract(epoch from '2026-07-18 13:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427247 -3.367348)'), GeomFromEWKT('SRID=4674;POINT (-38.427302 -3.367418)'))) / (select extract(epoch from '2026-07-18 13:35:41'::timestamp) - extract(epoch from '2026-07-18 13:35: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'), 47391, 'SRID=4674;POINT (-38.427344 -3.367472)', '2026-07-18 13:35:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427302 -3.367418)'), GeomFromEWKT('SRID=4674;POINT (-38.427344 -3.367472)'))) / (select extract(epoch from '2026-07-18 13:35:45'::timestamp) - extract(epoch from '2026-07-18 13:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427302 -3.367418)'), GeomFromEWKT('SRID=4674;POINT (-38.427344 -3.367472)'))) / (select extract(epoch from '2026-07-18 13:35:45'::timestamp) - extract(epoch from '2026-07-18 13:35: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'), 47391, 'SRID=4674;POINT (-38.42736 -3.367481)', '2026-07-18 13:35:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427344 -3.367472)'), GeomFromEWKT('SRID=4674;POINT (-38.42736 -3.367481)'))) / (select extract(epoch from '2026-07-18 13:35:46'::timestamp) - extract(epoch from '2026-07-18 13:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427344 -3.367472)'), GeomFromEWKT('SRID=4674;POINT (-38.42736 -3.367481)'))) / (select extract(epoch from '2026-07-18 13:35:46'::timestamp) - extract(epoch from '2026-07-18 13:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.427416 -3.367558)', '2026-07-18 13:35:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42736 -3.367481)'), GeomFromEWKT('SRID=4674;POINT (-38.427416 -3.367558)'))) / (select extract(epoch from '2026-07-18 13:35:51'::timestamp) - extract(epoch from '2026-07-18 13:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42736 -3.367481)'), GeomFromEWKT('SRID=4674;POINT (-38.427416 -3.367558)'))) / (select extract(epoch from '2026-07-18 13:35:51'::timestamp) - extract(epoch from '2026-07-18 13:35: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'), 47391, 'SRID=4674;POINT (-38.427466 -3.367633)', '2026-07-18 13:35:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427416 -3.367558)'), GeomFromEWKT('SRID=4674;POINT (-38.427466 -3.367633)'))) / (select extract(epoch from '2026-07-18 13:35:56'::timestamp) - extract(epoch from '2026-07-18 13:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427416 -3.367558)'), GeomFromEWKT('SRID=4674;POINT (-38.427466 -3.367633)'))) / (select extract(epoch from '2026-07-18 13:35:56'::timestamp) - extract(epoch from '2026-07-18 13:35:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.427518 -3.367712)', '2026-07-18 13:36:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427466 -3.367633)'), GeomFromEWKT('SRID=4674;POINT (-38.427518 -3.367712)'))) / (select extract(epoch from '2026-07-18 13:36:01'::timestamp) - extract(epoch from '2026-07-18 13:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427466 -3.367633)'), GeomFromEWKT('SRID=4674;POINT (-38.427518 -3.367712)'))) / (select extract(epoch from '2026-07-18 13:36:01'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.42758 -3.367797)', '2026-07-18 13:36:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427518 -3.367712)'), GeomFromEWKT('SRID=4674;POINT (-38.42758 -3.367797)'))) / (select extract(epoch from '2026-07-18 13:36:07'::timestamp) - extract(epoch from '2026-07-18 13:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427518 -3.367712)'), GeomFromEWKT('SRID=4674;POINT (-38.42758 -3.367797)'))) / (select extract(epoch from '2026-07-18 13:36:07'::timestamp) - extract(epoch from '2026-07-18 13:36: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'), 47391, 'SRID=4674;POINT (-38.427633 -3.367847)', '2026-07-18 13:36:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42758 -3.367797)'), GeomFromEWKT('SRID=4674;POINT (-38.427633 -3.367847)'))) / (select extract(epoch from '2026-07-18 13:36:11'::timestamp) - extract(epoch from '2026-07-18 13:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42758 -3.367797)'), GeomFromEWKT('SRID=4674;POINT (-38.427633 -3.367847)'))) / (select extract(epoch from '2026-07-18 13:36:11'::timestamp) - extract(epoch from '2026-07-18 13:36: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'), 47391, 'SRID=4674;POINT (-38.427712 -3.367949)', '2026-07-18 13:36:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427633 -3.367847)'), GeomFromEWKT('SRID=4674;POINT (-38.427712 -3.367949)'))) / (select extract(epoch from '2026-07-18 13:36:18'::timestamp) - extract(epoch from '2026-07-18 13:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427633 -3.367847)'), GeomFromEWKT('SRID=4674;POINT (-38.427712 -3.367949)'))) / (select extract(epoch from '2026-07-18 13:36:18'::timestamp) - extract(epoch from '2026-07-18 13:36: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'), 47391, 'SRID=4674;POINT (-38.427776 -3.368029)', '2026-07-18 13:36:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427712 -3.367949)'), GeomFromEWKT('SRID=4674;POINT (-38.427776 -3.368029)'))) / (select extract(epoch from '2026-07-18 13:36:24'::timestamp) - extract(epoch from '2026-07-18 13:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427712 -3.367949)'), GeomFromEWKT('SRID=4674;POINT (-38.427776 -3.368029)'))) / (select extract(epoch from '2026-07-18 13:36:24'::timestamp) - extract(epoch from '2026-07-18 13:36:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.427832 -3.368105)', '2026-07-18 13:36:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427776 -3.368029)'), GeomFromEWKT('SRID=4674;POINT (-38.427832 -3.368105)'))) / (select extract(epoch from '2026-07-18 13:36:30'::timestamp) - extract(epoch from '2026-07-18 13:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427776 -3.368029)'), GeomFromEWKT('SRID=4674;POINT (-38.427832 -3.368105)'))) / (select extract(epoch from '2026-07-18 13:36:30'::timestamp) - extract(epoch from '2026-07-18 13:36: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'), 47391, 'SRID=4674;POINT (-38.427877 -3.368152)', '2026-07-18 13:36:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427832 -3.368105)'), GeomFromEWKT('SRID=4674;POINT (-38.427877 -3.368152)'))) / (select extract(epoch from '2026-07-18 13:36:33'::timestamp) - extract(epoch from '2026-07-18 13:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427832 -3.368105)'), GeomFromEWKT('SRID=4674;POINT (-38.427877 -3.368152)'))) / (select extract(epoch from '2026-07-18 13:36:33'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.42789 -3.368187)', '2026-07-18 13:36:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427877 -3.368152)'), GeomFromEWKT('SRID=4674;POINT (-38.42789 -3.368187)'))) / (select extract(epoch from '2026-07-18 13:36:35'::timestamp) - extract(epoch from '2026-07-18 13:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427877 -3.368152)'), GeomFromEWKT('SRID=4674;POINT (-38.42789 -3.368187)'))) / (select extract(epoch from '2026-07-18 13:36:35'::timestamp) - extract(epoch from '2026-07-18 13:36: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'), 47391, 'SRID=4674;POINT (-38.427907 -3.368202)', '2026-07-18 13:36:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42789 -3.368187)'), GeomFromEWKT('SRID=4674;POINT (-38.427907 -3.368202)'))) / (select extract(epoch from '2026-07-18 13:36:36'::timestamp) - extract(epoch from '2026-07-18 13:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42789 -3.368187)'), GeomFromEWKT('SRID=4674;POINT (-38.427907 -3.368202)'))) / (select extract(epoch from '2026-07-18 13:36:36'::timestamp) - extract(epoch from '2026-07-18 13:36:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.427948 -3.368224)', '2026-07-18 13:36:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427907 -3.368202)'), GeomFromEWKT('SRID=4674;POINT (-38.427948 -3.368224)'))) / (select extract(epoch from '2026-07-18 13:36:38'::timestamp) - extract(epoch from '2026-07-18 13:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427907 -3.368202)'), GeomFromEWKT('SRID=4674;POINT (-38.427948 -3.368224)'))) / (select extract(epoch from '2026-07-18 13:36:38'::timestamp) - extract(epoch from '2026-07-18 13:36: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'), 47391, 'SRID=4674;POINT (-38.427962 -3.368241)', '2026-07-18 13:36:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427948 -3.368224)'), GeomFromEWKT('SRID=4674;POINT (-38.427962 -3.368241)'))) / (select extract(epoch from '2026-07-18 13:36:39'::timestamp) - extract(epoch from '2026-07-18 13:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427948 -3.368224)'), GeomFromEWKT('SRID=4674;POINT (-38.427962 -3.368241)'))) / (select extract(epoch from '2026-07-18 13:36:39'::timestamp) - extract(epoch from '2026-07-18 13:36: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'), 47391, 'SRID=4674;POINT (-38.427985 -3.368283)', '2026-07-18 13:36:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427962 -3.368241)'), GeomFromEWKT('SRID=4674;POINT (-38.427985 -3.368283)'))) / (select extract(epoch from '2026-07-18 13:36:42'::timestamp) - extract(epoch from '2026-07-18 13:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427962 -3.368241)'), GeomFromEWKT('SRID=4674;POINT (-38.427985 -3.368283)'))) / (select extract(epoch from '2026-07-18 13:36:42'::timestamp) - extract(epoch from '2026-07-18 13:36: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'), 47391, 'SRID=4674;POINT (-38.428039 -3.368352)', '2026-07-18 13:36:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427985 -3.368283)'), GeomFromEWKT('SRID=4674;POINT (-38.428039 -3.368352)'))) / (select extract(epoch from '2026-07-18 13:36:47'::timestamp) - extract(epoch from '2026-07-18 13:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.427985 -3.368283)'), GeomFromEWKT('SRID=4674;POINT (-38.428039 -3.368352)'))) / (select extract(epoch from '2026-07-18 13:36:47'::timestamp) - extract(epoch from '2026-07-18 13:36: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'), 47391, 'SRID=4674;POINT (-38.428084 -3.368422)', '2026-07-18 13:36:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428039 -3.368352)'), GeomFromEWKT('SRID=4674;POINT (-38.428084 -3.368422)'))) / (select extract(epoch from '2026-07-18 13:36:52'::timestamp) - extract(epoch from '2026-07-18 13:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428039 -3.368352)'), GeomFromEWKT('SRID=4674;POINT (-38.428084 -3.368422)'))) / (select extract(epoch from '2026-07-18 13:36:52'::timestamp) - extract(epoch from '2026-07-18 13:36: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'), 47391, 'SRID=4674;POINT (-38.428162 -3.368517)', '2026-07-18 13:36:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428084 -3.368422)'), GeomFromEWKT('SRID=4674;POINT (-38.428162 -3.368517)'))) / (select extract(epoch from '2026-07-18 13:36:58'::timestamp) - extract(epoch from '2026-07-18 13:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428084 -3.368422)'), GeomFromEWKT('SRID=4674;POINT (-38.428162 -3.368517)'))) / (select extract(epoch from '2026-07-18 13:36:58'::timestamp) - extract(epoch from '2026-07-18 13:36:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.428212 -3.368571)', '2026-07-18 13:37:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428162 -3.368517)'), GeomFromEWKT('SRID=4674;POINT (-38.428212 -3.368571)'))) / (select extract(epoch from '2026-07-18 13:37:02'::timestamp) - extract(epoch from '2026-07-18 13:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428162 -3.368517)'), GeomFromEWKT('SRID=4674;POINT (-38.428212 -3.368571)'))) / (select extract(epoch from '2026-07-18 13:37:02'::timestamp) - extract(epoch from '2026-07-18 13:36:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.42827 -3.368653)', '2026-07-18 13:37:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428212 -3.368571)'), GeomFromEWKT('SRID=4674;POINT (-38.42827 -3.368653)'))) / (select extract(epoch from '2026-07-18 13:37:07'::timestamp) - extract(epoch from '2026-07-18 13:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428212 -3.368571)'), GeomFromEWKT('SRID=4674;POINT (-38.42827 -3.368653)'))) / (select extract(epoch from '2026-07-18 13:37:07'::timestamp) - extract(epoch from '2026-07-18 13:37:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.428324 -3.368724)', '2026-07-18 13:37:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42827 -3.368653)'), GeomFromEWKT('SRID=4674;POINT (-38.428324 -3.368724)'))) / (select extract(epoch from '2026-07-18 13:37:12'::timestamp) - extract(epoch from '2026-07-18 13:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42827 -3.368653)'), GeomFromEWKT('SRID=4674;POINT (-38.428324 -3.368724)'))) / (select extract(epoch from '2026-07-18 13:37:12'::timestamp) - extract(epoch from '2026-07-18 13:37: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'), 47391, 'SRID=4674;POINT (-38.428369 -3.368791)', '2026-07-18 13:37:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428324 -3.368724)'), GeomFromEWKT('SRID=4674;POINT (-38.428369 -3.368791)'))) / (select extract(epoch from '2026-07-18 13:37:16'::timestamp) - extract(epoch from '2026-07-18 13:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428324 -3.368724)'), GeomFromEWKT('SRID=4674;POINT (-38.428369 -3.368791)'))) / (select extract(epoch from '2026-07-18 13:37:16'::timestamp) - extract(epoch from '2026-07-18 13:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.428426 -3.368889)', '2026-07-18 13:37:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428369 -3.368791)'), GeomFromEWKT('SRID=4674;POINT (-38.428426 -3.368889)'))) / (select extract(epoch from '2026-07-18 13:37:22'::timestamp) - extract(epoch from '2026-07-18 13:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428369 -3.368791)'), GeomFromEWKT('SRID=4674;POINT (-38.428426 -3.368889)'))) / (select extract(epoch from '2026-07-18 13:37:22'::timestamp) - extract(epoch from '2026-07-18 13:37:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.428479 -3.368983)', '2026-07-18 13:37:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428426 -3.368889)'), GeomFromEWKT('SRID=4674;POINT (-38.428479 -3.368983)'))) / (select extract(epoch from '2026-07-18 13:37:28'::timestamp) - extract(epoch from '2026-07-18 13:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428426 -3.368889)'), GeomFromEWKT('SRID=4674;POINT (-38.428479 -3.368983)'))) / (select extract(epoch from '2026-07-18 13:37:28'::timestamp) - extract(epoch from '2026-07-18 13:37:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.428533 -3.369078)', '2026-07-18 13:37:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428479 -3.368983)'), GeomFromEWKT('SRID=4674;POINT (-38.428533 -3.369078)'))) / (select extract(epoch from '2026-07-18 13:37:34'::timestamp) - extract(epoch from '2026-07-18 13:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428479 -3.368983)'), GeomFromEWKT('SRID=4674;POINT (-38.428533 -3.369078)'))) / (select extract(epoch from '2026-07-18 13:37:34'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.42855 -3.369099)', '2026-07-18 13:37:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428533 -3.369078)'), GeomFromEWKT('SRID=4674;POINT (-38.42855 -3.369099)'))) / (select extract(epoch from '2026-07-18 13:37:36'::timestamp) - extract(epoch from '2026-07-18 13:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428533 -3.369078)'), GeomFromEWKT('SRID=4674;POINT (-38.42855 -3.369099)'))) / (select extract(epoch from '2026-07-18 13:37:36'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.428572 -3.369127)', '2026-07-18 13:37:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42855 -3.369099)'), GeomFromEWKT('SRID=4674;POINT (-38.428572 -3.369127)'))) / (select extract(epoch from '2026-07-18 13:37:38'::timestamp) - extract(epoch from '2026-07-18 13:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42855 -3.369099)'), GeomFromEWKT('SRID=4674;POINT (-38.428572 -3.369127)'))) / (select extract(epoch from '2026-07-18 13:37:38'::timestamp) - extract(epoch from '2026-07-18 13:37: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'), 47391, 'SRID=4674;POINT (-38.428646 -3.369215)', '2026-07-18 13:37:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428572 -3.369127)'), GeomFromEWKT('SRID=4674;POINT (-38.428646 -3.369215)'))) / (select extract(epoch from '2026-07-18 13:37:45'::timestamp) - extract(epoch from '2026-07-18 13:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428572 -3.369127)'), GeomFromEWKT('SRID=4674;POINT (-38.428646 -3.369215)'))) / (select extract(epoch from '2026-07-18 13:37:45'::timestamp) - extract(epoch from '2026-07-18 13:37: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'), 47391, 'SRID=4674;POINT (-38.428684 -3.369248)', '2026-07-18 13:37:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428646 -3.369215)'), GeomFromEWKT('SRID=4674;POINT (-38.428684 -3.369248)'))) / (select extract(epoch from '2026-07-18 13:37:48'::timestamp) - extract(epoch from '2026-07-18 13:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428646 -3.369215)'), GeomFromEWKT('SRID=4674;POINT (-38.428684 -3.369248)'))) / (select extract(epoch from '2026-07-18 13:37:48'::timestamp) - extract(epoch from '2026-07-18 13:37: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'), 47391, 'SRID=4674;POINT (-38.42872 -3.36929)', '2026-07-18 13:37:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428684 -3.369248)'), GeomFromEWKT('SRID=4674;POINT (-38.42872 -3.36929)'))) / (select extract(epoch from '2026-07-18 13:37:51'::timestamp) - extract(epoch from '2026-07-18 13:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428684 -3.369248)'), GeomFromEWKT('SRID=4674;POINT (-38.42872 -3.36929)'))) / (select extract(epoch from '2026-07-18 13:37:51'::timestamp) - extract(epoch from '2026-07-18 13:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.428776 -3.369353)', '2026-07-18 13:37:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42872 -3.36929)'), GeomFromEWKT('SRID=4674;POINT (-38.428776 -3.369353)'))) / (select extract(epoch from '2026-07-18 13:37:56'::timestamp) - extract(epoch from '2026-07-18 13:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42872 -3.36929)'), GeomFromEWKT('SRID=4674;POINT (-38.428776 -3.369353)'))) / (select extract(epoch from '2026-07-18 13:37:56'::timestamp) - extract(epoch from '2026-07-18 13:37: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'), 47391, 'SRID=4674;POINT (-38.428787 -3.369359)', '2026-07-18 13:37:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428776 -3.369353)'), GeomFromEWKT('SRID=4674;POINT (-38.428787 -3.369359)'))) / (select extract(epoch from '2026-07-18 13:37:57'::timestamp) - extract(epoch from '2026-07-18 13:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428776 -3.369353)'), GeomFromEWKT('SRID=4674;POINT (-38.428787 -3.369359)'))) / (select extract(epoch from '2026-07-18 13:37:57'::timestamp) - extract(epoch from '2026-07-18 13:37:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.428833 -3.369387)', '2026-07-18 13:38:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428787 -3.369359)'), GeomFromEWKT('SRID=4674;POINT (-38.428833 -3.369387)'))) / (select extract(epoch from '2026-07-18 13:38:01'::timestamp) - extract(epoch from '2026-07-18 13:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428787 -3.369359)'), GeomFromEWKT('SRID=4674;POINT (-38.428833 -3.369387)'))) / (select extract(epoch from '2026-07-18 13:38:01'::timestamp) - extract(epoch from '2026-07-18 13:37:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.428903 -3.369425)', '2026-07-18 13:38:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428833 -3.369387)'), GeomFromEWKT('SRID=4674;POINT (-38.428903 -3.369425)'))) / (select extract(epoch from '2026-07-18 13:38:06'::timestamp) - extract(epoch from '2026-07-18 13:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428833 -3.369387)'), GeomFromEWKT('SRID=4674;POINT (-38.428903 -3.369425)'))) / (select extract(epoch from '2026-07-18 13:38:06'::timestamp) - extract(epoch from '2026-07-18 13:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.428971 -3.369486)', '2026-07-18 13:38:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428903 -3.369425)'), GeomFromEWKT('SRID=4674;POINT (-38.428971 -3.369486)'))) / (select extract(epoch from '2026-07-18 13:38:11'::timestamp) - extract(epoch from '2026-07-18 13:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428903 -3.369425)'), GeomFromEWKT('SRID=4674;POINT (-38.428971 -3.369486)'))) / (select extract(epoch from '2026-07-18 13:38:11'::timestamp) - extract(epoch from '2026-07-18 13:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.429059 -3.369574)', '2026-07-18 13:38:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428971 -3.369486)'), GeomFromEWKT('SRID=4674;POINT (-38.429059 -3.369574)'))) / (select extract(epoch from '2026-07-18 13:38:17'::timestamp) - extract(epoch from '2026-07-18 13:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.428971 -3.369486)'), GeomFromEWKT('SRID=4674;POINT (-38.429059 -3.369574)'))) / (select extract(epoch from '2026-07-18 13:38:17'::timestamp) - extract(epoch from '2026-07-18 13:38:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.429136 -3.369652)', '2026-07-18 13:38:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429059 -3.369574)'), GeomFromEWKT('SRID=4674;POINT (-38.429136 -3.369652)'))) / (select extract(epoch from '2026-07-18 13:38:23'::timestamp) - extract(epoch from '2026-07-18 13:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429059 -3.369574)'), GeomFromEWKT('SRID=4674;POINT (-38.429136 -3.369652)'))) / (select extract(epoch from '2026-07-18 13:38:23'::timestamp) - extract(epoch from '2026-07-18 13:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.429182 -3.36971)', '2026-07-18 13:38:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429136 -3.369652)'), GeomFromEWKT('SRID=4674;POINT (-38.429182 -3.36971)'))) / (select extract(epoch from '2026-07-18 13:38:27'::timestamp) - extract(epoch from '2026-07-18 13:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429136 -3.369652)'), GeomFromEWKT('SRID=4674;POINT (-38.429182 -3.36971)'))) / (select extract(epoch from '2026-07-18 13:38:27'::timestamp) - extract(epoch from '2026-07-18 13:38: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'), 47391, 'SRID=4674;POINT (-38.429253 -3.36977)', '2026-07-18 13:38:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429182 -3.36971)'), GeomFromEWKT('SRID=4674;POINT (-38.429253 -3.36977)'))) / (select extract(epoch from '2026-07-18 13:38:32'::timestamp) - extract(epoch from '2026-07-18 13:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429182 -3.36971)'), GeomFromEWKT('SRID=4674;POINT (-38.429253 -3.36977)'))) / (select extract(epoch from '2026-07-18 13:38:32'::timestamp) - extract(epoch from '2026-07-18 13:38: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'), 47391, 'SRID=4674;POINT (-38.429318 -3.369835)', '2026-07-18 13:38:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429253 -3.36977)'), GeomFromEWKT('SRID=4674;POINT (-38.429318 -3.369835)'))) / (select extract(epoch from '2026-07-18 13:38:37'::timestamp) - extract(epoch from '2026-07-18 13:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429253 -3.36977)'), GeomFromEWKT('SRID=4674;POINT (-38.429318 -3.369835)'))) / (select extract(epoch from '2026-07-18 13:38:37'::timestamp) - extract(epoch from '2026-07-18 13:38:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.429418 -3.369929)', '2026-07-18 13:38:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429318 -3.369835)'), GeomFromEWKT('SRID=4674;POINT (-38.429418 -3.369929)'))) / (select extract(epoch from '2026-07-18 13:38:44'::timestamp) - extract(epoch from '2026-07-18 13:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429318 -3.369835)'), GeomFromEWKT('SRID=4674;POINT (-38.429418 -3.369929)'))) / (select extract(epoch from '2026-07-18 13:38:44'::timestamp) - extract(epoch from '2026-07-18 13:38:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.429497 -3.370017)', '2026-07-18 13:38:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429418 -3.369929)'), GeomFromEWKT('SRID=4674;POINT (-38.429497 -3.370017)'))) / (select extract(epoch from '2026-07-18 13:38:50'::timestamp) - extract(epoch from '2026-07-18 13:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429418 -3.369929)'), GeomFromEWKT('SRID=4674;POINT (-38.429497 -3.370017)'))) / (select extract(epoch from '2026-07-18 13:38:50'::timestamp) - extract(epoch from '2026-07-18 13:38: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'), 47391, 'SRID=4674;POINT (-38.429507 -3.370028)', '2026-07-18 13:38:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429497 -3.370017)'), GeomFromEWKT('SRID=4674;POINT (-38.429507 -3.370028)'))) / (select extract(epoch from '2026-07-18 13:38:51'::timestamp) - extract(epoch from '2026-07-18 13:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429497 -3.370017)'), GeomFromEWKT('SRID=4674;POINT (-38.429507 -3.370028)'))) / (select extract(epoch from '2026-07-18 13:38:51'::timestamp) - extract(epoch from '2026-07-18 13:38: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'), 47391, 'SRID=4674;POINT (-38.429547 -3.370073)', '2026-07-18 13:38:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429507 -3.370028)'), GeomFromEWKT('SRID=4674;POINT (-38.429547 -3.370073)'))) / (select extract(epoch from '2026-07-18 13:38:54'::timestamp) - extract(epoch from '2026-07-18 13:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429507 -3.370028)'), GeomFromEWKT('SRID=4674;POINT (-38.429547 -3.370073)'))) / (select extract(epoch from '2026-07-18 13:38:54'::timestamp) - extract(epoch from '2026-07-18 13:38: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'), 47391, 'SRID=4674;POINT (-38.429603 -3.370146)', '2026-07-18 13:39:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429547 -3.370073)'), GeomFromEWKT('SRID=4674;POINT (-38.429603 -3.370146)'))) / (select extract(epoch from '2026-07-18 13:39:00'::timestamp) - extract(epoch from '2026-07-18 13:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429547 -3.370073)'), GeomFromEWKT('SRID=4674;POINT (-38.429603 -3.370146)'))) / (select extract(epoch from '2026-07-18 13:39:00'::timestamp) - extract(epoch from '2026-07-18 13:38:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.429658 -3.370191)', '2026-07-18 13:39:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429603 -3.370146)'), GeomFromEWKT('SRID=4674;POINT (-38.429658 -3.370191)'))) / (select extract(epoch from '2026-07-18 13:39:05'::timestamp) - extract(epoch from '2026-07-18 13:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429603 -3.370146)'), GeomFromEWKT('SRID=4674;POINT (-38.429658 -3.370191)'))) / (select extract(epoch from '2026-07-18 13:39:05'::timestamp) - extract(epoch from '2026-07-18 13:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.429667 -3.370204)', '2026-07-18 13:39:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429658 -3.370191)'), GeomFromEWKT('SRID=4674;POINT (-38.429667 -3.370204)'))) / (select extract(epoch from '2026-07-18 13:39:06'::timestamp) - extract(epoch from '2026-07-18 13:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429658 -3.370191)'), GeomFromEWKT('SRID=4674;POINT (-38.429667 -3.370204)'))) / (select extract(epoch from '2026-07-18 13:39:06'::timestamp) - extract(epoch from '2026-07-18 13:39: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'), 47391, 'SRID=4674;POINT (-38.42971 -3.37023)', '2026-07-18 13:39:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429667 -3.370204)'), GeomFromEWKT('SRID=4674;POINT (-38.42971 -3.37023)'))) / (select extract(epoch from '2026-07-18 13:39:10'::timestamp) - extract(epoch from '2026-07-18 13:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429667 -3.370204)'), GeomFromEWKT('SRID=4674;POINT (-38.42971 -3.37023)'))) / (select extract(epoch from '2026-07-18 13:39:10'::timestamp) - extract(epoch from '2026-07-18 13:39:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.429744 -3.370253)', '2026-07-18 13:39:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42971 -3.37023)'), GeomFromEWKT('SRID=4674;POINT (-38.429744 -3.370253)'))) / (select extract(epoch from '2026-07-18 13:39:12'::timestamp) - extract(epoch from '2026-07-18 13:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42971 -3.37023)'), GeomFromEWKT('SRID=4674;POINT (-38.429744 -3.370253)'))) / (select extract(epoch from '2026-07-18 13:39:12'::timestamp) - extract(epoch from '2026-07-18 13:39: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'), 47391, 'SRID=4674;POINT (-38.429829 -3.370311)', '2026-07-18 13:39:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429744 -3.370253)'), GeomFromEWKT('SRID=4674;POINT (-38.429829 -3.370311)'))) / (select extract(epoch from '2026-07-18 13:39:18'::timestamp) - extract(epoch from '2026-07-18 13:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429744 -3.370253)'), GeomFromEWKT('SRID=4674;POINT (-38.429829 -3.370311)'))) / (select extract(epoch from '2026-07-18 13:39:18'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.42989 -3.370372)', '2026-07-18 13:39:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429829 -3.370311)'), GeomFromEWKT('SRID=4674;POINT (-38.42989 -3.370372)'))) / (select extract(epoch from '2026-07-18 13:39:23'::timestamp) - extract(epoch from '2026-07-18 13:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429829 -3.370311)'), GeomFromEWKT('SRID=4674;POINT (-38.42989 -3.370372)'))) / (select extract(epoch from '2026-07-18 13:39:23'::timestamp) - extract(epoch from '2026-07-18 13:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.429952 -3.370441)', '2026-07-18 13:39:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42989 -3.370372)'), GeomFromEWKT('SRID=4674;POINT (-38.429952 -3.370441)'))) / (select extract(epoch from '2026-07-18 13:39:27'::timestamp) - extract(epoch from '2026-07-18 13:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42989 -3.370372)'), GeomFromEWKT('SRID=4674;POINT (-38.429952 -3.370441)'))) / (select extract(epoch from '2026-07-18 13:39:27'::timestamp) - extract(epoch from '2026-07-18 13:39: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'), 47391, 'SRID=4674;POINT (-38.429987 -3.370486)', '2026-07-18 13:39:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429952 -3.370441)'), GeomFromEWKT('SRID=4674;POINT (-38.429987 -3.370486)'))) / (select extract(epoch from '2026-07-18 13:39:31'::timestamp) - extract(epoch from '2026-07-18 13:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429952 -3.370441)'), GeomFromEWKT('SRID=4674;POINT (-38.429987 -3.370486)'))) / (select extract(epoch from '2026-07-18 13:39:31'::timestamp) - extract(epoch from '2026-07-18 13:39: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'), 47391, 'SRID=4674;POINT (-38.430005 -3.370496)', '2026-07-18 13:39:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429987 -3.370486)'), GeomFromEWKT('SRID=4674;POINT (-38.430005 -3.370496)'))) / (select extract(epoch from '2026-07-18 13:39:32'::timestamp) - extract(epoch from '2026-07-18 13:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.429987 -3.370486)'), GeomFromEWKT('SRID=4674;POINT (-38.430005 -3.370496)'))) / (select extract(epoch from '2026-07-18 13:39:32'::timestamp) - extract(epoch from '2026-07-18 13:39:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.43005 -3.370551)', '2026-07-18 13:39:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430005 -3.370496)'), GeomFromEWKT('SRID=4674;POINT (-38.43005 -3.370551)'))) / (select extract(epoch from '2026-07-18 13:39:36'::timestamp) - extract(epoch from '2026-07-18 13:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430005 -3.370496)'), GeomFromEWKT('SRID=4674;POINT (-38.43005 -3.370551)'))) / (select extract(epoch from '2026-07-18 13:39:36'::timestamp) - extract(epoch from '2026-07-18 13:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.430108 -3.370614)', '2026-07-18 13:39:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43005 -3.370551)'), GeomFromEWKT('SRID=4674;POINT (-38.430108 -3.370614)'))) / (select extract(epoch from '2026-07-18 13:39:41'::timestamp) - extract(epoch from '2026-07-18 13:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43005 -3.370551)'), GeomFromEWKT('SRID=4674;POINT (-38.430108 -3.370614)'))) / (select extract(epoch from '2026-07-18 13:39:41'::timestamp) - extract(epoch from '2026-07-18 13:39: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'), 47391, 'SRID=4674;POINT (-38.430183 -3.37071)', '2026-07-18 13:39:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430108 -3.370614)'), GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.37071)'))) / (select extract(epoch from '2026-07-18 13:39:48'::timestamp) - extract(epoch from '2026-07-18 13:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430108 -3.370614)'), GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.37071)'))) / (select extract(epoch from '2026-07-18 13:39:48'::timestamp) - extract(epoch from '2026-07-18 13:39: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'), 47391, 'SRID=4674;POINT (-38.430231 -3.370782)', '2026-07-18 13:39:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.37071)'), GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.370782)'))) / (select extract(epoch from '2026-07-18 13:39:53'::timestamp) - extract(epoch from '2026-07-18 13:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430183 -3.37071)'), GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.370782)'))) / (select extract(epoch from '2026-07-18 13:39:53'::timestamp) - extract(epoch from '2026-07-18 13:39: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'), 47391, 'SRID=4674;POINT (-38.430278 -3.370842)', '2026-07-18 13:39:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.370782)'), GeomFromEWKT('SRID=4674;POINT (-38.430278 -3.370842)'))) / (select extract(epoch from '2026-07-18 13:39:58'::timestamp) - extract(epoch from '2026-07-18 13:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430231 -3.370782)'), GeomFromEWKT('SRID=4674;POINT (-38.430278 -3.370842)'))) / (select extract(epoch from '2026-07-18 13:39:58'::timestamp) - extract(epoch from '2026-07-18 13:39:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.430291 -3.370855)', '2026-07-18 13:39:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430278 -3.370842)'), GeomFromEWKT('SRID=4674;POINT (-38.430291 -3.370855)'))) / (select extract(epoch from '2026-07-18 13:39:59'::timestamp) - extract(epoch from '2026-07-18 13:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430278 -3.370842)'), GeomFromEWKT('SRID=4674;POINT (-38.430291 -3.370855)'))) / (select extract(epoch from '2026-07-18 13:39:59'::timestamp) - extract(epoch from '2026-07-18 13:39: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'), 47391, 'SRID=4674;POINT (-38.430343 -3.370923)', '2026-07-18 13:40:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430291 -3.370855)'), GeomFromEWKT('SRID=4674;POINT (-38.430343 -3.370923)'))) / (select extract(epoch from '2026-07-18 13:40:04'::timestamp) - extract(epoch from '2026-07-18 13:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430291 -3.370855)'), GeomFromEWKT('SRID=4674;POINT (-38.430343 -3.370923)'))) / (select extract(epoch from '2026-07-18 13:40:04'::timestamp) - extract(epoch from '2026-07-18 13:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.430408 -3.370991)', '2026-07-18 13:40:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430343 -3.370923)'), GeomFromEWKT('SRID=4674;POINT (-38.430408 -3.370991)'))) / (select extract(epoch from '2026-07-18 13:40:10'::timestamp) - extract(epoch from '2026-07-18 13:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430343 -3.370923)'), GeomFromEWKT('SRID=4674;POINT (-38.430408 -3.370991)'))) / (select extract(epoch from '2026-07-18 13:40:10'::timestamp) - extract(epoch from '2026-07-18 13:40: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'), 47391, 'SRID=4674;POINT (-38.430425 -3.371012)', '2026-07-18 13:40:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430408 -3.370991)'), GeomFromEWKT('SRID=4674;POINT (-38.430425 -3.371012)'))) / (select extract(epoch from '2026-07-18 13:40:12'::timestamp) - extract(epoch from '2026-07-18 13:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430408 -3.370991)'), GeomFromEWKT('SRID=4674;POINT (-38.430425 -3.371012)'))) / (select extract(epoch from '2026-07-18 13:40:12'::timestamp) - extract(epoch from '2026-07-18 13:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.430467 -3.371054)', '2026-07-18 13:40:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430425 -3.371012)'), GeomFromEWKT('SRID=4674;POINT (-38.430467 -3.371054)'))) / (select extract(epoch from '2026-07-18 13:40:15'::timestamp) - extract(epoch from '2026-07-18 13:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430425 -3.371012)'), GeomFromEWKT('SRID=4674;POINT (-38.430467 -3.371054)'))) / (select extract(epoch from '2026-07-18 13:40:15'::timestamp) - extract(epoch from '2026-07-18 13:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.430524 -3.371122)', '2026-07-18 13:40:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430467 -3.371054)'), GeomFromEWKT('SRID=4674;POINT (-38.430524 -3.371122)'))) / (select extract(epoch from '2026-07-18 13:40:20'::timestamp) - extract(epoch from '2026-07-18 13:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430467 -3.371054)'), GeomFromEWKT('SRID=4674;POINT (-38.430524 -3.371122)'))) / (select extract(epoch from '2026-07-18 13:40:20'::timestamp) - extract(epoch from '2026-07-18 13:40: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'), 47391, 'SRID=4674;POINT (-38.430603 -3.371211)', '2026-07-18 13:40:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430524 -3.371122)'), GeomFromEWKT('SRID=4674;POINT (-38.430603 -3.371211)'))) / (select extract(epoch from '2026-07-18 13:40:26'::timestamp) - extract(epoch from '2026-07-18 13:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430524 -3.371122)'), GeomFromEWKT('SRID=4674;POINT (-38.430603 -3.371211)'))) / (select extract(epoch from '2026-07-18 13:40:26'::timestamp) - extract(epoch from '2026-07-18 13:40: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'), 47391, 'SRID=4674;POINT (-38.430688 -3.371294)', '2026-07-18 13:40:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430603 -3.371211)'), GeomFromEWKT('SRID=4674;POINT (-38.430688 -3.371294)'))) / (select extract(epoch from '2026-07-18 13:40:33'::timestamp) - extract(epoch from '2026-07-18 13:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430603 -3.371211)'), GeomFromEWKT('SRID=4674;POINT (-38.430688 -3.371294)'))) / (select extract(epoch from '2026-07-18 13:40:33'::timestamp) - extract(epoch from '2026-07-18 13:40: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'), 47391, 'SRID=4674;POINT (-38.430774 -3.371373)', '2026-07-18 13:40:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430688 -3.371294)'), GeomFromEWKT('SRID=4674;POINT (-38.430774 -3.371373)'))) / (select extract(epoch from '2026-07-18 13:40:40'::timestamp) - extract(epoch from '2026-07-18 13:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430688 -3.371294)'), GeomFromEWKT('SRID=4674;POINT (-38.430774 -3.371373)'))) / (select extract(epoch from '2026-07-18 13:40:40'::timestamp) - extract(epoch from '2026-07-18 13:40:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.430829 -3.371431)', '2026-07-18 13:40:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430774 -3.371373)'), GeomFromEWKT('SRID=4674;POINT (-38.430829 -3.371431)'))) / (select extract(epoch from '2026-07-18 13:40:45'::timestamp) - extract(epoch from '2026-07-18 13:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430774 -3.371373)'), GeomFromEWKT('SRID=4674;POINT (-38.430829 -3.371431)'))) / (select extract(epoch from '2026-07-18 13:40:45'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.430885 -3.371513)', '2026-07-18 13:40:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430829 -3.371431)'), GeomFromEWKT('SRID=4674;POINT (-38.430885 -3.371513)'))) / (select extract(epoch from '2026-07-18 13:40:51'::timestamp) - extract(epoch from '2026-07-18 13:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430829 -3.371431)'), GeomFromEWKT('SRID=4674;POINT (-38.430885 -3.371513)'))) / (select extract(epoch from '2026-07-18 13:40:51'::timestamp) - extract(epoch from '2026-07-18 13:40:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.430959 -3.371593)', '2026-07-18 13:40:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430885 -3.371513)'), GeomFromEWKT('SRID=4674;POINT (-38.430959 -3.371593)'))) / (select extract(epoch from '2026-07-18 13:40:57'::timestamp) - extract(epoch from '2026-07-18 13:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430885 -3.371513)'), GeomFromEWKT('SRID=4674;POINT (-38.430959 -3.371593)'))) / (select extract(epoch from '2026-07-18 13:40:57'::timestamp) - extract(epoch from '2026-07-18 13:40: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'), 47391, 'SRID=4674;POINT (-38.431013 -3.371645)', '2026-07-18 13:41:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430959 -3.371593)'), GeomFromEWKT('SRID=4674;POINT (-38.431013 -3.371645)'))) / (select extract(epoch from '2026-07-18 13:41:01'::timestamp) - extract(epoch from '2026-07-18 13:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.430959 -3.371593)'), GeomFromEWKT('SRID=4674;POINT (-38.431013 -3.371645)'))) / (select extract(epoch from '2026-07-18 13:41:01'::timestamp) - extract(epoch from '2026-07-18 13:40: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'), 47391, 'SRID=4674;POINT (-38.431077 -3.371709)', '2026-07-18 13:41:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431013 -3.371645)'), GeomFromEWKT('SRID=4674;POINT (-38.431077 -3.371709)'))) / (select extract(epoch from '2026-07-18 13:41:06'::timestamp) - extract(epoch from '2026-07-18 13:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431013 -3.371645)'), GeomFromEWKT('SRID=4674;POINT (-38.431077 -3.371709)'))) / (select extract(epoch from '2026-07-18 13:41:06'::timestamp) - extract(epoch from '2026-07-18 13:41:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.431138 -3.371791)', '2026-07-18 13:41:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431077 -3.371709)'), GeomFromEWKT('SRID=4674;POINT (-38.431138 -3.371791)'))) / (select extract(epoch from '2026-07-18 13:41:11'::timestamp) - extract(epoch from '2026-07-18 13:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431077 -3.371709)'), GeomFromEWKT('SRID=4674;POINT (-38.431138 -3.371791)'))) / (select extract(epoch from '2026-07-18 13:41:11'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.431173 -3.371852)', '2026-07-18 13:41:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431138 -3.371791)'), GeomFromEWKT('SRID=4674;POINT (-38.431173 -3.371852)'))) / (select extract(epoch from '2026-07-18 13:41:15'::timestamp) - extract(epoch from '2026-07-18 13:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431138 -3.371791)'), GeomFromEWKT('SRID=4674;POINT (-38.431173 -3.371852)'))) / (select extract(epoch from '2026-07-18 13:41:15'::timestamp) - extract(epoch from '2026-07-18 13:41: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'), 47391, 'SRID=4674;POINT (-38.431185 -3.371865)', '2026-07-18 13:41:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431173 -3.371852)'), GeomFromEWKT('SRID=4674;POINT (-38.431185 -3.371865)'))) / (select extract(epoch from '2026-07-18 13:41:16'::timestamp) - extract(epoch from '2026-07-18 13:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431173 -3.371852)'), GeomFromEWKT('SRID=4674;POINT (-38.431185 -3.371865)'))) / (select extract(epoch from '2026-07-18 13:41:16'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.431255 -3.37195)', '2026-07-18 13:41:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431185 -3.371865)'), GeomFromEWKT('SRID=4674;POINT (-38.431255 -3.37195)'))) / (select extract(epoch from '2026-07-18 13:41:22'::timestamp) - extract(epoch from '2026-07-18 13:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431185 -3.371865)'), GeomFromEWKT('SRID=4674;POINT (-38.431255 -3.37195)'))) / (select extract(epoch from '2026-07-18 13:41:22'::timestamp) - extract(epoch from '2026-07-18 13:41: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'), 47391, 'SRID=4674;POINT (-38.431324 -3.372028)', '2026-07-18 13:41:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431255 -3.37195)'), GeomFromEWKT('SRID=4674;POINT (-38.431324 -3.372028)'))) / (select extract(epoch from '2026-07-18 13:41:29'::timestamp) - extract(epoch from '2026-07-18 13:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431255 -3.37195)'), GeomFromEWKT('SRID=4674;POINT (-38.431324 -3.372028)'))) / (select extract(epoch from '2026-07-18 13:41:29'::timestamp) - extract(epoch from '2026-07-18 13:41: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'), 47391, 'SRID=4674;POINT (-38.431393 -3.372107)', '2026-07-18 13:41:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431324 -3.372028)'), GeomFromEWKT('SRID=4674;POINT (-38.431393 -3.372107)'))) / (select extract(epoch from '2026-07-18 13:41:34'::timestamp) - extract(epoch from '2026-07-18 13:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431324 -3.372028)'), GeomFromEWKT('SRID=4674;POINT (-38.431393 -3.372107)'))) / (select extract(epoch from '2026-07-18 13:41:34'::timestamp) - extract(epoch from '2026-07-18 13:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.431464 -3.372182)', '2026-07-18 13:41:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431393 -3.372107)'), GeomFromEWKT('SRID=4674;POINT (-38.431464 -3.372182)'))) / (select extract(epoch from '2026-07-18 13:41:39'::timestamp) - extract(epoch from '2026-07-18 13:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431393 -3.372107)'), GeomFromEWKT('SRID=4674;POINT (-38.431464 -3.372182)'))) / (select extract(epoch from '2026-07-18 13:41:39'::timestamp) - extract(epoch from '2026-07-18 13:41: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'), 47391, 'SRID=4674;POINT (-38.431532 -3.372258)', '2026-07-18 13:41:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431464 -3.372182)'), GeomFromEWKT('SRID=4674;POINT (-38.431532 -3.372258)'))) / (select extract(epoch from '2026-07-18 13:41:44'::timestamp) - extract(epoch from '2026-07-18 13:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431464 -3.372182)'), GeomFromEWKT('SRID=4674;POINT (-38.431532 -3.372258)'))) / (select extract(epoch from '2026-07-18 13:41:44'::timestamp) - extract(epoch from '2026-07-18 13:41:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.431591 -3.372321)', '2026-07-18 13:41:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431532 -3.372258)'), GeomFromEWKT('SRID=4674;POINT (-38.431591 -3.372321)'))) / (select extract(epoch from '2026-07-18 13:41:49'::timestamp) - extract(epoch from '2026-07-18 13:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431532 -3.372258)'), GeomFromEWKT('SRID=4674;POINT (-38.431591 -3.372321)'))) / (select extract(epoch from '2026-07-18 13:41:49'::timestamp) - extract(epoch from '2026-07-18 13:41: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'), 47391, 'SRID=4674;POINT (-38.431655 -3.3724)', '2026-07-18 13:41:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431591 -3.372321)'), GeomFromEWKT('SRID=4674;POINT (-38.431655 -3.3724)'))) / (select extract(epoch from '2026-07-18 13:41:54'::timestamp) - extract(epoch from '2026-07-18 13:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431591 -3.372321)'), GeomFromEWKT('SRID=4674;POINT (-38.431655 -3.3724)'))) / (select extract(epoch from '2026-07-18 13:41:54'::timestamp) - extract(epoch from '2026-07-18 13:41: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'), 47391, 'SRID=4674;POINT (-38.431684 -3.372442)', '2026-07-18 13:41:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431655 -3.3724)'), GeomFromEWKT('SRID=4674;POINT (-38.431684 -3.372442)'))) / (select extract(epoch from '2026-07-18 13:41:57'::timestamp) - extract(epoch from '2026-07-18 13:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431655 -3.3724)'), GeomFromEWKT('SRID=4674;POINT (-38.431684 -3.372442)'))) / (select extract(epoch from '2026-07-18 13:41:57'::timestamp) - extract(epoch from '2026-07-18 13:41: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'), 47391, 'SRID=4674;POINT (-38.431714 -3.37247)', '2026-07-18 13:41:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431684 -3.372442)'), GeomFromEWKT('SRID=4674;POINT (-38.431714 -3.37247)'))) / (select extract(epoch from '2026-07-18 13:41:59'::timestamp) - extract(epoch from '2026-07-18 13:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431684 -3.372442)'), GeomFromEWKT('SRID=4674;POINT (-38.431714 -3.37247)'))) / (select extract(epoch from '2026-07-18 13:41:59'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.431767 -3.372543)', '2026-07-18 13:42:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431714 -3.37247)'), GeomFromEWKT('SRID=4674;POINT (-38.431767 -3.372543)'))) / (select extract(epoch from '2026-07-18 13:42:04'::timestamp) - extract(epoch from '2026-07-18 13:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431714 -3.37247)'), GeomFromEWKT('SRID=4674;POINT (-38.431767 -3.372543)'))) / (select extract(epoch from '2026-07-18 13:42:04'::timestamp) - extract(epoch from '2026-07-18 13:41: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'), 47391, 'SRID=4674;POINT (-38.431819 -3.372611)', '2026-07-18 13:42:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431767 -3.372543)'), GeomFromEWKT('SRID=4674;POINT (-38.431819 -3.372611)'))) / (select extract(epoch from '2026-07-18 13:42:09'::timestamp) - extract(epoch from '2026-07-18 13:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431767 -3.372543)'), GeomFromEWKT('SRID=4674;POINT (-38.431819 -3.372611)'))) / (select extract(epoch from '2026-07-18 13:42:09'::timestamp) - extract(epoch from '2026-07-18 13:42: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'), 47391, 'SRID=4674;POINT (-38.43185 -3.372669)', '2026-07-18 13:42:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431819 -3.372611)'), GeomFromEWKT('SRID=4674;POINT (-38.43185 -3.372669)'))) / (select extract(epoch from '2026-07-18 13:42:13'::timestamp) - extract(epoch from '2026-07-18 13:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431819 -3.372611)'), GeomFromEWKT('SRID=4674;POINT (-38.43185 -3.372669)'))) / (select extract(epoch from '2026-07-18 13:42:13'::timestamp) - extract(epoch from '2026-07-18 13:42:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4319 -3.37273)', '2026-07-18 13:42:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43185 -3.372669)'), GeomFromEWKT('SRID=4674;POINT (-38.4319 -3.37273)'))) / (select extract(epoch from '2026-07-18 13:42:18'::timestamp) - extract(epoch from '2026-07-18 13:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43185 -3.372669)'), GeomFromEWKT('SRID=4674;POINT (-38.4319 -3.37273)'))) / (select extract(epoch from '2026-07-18 13:42:18'::timestamp) - extract(epoch from '2026-07-18 13:42: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'), 47391, 'SRID=4674;POINT (-38.431987 -3.372822)', '2026-07-18 13:42:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4319 -3.37273)'), GeomFromEWKT('SRID=4674;POINT (-38.431987 -3.372822)'))) / (select extract(epoch from '2026-07-18 13:42:25'::timestamp) - extract(epoch from '2026-07-18 13:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4319 -3.37273)'), GeomFromEWKT('SRID=4674;POINT (-38.431987 -3.372822)'))) / (select extract(epoch from '2026-07-18 13:42:25'::timestamp) - extract(epoch from '2026-07-18 13:42:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.432074 -3.372922)', '2026-07-18 13:42:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431987 -3.372822)'), GeomFromEWKT('SRID=4674;POINT (-38.432074 -3.372922)'))) / (select extract(epoch from '2026-07-18 13:42:33'::timestamp) - extract(epoch from '2026-07-18 13:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.431987 -3.372822)'), GeomFromEWKT('SRID=4674;POINT (-38.432074 -3.372922)'))) / (select extract(epoch from '2026-07-18 13:42:33'::timestamp) - extract(epoch from '2026-07-18 13:42: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'), 47391, 'SRID=4674;POINT (-38.432161 -3.37302)', '2026-07-18 13:42:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432074 -3.372922)'), GeomFromEWKT('SRID=4674;POINT (-38.432161 -3.37302)'))) / (select extract(epoch from '2026-07-18 13:42:40'::timestamp) - extract(epoch from '2026-07-18 13:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432074 -3.372922)'), GeomFromEWKT('SRID=4674;POINT (-38.432161 -3.37302)'))) / (select extract(epoch from '2026-07-18 13:42:40'::timestamp) - extract(epoch from '2026-07-18 13:42: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'), 47391, 'SRID=4674;POINT (-38.432236 -3.373126)', '2026-07-18 13:42:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432161 -3.37302)'), GeomFromEWKT('SRID=4674;POINT (-38.432236 -3.373126)'))) / (select extract(epoch from '2026-07-18 13:42:47'::timestamp) - extract(epoch from '2026-07-18 13:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432161 -3.37302)'), GeomFromEWKT('SRID=4674;POINT (-38.432236 -3.373126)'))) / (select extract(epoch from '2026-07-18 13:42:47'::timestamp) - extract(epoch from '2026-07-18 13:42:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.432291 -3.37319)', '2026-07-18 13:42:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432236 -3.373126)'), GeomFromEWKT('SRID=4674;POINT (-38.432291 -3.37319)'))) / (select extract(epoch from '2026-07-18 13:42:52'::timestamp) - extract(epoch from '2026-07-18 13:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432236 -3.373126)'), GeomFromEWKT('SRID=4674;POINT (-38.432291 -3.37319)'))) / (select extract(epoch from '2026-07-18 13:42:52'::timestamp) - extract(epoch from '2026-07-18 13:42:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.432363 -3.373273)', '2026-07-18 13:42:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432291 -3.37319)'), GeomFromEWKT('SRID=4674;POINT (-38.432363 -3.373273)'))) / (select extract(epoch from '2026-07-18 13:42:57'::timestamp) - extract(epoch from '2026-07-18 13:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432291 -3.37319)'), GeomFromEWKT('SRID=4674;POINT (-38.432363 -3.373273)'))) / (select extract(epoch from '2026-07-18 13:42:57'::timestamp) - extract(epoch from '2026-07-18 13:42: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'), 47391, 'SRID=4674;POINT (-38.432381 -3.373285)', '2026-07-18 13:42:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432363 -3.373273)'), GeomFromEWKT('SRID=4674;POINT (-38.432381 -3.373285)'))) / (select extract(epoch from '2026-07-18 13:42:58'::timestamp) - extract(epoch from '2026-07-18 13:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432363 -3.373273)'), GeomFromEWKT('SRID=4674;POINT (-38.432381 -3.373285)'))) / (select extract(epoch from '2026-07-18 13:42:58'::timestamp) - extract(epoch from '2026-07-18 13:42: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'), 47391, 'SRID=4674;POINT (-38.432443 -3.373358)', '2026-07-18 13:43:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432381 -3.373285)'), GeomFromEWKT('SRID=4674;POINT (-38.432443 -3.373358)'))) / (select extract(epoch from '2026-07-18 13:43:03'::timestamp) - extract(epoch from '2026-07-18 13:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432381 -3.373285)'), GeomFromEWKT('SRID=4674;POINT (-38.432443 -3.373358)'))) / (select extract(epoch from '2026-07-18 13:43:03'::timestamp) - extract(epoch from '2026-07-18 13:42:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4325 -3.373418)', '2026-07-18 13:43:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432443 -3.373358)'), GeomFromEWKT('SRID=4674;POINT (-38.4325 -3.373418)'))) / (select extract(epoch from '2026-07-18 13:43:08'::timestamp) - extract(epoch from '2026-07-18 13:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432443 -3.373358)'), GeomFromEWKT('SRID=4674;POINT (-38.4325 -3.373418)'))) / (select extract(epoch from '2026-07-18 13:43:08'::timestamp) - extract(epoch from '2026-07-18 13:43: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'), 47391, 'SRID=4674;POINT (-38.432574 -3.373503)', '2026-07-18 13:43:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4325 -3.373418)'), GeomFromEWKT('SRID=4674;POINT (-38.432574 -3.373503)'))) / (select extract(epoch from '2026-07-18 13:43:14'::timestamp) - extract(epoch from '2026-07-18 13:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4325 -3.373418)'), GeomFromEWKT('SRID=4674;POINT (-38.432574 -3.373503)'))) / (select extract(epoch from '2026-07-18 13:43:14'::timestamp) - extract(epoch from '2026-07-18 13:43: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'), 47391, 'SRID=4674;POINT (-38.432653 -3.3736)', '2026-07-18 13:43:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432574 -3.373503)'), GeomFromEWKT('SRID=4674;POINT (-38.432653 -3.3736)'))) / (select extract(epoch from '2026-07-18 13:43:21'::timestamp) - extract(epoch from '2026-07-18 13:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432574 -3.373503)'), GeomFromEWKT('SRID=4674;POINT (-38.432653 -3.3736)'))) / (select extract(epoch from '2026-07-18 13:43:21'::timestamp) - extract(epoch from '2026-07-18 13:43: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'), 47391, 'SRID=4674;POINT (-38.432713 -3.373691)', '2026-07-18 13:43:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432653 -3.3736)'), GeomFromEWKT('SRID=4674;POINT (-38.432713 -3.373691)'))) / (select extract(epoch from '2026-07-18 13:43:27'::timestamp) - extract(epoch from '2026-07-18 13:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432653 -3.3736)'), GeomFromEWKT('SRID=4674;POINT (-38.432713 -3.373691)'))) / (select extract(epoch from '2026-07-18 13:43:27'::timestamp) - extract(epoch from '2026-07-18 13:43:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.432767 -3.373765)', '2026-07-18 13:43:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432713 -3.373691)'), GeomFromEWKT('SRID=4674;POINT (-38.432767 -3.373765)'))) / (select extract(epoch from '2026-07-18 13:43:32'::timestamp) - extract(epoch from '2026-07-18 13:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432713 -3.373691)'), GeomFromEWKT('SRID=4674;POINT (-38.432767 -3.373765)'))) / (select extract(epoch from '2026-07-18 13:43:32'::timestamp) - extract(epoch from '2026-07-18 13:43: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'), 47391, 'SRID=4674;POINT (-38.432776 -3.373779)', '2026-07-18 13:43:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432767 -3.373765)'), GeomFromEWKT('SRID=4674;POINT (-38.432776 -3.373779)'))) / (select extract(epoch from '2026-07-18 13:43:33'::timestamp) - extract(epoch from '2026-07-18 13:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432767 -3.373765)'), GeomFromEWKT('SRID=4674;POINT (-38.432776 -3.373779)'))) / (select extract(epoch from '2026-07-18 13:43:33'::timestamp) - extract(epoch from '2026-07-18 13:43: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'), 47391, 'SRID=4674;POINT (-38.43283 -3.373826)', '2026-07-18 13:43:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432776 -3.373779)'), GeomFromEWKT('SRID=4674;POINT (-38.43283 -3.373826)'))) / (select extract(epoch from '2026-07-18 13:43:38'::timestamp) - extract(epoch from '2026-07-18 13:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432776 -3.373779)'), GeomFromEWKT('SRID=4674;POINT (-38.43283 -3.373826)'))) / (select extract(epoch from '2026-07-18 13:43:38'::timestamp) - extract(epoch from '2026-07-18 13:43: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'), 47391, 'SRID=4674;POINT (-38.432915 -3.373903)', '2026-07-18 13:43:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43283 -3.373826)'), GeomFromEWKT('SRID=4674;POINT (-38.432915 -3.373903)'))) / (select extract(epoch from '2026-07-18 13:43:45'::timestamp) - extract(epoch from '2026-07-18 13:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43283 -3.373826)'), GeomFromEWKT('SRID=4674;POINT (-38.432915 -3.373903)'))) / (select extract(epoch from '2026-07-18 13:43:45'::timestamp) - extract(epoch from '2026-07-18 13:43: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'), 47391, 'SRID=4674;POINT (-38.432998 -3.373999)', '2026-07-18 13:43:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432915 -3.373903)'), GeomFromEWKT('SRID=4674;POINT (-38.432998 -3.373999)'))) / (select extract(epoch from '2026-07-18 13:43:52'::timestamp) - extract(epoch from '2026-07-18 13:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432915 -3.373903)'), GeomFromEWKT('SRID=4674;POINT (-38.432998 -3.373999)'))) / (select extract(epoch from '2026-07-18 13:43:52'::timestamp) - extract(epoch from '2026-07-18 13:43: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'), 47391, 'SRID=4674;POINT (-38.433068 -3.374098)', '2026-07-18 13:43:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432998 -3.373999)'), GeomFromEWKT('SRID=4674;POINT (-38.433068 -3.374098)'))) / (select extract(epoch from '2026-07-18 13:43:59'::timestamp) - extract(epoch from '2026-07-18 13:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.432998 -3.373999)'), GeomFromEWKT('SRID=4674;POINT (-38.433068 -3.374098)'))) / (select extract(epoch from '2026-07-18 13:43:59'::timestamp) - extract(epoch from '2026-07-18 13:43: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'), 47391, 'SRID=4674;POINT (-38.433145 -3.374183)', '2026-07-18 13:44:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433068 -3.374098)'), GeomFromEWKT('SRID=4674;POINT (-38.433145 -3.374183)'))) / (select extract(epoch from '2026-07-18 13:44:06'::timestamp) - extract(epoch from '2026-07-18 13:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433068 -3.374098)'), GeomFromEWKT('SRID=4674;POINT (-38.433145 -3.374183)'))) / (select extract(epoch from '2026-07-18 13:44:06'::timestamp) - extract(epoch from '2026-07-18 13:43: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'), 47391, 'SRID=4674;POINT (-38.433175 -3.374228)', '2026-07-18 13:44:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433145 -3.374183)'), GeomFromEWKT('SRID=4674;POINT (-38.433175 -3.374228)'))) / (select extract(epoch from '2026-07-18 13:44:09'::timestamp) - extract(epoch from '2026-07-18 13:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433145 -3.374183)'), GeomFromEWKT('SRID=4674;POINT (-38.433175 -3.374228)'))) / (select extract(epoch from '2026-07-18 13:44:09'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.433208 -3.374249)', '2026-07-18 13:44:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433175 -3.374228)'), GeomFromEWKT('SRID=4674;POINT (-38.433208 -3.374249)'))) / (select extract(epoch from '2026-07-18 13:44:11'::timestamp) - extract(epoch from '2026-07-18 13:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433175 -3.374228)'), GeomFromEWKT('SRID=4674;POINT (-38.433208 -3.374249)'))) / (select extract(epoch from '2026-07-18 13:44:11'::timestamp) - extract(epoch from '2026-07-18 13:44: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'), 47391, 'SRID=4674;POINT (-38.433291 -3.374343)', '2026-07-18 13:44:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433208 -3.374249)'), GeomFromEWKT('SRID=4674;POINT (-38.433291 -3.374343)'))) / (select extract(epoch from '2026-07-18 13:44:18'::timestamp) - extract(epoch from '2026-07-18 13:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433208 -3.374249)'), GeomFromEWKT('SRID=4674;POINT (-38.433291 -3.374343)'))) / (select extract(epoch from '2026-07-18 13:44:18'::timestamp) - extract(epoch from '2026-07-18 13:44:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.433338 -3.374413)', '2026-07-18 13:44:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433291 -3.374343)'), GeomFromEWKT('SRID=4674;POINT (-38.433338 -3.374413)'))) / (select extract(epoch from '2026-07-18 13:44:23'::timestamp) - extract(epoch from '2026-07-18 13:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433291 -3.374343)'), GeomFromEWKT('SRID=4674;POINT (-38.433338 -3.374413)'))) / (select extract(epoch from '2026-07-18 13:44:23'::timestamp) - extract(epoch from '2026-07-18 13:44: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'), 47391, 'SRID=4674;POINT (-38.433346 -3.374416)', '2026-07-18 13:44:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433338 -3.374413)'), GeomFromEWKT('SRID=4674;POINT (-38.433346 -3.374416)'))) / (select extract(epoch from '2026-07-18 13:44:24'::timestamp) - extract(epoch from '2026-07-18 13:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433338 -3.374413)'), GeomFromEWKT('SRID=4674;POINT (-38.433346 -3.374416)'))) / (select extract(epoch from '2026-07-18 13:44:24'::timestamp) - extract(epoch from '2026-07-18 13:44:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.43338 -3.374437)', '2026-07-18 13:44:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433346 -3.374416)'), GeomFromEWKT('SRID=4674;POINT (-38.43338 -3.374437)'))) / (select extract(epoch from '2026-07-18 13:44:26'::timestamp) - extract(epoch from '2026-07-18 13:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433346 -3.374416)'), GeomFromEWKT('SRID=4674;POINT (-38.43338 -3.374437)'))) / (select extract(epoch from '2026-07-18 13:44:26'::timestamp) - extract(epoch from '2026-07-18 13:44: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'), 47391, 'SRID=4674;POINT (-38.43339 -3.374455)', '2026-07-18 13:44:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43338 -3.374437)'), GeomFromEWKT('SRID=4674;POINT (-38.43339 -3.374455)'))) / (select extract(epoch from '2026-07-18 13:44:27'::timestamp) - extract(epoch from '2026-07-18 13:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43338 -3.374437)'), GeomFromEWKT('SRID=4674;POINT (-38.43339 -3.374455)'))) / (select extract(epoch from '2026-07-18 13:44:27'::timestamp) - extract(epoch from '2026-07-18 13:44: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'), 47391, 'SRID=4674;POINT (-38.433406 -3.374484)', '2026-07-18 13:44:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43339 -3.374455)'), GeomFromEWKT('SRID=4674;POINT (-38.433406 -3.374484)'))) / (select extract(epoch from '2026-07-18 13:44:30'::timestamp) - extract(epoch from '2026-07-18 13:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43339 -3.374455)'), GeomFromEWKT('SRID=4674;POINT (-38.433406 -3.374484)'))) / (select extract(epoch from '2026-07-18 13:44:30'::timestamp) - extract(epoch from '2026-07-18 13:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.433422 -3.374494)', '2026-07-18 13:44:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433406 -3.374484)'), GeomFromEWKT('SRID=4674;POINT (-38.433422 -3.374494)'))) / (select extract(epoch from '2026-07-18 13:44:31'::timestamp) - extract(epoch from '2026-07-18 13:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433406 -3.374484)'), GeomFromEWKT('SRID=4674;POINT (-38.433422 -3.374494)'))) / (select extract(epoch from '2026-07-18 13:44:31'::timestamp) - extract(epoch from '2026-07-18 13:44:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.433476 -3.374562)', '2026-07-18 13:44:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433422 -3.374494)'), GeomFromEWKT('SRID=4674;POINT (-38.433476 -3.374562)'))) / (select extract(epoch from '2026-07-18 13:44:36'::timestamp) - extract(epoch from '2026-07-18 13:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433422 -3.374494)'), GeomFromEWKT('SRID=4674;POINT (-38.433476 -3.374562)'))) / (select extract(epoch from '2026-07-18 13:44:36'::timestamp) - extract(epoch from '2026-07-18 13:44: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'), 47391, 'SRID=4674;POINT (-38.433541 -3.374638)', '2026-07-18 13:44:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433476 -3.374562)'), GeomFromEWKT('SRID=4674;POINT (-38.433541 -3.374638)'))) / (select extract(epoch from '2026-07-18 13:44:41'::timestamp) - extract(epoch from '2026-07-18 13:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433476 -3.374562)'), GeomFromEWKT('SRID=4674;POINT (-38.433541 -3.374638)'))) / (select extract(epoch from '2026-07-18 13:44:41'::timestamp) - extract(epoch from '2026-07-18 13:44: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'), 47391, 'SRID=4674;POINT (-38.433575 -3.374703)', '2026-07-18 13:44:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433541 -3.374638)'), GeomFromEWKT('SRID=4674;POINT (-38.433575 -3.374703)'))) / (select extract(epoch from '2026-07-18 13:44:45'::timestamp) - extract(epoch from '2026-07-18 13:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433541 -3.374638)'), GeomFromEWKT('SRID=4674;POINT (-38.433575 -3.374703)'))) / (select extract(epoch from '2026-07-18 13:44:45'::timestamp) - extract(epoch from '2026-07-18 13:44: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'), 47391, 'SRID=4674;POINT (-38.433598 -3.374733)', '2026-07-18 13:44:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433575 -3.374703)'), GeomFromEWKT('SRID=4674;POINT (-38.433598 -3.374733)'))) / (select extract(epoch from '2026-07-18 13:44:47'::timestamp) - extract(epoch from '2026-07-18 13:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433575 -3.374703)'), GeomFromEWKT('SRID=4674;POINT (-38.433598 -3.374733)'))) / (select extract(epoch from '2026-07-18 13:44:47'::timestamp) - extract(epoch from '2026-07-18 13:44:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.43366 -3.374834)', '2026-07-18 13:44:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433598 -3.374733)'), GeomFromEWKT('SRID=4674;POINT (-38.43366 -3.374834)'))) / (select extract(epoch from '2026-07-18 13:44:54'::timestamp) - extract(epoch from '2026-07-18 13:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433598 -3.374733)'), GeomFromEWKT('SRID=4674;POINT (-38.43366 -3.374834)'))) / (select extract(epoch from '2026-07-18 13:44:54'::timestamp) - extract(epoch from '2026-07-18 13:44: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'), 47391, 'SRID=4674;POINT (-38.43369 -3.374874)', '2026-07-18 13:44:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43366 -3.374834)'), GeomFromEWKT('SRID=4674;POINT (-38.43369 -3.374874)'))) / (select extract(epoch from '2026-07-18 13:44:57'::timestamp) - extract(epoch from '2026-07-18 13:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43366 -3.374834)'), GeomFromEWKT('SRID=4674;POINT (-38.43369 -3.374874)'))) / (select extract(epoch from '2026-07-18 13:44:57'::timestamp) - extract(epoch from '2026-07-18 13:44:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.43372 -3.374896)', '2026-07-18 13:44:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43369 -3.374874)'), GeomFromEWKT('SRID=4674;POINT (-38.43372 -3.374896)'))) / (select extract(epoch from '2026-07-18 13:44:59'::timestamp) - extract(epoch from '2026-07-18 13:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43369 -3.374874)'), GeomFromEWKT('SRID=4674;POINT (-38.43372 -3.374896)'))) / (select extract(epoch from '2026-07-18 13:44:59'::timestamp) - extract(epoch from '2026-07-18 13:44: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'), 47391, 'SRID=4674;POINT (-38.433733 -3.374918)', '2026-07-18 13:45:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43372 -3.374896)'), GeomFromEWKT('SRID=4674;POINT (-38.433733 -3.374918)'))) / (select extract(epoch from '2026-07-18 13:45:01'::timestamp) - extract(epoch from '2026-07-18 13:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43372 -3.374896)'), GeomFromEWKT('SRID=4674;POINT (-38.433733 -3.374918)'))) / (select extract(epoch from '2026-07-18 13:45:01'::timestamp) - extract(epoch from '2026-07-18 13:44: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'), 47391, 'SRID=4674;POINT (-38.43377 -3.374954)', '2026-07-18 13:45:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433733 -3.374918)'), GeomFromEWKT('SRID=4674;POINT (-38.43377 -3.374954)'))) / (select extract(epoch from '2026-07-18 13:45:04'::timestamp) - extract(epoch from '2026-07-18 13:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433733 -3.374918)'), GeomFromEWKT('SRID=4674;POINT (-38.43377 -3.374954)'))) / (select extract(epoch from '2026-07-18 13:45:04'::timestamp) - extract(epoch from '2026-07-18 13:45: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'), 47391, 'SRID=4674;POINT (-38.433831 -3.375053)', '2026-07-18 13:45:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43377 -3.374954)'), GeomFromEWKT('SRID=4674;POINT (-38.433831 -3.375053)'))) / (select extract(epoch from '2026-07-18 13:45:10'::timestamp) - extract(epoch from '2026-07-18 13:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43377 -3.374954)'), GeomFromEWKT('SRID=4674;POINT (-38.433831 -3.375053)'))) / (select extract(epoch from '2026-07-18 13:45:10'::timestamp) - extract(epoch from '2026-07-18 13:45: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'), 47391, 'SRID=4674;POINT (-38.433884 -3.375151)', '2026-07-18 13:45:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433831 -3.375053)'), GeomFromEWKT('SRID=4674;POINT (-38.433884 -3.375151)'))) / (select extract(epoch from '2026-07-18 13:45:16'::timestamp) - extract(epoch from '2026-07-18 13:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433831 -3.375053)'), GeomFromEWKT('SRID=4674;POINT (-38.433884 -3.375151)'))) / (select extract(epoch from '2026-07-18 13:45:16'::timestamp) - extract(epoch from '2026-07-18 13:45: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'), 47391, 'SRID=4674;POINT (-38.43392 -3.375195)', '2026-07-18 13:45:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433884 -3.375151)'), GeomFromEWKT('SRID=4674;POINT (-38.43392 -3.375195)'))) / (select extract(epoch from '2026-07-18 13:45:19'::timestamp) - extract(epoch from '2026-07-18 13:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433884 -3.375151)'), GeomFromEWKT('SRID=4674;POINT (-38.43392 -3.375195)'))) / (select extract(epoch from '2026-07-18 13:45:19'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.433942 -3.375222)', '2026-07-18 13:45:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43392 -3.375195)'), GeomFromEWKT('SRID=4674;POINT (-38.433942 -3.375222)'))) / (select extract(epoch from '2026-07-18 13:45:21'::timestamp) - extract(epoch from '2026-07-18 13:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43392 -3.375195)'), GeomFromEWKT('SRID=4674;POINT (-38.433942 -3.375222)'))) / (select extract(epoch from '2026-07-18 13:45:21'::timestamp) - extract(epoch from '2026-07-18 13:45: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'), 47391, 'SRID=4674;POINT (-38.433989 -3.375291)', '2026-07-18 13:45:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433942 -3.375222)'), GeomFromEWKT('SRID=4674;POINT (-38.433989 -3.375291)'))) / (select extract(epoch from '2026-07-18 13:45:26'::timestamp) - extract(epoch from '2026-07-18 13:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433942 -3.375222)'), GeomFromEWKT('SRID=4674;POINT (-38.433989 -3.375291)'))) / (select extract(epoch from '2026-07-18 13:45:26'::timestamp) - extract(epoch from '2026-07-18 13:45:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.434046 -3.375376)', '2026-07-18 13:45:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433989 -3.375291)'), GeomFromEWKT('SRID=4674;POINT (-38.434046 -3.375376)'))) / (select extract(epoch from '2026-07-18 13:45:32'::timestamp) - extract(epoch from '2026-07-18 13:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.433989 -3.375291)'), GeomFromEWKT('SRID=4674;POINT (-38.434046 -3.375376)'))) / (select extract(epoch from '2026-07-18 13:45:32'::timestamp) - extract(epoch from '2026-07-18 13:45:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.434103 -3.375469)', '2026-07-18 13:45:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434046 -3.375376)'), GeomFromEWKT('SRID=4674;POINT (-38.434103 -3.375469)'))) / (select extract(epoch from '2026-07-18 13:45:38'::timestamp) - extract(epoch from '2026-07-18 13:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434046 -3.375376)'), GeomFromEWKT('SRID=4674;POINT (-38.434103 -3.375469)'))) / (select extract(epoch from '2026-07-18 13:45:38'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.43416 -3.375555)', '2026-07-18 13:45:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434103 -3.375469)'), GeomFromEWKT('SRID=4674;POINT (-38.43416 -3.375555)'))) / (select extract(epoch from '2026-07-18 13:45:44'::timestamp) - extract(epoch from '2026-07-18 13:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434103 -3.375469)'), GeomFromEWKT('SRID=4674;POINT (-38.43416 -3.375555)'))) / (select extract(epoch from '2026-07-18 13:45:44'::timestamp) - extract(epoch from '2026-07-18 13:45:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.434206 -3.375636)', '2026-07-18 13:45:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43416 -3.375555)'), GeomFromEWKT('SRID=4674;POINT (-38.434206 -3.375636)'))) / (select extract(epoch from '2026-07-18 13:45:49'::timestamp) - extract(epoch from '2026-07-18 13:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43416 -3.375555)'), GeomFromEWKT('SRID=4674;POINT (-38.434206 -3.375636)'))) / (select extract(epoch from '2026-07-18 13:45:49'::timestamp) - extract(epoch from '2026-07-18 13:45:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.43423 -3.375696)', '2026-07-18 13:45:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434206 -3.375636)'), GeomFromEWKT('SRID=4674;POINT (-38.43423 -3.375696)'))) / (select extract(epoch from '2026-07-18 13:45:53'::timestamp) - extract(epoch from '2026-07-18 13:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434206 -3.375636)'), GeomFromEWKT('SRID=4674;POINT (-38.43423 -3.375696)'))) / (select extract(epoch from '2026-07-18 13:45:53'::timestamp) - extract(epoch from '2026-07-18 13:45: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'), 47391, 'SRID=4674;POINT (-38.43424 -3.375709)', '2026-07-18 13:45:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43423 -3.375696)'), GeomFromEWKT('SRID=4674;POINT (-38.43424 -3.375709)'))) / (select extract(epoch from '2026-07-18 13:45:54'::timestamp) - extract(epoch from '2026-07-18 13:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43423 -3.375696)'), GeomFromEWKT('SRID=4674;POINT (-38.43424 -3.375709)'))) / (select extract(epoch from '2026-07-18 13:45:54'::timestamp) - extract(epoch from '2026-07-18 13:45: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'), 47391, 'SRID=4674;POINT (-38.434301 -3.375785)', '2026-07-18 13:46:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43424 -3.375709)'), GeomFromEWKT('SRID=4674;POINT (-38.434301 -3.375785)'))) / (select extract(epoch from '2026-07-18 13:46:00'::timestamp) - extract(epoch from '2026-07-18 13:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43424 -3.375709)'), GeomFromEWKT('SRID=4674;POINT (-38.434301 -3.375785)'))) / (select extract(epoch from '2026-07-18 13:46:00'::timestamp) - extract(epoch from '2026-07-18 13:45: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'), 47391, 'SRID=4674;POINT (-38.43435 -3.37585)', '2026-07-18 13:46:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434301 -3.375785)'), GeomFromEWKT('SRID=4674;POINT (-38.43435 -3.37585)'))) / (select extract(epoch from '2026-07-18 13:46:04'::timestamp) - extract(epoch from '2026-07-18 13:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434301 -3.375785)'), GeomFromEWKT('SRID=4674;POINT (-38.43435 -3.37585)'))) / (select extract(epoch from '2026-07-18 13:46:04'::timestamp) - extract(epoch from '2026-07-18 13:46:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.434356 -3.375867)', '2026-07-18 13:46:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43435 -3.37585)'), GeomFromEWKT('SRID=4674;POINT (-38.434356 -3.375867)'))) / (select extract(epoch from '2026-07-18 13:46:05'::timestamp) - extract(epoch from '2026-07-18 13:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43435 -3.37585)'), GeomFromEWKT('SRID=4674;POINT (-38.434356 -3.375867)'))) / (select extract(epoch from '2026-07-18 13:46:05'::timestamp) - extract(epoch from '2026-07-18 13:46: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'), 47391, 'SRID=4674;POINT (-38.434364 -3.375891)', '2026-07-18 13:46:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434356 -3.375867)'), GeomFromEWKT('SRID=4674;POINT (-38.434364 -3.375891)'))) / (select extract(epoch from '2026-07-18 13:46:07'::timestamp) - extract(epoch from '2026-07-18 13:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434356 -3.375867)'), GeomFromEWKT('SRID=4674;POINT (-38.434364 -3.375891)'))) / (select extract(epoch from '2026-07-18 13:46:07'::timestamp) - extract(epoch from '2026-07-18 13:46: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'), 47391, 'SRID=4674;POINT (-38.434387 -3.375921)', '2026-07-18 13:46:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434364 -3.375891)'), GeomFromEWKT('SRID=4674;POINT (-38.434387 -3.375921)'))) / (select extract(epoch from '2026-07-18 13:46:09'::timestamp) - extract(epoch from '2026-07-18 13:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434364 -3.375891)'), GeomFromEWKT('SRID=4674;POINT (-38.434387 -3.375921)'))) / (select extract(epoch from '2026-07-18 13:46:09'::timestamp) - extract(epoch from '2026-07-18 13:46: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'), 47391, 'SRID=4674;POINT (-38.434433 -3.376017)', '2026-07-18 13:46:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434387 -3.375921)'), GeomFromEWKT('SRID=4674;POINT (-38.434433 -3.376017)'))) / (select extract(epoch from '2026-07-18 13:46:15'::timestamp) - extract(epoch from '2026-07-18 13:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434387 -3.375921)'), GeomFromEWKT('SRID=4674;POINT (-38.434433 -3.376017)'))) / (select extract(epoch from '2026-07-18 13:46:15'::timestamp) - extract(epoch from '2026-07-18 13:46:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.434453 -3.37607)', '2026-07-18 13:46:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434433 -3.376017)'), GeomFromEWKT('SRID=4674;POINT (-38.434453 -3.37607)'))) / (select extract(epoch from '2026-07-18 13:46:18'::timestamp) - extract(epoch from '2026-07-18 13:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434433 -3.376017)'), GeomFromEWKT('SRID=4674;POINT (-38.434453 -3.37607)'))) / (select extract(epoch from '2026-07-18 13:46:18'::timestamp) - extract(epoch from '2026-07-18 13:46: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'), 47391, 'SRID=4674;POINT (-38.434477 -3.376092)', '2026-07-18 13:46:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434453 -3.37607)'), GeomFromEWKT('SRID=4674;POINT (-38.434477 -3.376092)'))) / (select extract(epoch from '2026-07-18 13:46:20'::timestamp) - extract(epoch from '2026-07-18 13:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434453 -3.37607)'), GeomFromEWKT('SRID=4674;POINT (-38.434477 -3.376092)'))) / (select extract(epoch from '2026-07-18 13:46:20'::timestamp) - extract(epoch from '2026-07-18 13:46: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'), 47391, 'SRID=4674;POINT (-38.434546 -3.376213)', '2026-07-18 13:46:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434477 -3.376092)'), GeomFromEWKT('SRID=4674;POINT (-38.434546 -3.376213)'))) / (select extract(epoch from '2026-07-18 13:46:27'::timestamp) - extract(epoch from '2026-07-18 13:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434477 -3.376092)'), GeomFromEWKT('SRID=4674;POINT (-38.434546 -3.376213)'))) / (select extract(epoch from '2026-07-18 13:46:27'::timestamp) - extract(epoch from '2026-07-18 13:46:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.434604 -3.37633)', '2026-07-18 13:46:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434546 -3.376213)'), GeomFromEWKT('SRID=4674;POINT (-38.434604 -3.37633)'))) / (select extract(epoch from '2026-07-18 13:46:34'::timestamp) - extract(epoch from '2026-07-18 13:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434546 -3.376213)'), GeomFromEWKT('SRID=4674;POINT (-38.434604 -3.37633)'))) / (select extract(epoch from '2026-07-18 13:46:34'::timestamp) - extract(epoch from '2026-07-18 13:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.434621 -3.376375)', '2026-07-18 13:46:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434604 -3.37633)'), GeomFromEWKT('SRID=4674;POINT (-38.434621 -3.376375)'))) / (select extract(epoch from '2026-07-18 13:46:37'::timestamp) - extract(epoch from '2026-07-18 13:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434604 -3.37633)'), GeomFromEWKT('SRID=4674;POINT (-38.434621 -3.376375)'))) / (select extract(epoch from '2026-07-18 13:46:37'::timestamp) - extract(epoch from '2026-07-18 13:46: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'), 47391, 'SRID=4674;POINT (-38.434649 -3.376408)', '2026-07-18 13:46:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434621 -3.376375)'), GeomFromEWKT('SRID=4674;POINT (-38.434649 -3.376408)'))) / (select extract(epoch from '2026-07-18 13:46:39'::timestamp) - extract(epoch from '2026-07-18 13:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434621 -3.376375)'), GeomFromEWKT('SRID=4674;POINT (-38.434649 -3.376408)'))) / (select extract(epoch from '2026-07-18 13:46:39'::timestamp) - extract(epoch from '2026-07-18 13:46: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'), 47391, 'SRID=4674;POINT (-38.434697 -3.376494)', '2026-07-18 13:46:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434649 -3.376408)'), GeomFromEWKT('SRID=4674;POINT (-38.434697 -3.376494)'))) / (select extract(epoch from '2026-07-18 13:46:45'::timestamp) - extract(epoch from '2026-07-18 13:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434649 -3.376408)'), GeomFromEWKT('SRID=4674;POINT (-38.434697 -3.376494)'))) / (select extract(epoch from '2026-07-18 13:46:45'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.434748 -3.376573)', '2026-07-18 13:46:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434697 -3.376494)'), GeomFromEWKT('SRID=4674;POINT (-38.434748 -3.376573)'))) / (select extract(epoch from '2026-07-18 13:46:50'::timestamp) - extract(epoch from '2026-07-18 13:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434697 -3.376494)'), GeomFromEWKT('SRID=4674;POINT (-38.434748 -3.376573)'))) / (select extract(epoch from '2026-07-18 13:46:50'::timestamp) - extract(epoch from '2026-07-18 13:46:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4348 -3.376648)', '2026-07-18 13:46:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434748 -3.376573)'), GeomFromEWKT('SRID=4674;POINT (-38.4348 -3.376648)'))) / (select extract(epoch from '2026-07-18 13:46:55'::timestamp) - extract(epoch from '2026-07-18 13:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434748 -3.376573)'), GeomFromEWKT('SRID=4674;POINT (-38.4348 -3.376648)'))) / (select extract(epoch from '2026-07-18 13:46:55'::timestamp) - extract(epoch from '2026-07-18 13:46: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'), 47391, 'SRID=4674;POINT (-38.434812 -3.376659)', '2026-07-18 13:46:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4348 -3.376648)'), GeomFromEWKT('SRID=4674;POINT (-38.434812 -3.376659)'))) / (select extract(epoch from '2026-07-18 13:46:56'::timestamp) - extract(epoch from '2026-07-18 13:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4348 -3.376648)'), GeomFromEWKT('SRID=4674;POINT (-38.434812 -3.376659)'))) / (select extract(epoch from '2026-07-18 13:46:56'::timestamp) - extract(epoch from '2026-07-18 13:46: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'), 47391, 'SRID=4674;POINT (-38.434829 -3.376677)', '2026-07-18 13:46:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434812 -3.376659)'), GeomFromEWKT('SRID=4674;POINT (-38.434829 -3.376677)'))) / (select extract(epoch from '2026-07-18 13:46:58'::timestamp) - extract(epoch from '2026-07-18 13:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434812 -3.376659)'), GeomFromEWKT('SRID=4674;POINT (-38.434829 -3.376677)'))) / (select extract(epoch from '2026-07-18 13:46:58'::timestamp) - extract(epoch from '2026-07-18 13:46: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'), 47391, 'SRID=4674;POINT (-38.434838 -3.3767)', '2026-07-18 13:47:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434829 -3.376677)'), GeomFromEWKT('SRID=4674;POINT (-38.434838 -3.3767)'))) / (select extract(epoch from '2026-07-18 13:47:00'::timestamp) - extract(epoch from '2026-07-18 13:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434829 -3.376677)'), GeomFromEWKT('SRID=4674;POINT (-38.434838 -3.3767)'))) / (select extract(epoch from '2026-07-18 13:47:00'::timestamp) - extract(epoch from '2026-07-18 13:46: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'), 47391, 'SRID=4674;POINT (-38.434851 -3.376709)', '2026-07-18 13:47:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434838 -3.3767)'), GeomFromEWKT('SRID=4674;POINT (-38.434851 -3.376709)'))) / (select extract(epoch from '2026-07-18 13:47:01'::timestamp) - extract(epoch from '2026-07-18 13:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434838 -3.3767)'), GeomFromEWKT('SRID=4674;POINT (-38.434851 -3.376709)'))) / (select extract(epoch from '2026-07-18 13:47:01'::timestamp) - extract(epoch from '2026-07-18 13:47: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'), 47391, 'SRID=4674;POINT (-38.434896 -3.37676)', '2026-07-18 13:47:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434851 -3.376709)'), GeomFromEWKT('SRID=4674;POINT (-38.434896 -3.37676)'))) / (select extract(epoch from '2026-07-18 13:47:05'::timestamp) - extract(epoch from '2026-07-18 13:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434851 -3.376709)'), GeomFromEWKT('SRID=4674;POINT (-38.434896 -3.37676)'))) / (select extract(epoch from '2026-07-18 13:47:05'::timestamp) - extract(epoch from '2026-07-18 13:47:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.434898 -3.376769)', '2026-07-18 13:47:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434896 -3.37676)'), GeomFromEWKT('SRID=4674;POINT (-38.434898 -3.376769)'))) / (select extract(epoch from '2026-07-18 13:47:06'::timestamp) - extract(epoch from '2026-07-18 13:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434896 -3.37676)'), GeomFromEWKT('SRID=4674;POINT (-38.434898 -3.376769)'))) / (select extract(epoch from '2026-07-18 13:47:06'::timestamp) - extract(epoch from '2026-07-18 13:47:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.434916 -3.376783)', '2026-07-18 13:47:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434898 -3.376769)'), GeomFromEWKT('SRID=4674;POINT (-38.434916 -3.376783)'))) / (select extract(epoch from '2026-07-18 13:47:08'::timestamp) - extract(epoch from '2026-07-18 13:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434898 -3.376769)'), GeomFromEWKT('SRID=4674;POINT (-38.434916 -3.376783)'))) / (select extract(epoch from '2026-07-18 13:47:08'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.434949 -3.376795)', '2026-07-18 13:47:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434916 -3.376783)'), GeomFromEWKT('SRID=4674;POINT (-38.434949 -3.376795)'))) / (select extract(epoch from '2026-07-18 13:47:10'::timestamp) - extract(epoch from '2026-07-18 13:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434916 -3.376783)'), GeomFromEWKT('SRID=4674;POINT (-38.434949 -3.376795)'))) / (select extract(epoch from '2026-07-18 13:47:10'::timestamp) - extract(epoch from '2026-07-18 13:47: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'), 47391, 'SRID=4674;POINT (-38.43496 -3.376808)', '2026-07-18 13:47:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434949 -3.376795)'), GeomFromEWKT('SRID=4674;POINT (-38.43496 -3.376808)'))) / (select extract(epoch from '2026-07-18 13:47:11'::timestamp) - extract(epoch from '2026-07-18 13:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434949 -3.376795)'), GeomFromEWKT('SRID=4674;POINT (-38.43496 -3.376808)'))) / (select extract(epoch from '2026-07-18 13:47:11'::timestamp) - extract(epoch from '2026-07-18 13:47: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'), 47391, 'SRID=4674;POINT (-38.434972 -3.376831)', '2026-07-18 13:47:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43496 -3.376808)'), GeomFromEWKT('SRID=4674;POINT (-38.434972 -3.376831)'))) / (select extract(epoch from '2026-07-18 13:47:13'::timestamp) - extract(epoch from '2026-07-18 13:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43496 -3.376808)'), GeomFromEWKT('SRID=4674;POINT (-38.434972 -3.376831)'))) / (select extract(epoch from '2026-07-18 13:47:13'::timestamp) - extract(epoch from '2026-07-18 13:47: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'), 47391, 'SRID=4674;POINT (-38.434984 -3.376836)', '2026-07-18 13:47:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434972 -3.376831)'), GeomFromEWKT('SRID=4674;POINT (-38.434984 -3.376836)'))) / (select extract(epoch from '2026-07-18 13:47:14'::timestamp) - extract(epoch from '2026-07-18 13:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434972 -3.376831)'), GeomFromEWKT('SRID=4674;POINT (-38.434984 -3.376836)'))) / (select extract(epoch from '2026-07-18 13:47:14'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.435048 -3.376889)', '2026-07-18 13:47:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434984 -3.376836)'), GeomFromEWKT('SRID=4674;POINT (-38.435048 -3.376889)'))) / (select extract(epoch from '2026-07-18 13:47:18'::timestamp) - extract(epoch from '2026-07-18 13:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.434984 -3.376836)'), GeomFromEWKT('SRID=4674;POINT (-38.435048 -3.376889)'))) / (select extract(epoch from '2026-07-18 13:47:18'::timestamp) - extract(epoch from '2026-07-18 13:47: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'), 47391, 'SRID=4674;POINT (-38.435115 -3.376966)', '2026-07-18 13:47:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435048 -3.376889)'), GeomFromEWKT('SRID=4674;POINT (-38.435115 -3.376966)'))) / (select extract(epoch from '2026-07-18 13:47:24'::timestamp) - extract(epoch from '2026-07-18 13:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435048 -3.376889)'), GeomFromEWKT('SRID=4674;POINT (-38.435115 -3.376966)'))) / (select extract(epoch from '2026-07-18 13:47:24'::timestamp) - extract(epoch from '2026-07-18 13:47: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'), 47391, 'SRID=4674;POINT (-38.435168 -3.377075)', '2026-07-18 13:47:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435115 -3.376966)'), GeomFromEWKT('SRID=4674;POINT (-38.435168 -3.377075)'))) / (select extract(epoch from '2026-07-18 13:47:30'::timestamp) - extract(epoch from '2026-07-18 13:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435115 -3.376966)'), GeomFromEWKT('SRID=4674;POINT (-38.435168 -3.377075)'))) / (select extract(epoch from '2026-07-18 13:47:30'::timestamp) - extract(epoch from '2026-07-18 13:47:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.435233 -3.377187)', '2026-07-18 13:47:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435168 -3.377075)'), GeomFromEWKT('SRID=4674;POINT (-38.435233 -3.377187)'))) / (select extract(epoch from '2026-07-18 13:47:37'::timestamp) - extract(epoch from '2026-07-18 13:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435168 -3.377075)'), GeomFromEWKT('SRID=4674;POINT (-38.435233 -3.377187)'))) / (select extract(epoch from '2026-07-18 13:47:37'::timestamp) - extract(epoch from '2026-07-18 13:47: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'), 47391, 'SRID=4674;POINT (-38.435274 -3.377263)', '2026-07-18 13:47:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435233 -3.377187)'), GeomFromEWKT('SRID=4674;POINT (-38.435274 -3.377263)'))) / (select extract(epoch from '2026-07-18 13:47:42'::timestamp) - extract(epoch from '2026-07-18 13:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435233 -3.377187)'), GeomFromEWKT('SRID=4674;POINT (-38.435274 -3.377263)'))) / (select extract(epoch from '2026-07-18 13:47:42'::timestamp) - extract(epoch from '2026-07-18 13:47: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'), 47391, 'SRID=4674;POINT (-38.435332 -3.37735)', '2026-07-18 13:47:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435274 -3.377263)'), GeomFromEWKT('SRID=4674;POINT (-38.435332 -3.37735)'))) / (select extract(epoch from '2026-07-18 13:47:48'::timestamp) - extract(epoch from '2026-07-18 13:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435274 -3.377263)'), GeomFromEWKT('SRID=4674;POINT (-38.435332 -3.37735)'))) / (select extract(epoch from '2026-07-18 13:47:48'::timestamp) - extract(epoch from '2026-07-18 13:47: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'), 47391, 'SRID=4674;POINT (-38.435378 -3.377409)', '2026-07-18 13:47:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435332 -3.37735)'), GeomFromEWKT('SRID=4674;POINT (-38.435378 -3.377409)'))) / (select extract(epoch from '2026-07-18 13:47:53'::timestamp) - extract(epoch from '2026-07-18 13:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435332 -3.37735)'), GeomFromEWKT('SRID=4674;POINT (-38.435378 -3.377409)'))) / (select extract(epoch from '2026-07-18 13:47:53'::timestamp) - extract(epoch from '2026-07-18 13:47: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'), 47391, 'SRID=4674;POINT (-38.435428 -3.377477)', '2026-07-18 13:47:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435378 -3.377409)'), GeomFromEWKT('SRID=4674;POINT (-38.435428 -3.377477)'))) / (select extract(epoch from '2026-07-18 13:47:58'::timestamp) - extract(epoch from '2026-07-18 13:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435378 -3.377409)'), GeomFromEWKT('SRID=4674;POINT (-38.435428 -3.377477)'))) / (select extract(epoch from '2026-07-18 13:47:58'::timestamp) - extract(epoch from '2026-07-18 13:47: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'), 47391, 'SRID=4674;POINT (-38.435482 -3.377539)', '2026-07-18 13:48:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435428 -3.377477)'), GeomFromEWKT('SRID=4674;POINT (-38.435482 -3.377539)'))) / (select extract(epoch from '2026-07-18 13:48:02'::timestamp) - extract(epoch from '2026-07-18 13:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435428 -3.377477)'), GeomFromEWKT('SRID=4674;POINT (-38.435482 -3.377539)'))) / (select extract(epoch from '2026-07-18 13:48:02'::timestamp) - extract(epoch from '2026-07-18 13:47:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.435541 -3.377628)', '2026-07-18 13:48:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435482 -3.377539)'), GeomFromEWKT('SRID=4674;POINT (-38.435541 -3.377628)'))) / (select extract(epoch from '2026-07-18 13:48:08'::timestamp) - extract(epoch from '2026-07-18 13:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435482 -3.377539)'), GeomFromEWKT('SRID=4674;POINT (-38.435541 -3.377628)'))) / (select extract(epoch from '2026-07-18 13:48:08'::timestamp) - extract(epoch from '2026-07-18 13:48: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'), 47391, 'SRID=4674;POINT (-38.435567 -3.37767)', '2026-07-18 13:48:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435541 -3.377628)'), GeomFromEWKT('SRID=4674;POINT (-38.435567 -3.37767)'))) / (select extract(epoch from '2026-07-18 13:48:11'::timestamp) - extract(epoch from '2026-07-18 13:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435541 -3.377628)'), GeomFromEWKT('SRID=4674;POINT (-38.435567 -3.37767)'))) / (select extract(epoch from '2026-07-18 13:48:11'::timestamp) - extract(epoch from '2026-07-18 13:48: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'), 47391, 'SRID=4674;POINT (-38.435578 -3.377699)', '2026-07-18 13:48:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435567 -3.37767)'), GeomFromEWKT('SRID=4674;POINT (-38.435578 -3.377699)'))) / (select extract(epoch from '2026-07-18 13:48:13'::timestamp) - extract(epoch from '2026-07-18 13:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435567 -3.37767)'), GeomFromEWKT('SRID=4674;POINT (-38.435578 -3.377699)'))) / (select extract(epoch from '2026-07-18 13:48:13'::timestamp) - extract(epoch from '2026-07-18 13:48: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'), 47391, 'SRID=4674;POINT (-38.435636 -3.377765)', '2026-07-18 13:48:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435578 -3.377699)'), GeomFromEWKT('SRID=4674;POINT (-38.435636 -3.377765)'))) / (select extract(epoch from '2026-07-18 13:48:18'::timestamp) - extract(epoch from '2026-07-18 13:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435578 -3.377699)'), GeomFromEWKT('SRID=4674;POINT (-38.435636 -3.377765)'))) / (select extract(epoch from '2026-07-18 13:48:18'::timestamp) - extract(epoch from '2026-07-18 13:48:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.435702 -3.377835)', '2026-07-18 13:48:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435636 -3.377765)'), GeomFromEWKT('SRID=4674;POINT (-38.435702 -3.377835)'))) / (select extract(epoch from '2026-07-18 13:48:23'::timestamp) - extract(epoch from '2026-07-18 13:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435636 -3.377765)'), GeomFromEWKT('SRID=4674;POINT (-38.435702 -3.377835)'))) / (select extract(epoch from '2026-07-18 13:48:23'::timestamp) - extract(epoch from '2026-07-18 13:48:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.435713 -3.377851)', '2026-07-18 13:48:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435702 -3.377835)'), GeomFromEWKT('SRID=4674;POINT (-38.435713 -3.377851)'))) / (select extract(epoch from '2026-07-18 13:48:24'::timestamp) - extract(epoch from '2026-07-18 13:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435702 -3.377835)'), GeomFromEWKT('SRID=4674;POINT (-38.435713 -3.377851)'))) / (select extract(epoch from '2026-07-18 13:48:24'::timestamp) - extract(epoch from '2026-07-18 13:48:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.435755 -3.377916)', '2026-07-18 13:48:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435713 -3.377851)'), GeomFromEWKT('SRID=4674;POINT (-38.435755 -3.377916)'))) / (select extract(epoch from '2026-07-18 13:48:28'::timestamp) - extract(epoch from '2026-07-18 13:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435713 -3.377851)'), GeomFromEWKT('SRID=4674;POINT (-38.435755 -3.377916)'))) / (select extract(epoch from '2026-07-18 13:48:28'::timestamp) - extract(epoch from '2026-07-18 13:48: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'), 47391, 'SRID=4674;POINT (-38.435766 -3.37793)', '2026-07-18 13:48:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435755 -3.377916)'), GeomFromEWKT('SRID=4674;POINT (-38.435766 -3.37793)'))) / (select extract(epoch from '2026-07-18 13:48:29'::timestamp) - extract(epoch from '2026-07-18 13:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435755 -3.377916)'), GeomFromEWKT('SRID=4674;POINT (-38.435766 -3.37793)'))) / (select extract(epoch from '2026-07-18 13:48:29'::timestamp) - extract(epoch from '2026-07-18 13:48: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'), 47391, 'SRID=4674;POINT (-38.435809 -3.377982)', '2026-07-18 13:48:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435766 -3.37793)'), GeomFromEWKT('SRID=4674;POINT (-38.435809 -3.377982)'))) / (select extract(epoch from '2026-07-18 13:48:33'::timestamp) - extract(epoch from '2026-07-18 13:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435766 -3.37793)'), GeomFromEWKT('SRID=4674;POINT (-38.435809 -3.377982)'))) / (select extract(epoch from '2026-07-18 13:48:33'::timestamp) - extract(epoch from '2026-07-18 13:48:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.435838 -3.37802)', '2026-07-18 13:48:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435809 -3.377982)'), GeomFromEWKT('SRID=4674;POINT (-38.435838 -3.37802)'))) / (select extract(epoch from '2026-07-18 13:48:36'::timestamp) - extract(epoch from '2026-07-18 13:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435809 -3.377982)'), GeomFromEWKT('SRID=4674;POINT (-38.435838 -3.37802)'))) / (select extract(epoch from '2026-07-18 13:48:36'::timestamp) - extract(epoch from '2026-07-18 13:48: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'), 47391, 'SRID=4674;POINT (-38.435848 -3.378033)', '2026-07-18 13:48:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435838 -3.37802)'), GeomFromEWKT('SRID=4674;POINT (-38.435848 -3.378033)'))) / (select extract(epoch from '2026-07-18 13:48:37'::timestamp) - extract(epoch from '2026-07-18 13:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435838 -3.37802)'), GeomFromEWKT('SRID=4674;POINT (-38.435848 -3.378033)'))) / (select extract(epoch from '2026-07-18 13:48:37'::timestamp) - extract(epoch from '2026-07-18 13:48:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.435913 -3.378109)', '2026-07-18 13:48:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435848 -3.378033)'), GeomFromEWKT('SRID=4674;POINT (-38.435913 -3.378109)'))) / (select extract(epoch from '2026-07-18 13:48:42'::timestamp) - extract(epoch from '2026-07-18 13:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435848 -3.378033)'), GeomFromEWKT('SRID=4674;POINT (-38.435913 -3.378109)'))) / (select extract(epoch from '2026-07-18 13:48:42'::timestamp) - extract(epoch from '2026-07-18 13:48: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'), 47391, 'SRID=4674;POINT (-38.435966 -3.378185)', '2026-07-18 13:48:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435913 -3.378109)'), GeomFromEWKT('SRID=4674;POINT (-38.435966 -3.378185)'))) / (select extract(epoch from '2026-07-18 13:48:47'::timestamp) - extract(epoch from '2026-07-18 13:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435913 -3.378109)'), GeomFromEWKT('SRID=4674;POINT (-38.435966 -3.378185)'))) / (select extract(epoch from '2026-07-18 13:48:47'::timestamp) - extract(epoch from '2026-07-18 13:48: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'), 47391, 'SRID=4674;POINT (-38.436004 -3.378258)', '2026-07-18 13:48:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435966 -3.378185)'), GeomFromEWKT('SRID=4674;POINT (-38.436004 -3.378258)'))) / (select extract(epoch from '2026-07-18 13:48:52'::timestamp) - extract(epoch from '2026-07-18 13:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.435966 -3.378185)'), GeomFromEWKT('SRID=4674;POINT (-38.436004 -3.378258)'))) / (select extract(epoch from '2026-07-18 13:48:52'::timestamp) - extract(epoch from '2026-07-18 13:48: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'), 47391, 'SRID=4674;POINT (-38.436065 -3.378372)', '2026-07-18 13:48:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436004 -3.378258)'), GeomFromEWKT('SRID=4674;POINT (-38.436065 -3.378372)'))) / (select extract(epoch from '2026-07-18 13:48:59'::timestamp) - extract(epoch from '2026-07-18 13:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436004 -3.378258)'), GeomFromEWKT('SRID=4674;POINT (-38.436065 -3.378372)'))) / (select extract(epoch from '2026-07-18 13:48:59'::timestamp) - extract(epoch from '2026-07-18 13:48:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.43612 -3.378462)', '2026-07-18 13:49:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436065 -3.378372)'), GeomFromEWKT('SRID=4674;POINT (-38.43612 -3.378462)'))) / (select extract(epoch from '2026-07-18 13:49:05'::timestamp) - extract(epoch from '2026-07-18 13:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436065 -3.378372)'), GeomFromEWKT('SRID=4674;POINT (-38.43612 -3.378462)'))) / (select extract(epoch from '2026-07-18 13:49:05'::timestamp) - extract(epoch from '2026-07-18 13:48: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'), 47391, 'SRID=4674;POINT (-38.436188 -3.378561)', '2026-07-18 13:49:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43612 -3.378462)'), GeomFromEWKT('SRID=4674;POINT (-38.436188 -3.378561)'))) / (select extract(epoch from '2026-07-18 13:49:12'::timestamp) - extract(epoch from '2026-07-18 13:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43612 -3.378462)'), GeomFromEWKT('SRID=4674;POINT (-38.436188 -3.378561)'))) / (select extract(epoch from '2026-07-18 13:49:12'::timestamp) - extract(epoch from '2026-07-18 13:49: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'), 47391, 'SRID=4674;POINT (-38.436257 -3.378648)', '2026-07-18 13:49:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436188 -3.378561)'), GeomFromEWKT('SRID=4674;POINT (-38.436257 -3.378648)'))) / (select extract(epoch from '2026-07-18 13:49:18'::timestamp) - extract(epoch from '2026-07-18 13:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436188 -3.378561)'), GeomFromEWKT('SRID=4674;POINT (-38.436257 -3.378648)'))) / (select extract(epoch from '2026-07-18 13:49:18'::timestamp) - extract(epoch from '2026-07-18 13:49: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'), 47391, 'SRID=4674;POINT (-38.436289 -3.378688)', '2026-07-18 13:49:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436257 -3.378648)'), GeomFromEWKT('SRID=4674;POINT (-38.436289 -3.378688)'))) / (select extract(epoch from '2026-07-18 13:49:21'::timestamp) - extract(epoch from '2026-07-18 13:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436257 -3.378648)'), GeomFromEWKT('SRID=4674;POINT (-38.436289 -3.378688)'))) / (select extract(epoch from '2026-07-18 13:49:21'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.436326 -3.378711)', '2026-07-18 13:49:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436289 -3.378688)'), GeomFromEWKT('SRID=4674;POINT (-38.436326 -3.378711)'))) / (select extract(epoch from '2026-07-18 13:49:23'::timestamp) - extract(epoch from '2026-07-18 13:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436289 -3.378688)'), GeomFromEWKT('SRID=4674;POINT (-38.436326 -3.378711)'))) / (select extract(epoch from '2026-07-18 13:49:23'::timestamp) - extract(epoch from '2026-07-18 13:49:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.436364 -3.378777)', '2026-07-18 13:49:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436326 -3.378711)'), GeomFromEWKT('SRID=4674;POINT (-38.436364 -3.378777)'))) / (select extract(epoch from '2026-07-18 13:49:27'::timestamp) - extract(epoch from '2026-07-18 13:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436326 -3.378711)'), GeomFromEWKT('SRID=4674;POINT (-38.436364 -3.378777)'))) / (select extract(epoch from '2026-07-18 13:49:27'::timestamp) - extract(epoch from '2026-07-18 13:49: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'), 47391, 'SRID=4674;POINT (-38.436409 -3.378834)', '2026-07-18 13:49:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436364 -3.378777)'), GeomFromEWKT('SRID=4674;POINT (-38.436409 -3.378834)'))) / (select extract(epoch from '2026-07-18 13:49:32'::timestamp) - extract(epoch from '2026-07-18 13:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436364 -3.378777)'), GeomFromEWKT('SRID=4674;POINT (-38.436409 -3.378834)'))) / (select extract(epoch from '2026-07-18 13:49:32'::timestamp) - extract(epoch from '2026-07-18 13:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.436455 -3.378895)', '2026-07-18 13:49:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436409 -3.378834)'), GeomFromEWKT('SRID=4674;POINT (-38.436455 -3.378895)'))) / (select extract(epoch from '2026-07-18 13:49:36'::timestamp) - extract(epoch from '2026-07-18 13:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436409 -3.378834)'), GeomFromEWKT('SRID=4674;POINT (-38.436455 -3.378895)'))) / (select extract(epoch from '2026-07-18 13:49:36'::timestamp) - extract(epoch from '2026-07-18 13:49:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.436484 -3.378941)', '2026-07-18 13:49:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436455 -3.378895)'), GeomFromEWKT('SRID=4674;POINT (-38.436484 -3.378941)'))) / (select extract(epoch from '2026-07-18 13:49:40'::timestamp) - extract(epoch from '2026-07-18 13:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436455 -3.378895)'), GeomFromEWKT('SRID=4674;POINT (-38.436484 -3.378941)'))) / (select extract(epoch from '2026-07-18 13:49:40'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.436543 -3.379019)', '2026-07-18 13:49:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436484 -3.378941)'), GeomFromEWKT('SRID=4674;POINT (-38.436543 -3.379019)'))) / (select extract(epoch from '2026-07-18 13:49:46'::timestamp) - extract(epoch from '2026-07-18 13:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436484 -3.378941)'), GeomFromEWKT('SRID=4674;POINT (-38.436543 -3.379019)'))) / (select extract(epoch from '2026-07-18 13:49:46'::timestamp) - extract(epoch from '2026-07-18 13:49: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'), 47391, 'SRID=4674;POINT (-38.436608 -3.379087)', '2026-07-18 13:49:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436543 -3.379019)'), GeomFromEWKT('SRID=4674;POINT (-38.436608 -3.379087)'))) / (select extract(epoch from '2026-07-18 13:49:51'::timestamp) - extract(epoch from '2026-07-18 13:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436543 -3.379019)'), GeomFromEWKT('SRID=4674;POINT (-38.436608 -3.379087)'))) / (select extract(epoch from '2026-07-18 13:49:51'::timestamp) - extract(epoch from '2026-07-18 13:49: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'), 47391, 'SRID=4674;POINT (-38.436664 -3.379162)', '2026-07-18 13:49:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436608 -3.379087)'), GeomFromEWKT('SRID=4674;POINT (-38.436664 -3.379162)'))) / (select extract(epoch from '2026-07-18 13:49:56'::timestamp) - extract(epoch from '2026-07-18 13:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436608 -3.379087)'), GeomFromEWKT('SRID=4674;POINT (-38.436664 -3.379162)'))) / (select extract(epoch from '2026-07-18 13:49:56'::timestamp) - extract(epoch from '2026-07-18 13:49: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'), 47391, 'SRID=4674;POINT (-38.436717 -3.379258)', '2026-07-18 13:50:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436664 -3.379162)'), GeomFromEWKT('SRID=4674;POINT (-38.436717 -3.379258)'))) / (select extract(epoch from '2026-07-18 13:50:02'::timestamp) - extract(epoch from '2026-07-18 13:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436664 -3.379162)'), GeomFromEWKT('SRID=4674;POINT (-38.436717 -3.379258)'))) / (select extract(epoch from '2026-07-18 13:50:02'::timestamp) - extract(epoch from '2026-07-18 13:49: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'), 47391, 'SRID=4674;POINT (-38.436751 -3.379311)', '2026-07-18 13:50:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436717 -3.379258)'), GeomFromEWKT('SRID=4674;POINT (-38.436751 -3.379311)'))) / (select extract(epoch from '2026-07-18 13:50:06'::timestamp) - extract(epoch from '2026-07-18 13:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436717 -3.379258)'), GeomFromEWKT('SRID=4674;POINT (-38.436751 -3.379311)'))) / (select extract(epoch from '2026-07-18 13:50:06'::timestamp) - extract(epoch from '2026-07-18 13:50:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.43677 -3.379324)', '2026-07-18 13:50:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436751 -3.379311)'), GeomFromEWKT('SRID=4674;POINT (-38.43677 -3.379324)'))) / (select extract(epoch from '2026-07-18 13:50:07'::timestamp) - extract(epoch from '2026-07-18 13:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436751 -3.379311)'), GeomFromEWKT('SRID=4674;POINT (-38.43677 -3.379324)'))) / (select extract(epoch from '2026-07-18 13:50:07'::timestamp) - extract(epoch from '2026-07-18 13:50:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.436795 -3.379354)', '2026-07-18 13:50:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43677 -3.379324)'), GeomFromEWKT('SRID=4674;POINT (-38.436795 -3.379354)'))) / (select extract(epoch from '2026-07-18 13:50:09'::timestamp) - extract(epoch from '2026-07-18 13:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43677 -3.379324)'), GeomFromEWKT('SRID=4674;POINT (-38.436795 -3.379354)'))) / (select extract(epoch from '2026-07-18 13:50:09'::timestamp) - extract(epoch from '2026-07-18 13:50: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'), 47391, 'SRID=4674;POINT (-38.436802 -3.379377)', '2026-07-18 13:50:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436795 -3.379354)'), GeomFromEWKT('SRID=4674;POINT (-38.436802 -3.379377)'))) / (select extract(epoch from '2026-07-18 13:50:11'::timestamp) - extract(epoch from '2026-07-18 13:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436795 -3.379354)'), GeomFromEWKT('SRID=4674;POINT (-38.436802 -3.379377)'))) / (select extract(epoch from '2026-07-18 13:50:11'::timestamp) - extract(epoch from '2026-07-18 13:50:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.436855 -3.379432)', '2026-07-18 13:50:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436802 -3.379377)'), GeomFromEWKT('SRID=4674;POINT (-38.436855 -3.379432)'))) / (select extract(epoch from '2026-07-18 13:50:15'::timestamp) - extract(epoch from '2026-07-18 13:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436802 -3.379377)'), GeomFromEWKT('SRID=4674;POINT (-38.436855 -3.379432)'))) / (select extract(epoch from '2026-07-18 13:50:15'::timestamp) - extract(epoch from '2026-07-18 13:50: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'), 47391, 'SRID=4674;POINT (-38.43691 -3.379514)', '2026-07-18 13:50:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436855 -3.379432)'), GeomFromEWKT('SRID=4674;POINT (-38.43691 -3.379514)'))) / (select extract(epoch from '2026-07-18 13:50:21'::timestamp) - extract(epoch from '2026-07-18 13:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436855 -3.379432)'), GeomFromEWKT('SRID=4674;POINT (-38.43691 -3.379514)'))) / (select extract(epoch from '2026-07-18 13:50:21'::timestamp) - extract(epoch from '2026-07-18 13:50: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'), 47391, 'SRID=4674;POINT (-38.436979 -3.3796)', '2026-07-18 13:50:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43691 -3.379514)'), GeomFromEWKT('SRID=4674;POINT (-38.436979 -3.3796)'))) / (select extract(epoch from '2026-07-18 13:50:27'::timestamp) - extract(epoch from '2026-07-18 13:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43691 -3.379514)'), GeomFromEWKT('SRID=4674;POINT (-38.436979 -3.3796)'))) / (select extract(epoch from '2026-07-18 13:50:27'::timestamp) - extract(epoch from '2026-07-18 13:50:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.437042 -3.379671)', '2026-07-18 13:50:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436979 -3.3796)'), GeomFromEWKT('SRID=4674;POINT (-38.437042 -3.379671)'))) / (select extract(epoch from '2026-07-18 13:50:32'::timestamp) - extract(epoch from '2026-07-18 13:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.436979 -3.3796)'), GeomFromEWKT('SRID=4674;POINT (-38.437042 -3.379671)'))) / (select extract(epoch from '2026-07-18 13:50:32'::timestamp) - extract(epoch from '2026-07-18 13:50: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'), 47391, 'SRID=4674;POINT (-38.437057 -3.37968)', '2026-07-18 13:50:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437042 -3.379671)'), GeomFromEWKT('SRID=4674;POINT (-38.437057 -3.37968)'))) / (select extract(epoch from '2026-07-18 13:50:33'::timestamp) - extract(epoch from '2026-07-18 13:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437042 -3.379671)'), GeomFromEWKT('SRID=4674;POINT (-38.437057 -3.37968)'))) / (select extract(epoch from '2026-07-18 13:50:33'::timestamp) - extract(epoch from '2026-07-18 13:50:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.437124 -3.379748)', '2026-07-18 13:50:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437057 -3.37968)'), GeomFromEWKT('SRID=4674;POINT (-38.437124 -3.379748)'))) / (select extract(epoch from '2026-07-18 13:50:38'::timestamp) - extract(epoch from '2026-07-18 13:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437057 -3.37968)'), GeomFromEWKT('SRID=4674;POINT (-38.437124 -3.379748)'))) / (select extract(epoch from '2026-07-18 13:50:38'::timestamp) - extract(epoch from '2026-07-18 13:50: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'), 47391, 'SRID=4674;POINT (-38.437202 -3.379848)', '2026-07-18 13:50:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437124 -3.379748)'), GeomFromEWKT('SRID=4674;POINT (-38.437202 -3.379848)'))) / (select extract(epoch from '2026-07-18 13:50:45'::timestamp) - extract(epoch from '2026-07-18 13:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437124 -3.379748)'), GeomFromEWKT('SRID=4674;POINT (-38.437202 -3.379848)'))) / (select extract(epoch from '2026-07-18 13:50:45'::timestamp) - extract(epoch from '2026-07-18 13:50:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.437262 -3.379938)', '2026-07-18 13:50:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437202 -3.379848)'), GeomFromEWKT('SRID=4674;POINT (-38.437262 -3.379938)'))) / (select extract(epoch from '2026-07-18 13:50:51'::timestamp) - extract(epoch from '2026-07-18 13:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437202 -3.379848)'), GeomFromEWKT('SRID=4674;POINT (-38.437262 -3.379938)'))) / (select extract(epoch from '2026-07-18 13:50:51'::timestamp) - extract(epoch from '2026-07-18 13:50: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'), 47391, 'SRID=4674;POINT (-38.437313 -3.38004)', '2026-07-18 13:50:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437262 -3.379938)'), GeomFromEWKT('SRID=4674;POINT (-38.437313 -3.38004)'))) / (select extract(epoch from '2026-07-18 13:50:58'::timestamp) - extract(epoch from '2026-07-18 13:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437262 -3.379938)'), GeomFromEWKT('SRID=4674;POINT (-38.437313 -3.38004)'))) / (select extract(epoch from '2026-07-18 13:50:58'::timestamp) - extract(epoch from '2026-07-18 13:50: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'), 47391, 'SRID=4674;POINT (-38.437364 -3.380119)', '2026-07-18 13:51:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437313 -3.38004)'), GeomFromEWKT('SRID=4674;POINT (-38.437364 -3.380119)'))) / (select extract(epoch from '2026-07-18 13:51:04'::timestamp) - extract(epoch from '2026-07-18 13:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437313 -3.38004)'), GeomFromEWKT('SRID=4674;POINT (-38.437364 -3.380119)'))) / (select extract(epoch from '2026-07-18 13:51:04'::timestamp) - extract(epoch from '2026-07-18 13:50: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'), 47391, 'SRID=4674;POINT (-38.437386 -3.380143)', '2026-07-18 13:51:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437364 -3.380119)'), GeomFromEWKT('SRID=4674;POINT (-38.437386 -3.380143)'))) / (select extract(epoch from '2026-07-18 13:51:06'::timestamp) - extract(epoch from '2026-07-18 13:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437364 -3.380119)'), GeomFromEWKT('SRID=4674;POINT (-38.437386 -3.380143)'))) / (select extract(epoch from '2026-07-18 13:51:06'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.437402 -3.380168)', '2026-07-18 13:51:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437386 -3.380143)'), GeomFromEWKT('SRID=4674;POINT (-38.437402 -3.380168)'))) / (select extract(epoch from '2026-07-18 13:51:08'::timestamp) - extract(epoch from '2026-07-18 13:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437386 -3.380143)'), GeomFromEWKT('SRID=4674;POINT (-38.437402 -3.380168)'))) / (select extract(epoch from '2026-07-18 13:51:08'::timestamp) - extract(epoch from '2026-07-18 13:51: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'), 47391, 'SRID=4674;POINT (-38.43745 -3.38022)', '2026-07-18 13:51:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437402 -3.380168)'), GeomFromEWKT('SRID=4674;POINT (-38.43745 -3.38022)'))) / (select extract(epoch from '2026-07-18 13:51:12'::timestamp) - extract(epoch from '2026-07-18 13:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437402 -3.380168)'), GeomFromEWKT('SRID=4674;POINT (-38.43745 -3.38022)'))) / (select extract(epoch from '2026-07-18 13:51:12'::timestamp) - extract(epoch from '2026-07-18 13:51: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'), 47391, 'SRID=4674;POINT (-38.437457 -3.380236)', '2026-07-18 13:51:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43745 -3.38022)'), GeomFromEWKT('SRID=4674;POINT (-38.437457 -3.380236)'))) / (select extract(epoch from '2026-07-18 13:51:13'::timestamp) - extract(epoch from '2026-07-18 13:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43745 -3.38022)'), GeomFromEWKT('SRID=4674;POINT (-38.437457 -3.380236)'))) / (select extract(epoch from '2026-07-18 13:51:13'::timestamp) - extract(epoch from '2026-07-18 13:51: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'), 47391, 'SRID=4674;POINT (-38.437527 -3.380322)', '2026-07-18 13:51:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437457 -3.380236)'), GeomFromEWKT('SRID=4674;POINT (-38.437527 -3.380322)'))) / (select extract(epoch from '2026-07-18 13:51:19'::timestamp) - extract(epoch from '2026-07-18 13:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437457 -3.380236)'), GeomFromEWKT('SRID=4674;POINT (-38.437527 -3.380322)'))) / (select extract(epoch from '2026-07-18 13:51:19'::timestamp) - extract(epoch from '2026-07-18 13:51: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'), 47391, 'SRID=4674;POINT (-38.437593 -3.380406)', '2026-07-18 13:51:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437527 -3.380322)'), GeomFromEWKT('SRID=4674;POINT (-38.437593 -3.380406)'))) / (select extract(epoch from '2026-07-18 13:51:25'::timestamp) - extract(epoch from '2026-07-18 13:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437527 -3.380322)'), GeomFromEWKT('SRID=4674;POINT (-38.437593 -3.380406)'))) / (select extract(epoch from '2026-07-18 13:51:25'::timestamp) - extract(epoch from '2026-07-18 13:51: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'), 47391, 'SRID=4674;POINT (-38.437653 -3.380485)', '2026-07-18 13:51:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437593 -3.380406)'), GeomFromEWKT('SRID=4674;POINT (-38.437653 -3.380485)'))) / (select extract(epoch from '2026-07-18 13:51:31'::timestamp) - extract(epoch from '2026-07-18 13:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437593 -3.380406)'), GeomFromEWKT('SRID=4674;POINT (-38.437653 -3.380485)'))) / (select extract(epoch from '2026-07-18 13:51:31'::timestamp) - extract(epoch from '2026-07-18 13:51:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.437698 -3.380551)', '2026-07-18 13:51:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437653 -3.380485)'), GeomFromEWKT('SRID=4674;POINT (-38.437698 -3.380551)'))) / (select extract(epoch from '2026-07-18 13:51:36'::timestamp) - extract(epoch from '2026-07-18 13:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437653 -3.380485)'), GeomFromEWKT('SRID=4674;POINT (-38.437698 -3.380551)'))) / (select extract(epoch from '2026-07-18 13:51:36'::timestamp) - extract(epoch from '2026-07-18 13:51: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'), 47391, 'SRID=4674;POINT (-38.437749 -3.380614)', '2026-07-18 13:51:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437698 -3.380551)'), GeomFromEWKT('SRID=4674;POINT (-38.437749 -3.380614)'))) / (select extract(epoch from '2026-07-18 13:51:41'::timestamp) - extract(epoch from '2026-07-18 13:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437698 -3.380551)'), GeomFromEWKT('SRID=4674;POINT (-38.437749 -3.380614)'))) / (select extract(epoch from '2026-07-18 13:51:41'::timestamp) - extract(epoch from '2026-07-18 13:51: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'), 47391, 'SRID=4674;POINT (-38.437833 -3.380706)', '2026-07-18 13:51:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437749 -3.380614)'), GeomFromEWKT('SRID=4674;POINT (-38.437833 -3.380706)'))) / (select extract(epoch from '2026-07-18 13:51:48'::timestamp) - extract(epoch from '2026-07-18 13:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437749 -3.380614)'), GeomFromEWKT('SRID=4674;POINT (-38.437833 -3.380706)'))) / (select extract(epoch from '2026-07-18 13:51:48'::timestamp) - extract(epoch from '2026-07-18 13:51: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'), 47391, 'SRID=4674;POINT (-38.437893 -3.380785)', '2026-07-18 13:51:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437833 -3.380706)'), GeomFromEWKT('SRID=4674;POINT (-38.437893 -3.380785)'))) / (select extract(epoch from '2026-07-18 13:51:54'::timestamp) - extract(epoch from '2026-07-18 13:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437833 -3.380706)'), GeomFromEWKT('SRID=4674;POINT (-38.437893 -3.380785)'))) / (select extract(epoch from '2026-07-18 13:51:54'::timestamp) - extract(epoch from '2026-07-18 13:51:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.437942 -3.380866)', '2026-07-18 13:52:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437893 -3.380785)'), GeomFromEWKT('SRID=4674;POINT (-38.437942 -3.380866)'))) / (select extract(epoch from '2026-07-18 13:52:00'::timestamp) - extract(epoch from '2026-07-18 13:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437893 -3.380785)'), GeomFromEWKT('SRID=4674;POINT (-38.437942 -3.380866)'))) / (select extract(epoch from '2026-07-18 13:52:00'::timestamp) - extract(epoch from '2026-07-18 13:51: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'), 47391, 'SRID=4674;POINT (-38.437994 -3.380923)', '2026-07-18 13:52:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437942 -3.380866)'), GeomFromEWKT('SRID=4674;POINT (-38.437994 -3.380923)'))) / (select extract(epoch from '2026-07-18 13:52:05'::timestamp) - extract(epoch from '2026-07-18 13:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437942 -3.380866)'), GeomFromEWKT('SRID=4674;POINT (-38.437994 -3.380923)'))) / (select extract(epoch from '2026-07-18 13:52:05'::timestamp) - extract(epoch from '2026-07-18 13:52: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'), 47391, 'SRID=4674;POINT (-38.438064 -3.381006)', '2026-07-18 13:52:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437994 -3.380923)'), GeomFromEWKT('SRID=4674;POINT (-38.438064 -3.381006)'))) / (select extract(epoch from '2026-07-18 13:52:11'::timestamp) - extract(epoch from '2026-07-18 13:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.437994 -3.380923)'), GeomFromEWKT('SRID=4674;POINT (-38.438064 -3.381006)'))) / (select extract(epoch from '2026-07-18 13:52:11'::timestamp) - extract(epoch from '2026-07-18 13:52:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.438113 -3.381052)', '2026-07-18 13:52:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438064 -3.381006)'), GeomFromEWKT('SRID=4674;POINT (-38.438113 -3.381052)'))) / (select extract(epoch from '2026-07-18 13:52:15'::timestamp) - extract(epoch from '2026-07-18 13:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438064 -3.381006)'), GeomFromEWKT('SRID=4674;POINT (-38.438113 -3.381052)'))) / (select extract(epoch from '2026-07-18 13:52:15'::timestamp) - extract(epoch from '2026-07-18 13:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.438177 -3.381113)', '2026-07-18 13:52:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438113 -3.381052)'), GeomFromEWKT('SRID=4674;POINT (-38.438177 -3.381113)'))) / (select extract(epoch from '2026-07-18 13:52:20'::timestamp) - extract(epoch from '2026-07-18 13:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438113 -3.381052)'), GeomFromEWKT('SRID=4674;POINT (-38.438177 -3.381113)'))) / (select extract(epoch from '2026-07-18 13:52:20'::timestamp) - extract(epoch from '2026-07-18 13:52: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'), 47391, 'SRID=4674;POINT (-38.43822 -3.381166)', '2026-07-18 13:52:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438177 -3.381113)'), GeomFromEWKT('SRID=4674;POINT (-38.43822 -3.381166)'))) / (select extract(epoch from '2026-07-18 13:52:24'::timestamp) - extract(epoch from '2026-07-18 13:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438177 -3.381113)'), GeomFromEWKT('SRID=4674;POINT (-38.43822 -3.381166)'))) / (select extract(epoch from '2026-07-18 13:52:24'::timestamp) - extract(epoch from '2026-07-18 13:52: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'), 47391, 'SRID=4674;POINT (-38.438282 -3.381228)', '2026-07-18 13:52:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43822 -3.381166)'), GeomFromEWKT('SRID=4674;POINT (-38.438282 -3.381228)'))) / (select extract(epoch from '2026-07-18 13:52:30'::timestamp) - extract(epoch from '2026-07-18 13:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43822 -3.381166)'), GeomFromEWKT('SRID=4674;POINT (-38.438282 -3.381228)'))) / (select extract(epoch from '2026-07-18 13:52:30'::timestamp) - extract(epoch from '2026-07-18 13:52: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'), 47391, 'SRID=4674;POINT (-38.438341 -3.381291)', '2026-07-18 13:52:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438282 -3.381228)'), GeomFromEWKT('SRID=4674;POINT (-38.438341 -3.381291)'))) / (select extract(epoch from '2026-07-18 13:52:36'::timestamp) - extract(epoch from '2026-07-18 13:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438282 -3.381228)'), GeomFromEWKT('SRID=4674;POINT (-38.438341 -3.381291)'))) / (select extract(epoch from '2026-07-18 13:52:36'::timestamp) - extract(epoch from '2026-07-18 13:52:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.43843 -3.381387)', '2026-07-18 13:52:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438341 -3.381291)'), GeomFromEWKT('SRID=4674;POINT (-38.43843 -3.381387)'))) / (select extract(epoch from '2026-07-18 13:52:43'::timestamp) - extract(epoch from '2026-07-18 13:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438341 -3.381291)'), GeomFromEWKT('SRID=4674;POINT (-38.43843 -3.381387)'))) / (select extract(epoch from '2026-07-18 13:52:43'::timestamp) - extract(epoch from '2026-07-18 13:52:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.438497 -3.381464)', '2026-07-18 13:52:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43843 -3.381387)'), GeomFromEWKT('SRID=4674;POINT (-38.438497 -3.381464)'))) / (select extract(epoch from '2026-07-18 13:52:49'::timestamp) - extract(epoch from '2026-07-18 13:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43843 -3.381387)'), GeomFromEWKT('SRID=4674;POINT (-38.438497 -3.381464)'))) / (select extract(epoch from '2026-07-18 13:52:49'::timestamp) - extract(epoch from '2026-07-18 13:52: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'), 47391, 'SRID=4674;POINT (-38.43857 -3.381545)', '2026-07-18 13:52:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438497 -3.381464)'), GeomFromEWKT('SRID=4674;POINT (-38.43857 -3.381545)'))) / (select extract(epoch from '2026-07-18 13:52:55'::timestamp) - extract(epoch from '2026-07-18 13:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438497 -3.381464)'), GeomFromEWKT('SRID=4674;POINT (-38.43857 -3.381545)'))) / (select extract(epoch from '2026-07-18 13:52:55'::timestamp) - extract(epoch from '2026-07-18 13:52: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'), 47391, 'SRID=4674;POINT (-38.438638 -3.381652)', '2026-07-18 13:53:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43857 -3.381545)'), GeomFromEWKT('SRID=4674;POINT (-38.438638 -3.381652)'))) / (select extract(epoch from '2026-07-18 13:53:02'::timestamp) - extract(epoch from '2026-07-18 13:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.43857 -3.381545)'), GeomFromEWKT('SRID=4674;POINT (-38.438638 -3.381652)'))) / (select extract(epoch from '2026-07-18 13:53:02'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.438691 -3.381746)', '2026-07-18 13:53:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438638 -3.381652)'), GeomFromEWKT('SRID=4674;POINT (-38.438691 -3.381746)'))) / (select extract(epoch from '2026-07-18 13:53:08'::timestamp) - extract(epoch from '2026-07-18 13:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438638 -3.381652)'), GeomFromEWKT('SRID=4674;POINT (-38.438691 -3.381746)'))) / (select extract(epoch from '2026-07-18 13:53:08'::timestamp) - extract(epoch from '2026-07-18 13:53: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'), 47391, 'SRID=4674;POINT (-38.438737 -3.381809)', '2026-07-18 13:53:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438691 -3.381746)'), GeomFromEWKT('SRID=4674;POINT (-38.438737 -3.381809)'))) / (select extract(epoch from '2026-07-18 13:53:13'::timestamp) - extract(epoch from '2026-07-18 13:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438691 -3.381746)'), GeomFromEWKT('SRID=4674;POINT (-38.438737 -3.381809)'))) / (select extract(epoch from '2026-07-18 13:53:13'::timestamp) - extract(epoch from '2026-07-18 13:53: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'), 47391, 'SRID=4674;POINT (-38.438796 -3.38188)', '2026-07-18 13:53:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438737 -3.381809)'), GeomFromEWKT('SRID=4674;POINT (-38.438796 -3.38188)'))) / (select extract(epoch from '2026-07-18 13:53:19'::timestamp) - extract(epoch from '2026-07-18 13:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438737 -3.381809)'), GeomFromEWKT('SRID=4674;POINT (-38.438796 -3.38188)'))) / (select extract(epoch from '2026-07-18 13:53:19'::timestamp) - extract(epoch from '2026-07-18 13:53: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'), 47391, 'SRID=4674;POINT (-38.438854 -3.381936)', '2026-07-18 13:53:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438796 -3.38188)'), GeomFromEWKT('SRID=4674;POINT (-38.438854 -3.381936)'))) / (select extract(epoch from '2026-07-18 13:53:24'::timestamp) - extract(epoch from '2026-07-18 13:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438796 -3.38188)'), GeomFromEWKT('SRID=4674;POINT (-38.438854 -3.381936)'))) / (select extract(epoch from '2026-07-18 13:53:24'::timestamp) - extract(epoch from '2026-07-18 13:53: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'), 47391, 'SRID=4674;POINT (-38.438932 -3.382027)', '2026-07-18 13:53:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438854 -3.381936)'), GeomFromEWKT('SRID=4674;POINT (-38.438932 -3.382027)'))) / (select extract(epoch from '2026-07-18 13:53:30'::timestamp) - extract(epoch from '2026-07-18 13:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438854 -3.381936)'), GeomFromEWKT('SRID=4674;POINT (-38.438932 -3.382027)'))) / (select extract(epoch from '2026-07-18 13:53:30'::timestamp) - extract(epoch from '2026-07-18 13:53: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'), 47391, 'SRID=4674;POINT (-38.439018 -3.382144)', '2026-07-18 13:53:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438932 -3.382027)'), GeomFromEWKT('SRID=4674;POINT (-38.439018 -3.382144)'))) / (select extract(epoch from '2026-07-18 13:53:37'::timestamp) - extract(epoch from '2026-07-18 13:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.438932 -3.382027)'), GeomFromEWKT('SRID=4674;POINT (-38.439018 -3.382144)'))) / (select extract(epoch from '2026-07-18 13:53:37'::timestamp) - extract(epoch from '2026-07-18 13:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.439079 -3.382255)', '2026-07-18 13:53:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439018 -3.382144)'), GeomFromEWKT('SRID=4674;POINT (-38.439079 -3.382255)'))) / (select extract(epoch from '2026-07-18 13:53:43'::timestamp) - extract(epoch from '2026-07-18 13:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439018 -3.382144)'), GeomFromEWKT('SRID=4674;POINT (-38.439079 -3.382255)'))) / (select extract(epoch from '2026-07-18 13:53:43'::timestamp) - extract(epoch from '2026-07-18 13:53: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'), 47391, 'SRID=4674;POINT (-38.439124 -3.382353)', '2026-07-18 13:53:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439079 -3.382255)'), GeomFromEWKT('SRID=4674;POINT (-38.439124 -3.382353)'))) / (select extract(epoch from '2026-07-18 13:53:49'::timestamp) - extract(epoch from '2026-07-18 13:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439079 -3.382255)'), GeomFromEWKT('SRID=4674;POINT (-38.439124 -3.382353)'))) / (select extract(epoch from '2026-07-18 13:53:49'::timestamp) - extract(epoch from '2026-07-18 13:53:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.439173 -3.382439)', '2026-07-18 13:53:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439124 -3.382353)'), GeomFromEWKT('SRID=4674;POINT (-38.439173 -3.382439)'))) / (select extract(epoch from '2026-07-18 13:53:54'::timestamp) - extract(epoch from '2026-07-18 13:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439124 -3.382353)'), GeomFromEWKT('SRID=4674;POINT (-38.439173 -3.382439)'))) / (select extract(epoch from '2026-07-18 13:53:54'::timestamp) - extract(epoch from '2026-07-18 13:53: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'), 47391, 'SRID=4674;POINT (-38.439239 -3.382568)', '2026-07-18 13:54:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439173 -3.382439)'), GeomFromEWKT('SRID=4674;POINT (-38.439239 -3.382568)'))) / (select extract(epoch from '2026-07-18 13:54:01'::timestamp) - extract(epoch from '2026-07-18 13:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439173 -3.382439)'), GeomFromEWKT('SRID=4674;POINT (-38.439239 -3.382568)'))) / (select extract(epoch from '2026-07-18 13:54:01'::timestamp) - extract(epoch from '2026-07-18 13:53: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'), 47391, 'SRID=4674;POINT (-38.439288 -3.38265)', '2026-07-18 13:54:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439239 -3.382568)'), GeomFromEWKT('SRID=4674;POINT (-38.439288 -3.38265)'))) / (select extract(epoch from '2026-07-18 13:54:06'::timestamp) - extract(epoch from '2026-07-18 13:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439239 -3.382568)'), GeomFromEWKT('SRID=4674;POINT (-38.439288 -3.38265)'))) / (select extract(epoch from '2026-07-18 13:54:06'::timestamp) - extract(epoch from '2026-07-18 13:54:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.439333 -3.382726)', '2026-07-18 13:54:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439288 -3.38265)'), GeomFromEWKT('SRID=4674;POINT (-38.439333 -3.382726)'))) / (select extract(epoch from '2026-07-18 13:54:11'::timestamp) - extract(epoch from '2026-07-18 13:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439288 -3.38265)'), GeomFromEWKT('SRID=4674;POINT (-38.439333 -3.382726)'))) / (select extract(epoch from '2026-07-18 13:54:11'::timestamp) - extract(epoch from '2026-07-18 13:54:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.439349 -3.382765)', '2026-07-18 13:54:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439333 -3.382726)'), GeomFromEWKT('SRID=4674;POINT (-38.439349 -3.382765)'))) / (select extract(epoch from '2026-07-18 13:54:14'::timestamp) - extract(epoch from '2026-07-18 13:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439333 -3.382726)'), GeomFromEWKT('SRID=4674;POINT (-38.439349 -3.382765)'))) / (select extract(epoch from '2026-07-18 13:54:14'::timestamp) - extract(epoch from '2026-07-18 13:54: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'), 47391, 'SRID=4674;POINT (-38.439385 -3.382791)', '2026-07-18 13:54:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439349 -3.382765)'), GeomFromEWKT('SRID=4674;POINT (-38.439385 -3.382791)'))) / (select extract(epoch from '2026-07-18 13:54:16'::timestamp) - extract(epoch from '2026-07-18 13:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439349 -3.382765)'), GeomFromEWKT('SRID=4674;POINT (-38.439385 -3.382791)'))) / (select extract(epoch from '2026-07-18 13:54:16'::timestamp) - extract(epoch from '2026-07-18 13:54: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'), 47391, 'SRID=4674;POINT (-38.439423 -3.382848)', '2026-07-18 13:54:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439385 -3.382791)'), GeomFromEWKT('SRID=4674;POINT (-38.439423 -3.382848)'))) / (select extract(epoch from '2026-07-18 13:54:20'::timestamp) - extract(epoch from '2026-07-18 13:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439385 -3.382791)'), GeomFromEWKT('SRID=4674;POINT (-38.439423 -3.382848)'))) / (select extract(epoch from '2026-07-18 13:54:20'::timestamp) - extract(epoch from '2026-07-18 13:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.439475 -3.382905)', '2026-07-18 13:54:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439423 -3.382848)'), GeomFromEWKT('SRID=4674;POINT (-38.439475 -3.382905)'))) / (select extract(epoch from '2026-07-18 13:54:24'::timestamp) - extract(epoch from '2026-07-18 13:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439423 -3.382848)'), GeomFromEWKT('SRID=4674;POINT (-38.439475 -3.382905)'))) / (select extract(epoch from '2026-07-18 13:54:24'::timestamp) - extract(epoch from '2026-07-18 13:54: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'), 47391, 'SRID=4674;POINT (-38.439488 -3.382935)', '2026-07-18 13:54:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439475 -3.382905)'), GeomFromEWKT('SRID=4674;POINT (-38.439488 -3.382935)'))) / (select extract(epoch from '2026-07-18 13:54:26'::timestamp) - extract(epoch from '2026-07-18 13:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439475 -3.382905)'), GeomFromEWKT('SRID=4674;POINT (-38.439488 -3.382935)'))) / (select extract(epoch from '2026-07-18 13:54:26'::timestamp) - extract(epoch from '2026-07-18 13:54: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'), 47391, 'SRID=4674;POINT (-38.439528 -3.38298)', '2026-07-18 13:54:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439488 -3.382935)'), GeomFromEWKT('SRID=4674;POINT (-38.439528 -3.38298)'))) / (select extract(epoch from '2026-07-18 13:54:29'::timestamp) - extract(epoch from '2026-07-18 13:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439488 -3.382935)'), GeomFromEWKT('SRID=4674;POINT (-38.439528 -3.38298)'))) / (select extract(epoch from '2026-07-18 13:54:29'::timestamp) - extract(epoch from '2026-07-18 13:54: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'), 47391, 'SRID=4674;POINT (-38.439569 -3.383031)', '2026-07-18 13:54:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439528 -3.38298)'), GeomFromEWKT('SRID=4674;POINT (-38.439569 -3.383031)'))) / (select extract(epoch from '2026-07-18 13:54:33'::timestamp) - extract(epoch from '2026-07-18 13:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439528 -3.38298)'), GeomFromEWKT('SRID=4674;POINT (-38.439569 -3.383031)'))) / (select extract(epoch from '2026-07-18 13:54:33'::timestamp) - extract(epoch from '2026-07-18 13:54: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'), 47391, 'SRID=4674;POINT (-38.439577 -3.383046)', '2026-07-18 13:54:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439569 -3.383031)'), GeomFromEWKT('SRID=4674;POINT (-38.439577 -3.383046)'))) / (select extract(epoch from '2026-07-18 13:54:34'::timestamp) - extract(epoch from '2026-07-18 13:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439569 -3.383031)'), GeomFromEWKT('SRID=4674;POINT (-38.439577 -3.383046)'))) / (select extract(epoch from '2026-07-18 13:54:34'::timestamp) - extract(epoch from '2026-07-18 13:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.439645 -3.38312)', '2026-07-18 13:54:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439577 -3.383046)'), GeomFromEWKT('SRID=4674;POINT (-38.439645 -3.38312)'))) / (select extract(epoch from '2026-07-18 13:54:39'::timestamp) - extract(epoch from '2026-07-18 13:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439577 -3.383046)'), GeomFromEWKT('SRID=4674;POINT (-38.439645 -3.38312)'))) / (select extract(epoch from '2026-07-18 13:54:39'::timestamp) - extract(epoch from '2026-07-18 13:54: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'), 47391, 'SRID=4674;POINT (-38.439692 -3.383189)', '2026-07-18 13:54:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439645 -3.38312)'), GeomFromEWKT('SRID=4674;POINT (-38.439692 -3.383189)'))) / (select extract(epoch from '2026-07-18 13:54:44'::timestamp) - extract(epoch from '2026-07-18 13:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439645 -3.38312)'), GeomFromEWKT('SRID=4674;POINT (-38.439692 -3.383189)'))) / (select extract(epoch from '2026-07-18 13:54:44'::timestamp) - extract(epoch from '2026-07-18 13:54: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'), 47391, 'SRID=4674;POINT (-38.439739 -3.38327)', '2026-07-18 13:54:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439692 -3.383189)'), GeomFromEWKT('SRID=4674;POINT (-38.439739 -3.38327)'))) / (select extract(epoch from '2026-07-18 13:54:49'::timestamp) - extract(epoch from '2026-07-18 13:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439692 -3.383189)'), GeomFromEWKT('SRID=4674;POINT (-38.439739 -3.38327)'))) / (select extract(epoch from '2026-07-18 13:54:49'::timestamp) - extract(epoch from '2026-07-18 13:54:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.439805 -3.383358)', '2026-07-18 13:54:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439739 -3.38327)'), GeomFromEWKT('SRID=4674;POINT (-38.439805 -3.383358)'))) / (select extract(epoch from '2026-07-18 13:54:55'::timestamp) - extract(epoch from '2026-07-18 13:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439739 -3.38327)'), GeomFromEWKT('SRID=4674;POINT (-38.439805 -3.383358)'))) / (select extract(epoch from '2026-07-18 13:54:55'::timestamp) - extract(epoch from '2026-07-18 13:54:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.439864 -3.383436)', '2026-07-18 13:55:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439805 -3.383358)'), GeomFromEWKT('SRID=4674;POINT (-38.439864 -3.383436)'))) / (select extract(epoch from '2026-07-18 13:55:00'::timestamp) - extract(epoch from '2026-07-18 13:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439805 -3.383358)'), GeomFromEWKT('SRID=4674;POINT (-38.439864 -3.383436)'))) / (select extract(epoch from '2026-07-18 13:55:00'::timestamp) - extract(epoch from '2026-07-18 13:54: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'), 47391, 'SRID=4674;POINT (-38.439886 -3.383487)', '2026-07-18 13:55:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439864 -3.383436)'), GeomFromEWKT('SRID=4674;POINT (-38.439886 -3.383487)'))) / (select extract(epoch from '2026-07-18 13:55:03'::timestamp) - extract(epoch from '2026-07-18 13:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439864 -3.383436)'), GeomFromEWKT('SRID=4674;POINT (-38.439886 -3.383487)'))) / (select extract(epoch from '2026-07-18 13:55:03'::timestamp) - extract(epoch from '2026-07-18 13:55:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.439898 -3.3835)', '2026-07-18 13:55:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439886 -3.383487)'), GeomFromEWKT('SRID=4674;POINT (-38.439898 -3.3835)'))) / (select extract(epoch from '2026-07-18 13:55:04'::timestamp) - extract(epoch from '2026-07-18 13:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439886 -3.383487)'), GeomFromEWKT('SRID=4674;POINT (-38.439898 -3.3835)'))) / (select extract(epoch from '2026-07-18 13:55:04'::timestamp) - extract(epoch from '2026-07-18 13:55:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.439945 -3.383577)', '2026-07-18 13:55:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439898 -3.3835)'), GeomFromEWKT('SRID=4674;POINT (-38.439945 -3.383577)'))) / (select extract(epoch from '2026-07-18 13:55:09'::timestamp) - extract(epoch from '2026-07-18 13:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439898 -3.3835)'), GeomFromEWKT('SRID=4674;POINT (-38.439945 -3.383577)'))) / (select extract(epoch from '2026-07-18 13:55:09'::timestamp) - extract(epoch from '2026-07-18 13:55: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'), 47391, 'SRID=4674;POINT (-38.440002 -3.38367)', '2026-07-18 13:55:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439945 -3.383577)'), GeomFromEWKT('SRID=4674;POINT (-38.440002 -3.38367)'))) / (select extract(epoch from '2026-07-18 13:55:15'::timestamp) - extract(epoch from '2026-07-18 13:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.439945 -3.383577)'), GeomFromEWKT('SRID=4674;POINT (-38.440002 -3.38367)'))) / (select extract(epoch from '2026-07-18 13:55:15'::timestamp) - extract(epoch from '2026-07-18 13:55:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.440051 -3.383753)', '2026-07-18 13:55:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440002 -3.38367)'), GeomFromEWKT('SRID=4674;POINT (-38.440051 -3.383753)'))) / (select extract(epoch from '2026-07-18 13:55:20'::timestamp) - extract(epoch from '2026-07-18 13:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440002 -3.38367)'), GeomFromEWKT('SRID=4674;POINT (-38.440051 -3.383753)'))) / (select extract(epoch from '2026-07-18 13:55:20'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.4401 -3.383819)', '2026-07-18 13:55:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440051 -3.383753)'), GeomFromEWKT('SRID=4674;POINT (-38.4401 -3.383819)'))) / (select extract(epoch from '2026-07-18 13:55:25'::timestamp) - extract(epoch from '2026-07-18 13:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440051 -3.383753)'), GeomFromEWKT('SRID=4674;POINT (-38.4401 -3.383819)'))) / (select extract(epoch from '2026-07-18 13:55:25'::timestamp) - extract(epoch from '2026-07-18 13:55: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'), 47391, 'SRID=4674;POINT (-38.44015 -3.383875)', '2026-07-18 13:55:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4401 -3.383819)'), GeomFromEWKT('SRID=4674;POINT (-38.44015 -3.383875)'))) / (select extract(epoch from '2026-07-18 13:55:29'::timestamp) - extract(epoch from '2026-07-18 13:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4401 -3.383819)'), GeomFromEWKT('SRID=4674;POINT (-38.44015 -3.383875)'))) / (select extract(epoch from '2026-07-18 13:55:29'::timestamp) - extract(epoch from '2026-07-18 13:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.440208 -3.383967)', '2026-07-18 13:55:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44015 -3.383875)'), GeomFromEWKT('SRID=4674;POINT (-38.440208 -3.383967)'))) / (select extract(epoch from '2026-07-18 13:55:35'::timestamp) - extract(epoch from '2026-07-18 13:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44015 -3.383875)'), GeomFromEWKT('SRID=4674;POINT (-38.440208 -3.383967)'))) / (select extract(epoch from '2026-07-18 13:55:35'::timestamp) - extract(epoch from '2026-07-18 13:55:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.440277 -3.384058)', '2026-07-18 13:55:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440208 -3.383967)'), GeomFromEWKT('SRID=4674;POINT (-38.440277 -3.384058)'))) / (select extract(epoch from '2026-07-18 13:55:40'::timestamp) - extract(epoch from '2026-07-18 13:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440208 -3.383967)'), GeomFromEWKT('SRID=4674;POINT (-38.440277 -3.384058)'))) / (select extract(epoch from '2026-07-18 13:55:40'::timestamp) - extract(epoch from '2026-07-18 13:55:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.440335 -3.384141)', '2026-07-18 13:55:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440277 -3.384058)'), GeomFromEWKT('SRID=4674;POINT (-38.440335 -3.384141)'))) / (select extract(epoch from '2026-07-18 13:55:45'::timestamp) - extract(epoch from '2026-07-18 13:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440277 -3.384058)'), GeomFromEWKT('SRID=4674;POINT (-38.440335 -3.384141)'))) / (select extract(epoch from '2026-07-18 13:55:45'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.4404 -3.384231)', '2026-07-18 13:55:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440335 -3.384141)'), GeomFromEWKT('SRID=4674;POINT (-38.4404 -3.384231)'))) / (select extract(epoch from '2026-07-18 13:55:51'::timestamp) - extract(epoch from '2026-07-18 13:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440335 -3.384141)'), GeomFromEWKT('SRID=4674;POINT (-38.4404 -3.384231)'))) / (select extract(epoch from '2026-07-18 13:55:51'::timestamp) - extract(epoch from '2026-07-18 13:55:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.440464 -3.38431)', '2026-07-18 13:55:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4404 -3.384231)'), GeomFromEWKT('SRID=4674;POINT (-38.440464 -3.38431)'))) / (select extract(epoch from '2026-07-18 13:55:56'::timestamp) - extract(epoch from '2026-07-18 13:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4404 -3.384231)'), GeomFromEWKT('SRID=4674;POINT (-38.440464 -3.38431)'))) / (select extract(epoch from '2026-07-18 13:55:56'::timestamp) - extract(epoch from '2026-07-18 13:55: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'), 47391, 'SRID=4674;POINT (-38.440522 -3.384391)', '2026-07-18 13:56:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440464 -3.38431)'), GeomFromEWKT('SRID=4674;POINT (-38.440522 -3.384391)'))) / (select extract(epoch from '2026-07-18 13:56:01'::timestamp) - extract(epoch from '2026-07-18 13:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440464 -3.38431)'), GeomFromEWKT('SRID=4674;POINT (-38.440522 -3.384391)'))) / (select extract(epoch from '2026-07-18 13:56:01'::timestamp) - extract(epoch from '2026-07-18 13:55: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'), 47391, 'SRID=4674;POINT (-38.440577 -3.384513)', '2026-07-18 13:56:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440522 -3.384391)'), GeomFromEWKT('SRID=4674;POINT (-38.440577 -3.384513)'))) / (select extract(epoch from '2026-07-18 13:56:08'::timestamp) - extract(epoch from '2026-07-18 13:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440522 -3.384391)'), GeomFromEWKT('SRID=4674;POINT (-38.440577 -3.384513)'))) / (select extract(epoch from '2026-07-18 13:56:08'::timestamp) - extract(epoch from '2026-07-18 13:56:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.440635 -3.384637)', '2026-07-18 13:56:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440577 -3.384513)'), GeomFromEWKT('SRID=4674;POINT (-38.440635 -3.384637)'))) / (select extract(epoch from '2026-07-18 13:56:15'::timestamp) - extract(epoch from '2026-07-18 13:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440577 -3.384513)'), GeomFromEWKT('SRID=4674;POINT (-38.440635 -3.384637)'))) / (select extract(epoch from '2026-07-18 13:56:15'::timestamp) - extract(epoch from '2026-07-18 13:56: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'), 47391, 'SRID=4674;POINT (-38.440708 -3.384742)', '2026-07-18 13:56:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440635 -3.384637)'), GeomFromEWKT('SRID=4674;POINT (-38.440708 -3.384742)'))) / (select extract(epoch from '2026-07-18 13:56:21'::timestamp) - extract(epoch from '2026-07-18 13:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440635 -3.384637)'), GeomFromEWKT('SRID=4674;POINT (-38.440708 -3.384742)'))) / (select extract(epoch from '2026-07-18 13:56:21'::timestamp) - extract(epoch from '2026-07-18 13:56: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'), 47391, 'SRID=4674;POINT (-38.440769 -3.384829)', '2026-07-18 13:56:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440708 -3.384742)'), GeomFromEWKT('SRID=4674;POINT (-38.440769 -3.384829)'))) / (select extract(epoch from '2026-07-18 13:56:26'::timestamp) - extract(epoch from '2026-07-18 13:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440708 -3.384742)'), GeomFromEWKT('SRID=4674;POINT (-38.440769 -3.384829)'))) / (select extract(epoch from '2026-07-18 13:56:26'::timestamp) - extract(epoch from '2026-07-18 13:56: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'), 47391, 'SRID=4674;POINT (-38.440819 -3.38494)', '2026-07-18 13:56:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440769 -3.384829)'), GeomFromEWKT('SRID=4674;POINT (-38.440819 -3.38494)'))) / (select extract(epoch from '2026-07-18 13:56:32'::timestamp) - extract(epoch from '2026-07-18 13:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440769 -3.384829)'), GeomFromEWKT('SRID=4674;POINT (-38.440819 -3.38494)'))) / (select extract(epoch from '2026-07-18 13:56:32'::timestamp) - extract(epoch from '2026-07-18 13:56:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.44087 -3.385053)', '2026-07-18 13:56:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440819 -3.38494)'), GeomFromEWKT('SRID=4674;POINT (-38.44087 -3.385053)'))) / (select extract(epoch from '2026-07-18 13:56:39'::timestamp) - extract(epoch from '2026-07-18 13:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440819 -3.38494)'), GeomFromEWKT('SRID=4674;POINT (-38.44087 -3.385053)'))) / (select extract(epoch from '2026-07-18 13:56:39'::timestamp) - extract(epoch from '2026-07-18 13:56: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'), 47391, 'SRID=4674;POINT (-38.44092 -3.385144)', '2026-07-18 13:56:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44087 -3.385053)'), GeomFromEWKT('SRID=4674;POINT (-38.44092 -3.385144)'))) / (select extract(epoch from '2026-07-18 13:56:44'::timestamp) - extract(epoch from '2026-07-18 13:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44087 -3.385053)'), GeomFromEWKT('SRID=4674;POINT (-38.44092 -3.385144)'))) / (select extract(epoch from '2026-07-18 13:56:44'::timestamp) - extract(epoch from '2026-07-18 13:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.440924 -3.385164)', '2026-07-18 13:56:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44092 -3.385144)'), GeomFromEWKT('SRID=4674;POINT (-38.440924 -3.385164)'))) / (select extract(epoch from '2026-07-18 13:56:45'::timestamp) - extract(epoch from '2026-07-18 13:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44092 -3.385144)'), GeomFromEWKT('SRID=4674;POINT (-38.440924 -3.385164)'))) / (select extract(epoch from '2026-07-18 13:56:45'::timestamp) - extract(epoch from '2026-07-18 13:56: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'), 47391, 'SRID=4674;POINT (-38.440935 -3.385182)', '2026-07-18 13:56:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440924 -3.385164)'), GeomFromEWKT('SRID=4674;POINT (-38.440935 -3.385182)'))) / (select extract(epoch from '2026-07-18 13:56:46'::timestamp) - extract(epoch from '2026-07-18 13:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440924 -3.385164)'), GeomFromEWKT('SRID=4674;POINT (-38.440935 -3.385182)'))) / (select extract(epoch from '2026-07-18 13:56:46'::timestamp) - extract(epoch from '2026-07-18 13:56: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'), 47391, 'SRID=4674;POINT (-38.440955 -3.385214)', '2026-07-18 13:56:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440935 -3.385182)'), GeomFromEWKT('SRID=4674;POINT (-38.440955 -3.385214)'))) / (select extract(epoch from '2026-07-18 13:56:48'::timestamp) - extract(epoch from '2026-07-18 13:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440935 -3.385182)'), GeomFromEWKT('SRID=4674;POINT (-38.440955 -3.385214)'))) / (select extract(epoch from '2026-07-18 13:56:48'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.440958 -3.385227)', '2026-07-18 13:56:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440955 -3.385214)'), GeomFromEWKT('SRID=4674;POINT (-38.440958 -3.385227)'))) / (select extract(epoch from '2026-07-18 13:56:49'::timestamp) - extract(epoch from '2026-07-18 13:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440955 -3.385214)'), GeomFromEWKT('SRID=4674;POINT (-38.440958 -3.385227)'))) / (select extract(epoch from '2026-07-18 13:56:49'::timestamp) - extract(epoch from '2026-07-18 13:56: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'), 47391, 'SRID=4674;POINT (-38.440997 -3.385308)', '2026-07-18 13:56:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440958 -3.385227)'), GeomFromEWKT('SRID=4674;POINT (-38.440997 -3.385308)'))) / (select extract(epoch from '2026-07-18 13:56:55'::timestamp) - extract(epoch from '2026-07-18 13:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440958 -3.385227)'), GeomFromEWKT('SRID=4674;POINT (-38.440997 -3.385308)'))) / (select extract(epoch from '2026-07-18 13:56:55'::timestamp) - extract(epoch from '2026-07-18 13:56: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'), 47391, 'SRID=4674;POINT (-38.441057 -3.385394)', '2026-07-18 13:57:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440997 -3.385308)'), GeomFromEWKT('SRID=4674;POINT (-38.441057 -3.385394)'))) / (select extract(epoch from '2026-07-18 13:57:02'::timestamp) - extract(epoch from '2026-07-18 13:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.440997 -3.385308)'), GeomFromEWKT('SRID=4674;POINT (-38.441057 -3.385394)'))) / (select extract(epoch from '2026-07-18 13:57:02'::timestamp) - extract(epoch from '2026-07-18 13:56: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'), 47391, 'SRID=4674;POINT (-38.441151 -3.3855)', '2026-07-18 13:57:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441057 -3.385394)'), GeomFromEWKT('SRID=4674;POINT (-38.441151 -3.3855)'))) / (select extract(epoch from '2026-07-18 13:57:10'::timestamp) - extract(epoch from '2026-07-18 13:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441057 -3.385394)'), GeomFromEWKT('SRID=4674;POINT (-38.441151 -3.3855)'))) / (select extract(epoch from '2026-07-18 13:57:10'::timestamp) - extract(epoch from '2026-07-18 13:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.441211 -3.385569)', '2026-07-18 13:57:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441151 -3.3855)'), GeomFromEWKT('SRID=4674;POINT (-38.441211 -3.385569)'))) / (select extract(epoch from '2026-07-18 13:57:15'::timestamp) - extract(epoch from '2026-07-18 13:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441151 -3.3855)'), GeomFromEWKT('SRID=4674;POINT (-38.441211 -3.385569)'))) / (select extract(epoch from '2026-07-18 13:57:15'::timestamp) - extract(epoch from '2026-07-18 13:57: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'), 47391, 'SRID=4674;POINT (-38.441237 -3.3856)', '2026-07-18 13:57:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441211 -3.385569)'), GeomFromEWKT('SRID=4674;POINT (-38.441237 -3.3856)'))) / (select extract(epoch from '2026-07-18 13:57:17'::timestamp) - extract(epoch from '2026-07-18 13:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441211 -3.385569)'), GeomFromEWKT('SRID=4674;POINT (-38.441237 -3.3856)'))) / (select extract(epoch from '2026-07-18 13:57:17'::timestamp) - extract(epoch from '2026-07-18 13:57: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'), 47391, 'SRID=4674;POINT (-38.441259 -3.385642)', '2026-07-18 13:57:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441237 -3.3856)'), GeomFromEWKT('SRID=4674;POINT (-38.441259 -3.385642)'))) / (select extract(epoch from '2026-07-18 13:57:20'::timestamp) - extract(epoch from '2026-07-18 13:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441237 -3.3856)'), GeomFromEWKT('SRID=4674;POINT (-38.441259 -3.385642)'))) / (select extract(epoch from '2026-07-18 13:57:20'::timestamp) - extract(epoch from '2026-07-18 13:57: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'), 47391, 'SRID=4674;POINT (-38.44127 -3.385654)', '2026-07-18 13:57:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441259 -3.385642)'), GeomFromEWKT('SRID=4674;POINT (-38.44127 -3.385654)'))) / (select extract(epoch from '2026-07-18 13:57:21'::timestamp) - extract(epoch from '2026-07-18 13:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441259 -3.385642)'), GeomFromEWKT('SRID=4674;POINT (-38.44127 -3.385654)'))) / (select extract(epoch from '2026-07-18 13:57:21'::timestamp) - extract(epoch from '2026-07-18 13:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.441307 -3.385699)', '2026-07-18 13:57:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44127 -3.385654)'), GeomFromEWKT('SRID=4674;POINT (-38.441307 -3.385699)'))) / (select extract(epoch from '2026-07-18 13:57:24'::timestamp) - extract(epoch from '2026-07-18 13:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44127 -3.385654)'), GeomFromEWKT('SRID=4674;POINT (-38.441307 -3.385699)'))) / (select extract(epoch from '2026-07-18 13:57:24'::timestamp) - extract(epoch from '2026-07-18 13:57:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.441358 -3.385746)', '2026-07-18 13:57:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441307 -3.385699)'), GeomFromEWKT('SRID=4674;POINT (-38.441358 -3.385746)'))) / (select extract(epoch from '2026-07-18 13:57:29'::timestamp) - extract(epoch from '2026-07-18 13:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441307 -3.385699)'), GeomFromEWKT('SRID=4674;POINT (-38.441358 -3.385746)'))) / (select extract(epoch from '2026-07-18 13:57:29'::timestamp) - extract(epoch from '2026-07-18 13:57:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.441425 -3.385826)', '2026-07-18 13:57:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441358 -3.385746)'), GeomFromEWKT('SRID=4674;POINT (-38.441425 -3.385826)'))) / (select extract(epoch from '2026-07-18 13:57:35'::timestamp) - extract(epoch from '2026-07-18 13:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441358 -3.385746)'), GeomFromEWKT('SRID=4674;POINT (-38.441425 -3.385826)'))) / (select extract(epoch from '2026-07-18 13:57:35'::timestamp) - extract(epoch from '2026-07-18 13:57: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'), 47391, 'SRID=4674;POINT (-38.441491 -3.385912)', '2026-07-18 13:57:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441425 -3.385826)'), GeomFromEWKT('SRID=4674;POINT (-38.441491 -3.385912)'))) / (select extract(epoch from '2026-07-18 13:57:41'::timestamp) - extract(epoch from '2026-07-18 13:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441425 -3.385826)'), GeomFromEWKT('SRID=4674;POINT (-38.441491 -3.385912)'))) / (select extract(epoch from '2026-07-18 13:57:41'::timestamp) - extract(epoch from '2026-07-18 13:57: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'), 47391, 'SRID=4674;POINT (-38.441556 -3.386011)', '2026-07-18 13:57:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441491 -3.385912)'), GeomFromEWKT('SRID=4674;POINT (-38.441556 -3.386011)'))) / (select extract(epoch from '2026-07-18 13:57:47'::timestamp) - extract(epoch from '2026-07-18 13:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441491 -3.385912)'), GeomFromEWKT('SRID=4674;POINT (-38.441556 -3.386011)'))) / (select extract(epoch from '2026-07-18 13:57:47'::timestamp) - extract(epoch from '2026-07-18 13:57:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.441616 -3.386091)', '2026-07-18 13:57:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441556 -3.386011)'), GeomFromEWKT('SRID=4674;POINT (-38.441616 -3.386091)'))) / (select extract(epoch from '2026-07-18 13:57:52'::timestamp) - extract(epoch from '2026-07-18 13:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441556 -3.386011)'), GeomFromEWKT('SRID=4674;POINT (-38.441616 -3.386091)'))) / (select extract(epoch from '2026-07-18 13:57:52'::timestamp) - extract(epoch from '2026-07-18 13:57:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.441626 -3.38611)', '2026-07-18 13:57:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441616 -3.386091)'), GeomFromEWKT('SRID=4674;POINT (-38.441626 -3.38611)'))) / (select extract(epoch from '2026-07-18 13:57:53'::timestamp) - extract(epoch from '2026-07-18 13:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441616 -3.386091)'), GeomFromEWKT('SRID=4674;POINT (-38.441626 -3.38611)'))) / (select extract(epoch from '2026-07-18 13:57:53'::timestamp) - extract(epoch from '2026-07-18 13:57: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'), 47391, 'SRID=4674;POINT (-38.441635 -3.38614)', '2026-07-18 13:57:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441626 -3.38611)'), GeomFromEWKT('SRID=4674;POINT (-38.441635 -3.38614)'))) / (select extract(epoch from '2026-07-18 13:57:55'::timestamp) - extract(epoch from '2026-07-18 13:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441626 -3.38611)'), GeomFromEWKT('SRID=4674;POINT (-38.441635 -3.38614)'))) / (select extract(epoch from '2026-07-18 13:57:55'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.44165 -3.386152)', '2026-07-18 13:57:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441635 -3.38614)'), GeomFromEWKT('SRID=4674;POINT (-38.44165 -3.386152)'))) / (select extract(epoch from '2026-07-18 13:57:56'::timestamp) - extract(epoch from '2026-07-18 13:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441635 -3.38614)'), GeomFromEWKT('SRID=4674;POINT (-38.44165 -3.386152)'))) / (select extract(epoch from '2026-07-18 13:57:56'::timestamp) - extract(epoch from '2026-07-18 13:57: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'), 47391, 'SRID=4674;POINT (-38.441677 -3.386176)', '2026-07-18 13:57:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44165 -3.386152)'), GeomFromEWKT('SRID=4674;POINT (-38.441677 -3.386176)'))) / (select extract(epoch from '2026-07-18 13:57:58'::timestamp) - extract(epoch from '2026-07-18 13:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44165 -3.386152)'), GeomFromEWKT('SRID=4674;POINT (-38.441677 -3.386176)'))) / (select extract(epoch from '2026-07-18 13:57:58'::timestamp) - extract(epoch from '2026-07-18 13:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.441701 -3.386214)', '2026-07-18 13:58:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441677 -3.386176)'), GeomFromEWKT('SRID=4674;POINT (-38.441701 -3.386214)'))) / (select extract(epoch from '2026-07-18 13:58:01'::timestamp) - extract(epoch from '2026-07-18 13:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441677 -3.386176)'), GeomFromEWKT('SRID=4674;POINT (-38.441701 -3.386214)'))) / (select extract(epoch from '2026-07-18 13:58:01'::timestamp) - extract(epoch from '2026-07-18 13:57: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'), 47391, 'SRID=4674;POINT (-38.441758 -3.3863)', '2026-07-18 13:58:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441701 -3.386214)'), GeomFromEWKT('SRID=4674;POINT (-38.441758 -3.3863)'))) / (select extract(epoch from '2026-07-18 13:58:07'::timestamp) - extract(epoch from '2026-07-18 13:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441701 -3.386214)'), GeomFromEWKT('SRID=4674;POINT (-38.441758 -3.3863)'))) / (select extract(epoch from '2026-07-18 13:58:07'::timestamp) - extract(epoch from '2026-07-18 13:58: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'), 47391, 'SRID=4674;POINT (-38.441837 -3.386396)', '2026-07-18 13:58:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441758 -3.3863)'), GeomFromEWKT('SRID=4674;POINT (-38.441837 -3.386396)'))) / (select extract(epoch from '2026-07-18 13:58:13'::timestamp) - extract(epoch from '2026-07-18 13:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441758 -3.3863)'), GeomFromEWKT('SRID=4674;POINT (-38.441837 -3.386396)'))) / (select extract(epoch from '2026-07-18 13:58:13'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.441892 -3.386473)', '2026-07-18 13:58:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441837 -3.386396)'), GeomFromEWKT('SRID=4674;POINT (-38.441892 -3.386473)'))) / (select extract(epoch from '2026-07-18 13:58:18'::timestamp) - extract(epoch from '2026-07-18 13:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441837 -3.386396)'), GeomFromEWKT('SRID=4674;POINT (-38.441892 -3.386473)'))) / (select extract(epoch from '2026-07-18 13:58:18'::timestamp) - extract(epoch from '2026-07-18 13:58: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'), 47391, 'SRID=4674;POINT (-38.441958 -3.386561)', '2026-07-18 13:58:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441892 -3.386473)'), GeomFromEWKT('SRID=4674;POINT (-38.441958 -3.386561)'))) / (select extract(epoch from '2026-07-18 13:58:24'::timestamp) - extract(epoch from '2026-07-18 13:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441892 -3.386473)'), GeomFromEWKT('SRID=4674;POINT (-38.441958 -3.386561)'))) / (select extract(epoch from '2026-07-18 13:58:24'::timestamp) - extract(epoch from '2026-07-18 13:58:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.441989 -3.386603)', '2026-07-18 13:58:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441958 -3.386561)'), GeomFromEWKT('SRID=4674;POINT (-38.441989 -3.386603)'))) / (select extract(epoch from '2026-07-18 13:58:27'::timestamp) - extract(epoch from '2026-07-18 13:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441958 -3.386561)'), GeomFromEWKT('SRID=4674;POINT (-38.441989 -3.386603)'))) / (select extract(epoch from '2026-07-18 13:58:27'::timestamp) - extract(epoch from '2026-07-18 13:58: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'), 47391, 'SRID=4674;POINT (-38.44203 -3.386626)', '2026-07-18 13:58:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441989 -3.386603)'), GeomFromEWKT('SRID=4674;POINT (-38.44203 -3.386626)'))) / (select extract(epoch from '2026-07-18 13:58:29'::timestamp) - extract(epoch from '2026-07-18 13:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.441989 -3.386603)'), GeomFromEWKT('SRID=4674;POINT (-38.44203 -3.386626)'))) / (select extract(epoch from '2026-07-18 13:58:29'::timestamp) - extract(epoch from '2026-07-18 13:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.44204 -3.386639)', '2026-07-18 13:58:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44203 -3.386626)'), GeomFromEWKT('SRID=4674;POINT (-38.44204 -3.386639)'))) / (select extract(epoch from '2026-07-18 13:58:30'::timestamp) - extract(epoch from '2026-07-18 13:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44203 -3.386626)'), GeomFromEWKT('SRID=4674;POINT (-38.44204 -3.386639)'))) / (select extract(epoch from '2026-07-18 13:58:30'::timestamp) - extract(epoch from '2026-07-18 13:58: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'), 47391, 'SRID=4674;POINT (-38.442052 -3.386661)', '2026-07-18 13:58:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44204 -3.386639)'), GeomFromEWKT('SRID=4674;POINT (-38.442052 -3.386661)'))) / (select extract(epoch from '2026-07-18 13:58:32'::timestamp) - extract(epoch from '2026-07-18 13:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44204 -3.386639)'), GeomFromEWKT('SRID=4674;POINT (-38.442052 -3.386661)'))) / (select extract(epoch from '2026-07-18 13:58:32'::timestamp) - extract(epoch from '2026-07-18 13:58: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'), 47391, 'SRID=4674;POINT (-38.442062 -3.386671)', '2026-07-18 13:58:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442052 -3.386661)'), GeomFromEWKT('SRID=4674;POINT (-38.442062 -3.386671)'))) / (select extract(epoch from '2026-07-18 13:58:33'::timestamp) - extract(epoch from '2026-07-18 13:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442052 -3.386661)'), GeomFromEWKT('SRID=4674;POINT (-38.442062 -3.386671)'))) / (select extract(epoch from '2026-07-18 13:58:33'::timestamp) - extract(epoch from '2026-07-18 13:58: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'), 47391, 'SRID=4674;POINT (-38.442134 -3.386751)', '2026-07-18 13:58:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442062 -3.386671)'), GeomFromEWKT('SRID=4674;POINT (-38.442134 -3.386751)'))) / (select extract(epoch from '2026-07-18 13:58:39'::timestamp) - extract(epoch from '2026-07-18 13:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442062 -3.386671)'), GeomFromEWKT('SRID=4674;POINT (-38.442134 -3.386751)'))) / (select extract(epoch from '2026-07-18 13:58:39'::timestamp) - extract(epoch from '2026-07-18 13:58: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'), 47391, 'SRID=4674;POINT (-38.4422 -3.386828)', '2026-07-18 13:58:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442134 -3.386751)'), GeomFromEWKT('SRID=4674;POINT (-38.4422 -3.386828)'))) / (select extract(epoch from '2026-07-18 13:58:45'::timestamp) - extract(epoch from '2026-07-18 13:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442134 -3.386751)'), GeomFromEWKT('SRID=4674;POINT (-38.4422 -3.386828)'))) / (select extract(epoch from '2026-07-18 13:58:45'::timestamp) - extract(epoch from '2026-07-18 13:58: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'), 47391, 'SRID=4674;POINT (-38.442233 -3.386885)', '2026-07-18 13:58:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4422 -3.386828)'), GeomFromEWKT('SRID=4674;POINT (-38.442233 -3.386885)'))) / (select extract(epoch from '2026-07-18 13:58:49'::timestamp) - extract(epoch from '2026-07-18 13:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4422 -3.386828)'), GeomFromEWKT('SRID=4674;POINT (-38.442233 -3.386885)'))) / (select extract(epoch from '2026-07-18 13:58:49'::timestamp) - extract(epoch from '2026-07-18 13:58: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'), 47391, 'SRID=4674;POINT (-38.442308 -3.386968)', '2026-07-18 13:58:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442233 -3.386885)'), GeomFromEWKT('SRID=4674;POINT (-38.442308 -3.386968)'))) / (select extract(epoch from '2026-07-18 13:58:55'::timestamp) - extract(epoch from '2026-07-18 13:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442233 -3.386885)'), GeomFromEWKT('SRID=4674;POINT (-38.442308 -3.386968)'))) / (select extract(epoch from '2026-07-18 13:58:55'::timestamp) - extract(epoch from '2026-07-18 13:58: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'), 47391, 'SRID=4674;POINT (-38.442365 -3.387034)', '2026-07-18 13:59:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442308 -3.386968)'), GeomFromEWKT('SRID=4674;POINT (-38.442365 -3.387034)'))) / (select extract(epoch from '2026-07-18 13:59:00'::timestamp) - extract(epoch from '2026-07-18 13:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442308 -3.386968)'), GeomFromEWKT('SRID=4674;POINT (-38.442365 -3.387034)'))) / (select extract(epoch from '2026-07-18 13:59:00'::timestamp) - extract(epoch from '2026-07-18 13:58:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.442376 -3.387043)', '2026-07-18 13:59:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442365 -3.387034)'), GeomFromEWKT('SRID=4674;POINT (-38.442376 -3.387043)'))) / (select extract(epoch from '2026-07-18 13:59:01'::timestamp) - extract(epoch from '2026-07-18 13:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442365 -3.387034)'), GeomFromEWKT('SRID=4674;POINT (-38.442376 -3.387043)'))) / (select extract(epoch from '2026-07-18 13:59:01'::timestamp) - extract(epoch from '2026-07-18 13:59: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'), 47391, 'SRID=4674;POINT (-38.442426 -3.387098)', '2026-07-18 13:59:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442376 -3.387043)'), GeomFromEWKT('SRID=4674;POINT (-38.442426 -3.387098)'))) / (select extract(epoch from '2026-07-18 13:59:05'::timestamp) - extract(epoch from '2026-07-18 13:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442376 -3.387043)'), GeomFromEWKT('SRID=4674;POINT (-38.442426 -3.387098)'))) / (select extract(epoch from '2026-07-18 13:59:05'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.44251 -3.387191)', '2026-07-18 13:59:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442426 -3.387098)'), GeomFromEWKT('SRID=4674;POINT (-38.44251 -3.387191)'))) / (select extract(epoch from '2026-07-18 13:59:12'::timestamp) - extract(epoch from '2026-07-18 13:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442426 -3.387098)'), GeomFromEWKT('SRID=4674;POINT (-38.44251 -3.387191)'))) / (select extract(epoch from '2026-07-18 13:59:12'::timestamp) - extract(epoch from '2026-07-18 13:59: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'), 47391, 'SRID=4674;POINT (-38.442611 -3.387304)', '2026-07-18 13:59:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44251 -3.387191)'), GeomFromEWKT('SRID=4674;POINT (-38.442611 -3.387304)'))) / (select extract(epoch from '2026-07-18 13:59:19'::timestamp) - extract(epoch from '2026-07-18 13:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44251 -3.387191)'), GeomFromEWKT('SRID=4674;POINT (-38.442611 -3.387304)'))) / (select extract(epoch from '2026-07-18 13:59:19'::timestamp) - extract(epoch from '2026-07-18 13:59: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'), 47391, 'SRID=4674;POINT (-38.442725 -3.387438)', '2026-07-18 13:59:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442611 -3.387304)'), GeomFromEWKT('SRID=4674;POINT (-38.442725 -3.387438)'))) / (select extract(epoch from '2026-07-18 13:59:28'::timestamp) - extract(epoch from '2026-07-18 13:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442611 -3.387304)'), GeomFromEWKT('SRID=4674;POINT (-38.442725 -3.387438)'))) / (select extract(epoch from '2026-07-18 13:59:28'::timestamp) - extract(epoch from '2026-07-18 13:59: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'), 47391, 'SRID=4674;POINT (-38.442822 -3.387546)', '2026-07-18 13:59:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442725 -3.387438)'), GeomFromEWKT('SRID=4674;POINT (-38.442822 -3.387546)'))) / (select extract(epoch from '2026-07-18 13:59:35'::timestamp) - extract(epoch from '2026-07-18 13:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442725 -3.387438)'), GeomFromEWKT('SRID=4674;POINT (-38.442822 -3.387546)'))) / (select extract(epoch from '2026-07-18 13:59:35'::timestamp) - extract(epoch from '2026-07-18 13:59:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.442873 -3.387616)', '2026-07-18 13:59:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442822 -3.387546)'), GeomFromEWKT('SRID=4674;POINT (-38.442873 -3.387616)'))) / (select extract(epoch from '2026-07-18 13:59:40'::timestamp) - extract(epoch from '2026-07-18 13:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442822 -3.387546)'), GeomFromEWKT('SRID=4674;POINT (-38.442873 -3.387616)'))) / (select extract(epoch from '2026-07-18 13:59:40'::timestamp) - extract(epoch from '2026-07-18 13:59: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'), 47391, 'SRID=4674;POINT (-38.442921 -3.387686)', '2026-07-18 13:59:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442873 -3.387616)'), GeomFromEWKT('SRID=4674;POINT (-38.442921 -3.387686)'))) / (select extract(epoch from '2026-07-18 13:59:45'::timestamp) - extract(epoch from '2026-07-18 13:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442873 -3.387616)'), GeomFromEWKT('SRID=4674;POINT (-38.442921 -3.387686)'))) / (select extract(epoch from '2026-07-18 13:59:45'::timestamp) - extract(epoch from '2026-07-18 13:59: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'), 47391, 'SRID=4674;POINT (-38.442931 -3.387696)', '2026-07-18 13:59:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442921 -3.387686)'), GeomFromEWKT('SRID=4674;POINT (-38.442931 -3.387696)'))) / (select extract(epoch from '2026-07-18 13:59:46'::timestamp) - extract(epoch from '2026-07-18 13:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442921 -3.387686)'), GeomFromEWKT('SRID=4674;POINT (-38.442931 -3.387696)'))) / (select extract(epoch from '2026-07-18 13:59:46'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.44297 -3.387713)', '2026-07-18 13:59:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442931 -3.387696)'), GeomFromEWKT('SRID=4674;POINT (-38.44297 -3.387713)'))) / (select extract(epoch from '2026-07-18 13:59:48'::timestamp) - extract(epoch from '2026-07-18 13:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442931 -3.387696)'), GeomFromEWKT('SRID=4674;POINT (-38.44297 -3.387713)'))) / (select extract(epoch from '2026-07-18 13:59:48'::timestamp) - extract(epoch from '2026-07-18 13:59: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'), 47391, 'SRID=4674;POINT (-38.442983 -3.38773)', '2026-07-18 13:59:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44297 -3.387713)'), GeomFromEWKT('SRID=4674;POINT (-38.442983 -3.38773)'))) / (select extract(epoch from '2026-07-18 13:59:49'::timestamp) - extract(epoch from '2026-07-18 13:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44297 -3.387713)'), GeomFromEWKT('SRID=4674;POINT (-38.442983 -3.38773)'))) / (select extract(epoch from '2026-07-18 13:59:49'::timestamp) - extract(epoch from '2026-07-18 13:59: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'), 47391, 'SRID=4674;POINT (-38.443031 -3.387789)', '2026-07-18 13:59:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442983 -3.38773)'), GeomFromEWKT('SRID=4674;POINT (-38.443031 -3.387789)'))) / (select extract(epoch from '2026-07-18 13:59:54'::timestamp) - extract(epoch from '2026-07-18 13:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.442983 -3.38773)'), GeomFromEWKT('SRID=4674;POINT (-38.443031 -3.387789)'))) / (select extract(epoch from '2026-07-18 13:59:54'::timestamp) - extract(epoch from '2026-07-18 13:59:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.443101 -3.387869)', '2026-07-18 13:59:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443031 -3.387789)'), GeomFromEWKT('SRID=4674;POINT (-38.443101 -3.387869)'))) / (select extract(epoch from '2026-07-18 13:59:59'::timestamp) - extract(epoch from '2026-07-18 13:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443031 -3.387789)'), GeomFromEWKT('SRID=4674;POINT (-38.443101 -3.387869)'))) / (select extract(epoch from '2026-07-18 13:59:59'::timestamp) - extract(epoch from '2026-07-18 13:59: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'), 47391, 'SRID=4674;POINT (-38.443177 -3.38795)', '2026-07-18 14:00:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443101 -3.387869)'), GeomFromEWKT('SRID=4674;POINT (-38.443177 -3.38795)'))) / (select extract(epoch from '2026-07-18 14:00:05'::timestamp) - extract(epoch from '2026-07-18 13:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443101 -3.387869)'), GeomFromEWKT('SRID=4674;POINT (-38.443177 -3.38795)'))) / (select extract(epoch from '2026-07-18 14:00:05'::timestamp) - extract(epoch from '2026-07-18 13:59:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.443274 -3.388039)', '2026-07-18 14:00:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443177 -3.38795)'), GeomFromEWKT('SRID=4674;POINT (-38.443274 -3.388039)'))) / (select extract(epoch from '2026-07-18 14:00:12'::timestamp) - extract(epoch from '2026-07-18 14:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443177 -3.38795)'), GeomFromEWKT('SRID=4674;POINT (-38.443274 -3.388039)'))) / (select extract(epoch from '2026-07-18 14:00:12'::timestamp) - extract(epoch from '2026-07-18 14:00: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'), 47391, 'SRID=4674;POINT (-38.443336 -3.388112)', '2026-07-18 14:00:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443274 -3.388039)'), GeomFromEWKT('SRID=4674;POINT (-38.443336 -3.388112)'))) / (select extract(epoch from '2026-07-18 14:00:17'::timestamp) - extract(epoch from '2026-07-18 14:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443274 -3.388039)'), GeomFromEWKT('SRID=4674;POINT (-38.443336 -3.388112)'))) / (select extract(epoch from '2026-07-18 14:00:17'::timestamp) - extract(epoch from '2026-07-18 14:00: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'), 47391, 'SRID=4674;POINT (-38.443398 -3.388172)', '2026-07-18 14:00:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443336 -3.388112)'), GeomFromEWKT('SRID=4674;POINT (-38.443398 -3.388172)'))) / (select extract(epoch from '2026-07-18 14:00:22'::timestamp) - extract(epoch from '2026-07-18 14:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443336 -3.388112)'), GeomFromEWKT('SRID=4674;POINT (-38.443398 -3.388172)'))) / (select extract(epoch from '2026-07-18 14:00:22'::timestamp) - extract(epoch from '2026-07-18 14:00: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'), 47391, 'SRID=4674;POINT (-38.443404 -3.388185)', '2026-07-18 14:00:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443398 -3.388172)'), GeomFromEWKT('SRID=4674;POINT (-38.443404 -3.388185)'))) / (select extract(epoch from '2026-07-18 14:00:23'::timestamp) - extract(epoch from '2026-07-18 14:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443398 -3.388172)'), GeomFromEWKT('SRID=4674;POINT (-38.443404 -3.388185)'))) / (select extract(epoch from '2026-07-18 14:00:23'::timestamp) - extract(epoch from '2026-07-18 14:00: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'), 47391, 'SRID=4674;POINT (-38.443411 -3.388193)', '2026-07-18 14:00:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443404 -3.388185)'), GeomFromEWKT('SRID=4674;POINT (-38.443411 -3.388193)'))) / (select extract(epoch from '2026-07-18 14:00:24'::timestamp) - extract(epoch from '2026-07-18 14:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443404 -3.388185)'), GeomFromEWKT('SRID=4674;POINT (-38.443411 -3.388193)'))) / (select extract(epoch from '2026-07-18 14:00:24'::timestamp) - extract(epoch from '2026-07-18 14:00:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.443454 -3.388242)', '2026-07-18 14:00:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443411 -3.388193)'), GeomFromEWKT('SRID=4674;POINT (-38.443454 -3.388242)'))) / (select extract(epoch from '2026-07-18 14:00:28'::timestamp) - extract(epoch from '2026-07-18 14:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443411 -3.388193)'), GeomFromEWKT('SRID=4674;POINT (-38.443454 -3.388242)'))) / (select extract(epoch from '2026-07-18 14:00:28'::timestamp) - extract(epoch from '2026-07-18 14:00: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'), 47391, 'SRID=4674;POINT (-38.443521 -3.388318)', '2026-07-18 14:00:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443454 -3.388242)'), GeomFromEWKT('SRID=4674;POINT (-38.443521 -3.388318)'))) / (select extract(epoch from '2026-07-18 14:00:34'::timestamp) - extract(epoch from '2026-07-18 14:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443454 -3.388242)'), GeomFromEWKT('SRID=4674;POINT (-38.443521 -3.388318)'))) / (select extract(epoch from '2026-07-18 14:00:34'::timestamp) - extract(epoch from '2026-07-18 14:00: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'), 47391, 'SRID=4674;POINT (-38.443605 -3.388416)', '2026-07-18 14:00:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443521 -3.388318)'), GeomFromEWKT('SRID=4674;POINT (-38.443605 -3.388416)'))) / (select extract(epoch from '2026-07-18 14:00:41'::timestamp) - extract(epoch from '2026-07-18 14:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443521 -3.388318)'), GeomFromEWKT('SRID=4674;POINT (-38.443605 -3.388416)'))) / (select extract(epoch from '2026-07-18 14:00:41'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.443655 -3.388484)', '2026-07-18 14:00:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443605 -3.388416)'), GeomFromEWKT('SRID=4674;POINT (-38.443655 -3.388484)'))) / (select extract(epoch from '2026-07-18 14:00:46'::timestamp) - extract(epoch from '2026-07-18 14:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443605 -3.388416)'), GeomFromEWKT('SRID=4674;POINT (-38.443655 -3.388484)'))) / (select extract(epoch from '2026-07-18 14:00:46'::timestamp) - extract(epoch from '2026-07-18 14:00:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.443731 -3.388579)', '2026-07-18 14:00:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443655 -3.388484)'), GeomFromEWKT('SRID=4674;POINT (-38.443731 -3.388579)'))) / (select extract(epoch from '2026-07-18 14:00:53'::timestamp) - extract(epoch from '2026-07-18 14:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443655 -3.388484)'), GeomFromEWKT('SRID=4674;POINT (-38.443731 -3.388579)'))) / (select extract(epoch from '2026-07-18 14:00:53'::timestamp) - extract(epoch from '2026-07-18 14:00: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'), 47391, 'SRID=4674;POINT (-38.443775 -3.388637)', '2026-07-18 14:00:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443731 -3.388579)'), GeomFromEWKT('SRID=4674;POINT (-38.443775 -3.388637)'))) / (select extract(epoch from '2026-07-18 14:00:58'::timestamp) - extract(epoch from '2026-07-18 14:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443731 -3.388579)'), GeomFromEWKT('SRID=4674;POINT (-38.443775 -3.388637)'))) / (select extract(epoch from '2026-07-18 14:00:58'::timestamp) - extract(epoch from '2026-07-18 14:00: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'), 47391, 'SRID=4674;POINT (-38.443834 -3.388717)', '2026-07-18 14:01:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443775 -3.388637)'), GeomFromEWKT('SRID=4674;POINT (-38.443834 -3.388717)'))) / (select extract(epoch from '2026-07-18 14:01:04'::timestamp) - extract(epoch from '2026-07-18 14:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443775 -3.388637)'), GeomFromEWKT('SRID=4674;POINT (-38.443834 -3.388717)'))) / (select extract(epoch from '2026-07-18 14:01:04'::timestamp) - extract(epoch from '2026-07-18 14:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.443907 -3.388809)', '2026-07-18 14:01:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443834 -3.388717)'), GeomFromEWKT('SRID=4674;POINT (-38.443907 -3.388809)'))) / (select extract(epoch from '2026-07-18 14:01:12'::timestamp) - extract(epoch from '2026-07-18 14:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443834 -3.388717)'), GeomFromEWKT('SRID=4674;POINT (-38.443907 -3.388809)'))) / (select extract(epoch from '2026-07-18 14:01:12'::timestamp) - extract(epoch from '2026-07-18 14:01: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'), 47391, 'SRID=4674;POINT (-38.443987 -3.388884)', '2026-07-18 14:01:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443907 -3.388809)'), GeomFromEWKT('SRID=4674;POINT (-38.443987 -3.388884)'))) / (select extract(epoch from '2026-07-18 14:01:18'::timestamp) - extract(epoch from '2026-07-18 14:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443907 -3.388809)'), GeomFromEWKT('SRID=4674;POINT (-38.443987 -3.388884)'))) / (select extract(epoch from '2026-07-18 14:01:18'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.444056 -3.388951)', '2026-07-18 14:01:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443987 -3.388884)'), GeomFromEWKT('SRID=4674;POINT (-38.444056 -3.388951)'))) / (select extract(epoch from '2026-07-18 14:01:23'::timestamp) - extract(epoch from '2026-07-18 14:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.443987 -3.388884)'), GeomFromEWKT('SRID=4674;POINT (-38.444056 -3.388951)'))) / (select extract(epoch from '2026-07-18 14:01:23'::timestamp) - extract(epoch from '2026-07-18 14:01:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.444088 -3.389001)', '2026-07-18 14:01:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444056 -3.388951)'), GeomFromEWKT('SRID=4674;POINT (-38.444088 -3.389001)'))) / (select extract(epoch from '2026-07-18 14:01:27'::timestamp) - extract(epoch from '2026-07-18 14:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444056 -3.388951)'), GeomFromEWKT('SRID=4674;POINT (-38.444088 -3.389001)'))) / (select extract(epoch from '2026-07-18 14:01:27'::timestamp) - extract(epoch from '2026-07-18 14:01: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'), 47391, 'SRID=4674;POINT (-38.444156 -3.389071)', '2026-07-18 14:01:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444088 -3.389001)'), GeomFromEWKT('SRID=4674;POINT (-38.444156 -3.389071)'))) / (select extract(epoch from '2026-07-18 14:01:32'::timestamp) - extract(epoch from '2026-07-18 14:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444088 -3.389001)'), GeomFromEWKT('SRID=4674;POINT (-38.444156 -3.389071)'))) / (select extract(epoch from '2026-07-18 14:01:32'::timestamp) - extract(epoch from '2026-07-18 14:01:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.44423 -3.389152)', '2026-07-18 14:01:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444156 -3.389071)'), GeomFromEWKT('SRID=4674;POINT (-38.44423 -3.389152)'))) / (select extract(epoch from '2026-07-18 14:01:38'::timestamp) - extract(epoch from '2026-07-18 14:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444156 -3.389071)'), GeomFromEWKT('SRID=4674;POINT (-38.44423 -3.389152)'))) / (select extract(epoch from '2026-07-18 14:01:38'::timestamp) - extract(epoch from '2026-07-18 14:01: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'), 47391, 'SRID=4674;POINT (-38.44424 -3.389166)', '2026-07-18 14:01:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44423 -3.389152)'), GeomFromEWKT('SRID=4674;POINT (-38.44424 -3.389166)'))) / (select extract(epoch from '2026-07-18 14:01:39'::timestamp) - extract(epoch from '2026-07-18 14:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44423 -3.389152)'), GeomFromEWKT('SRID=4674;POINT (-38.44424 -3.389166)'))) / (select extract(epoch from '2026-07-18 14:01:39'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.444264 -3.389204)', '2026-07-18 14:01:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44424 -3.389166)'), GeomFromEWKT('SRID=4674;POINT (-38.444264 -3.389204)'))) / (select extract(epoch from '2026-07-18 14:01:42'::timestamp) - extract(epoch from '2026-07-18 14:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44424 -3.389166)'), GeomFromEWKT('SRID=4674;POINT (-38.444264 -3.389204)'))) / (select extract(epoch from '2026-07-18 14:01:42'::timestamp) - extract(epoch from '2026-07-18 14:01: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'), 47391, 'SRID=4674;POINT (-38.444319 -3.389298)', '2026-07-18 14:01:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444264 -3.389204)'), GeomFromEWKT('SRID=4674;POINT (-38.444319 -3.389298)'))) / (select extract(epoch from '2026-07-18 14:01:49'::timestamp) - extract(epoch from '2026-07-18 14:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444264 -3.389204)'), GeomFromEWKT('SRID=4674;POINT (-38.444319 -3.389298)'))) / (select extract(epoch from '2026-07-18 14:01:49'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.444363 -3.389351)', '2026-07-18 14:01:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444319 -3.389298)'), GeomFromEWKT('SRID=4674;POINT (-38.444363 -3.389351)'))) / (select extract(epoch from '2026-07-18 14:01:53'::timestamp) - extract(epoch from '2026-07-18 14:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444319 -3.389298)'), GeomFromEWKT('SRID=4674;POINT (-38.444363 -3.389351)'))) / (select extract(epoch from '2026-07-18 14:01:53'::timestamp) - extract(epoch from '2026-07-18 14:01:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.44444 -3.389447)', '2026-07-18 14:02:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444363 -3.389351)'), GeomFromEWKT('SRID=4674;POINT (-38.44444 -3.389447)'))) / (select extract(epoch from '2026-07-18 14:02:00'::timestamp) - extract(epoch from '2026-07-18 14:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444363 -3.389351)'), GeomFromEWKT('SRID=4674;POINT (-38.44444 -3.389447)'))) / (select extract(epoch from '2026-07-18 14:02:00'::timestamp) - extract(epoch from '2026-07-18 14:01: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'), 47391, 'SRID=4674;POINT (-38.444487 -3.389508)', '2026-07-18 14:02:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44444 -3.389447)'), GeomFromEWKT('SRID=4674;POINT (-38.444487 -3.389508)'))) / (select extract(epoch from '2026-07-18 14:02:05'::timestamp) - extract(epoch from '2026-07-18 14:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44444 -3.389447)'), GeomFromEWKT('SRID=4674;POINT (-38.444487 -3.389508)'))) / (select extract(epoch from '2026-07-18 14:02:05'::timestamp) - extract(epoch from '2026-07-18 14:02:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.444557 -3.389583)', '2026-07-18 14:02:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444487 -3.389508)'), GeomFromEWKT('SRID=4674;POINT (-38.444557 -3.389583)'))) / (select extract(epoch from '2026-07-18 14:02:11'::timestamp) - extract(epoch from '2026-07-18 14:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444487 -3.389508)'), GeomFromEWKT('SRID=4674;POINT (-38.444557 -3.389583)'))) / (select extract(epoch from '2026-07-18 14:02:11'::timestamp) - extract(epoch from '2026-07-18 14:02:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.444623 -3.389638)', '2026-07-18 14:02:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444557 -3.389583)'), GeomFromEWKT('SRID=4674;POINT (-38.444623 -3.389638)'))) / (select extract(epoch from '2026-07-18 14:02:16'::timestamp) - extract(epoch from '2026-07-18 14:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444557 -3.389583)'), GeomFromEWKT('SRID=4674;POINT (-38.444623 -3.389638)'))) / (select extract(epoch from '2026-07-18 14:02:16'::timestamp) - extract(epoch from '2026-07-18 14:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.44463 -3.389651)', '2026-07-18 14:02:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444623 -3.389638)'), GeomFromEWKT('SRID=4674;POINT (-38.44463 -3.389651)'))) / (select extract(epoch from '2026-07-18 14:02:17'::timestamp) - extract(epoch from '2026-07-18 14:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444623 -3.389638)'), GeomFromEWKT('SRID=4674;POINT (-38.44463 -3.389651)'))) / (select extract(epoch from '2026-07-18 14:02:17'::timestamp) - extract(epoch from '2026-07-18 14:02: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'), 47391, 'SRID=4674;POINT (-38.444636 -3.389657)', '2026-07-18 14:02:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44463 -3.389651)'), GeomFromEWKT('SRID=4674;POINT (-38.444636 -3.389657)'))) / (select extract(epoch from '2026-07-18 14:02:18'::timestamp) - extract(epoch from '2026-07-18 14:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44463 -3.389651)'), GeomFromEWKT('SRID=4674;POINT (-38.444636 -3.389657)'))) / (select extract(epoch from '2026-07-18 14:02:18'::timestamp) - extract(epoch from '2026-07-18 14:02: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'), 47391, 'SRID=4674;POINT (-38.444686 -3.389703)', '2026-07-18 14:02:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444636 -3.389657)'), GeomFromEWKT('SRID=4674;POINT (-38.444686 -3.389703)'))) / (select extract(epoch from '2026-07-18 14:02:22'::timestamp) - extract(epoch from '2026-07-18 14:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444636 -3.389657)'), GeomFromEWKT('SRID=4674;POINT (-38.444686 -3.389703)'))) / (select extract(epoch from '2026-07-18 14:02:22'::timestamp) - extract(epoch from '2026-07-18 14:02: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'), 47391, 'SRID=4674;POINT (-38.444762 -3.38979)', '2026-07-18 14:02:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444686 -3.389703)'), GeomFromEWKT('SRID=4674;POINT (-38.444762 -3.38979)'))) / (select extract(epoch from '2026-07-18 14:02:29'::timestamp) - extract(epoch from '2026-07-18 14:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444686 -3.389703)'), GeomFromEWKT('SRID=4674;POINT (-38.444762 -3.38979)'))) / (select extract(epoch from '2026-07-18 14:02:29'::timestamp) - extract(epoch from '2026-07-18 14:02: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'), 47391, 'SRID=4674;POINT (-38.444809 -3.38986)', '2026-07-18 14:02:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444762 -3.38979)'), GeomFromEWKT('SRID=4674;POINT (-38.444809 -3.38986)'))) / (select extract(epoch from '2026-07-18 14:02:34'::timestamp) - extract(epoch from '2026-07-18 14:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444762 -3.38979)'), GeomFromEWKT('SRID=4674;POINT (-38.444809 -3.38986)'))) / (select extract(epoch from '2026-07-18 14:02:34'::timestamp) - extract(epoch from '2026-07-18 14:02: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'), 47391, 'SRID=4674;POINT (-38.444883 -3.389944)', '2026-07-18 14:02:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444809 -3.38986)'), GeomFromEWKT('SRID=4674;POINT (-38.444883 -3.389944)'))) / (select extract(epoch from '2026-07-18 14:02:39'::timestamp) - extract(epoch from '2026-07-18 14:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444809 -3.38986)'), GeomFromEWKT('SRID=4674;POINT (-38.444883 -3.389944)'))) / (select extract(epoch from '2026-07-18 14:02:39'::timestamp) - extract(epoch from '2026-07-18 14:02: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'), 47391, 'SRID=4674;POINT (-38.444928 -3.389993)', '2026-07-18 14:02:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444883 -3.389944)'), GeomFromEWKT('SRID=4674;POINT (-38.444928 -3.389993)'))) / (select extract(epoch from '2026-07-18 14:02:43'::timestamp) - extract(epoch from '2026-07-18 14:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444883 -3.389944)'), GeomFromEWKT('SRID=4674;POINT (-38.444928 -3.389993)'))) / (select extract(epoch from '2026-07-18 14:02:43'::timestamp) - extract(epoch from '2026-07-18 14:02: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'), 47391, 'SRID=4674;POINT (-38.445007 -3.390084)', '2026-07-18 14:02:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444928 -3.389993)'), GeomFromEWKT('SRID=4674;POINT (-38.445007 -3.390084)'))) / (select extract(epoch from '2026-07-18 14:02:49'::timestamp) - extract(epoch from '2026-07-18 14:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.444928 -3.389993)'), GeomFromEWKT('SRID=4674;POINT (-38.445007 -3.390084)'))) / (select extract(epoch from '2026-07-18 14:02:49'::timestamp) - extract(epoch from '2026-07-18 14:02: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'), 47391, 'SRID=4674;POINT (-38.445094 -3.390181)', '2026-07-18 14:02:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445007 -3.390084)'), GeomFromEWKT('SRID=4674;POINT (-38.445094 -3.390181)'))) / (select extract(epoch from '2026-07-18 14:02:56'::timestamp) - extract(epoch from '2026-07-18 14:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445007 -3.390084)'), GeomFromEWKT('SRID=4674;POINT (-38.445094 -3.390181)'))) / (select extract(epoch from '2026-07-18 14:02:56'::timestamp) - extract(epoch from '2026-07-18 14:02:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.445171 -3.390269)', '2026-07-18 14:03:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445094 -3.390181)'), GeomFromEWKT('SRID=4674;POINT (-38.445171 -3.390269)'))) / (select extract(epoch from '2026-07-18 14:03:03'::timestamp) - extract(epoch from '2026-07-18 14:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445094 -3.390181)'), GeomFromEWKT('SRID=4674;POINT (-38.445171 -3.390269)'))) / (select extract(epoch from '2026-07-18 14:03:03'::timestamp) - extract(epoch from '2026-07-18 14:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.445226 -3.390343)', '2026-07-18 14:03:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445171 -3.390269)'), GeomFromEWKT('SRID=4674;POINT (-38.445226 -3.390343)'))) / (select extract(epoch from '2026-07-18 14:03:09'::timestamp) - extract(epoch from '2026-07-18 14:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445171 -3.390269)'), GeomFromEWKT('SRID=4674;POINT (-38.445226 -3.390343)'))) / (select extract(epoch from '2026-07-18 14:03:09'::timestamp) - extract(epoch from '2026-07-18 14:03:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.445273 -3.390408)', '2026-07-18 14:03:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445226 -3.390343)'), GeomFromEWKT('SRID=4674;POINT (-38.445273 -3.390408)'))) / (select extract(epoch from '2026-07-18 14:03:14'::timestamp) - extract(epoch from '2026-07-18 14:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445226 -3.390343)'), GeomFromEWKT('SRID=4674;POINT (-38.445273 -3.390408)'))) / (select extract(epoch from '2026-07-18 14:03:14'::timestamp) - extract(epoch from '2026-07-18 14:03:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.445351 -3.390478)', '2026-07-18 14:03:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445273 -3.390408)'), GeomFromEWKT('SRID=4674;POINT (-38.445351 -3.390478)'))) / (select extract(epoch from '2026-07-18 14:03:20'::timestamp) - extract(epoch from '2026-07-18 14:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445273 -3.390408)'), GeomFromEWKT('SRID=4674;POINT (-38.445351 -3.390478)'))) / (select extract(epoch from '2026-07-18 14:03:20'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.44537 -3.390507)', '2026-07-18 14:03:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445351 -3.390478)'), GeomFromEWKT('SRID=4674;POINT (-38.44537 -3.390507)'))) / (select extract(epoch from '2026-07-18 14:03:22'::timestamp) - extract(epoch from '2026-07-18 14:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445351 -3.390478)'), GeomFromEWKT('SRID=4674;POINT (-38.44537 -3.390507)'))) / (select extract(epoch from '2026-07-18 14:03:22'::timestamp) - extract(epoch from '2026-07-18 14:03: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'), 47391, 'SRID=4674;POINT (-38.445414 -3.390555)', '2026-07-18 14:03:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44537 -3.390507)'), GeomFromEWKT('SRID=4674;POINT (-38.445414 -3.390555)'))) / (select extract(epoch from '2026-07-18 14:03:25'::timestamp) - extract(epoch from '2026-07-18 14:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44537 -3.390507)'), GeomFromEWKT('SRID=4674;POINT (-38.445414 -3.390555)'))) / (select extract(epoch from '2026-07-18 14:03:25'::timestamp) - extract(epoch from '2026-07-18 14:03:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.445475 -3.390646)', '2026-07-18 14:03:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445414 -3.390555)'), GeomFromEWKT('SRID=4674;POINT (-38.445475 -3.390646)'))) / (select extract(epoch from '2026-07-18 14:03:31'::timestamp) - extract(epoch from '2026-07-18 14:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445414 -3.390555)'), GeomFromEWKT('SRID=4674;POINT (-38.445475 -3.390646)'))) / (select extract(epoch from '2026-07-18 14:03:31'::timestamp) - extract(epoch from '2026-07-18 14:03:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.445529 -3.390739)', '2026-07-18 14:03:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445475 -3.390646)'), GeomFromEWKT('SRID=4674;POINT (-38.445529 -3.390739)'))) / (select extract(epoch from '2026-07-18 14:03:37'::timestamp) - extract(epoch from '2026-07-18 14:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445475 -3.390646)'), GeomFromEWKT('SRID=4674;POINT (-38.445529 -3.390739)'))) / (select extract(epoch from '2026-07-18 14:03:37'::timestamp) - extract(epoch from '2026-07-18 14:03: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'), 47391, 'SRID=4674;POINT (-38.445572 -3.39079)', '2026-07-18 14:03:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445529 -3.390739)'), GeomFromEWKT('SRID=4674;POINT (-38.445572 -3.39079)'))) / (select extract(epoch from '2026-07-18 14:03:41'::timestamp) - extract(epoch from '2026-07-18 14:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445529 -3.390739)'), GeomFromEWKT('SRID=4674;POINT (-38.445572 -3.39079)'))) / (select extract(epoch from '2026-07-18 14:03:41'::timestamp) - extract(epoch from '2026-07-18 14:03: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'), 47391, 'SRID=4674;POINT (-38.445586 -3.3908)', '2026-07-18 14:03:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445572 -3.39079)'), GeomFromEWKT('SRID=4674;POINT (-38.445586 -3.3908)'))) / (select extract(epoch from '2026-07-18 14:03:42'::timestamp) - extract(epoch from '2026-07-18 14:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445572 -3.39079)'), GeomFromEWKT('SRID=4674;POINT (-38.445586 -3.3908)'))) / (select extract(epoch from '2026-07-18 14:03:42'::timestamp) - extract(epoch from '2026-07-18 14:03:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.445622 -3.390859)', '2026-07-18 14:03:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445586 -3.3908)'), GeomFromEWKT('SRID=4674;POINT (-38.445622 -3.390859)'))) / (select extract(epoch from '2026-07-18 14:03:46'::timestamp) - extract(epoch from '2026-07-18 14:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445586 -3.3908)'), GeomFromEWKT('SRID=4674;POINT (-38.445622 -3.390859)'))) / (select extract(epoch from '2026-07-18 14:03:46'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.445675 -3.390912)', '2026-07-18 14:03:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445622 -3.390859)'), GeomFromEWKT('SRID=4674;POINT (-38.445675 -3.390912)'))) / (select extract(epoch from '2026-07-18 14:03:50'::timestamp) - extract(epoch from '2026-07-18 14:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445622 -3.390859)'), GeomFromEWKT('SRID=4674;POINT (-38.445675 -3.390912)'))) / (select extract(epoch from '2026-07-18 14:03:50'::timestamp) - extract(epoch from '2026-07-18 14:03:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.445746 -3.391008)', '2026-07-18 14:03:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445675 -3.390912)'), GeomFromEWKT('SRID=4674;POINT (-38.445746 -3.391008)'))) / (select extract(epoch from '2026-07-18 14:03:57'::timestamp) - extract(epoch from '2026-07-18 14:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445675 -3.390912)'), GeomFromEWKT('SRID=4674;POINT (-38.445746 -3.391008)'))) / (select extract(epoch from '2026-07-18 14:03:57'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.445821 -3.391088)', '2026-07-18 14:04:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445746 -3.391008)'), GeomFromEWKT('SRID=4674;POINT (-38.445821 -3.391088)'))) / (select extract(epoch from '2026-07-18 14:04:04'::timestamp) - extract(epoch from '2026-07-18 14:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445746 -3.391008)'), GeomFromEWKT('SRID=4674;POINT (-38.445821 -3.391088)'))) / (select extract(epoch from '2026-07-18 14:04:04'::timestamp) - extract(epoch from '2026-07-18 14:03:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.445889 -3.391144)', '2026-07-18 14:04:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445821 -3.391088)'), GeomFromEWKT('SRID=4674;POINT (-38.445889 -3.391144)'))) / (select extract(epoch from '2026-07-18 14:04:08'::timestamp) - extract(epoch from '2026-07-18 14:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445821 -3.391088)'), GeomFromEWKT('SRID=4674;POINT (-38.445889 -3.391144)'))) / (select extract(epoch from '2026-07-18 14:04:08'::timestamp) - extract(epoch from '2026-07-18 14:04: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'), 47391, 'SRID=4674;POINT (-38.445898 -3.391153)', '2026-07-18 14:04:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445889 -3.391144)'), GeomFromEWKT('SRID=4674;POINT (-38.445898 -3.391153)'))) / (select extract(epoch from '2026-07-18 14:04:09'::timestamp) - extract(epoch from '2026-07-18 14:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445889 -3.391144)'), GeomFromEWKT('SRID=4674;POINT (-38.445898 -3.391153)'))) / (select extract(epoch from '2026-07-18 14:04:09'::timestamp) - extract(epoch from '2026-07-18 14:04: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'), 47391, 'SRID=4674;POINT (-38.445964 -3.391196)', '2026-07-18 14:04:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445898 -3.391153)'), GeomFromEWKT('SRID=4674;POINT (-38.445964 -3.391196)'))) / (select extract(epoch from '2026-07-18 14:04:13'::timestamp) - extract(epoch from '2026-07-18 14:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445898 -3.391153)'), GeomFromEWKT('SRID=4674;POINT (-38.445964 -3.391196)'))) / (select extract(epoch from '2026-07-18 14:04:13'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.446004 -3.39125)', '2026-07-18 14:04:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445964 -3.391196)'), GeomFromEWKT('SRID=4674;POINT (-38.446004 -3.39125)'))) / (select extract(epoch from '2026-07-18 14:04:17'::timestamp) - extract(epoch from '2026-07-18 14:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.445964 -3.391196)'), GeomFromEWKT('SRID=4674;POINT (-38.446004 -3.39125)'))) / (select extract(epoch from '2026-07-18 14:04:17'::timestamp) - extract(epoch from '2026-07-18 14:04: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'), 47391, 'SRID=4674;POINT (-38.446065 -3.391335)', '2026-07-18 14:04:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446004 -3.39125)'), GeomFromEWKT('SRID=4674;POINT (-38.446065 -3.391335)'))) / (select extract(epoch from '2026-07-18 14:04:23'::timestamp) - extract(epoch from '2026-07-18 14:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446004 -3.39125)'), GeomFromEWKT('SRID=4674;POINT (-38.446065 -3.391335)'))) / (select extract(epoch from '2026-07-18 14:04:23'::timestamp) - extract(epoch from '2026-07-18 14:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.44612 -3.39142)', '2026-07-18 14:04:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446065 -3.391335)'), GeomFromEWKT('SRID=4674;POINT (-38.44612 -3.39142)'))) / (select extract(epoch from '2026-07-18 14:04:29'::timestamp) - extract(epoch from '2026-07-18 14:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446065 -3.391335)'), GeomFromEWKT('SRID=4674;POINT (-38.44612 -3.39142)'))) / (select extract(epoch from '2026-07-18 14:04:29'::timestamp) - extract(epoch from '2026-07-18 14:04: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'), 47391, 'SRID=4674;POINT (-38.446157 -3.391485)', '2026-07-18 14:04:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44612 -3.39142)'), GeomFromEWKT('SRID=4674;POINT (-38.446157 -3.391485)'))) / (select extract(epoch from '2026-07-18 14:04:34'::timestamp) - extract(epoch from '2026-07-18 14:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44612 -3.39142)'), GeomFromEWKT('SRID=4674;POINT (-38.446157 -3.391485)'))) / (select extract(epoch from '2026-07-18 14:04:34'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.446205 -3.391558)', '2026-07-18 14:04:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446157 -3.391485)'), GeomFromEWKT('SRID=4674;POINT (-38.446205 -3.391558)'))) / (select extract(epoch from '2026-07-18 14:04:40'::timestamp) - extract(epoch from '2026-07-18 14:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446157 -3.391485)'), GeomFromEWKT('SRID=4674;POINT (-38.446205 -3.391558)'))) / (select extract(epoch from '2026-07-18 14:04:40'::timestamp) - extract(epoch from '2026-07-18 14:04: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'), 47391, 'SRID=4674;POINT (-38.446225 -3.391581)', '2026-07-18 14:04:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446205 -3.391558)'), GeomFromEWKT('SRID=4674;POINT (-38.446225 -3.391581)'))) / (select extract(epoch from '2026-07-18 14:04:42'::timestamp) - extract(epoch from '2026-07-18 14:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446205 -3.391558)'), GeomFromEWKT('SRID=4674;POINT (-38.446225 -3.391581)'))) / (select extract(epoch from '2026-07-18 14:04:42'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.446254 -3.391606)', '2026-07-18 14:04:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446225 -3.391581)'), GeomFromEWKT('SRID=4674;POINT (-38.446254 -3.391606)'))) / (select extract(epoch from '2026-07-18 14:04:44'::timestamp) - extract(epoch from '2026-07-18 14:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446225 -3.391581)'), GeomFromEWKT('SRID=4674;POINT (-38.446254 -3.391606)'))) / (select extract(epoch from '2026-07-18 14:04:44'::timestamp) - extract(epoch from '2026-07-18 14:04: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'), 47391, 'SRID=4674;POINT (-38.4463 -3.391673)', '2026-07-18 14:04:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446254 -3.391606)'), GeomFromEWKT('SRID=4674;POINT (-38.4463 -3.391673)'))) / (select extract(epoch from '2026-07-18 14:04:49'::timestamp) - extract(epoch from '2026-07-18 14:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446254 -3.391606)'), GeomFromEWKT('SRID=4674;POINT (-38.4463 -3.391673)'))) / (select extract(epoch from '2026-07-18 14:04:49'::timestamp) - extract(epoch from '2026-07-18 14:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.446369 -3.391765)', '2026-07-18 14:04:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4463 -3.391673)'), GeomFromEWKT('SRID=4674;POINT (-38.446369 -3.391765)'))) / (select extract(epoch from '2026-07-18 14:04:55'::timestamp) - extract(epoch from '2026-07-18 14:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4463 -3.391673)'), GeomFromEWKT('SRID=4674;POINT (-38.446369 -3.391765)'))) / (select extract(epoch from '2026-07-18 14:04:55'::timestamp) - extract(epoch from '2026-07-18 14:04:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.446428 -3.391857)', '2026-07-18 14:05:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446369 -3.391765)'), GeomFromEWKT('SRID=4674;POINT (-38.446428 -3.391857)'))) / (select extract(epoch from '2026-07-18 14:05:01'::timestamp) - extract(epoch from '2026-07-18 14:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446369 -3.391765)'), GeomFromEWKT('SRID=4674;POINT (-38.446428 -3.391857)'))) / (select extract(epoch from '2026-07-18 14:05:01'::timestamp) - extract(epoch from '2026-07-18 14:04: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'), 47391, 'SRID=4674;POINT (-38.446487 -3.391939)', '2026-07-18 14:05:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446428 -3.391857)'), GeomFromEWKT('SRID=4674;POINT (-38.446487 -3.391939)'))) / (select extract(epoch from '2026-07-18 14:05:07'::timestamp) - extract(epoch from '2026-07-18 14:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446428 -3.391857)'), GeomFromEWKT('SRID=4674;POINT (-38.446487 -3.391939)'))) / (select extract(epoch from '2026-07-18 14:05:07'::timestamp) - extract(epoch from '2026-07-18 14:05:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.446547 -3.392011)', '2026-07-18 14:05:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446487 -3.391939)'), GeomFromEWKT('SRID=4674;POINT (-38.446547 -3.392011)'))) / (select extract(epoch from '2026-07-18 14:05:12'::timestamp) - extract(epoch from '2026-07-18 14:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446487 -3.391939)'), GeomFromEWKT('SRID=4674;POINT (-38.446547 -3.392011)'))) / (select extract(epoch from '2026-07-18 14:05:12'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.446598 -3.39206)', '2026-07-18 14:05:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446547 -3.392011)'), GeomFromEWKT('SRID=4674;POINT (-38.446598 -3.39206)'))) / (select extract(epoch from '2026-07-18 14:05:17'::timestamp) - extract(epoch from '2026-07-18 14:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446547 -3.392011)'), GeomFromEWKT('SRID=4674;POINT (-38.446598 -3.39206)'))) / (select extract(epoch from '2026-07-18 14:05:17'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.446633 -3.392109)', '2026-07-18 14:05:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446598 -3.39206)'), GeomFromEWKT('SRID=4674;POINT (-38.446633 -3.392109)'))) / (select extract(epoch from '2026-07-18 14:05:21'::timestamp) - extract(epoch from '2026-07-18 14:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446598 -3.39206)'), GeomFromEWKT('SRID=4674;POINT (-38.446633 -3.392109)'))) / (select extract(epoch from '2026-07-18 14:05:21'::timestamp) - extract(epoch from '2026-07-18 14:05:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.446654 -3.392125)', '2026-07-18 14:05:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446633 -3.392109)'), GeomFromEWKT('SRID=4674;POINT (-38.446654 -3.392125)'))) / (select extract(epoch from '2026-07-18 14:05:23'::timestamp) - extract(epoch from '2026-07-18 14:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446633 -3.392109)'), GeomFromEWKT('SRID=4674;POINT (-38.446654 -3.392125)'))) / (select extract(epoch from '2026-07-18 14:05:23'::timestamp) - extract(epoch from '2026-07-18 14:05: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'), 47391, 'SRID=4674;POINT (-38.446714 -3.392205)', '2026-07-18 14:05:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446654 -3.392125)'), GeomFromEWKT('SRID=4674;POINT (-38.446714 -3.392205)'))) / (select extract(epoch from '2026-07-18 14:05:29'::timestamp) - extract(epoch from '2026-07-18 14:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446654 -3.392125)'), GeomFromEWKT('SRID=4674;POINT (-38.446714 -3.392205)'))) / (select extract(epoch from '2026-07-18 14:05:29'::timestamp) - extract(epoch from '2026-07-18 14:05:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.44675 -3.392259)', '2026-07-18 14:05:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446714 -3.392205)'), GeomFromEWKT('SRID=4674;POINT (-38.44675 -3.392259)'))) / (select extract(epoch from '2026-07-18 14:05:33'::timestamp) - extract(epoch from '2026-07-18 14:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446714 -3.392205)'), GeomFromEWKT('SRID=4674;POINT (-38.44675 -3.392259)'))) / (select extract(epoch from '2026-07-18 14:05:33'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.446776 -3.392275)', '2026-07-18 14:05:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44675 -3.392259)'), GeomFromEWKT('SRID=4674;POINT (-38.446776 -3.392275)'))) / (select extract(epoch from '2026-07-18 14:05:35'::timestamp) - extract(epoch from '2026-07-18 14:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44675 -3.392259)'), GeomFromEWKT('SRID=4674;POINT (-38.446776 -3.392275)'))) / (select extract(epoch from '2026-07-18 14:05:35'::timestamp) - extract(epoch from '2026-07-18 14:05:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.446838 -3.392335)', '2026-07-18 14:05:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446776 -3.392275)'), GeomFromEWKT('SRID=4674;POINT (-38.446838 -3.392335)'))) / (select extract(epoch from '2026-07-18 14:05:40'::timestamp) - extract(epoch from '2026-07-18 14:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446776 -3.392275)'), GeomFromEWKT('SRID=4674;POINT (-38.446838 -3.392335)'))) / (select extract(epoch from '2026-07-18 14:05:40'::timestamp) - extract(epoch from '2026-07-18 14:05: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'), 47391, 'SRID=4674;POINT (-38.446851 -3.39235)', '2026-07-18 14:05:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446838 -3.392335)'), GeomFromEWKT('SRID=4674;POINT (-38.446851 -3.39235)'))) / (select extract(epoch from '2026-07-18 14:05:41'::timestamp) - extract(epoch from '2026-07-18 14:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446838 -3.392335)'), GeomFromEWKT('SRID=4674;POINT (-38.446851 -3.39235)'))) / (select extract(epoch from '2026-07-18 14:05:41'::timestamp) - extract(epoch from '2026-07-18 14:05:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.446875 -3.392385)', '2026-07-18 14:05:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446851 -3.39235)'), GeomFromEWKT('SRID=4674;POINT (-38.446875 -3.392385)'))) / (select extract(epoch from '2026-07-18 14:05:44'::timestamp) - extract(epoch from '2026-07-18 14:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446851 -3.39235)'), GeomFromEWKT('SRID=4674;POINT (-38.446875 -3.392385)'))) / (select extract(epoch from '2026-07-18 14:05:44'::timestamp) - extract(epoch from '2026-07-18 14:05: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'), 47391, 'SRID=4674;POINT (-38.446952 -3.392448)', '2026-07-18 14:05:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446875 -3.392385)'), GeomFromEWKT('SRID=4674;POINT (-38.446952 -3.392448)'))) / (select extract(epoch from '2026-07-18 14:05:49'::timestamp) - extract(epoch from '2026-07-18 14:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446875 -3.392385)'), GeomFromEWKT('SRID=4674;POINT (-38.446952 -3.392448)'))) / (select extract(epoch from '2026-07-18 14:05:49'::timestamp) - extract(epoch from '2026-07-18 14:05: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'), 47391, 'SRID=4674;POINT (-38.446975 -3.392471)', '2026-07-18 14:05:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446952 -3.392448)'), GeomFromEWKT('SRID=4674;POINT (-38.446975 -3.392471)'))) / (select extract(epoch from '2026-07-18 14:05:52'::timestamp) - extract(epoch from '2026-07-18 14:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446952 -3.392448)'), GeomFromEWKT('SRID=4674;POINT (-38.446975 -3.392471)'))) / (select extract(epoch from '2026-07-18 14:05:52'::timestamp) - extract(epoch from '2026-07-18 14:05: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'), 47391, 'SRID=4674;POINT (-38.447011 -3.3925)', '2026-07-18 14:05:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446975 -3.392471)'), GeomFromEWKT('SRID=4674;POINT (-38.447011 -3.3925)'))) / (select extract(epoch from '2026-07-18 14:05:54'::timestamp) - extract(epoch from '2026-07-18 14:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.446975 -3.392471)'), GeomFromEWKT('SRID=4674;POINT (-38.447011 -3.3925)'))) / (select extract(epoch from '2026-07-18 14:05:54'::timestamp) - extract(epoch from '2026-07-18 14:05: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'), 47391, 'SRID=4674;POINT (-38.447052 -3.39256)', '2026-07-18 14:05:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447011 -3.3925)'), GeomFromEWKT('SRID=4674;POINT (-38.447052 -3.39256)'))) / (select extract(epoch from '2026-07-18 14:05:58'::timestamp) - extract(epoch from '2026-07-18 14:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447011 -3.3925)'), GeomFromEWKT('SRID=4674;POINT (-38.447052 -3.39256)'))) / (select extract(epoch from '2026-07-18 14:05:58'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.447131 -3.392658)', '2026-07-18 14:06:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447052 -3.39256)'), GeomFromEWKT('SRID=4674;POINT (-38.447131 -3.392658)'))) / (select extract(epoch from '2026-07-18 14:06:04'::timestamp) - extract(epoch from '2026-07-18 14:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447052 -3.39256)'), GeomFromEWKT('SRID=4674;POINT (-38.447131 -3.392658)'))) / (select extract(epoch from '2026-07-18 14:06:04'::timestamp) - extract(epoch from '2026-07-18 14:05: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'), 47391, 'SRID=4674;POINT (-38.447195 -3.392747)', '2026-07-18 14:06:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447131 -3.392658)'), GeomFromEWKT('SRID=4674;POINT (-38.447195 -3.392747)'))) / (select extract(epoch from '2026-07-18 14:06:09'::timestamp) - extract(epoch from '2026-07-18 14:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447131 -3.392658)'), GeomFromEWKT('SRID=4674;POINT (-38.447195 -3.392747)'))) / (select extract(epoch from '2026-07-18 14:06:09'::timestamp) - extract(epoch from '2026-07-18 14:06: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'), 47391, 'SRID=4674;POINT (-38.447238 -3.392826)', '2026-07-18 14:06:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447195 -3.392747)'), GeomFromEWKT('SRID=4674;POINT (-38.447238 -3.392826)'))) / (select extract(epoch from '2026-07-18 14:06:14'::timestamp) - extract(epoch from '2026-07-18 14:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447195 -3.392747)'), GeomFromEWKT('SRID=4674;POINT (-38.447238 -3.392826)'))) / (select extract(epoch from '2026-07-18 14:06:14'::timestamp) - extract(epoch from '2026-07-18 14:06:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.447291 -3.392904)', '2026-07-18 14:06:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447238 -3.392826)'), GeomFromEWKT('SRID=4674;POINT (-38.447291 -3.392904)'))) / (select extract(epoch from '2026-07-18 14:06:19'::timestamp) - extract(epoch from '2026-07-18 14:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447238 -3.392826)'), GeomFromEWKT('SRID=4674;POINT (-38.447291 -3.392904)'))) / (select extract(epoch from '2026-07-18 14:06:19'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.447369 -3.392999)', '2026-07-18 14:06:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447291 -3.392904)'), GeomFromEWKT('SRID=4674;POINT (-38.447369 -3.392999)'))) / (select extract(epoch from '2026-07-18 14:06:25'::timestamp) - extract(epoch from '2026-07-18 14:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447291 -3.392904)'), GeomFromEWKT('SRID=4674;POINT (-38.447369 -3.392999)'))) / (select extract(epoch from '2026-07-18 14:06:25'::timestamp) - extract(epoch from '2026-07-18 14:06: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'), 47391, 'SRID=4674;POINT (-38.447422 -3.393085)', '2026-07-18 14:06:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447369 -3.392999)'), GeomFromEWKT('SRID=4674;POINT (-38.447422 -3.393085)'))) / (select extract(epoch from '2026-07-18 14:06:31'::timestamp) - extract(epoch from '2026-07-18 14:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447369 -3.392999)'), GeomFromEWKT('SRID=4674;POINT (-38.447422 -3.393085)'))) / (select extract(epoch from '2026-07-18 14:06:31'::timestamp) - extract(epoch from '2026-07-18 14:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.447481 -3.393145)', '2026-07-18 14:06:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447422 -3.393085)'), GeomFromEWKT('SRID=4674;POINT (-38.447481 -3.393145)'))) / (select extract(epoch from '2026-07-18 14:06:36'::timestamp) - extract(epoch from '2026-07-18 14:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447422 -3.393085)'), GeomFromEWKT('SRID=4674;POINT (-38.447481 -3.393145)'))) / (select extract(epoch from '2026-07-18 14:06:36'::timestamp) - extract(epoch from '2026-07-18 14:06: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'), 47391, 'SRID=4674;POINT (-38.447499 -3.393155)', '2026-07-18 14:06:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447481 -3.393145)'), GeomFromEWKT('SRID=4674;POINT (-38.447499 -3.393155)'))) / (select extract(epoch from '2026-07-18 14:06:37'::timestamp) - extract(epoch from '2026-07-18 14:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447481 -3.393145)'), GeomFromEWKT('SRID=4674;POINT (-38.447499 -3.393155)'))) / (select extract(epoch from '2026-07-18 14:06:37'::timestamp) - extract(epoch from '2026-07-18 14:06: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'), 47391, 'SRID=4674;POINT (-38.447557 -3.393219)', '2026-07-18 14:06:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447499 -3.393155)'), GeomFromEWKT('SRID=4674;POINT (-38.447557 -3.393219)'))) / (select extract(epoch from '2026-07-18 14:06:42'::timestamp) - extract(epoch from '2026-07-18 14:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447499 -3.393155)'), GeomFromEWKT('SRID=4674;POINT (-38.447557 -3.393219)'))) / (select extract(epoch from '2026-07-18 14:06:42'::timestamp) - extract(epoch from '2026-07-18 14:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.447624 -3.393292)', '2026-07-18 14:06:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447557 -3.393219)'), GeomFromEWKT('SRID=4674;POINT (-38.447624 -3.393292)'))) / (select extract(epoch from '2026-07-18 14:06:48'::timestamp) - extract(epoch from '2026-07-18 14:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447557 -3.393219)'), GeomFromEWKT('SRID=4674;POINT (-38.447624 -3.393292)'))) / (select extract(epoch from '2026-07-18 14:06:48'::timestamp) - extract(epoch from '2026-07-18 14:06: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'), 47391, 'SRID=4674;POINT (-38.447633 -3.393312)', '2026-07-18 14:06:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447624 -3.393292)'), GeomFromEWKT('SRID=4674;POINT (-38.447633 -3.393312)'))) / (select extract(epoch from '2026-07-18 14:06:49'::timestamp) - extract(epoch from '2026-07-18 14:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447624 -3.393292)'), GeomFromEWKT('SRID=4674;POINT (-38.447633 -3.393312)'))) / (select extract(epoch from '2026-07-18 14:06:49'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.447686 -3.393366)', '2026-07-18 14:06:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447633 -3.393312)'), GeomFromEWKT('SRID=4674;POINT (-38.447686 -3.393366)'))) / (select extract(epoch from '2026-07-18 14:06:53'::timestamp) - extract(epoch from '2026-07-18 14:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447633 -3.393312)'), GeomFromEWKT('SRID=4674;POINT (-38.447686 -3.393366)'))) / (select extract(epoch from '2026-07-18 14:06:53'::timestamp) - extract(epoch from '2026-07-18 14:06:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.447693 -3.393375)', '2026-07-18 14:06:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447686 -3.393366)'), GeomFromEWKT('SRID=4674;POINT (-38.447693 -3.393375)'))) / (select extract(epoch from '2026-07-18 14:06:54'::timestamp) - extract(epoch from '2026-07-18 14:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447686 -3.393366)'), GeomFromEWKT('SRID=4674;POINT (-38.447693 -3.393375)'))) / (select extract(epoch from '2026-07-18 14:06:54'::timestamp) - extract(epoch from '2026-07-18 14:06: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'), 47391, 'SRID=4674;POINT (-38.44773 -3.393426)', '2026-07-18 14:06:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447693 -3.393375)'), GeomFromEWKT('SRID=4674;POINT (-38.44773 -3.393426)'))) / (select extract(epoch from '2026-07-18 14:06:58'::timestamp) - extract(epoch from '2026-07-18 14:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447693 -3.393375)'), GeomFromEWKT('SRID=4674;POINT (-38.44773 -3.393426)'))) / (select extract(epoch from '2026-07-18 14:06:58'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.447803 -3.393513)', '2026-07-18 14:07:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44773 -3.393426)'), GeomFromEWKT('SRID=4674;POINT (-38.447803 -3.393513)'))) / (select extract(epoch from '2026-07-18 14:07:04'::timestamp) - extract(epoch from '2026-07-18 14:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44773 -3.393426)'), GeomFromEWKT('SRID=4674;POINT (-38.447803 -3.393513)'))) / (select extract(epoch from '2026-07-18 14:07:04'::timestamp) - extract(epoch from '2026-07-18 14:06: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'), 47391, 'SRID=4674;POINT (-38.447862 -3.393591)', '2026-07-18 14:07:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447803 -3.393513)'), GeomFromEWKT('SRID=4674;POINT (-38.447862 -3.393591)'))) / (select extract(epoch from '2026-07-18 14:07:09'::timestamp) - extract(epoch from '2026-07-18 14:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447803 -3.393513)'), GeomFromEWKT('SRID=4674;POINT (-38.447862 -3.393591)'))) / (select extract(epoch from '2026-07-18 14:07:09'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.447913 -3.393676)', '2026-07-18 14:07:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447862 -3.393591)'), GeomFromEWKT('SRID=4674;POINT (-38.447913 -3.393676)'))) / (select extract(epoch from '2026-07-18 14:07:14'::timestamp) - extract(epoch from '2026-07-18 14:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447862 -3.393591)'), GeomFromEWKT('SRID=4674;POINT (-38.447913 -3.393676)'))) / (select extract(epoch from '2026-07-18 14:07:14'::timestamp) - extract(epoch from '2026-07-18 14:07: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'), 47391, 'SRID=4674;POINT (-38.447954 -3.393743)', '2026-07-18 14:07:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447913 -3.393676)'), GeomFromEWKT('SRID=4674;POINT (-38.447954 -3.393743)'))) / (select extract(epoch from '2026-07-18 14:07:18'::timestamp) - extract(epoch from '2026-07-18 14:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447913 -3.393676)'), GeomFromEWKT('SRID=4674;POINT (-38.447954 -3.393743)'))) / (select extract(epoch from '2026-07-18 14:07:18'::timestamp) - extract(epoch from '2026-07-18 14:07: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'), 47391, 'SRID=4674;POINT (-38.447956 -3.393763)', '2026-07-18 14:07:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447954 -3.393743)'), GeomFromEWKT('SRID=4674;POINT (-38.447956 -3.393763)'))) / (select extract(epoch from '2026-07-18 14:07:19'::timestamp) - extract(epoch from '2026-07-18 14:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447954 -3.393743)'), GeomFromEWKT('SRID=4674;POINT (-38.447956 -3.393763)'))) / (select extract(epoch from '2026-07-18 14:07:19'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.447967 -3.393771)', '2026-07-18 14:07:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447956 -3.393763)'), GeomFromEWKT('SRID=4674;POINT (-38.447967 -3.393771)'))) / (select extract(epoch from '2026-07-18 14:07:20'::timestamp) - extract(epoch from '2026-07-18 14:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447956 -3.393763)'), GeomFromEWKT('SRID=4674;POINT (-38.447967 -3.393771)'))) / (select extract(epoch from '2026-07-18 14:07:20'::timestamp) - extract(epoch from '2026-07-18 14:07: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'), 47391, 'SRID=4674;POINT (-38.447999 -3.393818)', '2026-07-18 14:07:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447967 -3.393771)'), GeomFromEWKT('SRID=4674;POINT (-38.447999 -3.393818)'))) / (select extract(epoch from '2026-07-18 14:07:23'::timestamp) - extract(epoch from '2026-07-18 14:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447967 -3.393771)'), GeomFromEWKT('SRID=4674;POINT (-38.447999 -3.393818)'))) / (select extract(epoch from '2026-07-18 14:07:23'::timestamp) - extract(epoch from '2026-07-18 14:07: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'), 47391, 'SRID=4674;POINT (-38.448055 -3.393904)', '2026-07-18 14:07:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447999 -3.393818)'), GeomFromEWKT('SRID=4674;POINT (-38.448055 -3.393904)'))) / (select extract(epoch from '2026-07-18 14:07:29'::timestamp) - extract(epoch from '2026-07-18 14:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.447999 -3.393818)'), GeomFromEWKT('SRID=4674;POINT (-38.448055 -3.393904)'))) / (select extract(epoch from '2026-07-18 14:07:29'::timestamp) - extract(epoch from '2026-07-18 14:07:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.448119 -3.393978)', '2026-07-18 14:07:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448055 -3.393904)'), GeomFromEWKT('SRID=4674;POINT (-38.448119 -3.393978)'))) / (select extract(epoch from '2026-07-18 14:07:34'::timestamp) - extract(epoch from '2026-07-18 14:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448055 -3.393904)'), GeomFromEWKT('SRID=4674;POINT (-38.448119 -3.393978)'))) / (select extract(epoch from '2026-07-18 14:07:34'::timestamp) - extract(epoch from '2026-07-18 14:07: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'), 47391, 'SRID=4674;POINT (-38.448188 -3.394082)', '2026-07-18 14:07:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448119 -3.393978)'), GeomFromEWKT('SRID=4674;POINT (-38.448188 -3.394082)'))) / (select extract(epoch from '2026-07-18 14:07:40'::timestamp) - extract(epoch from '2026-07-18 14:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448119 -3.393978)'), GeomFromEWKT('SRID=4674;POINT (-38.448188 -3.394082)'))) / (select extract(epoch from '2026-07-18 14:07:40'::timestamp) - extract(epoch from '2026-07-18 14:07: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'), 47391, 'SRID=4674;POINT (-38.4482 -3.394112)', '2026-07-18 14:07:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448188 -3.394082)'), GeomFromEWKT('SRID=4674;POINT (-38.4482 -3.394112)'))) / (select extract(epoch from '2026-07-18 14:07:42'::timestamp) - extract(epoch from '2026-07-18 14:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448188 -3.394082)'), GeomFromEWKT('SRID=4674;POINT (-38.4482 -3.394112)'))) / (select extract(epoch from '2026-07-18 14:07:42'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.448235 -3.394154)', '2026-07-18 14:07:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4482 -3.394112)'), GeomFromEWKT('SRID=4674;POINT (-38.448235 -3.394154)'))) / (select extract(epoch from '2026-07-18 14:07:45'::timestamp) - extract(epoch from '2026-07-18 14:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4482 -3.394112)'), GeomFromEWKT('SRID=4674;POINT (-38.448235 -3.394154)'))) / (select extract(epoch from '2026-07-18 14:07:45'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.448273 -3.394228)', '2026-07-18 14:07:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448235 -3.394154)'), GeomFromEWKT('SRID=4674;POINT (-38.448273 -3.394228)'))) / (select extract(epoch from '2026-07-18 14:07:50'::timestamp) - extract(epoch from '2026-07-18 14:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448235 -3.394154)'), GeomFromEWKT('SRID=4674;POINT (-38.448273 -3.394228)'))) / (select extract(epoch from '2026-07-18 14:07:50'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.448323 -3.394323)', '2026-07-18 14:07:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448273 -3.394228)'), GeomFromEWKT('SRID=4674;POINT (-38.448323 -3.394323)'))) / (select extract(epoch from '2026-07-18 14:07:57'::timestamp) - extract(epoch from '2026-07-18 14:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448273 -3.394228)'), GeomFromEWKT('SRID=4674;POINT (-38.448323 -3.394323)'))) / (select extract(epoch from '2026-07-18 14:07:57'::timestamp) - extract(epoch from '2026-07-18 14:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.448388 -3.394401)', '2026-07-18 14:08:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448323 -3.394323)'), GeomFromEWKT('SRID=4674;POINT (-38.448388 -3.394401)'))) / (select extract(epoch from '2026-07-18 14:08:04'::timestamp) - extract(epoch from '2026-07-18 14:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448323 -3.394323)'), GeomFromEWKT('SRID=4674;POINT (-38.448388 -3.394401)'))) / (select extract(epoch from '2026-07-18 14:08:04'::timestamp) - extract(epoch from '2026-07-18 14:07: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'), 47391, 'SRID=4674;POINT (-38.44846 -3.39448)', '2026-07-18 14:08:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448388 -3.394401)'), GeomFromEWKT('SRID=4674;POINT (-38.44846 -3.39448)'))) / (select extract(epoch from '2026-07-18 14:08:10'::timestamp) - extract(epoch from '2026-07-18 14:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448388 -3.394401)'), GeomFromEWKT('SRID=4674;POINT (-38.44846 -3.39448)'))) / (select extract(epoch from '2026-07-18 14:08:10'::timestamp) - extract(epoch from '2026-07-18 14:08:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.448538 -3.394584)', '2026-07-18 14:08:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44846 -3.39448)'), GeomFromEWKT('SRID=4674;POINT (-38.448538 -3.394584)'))) / (select extract(epoch from '2026-07-18 14:08:17'::timestamp) - extract(epoch from '2026-07-18 14:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.44846 -3.39448)'), GeomFromEWKT('SRID=4674;POINT (-38.448538 -3.394584)'))) / (select extract(epoch from '2026-07-18 14:08:17'::timestamp) - extract(epoch from '2026-07-18 14:08: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'), 47391, 'SRID=4674;POINT (-38.448598 -3.394678)', '2026-07-18 14:08:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448538 -3.394584)'), GeomFromEWKT('SRID=4674;POINT (-38.448598 -3.394678)'))) / (select extract(epoch from '2026-07-18 14:08:23'::timestamp) - extract(epoch from '2026-07-18 14:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448538 -3.394584)'), GeomFromEWKT('SRID=4674;POINT (-38.448598 -3.394678)'))) / (select extract(epoch from '2026-07-18 14:08:23'::timestamp) - extract(epoch from '2026-07-18 14:08: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'), 47391, 'SRID=4674;POINT (-38.448704 -3.39483)', '2026-07-18 14:08:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448598 -3.394678)'), GeomFromEWKT('SRID=4674;POINT (-38.448704 -3.39483)'))) / (select extract(epoch from '2026-07-18 14:08:32'::timestamp) - extract(epoch from '2026-07-18 14:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448598 -3.394678)'), GeomFromEWKT('SRID=4674;POINT (-38.448704 -3.39483)'))) / (select extract(epoch from '2026-07-18 14:08:32'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.448765 -3.394892)', '2026-07-18 14:08:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448704 -3.39483)'), GeomFromEWKT('SRID=4674;POINT (-38.448765 -3.394892)'))) / (select extract(epoch from '2026-07-18 14:08:37'::timestamp) - extract(epoch from '2026-07-18 14:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448704 -3.39483)'), GeomFromEWKT('SRID=4674;POINT (-38.448765 -3.394892)'))) / (select extract(epoch from '2026-07-18 14:08:37'::timestamp) - extract(epoch from '2026-07-18 14:08: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'), 47391, 'SRID=4674;POINT (-38.448827 -3.394974)', '2026-07-18 14:08:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448765 -3.394892)'), GeomFromEWKT('SRID=4674;POINT (-38.448827 -3.394974)'))) / (select extract(epoch from '2026-07-18 14:08:43'::timestamp) - extract(epoch from '2026-07-18 14:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448765 -3.394892)'), GeomFromEWKT('SRID=4674;POINT (-38.448827 -3.394974)'))) / (select extract(epoch from '2026-07-18 14:08:43'::timestamp) - extract(epoch from '2026-07-18 14:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.448851 -3.395001)', '2026-07-18 14:08:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448827 -3.394974)'), GeomFromEWKT('SRID=4674;POINT (-38.448851 -3.395001)'))) / (select extract(epoch from '2026-07-18 14:08:45'::timestamp) - extract(epoch from '2026-07-18 14:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448827 -3.394974)'), GeomFromEWKT('SRID=4674;POINT (-38.448851 -3.395001)'))) / (select extract(epoch from '2026-07-18 14:08:45'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.448889 -3.395046)', '2026-07-18 14:08:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448851 -3.395001)'), GeomFromEWKT('SRID=4674;POINT (-38.448889 -3.395046)'))) / (select extract(epoch from '2026-07-18 14:08:48'::timestamp) - extract(epoch from '2026-07-18 14:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448851 -3.395001)'), GeomFromEWKT('SRID=4674;POINT (-38.448889 -3.395046)'))) / (select extract(epoch from '2026-07-18 14:08:48'::timestamp) - extract(epoch from '2026-07-18 14:08: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'), 47391, 'SRID=4674;POINT (-38.448965 -3.395136)', '2026-07-18 14:08:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448889 -3.395046)'), GeomFromEWKT('SRID=4674;POINT (-38.448965 -3.395136)'))) / (select extract(epoch from '2026-07-18 14:08:54'::timestamp) - extract(epoch from '2026-07-18 14:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448889 -3.395046)'), GeomFromEWKT('SRID=4674;POINT (-38.448965 -3.395136)'))) / (select extract(epoch from '2026-07-18 14:08:54'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.449033 -3.395208)', '2026-07-18 14:08:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448965 -3.395136)'), GeomFromEWKT('SRID=4674;POINT (-38.449033 -3.395208)'))) / (select extract(epoch from '2026-07-18 14:08:59'::timestamp) - extract(epoch from '2026-07-18 14:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.448965 -3.395136)'), GeomFromEWKT('SRID=4674;POINT (-38.449033 -3.395208)'))) / (select extract(epoch from '2026-07-18 14:08:59'::timestamp) - extract(epoch from '2026-07-18 14:08: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'), 47391, 'SRID=4674;POINT (-38.449104 -3.395292)', '2026-07-18 14:09:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449033 -3.395208)'), GeomFromEWKT('SRID=4674;POINT (-38.449104 -3.395292)'))) / (select extract(epoch from '2026-07-18 14:09:05'::timestamp) - extract(epoch from '2026-07-18 14:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449033 -3.395208)'), GeomFromEWKT('SRID=4674;POINT (-38.449104 -3.395292)'))) / (select extract(epoch from '2026-07-18 14:09:05'::timestamp) - extract(epoch from '2026-07-18 14:08:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.449181 -3.395361)', '2026-07-18 14:09:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449104 -3.395292)'), GeomFromEWKT('SRID=4674;POINT (-38.449181 -3.395361)'))) / (select extract(epoch from '2026-07-18 14:09:10'::timestamp) - extract(epoch from '2026-07-18 14:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449104 -3.395292)'), GeomFromEWKT('SRID=4674;POINT (-38.449181 -3.395361)'))) / (select extract(epoch from '2026-07-18 14:09:10'::timestamp) - extract(epoch from '2026-07-18 14:09: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'), 47391, 'SRID=4674;POINT (-38.449226 -3.395417)', '2026-07-18 14:09:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449181 -3.395361)'), GeomFromEWKT('SRID=4674;POINT (-38.449226 -3.395417)'))) / (select extract(epoch from '2026-07-18 14:09:14'::timestamp) - extract(epoch from '2026-07-18 14:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449181 -3.395361)'), GeomFromEWKT('SRID=4674;POINT (-38.449226 -3.395417)'))) / (select extract(epoch from '2026-07-18 14:09:14'::timestamp) - extract(epoch from '2026-07-18 14:09:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.449293 -3.395516)', '2026-07-18 14:09:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449226 -3.395417)'), GeomFromEWKT('SRID=4674;POINT (-38.449293 -3.395516)'))) / (select extract(epoch from '2026-07-18 14:09:20'::timestamp) - extract(epoch from '2026-07-18 14:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449226 -3.395417)'), GeomFromEWKT('SRID=4674;POINT (-38.449293 -3.395516)'))) / (select extract(epoch from '2026-07-18 14:09:20'::timestamp) - extract(epoch from '2026-07-18 14:09: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'), 47391, 'SRID=4674;POINT (-38.449369 -3.395614)', '2026-07-18 14:09:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449293 -3.395516)'), GeomFromEWKT('SRID=4674;POINT (-38.449369 -3.395614)'))) / (select extract(epoch from '2026-07-18 14:09:26'::timestamp) - extract(epoch from '2026-07-18 14:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449293 -3.395516)'), GeomFromEWKT('SRID=4674;POINT (-38.449369 -3.395614)'))) / (select extract(epoch from '2026-07-18 14:09:26'::timestamp) - extract(epoch from '2026-07-18 14:09:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.449432 -3.395708)', '2026-07-18 14:09:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449369 -3.395614)'), GeomFromEWKT('SRID=4674;POINT (-38.449432 -3.395708)'))) / (select extract(epoch from '2026-07-18 14:09:32'::timestamp) - extract(epoch from '2026-07-18 14:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449369 -3.395614)'), GeomFromEWKT('SRID=4674;POINT (-38.449432 -3.395708)'))) / (select extract(epoch from '2026-07-18 14:09:32'::timestamp) - extract(epoch from '2026-07-18 14:09:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.449492 -3.395781)', '2026-07-18 14:09:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449432 -3.395708)'), GeomFromEWKT('SRID=4674;POINT (-38.449492 -3.395781)'))) / (select extract(epoch from '2026-07-18 14:09:37'::timestamp) - extract(epoch from '2026-07-18 14:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.449432 -3.395708)'), GeomFromEWKT('SRID=4674;POINT (-38.449492 -3.395781)'))) / (select extract(epoch from '2026-07-18 14:09:37'::timestamp) - extract(epoch from '2026-07-18 14:09:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
