 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.608957 -3.210397)', '2026-05-29 09:20:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.608854 -3.21048)'), GeomFromEWKT('SRID=4674;POINT (-38.608957 -3.210397)'))) / (select extract(epoch from '2026-05-29 09:20:30'::timestamp) - extract(epoch from '2026-05-29 09:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.608854 -3.21048)'), GeomFromEWKT('SRID=4674;POINT (-38.608957 -3.210397)'))) / (select extract(epoch from '2026-05-29 09:20:30'::timestamp) - extract(epoch from '2026-05-29 09:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.609072 -3.210295)', '2026-05-29 09:20:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.608957 -3.210397)'), GeomFromEWKT('SRID=4674;POINT (-38.609072 -3.210295)'))) / (select extract(epoch from '2026-05-29 09:20:37'::timestamp) - extract(epoch from '2026-05-29 09:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.608957 -3.210397)'), GeomFromEWKT('SRID=4674;POINT (-38.609072 -3.210295)'))) / (select extract(epoch from '2026-05-29 09:20:37'::timestamp) - extract(epoch from '2026-05-29 09:20: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'), 46535, 'SRID=4674;POINT (-38.609153 -3.210208)', '2026-05-29 09:20:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.609072 -3.210295)'), GeomFromEWKT('SRID=4674;POINT (-38.609153 -3.210208)'))) / (select extract(epoch from '2026-05-29 09:20:42'::timestamp) - extract(epoch from '2026-05-29 09:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.609072 -3.210295)'), GeomFromEWKT('SRID=4674;POINT (-38.609153 -3.210208)'))) / (select extract(epoch from '2026-05-29 09:20:42'::timestamp) - extract(epoch from '2026-05-29 09:20: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'), 46535, 'SRID=4674;POINT (-38.609216 -3.210119)', '2026-05-29 09:20:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.609153 -3.210208)'), GeomFromEWKT('SRID=4674;POINT (-38.609216 -3.210119)'))) / (select extract(epoch from '2026-05-29 09:20:47'::timestamp) - extract(epoch from '2026-05-29 09:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.609153 -3.210208)'), GeomFromEWKT('SRID=4674;POINT (-38.609216 -3.210119)'))) / (select extract(epoch from '2026-05-29 09:20:47'::timestamp) - extract(epoch from '2026-05-29 09:20:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.6093 -3.210019)', '2026-05-29 09:20:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.609216 -3.210119)'), GeomFromEWKT('SRID=4674;POINT (-38.6093 -3.210019)'))) / (select extract(epoch from '2026-05-29 09:20:52'::timestamp) - extract(epoch from '2026-05-29 09:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.609216 -3.210119)'), GeomFromEWKT('SRID=4674;POINT (-38.6093 -3.210019)'))) / (select extract(epoch from '2026-05-29 09:20:52'::timestamp) - extract(epoch from '2026-05-29 09:20:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.609431 -3.209901)', '2026-05-29 09:20:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6093 -3.210019)'), GeomFromEWKT('SRID=4674;POINT (-38.609431 -3.209901)'))) / (select extract(epoch from '2026-05-29 09:20:59'::timestamp) - extract(epoch from '2026-05-29 09:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6093 -3.210019)'), GeomFromEWKT('SRID=4674;POINT (-38.609431 -3.209901)'))) / (select extract(epoch from '2026-05-29 09:20:59'::timestamp) - extract(epoch from '2026-05-29 09:20: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'), 46535, 'SRID=4674;POINT (-38.609558 -3.20979)', '2026-05-29 09:21:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.609431 -3.209901)'), GeomFromEWKT('SRID=4674;POINT (-38.609558 -3.20979)'))) / (select extract(epoch from '2026-05-29 09:21:06'::timestamp) - extract(epoch from '2026-05-29 09:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.609431 -3.209901)'), GeomFromEWKT('SRID=4674;POINT (-38.609558 -3.20979)'))) / (select extract(epoch from '2026-05-29 09:21:06'::timestamp) - extract(epoch from '2026-05-29 09:20: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'), 46535, 'SRID=4674;POINT (-38.609691 -3.209689)', '2026-05-29 09:21:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.609558 -3.20979)'), GeomFromEWKT('SRID=4674;POINT (-38.609691 -3.209689)'))) / (select extract(epoch from '2026-05-29 09:21:13'::timestamp) - extract(epoch from '2026-05-29 09:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.609558 -3.20979)'), GeomFromEWKT('SRID=4674;POINT (-38.609691 -3.209689)'))) / (select extract(epoch from '2026-05-29 09:21:13'::timestamp) - extract(epoch from '2026-05-29 09:21: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'), 46535, 'SRID=4674;POINT (-38.609832 -3.209623)', '2026-05-29 09:21:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.609691 -3.209689)'), GeomFromEWKT('SRID=4674;POINT (-38.609832 -3.209623)'))) / (select extract(epoch from '2026-05-29 09:21:19'::timestamp) - extract(epoch from '2026-05-29 09:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.609691 -3.209689)'), GeomFromEWKT('SRID=4674;POINT (-38.609832 -3.209623)'))) / (select extract(epoch from '2026-05-29 09:21:19'::timestamp) - extract(epoch from '2026-05-29 09:21: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'), 46535, 'SRID=4674;POINT (-38.609937 -3.209569)', '2026-05-29 09:21:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.609832 -3.209623)'), GeomFromEWKT('SRID=4674;POINT (-38.609937 -3.209569)'))) / (select extract(epoch from '2026-05-29 09:21:24'::timestamp) - extract(epoch from '2026-05-29 09:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.609832 -3.209623)'), GeomFromEWKT('SRID=4674;POINT (-38.609937 -3.209569)'))) / (select extract(epoch from '2026-05-29 09:21:24'::timestamp) - extract(epoch from '2026-05-29 09:21: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'), 46535, 'SRID=4674;POINT (-38.610061 -3.209497)', '2026-05-29 09:21:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.609937 -3.209569)'), GeomFromEWKT('SRID=4674;POINT (-38.610061 -3.209497)'))) / (select extract(epoch from '2026-05-29 09:21:30'::timestamp) - extract(epoch from '2026-05-29 09:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.609937 -3.209569)'), GeomFromEWKT('SRID=4674;POINT (-38.610061 -3.209497)'))) / (select extract(epoch from '2026-05-29 09:21:30'::timestamp) - extract(epoch from '2026-05-29 09:21: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'), 46535, 'SRID=4674;POINT (-38.610202 -3.209395)', '2026-05-29 09:21:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.610061 -3.209497)'), GeomFromEWKT('SRID=4674;POINT (-38.610202 -3.209395)'))) / (select extract(epoch from '2026-05-29 09:21:37'::timestamp) - extract(epoch from '2026-05-29 09:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.610061 -3.209497)'), GeomFromEWKT('SRID=4674;POINT (-38.610202 -3.209395)'))) / (select extract(epoch from '2026-05-29 09:21:37'::timestamp) - extract(epoch from '2026-05-29 09:21: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'), 46535, 'SRID=4674;POINT (-38.610309 -3.209289)', '2026-05-29 09:21:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.610202 -3.209395)'), GeomFromEWKT('SRID=4674;POINT (-38.610309 -3.209289)'))) / (select extract(epoch from '2026-05-29 09:21:43'::timestamp) - extract(epoch from '2026-05-29 09:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.610202 -3.209395)'), GeomFromEWKT('SRID=4674;POINT (-38.610309 -3.209289)'))) / (select extract(epoch from '2026-05-29 09:21:43'::timestamp) - extract(epoch from '2026-05-29 09:21: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'), 46535, 'SRID=4674;POINT (-38.610407 -3.209211)', '2026-05-29 09:21:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.610309 -3.209289)'), GeomFromEWKT('SRID=4674;POINT (-38.610407 -3.209211)'))) / (select extract(epoch from '2026-05-29 09:21:48'::timestamp) - extract(epoch from '2026-05-29 09:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.610309 -3.209289)'), GeomFromEWKT('SRID=4674;POINT (-38.610407 -3.209211)'))) / (select extract(epoch from '2026-05-29 09:21:48'::timestamp) - extract(epoch from '2026-05-29 09:21: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'), 46535, 'SRID=4674;POINT (-38.610508 -3.209111)', '2026-05-29 09:21:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.610407 -3.209211)'), GeomFromEWKT('SRID=4674;POINT (-38.610508 -3.209111)'))) / (select extract(epoch from '2026-05-29 09:21:54'::timestamp) - extract(epoch from '2026-05-29 09:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.610407 -3.209211)'), GeomFromEWKT('SRID=4674;POINT (-38.610508 -3.209111)'))) / (select extract(epoch from '2026-05-29 09:21:54'::timestamp) - extract(epoch from '2026-05-29 09:21: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'), 46535, 'SRID=4674;POINT (-38.610611 -3.209008)', '2026-05-29 09:22:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.610508 -3.209111)'), GeomFromEWKT('SRID=4674;POINT (-38.610611 -3.209008)'))) / (select extract(epoch from '2026-05-29 09:22:00'::timestamp) - extract(epoch from '2026-05-29 09:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.610508 -3.209111)'), GeomFromEWKT('SRID=4674;POINT (-38.610611 -3.209008)'))) / (select extract(epoch from '2026-05-29 09:22:00'::timestamp) - extract(epoch from '2026-05-29 09:21: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'), 46535, 'SRID=4674;POINT (-38.6107 -3.208922)', '2026-05-29 09:22:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.610611 -3.209008)'), GeomFromEWKT('SRID=4674;POINT (-38.6107 -3.208922)'))) / (select extract(epoch from '2026-05-29 09:22:05'::timestamp) - extract(epoch from '2026-05-29 09:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.610611 -3.209008)'), GeomFromEWKT('SRID=4674;POINT (-38.6107 -3.208922)'))) / (select extract(epoch from '2026-05-29 09:22:05'::timestamp) - extract(epoch from '2026-05-29 09:22: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'), 46535, 'SRID=4674;POINT (-38.610817 -3.208831)', '2026-05-29 09:22:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6107 -3.208922)'), GeomFromEWKT('SRID=4674;POINT (-38.610817 -3.208831)'))) / (select extract(epoch from '2026-05-29 09:22:11'::timestamp) - extract(epoch from '2026-05-29 09:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6107 -3.208922)'), GeomFromEWKT('SRID=4674;POINT (-38.610817 -3.208831)'))) / (select extract(epoch from '2026-05-29 09:22:11'::timestamp) - extract(epoch from '2026-05-29 09:22: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'), 46535, 'SRID=4674;POINT (-38.610944 -3.208745)', '2026-05-29 09:22:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.610817 -3.208831)'), GeomFromEWKT('SRID=4674;POINT (-38.610944 -3.208745)'))) / (select extract(epoch from '2026-05-29 09:22:17'::timestamp) - extract(epoch from '2026-05-29 09:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.610817 -3.208831)'), GeomFromEWKT('SRID=4674;POINT (-38.610944 -3.208745)'))) / (select extract(epoch from '2026-05-29 09:22:17'::timestamp) - extract(epoch from '2026-05-29 09:22:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.611094 -3.208635)', '2026-05-29 09:22:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.610944 -3.208745)'), GeomFromEWKT('SRID=4674;POINT (-38.611094 -3.208635)'))) / (select extract(epoch from '2026-05-29 09:22:24'::timestamp) - extract(epoch from '2026-05-29 09:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.610944 -3.208745)'), GeomFromEWKT('SRID=4674;POINT (-38.611094 -3.208635)'))) / (select extract(epoch from '2026-05-29 09:22:24'::timestamp) - extract(epoch from '2026-05-29 09:22: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'), 46535, 'SRID=4674;POINT (-38.611256 -3.208524)', '2026-05-29 09:22:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.611094 -3.208635)'), GeomFromEWKT('SRID=4674;POINT (-38.611256 -3.208524)'))) / (select extract(epoch from '2026-05-29 09:22:32'::timestamp) - extract(epoch from '2026-05-29 09:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.611094 -3.208635)'), GeomFromEWKT('SRID=4674;POINT (-38.611256 -3.208524)'))) / (select extract(epoch from '2026-05-29 09:22:32'::timestamp) - extract(epoch from '2026-05-29 09:22:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.611376 -3.208449)', '2026-05-29 09:22:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.611256 -3.208524)'), GeomFromEWKT('SRID=4674;POINT (-38.611376 -3.208449)'))) / (select extract(epoch from '2026-05-29 09:22:38'::timestamp) - extract(epoch from '2026-05-29 09:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.611256 -3.208524)'), GeomFromEWKT('SRID=4674;POINT (-38.611376 -3.208449)'))) / (select extract(epoch from '2026-05-29 09:22:38'::timestamp) - extract(epoch from '2026-05-29 09:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.61148 -3.208383)', '2026-05-29 09:22:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.611376 -3.208449)'), GeomFromEWKT('SRID=4674;POINT (-38.61148 -3.208383)'))) / (select extract(epoch from '2026-05-29 09:22:43'::timestamp) - extract(epoch from '2026-05-29 09:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.611376 -3.208449)'), GeomFromEWKT('SRID=4674;POINT (-38.61148 -3.208383)'))) / (select extract(epoch from '2026-05-29 09:22:43'::timestamp) - extract(epoch from '2026-05-29 09:22: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'), 46535, 'SRID=4674;POINT (-38.611574 -3.208311)', '2026-05-29 09:22:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61148 -3.208383)'), GeomFromEWKT('SRID=4674;POINT (-38.611574 -3.208311)'))) / (select extract(epoch from '2026-05-29 09:22:48'::timestamp) - extract(epoch from '2026-05-29 09:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61148 -3.208383)'), GeomFromEWKT('SRID=4674;POINT (-38.611574 -3.208311)'))) / (select extract(epoch from '2026-05-29 09:22:48'::timestamp) - extract(epoch from '2026-05-29 09:22: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'), 46535, 'SRID=4674;POINT (-38.611669 -3.208244)', '2026-05-29 09:22:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.611574 -3.208311)'), GeomFromEWKT('SRID=4674;POINT (-38.611669 -3.208244)'))) / (select extract(epoch from '2026-05-29 09:22:53'::timestamp) - extract(epoch from '2026-05-29 09:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.611574 -3.208311)'), GeomFromEWKT('SRID=4674;POINT (-38.611669 -3.208244)'))) / (select extract(epoch from '2026-05-29 09:22:53'::timestamp) - extract(epoch from '2026-05-29 09:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.611752 -3.208181)', '2026-05-29 09:22:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.611669 -3.208244)'), GeomFromEWKT('SRID=4674;POINT (-38.611752 -3.208181)'))) / (select extract(epoch from '2026-05-29 09:22:58'::timestamp) - extract(epoch from '2026-05-29 09:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.611669 -3.208244)'), GeomFromEWKT('SRID=4674;POINT (-38.611752 -3.208181)'))) / (select extract(epoch from '2026-05-29 09:22:58'::timestamp) - extract(epoch from '2026-05-29 09:22: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'), 46535, 'SRID=4674;POINT (-38.611838 -3.208107)', '2026-05-29 09:23:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.611752 -3.208181)'), GeomFromEWKT('SRID=4674;POINT (-38.611838 -3.208107)'))) / (select extract(epoch from '2026-05-29 09:23:03'::timestamp) - extract(epoch from '2026-05-29 09:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.611752 -3.208181)'), GeomFromEWKT('SRID=4674;POINT (-38.611838 -3.208107)'))) / (select extract(epoch from '2026-05-29 09:23:03'::timestamp) - extract(epoch from '2026-05-29 09:22: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'), 46535, 'SRID=4674;POINT (-38.611926 -3.208038)', '2026-05-29 09:23:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.611838 -3.208107)'), GeomFromEWKT('SRID=4674;POINT (-38.611926 -3.208038)'))) / (select extract(epoch from '2026-05-29 09:23:08'::timestamp) - extract(epoch from '2026-05-29 09:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.611838 -3.208107)'), GeomFromEWKT('SRID=4674;POINT (-38.611926 -3.208038)'))) / (select extract(epoch from '2026-05-29 09:23:08'::timestamp) - extract(epoch from '2026-05-29 09:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.612041 -3.207952)', '2026-05-29 09:23:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.611926 -3.208038)'), GeomFromEWKT('SRID=4674;POINT (-38.612041 -3.207952)'))) / (select extract(epoch from '2026-05-29 09:23:14'::timestamp) - extract(epoch from '2026-05-29 09:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.611926 -3.208038)'), GeomFromEWKT('SRID=4674;POINT (-38.612041 -3.207952)'))) / (select extract(epoch from '2026-05-29 09:23:14'::timestamp) - extract(epoch from '2026-05-29 09:23:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.612141 -3.207867)', '2026-05-29 09:23:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612041 -3.207952)'), GeomFromEWKT('SRID=4674;POINT (-38.612141 -3.207867)'))) / (select extract(epoch from '2026-05-29 09:23:19'::timestamp) - extract(epoch from '2026-05-29 09:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612041 -3.207952)'), GeomFromEWKT('SRID=4674;POINT (-38.612141 -3.207867)'))) / (select extract(epoch from '2026-05-29 09:23:19'::timestamp) - extract(epoch from '2026-05-29 09:23:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.612253 -3.207784)', '2026-05-29 09:23:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612141 -3.207867)'), GeomFromEWKT('SRID=4674;POINT (-38.612253 -3.207784)'))) / (select extract(epoch from '2026-05-29 09:23:24'::timestamp) - extract(epoch from '2026-05-29 09:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612141 -3.207867)'), GeomFromEWKT('SRID=4674;POINT (-38.612253 -3.207784)'))) / (select extract(epoch from '2026-05-29 09:23:24'::timestamp) - extract(epoch from '2026-05-29 09:23:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.612349 -3.207708)', '2026-05-29 09:23:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612253 -3.207784)'), GeomFromEWKT('SRID=4674;POINT (-38.612349 -3.207708)'))) / (select extract(epoch from '2026-05-29 09:23:29'::timestamp) - extract(epoch from '2026-05-29 09:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612253 -3.207784)'), GeomFromEWKT('SRID=4674;POINT (-38.612349 -3.207708)'))) / (select extract(epoch from '2026-05-29 09:23:29'::timestamp) - extract(epoch from '2026-05-29 09:23: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'), 46535, 'SRID=4674;POINT (-38.612409 -3.207639)', '2026-05-29 09:23:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612349 -3.207708)'), GeomFromEWKT('SRID=4674;POINT (-38.612409 -3.207639)'))) / (select extract(epoch from '2026-05-29 09:23:33'::timestamp) - extract(epoch from '2026-05-29 09:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612349 -3.207708)'), GeomFromEWKT('SRID=4674;POINT (-38.612409 -3.207639)'))) / (select extract(epoch from '2026-05-29 09:23:33'::timestamp) - extract(epoch from '2026-05-29 09:23:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.612506 -3.207553)', '2026-05-29 09:23:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612409 -3.207639)'), GeomFromEWKT('SRID=4674;POINT (-38.612506 -3.207553)'))) / (select extract(epoch from '2026-05-29 09:23:38'::timestamp) - extract(epoch from '2026-05-29 09:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612409 -3.207639)'), GeomFromEWKT('SRID=4674;POINT (-38.612506 -3.207553)'))) / (select extract(epoch from '2026-05-29 09:23:38'::timestamp) - extract(epoch from '2026-05-29 09:23: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'), 46535, 'SRID=4674;POINT (-38.612617 -3.207481)', '2026-05-29 09:23:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612506 -3.207553)'), GeomFromEWKT('SRID=4674;POINT (-38.612617 -3.207481)'))) / (select extract(epoch from '2026-05-29 09:23:44'::timestamp) - extract(epoch from '2026-05-29 09:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612506 -3.207553)'), GeomFromEWKT('SRID=4674;POINT (-38.612617 -3.207481)'))) / (select extract(epoch from '2026-05-29 09:23:44'::timestamp) - extract(epoch from '2026-05-29 09:23:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.612705 -3.207412)', '2026-05-29 09:23:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612617 -3.207481)'), GeomFromEWKT('SRID=4674;POINT (-38.612705 -3.207412)'))) / (select extract(epoch from '2026-05-29 09:23:49'::timestamp) - extract(epoch from '2026-05-29 09:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612617 -3.207481)'), GeomFromEWKT('SRID=4674;POINT (-38.612705 -3.207412)'))) / (select extract(epoch from '2026-05-29 09:23:49'::timestamp) - extract(epoch from '2026-05-29 09:23: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'), 46535, 'SRID=4674;POINT (-38.612814 -3.20736)', '2026-05-29 09:23:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612705 -3.207412)'), GeomFromEWKT('SRID=4674;POINT (-38.612814 -3.20736)'))) / (select extract(epoch from '2026-05-29 09:23:54'::timestamp) - extract(epoch from '2026-05-29 09:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612705 -3.207412)'), GeomFromEWKT('SRID=4674;POINT (-38.612814 -3.20736)'))) / (select extract(epoch from '2026-05-29 09:23:54'::timestamp) - extract(epoch from '2026-05-29 09:23: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'), 46535, 'SRID=4674;POINT (-38.612937 -3.20729)', '2026-05-29 09:24:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612814 -3.20736)'), GeomFromEWKT('SRID=4674;POINT (-38.612937 -3.20729)'))) / (select extract(epoch from '2026-05-29 09:24:00'::timestamp) - extract(epoch from '2026-05-29 09:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612814 -3.20736)'), GeomFromEWKT('SRID=4674;POINT (-38.612937 -3.20729)'))) / (select extract(epoch from '2026-05-29 09:24:00'::timestamp) - extract(epoch from '2026-05-29 09:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.613041 -3.207225)', '2026-05-29 09:24:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612937 -3.20729)'), GeomFromEWKT('SRID=4674;POINT (-38.613041 -3.207225)'))) / (select extract(epoch from '2026-05-29 09:24:05'::timestamp) - extract(epoch from '2026-05-29 09:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612937 -3.20729)'), GeomFromEWKT('SRID=4674;POINT (-38.613041 -3.207225)'))) / (select extract(epoch from '2026-05-29 09:24:05'::timestamp) - extract(epoch from '2026-05-29 09:24:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.613123 -3.20716)', '2026-05-29 09:24:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613041 -3.207225)'), GeomFromEWKT('SRID=4674;POINT (-38.613123 -3.20716)'))) / (select extract(epoch from '2026-05-29 09:24:10'::timestamp) - extract(epoch from '2026-05-29 09:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613041 -3.207225)'), GeomFromEWKT('SRID=4674;POINT (-38.613123 -3.20716)'))) / (select extract(epoch from '2026-05-29 09:24:10'::timestamp) - extract(epoch from '2026-05-29 09:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.613218 -3.207085)', '2026-05-29 09:24:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613123 -3.20716)'), GeomFromEWKT('SRID=4674;POINT (-38.613218 -3.207085)'))) / (select extract(epoch from '2026-05-29 09:24:15'::timestamp) - extract(epoch from '2026-05-29 09:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613123 -3.20716)'), GeomFromEWKT('SRID=4674;POINT (-38.613218 -3.207085)'))) / (select extract(epoch from '2026-05-29 09:24:15'::timestamp) - extract(epoch from '2026-05-29 09:24:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.613304 -3.206997)', '2026-05-29 09:24:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613218 -3.207085)'), GeomFromEWKT('SRID=4674;POINT (-38.613304 -3.206997)'))) / (select extract(epoch from '2026-05-29 09:24:20'::timestamp) - extract(epoch from '2026-05-29 09:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613218 -3.207085)'), GeomFromEWKT('SRID=4674;POINT (-38.613304 -3.206997)'))) / (select extract(epoch from '2026-05-29 09:24:20'::timestamp) - extract(epoch from '2026-05-29 09:24:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.613379 -3.206911)', '2026-05-29 09:24:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613304 -3.206997)'), GeomFromEWKT('SRID=4674;POINT (-38.613379 -3.206911)'))) / (select extract(epoch from '2026-05-29 09:24:24'::timestamp) - extract(epoch from '2026-05-29 09:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613304 -3.206997)'), GeomFromEWKT('SRID=4674;POINT (-38.613379 -3.206911)'))) / (select extract(epoch from '2026-05-29 09:24:24'::timestamp) - extract(epoch from '2026-05-29 09:24: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'), 46535, 'SRID=4674;POINT (-38.613457 -3.206829)', '2026-05-29 09:24:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613379 -3.206911)'), GeomFromEWKT('SRID=4674;POINT (-38.613457 -3.206829)'))) / (select extract(epoch from '2026-05-29 09:24:29'::timestamp) - extract(epoch from '2026-05-29 09:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613379 -3.206911)'), GeomFromEWKT('SRID=4674;POINT (-38.613457 -3.206829)'))) / (select extract(epoch from '2026-05-29 09:24:29'::timestamp) - extract(epoch from '2026-05-29 09:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.613572 -3.206705)', '2026-05-29 09:24:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613457 -3.206829)'), GeomFromEWKT('SRID=4674;POINT (-38.613572 -3.206705)'))) / (select extract(epoch from '2026-05-29 09:24:36'::timestamp) - extract(epoch from '2026-05-29 09:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613457 -3.206829)'), GeomFromEWKT('SRID=4674;POINT (-38.613572 -3.206705)'))) / (select extract(epoch from '2026-05-29 09:24:36'::timestamp) - extract(epoch from '2026-05-29 09:24:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.613685 -3.206617)', '2026-05-29 09:24:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613572 -3.206705)'), GeomFromEWKT('SRID=4674;POINT (-38.613685 -3.206617)'))) / (select extract(epoch from '2026-05-29 09:24:41'::timestamp) - extract(epoch from '2026-05-29 09:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613572 -3.206705)'), GeomFromEWKT('SRID=4674;POINT (-38.613685 -3.206617)'))) / (select extract(epoch from '2026-05-29 09:24:41'::timestamp) - extract(epoch from '2026-05-29 09:24: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'), 46535, 'SRID=4674;POINT (-38.613792 -3.206535)', '2026-05-29 09:24:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613685 -3.206617)'), GeomFromEWKT('SRID=4674;POINT (-38.613792 -3.206535)'))) / (select extract(epoch from '2026-05-29 09:24:46'::timestamp) - extract(epoch from '2026-05-29 09:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613685 -3.206617)'), GeomFromEWKT('SRID=4674;POINT (-38.613792 -3.206535)'))) / (select extract(epoch from '2026-05-29 09:24:46'::timestamp) - extract(epoch from '2026-05-29 09:24:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.613889 -3.206473)', '2026-05-29 09:24:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613792 -3.206535)'), GeomFromEWKT('SRID=4674;POINT (-38.613889 -3.206473)'))) / (select extract(epoch from '2026-05-29 09:24:51'::timestamp) - extract(epoch from '2026-05-29 09:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613792 -3.206535)'), GeomFromEWKT('SRID=4674;POINT (-38.613889 -3.206473)'))) / (select extract(epoch from '2026-05-29 09:24:51'::timestamp) - extract(epoch from '2026-05-29 09:24:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.613991 -3.206409)', '2026-05-29 09:24:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613889 -3.206473)'), GeomFromEWKT('SRID=4674;POINT (-38.613991 -3.206409)'))) / (select extract(epoch from '2026-05-29 09:24:55'::timestamp) - extract(epoch from '2026-05-29 09:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613889 -3.206473)'), GeomFromEWKT('SRID=4674;POINT (-38.613991 -3.206409)'))) / (select extract(epoch from '2026-05-29 09:24:55'::timestamp) - extract(epoch from '2026-05-29 09:24:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.614073 -3.206345)', '2026-05-29 09:24:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613991 -3.206409)'), GeomFromEWKT('SRID=4674;POINT (-38.614073 -3.206345)'))) / (select extract(epoch from '2026-05-29 09:24:59'::timestamp) - extract(epoch from '2026-05-29 09:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613991 -3.206409)'), GeomFromEWKT('SRID=4674;POINT (-38.614073 -3.206345)'))) / (select extract(epoch from '2026-05-29 09:24:59'::timestamp) - extract(epoch from '2026-05-29 09:24:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.614155 -3.206288)', '2026-05-29 09:25:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614073 -3.206345)'), GeomFromEWKT('SRID=4674;POINT (-38.614155 -3.206288)'))) / (select extract(epoch from '2026-05-29 09:25:03'::timestamp) - extract(epoch from '2026-05-29 09:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614073 -3.206345)'), GeomFromEWKT('SRID=4674;POINT (-38.614155 -3.206288)'))) / (select extract(epoch from '2026-05-29 09:25:03'::timestamp) - extract(epoch from '2026-05-29 09:24: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'), 46535, 'SRID=4674;POINT (-38.614235 -3.206228)', '2026-05-29 09:25:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614155 -3.206288)'), GeomFromEWKT('SRID=4674;POINT (-38.614235 -3.206228)'))) / (select extract(epoch from '2026-05-29 09:25:07'::timestamp) - extract(epoch from '2026-05-29 09:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614155 -3.206288)'), GeomFromEWKT('SRID=4674;POINT (-38.614235 -3.206228)'))) / (select extract(epoch from '2026-05-29 09:25:07'::timestamp) - extract(epoch from '2026-05-29 09:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.614332 -3.206136)', '2026-05-29 09:25:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614235 -3.206228)'), GeomFromEWKT('SRID=4674;POINT (-38.614332 -3.206136)'))) / (select extract(epoch from '2026-05-29 09:25:13'::timestamp) - extract(epoch from '2026-05-29 09:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614235 -3.206228)'), GeomFromEWKT('SRID=4674;POINT (-38.614332 -3.206136)'))) / (select extract(epoch from '2026-05-29 09:25:13'::timestamp) - extract(epoch from '2026-05-29 09:25: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'), 46535, 'SRID=4674;POINT (-38.614462 -3.206029)', '2026-05-29 09:25:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614332 -3.206136)'), GeomFromEWKT('SRID=4674;POINT (-38.614462 -3.206029)'))) / (select extract(epoch from '2026-05-29 09:25:20'::timestamp) - extract(epoch from '2026-05-29 09:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614332 -3.206136)'), GeomFromEWKT('SRID=4674;POINT (-38.614462 -3.206029)'))) / (select extract(epoch from '2026-05-29 09:25:20'::timestamp) - extract(epoch from '2026-05-29 09:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.614566 -3.205939)', '2026-05-29 09:25:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614462 -3.206029)'), GeomFromEWKT('SRID=4674;POINT (-38.614566 -3.205939)'))) / (select extract(epoch from '2026-05-29 09:25:26'::timestamp) - extract(epoch from '2026-05-29 09:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614462 -3.206029)'), GeomFromEWKT('SRID=4674;POINT (-38.614566 -3.205939)'))) / (select extract(epoch from '2026-05-29 09:25:26'::timestamp) - extract(epoch from '2026-05-29 09:25: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'), 46535, 'SRID=4674;POINT (-38.614683 -3.205851)', '2026-05-29 09:25:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614566 -3.205939)'), GeomFromEWKT('SRID=4674;POINT (-38.614683 -3.205851)'))) / (select extract(epoch from '2026-05-29 09:25:32'::timestamp) - extract(epoch from '2026-05-29 09:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614566 -3.205939)'), GeomFromEWKT('SRID=4674;POINT (-38.614683 -3.205851)'))) / (select extract(epoch from '2026-05-29 09:25:32'::timestamp) - extract(epoch from '2026-05-29 09:25:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.614812 -3.205746)', '2026-05-29 09:25:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614683 -3.205851)'), GeomFromEWKT('SRID=4674;POINT (-38.614812 -3.205746)'))) / (select extract(epoch from '2026-05-29 09:25:39'::timestamp) - extract(epoch from '2026-05-29 09:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614683 -3.205851)'), GeomFromEWKT('SRID=4674;POINT (-38.614812 -3.205746)'))) / (select extract(epoch from '2026-05-29 09:25:39'::timestamp) - extract(epoch from '2026-05-29 09:25: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'), 46535, 'SRID=4674;POINT (-38.614918 -3.205651)', '2026-05-29 09:25:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614812 -3.205746)'), GeomFromEWKT('SRID=4674;POINT (-38.614918 -3.205651)'))) / (select extract(epoch from '2026-05-29 09:25:45'::timestamp) - extract(epoch from '2026-05-29 09:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614812 -3.205746)'), GeomFromEWKT('SRID=4674;POINT (-38.614918 -3.205651)'))) / (select extract(epoch from '2026-05-29 09:25:45'::timestamp) - extract(epoch from '2026-05-29 09:25: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'), 46535, 'SRID=4674;POINT (-38.615011 -3.205585)', '2026-05-29 09:25:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614918 -3.205651)'), GeomFromEWKT('SRID=4674;POINT (-38.615011 -3.205585)'))) / (select extract(epoch from '2026-05-29 09:25:50'::timestamp) - extract(epoch from '2026-05-29 09:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614918 -3.205651)'), GeomFromEWKT('SRID=4674;POINT (-38.615011 -3.205585)'))) / (select extract(epoch from '2026-05-29 09:25:50'::timestamp) - extract(epoch from '2026-05-29 09:25:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.615111 -3.205522)', '2026-05-29 09:25:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615011 -3.205585)'), GeomFromEWKT('SRID=4674;POINT (-38.615111 -3.205522)'))) / (select extract(epoch from '2026-05-29 09:25:55'::timestamp) - extract(epoch from '2026-05-29 09:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615011 -3.205585)'), GeomFromEWKT('SRID=4674;POINT (-38.615111 -3.205522)'))) / (select extract(epoch from '2026-05-29 09:25:55'::timestamp) - extract(epoch from '2026-05-29 09:25: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'), 46535, 'SRID=4674;POINT (-38.615227 -3.205432)', '2026-05-29 09:26:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615111 -3.205522)'), GeomFromEWKT('SRID=4674;POINT (-38.615227 -3.205432)'))) / (select extract(epoch from '2026-05-29 09:26:02'::timestamp) - extract(epoch from '2026-05-29 09:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615111 -3.205522)'), GeomFromEWKT('SRID=4674;POINT (-38.615227 -3.205432)'))) / (select extract(epoch from '2026-05-29 09:26:02'::timestamp) - extract(epoch from '2026-05-29 09:25:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.615328 -3.205358)', '2026-05-29 09:26:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615227 -3.205432)'), GeomFromEWKT('SRID=4674;POINT (-38.615328 -3.205358)'))) / (select extract(epoch from '2026-05-29 09:26:07'::timestamp) - extract(epoch from '2026-05-29 09:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615227 -3.205432)'), GeomFromEWKT('SRID=4674;POINT (-38.615328 -3.205358)'))) / (select extract(epoch from '2026-05-29 09:26:07'::timestamp) - extract(epoch from '2026-05-29 09:26:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.615446 -3.205278)', '2026-05-29 09:26:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615328 -3.205358)'), GeomFromEWKT('SRID=4674;POINT (-38.615446 -3.205278)'))) / (select extract(epoch from '2026-05-29 09:26:13'::timestamp) - extract(epoch from '2026-05-29 09:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615328 -3.205358)'), GeomFromEWKT('SRID=4674;POINT (-38.615446 -3.205278)'))) / (select extract(epoch from '2026-05-29 09:26:13'::timestamp) - extract(epoch from '2026-05-29 09:26: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'), 46535, 'SRID=4674;POINT (-38.615572 -3.205202)', '2026-05-29 09:26:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615446 -3.205278)'), GeomFromEWKT('SRID=4674;POINT (-38.615572 -3.205202)'))) / (select extract(epoch from '2026-05-29 09:26:19'::timestamp) - extract(epoch from '2026-05-29 09:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615446 -3.205278)'), GeomFromEWKT('SRID=4674;POINT (-38.615572 -3.205202)'))) / (select extract(epoch from '2026-05-29 09:26:19'::timestamp) - extract(epoch from '2026-05-29 09:26:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.6157 -3.205124)', '2026-05-29 09:26:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615572 -3.205202)'), GeomFromEWKT('SRID=4674;POINT (-38.6157 -3.205124)'))) / (select extract(epoch from '2026-05-29 09:26:25'::timestamp) - extract(epoch from '2026-05-29 09:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615572 -3.205202)'), GeomFromEWKT('SRID=4674;POINT (-38.6157 -3.205124)'))) / (select extract(epoch from '2026-05-29 09:26:25'::timestamp) - extract(epoch from '2026-05-29 09:26:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.615848 -3.205026)', '2026-05-29 09:26:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6157 -3.205124)'), GeomFromEWKT('SRID=4674;POINT (-38.615848 -3.205026)'))) / (select extract(epoch from '2026-05-29 09:26:32'::timestamp) - extract(epoch from '2026-05-29 09:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6157 -3.205124)'), GeomFromEWKT('SRID=4674;POINT (-38.615848 -3.205026)'))) / (select extract(epoch from '2026-05-29 09:26:32'::timestamp) - extract(epoch from '2026-05-29 09:26:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.615983 -3.204945)', '2026-05-29 09:26:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615848 -3.205026)'), GeomFromEWKT('SRID=4674;POINT (-38.615983 -3.204945)'))) / (select extract(epoch from '2026-05-29 09:26:38'::timestamp) - extract(epoch from '2026-05-29 09:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615848 -3.205026)'), GeomFromEWKT('SRID=4674;POINT (-38.615983 -3.204945)'))) / (select extract(epoch from '2026-05-29 09:26:38'::timestamp) - extract(epoch from '2026-05-29 09:26: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'), 46535, 'SRID=4674;POINT (-38.616075 -3.204887)', '2026-05-29 09:26:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615983 -3.204945)'), GeomFromEWKT('SRID=4674;POINT (-38.616075 -3.204887)'))) / (select extract(epoch from '2026-05-29 09:26:43'::timestamp) - extract(epoch from '2026-05-29 09:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615983 -3.204945)'), GeomFromEWKT('SRID=4674;POINT (-38.616075 -3.204887)'))) / (select extract(epoch from '2026-05-29 09:26:43'::timestamp) - extract(epoch from '2026-05-29 09:26: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'), 46535, 'SRID=4674;POINT (-38.61616 -3.20482)', '2026-05-29 09:26:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616075 -3.204887)'), GeomFromEWKT('SRID=4674;POINT (-38.61616 -3.20482)'))) / (select extract(epoch from '2026-05-29 09:26:47'::timestamp) - extract(epoch from '2026-05-29 09:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616075 -3.204887)'), GeomFromEWKT('SRID=4674;POINT (-38.61616 -3.20482)'))) / (select extract(epoch from '2026-05-29 09:26:47'::timestamp) - extract(epoch from '2026-05-29 09:26: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'), 46535, 'SRID=4674;POINT (-38.616294 -3.204717)', '2026-05-29 09:26:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61616 -3.20482)'), GeomFromEWKT('SRID=4674;POINT (-38.616294 -3.204717)'))) / (select extract(epoch from '2026-05-29 09:26:54'::timestamp) - extract(epoch from '2026-05-29 09:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61616 -3.20482)'), GeomFromEWKT('SRID=4674;POINT (-38.616294 -3.204717)'))) / (select extract(epoch from '2026-05-29 09:26:54'::timestamp) - extract(epoch from '2026-05-29 09:26: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'), 46535, 'SRID=4674;POINT (-38.616393 -3.204633)', '2026-05-29 09:26:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616294 -3.204717)'), GeomFromEWKT('SRID=4674;POINT (-38.616393 -3.204633)'))) / (select extract(epoch from '2026-05-29 09:26:59'::timestamp) - extract(epoch from '2026-05-29 09:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616294 -3.204717)'), GeomFromEWKT('SRID=4674;POINT (-38.616393 -3.204633)'))) / (select extract(epoch from '2026-05-29 09:26:59'::timestamp) - extract(epoch from '2026-05-29 09:26: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'), 46535, 'SRID=4674;POINT (-38.616474 -3.204563)', '2026-05-29 09:27:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616393 -3.204633)'), GeomFromEWKT('SRID=4674;POINT (-38.616474 -3.204563)'))) / (select extract(epoch from '2026-05-29 09:27:04'::timestamp) - extract(epoch from '2026-05-29 09:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616393 -3.204633)'), GeomFromEWKT('SRID=4674;POINT (-38.616474 -3.204563)'))) / (select extract(epoch from '2026-05-29 09:27:04'::timestamp) - extract(epoch from '2026-05-29 09:26: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'), 46535, 'SRID=4674;POINT (-38.616612 -3.204459)', '2026-05-29 09:27:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616474 -3.204563)'), GeomFromEWKT('SRID=4674;POINT (-38.616612 -3.204459)'))) / (select extract(epoch from '2026-05-29 09:27:11'::timestamp) - extract(epoch from '2026-05-29 09:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616474 -3.204563)'), GeomFromEWKT('SRID=4674;POINT (-38.616612 -3.204459)'))) / (select extract(epoch from '2026-05-29 09:27:11'::timestamp) - extract(epoch from '2026-05-29 09:27: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'), 46535, 'SRID=4674;POINT (-38.616756 -3.204363)', '2026-05-29 09:27:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616612 -3.204459)'), GeomFromEWKT('SRID=4674;POINT (-38.616756 -3.204363)'))) / (select extract(epoch from '2026-05-29 09:27:18'::timestamp) - extract(epoch from '2026-05-29 09:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616612 -3.204459)'), GeomFromEWKT('SRID=4674;POINT (-38.616756 -3.204363)'))) / (select extract(epoch from '2026-05-29 09:27:18'::timestamp) - extract(epoch from '2026-05-29 09:27: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'), 46535, 'SRID=4674;POINT (-38.616846 -3.204281)', '2026-05-29 09:27:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616756 -3.204363)'), GeomFromEWKT('SRID=4674;POINT (-38.616846 -3.204281)'))) / (select extract(epoch from '2026-05-29 09:27:23'::timestamp) - extract(epoch from '2026-05-29 09:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616756 -3.204363)'), GeomFromEWKT('SRID=4674;POINT (-38.616846 -3.204281)'))) / (select extract(epoch from '2026-05-29 09:27:23'::timestamp) - extract(epoch from '2026-05-29 09:27:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.616929 -3.204212)', '2026-05-29 09:27:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616846 -3.204281)'), GeomFromEWKT('SRID=4674;POINT (-38.616929 -3.204212)'))) / (select extract(epoch from '2026-05-29 09:27:27'::timestamp) - extract(epoch from '2026-05-29 09:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616846 -3.204281)'), GeomFromEWKT('SRID=4674;POINT (-38.616929 -3.204212)'))) / (select extract(epoch from '2026-05-29 09:27:27'::timestamp) - extract(epoch from '2026-05-29 09:27: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'), 46535, 'SRID=4674;POINT (-38.61702 -3.204123)', '2026-05-29 09:27:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616929 -3.204212)'), GeomFromEWKT('SRID=4674;POINT (-38.61702 -3.204123)'))) / (select extract(epoch from '2026-05-29 09:27:33'::timestamp) - extract(epoch from '2026-05-29 09:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616929 -3.204212)'), GeomFromEWKT('SRID=4674;POINT (-38.61702 -3.204123)'))) / (select extract(epoch from '2026-05-29 09:27:33'::timestamp) - extract(epoch from '2026-05-29 09:27: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'), 46535, 'SRID=4674;POINT (-38.617124 -3.204001)', '2026-05-29 09:27:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61702 -3.204123)'), GeomFromEWKT('SRID=4674;POINT (-38.617124 -3.204001)'))) / (select extract(epoch from '2026-05-29 09:27:40'::timestamp) - extract(epoch from '2026-05-29 09:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61702 -3.204123)'), GeomFromEWKT('SRID=4674;POINT (-38.617124 -3.204001)'))) / (select extract(epoch from '2026-05-29 09:27:40'::timestamp) - extract(epoch from '2026-05-29 09:27: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'), 46535, 'SRID=4674;POINT (-38.617225 -3.203882)', '2026-05-29 09:27:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617124 -3.204001)'), GeomFromEWKT('SRID=4674;POINT (-38.617225 -3.203882)'))) / (select extract(epoch from '2026-05-29 09:27:46'::timestamp) - extract(epoch from '2026-05-29 09:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617124 -3.204001)'), GeomFromEWKT('SRID=4674;POINT (-38.617225 -3.203882)'))) / (select extract(epoch from '2026-05-29 09:27:46'::timestamp) - extract(epoch from '2026-05-29 09:27: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'), 46535, 'SRID=4674;POINT (-38.617335 -3.203773)', '2026-05-29 09:27:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617225 -3.203882)'), GeomFromEWKT('SRID=4674;POINT (-38.617335 -3.203773)'))) / (select extract(epoch from '2026-05-29 09:27:52'::timestamp) - extract(epoch from '2026-05-29 09:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617225 -3.203882)'), GeomFromEWKT('SRID=4674;POINT (-38.617335 -3.203773)'))) / (select extract(epoch from '2026-05-29 09:27:52'::timestamp) - extract(epoch from '2026-05-29 09:27:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.617445 -3.203689)', '2026-05-29 09:27:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617335 -3.203773)'), GeomFromEWKT('SRID=4674;POINT (-38.617445 -3.203689)'))) / (select extract(epoch from '2026-05-29 09:27:57'::timestamp) - extract(epoch from '2026-05-29 09:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617335 -3.203773)'), GeomFromEWKT('SRID=4674;POINT (-38.617445 -3.203689)'))) / (select extract(epoch from '2026-05-29 09:27:57'::timestamp) - extract(epoch from '2026-05-29 09:27: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'), 46535, 'SRID=4674;POINT (-38.617558 -3.203594)', '2026-05-29 09:28:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617445 -3.203689)'), GeomFromEWKT('SRID=4674;POINT (-38.617558 -3.203594)'))) / (select extract(epoch from '2026-05-29 09:28:03'::timestamp) - extract(epoch from '2026-05-29 09:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617445 -3.203689)'), GeomFromEWKT('SRID=4674;POINT (-38.617558 -3.203594)'))) / (select extract(epoch from '2026-05-29 09:28:03'::timestamp) - extract(epoch from '2026-05-29 09:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.61765 -3.203525)', '2026-05-29 09:28:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617558 -3.203594)'), GeomFromEWKT('SRID=4674;POINT (-38.61765 -3.203525)'))) / (select extract(epoch from '2026-05-29 09:28:08'::timestamp) - extract(epoch from '2026-05-29 09:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617558 -3.203594)'), GeomFromEWKT('SRID=4674;POINT (-38.61765 -3.203525)'))) / (select extract(epoch from '2026-05-29 09:28:08'::timestamp) - extract(epoch from '2026-05-29 09:28: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'), 46535, 'SRID=4674;POINT (-38.617746 -3.203425)', '2026-05-29 09:28:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61765 -3.203525)'), GeomFromEWKT('SRID=4674;POINT (-38.617746 -3.203425)'))) / (select extract(epoch from '2026-05-29 09:28:14'::timestamp) - extract(epoch from '2026-05-29 09:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61765 -3.203525)'), GeomFromEWKT('SRID=4674;POINT (-38.617746 -3.203425)'))) / (select extract(epoch from '2026-05-29 09:28:14'::timestamp) - extract(epoch from '2026-05-29 09:28: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'), 46535, 'SRID=4674;POINT (-38.617881 -3.203305)', '2026-05-29 09:28:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617746 -3.203425)'), GeomFromEWKT('SRID=4674;POINT (-38.617881 -3.203305)'))) / (select extract(epoch from '2026-05-29 09:28:21'::timestamp) - extract(epoch from '2026-05-29 09:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617746 -3.203425)'), GeomFromEWKT('SRID=4674;POINT (-38.617881 -3.203305)'))) / (select extract(epoch from '2026-05-29 09:28:21'::timestamp) - extract(epoch from '2026-05-29 09:28: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'), 46535, 'SRID=4674;POINT (-38.617998 -3.20322)', '2026-05-29 09:28:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617881 -3.203305)'), GeomFromEWKT('SRID=4674;POINT (-38.617998 -3.20322)'))) / (select extract(epoch from '2026-05-29 09:28:27'::timestamp) - extract(epoch from '2026-05-29 09:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617881 -3.203305)'), GeomFromEWKT('SRID=4674;POINT (-38.617998 -3.20322)'))) / (select extract(epoch from '2026-05-29 09:28:27'::timestamp) - extract(epoch from '2026-05-29 09:28:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.618094 -3.203175)', '2026-05-29 09:28:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617998 -3.20322)'), GeomFromEWKT('SRID=4674;POINT (-38.618094 -3.203175)'))) / (select extract(epoch from '2026-05-29 09:28:31'::timestamp) - extract(epoch from '2026-05-29 09:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617998 -3.20322)'), GeomFromEWKT('SRID=4674;POINT (-38.618094 -3.203175)'))) / (select extract(epoch from '2026-05-29 09:28:31'::timestamp) - extract(epoch from '2026-05-29 09:28: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'), 46535, 'SRID=4674;POINT (-38.618203 -3.203087)', '2026-05-29 09:28:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618094 -3.203175)'), GeomFromEWKT('SRID=4674;POINT (-38.618203 -3.203087)'))) / (select extract(epoch from '2026-05-29 09:28:37'::timestamp) - extract(epoch from '2026-05-29 09:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618094 -3.203175)'), GeomFromEWKT('SRID=4674;POINT (-38.618203 -3.203087)'))) / (select extract(epoch from '2026-05-29 09:28:37'::timestamp) - extract(epoch from '2026-05-29 09:28:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.61831 -3.202991)', '2026-05-29 09:28:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618203 -3.203087)'), GeomFromEWKT('SRID=4674;POINT (-38.61831 -3.202991)'))) / (select extract(epoch from '2026-05-29 09:28:43'::timestamp) - extract(epoch from '2026-05-29 09:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618203 -3.203087)'), GeomFromEWKT('SRID=4674;POINT (-38.61831 -3.202991)'))) / (select extract(epoch from '2026-05-29 09:28:43'::timestamp) - extract(epoch from '2026-05-29 09:28: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'), 46535, 'SRID=4674;POINT (-38.618457 -3.202895)', '2026-05-29 09:28:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61831 -3.202991)'), GeomFromEWKT('SRID=4674;POINT (-38.618457 -3.202895)'))) / (select extract(epoch from '2026-05-29 09:28:50'::timestamp) - extract(epoch from '2026-05-29 09:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61831 -3.202991)'), GeomFromEWKT('SRID=4674;POINT (-38.618457 -3.202895)'))) / (select extract(epoch from '2026-05-29 09:28:50'::timestamp) - extract(epoch from '2026-05-29 09:28: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'), 46535, 'SRID=4674;POINT (-38.618563 -3.202825)', '2026-05-29 09:28:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618457 -3.202895)'), GeomFromEWKT('SRID=4674;POINT (-38.618563 -3.202825)'))) / (select extract(epoch from '2026-05-29 09:28:55'::timestamp) - extract(epoch from '2026-05-29 09:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618457 -3.202895)'), GeomFromEWKT('SRID=4674;POINT (-38.618563 -3.202825)'))) / (select extract(epoch from '2026-05-29 09:28:55'::timestamp) - extract(epoch from '2026-05-29 09:28: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'), 46535, 'SRID=4674;POINT (-38.618695 -3.202756)', '2026-05-29 09:29:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618563 -3.202825)'), GeomFromEWKT('SRID=4674;POINT (-38.618695 -3.202756)'))) / (select extract(epoch from '2026-05-29 09:29:01'::timestamp) - extract(epoch from '2026-05-29 09:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618563 -3.202825)'), GeomFromEWKT('SRID=4674;POINT (-38.618695 -3.202756)'))) / (select extract(epoch from '2026-05-29 09:29:01'::timestamp) - extract(epoch from '2026-05-29 09:28: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'), 46535, 'SRID=4674;POINT (-38.618792 -3.202695)', '2026-05-29 09:29:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618695 -3.202756)'), GeomFromEWKT('SRID=4674;POINT (-38.618792 -3.202695)'))) / (select extract(epoch from '2026-05-29 09:29:06'::timestamp) - extract(epoch from '2026-05-29 09:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618695 -3.202756)'), GeomFromEWKT('SRID=4674;POINT (-38.618792 -3.202695)'))) / (select extract(epoch from '2026-05-29 09:29:06'::timestamp) - extract(epoch from '2026-05-29 09:29: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'), 46535, 'SRID=4674;POINT (-38.618913 -3.202608)', '2026-05-29 09:29:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618792 -3.202695)'), GeomFromEWKT('SRID=4674;POINT (-38.618913 -3.202608)'))) / (select extract(epoch from '2026-05-29 09:29:12'::timestamp) - extract(epoch from '2026-05-29 09:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618792 -3.202695)'), GeomFromEWKT('SRID=4674;POINT (-38.618913 -3.202608)'))) / (select extract(epoch from '2026-05-29 09:29:12'::timestamp) - extract(epoch from '2026-05-29 09:29:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.619036 -3.202529)', '2026-05-29 09:29:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618913 -3.202608)'), GeomFromEWKT('SRID=4674;POINT (-38.619036 -3.202529)'))) / (select extract(epoch from '2026-05-29 09:29:18'::timestamp) - extract(epoch from '2026-05-29 09:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618913 -3.202608)'), GeomFromEWKT('SRID=4674;POINT (-38.619036 -3.202529)'))) / (select extract(epoch from '2026-05-29 09:29:18'::timestamp) - extract(epoch from '2026-05-29 09:29:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.61918 -3.202429)', '2026-05-29 09:29:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619036 -3.202529)'), GeomFromEWKT('SRID=4674;POINT (-38.61918 -3.202429)'))) / (select extract(epoch from '2026-05-29 09:29:25'::timestamp) - extract(epoch from '2026-05-29 09:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619036 -3.202529)'), GeomFromEWKT('SRID=4674;POINT (-38.61918 -3.202429)'))) / (select extract(epoch from '2026-05-29 09:29:25'::timestamp) - extract(epoch from '2026-05-29 09:29: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'), 46535, 'SRID=4674;POINT (-38.61932 -3.202319)', '2026-05-29 09:29:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61918 -3.202429)'), GeomFromEWKT('SRID=4674;POINT (-38.61932 -3.202319)'))) / (select extract(epoch from '2026-05-29 09:29:32'::timestamp) - extract(epoch from '2026-05-29 09:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61918 -3.202429)'), GeomFromEWKT('SRID=4674;POINT (-38.61932 -3.202319)'))) / (select extract(epoch from '2026-05-29 09:29:32'::timestamp) - extract(epoch from '2026-05-29 09:29: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'), 46535, 'SRID=4674;POINT (-38.619415 -3.202244)', '2026-05-29 09:29:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61932 -3.202319)'), GeomFromEWKT('SRID=4674;POINT (-38.619415 -3.202244)'))) / (select extract(epoch from '2026-05-29 09:29:37'::timestamp) - extract(epoch from '2026-05-29 09:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61932 -3.202319)'), GeomFromEWKT('SRID=4674;POINT (-38.619415 -3.202244)'))) / (select extract(epoch from '2026-05-29 09:29:37'::timestamp) - extract(epoch from '2026-05-29 09:29:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.619511 -3.202172)', '2026-05-29 09:29:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619415 -3.202244)'), GeomFromEWKT('SRID=4674;POINT (-38.619511 -3.202172)'))) / (select extract(epoch from '2026-05-29 09:29:42'::timestamp) - extract(epoch from '2026-05-29 09:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619415 -3.202244)'), GeomFromEWKT('SRID=4674;POINT (-38.619511 -3.202172)'))) / (select extract(epoch from '2026-05-29 09:29:42'::timestamp) - extract(epoch from '2026-05-29 09:29:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.619647 -3.202081)', '2026-05-29 09:29:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619511 -3.202172)'), GeomFromEWKT('SRID=4674;POINT (-38.619647 -3.202081)'))) / (select extract(epoch from '2026-05-29 09:29:49'::timestamp) - extract(epoch from '2026-05-29 09:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619511 -3.202172)'), GeomFromEWKT('SRID=4674;POINT (-38.619647 -3.202081)'))) / (select extract(epoch from '2026-05-29 09:29:49'::timestamp) - extract(epoch from '2026-05-29 09:29: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'), 46535, 'SRID=4674;POINT (-38.619775 -3.201999)', '2026-05-29 09:29:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619647 -3.202081)'), GeomFromEWKT('SRID=4674;POINT (-38.619775 -3.201999)'))) / (select extract(epoch from '2026-05-29 09:29:55'::timestamp) - extract(epoch from '2026-05-29 09:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619647 -3.202081)'), GeomFromEWKT('SRID=4674;POINT (-38.619775 -3.201999)'))) / (select extract(epoch from '2026-05-29 09:29:55'::timestamp) - extract(epoch from '2026-05-29 09:29:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.619935 -3.201884)', '2026-05-29 09:30:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619775 -3.201999)'), GeomFromEWKT('SRID=4674;POINT (-38.619935 -3.201884)'))) / (select extract(epoch from '2026-05-29 09:30:03'::timestamp) - extract(epoch from '2026-05-29 09:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619775 -3.201999)'), GeomFromEWKT('SRID=4674;POINT (-38.619935 -3.201884)'))) / (select extract(epoch from '2026-05-29 09:30:03'::timestamp) - extract(epoch from '2026-05-29 09:29: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'), 46535, 'SRID=4674;POINT (-38.620046 -3.201786)', '2026-05-29 09:30:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619935 -3.201884)'), GeomFromEWKT('SRID=4674;POINT (-38.620046 -3.201786)'))) / (select extract(epoch from '2026-05-29 09:30:09'::timestamp) - extract(epoch from '2026-05-29 09:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619935 -3.201884)'), GeomFromEWKT('SRID=4674;POINT (-38.620046 -3.201786)'))) / (select extract(epoch from '2026-05-29 09:30:09'::timestamp) - extract(epoch from '2026-05-29 09:30:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.620143 -3.201698)', '2026-05-29 09:30:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620046 -3.201786)'), GeomFromEWKT('SRID=4674;POINT (-38.620143 -3.201698)'))) / (select extract(epoch from '2026-05-29 09:30:15'::timestamp) - extract(epoch from '2026-05-29 09:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620046 -3.201786)'), GeomFromEWKT('SRID=4674;POINT (-38.620143 -3.201698)'))) / (select extract(epoch from '2026-05-29 09:30:15'::timestamp) - extract(epoch from '2026-05-29 09:30:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.620259 -3.201597)', '2026-05-29 09:30:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620143 -3.201698)'), GeomFromEWKT('SRID=4674;POINT (-38.620259 -3.201597)'))) / (select extract(epoch from '2026-05-29 09:30:21'::timestamp) - extract(epoch from '2026-05-29 09:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620143 -3.201698)'), GeomFromEWKT('SRID=4674;POINT (-38.620259 -3.201597)'))) / (select extract(epoch from '2026-05-29 09:30:21'::timestamp) - extract(epoch from '2026-05-29 09:30: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'), 46535, 'SRID=4674;POINT (-38.620389 -3.201502)', '2026-05-29 09:30:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620259 -3.201597)'), GeomFromEWKT('SRID=4674;POINT (-38.620389 -3.201502)'))) / (select extract(epoch from '2026-05-29 09:30:27'::timestamp) - extract(epoch from '2026-05-29 09:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620259 -3.201597)'), GeomFromEWKT('SRID=4674;POINT (-38.620389 -3.201502)'))) / (select extract(epoch from '2026-05-29 09:30:27'::timestamp) - extract(epoch from '2026-05-29 09:30: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'), 46535, 'SRID=4674;POINT (-38.620537 -3.201417)', '2026-05-29 09:30:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620389 -3.201502)'), GeomFromEWKT('SRID=4674;POINT (-38.620537 -3.201417)'))) / (select extract(epoch from '2026-05-29 09:30:34'::timestamp) - extract(epoch from '2026-05-29 09:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620389 -3.201502)'), GeomFromEWKT('SRID=4674;POINT (-38.620537 -3.201417)'))) / (select extract(epoch from '2026-05-29 09:30:34'::timestamp) - extract(epoch from '2026-05-29 09:30:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.620647 -3.201374)', '2026-05-29 09:30:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620537 -3.201417)'), GeomFromEWKT('SRID=4674;POINT (-38.620647 -3.201374)'))) / (select extract(epoch from '2026-05-29 09:30:39'::timestamp) - extract(epoch from '2026-05-29 09:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620537 -3.201417)'), GeomFromEWKT('SRID=4674;POINT (-38.620647 -3.201374)'))) / (select extract(epoch from '2026-05-29 09:30:39'::timestamp) - extract(epoch from '2026-05-29 09:30: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'), 46535, 'SRID=4674;POINT (-38.620762 -3.201324)', '2026-05-29 09:30:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620647 -3.201374)'), GeomFromEWKT('SRID=4674;POINT (-38.620762 -3.201324)'))) / (select extract(epoch from '2026-05-29 09:30:44'::timestamp) - extract(epoch from '2026-05-29 09:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620647 -3.201374)'), GeomFromEWKT('SRID=4674;POINT (-38.620762 -3.201324)'))) / (select extract(epoch from '2026-05-29 09:30:44'::timestamp) - extract(epoch from '2026-05-29 09:30: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'), 46535, 'SRID=4674;POINT (-38.620867 -3.201286)', '2026-05-29 09:30:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620762 -3.201324)'), GeomFromEWKT('SRID=4674;POINT (-38.620867 -3.201286)'))) / (select extract(epoch from '2026-05-29 09:30:48'::timestamp) - extract(epoch from '2026-05-29 09:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620762 -3.201324)'), GeomFromEWKT('SRID=4674;POINT (-38.620867 -3.201286)'))) / (select extract(epoch from '2026-05-29 09:30:48'::timestamp) - extract(epoch from '2026-05-29 09:30: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'), 46535, 'SRID=4674;POINT (-38.620964 -3.201232)', '2026-05-29 09:30:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620867 -3.201286)'), GeomFromEWKT('SRID=4674;POINT (-38.620964 -3.201232)'))) / (select extract(epoch from '2026-05-29 09:30:53'::timestamp) - extract(epoch from '2026-05-29 09:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620867 -3.201286)'), GeomFromEWKT('SRID=4674;POINT (-38.620964 -3.201232)'))) / (select extract(epoch from '2026-05-29 09:30:53'::timestamp) - extract(epoch from '2026-05-29 09:30:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.621079 -3.20116)', '2026-05-29 09:30:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620964 -3.201232)'), GeomFromEWKT('SRID=4674;POINT (-38.621079 -3.20116)'))) / (select extract(epoch from '2026-05-29 09:30:59'::timestamp) - extract(epoch from '2026-05-29 09:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620964 -3.201232)'), GeomFromEWKT('SRID=4674;POINT (-38.621079 -3.20116)'))) / (select extract(epoch from '2026-05-29 09:30:59'::timestamp) - extract(epoch from '2026-05-29 09:30: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'), 46535, 'SRID=4674;POINT (-38.621228 -3.201075)', '2026-05-29 09:31:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621079 -3.20116)'), GeomFromEWKT('SRID=4674;POINT (-38.621228 -3.201075)'))) / (select extract(epoch from '2026-05-29 09:31:06'::timestamp) - extract(epoch from '2026-05-29 09:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621079 -3.20116)'), GeomFromEWKT('SRID=4674;POINT (-38.621228 -3.201075)'))) / (select extract(epoch from '2026-05-29 09:31:06'::timestamp) - extract(epoch from '2026-05-29 09:30: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'), 46535, 'SRID=4674;POINT (-38.621331 -3.201009)', '2026-05-29 09:31:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621228 -3.201075)'), GeomFromEWKT('SRID=4674;POINT (-38.621331 -3.201009)'))) / (select extract(epoch from '2026-05-29 09:31:11'::timestamp) - extract(epoch from '2026-05-29 09:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621228 -3.201075)'), GeomFromEWKT('SRID=4674;POINT (-38.621331 -3.201009)'))) / (select extract(epoch from '2026-05-29 09:31:11'::timestamp) - extract(epoch from '2026-05-29 09:31: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'), 46535, 'SRID=4674;POINT (-38.62143 -3.200927)', '2026-05-29 09:31:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621331 -3.201009)'), GeomFromEWKT('SRID=4674;POINT (-38.62143 -3.200927)'))) / (select extract(epoch from '2026-05-29 09:31:17'::timestamp) - extract(epoch from '2026-05-29 09:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621331 -3.201009)'), GeomFromEWKT('SRID=4674;POINT (-38.62143 -3.200927)'))) / (select extract(epoch from '2026-05-29 09:31:17'::timestamp) - extract(epoch from '2026-05-29 09:31: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'), 46535, 'SRID=4674;POINT (-38.621529 -3.200847)', '2026-05-29 09:31:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62143 -3.200927)'), GeomFromEWKT('SRID=4674;POINT (-38.621529 -3.200847)'))) / (select extract(epoch from '2026-05-29 09:31:22'::timestamp) - extract(epoch from '2026-05-29 09:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62143 -3.200927)'), GeomFromEWKT('SRID=4674;POINT (-38.621529 -3.200847)'))) / (select extract(epoch from '2026-05-29 09:31:22'::timestamp) - extract(epoch from '2026-05-29 09:31: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'), 46535, 'SRID=4674;POINT (-38.621607 -3.200765)', '2026-05-29 09:31:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621529 -3.200847)'), GeomFromEWKT('SRID=4674;POINT (-38.621607 -3.200765)'))) / (select extract(epoch from '2026-05-29 09:31:27'::timestamp) - extract(epoch from '2026-05-29 09:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621529 -3.200847)'), GeomFromEWKT('SRID=4674;POINT (-38.621607 -3.200765)'))) / (select extract(epoch from '2026-05-29 09:31:27'::timestamp) - extract(epoch from '2026-05-29 09:31: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'), 46535, 'SRID=4674;POINT (-38.621669 -3.200704)', '2026-05-29 09:31:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621607 -3.200765)'), GeomFromEWKT('SRID=4674;POINT (-38.621669 -3.200704)'))) / (select extract(epoch from '2026-05-29 09:31:31'::timestamp) - extract(epoch from '2026-05-29 09:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621607 -3.200765)'), GeomFromEWKT('SRID=4674;POINT (-38.621669 -3.200704)'))) / (select extract(epoch from '2026-05-29 09:31:31'::timestamp) - extract(epoch from '2026-05-29 09:31: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'), 46535, 'SRID=4674;POINT (-38.621687 -3.200693)', '2026-05-29 09:31:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621669 -3.200704)'), GeomFromEWKT('SRID=4674;POINT (-38.621687 -3.200693)'))) / (select extract(epoch from '2026-05-29 09:31:32'::timestamp) - extract(epoch from '2026-05-29 09:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621669 -3.200704)'), GeomFromEWKT('SRID=4674;POINT (-38.621687 -3.200693)'))) / (select extract(epoch from '2026-05-29 09:31:32'::timestamp) - extract(epoch from '2026-05-29 09:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.621753 -3.200625)', '2026-05-29 09:31:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621687 -3.200693)'), GeomFromEWKT('SRID=4674;POINT (-38.621753 -3.200625)'))) / (select extract(epoch from '2026-05-29 09:31:36'::timestamp) - extract(epoch from '2026-05-29 09:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621687 -3.200693)'), GeomFromEWKT('SRID=4674;POINT (-38.621753 -3.200625)'))) / (select extract(epoch from '2026-05-29 09:31:36'::timestamp) - extract(epoch from '2026-05-29 09:31: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'), 46535, 'SRID=4674;POINT (-38.621771 -3.200615)', '2026-05-29 09:31:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621753 -3.200625)'), GeomFromEWKT('SRID=4674;POINT (-38.621771 -3.200615)'))) / (select extract(epoch from '2026-05-29 09:31:37'::timestamp) - extract(epoch from '2026-05-29 09:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621753 -3.200625)'), GeomFromEWKT('SRID=4674;POINT (-38.621771 -3.200615)'))) / (select extract(epoch from '2026-05-29 09:31:37'::timestamp) - extract(epoch from '2026-05-29 09:31: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'), 46535, 'SRID=4674;POINT (-38.621873 -3.200528)', '2026-05-29 09:31:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621771 -3.200615)'), GeomFromEWKT('SRID=4674;POINT (-38.621873 -3.200528)'))) / (select extract(epoch from '2026-05-29 09:31:42'::timestamp) - extract(epoch from '2026-05-29 09:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621771 -3.200615)'), GeomFromEWKT('SRID=4674;POINT (-38.621873 -3.200528)'))) / (select extract(epoch from '2026-05-29 09:31:42'::timestamp) - extract(epoch from '2026-05-29 09:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.622021 -3.200425)', '2026-05-29 09:31:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621873 -3.200528)'), GeomFromEWKT('SRID=4674;POINT (-38.622021 -3.200425)'))) / (select extract(epoch from '2026-05-29 09:31:49'::timestamp) - extract(epoch from '2026-05-29 09:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621873 -3.200528)'), GeomFromEWKT('SRID=4674;POINT (-38.622021 -3.200425)'))) / (select extract(epoch from '2026-05-29 09:31:49'::timestamp) - extract(epoch from '2026-05-29 09:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.622117 -3.200355)', '2026-05-29 09:31:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622021 -3.200425)'), GeomFromEWKT('SRID=4674;POINT (-38.622117 -3.200355)'))) / (select extract(epoch from '2026-05-29 09:31:54'::timestamp) - extract(epoch from '2026-05-29 09:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622021 -3.200425)'), GeomFromEWKT('SRID=4674;POINT (-38.622117 -3.200355)'))) / (select extract(epoch from '2026-05-29 09:31:54'::timestamp) - extract(epoch from '2026-05-29 09:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.622217 -3.200294)', '2026-05-29 09:31:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622117 -3.200355)'), GeomFromEWKT('SRID=4674;POINT (-38.622217 -3.200294)'))) / (select extract(epoch from '2026-05-29 09:31:59'::timestamp) - extract(epoch from '2026-05-29 09:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622117 -3.200355)'), GeomFromEWKT('SRID=4674;POINT (-38.622217 -3.200294)'))) / (select extract(epoch from '2026-05-29 09:31:59'::timestamp) - extract(epoch from '2026-05-29 09:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.62233 -3.200232)', '2026-05-29 09:32:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622217 -3.200294)'), GeomFromEWKT('SRID=4674;POINT (-38.62233 -3.200232)'))) / (select extract(epoch from '2026-05-29 09:32:04'::timestamp) - extract(epoch from '2026-05-29 09:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622217 -3.200294)'), GeomFromEWKT('SRID=4674;POINT (-38.62233 -3.200232)'))) / (select extract(epoch from '2026-05-29 09:32:04'::timestamp) - extract(epoch from '2026-05-29 09:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.622477 -3.200157)', '2026-05-29 09:32:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62233 -3.200232)'), GeomFromEWKT('SRID=4674;POINT (-38.622477 -3.200157)'))) / (select extract(epoch from '2026-05-29 09:32:11'::timestamp) - extract(epoch from '2026-05-29 09:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62233 -3.200232)'), GeomFromEWKT('SRID=4674;POINT (-38.622477 -3.200157)'))) / (select extract(epoch from '2026-05-29 09:32:11'::timestamp) - extract(epoch from '2026-05-29 09:32: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'), 46535, 'SRID=4674;POINT (-38.622575 -3.200109)', '2026-05-29 09:32:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622477 -3.200157)'), GeomFromEWKT('SRID=4674;POINT (-38.622575 -3.200109)'))) / (select extract(epoch from '2026-05-29 09:32:16'::timestamp) - extract(epoch from '2026-05-29 09:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622477 -3.200157)'), GeomFromEWKT('SRID=4674;POINT (-38.622575 -3.200109)'))) / (select extract(epoch from '2026-05-29 09:32:16'::timestamp) - extract(epoch from '2026-05-29 09:32: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'), 46535, 'SRID=4674;POINT (-38.622694 -3.200048)', '2026-05-29 09:32:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622575 -3.200109)'), GeomFromEWKT('SRID=4674;POINT (-38.622694 -3.200048)'))) / (select extract(epoch from '2026-05-29 09:32:21'::timestamp) - extract(epoch from '2026-05-29 09:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622575 -3.200109)'), GeomFromEWKT('SRID=4674;POINT (-38.622694 -3.200048)'))) / (select extract(epoch from '2026-05-29 09:32:21'::timestamp) - extract(epoch from '2026-05-29 09:32: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'), 46535, 'SRID=4674;POINT (-38.622839 -3.199976)', '2026-05-29 09:32:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622694 -3.200048)'), GeomFromEWKT('SRID=4674;POINT (-38.622839 -3.199976)'))) / (select extract(epoch from '2026-05-29 09:32:28'::timestamp) - extract(epoch from '2026-05-29 09:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622694 -3.200048)'), GeomFromEWKT('SRID=4674;POINT (-38.622839 -3.199976)'))) / (select extract(epoch from '2026-05-29 09:32:28'::timestamp) - extract(epoch from '2026-05-29 09:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.622959 -3.199908)', '2026-05-29 09:32:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622839 -3.199976)'), GeomFromEWKT('SRID=4674;POINT (-38.622959 -3.199908)'))) / (select extract(epoch from '2026-05-29 09:32:34'::timestamp) - extract(epoch from '2026-05-29 09:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622839 -3.199976)'), GeomFromEWKT('SRID=4674;POINT (-38.622959 -3.199908)'))) / (select extract(epoch from '2026-05-29 09:32:34'::timestamp) - extract(epoch from '2026-05-29 09:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.623058 -3.19985)', '2026-05-29 09:32:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622959 -3.199908)'), GeomFromEWKT('SRID=4674;POINT (-38.623058 -3.19985)'))) / (select extract(epoch from '2026-05-29 09:32:39'::timestamp) - extract(epoch from '2026-05-29 09:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622959 -3.199908)'), GeomFromEWKT('SRID=4674;POINT (-38.623058 -3.19985)'))) / (select extract(epoch from '2026-05-29 09:32:39'::timestamp) - extract(epoch from '2026-05-29 09:32:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.623171 -3.1998)', '2026-05-29 09:32:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623058 -3.19985)'), GeomFromEWKT('SRID=4674;POINT (-38.623171 -3.1998)'))) / (select extract(epoch from '2026-05-29 09:32:44'::timestamp) - extract(epoch from '2026-05-29 09:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623058 -3.19985)'), GeomFromEWKT('SRID=4674;POINT (-38.623171 -3.1998)'))) / (select extract(epoch from '2026-05-29 09:32:44'::timestamp) - extract(epoch from '2026-05-29 09:32: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'), 46535, 'SRID=4674;POINT (-38.623279 -3.199756)', '2026-05-29 09:32:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623171 -3.1998)'), GeomFromEWKT('SRID=4674;POINT (-38.623279 -3.199756)'))) / (select extract(epoch from '2026-05-29 09:32:49'::timestamp) - extract(epoch from '2026-05-29 09:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623171 -3.1998)'), GeomFromEWKT('SRID=4674;POINT (-38.623279 -3.199756)'))) / (select extract(epoch from '2026-05-29 09:32:49'::timestamp) - extract(epoch from '2026-05-29 09:32: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'), 46535, 'SRID=4674;POINT (-38.623391 -3.1997)', '2026-05-29 09:32:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623279 -3.199756)'), GeomFromEWKT('SRID=4674;POINT (-38.623391 -3.1997)'))) / (select extract(epoch from '2026-05-29 09:32:54'::timestamp) - extract(epoch from '2026-05-29 09:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623279 -3.199756)'), GeomFromEWKT('SRID=4674;POINT (-38.623391 -3.1997)'))) / (select extract(epoch from '2026-05-29 09:32:54'::timestamp) - extract(epoch from '2026-05-29 09:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.623493 -3.199652)', '2026-05-29 09:32:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623391 -3.1997)'), GeomFromEWKT('SRID=4674;POINT (-38.623493 -3.199652)'))) / (select extract(epoch from '2026-05-29 09:32:59'::timestamp) - extract(epoch from '2026-05-29 09:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623391 -3.1997)'), GeomFromEWKT('SRID=4674;POINT (-38.623493 -3.199652)'))) / (select extract(epoch from '2026-05-29 09:32:59'::timestamp) - extract(epoch from '2026-05-29 09:32: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'), 46535, 'SRID=4674;POINT (-38.623594 -3.199588)', '2026-05-29 09:33:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623493 -3.199652)'), GeomFromEWKT('SRID=4674;POINT (-38.623594 -3.199588)'))) / (select extract(epoch from '2026-05-29 09:33:04'::timestamp) - extract(epoch from '2026-05-29 09:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623493 -3.199652)'), GeomFromEWKT('SRID=4674;POINT (-38.623594 -3.199588)'))) / (select extract(epoch from '2026-05-29 09:33:04'::timestamp) - extract(epoch from '2026-05-29 09:32: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'), 46535, 'SRID=4674;POINT (-38.623714 -3.199504)', '2026-05-29 09:33:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623594 -3.199588)'), GeomFromEWKT('SRID=4674;POINT (-38.623714 -3.199504)'))) / (select extract(epoch from '2026-05-29 09:33:10'::timestamp) - extract(epoch from '2026-05-29 09:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623594 -3.199588)'), GeomFromEWKT('SRID=4674;POINT (-38.623714 -3.199504)'))) / (select extract(epoch from '2026-05-29 09:33:10'::timestamp) - extract(epoch from '2026-05-29 09:33:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.623815 -3.199438)', '2026-05-29 09:33:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623714 -3.199504)'), GeomFromEWKT('SRID=4674;POINT (-38.623815 -3.199438)'))) / (select extract(epoch from '2026-05-29 09:33:15'::timestamp) - extract(epoch from '2026-05-29 09:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623714 -3.199504)'), GeomFromEWKT('SRID=4674;POINT (-38.623815 -3.199438)'))) / (select extract(epoch from '2026-05-29 09:33:15'::timestamp) - extract(epoch from '2026-05-29 09:33: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'), 46535, 'SRID=4674;POINT (-38.623886 -3.19938)', '2026-05-29 09:33:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623815 -3.199438)'), GeomFromEWKT('SRID=4674;POINT (-38.623886 -3.19938)'))) / (select extract(epoch from '2026-05-29 09:33:19'::timestamp) - extract(epoch from '2026-05-29 09:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623815 -3.199438)'), GeomFromEWKT('SRID=4674;POINT (-38.623886 -3.19938)'))) / (select extract(epoch from '2026-05-29 09:33:19'::timestamp) - extract(epoch from '2026-05-29 09:33:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.623993 -3.199298)', '2026-05-29 09:33:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623886 -3.19938)'), GeomFromEWKT('SRID=4674;POINT (-38.623993 -3.199298)'))) / (select extract(epoch from '2026-05-29 09:33:24'::timestamp) - extract(epoch from '2026-05-29 09:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623886 -3.19938)'), GeomFromEWKT('SRID=4674;POINT (-38.623993 -3.199298)'))) / (select extract(epoch from '2026-05-29 09:33:24'::timestamp) - extract(epoch from '2026-05-29 09:33:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.624076 -3.199224)', '2026-05-29 09:33:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623993 -3.199298)'), GeomFromEWKT('SRID=4674;POINT (-38.624076 -3.199224)'))) / (select extract(epoch from '2026-05-29 09:33:29'::timestamp) - extract(epoch from '2026-05-29 09:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623993 -3.199298)'), GeomFromEWKT('SRID=4674;POINT (-38.624076 -3.199224)'))) / (select extract(epoch from '2026-05-29 09:33:29'::timestamp) - extract(epoch from '2026-05-29 09:33: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'), 46535, 'SRID=4674;POINT (-38.62419 -3.199137)', '2026-05-29 09:33:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624076 -3.199224)'), GeomFromEWKT('SRID=4674;POINT (-38.62419 -3.199137)'))) / (select extract(epoch from '2026-05-29 09:33:35'::timestamp) - extract(epoch from '2026-05-29 09:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624076 -3.199224)'), GeomFromEWKT('SRID=4674;POINT (-38.62419 -3.199137)'))) / (select extract(epoch from '2026-05-29 09:33:35'::timestamp) - extract(epoch from '2026-05-29 09:33:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.62429 -3.199079)', '2026-05-29 09:33:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62419 -3.199137)'), GeomFromEWKT('SRID=4674;POINT (-38.62429 -3.199079)'))) / (select extract(epoch from '2026-05-29 09:33:39'::timestamp) - extract(epoch from '2026-05-29 09:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62419 -3.199137)'), GeomFromEWKT('SRID=4674;POINT (-38.62429 -3.199079)'))) / (select extract(epoch from '2026-05-29 09:33:39'::timestamp) - extract(epoch from '2026-05-29 09:33: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'), 46535, 'SRID=4674;POINT (-38.62439 -3.199027)', '2026-05-29 09:33:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62429 -3.199079)'), GeomFromEWKT('SRID=4674;POINT (-38.62439 -3.199027)'))) / (select extract(epoch from '2026-05-29 09:33:44'::timestamp) - extract(epoch from '2026-05-29 09:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62429 -3.199079)'), GeomFromEWKT('SRID=4674;POINT (-38.62439 -3.199027)'))) / (select extract(epoch from '2026-05-29 09:33:44'::timestamp) - extract(epoch from '2026-05-29 09:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.624536 -3.198951)', '2026-05-29 09:33:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62439 -3.199027)'), GeomFromEWKT('SRID=4674;POINT (-38.624536 -3.198951)'))) / (select extract(epoch from '2026-05-29 09:33:51'::timestamp) - extract(epoch from '2026-05-29 09:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62439 -3.199027)'), GeomFromEWKT('SRID=4674;POINT (-38.624536 -3.198951)'))) / (select extract(epoch from '2026-05-29 09:33:51'::timestamp) - extract(epoch from '2026-05-29 09:33: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'), 46535, 'SRID=4674;POINT (-38.624669 -3.19889)', '2026-05-29 09:33:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624536 -3.198951)'), GeomFromEWKT('SRID=4674;POINT (-38.624669 -3.19889)'))) / (select extract(epoch from '2026-05-29 09:33:57'::timestamp) - extract(epoch from '2026-05-29 09:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624536 -3.198951)'), GeomFromEWKT('SRID=4674;POINT (-38.624669 -3.19889)'))) / (select extract(epoch from '2026-05-29 09:33:57'::timestamp) - extract(epoch from '2026-05-29 09:33:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.624853 -3.198817)', '2026-05-29 09:34:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624669 -3.19889)'), GeomFromEWKT('SRID=4674;POINT (-38.624853 -3.198817)'))) / (select extract(epoch from '2026-05-29 09:34:05'::timestamp) - extract(epoch from '2026-05-29 09:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624669 -3.19889)'), GeomFromEWKT('SRID=4674;POINT (-38.624853 -3.198817)'))) / (select extract(epoch from '2026-05-29 09:34:05'::timestamp) - extract(epoch from '2026-05-29 09:33: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'), 46535, 'SRID=4674;POINT (-38.624992 -3.198764)', '2026-05-29 09:34:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624853 -3.198817)'), GeomFromEWKT('SRID=4674;POINT (-38.624992 -3.198764)'))) / (select extract(epoch from '2026-05-29 09:34:11'::timestamp) - extract(epoch from '2026-05-29 09:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624853 -3.198817)'), GeomFromEWKT('SRID=4674;POINT (-38.624992 -3.198764)'))) / (select extract(epoch from '2026-05-29 09:34:11'::timestamp) - extract(epoch from '2026-05-29 09:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.625176 -3.198688)', '2026-05-29 09:34:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624992 -3.198764)'), GeomFromEWKT('SRID=4674;POINT (-38.625176 -3.198688)'))) / (select extract(epoch from '2026-05-29 09:34:19'::timestamp) - extract(epoch from '2026-05-29 09:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624992 -3.198764)'), GeomFromEWKT('SRID=4674;POINT (-38.625176 -3.198688)'))) / (select extract(epoch from '2026-05-29 09:34:19'::timestamp) - extract(epoch from '2026-05-29 09:34: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'), 46535, 'SRID=4674;POINT (-38.625318 -3.198628)', '2026-05-29 09:34:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625176 -3.198688)'), GeomFromEWKT('SRID=4674;POINT (-38.625318 -3.198628)'))) / (select extract(epoch from '2026-05-29 09:34:25'::timestamp) - extract(epoch from '2026-05-29 09:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625176 -3.198688)'), GeomFromEWKT('SRID=4674;POINT (-38.625318 -3.198628)'))) / (select extract(epoch from '2026-05-29 09:34:25'::timestamp) - extract(epoch from '2026-05-29 09:34: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'), 46535, 'SRID=4674;POINT (-38.625415 -3.198577)', '2026-05-29 09:34:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625318 -3.198628)'), GeomFromEWKT('SRID=4674;POINT (-38.625415 -3.198577)'))) / (select extract(epoch from '2026-05-29 09:34:30'::timestamp) - extract(epoch from '2026-05-29 09:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625318 -3.198628)'), GeomFromEWKT('SRID=4674;POINT (-38.625415 -3.198577)'))) / (select extract(epoch from '2026-05-29 09:34:30'::timestamp) - extract(epoch from '2026-05-29 09:34:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.625513 -3.19851)', '2026-05-29 09:34:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625415 -3.198577)'), GeomFromEWKT('SRID=4674;POINT (-38.625513 -3.19851)'))) / (select extract(epoch from '2026-05-29 09:34:34'::timestamp) - extract(epoch from '2026-05-29 09:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625415 -3.198577)'), GeomFromEWKT('SRID=4674;POINT (-38.625513 -3.19851)'))) / (select extract(epoch from '2026-05-29 09:34:34'::timestamp) - extract(epoch from '2026-05-29 09:34: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'), 46535, 'SRID=4674;POINT (-38.62561 -3.198439)', '2026-05-29 09:34:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625513 -3.19851)'), GeomFromEWKT('SRID=4674;POINT (-38.62561 -3.198439)'))) / (select extract(epoch from '2026-05-29 09:34:39'::timestamp) - extract(epoch from '2026-05-29 09:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625513 -3.19851)'), GeomFromEWKT('SRID=4674;POINT (-38.62561 -3.198439)'))) / (select extract(epoch from '2026-05-29 09:34:39'::timestamp) - extract(epoch from '2026-05-29 09:34: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'), 46535, 'SRID=4674;POINT (-38.625696 -3.198363)', '2026-05-29 09:34:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62561 -3.198439)'), GeomFromEWKT('SRID=4674;POINT (-38.625696 -3.198363)'))) / (select extract(epoch from '2026-05-29 09:34:44'::timestamp) - extract(epoch from '2026-05-29 09:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62561 -3.198439)'), GeomFromEWKT('SRID=4674;POINT (-38.625696 -3.198363)'))) / (select extract(epoch from '2026-05-29 09:34:44'::timestamp) - extract(epoch from '2026-05-29 09:34: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'), 46535, 'SRID=4674;POINT (-38.625798 -3.198275)', '2026-05-29 09:34:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625696 -3.198363)'), GeomFromEWKT('SRID=4674;POINT (-38.625798 -3.198275)'))) / (select extract(epoch from '2026-05-29 09:34:49'::timestamp) - extract(epoch from '2026-05-29 09:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625696 -3.198363)'), GeomFromEWKT('SRID=4674;POINT (-38.625798 -3.198275)'))) / (select extract(epoch from '2026-05-29 09:34:49'::timestamp) - extract(epoch from '2026-05-29 09:34: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'), 46535, 'SRID=4674;POINT (-38.62588 -3.198213)', '2026-05-29 09:34:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625798 -3.198275)'), GeomFromEWKT('SRID=4674;POINT (-38.62588 -3.198213)'))) / (select extract(epoch from '2026-05-29 09:34:53'::timestamp) - extract(epoch from '2026-05-29 09:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625798 -3.198275)'), GeomFromEWKT('SRID=4674;POINT (-38.62588 -3.198213)'))) / (select extract(epoch from '2026-05-29 09:34:53'::timestamp) - extract(epoch from '2026-05-29 09:34: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'), 46535, 'SRID=4674;POINT (-38.625972 -3.19814)', '2026-05-29 09:34:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62588 -3.198213)'), GeomFromEWKT('SRID=4674;POINT (-38.625972 -3.19814)'))) / (select extract(epoch from '2026-05-29 09:34:58'::timestamp) - extract(epoch from '2026-05-29 09:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62588 -3.198213)'), GeomFromEWKT('SRID=4674;POINT (-38.625972 -3.19814)'))) / (select extract(epoch from '2026-05-29 09:34:58'::timestamp) - extract(epoch from '2026-05-29 09:34:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.626092 -3.198067)', '2026-05-29 09:35:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625972 -3.19814)'), GeomFromEWKT('SRID=4674;POINT (-38.626092 -3.198067)'))) / (select extract(epoch from '2026-05-29 09:35:04'::timestamp) - extract(epoch from '2026-05-29 09:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625972 -3.19814)'), GeomFromEWKT('SRID=4674;POINT (-38.626092 -3.198067)'))) / (select extract(epoch from '2026-05-29 09:35:04'::timestamp) - extract(epoch from '2026-05-29 09:34: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'), 46535, 'SRID=4674;POINT (-38.626225 -3.198008)', '2026-05-29 09:35:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626092 -3.198067)'), GeomFromEWKT('SRID=4674;POINT (-38.626225 -3.198008)'))) / (select extract(epoch from '2026-05-29 09:35:10'::timestamp) - extract(epoch from '2026-05-29 09:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626092 -3.198067)'), GeomFromEWKT('SRID=4674;POINT (-38.626225 -3.198008)'))) / (select extract(epoch from '2026-05-29 09:35:10'::timestamp) - extract(epoch from '2026-05-29 09:35: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'), 46535, 'SRID=4674;POINT (-38.626322 -3.197958)', '2026-05-29 09:35:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626225 -3.198008)'), GeomFromEWKT('SRID=4674;POINT (-38.626322 -3.197958)'))) / (select extract(epoch from '2026-05-29 09:35:15'::timestamp) - extract(epoch from '2026-05-29 09:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626225 -3.198008)'), GeomFromEWKT('SRID=4674;POINT (-38.626322 -3.197958)'))) / (select extract(epoch from '2026-05-29 09:35:15'::timestamp) - extract(epoch from '2026-05-29 09:35: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'), 46535, 'SRID=4674;POINT (-38.626445 -3.197889)', '2026-05-29 09:35:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626322 -3.197958)'), GeomFromEWKT('SRID=4674;POINT (-38.626445 -3.197889)'))) / (select extract(epoch from '2026-05-29 09:35:21'::timestamp) - extract(epoch from '2026-05-29 09:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626322 -3.197958)'), GeomFromEWKT('SRID=4674;POINT (-38.626445 -3.197889)'))) / (select extract(epoch from '2026-05-29 09:35:21'::timestamp) - extract(epoch from '2026-05-29 09:35: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'), 46535, 'SRID=4674;POINT (-38.62648 -3.197861)', '2026-05-29 09:35:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626445 -3.197889)'), GeomFromEWKT('SRID=4674;POINT (-38.62648 -3.197861)'))) / (select extract(epoch from '2026-05-29 09:35:23'::timestamp) - extract(epoch from '2026-05-29 09:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626445 -3.197889)'), GeomFromEWKT('SRID=4674;POINT (-38.62648 -3.197861)'))) / (select extract(epoch from '2026-05-29 09:35:23'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.626544 -3.197829)', '2026-05-29 09:35:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62648 -3.197861)'), GeomFromEWKT('SRID=4674;POINT (-38.626544 -3.197829)'))) / (select extract(epoch from '2026-05-29 09:35:26'::timestamp) - extract(epoch from '2026-05-29 09:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62648 -3.197861)'), GeomFromEWKT('SRID=4674;POINT (-38.626544 -3.197829)'))) / (select extract(epoch from '2026-05-29 09:35:26'::timestamp) - extract(epoch from '2026-05-29 09:35:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.62666 -3.197761)', '2026-05-29 09:35:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626544 -3.197829)'), GeomFromEWKT('SRID=4674;POINT (-38.62666 -3.197761)'))) / (select extract(epoch from '2026-05-29 09:35:31'::timestamp) - extract(epoch from '2026-05-29 09:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626544 -3.197829)'), GeomFromEWKT('SRID=4674;POINT (-38.62666 -3.197761)'))) / (select extract(epoch from '2026-05-29 09:35:31'::timestamp) - extract(epoch from '2026-05-29 09:35:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.626743 -3.197718)', '2026-05-29 09:35:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62666 -3.197761)'), GeomFromEWKT('SRID=4674;POINT (-38.626743 -3.197718)'))) / (select extract(epoch from '2026-05-29 09:35:35'::timestamp) - extract(epoch from '2026-05-29 09:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62666 -3.197761)'), GeomFromEWKT('SRID=4674;POINT (-38.626743 -3.197718)'))) / (select extract(epoch from '2026-05-29 09:35:35'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.626877 -3.197669)', '2026-05-29 09:35:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626743 -3.197718)'), GeomFromEWKT('SRID=4674;POINT (-38.626877 -3.197669)'))) / (select extract(epoch from '2026-05-29 09:35:41'::timestamp) - extract(epoch from '2026-05-29 09:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626743 -3.197718)'), GeomFromEWKT('SRID=4674;POINT (-38.626877 -3.197669)'))) / (select extract(epoch from '2026-05-29 09:35:41'::timestamp) - extract(epoch from '2026-05-29 09:35: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'), 46535, 'SRID=4674;POINT (-38.62703 -3.197598)', '2026-05-29 09:35:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626877 -3.197669)'), GeomFromEWKT('SRID=4674;POINT (-38.62703 -3.197598)'))) / (select extract(epoch from '2026-05-29 09:35:48'::timestamp) - extract(epoch from '2026-05-29 09:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626877 -3.197669)'), GeomFromEWKT('SRID=4674;POINT (-38.62703 -3.197598)'))) / (select extract(epoch from '2026-05-29 09:35:48'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.627148 -3.197524)', '2026-05-29 09:35:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62703 -3.197598)'), GeomFromEWKT('SRID=4674;POINT (-38.627148 -3.197524)'))) / (select extract(epoch from '2026-05-29 09:35:53'::timestamp) - extract(epoch from '2026-05-29 09:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62703 -3.197598)'), GeomFromEWKT('SRID=4674;POINT (-38.627148 -3.197524)'))) / (select extract(epoch from '2026-05-29 09:35:53'::timestamp) - extract(epoch from '2026-05-29 09:35:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.62726 -3.197466)', '2026-05-29 09:35:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627148 -3.197524)'), GeomFromEWKT('SRID=4674;POINT (-38.62726 -3.197466)'))) / (select extract(epoch from '2026-05-29 09:35:58'::timestamp) - extract(epoch from '2026-05-29 09:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627148 -3.197524)'), GeomFromEWKT('SRID=4674;POINT (-38.62726 -3.197466)'))) / (select extract(epoch from '2026-05-29 09:35:58'::timestamp) - extract(epoch from '2026-05-29 09:35:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.627374 -3.19742)', '2026-05-29 09:36:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62726 -3.197466)'), GeomFromEWKT('SRID=4674;POINT (-38.627374 -3.19742)'))) / (select extract(epoch from '2026-05-29 09:36:03'::timestamp) - extract(epoch from '2026-05-29 09:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62726 -3.197466)'), GeomFromEWKT('SRID=4674;POINT (-38.627374 -3.19742)'))) / (select extract(epoch from '2026-05-29 09:36:03'::timestamp) - extract(epoch from '2026-05-29 09:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.627466 -3.19738)', '2026-05-29 09:36:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627374 -3.19742)'), GeomFromEWKT('SRID=4674;POINT (-38.627466 -3.19738)'))) / (select extract(epoch from '2026-05-29 09:36:07'::timestamp) - extract(epoch from '2026-05-29 09:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627374 -3.19742)'), GeomFromEWKT('SRID=4674;POINT (-38.627466 -3.19738)'))) / (select extract(epoch from '2026-05-29 09:36:07'::timestamp) - extract(epoch from '2026-05-29 09:36: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'), 46535, 'SRID=4674;POINT (-38.627589 -3.197345)', '2026-05-29 09:36:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627466 -3.19738)'), GeomFromEWKT('SRID=4674;POINT (-38.627589 -3.197345)'))) / (select extract(epoch from '2026-05-29 09:36:12'::timestamp) - extract(epoch from '2026-05-29 09:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627466 -3.19738)'), GeomFromEWKT('SRID=4674;POINT (-38.627589 -3.197345)'))) / (select extract(epoch from '2026-05-29 09:36:12'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.6277 -3.197311)', '2026-05-29 09:36:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627589 -3.197345)'), GeomFromEWKT('SRID=4674;POINT (-38.6277 -3.197311)'))) / (select extract(epoch from '2026-05-29 09:36:16'::timestamp) - extract(epoch from '2026-05-29 09:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627589 -3.197345)'), GeomFromEWKT('SRID=4674;POINT (-38.6277 -3.197311)'))) / (select extract(epoch from '2026-05-29 09:36:16'::timestamp) - extract(epoch from '2026-05-29 09:36:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.627775 -3.19728)', '2026-05-29 09:36:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6277 -3.197311)'), GeomFromEWKT('SRID=4674;POINT (-38.627775 -3.19728)'))) / (select extract(epoch from '2026-05-29 09:36:20'::timestamp) - extract(epoch from '2026-05-29 09:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6277 -3.197311)'), GeomFromEWKT('SRID=4674;POINT (-38.627775 -3.19728)'))) / (select extract(epoch from '2026-05-29 09:36:20'::timestamp) - extract(epoch from '2026-05-29 09:36:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.627911 -3.197229)', '2026-05-29 09:36:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627775 -3.19728)'), GeomFromEWKT('SRID=4674;POINT (-38.627911 -3.197229)'))) / (select extract(epoch from '2026-05-29 09:36:26'::timestamp) - extract(epoch from '2026-05-29 09:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627775 -3.19728)'), GeomFromEWKT('SRID=4674;POINT (-38.627911 -3.197229)'))) / (select extract(epoch from '2026-05-29 09:36:26'::timestamp) - extract(epoch from '2026-05-29 09:36:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.628005 -3.19719)', '2026-05-29 09:36:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627911 -3.197229)'), GeomFromEWKT('SRID=4674;POINT (-38.628005 -3.19719)'))) / (select extract(epoch from '2026-05-29 09:36:30'::timestamp) - extract(epoch from '2026-05-29 09:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627911 -3.197229)'), GeomFromEWKT('SRID=4674;POINT (-38.628005 -3.19719)'))) / (select extract(epoch from '2026-05-29 09:36:30'::timestamp) - extract(epoch from '2026-05-29 09:36:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.628095 -3.197132)', '2026-05-29 09:36:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628005 -3.19719)'), GeomFromEWKT('SRID=4674;POINT (-38.628095 -3.197132)'))) / (select extract(epoch from '2026-05-29 09:36:35'::timestamp) - extract(epoch from '2026-05-29 09:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628005 -3.19719)'), GeomFromEWKT('SRID=4674;POINT (-38.628095 -3.197132)'))) / (select extract(epoch from '2026-05-29 09:36:35'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.6282 -3.197065)', '2026-05-29 09:36:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628095 -3.197132)'), GeomFromEWKT('SRID=4674;POINT (-38.6282 -3.197065)'))) / (select extract(epoch from '2026-05-29 09:36:40'::timestamp) - extract(epoch from '2026-05-29 09:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628095 -3.197132)'), GeomFromEWKT('SRID=4674;POINT (-38.6282 -3.197065)'))) / (select extract(epoch from '2026-05-29 09:36:40'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.628296 -3.196991)', '2026-05-29 09:36:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6282 -3.197065)'), GeomFromEWKT('SRID=4674;POINT (-38.628296 -3.196991)'))) / (select extract(epoch from '2026-05-29 09:36:45'::timestamp) - extract(epoch from '2026-05-29 09:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6282 -3.197065)'), GeomFromEWKT('SRID=4674;POINT (-38.628296 -3.196991)'))) / (select extract(epoch from '2026-05-29 09:36:45'::timestamp) - extract(epoch from '2026-05-29 09:36: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'), 46535, 'SRID=4674;POINT (-38.628436 -3.196897)', '2026-05-29 09:36:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628296 -3.196991)'), GeomFromEWKT('SRID=4674;POINT (-38.628436 -3.196897)'))) / (select extract(epoch from '2026-05-29 09:36:52'::timestamp) - extract(epoch from '2026-05-29 09:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628296 -3.196991)'), GeomFromEWKT('SRID=4674;POINT (-38.628436 -3.196897)'))) / (select extract(epoch from '2026-05-29 09:36:52'::timestamp) - extract(epoch from '2026-05-29 09:36: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'), 46535, 'SRID=4674;POINT (-38.628537 -3.196821)', '2026-05-29 09:36:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628436 -3.196897)'), GeomFromEWKT('SRID=4674;POINT (-38.628537 -3.196821)'))) / (select extract(epoch from '2026-05-29 09:36:57'::timestamp) - extract(epoch from '2026-05-29 09:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628436 -3.196897)'), GeomFromEWKT('SRID=4674;POINT (-38.628537 -3.196821)'))) / (select extract(epoch from '2026-05-29 09:36:57'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.628635 -3.196774)', '2026-05-29 09:37:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628537 -3.196821)'), GeomFromEWKT('SRID=4674;POINT (-38.628635 -3.196774)'))) / (select extract(epoch from '2026-05-29 09:37:01'::timestamp) - extract(epoch from '2026-05-29 09:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628537 -3.196821)'), GeomFromEWKT('SRID=4674;POINT (-38.628635 -3.196774)'))) / (select extract(epoch from '2026-05-29 09:37:01'::timestamp) - extract(epoch from '2026-05-29 09:36:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.628722 -3.196725)', '2026-05-29 09:37:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628635 -3.196774)'), GeomFromEWKT('SRID=4674;POINT (-38.628722 -3.196725)'))) / (select extract(epoch from '2026-05-29 09:37:06'::timestamp) - extract(epoch from '2026-05-29 09:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628635 -3.196774)'), GeomFromEWKT('SRID=4674;POINT (-38.628722 -3.196725)'))) / (select extract(epoch from '2026-05-29 09:37:06'::timestamp) - extract(epoch from '2026-05-29 09:37:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.628807 -3.19666)', '2026-05-29 09:37:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628722 -3.196725)'), GeomFromEWKT('SRID=4674;POINT (-38.628807 -3.19666)'))) / (select extract(epoch from '2026-05-29 09:37:11'::timestamp) - extract(epoch from '2026-05-29 09:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628722 -3.196725)'), GeomFromEWKT('SRID=4674;POINT (-38.628807 -3.19666)'))) / (select extract(epoch from '2026-05-29 09:37:11'::timestamp) - extract(epoch from '2026-05-29 09:37: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'), 46535, 'SRID=4674;POINT (-38.628911 -3.196579)', '2026-05-29 09:37:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628807 -3.19666)'), GeomFromEWKT('SRID=4674;POINT (-38.628911 -3.196579)'))) / (select extract(epoch from '2026-05-29 09:37:17'::timestamp) - extract(epoch from '2026-05-29 09:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628807 -3.19666)'), GeomFromEWKT('SRID=4674;POINT (-38.628911 -3.196579)'))) / (select extract(epoch from '2026-05-29 09:37:17'::timestamp) - extract(epoch from '2026-05-29 09:37:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.629 -3.196508)', '2026-05-29 09:37:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628911 -3.196579)'), GeomFromEWKT('SRID=4674;POINT (-38.629 -3.196508)'))) / (select extract(epoch from '2026-05-29 09:37:22'::timestamp) - extract(epoch from '2026-05-29 09:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628911 -3.196579)'), GeomFromEWKT('SRID=4674;POINT (-38.629 -3.196508)'))) / (select extract(epoch from '2026-05-29 09:37:22'::timestamp) - extract(epoch from '2026-05-29 09:37: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'), 46535, 'SRID=4674;POINT (-38.629077 -3.196446)', '2026-05-29 09:37:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629 -3.196508)'), GeomFromEWKT('SRID=4674;POINT (-38.629077 -3.196446)'))) / (select extract(epoch from '2026-05-29 09:37:26'::timestamp) - extract(epoch from '2026-05-29 09:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629 -3.196508)'), GeomFromEWKT('SRID=4674;POINT (-38.629077 -3.196446)'))) / (select extract(epoch from '2026-05-29 09:37:26'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.629164 -3.196389)', '2026-05-29 09:37:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629077 -3.196446)'), GeomFromEWKT('SRID=4674;POINT (-38.629164 -3.196389)'))) / (select extract(epoch from '2026-05-29 09:37:30'::timestamp) - extract(epoch from '2026-05-29 09:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629077 -3.196446)'), GeomFromEWKT('SRID=4674;POINT (-38.629164 -3.196389)'))) / (select extract(epoch from '2026-05-29 09:37:30'::timestamp) - extract(epoch from '2026-05-29 09:37: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'), 46535, 'SRID=4674;POINT (-38.629199 -3.196342)', '2026-05-29 09:37:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629164 -3.196389)'), GeomFromEWKT('SRID=4674;POINT (-38.629199 -3.196342)'))) / (select extract(epoch from '2026-05-29 09:37:33'::timestamp) - extract(epoch from '2026-05-29 09:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629164 -3.196389)'), GeomFromEWKT('SRID=4674;POINT (-38.629199 -3.196342)'))) / (select extract(epoch from '2026-05-29 09:37:33'::timestamp) - extract(epoch from '2026-05-29 09:37:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.629219 -3.19633)', '2026-05-29 09:37:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629199 -3.196342)'), GeomFromEWKT('SRID=4674;POINT (-38.629219 -3.19633)'))) / (select extract(epoch from '2026-05-29 09:37:34'::timestamp) - extract(epoch from '2026-05-29 09:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629199 -3.196342)'), GeomFromEWKT('SRID=4674;POINT (-38.629219 -3.19633)'))) / (select extract(epoch from '2026-05-29 09:37:34'::timestamp) - extract(epoch from '2026-05-29 09:37: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'), 46535, 'SRID=4674;POINT (-38.629321 -3.196255)', '2026-05-29 09:37:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629219 -3.19633)'), GeomFromEWKT('SRID=4674;POINT (-38.629321 -3.196255)'))) / (select extract(epoch from '2026-05-29 09:37:39'::timestamp) - extract(epoch from '2026-05-29 09:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629219 -3.19633)'), GeomFromEWKT('SRID=4674;POINT (-38.629321 -3.196255)'))) / (select extract(epoch from '2026-05-29 09:37:39'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.629356 -3.196227)', '2026-05-29 09:37:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629321 -3.196255)'), GeomFromEWKT('SRID=4674;POINT (-38.629356 -3.196227)'))) / (select extract(epoch from '2026-05-29 09:37:41'::timestamp) - extract(epoch from '2026-05-29 09:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629321 -3.196255)'), GeomFromEWKT('SRID=4674;POINT (-38.629356 -3.196227)'))) / (select extract(epoch from '2026-05-29 09:37:41'::timestamp) - extract(epoch from '2026-05-29 09:37:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.629399 -3.196207)', '2026-05-29 09:37:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629356 -3.196227)'), GeomFromEWKT('SRID=4674;POINT (-38.629399 -3.196207)'))) / (select extract(epoch from '2026-05-29 09:37:43'::timestamp) - extract(epoch from '2026-05-29 09:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629356 -3.196227)'), GeomFromEWKT('SRID=4674;POINT (-38.629399 -3.196207)'))) / (select extract(epoch from '2026-05-29 09:37:43'::timestamp) - extract(epoch from '2026-05-29 09:37: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'), 46535, 'SRID=4674;POINT (-38.629525 -3.196125)', '2026-05-29 09:37:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629399 -3.196207)'), GeomFromEWKT('SRID=4674;POINT (-38.629525 -3.196125)'))) / (select extract(epoch from '2026-05-29 09:37:50'::timestamp) - extract(epoch from '2026-05-29 09:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629399 -3.196207)'), GeomFromEWKT('SRID=4674;POINT (-38.629525 -3.196125)'))) / (select extract(epoch from '2026-05-29 09:37:50'::timestamp) - extract(epoch from '2026-05-29 09:37: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'), 46535, 'SRID=4674;POINT (-38.629625 -3.196064)', '2026-05-29 09:37:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629525 -3.196125)'), GeomFromEWKT('SRID=4674;POINT (-38.629625 -3.196064)'))) / (select extract(epoch from '2026-05-29 09:37:55'::timestamp) - extract(epoch from '2026-05-29 09:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629525 -3.196125)'), GeomFromEWKT('SRID=4674;POINT (-38.629625 -3.196064)'))) / (select extract(epoch from '2026-05-29 09:37:55'::timestamp) - extract(epoch from '2026-05-29 09:37: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'), 46535, 'SRID=4674;POINT (-38.629743 -3.195977)', '2026-05-29 09:38:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629625 -3.196064)'), GeomFromEWKT('SRID=4674;POINT (-38.629743 -3.195977)'))) / (select extract(epoch from '2026-05-29 09:38:01'::timestamp) - extract(epoch from '2026-05-29 09:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629625 -3.196064)'), GeomFromEWKT('SRID=4674;POINT (-38.629743 -3.195977)'))) / (select extract(epoch from '2026-05-29 09:38:01'::timestamp) - extract(epoch from '2026-05-29 09:37:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.629841 -3.195907)', '2026-05-29 09:38:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629743 -3.195977)'), GeomFromEWKT('SRID=4674;POINT (-38.629841 -3.195907)'))) / (select extract(epoch from '2026-05-29 09:38:06'::timestamp) - extract(epoch from '2026-05-29 09:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629743 -3.195977)'), GeomFromEWKT('SRID=4674;POINT (-38.629841 -3.195907)'))) / (select extract(epoch from '2026-05-29 09:38:06'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.629959 -3.1958)', '2026-05-29 09:38:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629841 -3.195907)'), GeomFromEWKT('SRID=4674;POINT (-38.629959 -3.1958)'))) / (select extract(epoch from '2026-05-29 09:38:13'::timestamp) - extract(epoch from '2026-05-29 09:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629841 -3.195907)'), GeomFromEWKT('SRID=4674;POINT (-38.629959 -3.1958)'))) / (select extract(epoch from '2026-05-29 09:38:13'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.63004 -3.195726)', '2026-05-29 09:38:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629959 -3.1958)'), GeomFromEWKT('SRID=4674;POINT (-38.63004 -3.195726)'))) / (select extract(epoch from '2026-05-29 09:38:18'::timestamp) - extract(epoch from '2026-05-29 09:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629959 -3.1958)'), GeomFromEWKT('SRID=4674;POINT (-38.63004 -3.195726)'))) / (select extract(epoch from '2026-05-29 09:38:18'::timestamp) - extract(epoch from '2026-05-29 09:38: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'), 46535, 'SRID=4674;POINT (-38.630104 -3.19565)', '2026-05-29 09:38:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63004 -3.195726)'), GeomFromEWKT('SRID=4674;POINT (-38.630104 -3.19565)'))) / (select extract(epoch from '2026-05-29 09:38:22'::timestamp) - extract(epoch from '2026-05-29 09:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63004 -3.195726)'), GeomFromEWKT('SRID=4674;POINT (-38.630104 -3.19565)'))) / (select extract(epoch from '2026-05-29 09:38:22'::timestamp) - extract(epoch from '2026-05-29 09:38: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'), 46535, 'SRID=4674;POINT (-38.630205 -3.195574)', '2026-05-29 09:38:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630104 -3.19565)'), GeomFromEWKT('SRID=4674;POINT (-38.630205 -3.195574)'))) / (select extract(epoch from '2026-05-29 09:38:27'::timestamp) - extract(epoch from '2026-05-29 09:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630104 -3.19565)'), GeomFromEWKT('SRID=4674;POINT (-38.630205 -3.195574)'))) / (select extract(epoch from '2026-05-29 09:38:27'::timestamp) - extract(epoch from '2026-05-29 09:38:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.630347 -3.195477)', '2026-05-29 09:38:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630205 -3.195574)'), GeomFromEWKT('SRID=4674;POINT (-38.630347 -3.195477)'))) / (select extract(epoch from '2026-05-29 09:38:34'::timestamp) - extract(epoch from '2026-05-29 09:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630205 -3.195574)'), GeomFromEWKT('SRID=4674;POINT (-38.630347 -3.195477)'))) / (select extract(epoch from '2026-05-29 09:38:34'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.630437 -3.195411)', '2026-05-29 09:38:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630347 -3.195477)'), GeomFromEWKT('SRID=4674;POINT (-38.630437 -3.195411)'))) / (select extract(epoch from '2026-05-29 09:38:39'::timestamp) - extract(epoch from '2026-05-29 09:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630347 -3.195477)'), GeomFromEWKT('SRID=4674;POINT (-38.630437 -3.195411)'))) / (select extract(epoch from '2026-05-29 09:38:39'::timestamp) - extract(epoch from '2026-05-29 09:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.630558 -3.195318)', '2026-05-29 09:38:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630437 -3.195411)'), GeomFromEWKT('SRID=4674;POINT (-38.630558 -3.195318)'))) / (select extract(epoch from '2026-05-29 09:38:45'::timestamp) - extract(epoch from '2026-05-29 09:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630437 -3.195411)'), GeomFromEWKT('SRID=4674;POINT (-38.630558 -3.195318)'))) / (select extract(epoch from '2026-05-29 09:38:45'::timestamp) - extract(epoch from '2026-05-29 09:38:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.630671 -3.195244)', '2026-05-29 09:38:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630558 -3.195318)'), GeomFromEWKT('SRID=4674;POINT (-38.630671 -3.195244)'))) / (select extract(epoch from '2026-05-29 09:38:50'::timestamp) - extract(epoch from '2026-05-29 09:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630558 -3.195318)'), GeomFromEWKT('SRID=4674;POINT (-38.630671 -3.195244)'))) / (select extract(epoch from '2026-05-29 09:38:50'::timestamp) - extract(epoch from '2026-05-29 09:38:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.630741 -3.195191)', '2026-05-29 09:38:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630671 -3.195244)'), GeomFromEWKT('SRID=4674;POINT (-38.630741 -3.195191)'))) / (select extract(epoch from '2026-05-29 09:38:54'::timestamp) - extract(epoch from '2026-05-29 09:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630671 -3.195244)'), GeomFromEWKT('SRID=4674;POINT (-38.630741 -3.195191)'))) / (select extract(epoch from '2026-05-29 09:38:54'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.630821 -3.195102)', '2026-05-29 09:38:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630741 -3.195191)'), GeomFromEWKT('SRID=4674;POINT (-38.630821 -3.195102)'))) / (select extract(epoch from '2026-05-29 09:38:58'::timestamp) - extract(epoch from '2026-05-29 09:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630741 -3.195191)'), GeomFromEWKT('SRID=4674;POINT (-38.630821 -3.195102)'))) / (select extract(epoch from '2026-05-29 09:38:58'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.630906 -3.195015)', '2026-05-29 09:39:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630821 -3.195102)'), GeomFromEWKT('SRID=4674;POINT (-38.630906 -3.195015)'))) / (select extract(epoch from '2026-05-29 09:39:03'::timestamp) - extract(epoch from '2026-05-29 09:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630821 -3.195102)'), GeomFromEWKT('SRID=4674;POINT (-38.630906 -3.195015)'))) / (select extract(epoch from '2026-05-29 09:39:03'::timestamp) - extract(epoch from '2026-05-29 09:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.631003 -3.194917)', '2026-05-29 09:39:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630906 -3.195015)'), GeomFromEWKT('SRID=4674;POINT (-38.631003 -3.194917)'))) / (select extract(epoch from '2026-05-29 09:39:09'::timestamp) - extract(epoch from '2026-05-29 09:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630906 -3.195015)'), GeomFromEWKT('SRID=4674;POINT (-38.631003 -3.194917)'))) / (select extract(epoch from '2026-05-29 09:39:09'::timestamp) - extract(epoch from '2026-05-29 09:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.63112 -3.194787)', '2026-05-29 09:39:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631003 -3.194917)'), GeomFromEWKT('SRID=4674;POINT (-38.63112 -3.194787)'))) / (select extract(epoch from '2026-05-29 09:39:16'::timestamp) - extract(epoch from '2026-05-29 09:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631003 -3.194917)'), GeomFromEWKT('SRID=4674;POINT (-38.63112 -3.194787)'))) / (select extract(epoch from '2026-05-29 09:39:16'::timestamp) - extract(epoch from '2026-05-29 09:39: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'), 46535, 'SRID=4674;POINT (-38.63124 -3.19466)', '2026-05-29 09:39:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63112 -3.194787)'), GeomFromEWKT('SRID=4674;POINT (-38.63124 -3.19466)'))) / (select extract(epoch from '2026-05-29 09:39:23'::timestamp) - extract(epoch from '2026-05-29 09:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63112 -3.194787)'), GeomFromEWKT('SRID=4674;POINT (-38.63124 -3.19466)'))) / (select extract(epoch from '2026-05-29 09:39:23'::timestamp) - extract(epoch from '2026-05-29 09:39: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'), 46535, 'SRID=4674;POINT (-38.631303 -3.194598)', '2026-05-29 09:39:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63124 -3.19466)'), GeomFromEWKT('SRID=4674;POINT (-38.631303 -3.194598)'))) / (select extract(epoch from '2026-05-29 09:39:27'::timestamp) - extract(epoch from '2026-05-29 09:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63124 -3.19466)'), GeomFromEWKT('SRID=4674;POINT (-38.631303 -3.194598)'))) / (select extract(epoch from '2026-05-29 09:39:27'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.63139 -3.194512)', '2026-05-29 09:39:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631303 -3.194598)'), GeomFromEWKT('SRID=4674;POINT (-38.63139 -3.194512)'))) / (select extract(epoch from '2026-05-29 09:39:32'::timestamp) - extract(epoch from '2026-05-29 09:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631303 -3.194598)'), GeomFromEWKT('SRID=4674;POINT (-38.63139 -3.194512)'))) / (select extract(epoch from '2026-05-29 09:39:32'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.631497 -3.194422)', '2026-05-29 09:39:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63139 -3.194512)'), GeomFromEWKT('SRID=4674;POINT (-38.631497 -3.194422)'))) / (select extract(epoch from '2026-05-29 09:39:37'::timestamp) - extract(epoch from '2026-05-29 09:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63139 -3.194512)'), GeomFromEWKT('SRID=4674;POINT (-38.631497 -3.194422)'))) / (select extract(epoch from '2026-05-29 09:39:37'::timestamp) - extract(epoch from '2026-05-29 09:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.631568 -3.194362)', '2026-05-29 09:39:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631497 -3.194422)'), GeomFromEWKT('SRID=4674;POINT (-38.631568 -3.194362)'))) / (select extract(epoch from '2026-05-29 09:39:41'::timestamp) - extract(epoch from '2026-05-29 09:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631497 -3.194422)'), GeomFromEWKT('SRID=4674;POINT (-38.631568 -3.194362)'))) / (select extract(epoch from '2026-05-29 09:39:41'::timestamp) - extract(epoch from '2026-05-29 09:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.631671 -3.194262)', '2026-05-29 09:39:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631568 -3.194362)'), GeomFromEWKT('SRID=4674;POINT (-38.631671 -3.194262)'))) / (select extract(epoch from '2026-05-29 09:39:47'::timestamp) - extract(epoch from '2026-05-29 09:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631568 -3.194362)'), GeomFromEWKT('SRID=4674;POINT (-38.631671 -3.194262)'))) / (select extract(epoch from '2026-05-29 09:39:47'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.631792 -3.194145)', '2026-05-29 09:39:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631671 -3.194262)'), GeomFromEWKT('SRID=4674;POINT (-38.631792 -3.194145)'))) / (select extract(epoch from '2026-05-29 09:39:54'::timestamp) - extract(epoch from '2026-05-29 09:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631671 -3.194262)'), GeomFromEWKT('SRID=4674;POINT (-38.631792 -3.194145)'))) / (select extract(epoch from '2026-05-29 09:39:54'::timestamp) - extract(epoch from '2026-05-29 09:39: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'), 46535, 'SRID=4674;POINT (-38.631896 -3.194053)', '2026-05-29 09:40:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631792 -3.194145)'), GeomFromEWKT('SRID=4674;POINT (-38.631896 -3.194053)'))) / (select extract(epoch from '2026-05-29 09:40:00'::timestamp) - extract(epoch from '2026-05-29 09:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631792 -3.194145)'), GeomFromEWKT('SRID=4674;POINT (-38.631896 -3.194053)'))) / (select extract(epoch from '2026-05-29 09:40:00'::timestamp) - extract(epoch from '2026-05-29 09:39: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'), 46535, 'SRID=4674;POINT (-38.632011 -3.193938)', '2026-05-29 09:40:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631896 -3.194053)'), GeomFromEWKT('SRID=4674;POINT (-38.632011 -3.193938)'))) / (select extract(epoch from '2026-05-29 09:40:07'::timestamp) - extract(epoch from '2026-05-29 09:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631896 -3.194053)'), GeomFromEWKT('SRID=4674;POINT (-38.632011 -3.193938)'))) / (select extract(epoch from '2026-05-29 09:40:07'::timestamp) - extract(epoch from '2026-05-29 09:40:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.632113 -3.193855)', '2026-05-29 09:40:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632011 -3.193938)'), GeomFromEWKT('SRID=4674;POINT (-38.632113 -3.193855)'))) / (select extract(epoch from '2026-05-29 09:40:12'::timestamp) - extract(epoch from '2026-05-29 09:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632011 -3.193938)'), GeomFromEWKT('SRID=4674;POINT (-38.632113 -3.193855)'))) / (select extract(epoch from '2026-05-29 09:40:12'::timestamp) - extract(epoch from '2026-05-29 09:40: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'), 46535, 'SRID=4674;POINT (-38.632208 -3.193757)', '2026-05-29 09:40:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632113 -3.193855)'), GeomFromEWKT('SRID=4674;POINT (-38.632208 -3.193757)'))) / (select extract(epoch from '2026-05-29 09:40:17'::timestamp) - extract(epoch from '2026-05-29 09:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632113 -3.193855)'), GeomFromEWKT('SRID=4674;POINT (-38.632208 -3.193757)'))) / (select extract(epoch from '2026-05-29 09:40:17'::timestamp) - extract(epoch from '2026-05-29 09:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.632313 -3.193656)', '2026-05-29 09:40:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632208 -3.193757)'), GeomFromEWKT('SRID=4674;POINT (-38.632313 -3.193656)'))) / (select extract(epoch from '2026-05-29 09:40:23'::timestamp) - extract(epoch from '2026-05-29 09:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632208 -3.193757)'), GeomFromEWKT('SRID=4674;POINT (-38.632313 -3.193656)'))) / (select extract(epoch from '2026-05-29 09:40:23'::timestamp) - extract(epoch from '2026-05-29 09:40: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'), 46535, 'SRID=4674;POINT (-38.63242 -3.193566)', '2026-05-29 09:40:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632313 -3.193656)'), GeomFromEWKT('SRID=4674;POINT (-38.63242 -3.193566)'))) / (select extract(epoch from '2026-05-29 09:40:29'::timestamp) - extract(epoch from '2026-05-29 09:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632313 -3.193656)'), GeomFromEWKT('SRID=4674;POINT (-38.63242 -3.193566)'))) / (select extract(epoch from '2026-05-29 09:40:29'::timestamp) - extract(epoch from '2026-05-29 09:40:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.632518 -3.193484)', '2026-05-29 09:40:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63242 -3.193566)'), GeomFromEWKT('SRID=4674;POINT (-38.632518 -3.193484)'))) / (select extract(epoch from '2026-05-29 09:40:34'::timestamp) - extract(epoch from '2026-05-29 09:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63242 -3.193566)'), GeomFromEWKT('SRID=4674;POINT (-38.632518 -3.193484)'))) / (select extract(epoch from '2026-05-29 09:40:34'::timestamp) - extract(epoch from '2026-05-29 09:40: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'), 46535, 'SRID=4674;POINT (-38.632605 -3.193395)', '2026-05-29 09:40:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632518 -3.193484)'), GeomFromEWKT('SRID=4674;POINT (-38.632605 -3.193395)'))) / (select extract(epoch from '2026-05-29 09:40:39'::timestamp) - extract(epoch from '2026-05-29 09:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632518 -3.193484)'), GeomFromEWKT('SRID=4674;POINT (-38.632605 -3.193395)'))) / (select extract(epoch from '2026-05-29 09:40:39'::timestamp) - extract(epoch from '2026-05-29 09:40: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'), 46535, 'SRID=4674;POINT (-38.632686 -3.193316)', '2026-05-29 09:40:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632605 -3.193395)'), GeomFromEWKT('SRID=4674;POINT (-38.632686 -3.193316)'))) / (select extract(epoch from '2026-05-29 09:40:44'::timestamp) - extract(epoch from '2026-05-29 09:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632605 -3.193395)'), GeomFromEWKT('SRID=4674;POINT (-38.632686 -3.193316)'))) / (select extract(epoch from '2026-05-29 09:40:44'::timestamp) - extract(epoch from '2026-05-29 09:40: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'), 46535, 'SRID=4674;POINT (-38.632817 -3.193178)', '2026-05-29 09:40:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632686 -3.193316)'), GeomFromEWKT('SRID=4674;POINT (-38.632817 -3.193178)'))) / (select extract(epoch from '2026-05-29 09:40:52'::timestamp) - extract(epoch from '2026-05-29 09:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632686 -3.193316)'), GeomFromEWKT('SRID=4674;POINT (-38.632817 -3.193178)'))) / (select extract(epoch from '2026-05-29 09:40:52'::timestamp) - extract(epoch from '2026-05-29 09:40: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'), 46535, 'SRID=4674;POINT (-38.632912 -3.193077)', '2026-05-29 09:40:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632817 -3.193178)'), GeomFromEWKT('SRID=4674;POINT (-38.632912 -3.193077)'))) / (select extract(epoch from '2026-05-29 09:40:57'::timestamp) - extract(epoch from '2026-05-29 09:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632817 -3.193178)'), GeomFromEWKT('SRID=4674;POINT (-38.632912 -3.193077)'))) / (select extract(epoch from '2026-05-29 09:40:57'::timestamp) - extract(epoch from '2026-05-29 09:40: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'), 46535, 'SRID=4674;POINT (-38.632998 -3.192996)', '2026-05-29 09:41:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632912 -3.193077)'), GeomFromEWKT('SRID=4674;POINT (-38.632998 -3.192996)'))) / (select extract(epoch from '2026-05-29 09:41:02'::timestamp) - extract(epoch from '2026-05-29 09:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632912 -3.193077)'), GeomFromEWKT('SRID=4674;POINT (-38.632998 -3.192996)'))) / (select extract(epoch from '2026-05-29 09:41:02'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.63308 -3.192911)', '2026-05-29 09:41:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632998 -3.192996)'), GeomFromEWKT('SRID=4674;POINT (-38.63308 -3.192911)'))) / (select extract(epoch from '2026-05-29 09:41:07'::timestamp) - extract(epoch from '2026-05-29 09:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632998 -3.192996)'), GeomFromEWKT('SRID=4674;POINT (-38.63308 -3.192911)'))) / (select extract(epoch from '2026-05-29 09:41:07'::timestamp) - extract(epoch from '2026-05-29 09:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.633166 -3.192842)', '2026-05-29 09:41:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63308 -3.192911)'), GeomFromEWKT('SRID=4674;POINT (-38.633166 -3.192842)'))) / (select extract(epoch from '2026-05-29 09:41:11'::timestamp) - extract(epoch from '2026-05-29 09:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63308 -3.192911)'), GeomFromEWKT('SRID=4674;POINT (-38.633166 -3.192842)'))) / (select extract(epoch from '2026-05-29 09:41:11'::timestamp) - extract(epoch from '2026-05-29 09:41:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.63324 -3.192789)', '2026-05-29 09:41:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633166 -3.192842)'), GeomFromEWKT('SRID=4674;POINT (-38.63324 -3.192789)'))) / (select extract(epoch from '2026-05-29 09:41:15'::timestamp) - extract(epoch from '2026-05-29 09:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633166 -3.192842)'), GeomFromEWKT('SRID=4674;POINT (-38.63324 -3.192789)'))) / (select extract(epoch from '2026-05-29 09:41:15'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.633306 -3.19272)', '2026-05-29 09:41:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63324 -3.192789)'), GeomFromEWKT('SRID=4674;POINT (-38.633306 -3.19272)'))) / (select extract(epoch from '2026-05-29 09:41:19'::timestamp) - extract(epoch from '2026-05-29 09:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63324 -3.192789)'), GeomFromEWKT('SRID=4674;POINT (-38.633306 -3.19272)'))) / (select extract(epoch from '2026-05-29 09:41:19'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.633432 -3.192633)', '2026-05-29 09:41:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633306 -3.19272)'), GeomFromEWKT('SRID=4674;POINT (-38.633432 -3.192633)'))) / (select extract(epoch from '2026-05-29 09:41:25'::timestamp) - extract(epoch from '2026-05-29 09:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633306 -3.19272)'), GeomFromEWKT('SRID=4674;POINT (-38.633432 -3.192633)'))) / (select extract(epoch from '2026-05-29 09:41:25'::timestamp) - extract(epoch from '2026-05-29 09:41:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.633547 -3.192548)', '2026-05-29 09:41:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633432 -3.192633)'), GeomFromEWKT('SRID=4674;POINT (-38.633547 -3.192548)'))) / (select extract(epoch from '2026-05-29 09:41:31'::timestamp) - extract(epoch from '2026-05-29 09:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633432 -3.192633)'), GeomFromEWKT('SRID=4674;POINT (-38.633547 -3.192548)'))) / (select extract(epoch from '2026-05-29 09:41:31'::timestamp) - extract(epoch from '2026-05-29 09:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.633661 -3.192464)', '2026-05-29 09:41:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633547 -3.192548)'), GeomFromEWKT('SRID=4674;POINT (-38.633661 -3.192464)'))) / (select extract(epoch from '2026-05-29 09:41:37'::timestamp) - extract(epoch from '2026-05-29 09:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633547 -3.192548)'), GeomFromEWKT('SRID=4674;POINT (-38.633661 -3.192464)'))) / (select extract(epoch from '2026-05-29 09:41:37'::timestamp) - extract(epoch from '2026-05-29 09:41:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.63378 -3.192382)', '2026-05-29 09:41:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633661 -3.192464)'), GeomFromEWKT('SRID=4674;POINT (-38.63378 -3.192382)'))) / (select extract(epoch from '2026-05-29 09:41:43'::timestamp) - extract(epoch from '2026-05-29 09:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633661 -3.192464)'), GeomFromEWKT('SRID=4674;POINT (-38.63378 -3.192382)'))) / (select extract(epoch from '2026-05-29 09:41:43'::timestamp) - extract(epoch from '2026-05-29 09:41: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'), 46535, 'SRID=4674;POINT (-38.633904 -3.192293)', '2026-05-29 09:41:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63378 -3.192382)'), GeomFromEWKT('SRID=4674;POINT (-38.633904 -3.192293)'))) / (select extract(epoch from '2026-05-29 09:41:49'::timestamp) - extract(epoch from '2026-05-29 09:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63378 -3.192382)'), GeomFromEWKT('SRID=4674;POINT (-38.633904 -3.192293)'))) / (select extract(epoch from '2026-05-29 09:41:49'::timestamp) - extract(epoch from '2026-05-29 09:41: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'), 46535, 'SRID=4674;POINT (-38.634006 -3.192224)', '2026-05-29 09:41:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633904 -3.192293)'), GeomFromEWKT('SRID=4674;POINT (-38.634006 -3.192224)'))) / (select extract(epoch from '2026-05-29 09:41:54'::timestamp) - extract(epoch from '2026-05-29 09:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633904 -3.192293)'), GeomFromEWKT('SRID=4674;POINT (-38.634006 -3.192224)'))) / (select extract(epoch from '2026-05-29 09:41:54'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.634136 -3.192152)', '2026-05-29 09:42:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634006 -3.192224)'), GeomFromEWKT('SRID=4674;POINT (-38.634136 -3.192152)'))) / (select extract(epoch from '2026-05-29 09:42:00'::timestamp) - extract(epoch from '2026-05-29 09:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634006 -3.192224)'), GeomFromEWKT('SRID=4674;POINT (-38.634136 -3.192152)'))) / (select extract(epoch from '2026-05-29 09:42:00'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.634238 -3.192092)', '2026-05-29 09:42:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634136 -3.192152)'), GeomFromEWKT('SRID=4674;POINT (-38.634238 -3.192092)'))) / (select extract(epoch from '2026-05-29 09:42:05'::timestamp) - extract(epoch from '2026-05-29 09:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634136 -3.192152)'), GeomFromEWKT('SRID=4674;POINT (-38.634238 -3.192092)'))) / (select extract(epoch from '2026-05-29 09:42:05'::timestamp) - extract(epoch from '2026-05-29 09:42: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'), 46535, 'SRID=4674;POINT (-38.634316 -3.192052)', '2026-05-29 09:42:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634238 -3.192092)'), GeomFromEWKT('SRID=4674;POINT (-38.634316 -3.192052)'))) / (select extract(epoch from '2026-05-29 09:42:09'::timestamp) - extract(epoch from '2026-05-29 09:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634238 -3.192092)'), GeomFromEWKT('SRID=4674;POINT (-38.634316 -3.192052)'))) / (select extract(epoch from '2026-05-29 09:42:09'::timestamp) - extract(epoch from '2026-05-29 09:42: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'), 46535, 'SRID=4674;POINT (-38.634426 -3.191974)', '2026-05-29 09:42:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634316 -3.192052)'), GeomFromEWKT('SRID=4674;POINT (-38.634426 -3.191974)'))) / (select extract(epoch from '2026-05-29 09:42:15'::timestamp) - extract(epoch from '2026-05-29 09:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634316 -3.192052)'), GeomFromEWKT('SRID=4674;POINT (-38.634426 -3.191974)'))) / (select extract(epoch from '2026-05-29 09:42:15'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.634525 -3.191887)', '2026-05-29 09:42:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634426 -3.191974)'), GeomFromEWKT('SRID=4674;POINT (-38.634525 -3.191887)'))) / (select extract(epoch from '2026-05-29 09:42:21'::timestamp) - extract(epoch from '2026-05-29 09:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634426 -3.191974)'), GeomFromEWKT('SRID=4674;POINT (-38.634525 -3.191887)'))) / (select extract(epoch from '2026-05-29 09:42:21'::timestamp) - extract(epoch from '2026-05-29 09:42:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.634616 -3.191818)', '2026-05-29 09:42:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634525 -3.191887)'), GeomFromEWKT('SRID=4674;POINT (-38.634616 -3.191818)'))) / (select extract(epoch from '2026-05-29 09:42:26'::timestamp) - extract(epoch from '2026-05-29 09:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634525 -3.191887)'), GeomFromEWKT('SRID=4674;POINT (-38.634616 -3.191818)'))) / (select extract(epoch from '2026-05-29 09:42:26'::timestamp) - extract(epoch from '2026-05-29 09:42:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.634699 -3.191746)', '2026-05-29 09:42:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634616 -3.191818)'), GeomFromEWKT('SRID=4674;POINT (-38.634699 -3.191746)'))) / (select extract(epoch from '2026-05-29 09:42:31'::timestamp) - extract(epoch from '2026-05-29 09:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634616 -3.191818)'), GeomFromEWKT('SRID=4674;POINT (-38.634699 -3.191746)'))) / (select extract(epoch from '2026-05-29 09:42:31'::timestamp) - extract(epoch from '2026-05-29 09:42:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.634816 -3.191639)', '2026-05-29 09:42:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634699 -3.191746)'), GeomFromEWKT('SRID=4674;POINT (-38.634816 -3.191639)'))) / (select extract(epoch from '2026-05-29 09:42:38'::timestamp) - extract(epoch from '2026-05-29 09:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634699 -3.191746)'), GeomFromEWKT('SRID=4674;POINT (-38.634816 -3.191639)'))) / (select extract(epoch from '2026-05-29 09:42:38'::timestamp) - extract(epoch from '2026-05-29 09:42:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.634925 -3.191547)', '2026-05-29 09:42:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634816 -3.191639)'), GeomFromEWKT('SRID=4674;POINT (-38.634925 -3.191547)'))) / (select extract(epoch from '2026-05-29 09:42:44'::timestamp) - extract(epoch from '2026-05-29 09:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634816 -3.191639)'), GeomFromEWKT('SRID=4674;POINT (-38.634925 -3.191547)'))) / (select extract(epoch from '2026-05-29 09:42:44'::timestamp) - extract(epoch from '2026-05-29 09:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.635032 -3.191462)', '2026-05-29 09:42:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634925 -3.191547)'), GeomFromEWKT('SRID=4674;POINT (-38.635032 -3.191462)'))) / (select extract(epoch from '2026-05-29 09:42:50'::timestamp) - extract(epoch from '2026-05-29 09:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634925 -3.191547)'), GeomFromEWKT('SRID=4674;POINT (-38.635032 -3.191462)'))) / (select extract(epoch from '2026-05-29 09:42:50'::timestamp) - extract(epoch from '2026-05-29 09:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.635119 -3.191378)', '2026-05-29 09:42:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635032 -3.191462)'), GeomFromEWKT('SRID=4674;POINT (-38.635119 -3.191378)'))) / (select extract(epoch from '2026-05-29 09:42:55'::timestamp) - extract(epoch from '2026-05-29 09:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635032 -3.191462)'), GeomFromEWKT('SRID=4674;POINT (-38.635119 -3.191378)'))) / (select extract(epoch from '2026-05-29 09:42:55'::timestamp) - extract(epoch from '2026-05-29 09:42: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'), 46535, 'SRID=4674;POINT (-38.635131 -3.191368)', '2026-05-29 09:42:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635119 -3.191378)'), GeomFromEWKT('SRID=4674;POINT (-38.635131 -3.191368)'))) / (select extract(epoch from '2026-05-29 09:42:56'::timestamp) - extract(epoch from '2026-05-29 09:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635119 -3.191378)'), GeomFromEWKT('SRID=4674;POINT (-38.635131 -3.191368)'))) / (select extract(epoch from '2026-05-29 09:42:56'::timestamp) - extract(epoch from '2026-05-29 09:42:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.635191 -3.191318)', '2026-05-29 09:42:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635131 -3.191368)'), GeomFromEWKT('SRID=4674;POINT (-38.635191 -3.191318)'))) / (select extract(epoch from '2026-05-29 09:42:59'::timestamp) - extract(epoch from '2026-05-29 09:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635131 -3.191368)'), GeomFromEWKT('SRID=4674;POINT (-38.635191 -3.191318)'))) / (select extract(epoch from '2026-05-29 09:42:59'::timestamp) - extract(epoch from '2026-05-29 09:42:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.635263 -3.191256)', '2026-05-29 09:43:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635191 -3.191318)'), GeomFromEWKT('SRID=4674;POINT (-38.635263 -3.191256)'))) / (select extract(epoch from '2026-05-29 09:43:03'::timestamp) - extract(epoch from '2026-05-29 09:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635191 -3.191318)'), GeomFromEWKT('SRID=4674;POINT (-38.635263 -3.191256)'))) / (select extract(epoch from '2026-05-29 09:43:03'::timestamp) - extract(epoch from '2026-05-29 09:42: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'), 46535, 'SRID=4674;POINT (-38.635369 -3.191172)', '2026-05-29 09:43:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635263 -3.191256)'), GeomFromEWKT('SRID=4674;POINT (-38.635369 -3.191172)'))) / (select extract(epoch from '2026-05-29 09:43:08'::timestamp) - extract(epoch from '2026-05-29 09:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635263 -3.191256)'), GeomFromEWKT('SRID=4674;POINT (-38.635369 -3.191172)'))) / (select extract(epoch from '2026-05-29 09:43:08'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.635464 -3.191098)', '2026-05-29 09:43:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635369 -3.191172)'), GeomFromEWKT('SRID=4674;POINT (-38.635464 -3.191098)'))) / (select extract(epoch from '2026-05-29 09:43:13'::timestamp) - extract(epoch from '2026-05-29 09:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635369 -3.191172)'), GeomFromEWKT('SRID=4674;POINT (-38.635464 -3.191098)'))) / (select extract(epoch from '2026-05-29 09:43:13'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.635538 -3.191051)', '2026-05-29 09:43:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635464 -3.191098)'), GeomFromEWKT('SRID=4674;POINT (-38.635538 -3.191051)'))) / (select extract(epoch from '2026-05-29 09:43:17'::timestamp) - extract(epoch from '2026-05-29 09:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635464 -3.191098)'), GeomFromEWKT('SRID=4674;POINT (-38.635538 -3.191051)'))) / (select extract(epoch from '2026-05-29 09:43:17'::timestamp) - extract(epoch from '2026-05-29 09:43:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.63566 -3.190969)', '2026-05-29 09:43:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635538 -3.191051)'), GeomFromEWKT('SRID=4674;POINT (-38.63566 -3.190969)'))) / (select extract(epoch from '2026-05-29 09:43:23'::timestamp) - extract(epoch from '2026-05-29 09:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635538 -3.191051)'), GeomFromEWKT('SRID=4674;POINT (-38.63566 -3.190969)'))) / (select extract(epoch from '2026-05-29 09:43:23'::timestamp) - extract(epoch from '2026-05-29 09:43: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'), 46535, 'SRID=4674;POINT (-38.635801 -3.190874)', '2026-05-29 09:43:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63566 -3.190969)'), GeomFromEWKT('SRID=4674;POINT (-38.635801 -3.190874)'))) / (select extract(epoch from '2026-05-29 09:43:30'::timestamp) - extract(epoch from '2026-05-29 09:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63566 -3.190969)'), GeomFromEWKT('SRID=4674;POINT (-38.635801 -3.190874)'))) / (select extract(epoch from '2026-05-29 09:43:30'::timestamp) - extract(epoch from '2026-05-29 09:43:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.635951 -3.19076)', '2026-05-29 09:43:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635801 -3.190874)'), GeomFromEWKT('SRID=4674;POINT (-38.635951 -3.19076)'))) / (select extract(epoch from '2026-05-29 09:43:38'::timestamp) - extract(epoch from '2026-05-29 09:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635801 -3.190874)'), GeomFromEWKT('SRID=4674;POINT (-38.635951 -3.19076)'))) / (select extract(epoch from '2026-05-29 09:43:38'::timestamp) - extract(epoch from '2026-05-29 09:43: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'), 46535, 'SRID=4674;POINT (-38.636063 -3.190691)', '2026-05-29 09:43:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635951 -3.19076)'), GeomFromEWKT('SRID=4674;POINT (-38.636063 -3.190691)'))) / (select extract(epoch from '2026-05-29 09:43:43'::timestamp) - extract(epoch from '2026-05-29 09:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635951 -3.19076)'), GeomFromEWKT('SRID=4674;POINT (-38.636063 -3.190691)'))) / (select extract(epoch from '2026-05-29 09:43:43'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.636166 -3.190639)', '2026-05-29 09:43:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636063 -3.190691)'), GeomFromEWKT('SRID=4674;POINT (-38.636166 -3.190639)'))) / (select extract(epoch from '2026-05-29 09:43:48'::timestamp) - extract(epoch from '2026-05-29 09:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636063 -3.190691)'), GeomFromEWKT('SRID=4674;POINT (-38.636166 -3.190639)'))) / (select extract(epoch from '2026-05-29 09:43:48'::timestamp) - extract(epoch from '2026-05-29 09:43: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'), 46535, 'SRID=4674;POINT (-38.636286 -3.190566)', '2026-05-29 09:43:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636166 -3.190639)'), GeomFromEWKT('SRID=4674;POINT (-38.636286 -3.190566)'))) / (select extract(epoch from '2026-05-29 09:43:54'::timestamp) - extract(epoch from '2026-05-29 09:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636166 -3.190639)'), GeomFromEWKT('SRID=4674;POINT (-38.636286 -3.190566)'))) / (select extract(epoch from '2026-05-29 09:43:54'::timestamp) - extract(epoch from '2026-05-29 09:43:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.636384 -3.190507)', '2026-05-29 09:43:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636286 -3.190566)'), GeomFromEWKT('SRID=4674;POINT (-38.636384 -3.190507)'))) / (select extract(epoch from '2026-05-29 09:43:59'::timestamp) - extract(epoch from '2026-05-29 09:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636286 -3.190566)'), GeomFromEWKT('SRID=4674;POINT (-38.636384 -3.190507)'))) / (select extract(epoch from '2026-05-29 09:43:59'::timestamp) - extract(epoch from '2026-05-29 09:43:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.636437 -3.190468)', '2026-05-29 09:44:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636384 -3.190507)'), GeomFromEWKT('SRID=4674;POINT (-38.636437 -3.190468)'))) / (select extract(epoch from '2026-05-29 09:44:02'::timestamp) - extract(epoch from '2026-05-29 09:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636384 -3.190507)'), GeomFromEWKT('SRID=4674;POINT (-38.636437 -3.190468)'))) / (select extract(epoch from '2026-05-29 09:44:02'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.636462 -3.190457)', '2026-05-29 09:44:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636437 -3.190468)'), GeomFromEWKT('SRID=4674;POINT (-38.636462 -3.190457)'))) / (select extract(epoch from '2026-05-29 09:44:03'::timestamp) - extract(epoch from '2026-05-29 09:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636437 -3.190468)'), GeomFromEWKT('SRID=4674;POINT (-38.636462 -3.190457)'))) / (select extract(epoch from '2026-05-29 09:44:03'::timestamp) - extract(epoch from '2026-05-29 09:44:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.636537 -3.190393)', '2026-05-29 09:44:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636462 -3.190457)'), GeomFromEWKT('SRID=4674;POINT (-38.636537 -3.190393)'))) / (select extract(epoch from '2026-05-29 09:44:07'::timestamp) - extract(epoch from '2026-05-29 09:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636462 -3.190457)'), GeomFromEWKT('SRID=4674;POINT (-38.636537 -3.190393)'))) / (select extract(epoch from '2026-05-29 09:44:07'::timestamp) - extract(epoch from '2026-05-29 09:44:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.636651 -3.190318)', '2026-05-29 09:44:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636537 -3.190393)'), GeomFromEWKT('SRID=4674;POINT (-38.636651 -3.190318)'))) / (select extract(epoch from '2026-05-29 09:44:12'::timestamp) - extract(epoch from '2026-05-29 09:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636537 -3.190393)'), GeomFromEWKT('SRID=4674;POINT (-38.636651 -3.190318)'))) / (select extract(epoch from '2026-05-29 09:44:12'::timestamp) - extract(epoch from '2026-05-29 09:44: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'), 46535, 'SRID=4674;POINT (-38.636697 -3.190275)', '2026-05-29 09:44:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636651 -3.190318)'), GeomFromEWKT('SRID=4674;POINT (-38.636697 -3.190275)'))) / (select extract(epoch from '2026-05-29 09:44:15'::timestamp) - extract(epoch from '2026-05-29 09:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636651 -3.190318)'), GeomFromEWKT('SRID=4674;POINT (-38.636697 -3.190275)'))) / (select extract(epoch from '2026-05-29 09:44:15'::timestamp) - extract(epoch from '2026-05-29 09:44:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.636739 -3.190249)', '2026-05-29 09:44:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636697 -3.190275)'), GeomFromEWKT('SRID=4674;POINT (-38.636739 -3.190249)'))) / (select extract(epoch from '2026-05-29 09:44:17'::timestamp) - extract(epoch from '2026-05-29 09:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636697 -3.190275)'), GeomFromEWKT('SRID=4674;POINT (-38.636739 -3.190249)'))) / (select extract(epoch from '2026-05-29 09:44:17'::timestamp) - extract(epoch from '2026-05-29 09:44: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'), 46535, 'SRID=4674;POINT (-38.636833 -3.190156)', '2026-05-29 09:44:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636739 -3.190249)'), GeomFromEWKT('SRID=4674;POINT (-38.636833 -3.190156)'))) / (select extract(epoch from '2026-05-29 09:44:23'::timestamp) - extract(epoch from '2026-05-29 09:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636739 -3.190249)'), GeomFromEWKT('SRID=4674;POINT (-38.636833 -3.190156)'))) / (select extract(epoch from '2026-05-29 09:44:23'::timestamp) - extract(epoch from '2026-05-29 09:44: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'), 46535, 'SRID=4674;POINT (-38.636918 -3.190063)', '2026-05-29 09:44:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636833 -3.190156)'), GeomFromEWKT('SRID=4674;POINT (-38.636918 -3.190063)'))) / (select extract(epoch from '2026-05-29 09:44:28'::timestamp) - extract(epoch from '2026-05-29 09:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636833 -3.190156)'), GeomFromEWKT('SRID=4674;POINT (-38.636918 -3.190063)'))) / (select extract(epoch from '2026-05-29 09:44:28'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.637062 -3.189935)', '2026-05-29 09:44:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636918 -3.190063)'), GeomFromEWKT('SRID=4674;POINT (-38.637062 -3.189935)'))) / (select extract(epoch from '2026-05-29 09:44:36'::timestamp) - extract(epoch from '2026-05-29 09:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636918 -3.190063)'), GeomFromEWKT('SRID=4674;POINT (-38.637062 -3.189935)'))) / (select extract(epoch from '2026-05-29 09:44:36'::timestamp) - extract(epoch from '2026-05-29 09:44:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.637189 -3.189847)', '2026-05-29 09:44:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637062 -3.189935)'), GeomFromEWKT('SRID=4674;POINT (-38.637189 -3.189847)'))) / (select extract(epoch from '2026-05-29 09:44:42'::timestamp) - extract(epoch from '2026-05-29 09:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637062 -3.189935)'), GeomFromEWKT('SRID=4674;POINT (-38.637189 -3.189847)'))) / (select extract(epoch from '2026-05-29 09:44:42'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.637312 -3.189781)', '2026-05-29 09:44:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637189 -3.189847)'), GeomFromEWKT('SRID=4674;POINT (-38.637312 -3.189781)'))) / (select extract(epoch from '2026-05-29 09:44:48'::timestamp) - extract(epoch from '2026-05-29 09:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637189 -3.189847)'), GeomFromEWKT('SRID=4674;POINT (-38.637312 -3.189781)'))) / (select extract(epoch from '2026-05-29 09:44:48'::timestamp) - extract(epoch from '2026-05-29 09:44:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.637422 -3.189698)', '2026-05-29 09:44:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637312 -3.189781)'), GeomFromEWKT('SRID=4674;POINT (-38.637422 -3.189698)'))) / (select extract(epoch from '2026-05-29 09:44:54'::timestamp) - extract(epoch from '2026-05-29 09:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637312 -3.189781)'), GeomFromEWKT('SRID=4674;POINT (-38.637422 -3.189698)'))) / (select extract(epoch from '2026-05-29 09:44:54'::timestamp) - extract(epoch from '2026-05-29 09:44: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'), 46535, 'SRID=4674;POINT (-38.637516 -3.18961)', '2026-05-29 09:44:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637422 -3.189698)'), GeomFromEWKT('SRID=4674;POINT (-38.637516 -3.18961)'))) / (select extract(epoch from '2026-05-29 09:44:59'::timestamp) - extract(epoch from '2026-05-29 09:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637422 -3.189698)'), GeomFromEWKT('SRID=4674;POINT (-38.637516 -3.18961)'))) / (select extract(epoch from '2026-05-29 09:44:59'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.637625 -3.189513)', '2026-05-29 09:45:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637516 -3.18961)'), GeomFromEWKT('SRID=4674;POINT (-38.637625 -3.189513)'))) / (select extract(epoch from '2026-05-29 09:45:05'::timestamp) - extract(epoch from '2026-05-29 09:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637516 -3.18961)'), GeomFromEWKT('SRID=4674;POINT (-38.637625 -3.189513)'))) / (select extract(epoch from '2026-05-29 09:45:05'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.637752 -3.189428)', '2026-05-29 09:45:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637625 -3.189513)'), GeomFromEWKT('SRID=4674;POINT (-38.637752 -3.189428)'))) / (select extract(epoch from '2026-05-29 09:45:11'::timestamp) - extract(epoch from '2026-05-29 09:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637625 -3.189513)'), GeomFromEWKT('SRID=4674;POINT (-38.637752 -3.189428)'))) / (select extract(epoch from '2026-05-29 09:45:11'::timestamp) - extract(epoch from '2026-05-29 09:45: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'), 46535, 'SRID=4674;POINT (-38.637863 -3.189356)', '2026-05-29 09:45:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637752 -3.189428)'), GeomFromEWKT('SRID=4674;POINT (-38.637863 -3.189356)'))) / (select extract(epoch from '2026-05-29 09:45:16'::timestamp) - extract(epoch from '2026-05-29 09:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637752 -3.189428)'), GeomFromEWKT('SRID=4674;POINT (-38.637863 -3.189356)'))) / (select extract(epoch from '2026-05-29 09:45:16'::timestamp) - extract(epoch from '2026-05-29 09:45: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'), 46535, 'SRID=4674;POINT (-38.637925 -3.189314)', '2026-05-29 09:45:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637863 -3.189356)'), GeomFromEWKT('SRID=4674;POINT (-38.637925 -3.189314)'))) / (select extract(epoch from '2026-05-29 09:45:20'::timestamp) - extract(epoch from '2026-05-29 09:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637863 -3.189356)'), GeomFromEWKT('SRID=4674;POINT (-38.637925 -3.189314)'))) / (select extract(epoch from '2026-05-29 09:45:20'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.638028 -3.189243)', '2026-05-29 09:45:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637925 -3.189314)'), GeomFromEWKT('SRID=4674;POINT (-38.638028 -3.189243)'))) / (select extract(epoch from '2026-05-29 09:45:25'::timestamp) - extract(epoch from '2026-05-29 09:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637925 -3.189314)'), GeomFromEWKT('SRID=4674;POINT (-38.638028 -3.189243)'))) / (select extract(epoch from '2026-05-29 09:45:25'::timestamp) - extract(epoch from '2026-05-29 09:45: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'), 46535, 'SRID=4674;POINT (-38.638159 -3.18917)', '2026-05-29 09:45:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638028 -3.189243)'), GeomFromEWKT('SRID=4674;POINT (-38.638159 -3.18917)'))) / (select extract(epoch from '2026-05-29 09:45:31'::timestamp) - extract(epoch from '2026-05-29 09:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638028 -3.189243)'), GeomFromEWKT('SRID=4674;POINT (-38.638159 -3.18917)'))) / (select extract(epoch from '2026-05-29 09:45:31'::timestamp) - extract(epoch from '2026-05-29 09:45: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'), 46535, 'SRID=4674;POINT (-38.638235 -3.18912)', '2026-05-29 09:45:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638159 -3.18917)'), GeomFromEWKT('SRID=4674;POINT (-38.638235 -3.18912)'))) / (select extract(epoch from '2026-05-29 09:45:35'::timestamp) - extract(epoch from '2026-05-29 09:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638159 -3.18917)'), GeomFromEWKT('SRID=4674;POINT (-38.638235 -3.18912)'))) / (select extract(epoch from '2026-05-29 09:45:35'::timestamp) - extract(epoch from '2026-05-29 09:45: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'), 46535, 'SRID=4674;POINT (-38.638356 -3.189049)', '2026-05-29 09:45:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638235 -3.18912)'), GeomFromEWKT('SRID=4674;POINT (-38.638356 -3.189049)'))) / (select extract(epoch from '2026-05-29 09:45:41'::timestamp) - extract(epoch from '2026-05-29 09:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638235 -3.18912)'), GeomFromEWKT('SRID=4674;POINT (-38.638356 -3.189049)'))) / (select extract(epoch from '2026-05-29 09:45:41'::timestamp) - extract(epoch from '2026-05-29 09:45:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.63845 -3.188998)', '2026-05-29 09:45:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638356 -3.189049)'), GeomFromEWKT('SRID=4674;POINT (-38.63845 -3.188998)'))) / (select extract(epoch from '2026-05-29 09:45:45'::timestamp) - extract(epoch from '2026-05-29 09:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638356 -3.189049)'), GeomFromEWKT('SRID=4674;POINT (-38.63845 -3.188998)'))) / (select extract(epoch from '2026-05-29 09:45:45'::timestamp) - extract(epoch from '2026-05-29 09:45: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'), 46535, 'SRID=4674;POINT (-38.638545 -3.188929)', '2026-05-29 09:45:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63845 -3.188998)'), GeomFromEWKT('SRID=4674;POINT (-38.638545 -3.188929)'))) / (select extract(epoch from '2026-05-29 09:45:50'::timestamp) - extract(epoch from '2026-05-29 09:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63845 -3.188998)'), GeomFromEWKT('SRID=4674;POINT (-38.638545 -3.188929)'))) / (select extract(epoch from '2026-05-29 09:45:50'::timestamp) - extract(epoch from '2026-05-29 09:45: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'), 46535, 'SRID=4674;POINT (-38.638644 -3.18887)', '2026-05-29 09:45:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638545 -3.188929)'), GeomFromEWKT('SRID=4674;POINT (-38.638644 -3.18887)'))) / (select extract(epoch from '2026-05-29 09:45:55'::timestamp) - extract(epoch from '2026-05-29 09:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638545 -3.188929)'), GeomFromEWKT('SRID=4674;POINT (-38.638644 -3.18887)'))) / (select extract(epoch from '2026-05-29 09:45:55'::timestamp) - extract(epoch from '2026-05-29 09:45:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.638764 -3.1888)', '2026-05-29 09:46:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638644 -3.18887)'), GeomFromEWKT('SRID=4674;POINT (-38.638764 -3.1888)'))) / (select extract(epoch from '2026-05-29 09:46:01'::timestamp) - extract(epoch from '2026-05-29 09:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638644 -3.18887)'), GeomFromEWKT('SRID=4674;POINT (-38.638764 -3.1888)'))) / (select extract(epoch from '2026-05-29 09:46:01'::timestamp) - extract(epoch from '2026-05-29 09:45: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'), 46535, 'SRID=4674;POINT (-38.638857 -3.188735)', '2026-05-29 09:46:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638764 -3.1888)'), GeomFromEWKT('SRID=4674;POINT (-38.638857 -3.188735)'))) / (select extract(epoch from '2026-05-29 09:46:06'::timestamp) - extract(epoch from '2026-05-29 09:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638764 -3.1888)'), GeomFromEWKT('SRID=4674;POINT (-38.638857 -3.188735)'))) / (select extract(epoch from '2026-05-29 09:46:06'::timestamp) - extract(epoch from '2026-05-29 09:46: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'), 46535, 'SRID=4674;POINT (-38.638955 -3.188678)', '2026-05-29 09:46:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638857 -3.188735)'), GeomFromEWKT('SRID=4674;POINT (-38.638955 -3.188678)'))) / (select extract(epoch from '2026-05-29 09:46:10'::timestamp) - extract(epoch from '2026-05-29 09:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638857 -3.188735)'), GeomFromEWKT('SRID=4674;POINT (-38.638955 -3.188678)'))) / (select extract(epoch from '2026-05-29 09:46:10'::timestamp) - extract(epoch from '2026-05-29 09:46:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.639022 -3.188624)', '2026-05-29 09:46:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638955 -3.188678)'), GeomFromEWKT('SRID=4674;POINT (-38.639022 -3.188624)'))) / (select extract(epoch from '2026-05-29 09:46:14'::timestamp) - extract(epoch from '2026-05-29 09:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638955 -3.188678)'), GeomFromEWKT('SRID=4674;POINT (-38.639022 -3.188624)'))) / (select extract(epoch from '2026-05-29 09:46:14'::timestamp) - extract(epoch from '2026-05-29 09:46: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'), 46535, 'SRID=4674;POINT (-38.639148 -3.18854)', '2026-05-29 09:46:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.639022 -3.188624)'), GeomFromEWKT('SRID=4674;POINT (-38.639148 -3.18854)'))) / (select extract(epoch from '2026-05-29 09:46:20'::timestamp) - extract(epoch from '2026-05-29 09:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.639022 -3.188624)'), GeomFromEWKT('SRID=4674;POINT (-38.639148 -3.18854)'))) / (select extract(epoch from '2026-05-29 09:46:20'::timestamp) - extract(epoch from '2026-05-29 09:46:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.639272 -3.188459)', '2026-05-29 09:46:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.639148 -3.18854)'), GeomFromEWKT('SRID=4674;POINT (-38.639272 -3.188459)'))) / (select extract(epoch from '2026-05-29 09:46:26'::timestamp) - extract(epoch from '2026-05-29 09:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.639148 -3.18854)'), GeomFromEWKT('SRID=4674;POINT (-38.639272 -3.188459)'))) / (select extract(epoch from '2026-05-29 09:46:26'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.639386 -3.188395)', '2026-05-29 09:46:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.639272 -3.188459)'), GeomFromEWKT('SRID=4674;POINT (-38.639386 -3.188395)'))) / (select extract(epoch from '2026-05-29 09:46:31'::timestamp) - extract(epoch from '2026-05-29 09:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.639272 -3.188459)'), GeomFromEWKT('SRID=4674;POINT (-38.639386 -3.188395)'))) / (select extract(epoch from '2026-05-29 09:46:31'::timestamp) - extract(epoch from '2026-05-29 09:46: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'), 46535, 'SRID=4674;POINT (-38.639499 -3.188356)', '2026-05-29 09:46:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.639386 -3.188395)'), GeomFromEWKT('SRID=4674;POINT (-38.639499 -3.188356)'))) / (select extract(epoch from '2026-05-29 09:46:36'::timestamp) - extract(epoch from '2026-05-29 09:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.639386 -3.188395)'), GeomFromEWKT('SRID=4674;POINT (-38.639499 -3.188356)'))) / (select extract(epoch from '2026-05-29 09:46:36'::timestamp) - extract(epoch from '2026-05-29 09:46: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'), 46535, 'SRID=4674;POINT (-38.639639 -3.188304)', '2026-05-29 09:46:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.639499 -3.188356)'), GeomFromEWKT('SRID=4674;POINT (-38.639639 -3.188304)'))) / (select extract(epoch from '2026-05-29 09:46:42'::timestamp) - extract(epoch from '2026-05-29 09:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.639499 -3.188356)'), GeomFromEWKT('SRID=4674;POINT (-38.639639 -3.188304)'))) / (select extract(epoch from '2026-05-29 09:46:42'::timestamp) - extract(epoch from '2026-05-29 09:46: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'), 46535, 'SRID=4674;POINT (-38.63978 -3.188249)', '2026-05-29 09:46:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.639639 -3.188304)'), GeomFromEWKT('SRID=4674;POINT (-38.63978 -3.188249)'))) / (select extract(epoch from '2026-05-29 09:46:48'::timestamp) - extract(epoch from '2026-05-29 09:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.639639 -3.188304)'), GeomFromEWKT('SRID=4674;POINT (-38.63978 -3.188249)'))) / (select extract(epoch from '2026-05-29 09:46:48'::timestamp) - extract(epoch from '2026-05-29 09:46:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.639912 -3.188177)', '2026-05-29 09:46:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63978 -3.188249)'), GeomFromEWKT('SRID=4674;POINT (-38.639912 -3.188177)'))) / (select extract(epoch from '2026-05-29 09:46:54'::timestamp) - extract(epoch from '2026-05-29 09:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63978 -3.188249)'), GeomFromEWKT('SRID=4674;POINT (-38.639912 -3.188177)'))) / (select extract(epoch from '2026-05-29 09:46:54'::timestamp) - extract(epoch from '2026-05-29 09:46: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'), 46535, 'SRID=4674;POINT (-38.64002 -3.188116)', '2026-05-29 09:46:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.639912 -3.188177)'), GeomFromEWKT('SRID=4674;POINT (-38.64002 -3.188116)'))) / (select extract(epoch from '2026-05-29 09:46:59'::timestamp) - extract(epoch from '2026-05-29 09:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.639912 -3.188177)'), GeomFromEWKT('SRID=4674;POINT (-38.64002 -3.188116)'))) / (select extract(epoch from '2026-05-29 09:46:59'::timestamp) - extract(epoch from '2026-05-29 09:46: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'), 46535, 'SRID=4674;POINT (-38.64012 -3.188054)', '2026-05-29 09:47:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64002 -3.188116)'), GeomFromEWKT('SRID=4674;POINT (-38.64012 -3.188054)'))) / (select extract(epoch from '2026-05-29 09:47:04'::timestamp) - extract(epoch from '2026-05-29 09:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64002 -3.188116)'), GeomFromEWKT('SRID=4674;POINT (-38.64012 -3.188054)'))) / (select extract(epoch from '2026-05-29 09:47:04'::timestamp) - extract(epoch from '2026-05-29 09:46:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.640227 -3.187999)', '2026-05-29 09:47:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64012 -3.188054)'), GeomFromEWKT('SRID=4674;POINT (-38.640227 -3.187999)'))) / (select extract(epoch from '2026-05-29 09:47:09'::timestamp) - extract(epoch from '2026-05-29 09:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64012 -3.188054)'), GeomFromEWKT('SRID=4674;POINT (-38.640227 -3.187999)'))) / (select extract(epoch from '2026-05-29 09:47:09'::timestamp) - extract(epoch from '2026-05-29 09:47: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'), 46535, 'SRID=4674;POINT (-38.640345 -3.187925)', '2026-05-29 09:47:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.640227 -3.187999)'), GeomFromEWKT('SRID=4674;POINT (-38.640345 -3.187925)'))) / (select extract(epoch from '2026-05-29 09:47:15'::timestamp) - extract(epoch from '2026-05-29 09:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.640227 -3.187999)'), GeomFromEWKT('SRID=4674;POINT (-38.640345 -3.187925)'))) / (select extract(epoch from '2026-05-29 09:47:15'::timestamp) - extract(epoch from '2026-05-29 09:47: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'), 46535, 'SRID=4674;POINT (-38.640469 -3.187853)', '2026-05-29 09:47:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.640345 -3.187925)'), GeomFromEWKT('SRID=4674;POINT (-38.640469 -3.187853)'))) / (select extract(epoch from '2026-05-29 09:47:21'::timestamp) - extract(epoch from '2026-05-29 09:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.640345 -3.187925)'), GeomFromEWKT('SRID=4674;POINT (-38.640469 -3.187853)'))) / (select extract(epoch from '2026-05-29 09:47:21'::timestamp) - extract(epoch from '2026-05-29 09:47:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.640586 -3.187776)', '2026-05-29 09:47:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.640469 -3.187853)'), GeomFromEWKT('SRID=4674;POINT (-38.640586 -3.187776)'))) / (select extract(epoch from '2026-05-29 09:47:27'::timestamp) - extract(epoch from '2026-05-29 09:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.640469 -3.187853)'), GeomFromEWKT('SRID=4674;POINT (-38.640586 -3.187776)'))) / (select extract(epoch from '2026-05-29 09:47:27'::timestamp) - extract(epoch from '2026-05-29 09:47: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'), 46535, 'SRID=4674;POINT (-38.640679 -3.187695)', '2026-05-29 09:47:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.640586 -3.187776)'), GeomFromEWKT('SRID=4674;POINT (-38.640679 -3.187695)'))) / (select extract(epoch from '2026-05-29 09:47:32'::timestamp) - extract(epoch from '2026-05-29 09:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.640586 -3.187776)'), GeomFromEWKT('SRID=4674;POINT (-38.640679 -3.187695)'))) / (select extract(epoch from '2026-05-29 09:47:32'::timestamp) - extract(epoch from '2026-05-29 09:47: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'), 46535, 'SRID=4674;POINT (-38.640834 -3.187568)', '2026-05-29 09:47:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.640679 -3.187695)'), GeomFromEWKT('SRID=4674;POINT (-38.640834 -3.187568)'))) / (select extract(epoch from '2026-05-29 09:47:40'::timestamp) - extract(epoch from '2026-05-29 09:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.640679 -3.187695)'), GeomFromEWKT('SRID=4674;POINT (-38.640834 -3.187568)'))) / (select extract(epoch from '2026-05-29 09:47:40'::timestamp) - extract(epoch from '2026-05-29 09:47: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'), 46535, 'SRID=4674;POINT (-38.640948 -3.187482)', '2026-05-29 09:47:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.640834 -3.187568)'), GeomFromEWKT('SRID=4674;POINT (-38.640948 -3.187482)'))) / (select extract(epoch from '2026-05-29 09:47:46'::timestamp) - extract(epoch from '2026-05-29 09:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.640834 -3.187568)'), GeomFromEWKT('SRID=4674;POINT (-38.640948 -3.187482)'))) / (select extract(epoch from '2026-05-29 09:47:46'::timestamp) - extract(epoch from '2026-05-29 09:47:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.6411 -3.187363)', '2026-05-29 09:47:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.640948 -3.187482)'), GeomFromEWKT('SRID=4674;POINT (-38.6411 -3.187363)'))) / (select extract(epoch from '2026-05-29 09:47:54'::timestamp) - extract(epoch from '2026-05-29 09:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.640948 -3.187482)'), GeomFromEWKT('SRID=4674;POINT (-38.6411 -3.187363)'))) / (select extract(epoch from '2026-05-29 09:47:54'::timestamp) - extract(epoch from '2026-05-29 09:47:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.6412 -3.18731)', '2026-05-29 09:47:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6411 -3.187363)'), GeomFromEWKT('SRID=4674;POINT (-38.6412 -3.18731)'))) / (select extract(epoch from '2026-05-29 09:47:59'::timestamp) - extract(epoch from '2026-05-29 09:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6411 -3.187363)'), GeomFromEWKT('SRID=4674;POINT (-38.6412 -3.18731)'))) / (select extract(epoch from '2026-05-29 09:47:59'::timestamp) - extract(epoch from '2026-05-29 09:47: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'), 46535, 'SRID=4674;POINT (-38.641291 -3.187243)', '2026-05-29 09:48:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6412 -3.18731)'), GeomFromEWKT('SRID=4674;POINT (-38.641291 -3.187243)'))) / (select extract(epoch from '2026-05-29 09:48:04'::timestamp) - extract(epoch from '2026-05-29 09:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6412 -3.18731)'), GeomFromEWKT('SRID=4674;POINT (-38.641291 -3.187243)'))) / (select extract(epoch from '2026-05-29 09:48:04'::timestamp) - extract(epoch from '2026-05-29 09:47: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'), 46535, 'SRID=4674;POINT (-38.641407 -3.187159)', '2026-05-29 09:48:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.641291 -3.187243)'), GeomFromEWKT('SRID=4674;POINT (-38.641407 -3.187159)'))) / (select extract(epoch from '2026-05-29 09:48:10'::timestamp) - extract(epoch from '2026-05-29 09:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.641291 -3.187243)'), GeomFromEWKT('SRID=4674;POINT (-38.641407 -3.187159)'))) / (select extract(epoch from '2026-05-29 09:48:10'::timestamp) - extract(epoch from '2026-05-29 09:48:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.641503 -3.187091)', '2026-05-29 09:48:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.641407 -3.187159)'), GeomFromEWKT('SRID=4674;POINT (-38.641503 -3.187091)'))) / (select extract(epoch from '2026-05-29 09:48:15'::timestamp) - extract(epoch from '2026-05-29 09:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.641407 -3.187159)'), GeomFromEWKT('SRID=4674;POINT (-38.641503 -3.187091)'))) / (select extract(epoch from '2026-05-29 09:48:15'::timestamp) - extract(epoch from '2026-05-29 09:48: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'), 46535, 'SRID=4674;POINT (-38.641598 -3.187039)', '2026-05-29 09:48:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.641503 -3.187091)'), GeomFromEWKT('SRID=4674;POINT (-38.641598 -3.187039)'))) / (select extract(epoch from '2026-05-29 09:48:19'::timestamp) - extract(epoch from '2026-05-29 09:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.641503 -3.187091)'), GeomFromEWKT('SRID=4674;POINT (-38.641598 -3.187039)'))) / (select extract(epoch from '2026-05-29 09:48:19'::timestamp) - extract(epoch from '2026-05-29 09:48: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'), 46535, 'SRID=4674;POINT (-38.641711 -3.186973)', '2026-05-29 09:48:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.641598 -3.187039)'), GeomFromEWKT('SRID=4674;POINT (-38.641711 -3.186973)'))) / (select extract(epoch from '2026-05-29 09:48:24'::timestamp) - extract(epoch from '2026-05-29 09:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.641598 -3.187039)'), GeomFromEWKT('SRID=4674;POINT (-38.641711 -3.186973)'))) / (select extract(epoch from '2026-05-29 09:48:24'::timestamp) - extract(epoch from '2026-05-29 09:48: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'), 46535, 'SRID=4674;POINT (-38.641834 -3.186895)', '2026-05-29 09:48:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.641711 -3.186973)'), GeomFromEWKT('SRID=4674;POINT (-38.641834 -3.186895)'))) / (select extract(epoch from '2026-05-29 09:48:30'::timestamp) - extract(epoch from '2026-05-29 09:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.641711 -3.186973)'), GeomFromEWKT('SRID=4674;POINT (-38.641834 -3.186895)'))) / (select extract(epoch from '2026-05-29 09:48:30'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.641981 -3.186818)', '2026-05-29 09:48:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.641834 -3.186895)'), GeomFromEWKT('SRID=4674;POINT (-38.641981 -3.186818)'))) / (select extract(epoch from '2026-05-29 09:48:37'::timestamp) - extract(epoch from '2026-05-29 09:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.641834 -3.186895)'), GeomFromEWKT('SRID=4674;POINT (-38.641981 -3.186818)'))) / (select extract(epoch from '2026-05-29 09:48:37'::timestamp) - extract(epoch from '2026-05-29 09:48: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'), 46535, 'SRID=4674;POINT (-38.64209 -3.186768)', '2026-05-29 09:48:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.641981 -3.186818)'), GeomFromEWKT('SRID=4674;POINT (-38.64209 -3.186768)'))) / (select extract(epoch from '2026-05-29 09:48:41'::timestamp) - extract(epoch from '2026-05-29 09:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.641981 -3.186818)'), GeomFromEWKT('SRID=4674;POINT (-38.64209 -3.186768)'))) / (select extract(epoch from '2026-05-29 09:48:41'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.642122 -3.186743)', '2026-05-29 09:48:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64209 -3.186768)'), GeomFromEWKT('SRID=4674;POINT (-38.642122 -3.186743)'))) / (select extract(epoch from '2026-05-29 09:48:43'::timestamp) - extract(epoch from '2026-05-29 09:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64209 -3.186768)'), GeomFromEWKT('SRID=4674;POINT (-38.642122 -3.186743)'))) / (select extract(epoch from '2026-05-29 09:48:43'::timestamp) - extract(epoch from '2026-05-29 09:48: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'), 46535, 'SRID=4674;POINT (-38.642171 -3.186726)', '2026-05-29 09:48:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.642122 -3.186743)'), GeomFromEWKT('SRID=4674;POINT (-38.642171 -3.186726)'))) / (select extract(epoch from '2026-05-29 09:48:45'::timestamp) - extract(epoch from '2026-05-29 09:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.642122 -3.186743)'), GeomFromEWKT('SRID=4674;POINT (-38.642171 -3.186726)'))) / (select extract(epoch from '2026-05-29 09:48:45'::timestamp) - extract(epoch from '2026-05-29 09:48:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.642295 -3.186644)', '2026-05-29 09:48:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.642171 -3.186726)'), GeomFromEWKT('SRID=4674;POINT (-38.642295 -3.186644)'))) / (select extract(epoch from '2026-05-29 09:48:51'::timestamp) - extract(epoch from '2026-05-29 09:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.642171 -3.186726)'), GeomFromEWKT('SRID=4674;POINT (-38.642295 -3.186644)'))) / (select extract(epoch from '2026-05-29 09:48:51'::timestamp) - extract(epoch from '2026-05-29 09:48: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'), 46535, 'SRID=4674;POINT (-38.642419 -3.186572)', '2026-05-29 09:48:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.642295 -3.186644)'), GeomFromEWKT('SRID=4674;POINT (-38.642419 -3.186572)'))) / (select extract(epoch from '2026-05-29 09:48:57'::timestamp) - extract(epoch from '2026-05-29 09:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.642295 -3.186644)'), GeomFromEWKT('SRID=4674;POINT (-38.642419 -3.186572)'))) / (select extract(epoch from '2026-05-29 09:48:57'::timestamp) - extract(epoch from '2026-05-29 09:48:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.642518 -3.18652)', '2026-05-29 09:49:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.642419 -3.186572)'), GeomFromEWKT('SRID=4674;POINT (-38.642518 -3.18652)'))) / (select extract(epoch from '2026-05-29 09:49:02'::timestamp) - extract(epoch from '2026-05-29 09:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.642419 -3.186572)'), GeomFromEWKT('SRID=4674;POINT (-38.642518 -3.18652)'))) / (select extract(epoch from '2026-05-29 09:49:02'::timestamp) - extract(epoch from '2026-05-29 09:48: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'), 46535, 'SRID=4674;POINT (-38.642629 -3.186463)', '2026-05-29 09:49:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.642518 -3.18652)'), GeomFromEWKT('SRID=4674;POINT (-38.642629 -3.186463)'))) / (select extract(epoch from '2026-05-29 09:49:07'::timestamp) - extract(epoch from '2026-05-29 09:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.642518 -3.18652)'), GeomFromEWKT('SRID=4674;POINT (-38.642629 -3.186463)'))) / (select extract(epoch from '2026-05-29 09:49:07'::timestamp) - extract(epoch from '2026-05-29 09:49:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.642757 -3.186393)', '2026-05-29 09:49:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.642629 -3.186463)'), GeomFromEWKT('SRID=4674;POINT (-38.642757 -3.186393)'))) / (select extract(epoch from '2026-05-29 09:49:13'::timestamp) - extract(epoch from '2026-05-29 09:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.642629 -3.186463)'), GeomFromEWKT('SRID=4674;POINT (-38.642757 -3.186393)'))) / (select extract(epoch from '2026-05-29 09:49:13'::timestamp) - extract(epoch from '2026-05-29 09:49: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'), 46535, 'SRID=4674;POINT (-38.642852 -3.186336)', '2026-05-29 09:49:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.642757 -3.186393)'), GeomFromEWKT('SRID=4674;POINT (-38.642852 -3.186336)'))) / (select extract(epoch from '2026-05-29 09:49:18'::timestamp) - extract(epoch from '2026-05-29 09:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.642757 -3.186393)'), GeomFromEWKT('SRID=4674;POINT (-38.642852 -3.186336)'))) / (select extract(epoch from '2026-05-29 09:49:18'::timestamp) - extract(epoch from '2026-05-29 09:49:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.642982 -3.186266)', '2026-05-29 09:49:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.642852 -3.186336)'), GeomFromEWKT('SRID=4674;POINT (-38.642982 -3.186266)'))) / (select extract(epoch from '2026-05-29 09:49:24'::timestamp) - extract(epoch from '2026-05-29 09:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.642852 -3.186336)'), GeomFromEWKT('SRID=4674;POINT (-38.642982 -3.186266)'))) / (select extract(epoch from '2026-05-29 09:49:24'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.643095 -3.186203)', '2026-05-29 09:49:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.642982 -3.186266)'), GeomFromEWKT('SRID=4674;POINT (-38.643095 -3.186203)'))) / (select extract(epoch from '2026-05-29 09:49:29'::timestamp) - extract(epoch from '2026-05-29 09:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.642982 -3.186266)'), GeomFromEWKT('SRID=4674;POINT (-38.643095 -3.186203)'))) / (select extract(epoch from '2026-05-29 09:49:29'::timestamp) - extract(epoch from '2026-05-29 09:49: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'), 46535, 'SRID=4674;POINT (-38.643204 -3.186149)', '2026-05-29 09:49:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643095 -3.186203)'), GeomFromEWKT('SRID=4674;POINT (-38.643204 -3.186149)'))) / (select extract(epoch from '2026-05-29 09:49:34'::timestamp) - extract(epoch from '2026-05-29 09:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643095 -3.186203)'), GeomFromEWKT('SRID=4674;POINT (-38.643204 -3.186149)'))) / (select extract(epoch from '2026-05-29 09:49:34'::timestamp) - extract(epoch from '2026-05-29 09:49:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.643308 -3.186086)', '2026-05-29 09:49:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643204 -3.186149)'), GeomFromEWKT('SRID=4674;POINT (-38.643308 -3.186086)'))) / (select extract(epoch from '2026-05-29 09:49:39'::timestamp) - extract(epoch from '2026-05-29 09:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643204 -3.186149)'), GeomFromEWKT('SRID=4674;POINT (-38.643308 -3.186086)'))) / (select extract(epoch from '2026-05-29 09:49:39'::timestamp) - extract(epoch from '2026-05-29 09:49: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'), 46535, 'SRID=4674;POINT (-38.643398 -3.186021)', '2026-05-29 09:49:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643308 -3.186086)'), GeomFromEWKT('SRID=4674;POINT (-38.643398 -3.186021)'))) / (select extract(epoch from '2026-05-29 09:49:44'::timestamp) - extract(epoch from '2026-05-29 09:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643308 -3.186086)'), GeomFromEWKT('SRID=4674;POINT (-38.643398 -3.186021)'))) / (select extract(epoch from '2026-05-29 09:49:44'::timestamp) - extract(epoch from '2026-05-29 09:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.643509 -3.185938)', '2026-05-29 09:49:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643398 -3.186021)'), GeomFromEWKT('SRID=4674;POINT (-38.643509 -3.185938)'))) / (select extract(epoch from '2026-05-29 09:49:50'::timestamp) - extract(epoch from '2026-05-29 09:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643398 -3.186021)'), GeomFromEWKT('SRID=4674;POINT (-38.643509 -3.185938)'))) / (select extract(epoch from '2026-05-29 09:49:50'::timestamp) - extract(epoch from '2026-05-29 09:49: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'), 46535, 'SRID=4674;POINT (-38.64359 -3.185883)', '2026-05-29 09:49:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643509 -3.185938)'), GeomFromEWKT('SRID=4674;POINT (-38.64359 -3.185883)'))) / (select extract(epoch from '2026-05-29 09:49:54'::timestamp) - extract(epoch from '2026-05-29 09:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643509 -3.185938)'), GeomFromEWKT('SRID=4674;POINT (-38.64359 -3.185883)'))) / (select extract(epoch from '2026-05-29 09:49:54'::timestamp) - extract(epoch from '2026-05-29 09:49:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.643672 -3.185809)', '2026-05-29 09:49:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64359 -3.185883)'), GeomFromEWKT('SRID=4674;POINT (-38.643672 -3.185809)'))) / (select extract(epoch from '2026-05-29 09:49:59'::timestamp) - extract(epoch from '2026-05-29 09:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64359 -3.185883)'), GeomFromEWKT('SRID=4674;POINT (-38.643672 -3.185809)'))) / (select extract(epoch from '2026-05-29 09:49:59'::timestamp) - extract(epoch from '2026-05-29 09:49: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'), 46535, 'SRID=4674;POINT (-38.643771 -3.185719)', '2026-05-29 09:50:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643672 -3.185809)'), GeomFromEWKT('SRID=4674;POINT (-38.643771 -3.185719)'))) / (select extract(epoch from '2026-05-29 09:50:05'::timestamp) - extract(epoch from '2026-05-29 09:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643672 -3.185809)'), GeomFromEWKT('SRID=4674;POINT (-38.643771 -3.185719)'))) / (select extract(epoch from '2026-05-29 09:50:05'::timestamp) - extract(epoch from '2026-05-29 09:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.643862 -3.185639)', '2026-05-29 09:50:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643771 -3.185719)'), GeomFromEWKT('SRID=4674;POINT (-38.643862 -3.185639)'))) / (select extract(epoch from '2026-05-29 09:50:10'::timestamp) - extract(epoch from '2026-05-29 09:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643771 -3.185719)'), GeomFromEWKT('SRID=4674;POINT (-38.643862 -3.185639)'))) / (select extract(epoch from '2026-05-29 09:50:10'::timestamp) - extract(epoch from '2026-05-29 09:50: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'), 46535, 'SRID=4674;POINT (-38.643921 -3.185561)', '2026-05-29 09:50:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643862 -3.185639)'), GeomFromEWKT('SRID=4674;POINT (-38.643921 -3.185561)'))) / (select extract(epoch from '2026-05-29 09:50:14'::timestamp) - extract(epoch from '2026-05-29 09:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643862 -3.185639)'), GeomFromEWKT('SRID=4674;POINT (-38.643921 -3.185561)'))) / (select extract(epoch from '2026-05-29 09:50:14'::timestamp) - extract(epoch from '2026-05-29 09:50: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'), 46535, 'SRID=4674;POINT (-38.643997 -3.185477)', '2026-05-29 09:50:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643921 -3.185561)'), GeomFromEWKT('SRID=4674;POINT (-38.643997 -3.185477)'))) / (select extract(epoch from '2026-05-29 09:50:18'::timestamp) - extract(epoch from '2026-05-29 09:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643921 -3.185561)'), GeomFromEWKT('SRID=4674;POINT (-38.643997 -3.185477)'))) / (select extract(epoch from '2026-05-29 09:50:18'::timestamp) - extract(epoch from '2026-05-29 09:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.644067 -3.185366)', '2026-05-29 09:50:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643997 -3.185477)'), GeomFromEWKT('SRID=4674;POINT (-38.644067 -3.185366)'))) / (select extract(epoch from '2026-05-29 09:50:23'::timestamp) - extract(epoch from '2026-05-29 09:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.643997 -3.185477)'), GeomFromEWKT('SRID=4674;POINT (-38.644067 -3.185366)'))) / (select extract(epoch from '2026-05-29 09:50:23'::timestamp) - extract(epoch from '2026-05-29 09:50: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'), 46535, 'SRID=4674;POINT (-38.644157 -3.185234)', '2026-05-29 09:50:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.644067 -3.185366)'), GeomFromEWKT('SRID=4674;POINT (-38.644157 -3.185234)'))) / (select extract(epoch from '2026-05-29 09:50:30'::timestamp) - extract(epoch from '2026-05-29 09:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.644067 -3.185366)'), GeomFromEWKT('SRID=4674;POINT (-38.644157 -3.185234)'))) / (select extract(epoch from '2026-05-29 09:50:30'::timestamp) - extract(epoch from '2026-05-29 09:50:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.644241 -3.185129)', '2026-05-29 09:50:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.644157 -3.185234)'), GeomFromEWKT('SRID=4674;POINT (-38.644241 -3.185129)'))) / (select extract(epoch from '2026-05-29 09:50:36'::timestamp) - extract(epoch from '2026-05-29 09:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.644157 -3.185234)'), GeomFromEWKT('SRID=4674;POINT (-38.644241 -3.185129)'))) / (select extract(epoch from '2026-05-29 09:50:36'::timestamp) - extract(epoch from '2026-05-29 09:50: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'), 46535, 'SRID=4674;POINT (-38.644345 -3.18503)', '2026-05-29 09:50:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.644241 -3.185129)'), GeomFromEWKT('SRID=4674;POINT (-38.644345 -3.18503)'))) / (select extract(epoch from '2026-05-29 09:50:42'::timestamp) - extract(epoch from '2026-05-29 09:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.644241 -3.185129)'), GeomFromEWKT('SRID=4674;POINT (-38.644345 -3.18503)'))) / (select extract(epoch from '2026-05-29 09:50:42'::timestamp) - extract(epoch from '2026-05-29 09:50:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.644464 -3.184954)', '2026-05-29 09:50:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.644345 -3.18503)'), GeomFromEWKT('SRID=4674;POINT (-38.644464 -3.184954)'))) / (select extract(epoch from '2026-05-29 09:50:48'::timestamp) - extract(epoch from '2026-05-29 09:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.644345 -3.18503)'), GeomFromEWKT('SRID=4674;POINT (-38.644464 -3.184954)'))) / (select extract(epoch from '2026-05-29 09:50:48'::timestamp) - extract(epoch from '2026-05-29 09:50: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'), 46535, 'SRID=4674;POINT (-38.644616 -3.184902)', '2026-05-29 09:50:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.644464 -3.184954)'), GeomFromEWKT('SRID=4674;POINT (-38.644616 -3.184902)'))) / (select extract(epoch from '2026-05-29 09:50:55'::timestamp) - extract(epoch from '2026-05-29 09:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.644464 -3.184954)'), GeomFromEWKT('SRID=4674;POINT (-38.644616 -3.184902)'))) / (select extract(epoch from '2026-05-29 09:50:55'::timestamp) - extract(epoch from '2026-05-29 09:50:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.644733 -3.184885)', '2026-05-29 09:51:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.644616 -3.184902)'), GeomFromEWKT('SRID=4674;POINT (-38.644733 -3.184885)'))) / (select extract(epoch from '2026-05-29 09:51:00'::timestamp) - extract(epoch from '2026-05-29 09:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.644616 -3.184902)'), GeomFromEWKT('SRID=4674;POINT (-38.644733 -3.184885)'))) / (select extract(epoch from '2026-05-29 09:51:00'::timestamp) - extract(epoch from '2026-05-29 09:50: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'), 46535, 'SRID=4674;POINT (-38.644814 -3.184859)', '2026-05-29 09:51:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.644733 -3.184885)'), GeomFromEWKT('SRID=4674;POINT (-38.644814 -3.184859)'))) / (select extract(epoch from '2026-05-29 09:51:04'::timestamp) - extract(epoch from '2026-05-29 09:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.644733 -3.184885)'), GeomFromEWKT('SRID=4674;POINT (-38.644814 -3.184859)'))) / (select extract(epoch from '2026-05-29 09:51:04'::timestamp) - extract(epoch from '2026-05-29 09:51: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'), 46535, 'SRID=4674;POINT (-38.644947 -3.184823)', '2026-05-29 09:51:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.644814 -3.184859)'), GeomFromEWKT('SRID=4674;POINT (-38.644947 -3.184823)'))) / (select extract(epoch from '2026-05-29 09:51:09'::timestamp) - extract(epoch from '2026-05-29 09:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.644814 -3.184859)'), GeomFromEWKT('SRID=4674;POINT (-38.644947 -3.184823)'))) / (select extract(epoch from '2026-05-29 09:51:09'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.64506 -3.184791)', '2026-05-29 09:51:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.644947 -3.184823)'), GeomFromEWKT('SRID=4674;POINT (-38.64506 -3.184791)'))) / (select extract(epoch from '2026-05-29 09:51:14'::timestamp) - extract(epoch from '2026-05-29 09:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.644947 -3.184823)'), GeomFromEWKT('SRID=4674;POINT (-38.64506 -3.184791)'))) / (select extract(epoch from '2026-05-29 09:51:14'::timestamp) - extract(epoch from '2026-05-29 09:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.645168 -3.184748)', '2026-05-29 09:51:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64506 -3.184791)'), GeomFromEWKT('SRID=4674;POINT (-38.645168 -3.184748)'))) / (select extract(epoch from '2026-05-29 09:51:19'::timestamp) - extract(epoch from '2026-05-29 09:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64506 -3.184791)'), GeomFromEWKT('SRID=4674;POINT (-38.645168 -3.184748)'))) / (select extract(epoch from '2026-05-29 09:51:19'::timestamp) - extract(epoch from '2026-05-29 09:51: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'), 46535, 'SRID=4674;POINT (-38.645272 -3.184685)', '2026-05-29 09:51:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.645168 -3.184748)'), GeomFromEWKT('SRID=4674;POINT (-38.645272 -3.184685)'))) / (select extract(epoch from '2026-05-29 09:51:24'::timestamp) - extract(epoch from '2026-05-29 09:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.645168 -3.184748)'), GeomFromEWKT('SRID=4674;POINT (-38.645272 -3.184685)'))) / (select extract(epoch from '2026-05-29 09:51:24'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.645382 -3.184621)', '2026-05-29 09:51:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.645272 -3.184685)'), GeomFromEWKT('SRID=4674;POINT (-38.645382 -3.184621)'))) / (select extract(epoch from '2026-05-29 09:51:29'::timestamp) - extract(epoch from '2026-05-29 09:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.645272 -3.184685)'), GeomFromEWKT('SRID=4674;POINT (-38.645382 -3.184621)'))) / (select extract(epoch from '2026-05-29 09:51:29'::timestamp) - extract(epoch from '2026-05-29 09:51: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'), 46535, 'SRID=4674;POINT (-38.645476 -3.184558)', '2026-05-29 09:51:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.645382 -3.184621)'), GeomFromEWKT('SRID=4674;POINT (-38.645476 -3.184558)'))) / (select extract(epoch from '2026-05-29 09:51:34'::timestamp) - extract(epoch from '2026-05-29 09:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.645382 -3.184621)'), GeomFromEWKT('SRID=4674;POINT (-38.645476 -3.184558)'))) / (select extract(epoch from '2026-05-29 09:51:34'::timestamp) - extract(epoch from '2026-05-29 09:51: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'), 46535, 'SRID=4674;POINT (-38.645593 -3.184486)', '2026-05-29 09:51:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.645476 -3.184558)'), GeomFromEWKT('SRID=4674;POINT (-38.645593 -3.184486)'))) / (select extract(epoch from '2026-05-29 09:51:40'::timestamp) - extract(epoch from '2026-05-29 09:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.645476 -3.184558)'), GeomFromEWKT('SRID=4674;POINT (-38.645593 -3.184486)'))) / (select extract(epoch from '2026-05-29 09:51:40'::timestamp) - extract(epoch from '2026-05-29 09:51:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.645711 -3.184409)', '2026-05-29 09:51:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.645593 -3.184486)'), GeomFromEWKT('SRID=4674;POINT (-38.645711 -3.184409)'))) / (select extract(epoch from '2026-05-29 09:51:46'::timestamp) - extract(epoch from '2026-05-29 09:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.645593 -3.184486)'), GeomFromEWKT('SRID=4674;POINT (-38.645711 -3.184409)'))) / (select extract(epoch from '2026-05-29 09:51:46'::timestamp) - extract(epoch from '2026-05-29 09:51: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'), 46535, 'SRID=4674;POINT (-38.645833 -3.184339)', '2026-05-29 09:51:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.645711 -3.184409)'), GeomFromEWKT('SRID=4674;POINT (-38.645833 -3.184339)'))) / (select extract(epoch from '2026-05-29 09:51:52'::timestamp) - extract(epoch from '2026-05-29 09:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.645711 -3.184409)'), GeomFromEWKT('SRID=4674;POINT (-38.645833 -3.184339)'))) / (select extract(epoch from '2026-05-29 09:51:52'::timestamp) - extract(epoch from '2026-05-29 09:51:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.645984 -3.184268)', '2026-05-29 09:51:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.645833 -3.184339)'), GeomFromEWKT('SRID=4674;POINT (-38.645984 -3.184268)'))) / (select extract(epoch from '2026-05-29 09:51:59'::timestamp) - extract(epoch from '2026-05-29 09:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.645833 -3.184339)'), GeomFromEWKT('SRID=4674;POINT (-38.645984 -3.184268)'))) / (select extract(epoch from '2026-05-29 09:51:59'::timestamp) - extract(epoch from '2026-05-29 09:51: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'), 46535, 'SRID=4674;POINT (-38.646111 -3.184202)', '2026-05-29 09:52:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.645984 -3.184268)'), GeomFromEWKT('SRID=4674;POINT (-38.646111 -3.184202)'))) / (select extract(epoch from '2026-05-29 09:52:05'::timestamp) - extract(epoch from '2026-05-29 09:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.645984 -3.184268)'), GeomFromEWKT('SRID=4674;POINT (-38.646111 -3.184202)'))) / (select extract(epoch from '2026-05-29 09:52:05'::timestamp) - extract(epoch from '2026-05-29 09:51: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'), 46535, 'SRID=4674;POINT (-38.64621 -3.184161)', '2026-05-29 09:52:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646111 -3.184202)'), GeomFromEWKT('SRID=4674;POINT (-38.64621 -3.184161)'))) / (select extract(epoch from '2026-05-29 09:52:10'::timestamp) - extract(epoch from '2026-05-29 09:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646111 -3.184202)'), GeomFromEWKT('SRID=4674;POINT (-38.64621 -3.184161)'))) / (select extract(epoch from '2026-05-29 09:52:10'::timestamp) - extract(epoch from '2026-05-29 09:52:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.646286 -3.184129)', '2026-05-29 09:52:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64621 -3.184161)'), GeomFromEWKT('SRID=4674;POINT (-38.646286 -3.184129)'))) / (select extract(epoch from '2026-05-29 09:52:14'::timestamp) - extract(epoch from '2026-05-29 09:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64621 -3.184161)'), GeomFromEWKT('SRID=4674;POINT (-38.646286 -3.184129)'))) / (select extract(epoch from '2026-05-29 09:52:14'::timestamp) - extract(epoch from '2026-05-29 09:52: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'), 46535, 'SRID=4674;POINT (-38.646377 -3.184079)', '2026-05-29 09:52:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646286 -3.184129)'), GeomFromEWKT('SRID=4674;POINT (-38.646377 -3.184079)'))) / (select extract(epoch from '2026-05-29 09:52:18'::timestamp) - extract(epoch from '2026-05-29 09:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646286 -3.184129)'), GeomFromEWKT('SRID=4674;POINT (-38.646377 -3.184079)'))) / (select extract(epoch from '2026-05-29 09:52:18'::timestamp) - extract(epoch from '2026-05-29 09:52: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'), 46535, 'SRID=4674;POINT (-38.646453 -3.184047)', '2026-05-29 09:52:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646377 -3.184079)'), GeomFromEWKT('SRID=4674;POINT (-38.646453 -3.184047)'))) / (select extract(epoch from '2026-05-29 09:52:22'::timestamp) - extract(epoch from '2026-05-29 09:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646377 -3.184079)'), GeomFromEWKT('SRID=4674;POINT (-38.646453 -3.184047)'))) / (select extract(epoch from '2026-05-29 09:52:22'::timestamp) - extract(epoch from '2026-05-29 09:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.646528 -3.184014)', '2026-05-29 09:52:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646453 -3.184047)'), GeomFromEWKT('SRID=4674;POINT (-38.646528 -3.184014)'))) / (select extract(epoch from '2026-05-29 09:52:26'::timestamp) - extract(epoch from '2026-05-29 09:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646453 -3.184047)'), GeomFromEWKT('SRID=4674;POINT (-38.646528 -3.184014)'))) / (select extract(epoch from '2026-05-29 09:52:26'::timestamp) - extract(epoch from '2026-05-29 09:52: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'), 46535, 'SRID=4674;POINT (-38.646616 -3.18397)', '2026-05-29 09:52:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646528 -3.184014)'), GeomFromEWKT('SRID=4674;POINT (-38.646616 -3.18397)'))) / (select extract(epoch from '2026-05-29 09:52:31'::timestamp) - extract(epoch from '2026-05-29 09:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646528 -3.184014)'), GeomFromEWKT('SRID=4674;POINT (-38.646616 -3.18397)'))) / (select extract(epoch from '2026-05-29 09:52:31'::timestamp) - extract(epoch from '2026-05-29 09:52: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'), 46535, 'SRID=4674;POINT (-38.646703 -3.183935)', '2026-05-29 09:52:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646616 -3.18397)'), GeomFromEWKT('SRID=4674;POINT (-38.646703 -3.183935)'))) / (select extract(epoch from '2026-05-29 09:52:35'::timestamp) - extract(epoch from '2026-05-29 09:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646616 -3.18397)'), GeomFromEWKT('SRID=4674;POINT (-38.646703 -3.183935)'))) / (select extract(epoch from '2026-05-29 09:52:35'::timestamp) - extract(epoch from '2026-05-29 09:52:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.646813 -3.183892)', '2026-05-29 09:52:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646703 -3.183935)'), GeomFromEWKT('SRID=4674;POINT (-38.646813 -3.183892)'))) / (select extract(epoch from '2026-05-29 09:52:41'::timestamp) - extract(epoch from '2026-05-29 09:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646703 -3.183935)'), GeomFromEWKT('SRID=4674;POINT (-38.646813 -3.183892)'))) / (select extract(epoch from '2026-05-29 09:52:41'::timestamp) - extract(epoch from '2026-05-29 09:52:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.646897 -3.183854)', '2026-05-29 09:52:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646813 -3.183892)'), GeomFromEWKT('SRID=4674;POINT (-38.646897 -3.183854)'))) / (select extract(epoch from '2026-05-29 09:52:46'::timestamp) - extract(epoch from '2026-05-29 09:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646813 -3.183892)'), GeomFromEWKT('SRID=4674;POINT (-38.646897 -3.183854)'))) / (select extract(epoch from '2026-05-29 09:52:46'::timestamp) - extract(epoch from '2026-05-29 09:52: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'), 46535, 'SRID=4674;POINT (-38.646989 -3.183807)', '2026-05-29 09:52:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646897 -3.183854)'), GeomFromEWKT('SRID=4674;POINT (-38.646989 -3.183807)'))) / (select extract(epoch from '2026-05-29 09:52:51'::timestamp) - extract(epoch from '2026-05-29 09:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646897 -3.183854)'), GeomFromEWKT('SRID=4674;POINT (-38.646989 -3.183807)'))) / (select extract(epoch from '2026-05-29 09:52:51'::timestamp) - extract(epoch from '2026-05-29 09:52: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'), 46535, 'SRID=4674;POINT (-38.647061 -3.183754)', '2026-05-29 09:52:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646989 -3.183807)'), GeomFromEWKT('SRID=4674;POINT (-38.647061 -3.183754)'))) / (select extract(epoch from '2026-05-29 09:52:55'::timestamp) - extract(epoch from '2026-05-29 09:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.646989 -3.183807)'), GeomFromEWKT('SRID=4674;POINT (-38.647061 -3.183754)'))) / (select extract(epoch from '2026-05-29 09:52:55'::timestamp) - extract(epoch from '2026-05-29 09:52:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.647148 -3.183688)', '2026-05-29 09:53:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647061 -3.183754)'), GeomFromEWKT('SRID=4674;POINT (-38.647148 -3.183688)'))) / (select extract(epoch from '2026-05-29 09:53:01'::timestamp) - extract(epoch from '2026-05-29 09:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647061 -3.183754)'), GeomFromEWKT('SRID=4674;POINT (-38.647148 -3.183688)'))) / (select extract(epoch from '2026-05-29 09:53:01'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.647238 -3.183615)', '2026-05-29 09:53:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647148 -3.183688)'), GeomFromEWKT('SRID=4674;POINT (-38.647238 -3.183615)'))) / (select extract(epoch from '2026-05-29 09:53:07'::timestamp) - extract(epoch from '2026-05-29 09:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647148 -3.183688)'), GeomFromEWKT('SRID=4674;POINT (-38.647238 -3.183615)'))) / (select extract(epoch from '2026-05-29 09:53:07'::timestamp) - extract(epoch from '2026-05-29 09:53: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'), 46535, 'SRID=4674;POINT (-38.647318 -3.183559)', '2026-05-29 09:53:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647238 -3.183615)'), GeomFromEWKT('SRID=4674;POINT (-38.647318 -3.183559)'))) / (select extract(epoch from '2026-05-29 09:53:11'::timestamp) - extract(epoch from '2026-05-29 09:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647238 -3.183615)'), GeomFromEWKT('SRID=4674;POINT (-38.647318 -3.183559)'))) / (select extract(epoch from '2026-05-29 09:53:11'::timestamp) - extract(epoch from '2026-05-29 09:53: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'), 46535, 'SRID=4674;POINT (-38.647401 -3.18352)', '2026-05-29 09:53:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647318 -3.183559)'), GeomFromEWKT('SRID=4674;POINT (-38.647401 -3.18352)'))) / (select extract(epoch from '2026-05-29 09:53:16'::timestamp) - extract(epoch from '2026-05-29 09:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647318 -3.183559)'), GeomFromEWKT('SRID=4674;POINT (-38.647401 -3.18352)'))) / (select extract(epoch from '2026-05-29 09:53:16'::timestamp) - extract(epoch from '2026-05-29 09:53:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.647521 -3.183481)', '2026-05-29 09:53:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647401 -3.18352)'), GeomFromEWKT('SRID=4674;POINT (-38.647521 -3.183481)'))) / (select extract(epoch from '2026-05-29 09:53:23'::timestamp) - extract(epoch from '2026-05-29 09:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647401 -3.18352)'), GeomFromEWKT('SRID=4674;POINT (-38.647521 -3.183481)'))) / (select extract(epoch from '2026-05-29 09:53:23'::timestamp) - extract(epoch from '2026-05-29 09:53: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'), 46535, 'SRID=4674;POINT (-38.647607 -3.183455)', '2026-05-29 09:53:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647521 -3.183481)'), GeomFromEWKT('SRID=4674;POINT (-38.647607 -3.183455)'))) / (select extract(epoch from '2026-05-29 09:53:27'::timestamp) - extract(epoch from '2026-05-29 09:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647521 -3.183481)'), GeomFromEWKT('SRID=4674;POINT (-38.647607 -3.183455)'))) / (select extract(epoch from '2026-05-29 09:53:27'::timestamp) - extract(epoch from '2026-05-29 09:53:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.64762 -3.183452)', '2026-05-29 09:53:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647607 -3.183455)'), GeomFromEWKT('SRID=4674;POINT (-38.64762 -3.183452)'))) / (select extract(epoch from '2026-05-29 09:53:28'::timestamp) - extract(epoch from '2026-05-29 09:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647607 -3.183455)'), GeomFromEWKT('SRID=4674;POINT (-38.64762 -3.183452)'))) / (select extract(epoch from '2026-05-29 09:53:28'::timestamp) - extract(epoch from '2026-05-29 09:53: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'), 46535, 'SRID=4674;POINT (-38.647689 -3.183443)', '2026-05-29 09:53:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64762 -3.183452)'), GeomFromEWKT('SRID=4674;POINT (-38.647689 -3.183443)'))) / (select extract(epoch from '2026-05-29 09:53:31'::timestamp) - extract(epoch from '2026-05-29 09:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64762 -3.183452)'), GeomFromEWKT('SRID=4674;POINT (-38.647689 -3.183443)'))) / (select extract(epoch from '2026-05-29 09:53:31'::timestamp) - extract(epoch from '2026-05-29 09:53: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'), 46535, 'SRID=4674;POINT (-38.647768 -3.183398)', '2026-05-29 09:53:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647689 -3.183443)'), GeomFromEWKT('SRID=4674;POINT (-38.647768 -3.183398)'))) / (select extract(epoch from '2026-05-29 09:53:36'::timestamp) - extract(epoch from '2026-05-29 09:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647689 -3.183443)'), GeomFromEWKT('SRID=4674;POINT (-38.647768 -3.183398)'))) / (select extract(epoch from '2026-05-29 09:53:36'::timestamp) - extract(epoch from '2026-05-29 09:53: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'), 46535, 'SRID=4674;POINT (-38.647877 -3.183315)', '2026-05-29 09:53:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647768 -3.183398)'), GeomFromEWKT('SRID=4674;POINT (-38.647877 -3.183315)'))) / (select extract(epoch from '2026-05-29 09:53:43'::timestamp) - extract(epoch from '2026-05-29 09:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647768 -3.183398)'), GeomFromEWKT('SRID=4674;POINT (-38.647877 -3.183315)'))) / (select extract(epoch from '2026-05-29 09:53:43'::timestamp) - extract(epoch from '2026-05-29 09:53: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'), 46535, 'SRID=4674;POINT (-38.647976 -3.183222)', '2026-05-29 09:53:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647877 -3.183315)'), GeomFromEWKT('SRID=4674;POINT (-38.647976 -3.183222)'))) / (select extract(epoch from '2026-05-29 09:53:50'::timestamp) - extract(epoch from '2026-05-29 09:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647877 -3.183315)'), GeomFromEWKT('SRID=4674;POINT (-38.647976 -3.183222)'))) / (select extract(epoch from '2026-05-29 09:53:50'::timestamp) - extract(epoch from '2026-05-29 09:53:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.648065 -3.183147)', '2026-05-29 09:53:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647976 -3.183222)'), GeomFromEWKT('SRID=4674;POINT (-38.648065 -3.183147)'))) / (select extract(epoch from '2026-05-29 09:53:57'::timestamp) - extract(epoch from '2026-05-29 09:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.647976 -3.183222)'), GeomFromEWKT('SRID=4674;POINT (-38.648065 -3.183147)'))) / (select extract(epoch from '2026-05-29 09:53:57'::timestamp) - extract(epoch from '2026-05-29 09:53: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'), 46535, 'SRID=4674;POINT (-38.648111 -3.183122)', '2026-05-29 09:54:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648065 -3.183147)'), GeomFromEWKT('SRID=4674;POINT (-38.648111 -3.183122)'))) / (select extract(epoch from '2026-05-29 09:54:01'::timestamp) - extract(epoch from '2026-05-29 09:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648065 -3.183147)'), GeomFromEWKT('SRID=4674;POINT (-38.648111 -3.183122)'))) / (select extract(epoch from '2026-05-29 09:54:01'::timestamp) - extract(epoch from '2026-05-29 09:53: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'), 46535, 'SRID=4674;POINT (-38.648264 -3.183074)', '2026-05-29 09:54:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648111 -3.183122)'), GeomFromEWKT('SRID=4674;POINT (-38.648264 -3.183074)'))) / (select extract(epoch from '2026-05-29 09:54:20'::timestamp) - extract(epoch from '2026-05-29 09:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648111 -3.183122)'), GeomFromEWKT('SRID=4674;POINT (-38.648264 -3.183074)'))) / (select extract(epoch from '2026-05-29 09:54:20'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.648295 -3.18306)', '2026-05-29 09:54:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648264 -3.183074)'), GeomFromEWKT('SRID=4674;POINT (-38.648295 -3.18306)'))) / (select extract(epoch from '2026-05-29 09:54:23'::timestamp) - extract(epoch from '2026-05-29 09:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648264 -3.183074)'), GeomFromEWKT('SRID=4674;POINT (-38.648295 -3.18306)'))) / (select extract(epoch from '2026-05-29 09:54:23'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.648312 -3.18306)', '2026-05-29 09:54:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648295 -3.18306)'), GeomFromEWKT('SRID=4674;POINT (-38.648312 -3.18306)'))) / (select extract(epoch from '2026-05-29 09:54:25'::timestamp) - extract(epoch from '2026-05-29 09:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648295 -3.18306)'), GeomFromEWKT('SRID=4674;POINT (-38.648312 -3.18306)'))) / (select extract(epoch from '2026-05-29 09:54:25'::timestamp) - extract(epoch from '2026-05-29 09:54:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.648326 -3.183052)', '2026-05-29 09:54:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648312 -3.18306)'), GeomFromEWKT('SRID=4674;POINT (-38.648326 -3.183052)'))) / (select extract(epoch from '2026-05-29 09:54:27'::timestamp) - extract(epoch from '2026-05-29 09:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648312 -3.18306)'), GeomFromEWKT('SRID=4674;POINT (-38.648326 -3.183052)'))) / (select extract(epoch from '2026-05-29 09:54:27'::timestamp) - extract(epoch from '2026-05-29 09:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.648354 -3.183045)', '2026-05-29 09:54:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648326 -3.183052)'), GeomFromEWKT('SRID=4674;POINT (-38.648354 -3.183045)'))) / (select extract(epoch from '2026-05-29 09:54:31'::timestamp) - extract(epoch from '2026-05-29 09:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648326 -3.183052)'), GeomFromEWKT('SRID=4674;POINT (-38.648354 -3.183045)'))) / (select extract(epoch from '2026-05-29 09:54:31'::timestamp) - extract(epoch from '2026-05-29 09:54: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'), 46535, 'SRID=4674;POINT (-38.648413 -3.183036)', '2026-05-29 09:54:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648354 -3.183045)'), GeomFromEWKT('SRID=4674;POINT (-38.648413 -3.183036)'))) / (select extract(epoch from '2026-05-29 09:54:38'::timestamp) - extract(epoch from '2026-05-29 09:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648354 -3.183045)'), GeomFromEWKT('SRID=4674;POINT (-38.648413 -3.183036)'))) / (select extract(epoch from '2026-05-29 09:54:38'::timestamp) - extract(epoch from '2026-05-29 09:54: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'), 46535, 'SRID=4674;POINT (-38.648475 -3.18302)', '2026-05-29 09:54:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648413 -3.183036)'), GeomFromEWKT('SRID=4674;POINT (-38.648475 -3.18302)'))) / (select extract(epoch from '2026-05-29 09:54:44'::timestamp) - extract(epoch from '2026-05-29 09:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648413 -3.183036)'), GeomFromEWKT('SRID=4674;POINT (-38.648475 -3.18302)'))) / (select extract(epoch from '2026-05-29 09:54:44'::timestamp) - extract(epoch from '2026-05-29 09:54: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'), 46535, 'SRID=4674;POINT (-38.648484 -3.183018)', '2026-05-29 09:54:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648475 -3.18302)'), GeomFromEWKT('SRID=4674;POINT (-38.648484 -3.183018)'))) / (select extract(epoch from '2026-05-29 09:54:45'::timestamp) - extract(epoch from '2026-05-29 09:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648475 -3.18302)'), GeomFromEWKT('SRID=4674;POINT (-38.648484 -3.183018)'))) / (select extract(epoch from '2026-05-29 09:54:45'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.648514 -3.182998)', '2026-05-29 09:54:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648484 -3.183018)'), GeomFromEWKT('SRID=4674;POINT (-38.648514 -3.182998)'))) / (select extract(epoch from '2026-05-29 09:54:50'::timestamp) - extract(epoch from '2026-05-29 09:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648484 -3.183018)'), GeomFromEWKT('SRID=4674;POINT (-38.648514 -3.182998)'))) / (select extract(epoch from '2026-05-29 09:54:50'::timestamp) - extract(epoch from '2026-05-29 09:54: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'), 46535, 'SRID=4674;POINT (-38.6486 -3.182986)', '2026-05-29 09:55:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648514 -3.182998)'), GeomFromEWKT('SRID=4674;POINT (-38.6486 -3.182986)'))) / (select extract(epoch from '2026-05-29 09:55:01'::timestamp) - extract(epoch from '2026-05-29 09:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648514 -3.182998)'), GeomFromEWKT('SRID=4674;POINT (-38.6486 -3.182986)'))) / (select extract(epoch from '2026-05-29 09:55:01'::timestamp) - extract(epoch from '2026-05-29 09:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.648637 -3.182966)', '2026-05-29 09:55:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6486 -3.182986)'), GeomFromEWKT('SRID=4674;POINT (-38.648637 -3.182966)'))) / (select extract(epoch from '2026-05-29 09:55:08'::timestamp) - extract(epoch from '2026-05-29 09:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6486 -3.182986)'), GeomFromEWKT('SRID=4674;POINT (-38.648637 -3.182966)'))) / (select extract(epoch from '2026-05-29 09:55:08'::timestamp) - extract(epoch from '2026-05-29 09:55: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'), 46535, 'SRID=4674;POINT (-38.648669 -3.182942)', '2026-05-29 09:55:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648637 -3.182966)'), GeomFromEWKT('SRID=4674;POINT (-38.648669 -3.182942)'))) / (select extract(epoch from '2026-05-29 09:55:14'::timestamp) - extract(epoch from '2026-05-29 09:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648637 -3.182966)'), GeomFromEWKT('SRID=4674;POINT (-38.648669 -3.182942)'))) / (select extract(epoch from '2026-05-29 09:55:14'::timestamp) - extract(epoch from '2026-05-29 09:55: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'), 46535, 'SRID=4674;POINT (-38.648682 -3.182932)', '2026-05-29 09:55:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648669 -3.182942)'), GeomFromEWKT('SRID=4674;POINT (-38.648682 -3.182932)'))) / (select extract(epoch from '2026-05-29 09:55:16'::timestamp) - extract(epoch from '2026-05-29 09:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648669 -3.182942)'), GeomFromEWKT('SRID=4674;POINT (-38.648682 -3.182932)'))) / (select extract(epoch from '2026-05-29 09:55:16'::timestamp) - extract(epoch from '2026-05-29 09:55:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.648705 -3.182922)', '2026-05-29 09:55:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648682 -3.182932)'), GeomFromEWKT('SRID=4674;POINT (-38.648705 -3.182922)'))) / (select extract(epoch from '2026-05-29 09:55:19'::timestamp) - extract(epoch from '2026-05-29 09:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648682 -3.182932)'), GeomFromEWKT('SRID=4674;POINT (-38.648705 -3.182922)'))) / (select extract(epoch from '2026-05-29 09:55:19'::timestamp) - extract(epoch from '2026-05-29 09:55: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'), 46535, 'SRID=4674;POINT (-38.648726 -3.182915)', '2026-05-29 09:55:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648705 -3.182922)'), GeomFromEWKT('SRID=4674;POINT (-38.648726 -3.182915)'))) / (select extract(epoch from '2026-05-29 09:55:22'::timestamp) - extract(epoch from '2026-05-29 09:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648705 -3.182922)'), GeomFromEWKT('SRID=4674;POINT (-38.648726 -3.182915)'))) / (select extract(epoch from '2026-05-29 09:55:22'::timestamp) - extract(epoch from '2026-05-29 09:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.648752 -3.182909)', '2026-05-29 09:55:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648726 -3.182915)'), GeomFromEWKT('SRID=4674;POINT (-38.648752 -3.182909)'))) / (select extract(epoch from '2026-05-29 09:55:25'::timestamp) - extract(epoch from '2026-05-29 09:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648726 -3.182915)'), GeomFromEWKT('SRID=4674;POINT (-38.648752 -3.182909)'))) / (select extract(epoch from '2026-05-29 09:55:25'::timestamp) - extract(epoch from '2026-05-29 09:55: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'), 46535, 'SRID=4674;POINT (-38.648788 -3.182893)', '2026-05-29 09:55:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648752 -3.182909)'), GeomFromEWKT('SRID=4674;POINT (-38.648788 -3.182893)'))) / (select extract(epoch from '2026-05-29 09:55:30'::timestamp) - extract(epoch from '2026-05-29 09:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648752 -3.182909)'), GeomFromEWKT('SRID=4674;POINT (-38.648788 -3.182893)'))) / (select extract(epoch from '2026-05-29 09:55:30'::timestamp) - extract(epoch from '2026-05-29 09:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.648813 -3.182879)', '2026-05-29 09:55:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648788 -3.182893)'), GeomFromEWKT('SRID=4674;POINT (-38.648813 -3.182879)'))) / (select extract(epoch from '2026-05-29 09:55:34'::timestamp) - extract(epoch from '2026-05-29 09:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648788 -3.182893)'), GeomFromEWKT('SRID=4674;POINT (-38.648813 -3.182879)'))) / (select extract(epoch from '2026-05-29 09:55:34'::timestamp) - extract(epoch from '2026-05-29 09:55:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.648881 -3.182838)', '2026-05-29 09:55:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648813 -3.182879)'), GeomFromEWKT('SRID=4674;POINT (-38.648881 -3.182838)'))) / (select extract(epoch from '2026-05-29 09:55:45'::timestamp) - extract(epoch from '2026-05-29 09:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648813 -3.182879)'), GeomFromEWKT('SRID=4674;POINT (-38.648881 -3.182838)'))) / (select extract(epoch from '2026-05-29 09:55:45'::timestamp) - extract(epoch from '2026-05-29 09:55: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'), 46535, 'SRID=4674;POINT (-38.648902 -3.182835)', '2026-05-29 09:55:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648881 -3.182838)'), GeomFromEWKT('SRID=4674;POINT (-38.648902 -3.182835)'))) / (select extract(epoch from '2026-05-29 09:55:49'::timestamp) - extract(epoch from '2026-05-29 09:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648881 -3.182838)'), GeomFromEWKT('SRID=4674;POINT (-38.648902 -3.182835)'))) / (select extract(epoch from '2026-05-29 09:55:49'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.648918 -3.182829)', '2026-05-29 09:55:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648902 -3.182835)'), GeomFromEWKT('SRID=4674;POINT (-38.648918 -3.182829)'))) / (select extract(epoch from '2026-05-29 09:55:51'::timestamp) - extract(epoch from '2026-05-29 09:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648902 -3.182835)'), GeomFromEWKT('SRID=4674;POINT (-38.648918 -3.182829)'))) / (select extract(epoch from '2026-05-29 09:55:51'::timestamp) - extract(epoch from '2026-05-29 09:55: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'), 46535, 'SRID=4674;POINT (-38.648956 -3.182819)', '2026-05-29 09:55:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648918 -3.182829)'), GeomFromEWKT('SRID=4674;POINT (-38.648956 -3.182819)'))) / (select extract(epoch from '2026-05-29 09:55:58'::timestamp) - extract(epoch from '2026-05-29 09:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648918 -3.182829)'), GeomFromEWKT('SRID=4674;POINT (-38.648956 -3.182819)'))) / (select extract(epoch from '2026-05-29 09:55:58'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.648977 -3.182807)', '2026-05-29 09:56:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648956 -3.182819)'), GeomFromEWKT('SRID=4674;POINT (-38.648977 -3.182807)'))) / (select extract(epoch from '2026-05-29 09:56:01'::timestamp) - extract(epoch from '2026-05-29 09:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648956 -3.182819)'), GeomFromEWKT('SRID=4674;POINT (-38.648977 -3.182807)'))) / (select extract(epoch from '2026-05-29 09:56:01'::timestamp) - extract(epoch from '2026-05-29 09:55: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'), 46535, 'SRID=4674;POINT (-38.648989 -3.182798)', '2026-05-29 09:56:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648977 -3.182807)'), GeomFromEWKT('SRID=4674;POINT (-38.648989 -3.182798)'))) / (select extract(epoch from '2026-05-29 09:56:03'::timestamp) - extract(epoch from '2026-05-29 09:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648977 -3.182807)'), GeomFromEWKT('SRID=4674;POINT (-38.648989 -3.182798)'))) / (select extract(epoch from '2026-05-29 09:56:03'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.649001 -3.182791)', '2026-05-29 09:56:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648989 -3.182798)'), GeomFromEWKT('SRID=4674;POINT (-38.649001 -3.182791)'))) / (select extract(epoch from '2026-05-29 09:56:05'::timestamp) - extract(epoch from '2026-05-29 09:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.648989 -3.182798)'), GeomFromEWKT('SRID=4674;POINT (-38.649001 -3.182791)'))) / (select extract(epoch from '2026-05-29 09:56:05'::timestamp) - extract(epoch from '2026-05-29 09:56:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.64901 -3.182786)', '2026-05-29 09:56:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649001 -3.182791)'), GeomFromEWKT('SRID=4674;POINT (-38.64901 -3.182786)'))) / (select extract(epoch from '2026-05-29 09:56:08'::timestamp) - extract(epoch from '2026-05-29 09:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649001 -3.182791)'), GeomFromEWKT('SRID=4674;POINT (-38.64901 -3.182786)'))) / (select extract(epoch from '2026-05-29 09:56:08'::timestamp) - extract(epoch from '2026-05-29 09:56:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649029 -3.182772)', '2026-05-29 09:56:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64901 -3.182786)'), GeomFromEWKT('SRID=4674;POINT (-38.649029 -3.182772)'))) / (select extract(epoch from '2026-05-29 09:56:11'::timestamp) - extract(epoch from '2026-05-29 09:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64901 -3.182786)'), GeomFromEWKT('SRID=4674;POINT (-38.649029 -3.182772)'))) / (select extract(epoch from '2026-05-29 09:56:11'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.649034 -3.182766)', '2026-05-29 09:56:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649029 -3.182772)'), GeomFromEWKT('SRID=4674;POINT (-38.649034 -3.182766)'))) / (select extract(epoch from '2026-05-29 09:56:13'::timestamp) - extract(epoch from '2026-05-29 09:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649029 -3.182772)'), GeomFromEWKT('SRID=4674;POINT (-38.649034 -3.182766)'))) / (select extract(epoch from '2026-05-29 09:56:13'::timestamp) - extract(epoch from '2026-05-29 09:56: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'), 46535, 'SRID=4674;POINT (-38.64906 -3.182746)', '2026-05-29 09:56:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649034 -3.182766)'), GeomFromEWKT('SRID=4674;POINT (-38.64906 -3.182746)'))) / (select extract(epoch from '2026-05-29 09:56:18'::timestamp) - extract(epoch from '2026-05-29 09:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649034 -3.182766)'), GeomFromEWKT('SRID=4674;POINT (-38.64906 -3.182746)'))) / (select extract(epoch from '2026-05-29 09:56:18'::timestamp) - extract(epoch from '2026-05-29 09:56:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649104 -3.182729)', '2026-05-29 09:56:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64906 -3.182746)'), GeomFromEWKT('SRID=4674;POINT (-38.649104 -3.182729)'))) / (select extract(epoch from '2026-05-29 09:56:27'::timestamp) - extract(epoch from '2026-05-29 09:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64906 -3.182746)'), GeomFromEWKT('SRID=4674;POINT (-38.649104 -3.182729)'))) / (select extract(epoch from '2026-05-29 09:56:27'::timestamp) - extract(epoch from '2026-05-29 09:56:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.64917 -3.182701)', '2026-05-29 09:56:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649104 -3.182729)'), GeomFromEWKT('SRID=4674;POINT (-38.64917 -3.182701)'))) / (select extract(epoch from '2026-05-29 09:56:34'::timestamp) - extract(epoch from '2026-05-29 09:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649104 -3.182729)'), GeomFromEWKT('SRID=4674;POINT (-38.64917 -3.182701)'))) / (select extract(epoch from '2026-05-29 09:56:34'::timestamp) - extract(epoch from '2026-05-29 09:56: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'), 46535, 'SRID=4674;POINT (-38.64924 -3.182679)', '2026-05-29 09:56:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64917 -3.182701)'), GeomFromEWKT('SRID=4674;POINT (-38.64924 -3.182679)'))) / (select extract(epoch from '2026-05-29 09:56:40'::timestamp) - extract(epoch from '2026-05-29 09:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64917 -3.182701)'), GeomFromEWKT('SRID=4674;POINT (-38.64924 -3.182679)'))) / (select extract(epoch from '2026-05-29 09:56:40'::timestamp) - extract(epoch from '2026-05-29 09:56: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'), 46535, 'SRID=4674;POINT (-38.649318 -3.182651)', '2026-05-29 09:56:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64924 -3.182679)'), GeomFromEWKT('SRID=4674;POINT (-38.649318 -3.182651)'))) / (select extract(epoch from '2026-05-29 09:56:48'::timestamp) - extract(epoch from '2026-05-29 09:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64924 -3.182679)'), GeomFromEWKT('SRID=4674;POINT (-38.649318 -3.182651)'))) / (select extract(epoch from '2026-05-29 09:56:48'::timestamp) - extract(epoch from '2026-05-29 09:56: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'), 46535, 'SRID=4674;POINT (-38.649354 -3.18263)', '2026-05-29 09:56:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649318 -3.182651)'), GeomFromEWKT('SRID=4674;POINT (-38.649354 -3.18263)'))) / (select extract(epoch from '2026-05-29 09:56:52'::timestamp) - extract(epoch from '2026-05-29 09:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649318 -3.182651)'), GeomFromEWKT('SRID=4674;POINT (-38.649354 -3.18263)'))) / (select extract(epoch from '2026-05-29 09:56:52'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.649409 -3.182601)', '2026-05-29 09:57:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649354 -3.18263)'), GeomFromEWKT('SRID=4674;POINT (-38.649409 -3.182601)'))) / (select extract(epoch from '2026-05-29 09:57:01'::timestamp) - extract(epoch from '2026-05-29 09:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649354 -3.18263)'), GeomFromEWKT('SRID=4674;POINT (-38.649409 -3.182601)'))) / (select extract(epoch from '2026-05-29 09:57:01'::timestamp) - extract(epoch from '2026-05-29 09:56: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'), 46535, 'SRID=4674;POINT (-38.649465 -3.182561)', '2026-05-29 09:57:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649409 -3.182601)'), GeomFromEWKT('SRID=4674;POINT (-38.649465 -3.182561)'))) / (select extract(epoch from '2026-05-29 09:57:08'::timestamp) - extract(epoch from '2026-05-29 09:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649409 -3.182601)'), GeomFromEWKT('SRID=4674;POINT (-38.649465 -3.182561)'))) / (select extract(epoch from '2026-05-29 09:57:08'::timestamp) - extract(epoch from '2026-05-29 09:57:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649503 -3.182536)', '2026-05-29 09:57:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649465 -3.182561)'), GeomFromEWKT('SRID=4674;POINT (-38.649503 -3.182536)'))) / (select extract(epoch from '2026-05-29 09:57:14'::timestamp) - extract(epoch from '2026-05-29 09:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649465 -3.182561)'), GeomFromEWKT('SRID=4674;POINT (-38.649503 -3.182536)'))) / (select extract(epoch from '2026-05-29 09:57:14'::timestamp) - extract(epoch from '2026-05-29 09:57: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'), 46535, 'SRID=4674;POINT (-38.649551 -3.18251)', '2026-05-29 09:57:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649503 -3.182536)'), GeomFromEWKT('SRID=4674;POINT (-38.649551 -3.18251)'))) / (select extract(epoch from '2026-05-29 09:57:20'::timestamp) - extract(epoch from '2026-05-29 09:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649503 -3.182536)'), GeomFromEWKT('SRID=4674;POINT (-38.649551 -3.18251)'))) / (select extract(epoch from '2026-05-29 09:57:20'::timestamp) - extract(epoch from '2026-05-29 09:57: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'), 46535, 'SRID=4674;POINT (-38.649599 -3.182489)', '2026-05-29 09:57:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649551 -3.18251)'), GeomFromEWKT('SRID=4674;POINT (-38.649599 -3.182489)'))) / (select extract(epoch from '2026-05-29 09:57:27'::timestamp) - extract(epoch from '2026-05-29 09:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649551 -3.18251)'), GeomFromEWKT('SRID=4674;POINT (-38.649599 -3.182489)'))) / (select extract(epoch from '2026-05-29 09:57:27'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.649635 -3.18247)', '2026-05-29 09:57:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649599 -3.182489)'), GeomFromEWKT('SRID=4674;POINT (-38.649635 -3.18247)'))) / (select extract(epoch from '2026-05-29 09:57:35'::timestamp) - extract(epoch from '2026-05-29 09:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649599 -3.182489)'), GeomFromEWKT('SRID=4674;POINT (-38.649635 -3.18247)'))) / (select extract(epoch from '2026-05-29 09:57:35'::timestamp) - extract(epoch from '2026-05-29 09:57:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649669 -3.182443)', '2026-05-29 09:57:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649635 -3.18247)'), GeomFromEWKT('SRID=4674;POINT (-38.649669 -3.182443)'))) / (select extract(epoch from '2026-05-29 09:57:42'::timestamp) - extract(epoch from '2026-05-29 09:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649635 -3.18247)'), GeomFromEWKT('SRID=4674;POINT (-38.649669 -3.182443)'))) / (select extract(epoch from '2026-05-29 09:57:42'::timestamp) - extract(epoch from '2026-05-29 09: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'), 46535, 'SRID=4674;POINT (-38.649687 -3.182429)', '2026-05-29 09:57:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649669 -3.182443)'), GeomFromEWKT('SRID=4674;POINT (-38.649687 -3.182429)'))) / (select extract(epoch from '2026-05-29 09:57:51'::timestamp) - extract(epoch from '2026-05-29 09:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649669 -3.182443)'), GeomFromEWKT('SRID=4674;POINT (-38.649687 -3.182429)'))) / (select extract(epoch from '2026-05-29 09:57:51'::timestamp) - extract(epoch from '2026-05-29 09:57: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'), 46535, 'SRID=4674;POINT (-38.649675 -3.182436)', '2026-05-29 09:57:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649687 -3.182429)'), GeomFromEWKT('SRID=4674;POINT (-38.649675 -3.182436)'))) / (select extract(epoch from '2026-05-29 09:57:57'::timestamp) - extract(epoch from '2026-05-29 09:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649687 -3.182429)'), GeomFromEWKT('SRID=4674;POINT (-38.649675 -3.182436)'))) / (select extract(epoch from '2026-05-29 09:57:57'::timestamp) - extract(epoch from '2026-05-29 09:57: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'), 46535, 'SRID=4674;POINT (-38.649671 -3.182441)', '2026-05-29 09:58:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649675 -3.182436)'), GeomFromEWKT('SRID=4674;POINT (-38.649671 -3.182441)'))) / (select extract(epoch from '2026-05-29 09:58:10'::timestamp) - extract(epoch from '2026-05-29 09:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649675 -3.182436)'), GeomFromEWKT('SRID=4674;POINT (-38.649671 -3.182441)'))) / (select extract(epoch from '2026-05-29 09:58:10'::timestamp) - extract(epoch from '2026-05-29 09:57:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649691 -3.182463)', '2026-05-29 09:58:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649671 -3.182441)'), GeomFromEWKT('SRID=4674;POINT (-38.649691 -3.182463)'))) / (select extract(epoch from '2026-05-29 09:58:50'::timestamp) - extract(epoch from '2026-05-29 09:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649671 -3.182441)'), GeomFromEWKT('SRID=4674;POINT (-38.649691 -3.182463)'))) / (select extract(epoch from '2026-05-29 09:58:50'::timestamp) - extract(epoch from '2026-05-29 09:58:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649685 -3.182438)', '2026-05-29 09:59:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649691 -3.182463)'), GeomFromEWKT('SRID=4674;POINT (-38.649685 -3.182438)'))) / (select extract(epoch from '2026-05-29 09:59:16'::timestamp) - extract(epoch from '2026-05-29 09:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649691 -3.182463)'), GeomFromEWKT('SRID=4674;POINT (-38.649685 -3.182438)'))) / (select extract(epoch from '2026-05-29 09:59:16'::timestamp) - extract(epoch from '2026-05-29 09:58:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649688 -3.182437)', '2026-05-29 09:59:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649685 -3.182438)'), GeomFromEWKT('SRID=4674;POINT (-38.649688 -3.182437)'))) / (select extract(epoch from '2026-05-29 09:59:27'::timestamp) - extract(epoch from '2026-05-29 09:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649685 -3.182438)'), GeomFromEWKT('SRID=4674;POINT (-38.649688 -3.182437)'))) / (select extract(epoch from '2026-05-29 09:59:27'::timestamp) - extract(epoch from '2026-05-29 09:59: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'), 46535, 'SRID=4674;POINT (-38.649694 -3.182429)', '2026-05-29 09:59:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649688 -3.182437)'), GeomFromEWKT('SRID=4674;POINT (-38.649694 -3.182429)'))) / (select extract(epoch from '2026-05-29 09:59:36'::timestamp) - extract(epoch from '2026-05-29 09:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649688 -3.182437)'), GeomFromEWKT('SRID=4674;POINT (-38.649694 -3.182429)'))) / (select extract(epoch from '2026-05-29 09:59:36'::timestamp) - extract(epoch from '2026-05-29 09:59: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'), 46535, 'SRID=4674;POINT (-38.649706 -3.182417)', '2026-05-29 09:59:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649694 -3.182429)'), GeomFromEWKT('SRID=4674;POINT (-38.649706 -3.182417)'))) / (select extract(epoch from '2026-05-29 09:59:41'::timestamp) - extract(epoch from '2026-05-29 09:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649694 -3.182429)'), GeomFromEWKT('SRID=4674;POINT (-38.649706 -3.182417)'))) / (select extract(epoch from '2026-05-29 09:59:41'::timestamp) - extract(epoch from '2026-05-29 09:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649695 -3.18243)', '2026-05-29 09:59:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649706 -3.182417)'), GeomFromEWKT('SRID=4674;POINT (-38.649695 -3.18243)'))) / (select extract(epoch from '2026-05-29 09:59:57'::timestamp) - extract(epoch from '2026-05-29 09:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649706 -3.182417)'), GeomFromEWKT('SRID=4674;POINT (-38.649695 -3.18243)'))) / (select extract(epoch from '2026-05-29 09:59:57'::timestamp) - extract(epoch from '2026-05-29 09:59: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'), 46535, 'SRID=4674;POINT (-38.64967 -3.182443)', '2026-05-29 10:00:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649695 -3.18243)'), GeomFromEWKT('SRID=4674;POINT (-38.64967 -3.182443)'))) / (select extract(epoch from '2026-05-29 10:00:13'::timestamp) - extract(epoch from '2026-05-29 09:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649695 -3.18243)'), GeomFromEWKT('SRID=4674;POINT (-38.64967 -3.182443)'))) / (select extract(epoch from '2026-05-29 10:00:13'::timestamp) - extract(epoch from '2026-05-29 09:59:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649664 -3.182447)', '2026-05-29 10:00:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64967 -3.182443)'), GeomFromEWKT('SRID=4674;POINT (-38.649664 -3.182447)'))) / (select extract(epoch from '2026-05-29 10:00:23'::timestamp) - extract(epoch from '2026-05-29 10:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64967 -3.182443)'), GeomFromEWKT('SRID=4674;POINT (-38.649664 -3.182447)'))) / (select extract(epoch from '2026-05-29 10:00:23'::timestamp) - extract(epoch from '2026-05-29 10:00: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'), 46535, 'SRID=4674;POINT (-38.649645 -3.182473)', '2026-05-29 10:00:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649664 -3.182447)'), GeomFromEWKT('SRID=4674;POINT (-38.649645 -3.182473)'))) / (select extract(epoch from '2026-05-29 10:00:46'::timestamp) - extract(epoch from '2026-05-29 10:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649664 -3.182447)'), GeomFromEWKT('SRID=4674;POINT (-38.649645 -3.182473)'))) / (select extract(epoch from '2026-05-29 10:00:46'::timestamp) - extract(epoch from '2026-05-29 10: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'), 46535, 'SRID=4674;POINT (-38.649612 -3.182487)', '2026-05-29 10:01:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649645 -3.182473)'), GeomFromEWKT('SRID=4674;POINT (-38.649612 -3.182487)'))) / (select extract(epoch from '2026-05-29 10:01:08'::timestamp) - extract(epoch from '2026-05-29 10:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649645 -3.182473)'), GeomFromEWKT('SRID=4674;POINT (-38.649612 -3.182487)'))) / (select extract(epoch from '2026-05-29 10:01:08'::timestamp) - extract(epoch from '2026-05-29 10: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'), 46535, 'SRID=4674;POINT (-38.649598 -3.182481)', '2026-05-29 10:01:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649612 -3.182487)'), GeomFromEWKT('SRID=4674;POINT (-38.649598 -3.182481)'))) / (select extract(epoch from '2026-05-29 10:01:19'::timestamp) - extract(epoch from '2026-05-29 10:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649612 -3.182487)'), GeomFromEWKT('SRID=4674;POINT (-38.649598 -3.182481)'))) / (select extract(epoch from '2026-05-29 10:01:19'::timestamp) - extract(epoch from '2026-05-29 10:01: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'), 46535, 'SRID=4674;POINT (-38.649581 -3.182484)', '2026-05-29 10:01:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649598 -3.182481)'), GeomFromEWKT('SRID=4674;POINT (-38.649581 -3.182484)'))) / (select extract(epoch from '2026-05-29 10:01:44'::timestamp) - extract(epoch from '2026-05-29 10:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649598 -3.182481)'), GeomFromEWKT('SRID=4674;POINT (-38.649581 -3.182484)'))) / (select extract(epoch from '2026-05-29 10:01:44'::timestamp) - extract(epoch from '2026-05-29 10:01:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649589 -3.182493)', '2026-05-29 10:01:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649581 -3.182484)'), GeomFromEWKT('SRID=4674;POINT (-38.649589 -3.182493)'))) / (select extract(epoch from '2026-05-29 10:01:50'::timestamp) - extract(epoch from '2026-05-29 10:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649581 -3.182484)'), GeomFromEWKT('SRID=4674;POINT (-38.649589 -3.182493)'))) / (select extract(epoch from '2026-05-29 10:01:50'::timestamp) - extract(epoch from '2026-05-29 10:01: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'), 46535, 'SRID=4674;POINT (-38.649577 -3.182501)', '2026-05-29 10:01:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649589 -3.182493)'), GeomFromEWKT('SRID=4674;POINT (-38.649577 -3.182501)'))) / (select extract(epoch from '2026-05-29 10:01:58'::timestamp) - extract(epoch from '2026-05-29 10:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649589 -3.182493)'), GeomFromEWKT('SRID=4674;POINT (-38.649577 -3.182501)'))) / (select extract(epoch from '2026-05-29 10:01:58'::timestamp) - extract(epoch from '2026-05-29 10:01: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'), 46535, 'SRID=4674;POINT (-38.649584 -3.182481)', '2026-05-29 10:02:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649577 -3.182501)'), GeomFromEWKT('SRID=4674;POINT (-38.649584 -3.182481)'))) / (select extract(epoch from '2026-05-29 10:02:10'::timestamp) - extract(epoch from '2026-05-29 10:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649577 -3.182501)'), GeomFromEWKT('SRID=4674;POINT (-38.649584 -3.182481)'))) / (select extract(epoch from '2026-05-29 10:02:10'::timestamp) - extract(epoch from '2026-05-29 10:01:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649635 -3.182455)', '2026-05-29 10:02:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649584 -3.182481)'), GeomFromEWKT('SRID=4674;POINT (-38.649635 -3.182455)'))) / (select extract(epoch from '2026-05-29 10:02:47'::timestamp) - extract(epoch from '2026-05-29 10:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649584 -3.182481)'), GeomFromEWKT('SRID=4674;POINT (-38.649635 -3.182455)'))) / (select extract(epoch from '2026-05-29 10:02:47'::timestamp) - extract(epoch from '2026-05-29 10:02: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'), 46535, 'SRID=4674;POINT (-38.649654 -3.182459)', '2026-05-29 10:02:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649635 -3.182455)'), GeomFromEWKT('SRID=4674;POINT (-38.649654 -3.182459)'))) / (select extract(epoch from '2026-05-29 10:02:54'::timestamp) - extract(epoch from '2026-05-29 10:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649635 -3.182455)'), GeomFromEWKT('SRID=4674;POINT (-38.649654 -3.182459)'))) / (select extract(epoch from '2026-05-29 10:02:54'::timestamp) - extract(epoch from '2026-05-29 10:02:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649659 -3.18248)', '2026-05-29 10:03:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649654 -3.182459)'), GeomFromEWKT('SRID=4674;POINT (-38.649659 -3.18248)'))) / (select extract(epoch from '2026-05-29 10:03:54'::timestamp) - extract(epoch from '2026-05-29 10:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649654 -3.182459)'), GeomFromEWKT('SRID=4674;POINT (-38.649659 -3.18248)'))) / (select extract(epoch from '2026-05-29 10:03:54'::timestamp) - extract(epoch from '2026-05-29 10:02:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649657 -3.182479)', '2026-05-29 10:04:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649659 -3.18248)'), GeomFromEWKT('SRID=4674;POINT (-38.649657 -3.182479)'))) / (select extract(epoch from '2026-05-29 10:04:05'::timestamp) - extract(epoch from '2026-05-29 10:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649659 -3.18248)'), GeomFromEWKT('SRID=4674;POINT (-38.649657 -3.182479)'))) / (select extract(epoch from '2026-05-29 10:04:05'::timestamp) - extract(epoch from '2026-05-29 10:03: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'), 46535, 'SRID=4674;POINT (-38.649661 -3.182483)', '2026-05-29 10:04:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649657 -3.182479)'), GeomFromEWKT('SRID=4674;POINT (-38.649661 -3.182483)'))) / (select extract(epoch from '2026-05-29 10:04:49'::timestamp) - extract(epoch from '2026-05-29 10:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649657 -3.182479)'), GeomFromEWKT('SRID=4674;POINT (-38.649661 -3.182483)'))) / (select extract(epoch from '2026-05-29 10:04:49'::timestamp) - extract(epoch from '2026-05-29 10:04: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'), 46535, 'SRID=4674;POINT (-38.649664 -3.182489)', '2026-05-29 10:04:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649661 -3.182483)'), GeomFromEWKT('SRID=4674;POINT (-38.649664 -3.182489)'))) / (select extract(epoch from '2026-05-29 10:04:55'::timestamp) - extract(epoch from '2026-05-29 10:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649661 -3.182483)'), GeomFromEWKT('SRID=4674;POINT (-38.649664 -3.182489)'))) / (select extract(epoch from '2026-05-29 10:04:55'::timestamp) - extract(epoch from '2026-05-29 10: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'), 46535, 'SRID=4674;POINT (-38.649659 -3.182496)', '2026-05-29 10:05:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649664 -3.182489)'), GeomFromEWKT('SRID=4674;POINT (-38.649659 -3.182496)'))) / (select extract(epoch from '2026-05-29 10:05:04'::timestamp) - extract(epoch from '2026-05-29 10:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649664 -3.182489)'), GeomFromEWKT('SRID=4674;POINT (-38.649659 -3.182496)'))) / (select extract(epoch from '2026-05-29 10:05:04'::timestamp) - extract(epoch from '2026-05-29 10: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'), 46535, 'SRID=4674;POINT (-38.649654 -3.182513)', '2026-05-29 10:06:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649659 -3.182496)'), GeomFromEWKT('SRID=4674;POINT (-38.649654 -3.182513)'))) / (select extract(epoch from '2026-05-29 10:06:21'::timestamp) - extract(epoch from '2026-05-29 10:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649659 -3.182496)'), GeomFromEWKT('SRID=4674;POINT (-38.649654 -3.182513)'))) / (select extract(epoch from '2026-05-29 10:06:21'::timestamp) - extract(epoch from '2026-05-29 10:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649659 -3.182521)', '2026-05-29 10:06:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649654 -3.182513)'), GeomFromEWKT('SRID=4674;POINT (-38.649659 -3.182521)'))) / (select extract(epoch from '2026-05-29 10:06:32'::timestamp) - extract(epoch from '2026-05-29 10:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649654 -3.182513)'), GeomFromEWKT('SRID=4674;POINT (-38.649659 -3.182521)'))) / (select extract(epoch from '2026-05-29 10:06:32'::timestamp) - extract(epoch from '2026-05-29 10:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649666 -3.182506)', '2026-05-29 10:06:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649659 -3.182521)'), GeomFromEWKT('SRID=4674;POINT (-38.649666 -3.182506)'))) / (select extract(epoch from '2026-05-29 10:06:51'::timestamp) - extract(epoch from '2026-05-29 10:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649659 -3.182521)'), GeomFromEWKT('SRID=4674;POINT (-38.649666 -3.182506)'))) / (select extract(epoch from '2026-05-29 10:06:51'::timestamp) - extract(epoch from '2026-05-29 10:06: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'), 46535, 'SRID=4674;POINT (-38.649661 -3.182501)', '2026-05-29 10:06:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649666 -3.182506)'), GeomFromEWKT('SRID=4674;POINT (-38.649661 -3.182501)'))) / (select extract(epoch from '2026-05-29 10:06:59'::timestamp) - extract(epoch from '2026-05-29 10:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649666 -3.182506)'), GeomFromEWKT('SRID=4674;POINT (-38.649661 -3.182501)'))) / (select extract(epoch from '2026-05-29 10:06:59'::timestamp) - extract(epoch from '2026-05-29 10:06: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'), 46535, 'SRID=4674;POINT (-38.649662 -3.182509)', '2026-05-29 10:07:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649661 -3.182501)'), GeomFromEWKT('SRID=4674;POINT (-38.649662 -3.182509)'))) / (select extract(epoch from '2026-05-29 10:07:10'::timestamp) - extract(epoch from '2026-05-29 10:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649661 -3.182501)'), GeomFromEWKT('SRID=4674;POINT (-38.649662 -3.182509)'))) / (select extract(epoch from '2026-05-29 10:07:10'::timestamp) - extract(epoch from '2026-05-29 10:06: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'), 46535, 'SRID=4674;POINT (-38.649665 -3.182514)', '2026-05-29 10:07:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649662 -3.182509)'), GeomFromEWKT('SRID=4674;POINT (-38.649665 -3.182514)'))) / (select extract(epoch from '2026-05-29 10:07:46'::timestamp) - extract(epoch from '2026-05-29 10:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649662 -3.182509)'), GeomFromEWKT('SRID=4674;POINT (-38.649665 -3.182514)'))) / (select extract(epoch from '2026-05-29 10:07:46'::timestamp) - extract(epoch from '2026-05-29 10:07:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649664 -3.1825)', '2026-05-29 10:08:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649665 -3.182514)'), GeomFromEWKT('SRID=4674;POINT (-38.649664 -3.1825)'))) / (select extract(epoch from '2026-05-29 10:08:28'::timestamp) - extract(epoch from '2026-05-29 10:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649665 -3.182514)'), GeomFromEWKT('SRID=4674;POINT (-38.649664 -3.1825)'))) / (select extract(epoch from '2026-05-29 10:08:28'::timestamp) - extract(epoch from '2026-05-29 10:07:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649656 -3.182498)', '2026-05-29 10:08:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649664 -3.1825)'), GeomFromEWKT('SRID=4674;POINT (-38.649656 -3.182498)'))) / (select extract(epoch from '2026-05-29 10:08:34'::timestamp) - extract(epoch from '2026-05-29 10:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649664 -3.1825)'), GeomFromEWKT('SRID=4674;POINT (-38.649656 -3.182498)'))) / (select extract(epoch from '2026-05-29 10:08:34'::timestamp) - extract(epoch from '2026-05-29 10:08: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'), 46535, 'SRID=4674;POINT (-38.649643 -3.182502)', '2026-05-29 10:08:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649656 -3.182498)'), GeomFromEWKT('SRID=4674;POINT (-38.649643 -3.182502)'))) / (select extract(epoch from '2026-05-29 10:08:57'::timestamp) - extract(epoch from '2026-05-29 10:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649656 -3.182498)'), GeomFromEWKT('SRID=4674;POINT (-38.649643 -3.182502)'))) / (select extract(epoch from '2026-05-29 10:08:57'::timestamp) - extract(epoch from '2026-05-29 10:08:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649639 -3.182504)', '2026-05-29 10:09:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649643 -3.182502)'), GeomFromEWKT('SRID=4674;POINT (-38.649639 -3.182504)'))) / (select extract(epoch from '2026-05-29 10:09:01'::timestamp) - extract(epoch from '2026-05-29 10:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649643 -3.182502)'), GeomFromEWKT('SRID=4674;POINT (-38.649639 -3.182504)'))) / (select extract(epoch from '2026-05-29 10:09:01'::timestamp) - extract(epoch from '2026-05-29 10:08: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'), 46535, 'SRID=4674;POINT (-38.64964 -3.182492)', '2026-05-29 10:09:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649639 -3.182504)'), GeomFromEWKT('SRID=4674;POINT (-38.64964 -3.182492)'))) / (select extract(epoch from '2026-05-29 10:09:27'::timestamp) - extract(epoch from '2026-05-29 10:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649639 -3.182504)'), GeomFromEWKT('SRID=4674;POINT (-38.64964 -3.182492)'))) / (select extract(epoch from '2026-05-29 10:09:27'::timestamp) - extract(epoch from '2026-05-29 10:09:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649636 -3.182486)', '2026-05-29 10:09:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64964 -3.182492)'), GeomFromEWKT('SRID=4674;POINT (-38.649636 -3.182486)'))) / (select extract(epoch from '2026-05-29 10:09:54'::timestamp) - extract(epoch from '2026-05-29 10:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.64964 -3.182492)'), GeomFromEWKT('SRID=4674;POINT (-38.649636 -3.182486)'))) / (select extract(epoch from '2026-05-29 10:09:54'::timestamp) - extract(epoch from '2026-05-29 10:09: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'), 46535, 'SRID=4674;POINT (-38.649645 -3.18248)', '2026-05-29 10:10:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649636 -3.182486)'), GeomFromEWKT('SRID=4674;POINT (-38.649645 -3.18248)'))) / (select extract(epoch from '2026-05-29 10:10:15'::timestamp) - extract(epoch from '2026-05-29 10:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649636 -3.182486)'), GeomFromEWKT('SRID=4674;POINT (-38.649645 -3.18248)'))) / (select extract(epoch from '2026-05-29 10:10:15'::timestamp) - extract(epoch from '2026-05-29 10:09:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649643 -3.18249)', '2026-05-29 10:10:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649645 -3.18248)'), GeomFromEWKT('SRID=4674;POINT (-38.649643 -3.18249)'))) / (select extract(epoch from '2026-05-29 10:10:20'::timestamp) - extract(epoch from '2026-05-29 10:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649645 -3.18248)'), GeomFromEWKT('SRID=4674;POINT (-38.649643 -3.18249)'))) / (select extract(epoch from '2026-05-29 10:10:20'::timestamp) - extract(epoch from '2026-05-29 10:10:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649644 -3.182488)', '2026-05-29 10:10:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649643 -3.18249)'), GeomFromEWKT('SRID=4674;POINT (-38.649644 -3.182488)'))) / (select extract(epoch from '2026-05-29 10:10:31'::timestamp) - extract(epoch from '2026-05-29 10:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649643 -3.18249)'), GeomFromEWKT('SRID=4674;POINT (-38.649644 -3.182488)'))) / (select extract(epoch from '2026-05-29 10:10:31'::timestamp) - extract(epoch from '2026-05-29 10:10: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'), 46535, 'SRID=4674;POINT (-38.649644 -3.182462)', '2026-05-29 10:10:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649644 -3.182488)'), GeomFromEWKT('SRID=4674;POINT (-38.649644 -3.182462)'))) / (select extract(epoch from '2026-05-29 10:10:43'::timestamp) - extract(epoch from '2026-05-29 10:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649644 -3.182488)'), GeomFromEWKT('SRID=4674;POINT (-38.649644 -3.182462)'))) / (select extract(epoch from '2026-05-29 10:10:43'::timestamp) - extract(epoch from '2026-05-29 10:10:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649662 -3.18246)', '2026-05-29 10:11:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649644 -3.182462)'), GeomFromEWKT('SRID=4674;POINT (-38.649662 -3.18246)'))) / (select extract(epoch from '2026-05-29 10:11:00'::timestamp) - extract(epoch from '2026-05-29 10:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649644 -3.182462)'), GeomFromEWKT('SRID=4674;POINT (-38.649662 -3.18246)'))) / (select extract(epoch from '2026-05-29 10:11:00'::timestamp) - extract(epoch from '2026-05-29 10:10: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'), 46535, 'SRID=4674;POINT (-38.649643 -3.182479)', '2026-05-29 10:11:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649662 -3.18246)'), GeomFromEWKT('SRID=4674;POINT (-38.649643 -3.182479)'))) / (select extract(epoch from '2026-05-29 10:11:21'::timestamp) - extract(epoch from '2026-05-29 10:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649662 -3.18246)'), GeomFromEWKT('SRID=4674;POINT (-38.649643 -3.182479)'))) / (select extract(epoch from '2026-05-29 10:11:21'::timestamp) - extract(epoch from '2026-05-29 10:11:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649639 -3.182473)', '2026-05-29 10:11:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649643 -3.182479)'), GeomFromEWKT('SRID=4674;POINT (-38.649639 -3.182473)'))) / (select extract(epoch from '2026-05-29 10:11:46'::timestamp) - extract(epoch from '2026-05-29 10:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649643 -3.182479)'), GeomFromEWKT('SRID=4674;POINT (-38.649639 -3.182473)'))) / (select extract(epoch from '2026-05-29 10:11:46'::timestamp) - extract(epoch from '2026-05-29 10:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649633 -3.182476)', '2026-05-29 10:12:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649639 -3.182473)'), GeomFromEWKT('SRID=4674;POINT (-38.649633 -3.182476)'))) / (select extract(epoch from '2026-05-29 10:12:26'::timestamp) - extract(epoch from '2026-05-29 10:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649639 -3.182473)'), GeomFromEWKT('SRID=4674;POINT (-38.649633 -3.182476)'))) / (select extract(epoch from '2026-05-29 10:12:26'::timestamp) - extract(epoch from '2026-05-29 10:11:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649633 -3.182476)', '2026-05-29 10:12:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649633 -3.182476)'), GeomFromEWKT('SRID=4674;POINT (-38.649633 -3.182476)'))) / (select extract(epoch from '2026-05-29 10:12:37'::timestamp) - extract(epoch from '2026-05-29 10:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649633 -3.182476)'), GeomFromEWKT('SRID=4674;POINT (-38.649633 -3.182476)'))) / (select extract(epoch from '2026-05-29 10:12:37'::timestamp) - extract(epoch from '2026-05-29 10:12: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'), 46535, 'SRID=4674;POINT (-38.649636 -3.182472)', '2026-05-29 10:12:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649633 -3.182476)'), GeomFromEWKT('SRID=4674;POINT (-38.649636 -3.182472)'))) / (select extract(epoch from '2026-05-29 10:12:44'::timestamp) - extract(epoch from '2026-05-29 10:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649633 -3.182476)'), GeomFromEWKT('SRID=4674;POINT (-38.649636 -3.182472)'))) / (select extract(epoch from '2026-05-29 10:12:44'::timestamp) - extract(epoch from '2026-05-29 10:12: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'), 46535, 'SRID=4674;POINT (-38.649637 -3.182486)', '2026-05-29 10:12:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649636 -3.182472)'), GeomFromEWKT('SRID=4674;POINT (-38.649637 -3.182486)'))) / (select extract(epoch from '2026-05-29 10:12:55'::timestamp) - extract(epoch from '2026-05-29 10:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649636 -3.182472)'), GeomFromEWKT('SRID=4674;POINT (-38.649637 -3.182486)'))) / (select extract(epoch from '2026-05-29 10:12:55'::timestamp) - extract(epoch from '2026-05-29 10:12: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'), 46535, 'SRID=4674;POINT (-38.649642 -3.182494)', '2026-05-29 10:13:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649637 -3.182486)'), GeomFromEWKT('SRID=4674;POINT (-38.649642 -3.182494)'))) / (select extract(epoch from '2026-05-29 10:13:00'::timestamp) - extract(epoch from '2026-05-29 10:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649637 -3.182486)'), GeomFromEWKT('SRID=4674;POINT (-38.649642 -3.182494)'))) / (select extract(epoch from '2026-05-29 10:13:00'::timestamp) - extract(epoch from '2026-05-29 10:12:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.649647 -3.182486)', '2026-05-29 10:13:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649642 -3.182494)'), GeomFromEWKT('SRID=4674;POINT (-38.649647 -3.182486)'))) / (select extract(epoch from '2026-05-29 10:13:06'::timestamp) - extract(epoch from '2026-05-29 10:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649642 -3.182494)'), GeomFromEWKT('SRID=4674;POINT (-38.649647 -3.182486)'))) / (select extract(epoch from '2026-05-29 10:13:06'::timestamp) - extract(epoch from '2026-05-29 10:13: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'), 46535, 'SRID=4674;POINT (-38.649647 -3.182471)', '2026-05-29 10:13:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649647 -3.182486)'), GeomFromEWKT('SRID=4674;POINT (-38.649647 -3.182471)'))) / (select extract(epoch from '2026-05-29 10:13:12'::timestamp) - extract(epoch from '2026-05-29 10:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.649647 -3.182486)'), GeomFromEWKT('SRID=4674;POINT (-38.649647 -3.182471)'))) / (select extract(epoch from '2026-05-29 10:13:12'::timestamp) - extract(epoch from '2026-05-29 10:13:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
