 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806091 -2.879597)', '2026-07-21 10:02:28', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806192 -2.879665)'), GeomFromEWKT('SRID=4674;POINT (-39.806091 -2.879597)'))) / (select extract(epoch from '2026-07-21 10:02:28'::timestamp) - extract(epoch from '2026-07-21 10:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806192 -2.879665)'), GeomFromEWKT('SRID=4674;POINT (-39.806091 -2.879597)'))) / (select extract(epoch from '2026-07-21 10:02:28'::timestamp) - extract(epoch from '2026-07-21 10:02:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80608 -2.879582)', '2026-07-21 10:02:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806091 -2.879597)'), GeomFromEWKT('SRID=4674;POINT (-39.80608 -2.879582)'))) / (select extract(epoch from '2026-07-21 10:02:29'::timestamp) - extract(epoch from '2026-07-21 10:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806091 -2.879597)'), GeomFromEWKT('SRID=4674;POINT (-39.80608 -2.879582)'))) / (select extract(epoch from '2026-07-21 10:02:29'::timestamp) - extract(epoch from '2026-07-21 10:02: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'), 47870, 'SRID=4674;POINT (-39.806057 -2.879521)', '2026-07-21 10:02:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80608 -2.879582)'), GeomFromEWKT('SRID=4674;POINT (-39.806057 -2.879521)'))) / (select extract(epoch from '2026-07-21 10:02:32'::timestamp) - extract(epoch from '2026-07-21 10:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80608 -2.879582)'), GeomFromEWKT('SRID=4674;POINT (-39.806057 -2.879521)'))) / (select extract(epoch from '2026-07-21 10:02:32'::timestamp) - extract(epoch from '2026-07-21 10:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806043 -2.879395)', '2026-07-21 10:02:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806057 -2.879521)'), GeomFromEWKT('SRID=4674;POINT (-39.806043 -2.879395)'))) / (select extract(epoch from '2026-07-21 10:02:37'::timestamp) - extract(epoch from '2026-07-21 10:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806057 -2.879521)'), GeomFromEWKT('SRID=4674;POINT (-39.806043 -2.879395)'))) / (select extract(epoch from '2026-07-21 10:02:37'::timestamp) - extract(epoch from '2026-07-21 10:02: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'), 47870, 'SRID=4674;POINT (-39.806051 -2.879343)', '2026-07-21 10:02:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806043 -2.879395)'), GeomFromEWKT('SRID=4674;POINT (-39.806051 -2.879343)'))) / (select extract(epoch from '2026-07-21 10:02:39'::timestamp) - extract(epoch from '2026-07-21 10:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806043 -2.879395)'), GeomFromEWKT('SRID=4674;POINT (-39.806051 -2.879343)'))) / (select extract(epoch from '2026-07-21 10:02:39'::timestamp) - extract(epoch from '2026-07-21 10:02:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806058 -2.879291)', '2026-07-21 10:02:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806051 -2.879343)'), GeomFromEWKT('SRID=4674;POINT (-39.806058 -2.879291)'))) / (select extract(epoch from '2026-07-21 10:02:41'::timestamp) - extract(epoch from '2026-07-21 10:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806051 -2.879343)'), GeomFromEWKT('SRID=4674;POINT (-39.806058 -2.879291)'))) / (select extract(epoch from '2026-07-21 10:02:41'::timestamp) - extract(epoch from '2026-07-21 10:02:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806096 -2.879081)', '2026-07-21 10:02:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806058 -2.879291)'), GeomFromEWKT('SRID=4674;POINT (-39.806096 -2.879081)'))) / (select extract(epoch from '2026-07-21 10:02:49'::timestamp) - extract(epoch from '2026-07-21 10:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806058 -2.879291)'), GeomFromEWKT('SRID=4674;POINT (-39.806096 -2.879081)'))) / (select extract(epoch from '2026-07-21 10:02:49'::timestamp) - extract(epoch from '2026-07-21 10:02: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'), 47870, 'SRID=4674;POINT (-39.806083 -2.878952)', '2026-07-21 10:02:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806096 -2.879081)'), GeomFromEWKT('SRID=4674;POINT (-39.806083 -2.878952)'))) / (select extract(epoch from '2026-07-21 10:02:54'::timestamp) - extract(epoch from '2026-07-21 10:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806096 -2.879081)'), GeomFromEWKT('SRID=4674;POINT (-39.806083 -2.878952)'))) / (select extract(epoch from '2026-07-21 10:02:54'::timestamp) - extract(epoch from '2026-07-21 10:02:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806068 -2.878797)', '2026-07-21 10:03:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806083 -2.878952)'), GeomFromEWKT('SRID=4674;POINT (-39.806068 -2.878797)'))) / (select extract(epoch from '2026-07-21 10:03:00'::timestamp) - extract(epoch from '2026-07-21 10:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806083 -2.878952)'), GeomFromEWKT('SRID=4674;POINT (-39.806068 -2.878797)'))) / (select extract(epoch from '2026-07-21 10:03:00'::timestamp) - extract(epoch from '2026-07-21 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'), 47870, 'SRID=4674;POINT (-39.806043 -2.878672)', '2026-07-21 10:03:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806068 -2.878797)'), GeomFromEWKT('SRID=4674;POINT (-39.806043 -2.878672)'))) / (select extract(epoch from '2026-07-21 10:03:05'::timestamp) - extract(epoch from '2026-07-21 10:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806068 -2.878797)'), GeomFromEWKT('SRID=4674;POINT (-39.806043 -2.878672)'))) / (select extract(epoch from '2026-07-21 10:03:05'::timestamp) - extract(epoch from '2026-07-21 10:03: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'), 47870, 'SRID=4674;POINT (-39.806038 -2.878568)', '2026-07-21 10:03:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806043 -2.878672)'), GeomFromEWKT('SRID=4674;POINT (-39.806038 -2.878568)'))) / (select extract(epoch from '2026-07-21 10:03:09'::timestamp) - extract(epoch from '2026-07-21 10:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806043 -2.878672)'), GeomFromEWKT('SRID=4674;POINT (-39.806038 -2.878568)'))) / (select extract(epoch from '2026-07-21 10:03:09'::timestamp) - extract(epoch from '2026-07-21 10:03: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'), 47870, 'SRID=4674;POINT (-39.806028 -2.878406)', '2026-07-21 10:03:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806038 -2.878568)'), GeomFromEWKT('SRID=4674;POINT (-39.806028 -2.878406)'))) / (select extract(epoch from '2026-07-21 10:03:15'::timestamp) - extract(epoch from '2026-07-21 10:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806038 -2.878568)'), GeomFromEWKT('SRID=4674;POINT (-39.806028 -2.878406)'))) / (select extract(epoch from '2026-07-21 10:03:15'::timestamp) - extract(epoch from '2026-07-21 10:03:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80601 -2.878274)', '2026-07-21 10:03:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806028 -2.878406)'), GeomFromEWKT('SRID=4674;POINT (-39.80601 -2.878274)'))) / (select extract(epoch from '2026-07-21 10:03:20'::timestamp) - extract(epoch from '2026-07-21 10:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806028 -2.878406)'), GeomFromEWKT('SRID=4674;POINT (-39.80601 -2.878274)'))) / (select extract(epoch from '2026-07-21 10:03:20'::timestamp) - extract(epoch from '2026-07-21 10:03: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'), 47870, 'SRID=4674;POINT (-39.805983 -2.878147)', '2026-07-21 10:03:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80601 -2.878274)'), GeomFromEWKT('SRID=4674;POINT (-39.805983 -2.878147)'))) / (select extract(epoch from '2026-07-21 10:03:25'::timestamp) - extract(epoch from '2026-07-21 10:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80601 -2.878274)'), GeomFromEWKT('SRID=4674;POINT (-39.805983 -2.878147)'))) / (select extract(epoch from '2026-07-21 10:03:25'::timestamp) - extract(epoch from '2026-07-21 10:03:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805973 -2.878018)', '2026-07-21 10:03:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805983 -2.878147)'), GeomFromEWKT('SRID=4674;POINT (-39.805973 -2.878018)'))) / (select extract(epoch from '2026-07-21 10:03:30'::timestamp) - extract(epoch from '2026-07-21 10:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805983 -2.878147)'), GeomFromEWKT('SRID=4674;POINT (-39.805973 -2.878018)'))) / (select extract(epoch from '2026-07-21 10:03:30'::timestamp) - extract(epoch from '2026-07-21 10:03:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806008 -2.87783)', '2026-07-21 10:03:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805973 -2.878018)'), GeomFromEWKT('SRID=4674;POINT (-39.806008 -2.87783)'))) / (select extract(epoch from '2026-07-21 10:03:37'::timestamp) - extract(epoch from '2026-07-21 10:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805973 -2.878018)'), GeomFromEWKT('SRID=4674;POINT (-39.806008 -2.87783)'))) / (select extract(epoch from '2026-07-21 10:03:37'::timestamp) - extract(epoch from '2026-07-21 10:03: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'), 47870, 'SRID=4674;POINT (-39.806065 -2.877705)', '2026-07-21 10:03:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806008 -2.87783)'), GeomFromEWKT('SRID=4674;POINT (-39.806065 -2.877705)'))) / (select extract(epoch from '2026-07-21 10:03:42'::timestamp) - extract(epoch from '2026-07-21 10:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806008 -2.87783)'), GeomFromEWKT('SRID=4674;POINT (-39.806065 -2.877705)'))) / (select extract(epoch from '2026-07-21 10:03:42'::timestamp) - extract(epoch from '2026-07-21 10:03:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806151 -2.877524)', '2026-07-21 10:03:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806065 -2.877705)'), GeomFromEWKT('SRID=4674;POINT (-39.806151 -2.877524)'))) / (select extract(epoch from '2026-07-21 10:03:49'::timestamp) - extract(epoch from '2026-07-21 10:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806065 -2.877705)'), GeomFromEWKT('SRID=4674;POINT (-39.806151 -2.877524)'))) / (select extract(epoch from '2026-07-21 10:03:49'::timestamp) - extract(epoch from '2026-07-21 10:03:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806203 -2.877394)', '2026-07-21 10:03:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806151 -2.877524)'), GeomFromEWKT('SRID=4674;POINT (-39.806203 -2.877394)'))) / (select extract(epoch from '2026-07-21 10:03:54'::timestamp) - extract(epoch from '2026-07-21 10:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806151 -2.877524)'), GeomFromEWKT('SRID=4674;POINT (-39.806203 -2.877394)'))) / (select extract(epoch from '2026-07-21 10:03:54'::timestamp) - extract(epoch from '2026-07-21 10:03:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806228 -2.877266)', '2026-07-21 10:03:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806203 -2.877394)'), GeomFromEWKT('SRID=4674;POINT (-39.806228 -2.877266)'))) / (select extract(epoch from '2026-07-21 10:03:59'::timestamp) - extract(epoch from '2026-07-21 10:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806203 -2.877394)'), GeomFromEWKT('SRID=4674;POINT (-39.806228 -2.877266)'))) / (select extract(epoch from '2026-07-21 10:03:59'::timestamp) - extract(epoch from '2026-07-21 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'), 47870, 'SRID=4674;POINT (-39.806228 -2.877103)', '2026-07-21 10:04:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806228 -2.877266)'), GeomFromEWKT('SRID=4674;POINT (-39.806228 -2.877103)'))) / (select extract(epoch from '2026-07-21 10:04:05'::timestamp) - extract(epoch from '2026-07-21 10:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806228 -2.877266)'), GeomFromEWKT('SRID=4674;POINT (-39.806228 -2.877103)'))) / (select extract(epoch from '2026-07-21 10:04:05'::timestamp) - extract(epoch from '2026-07-21 10:03:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80622 -2.876995)', '2026-07-21 10:04:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806228 -2.877103)'), GeomFromEWKT('SRID=4674;POINT (-39.80622 -2.876995)'))) / (select extract(epoch from '2026-07-21 10:04:09'::timestamp) - extract(epoch from '2026-07-21 10:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806228 -2.877103)'), GeomFromEWKT('SRID=4674;POINT (-39.80622 -2.876995)'))) / (select extract(epoch from '2026-07-21 10:04:09'::timestamp) - extract(epoch from '2026-07-21 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'), 47870, 'SRID=4674;POINT (-39.80621 -2.876837)', '2026-07-21 10:04:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80622 -2.876995)'), GeomFromEWKT('SRID=4674;POINT (-39.80621 -2.876837)'))) / (select extract(epoch from '2026-07-21 10:04:15'::timestamp) - extract(epoch from '2026-07-21 10:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80622 -2.876995)'), GeomFromEWKT('SRID=4674;POINT (-39.80621 -2.876837)'))) / (select extract(epoch from '2026-07-21 10:04:15'::timestamp) - extract(epoch from '2026-07-21 10:04:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806204 -2.876788)', '2026-07-21 10:04:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80621 -2.876837)'), GeomFromEWKT('SRID=4674;POINT (-39.806204 -2.876788)'))) / (select extract(epoch from '2026-07-21 10:04:17'::timestamp) - extract(epoch from '2026-07-21 10:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80621 -2.876837)'), GeomFromEWKT('SRID=4674;POINT (-39.806204 -2.876788)'))) / (select extract(epoch from '2026-07-21 10:04:17'::timestamp) - extract(epoch from '2026-07-21 10:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806198 -2.876736)', '2026-07-21 10:04:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806204 -2.876788)'), GeomFromEWKT('SRID=4674;POINT (-39.806198 -2.876736)'))) / (select extract(epoch from '2026-07-21 10:04:19'::timestamp) - extract(epoch from '2026-07-21 10:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806204 -2.876788)'), GeomFromEWKT('SRID=4674;POINT (-39.806198 -2.876736)'))) / (select extract(epoch from '2026-07-21 10:04:19'::timestamp) - extract(epoch from '2026-07-21 10:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806195 -2.876603)', '2026-07-21 10:04:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806198 -2.876736)'), GeomFromEWKT('SRID=4674;POINT (-39.806195 -2.876603)'))) / (select extract(epoch from '2026-07-21 10:04:24'::timestamp) - extract(epoch from '2026-07-21 10:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806198 -2.876736)'), GeomFromEWKT('SRID=4674;POINT (-39.806195 -2.876603)'))) / (select extract(epoch from '2026-07-21 10:04:24'::timestamp) - extract(epoch from '2026-07-21 10:04: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'), 47870, 'SRID=4674;POINT (-39.806183 -2.876441)', '2026-07-21 10:04:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806195 -2.876603)'), GeomFromEWKT('SRID=4674;POINT (-39.806183 -2.876441)'))) / (select extract(epoch from '2026-07-21 10:04:30'::timestamp) - extract(epoch from '2026-07-21 10:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806195 -2.876603)'), GeomFromEWKT('SRID=4674;POINT (-39.806183 -2.876441)'))) / (select extract(epoch from '2026-07-21 10:04:30'::timestamp) - extract(epoch from '2026-07-21 10:04: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'), 47870, 'SRID=4674;POINT (-39.806176 -2.876307)', '2026-07-21 10:04:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806183 -2.876441)'), GeomFromEWKT('SRID=4674;POINT (-39.806176 -2.876307)'))) / (select extract(epoch from '2026-07-21 10:04:35'::timestamp) - extract(epoch from '2026-07-21 10:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806183 -2.876441)'), GeomFromEWKT('SRID=4674;POINT (-39.806176 -2.876307)'))) / (select extract(epoch from '2026-07-21 10:04:35'::timestamp) - extract(epoch from '2026-07-21 10:04: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'), 47870, 'SRID=4674;POINT (-39.806173 -2.876174)', '2026-07-21 10:04:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806176 -2.876307)'), GeomFromEWKT('SRID=4674;POINT (-39.806173 -2.876174)'))) / (select extract(epoch from '2026-07-21 10:04:40'::timestamp) - extract(epoch from '2026-07-21 10:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806176 -2.876307)'), GeomFromEWKT('SRID=4674;POINT (-39.806173 -2.876174)'))) / (select extract(epoch from '2026-07-21 10:04:40'::timestamp) - extract(epoch from '2026-07-21 10:04:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806183 -2.876044)', '2026-07-21 10:04:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806173 -2.876174)'), GeomFromEWKT('SRID=4674;POINT (-39.806183 -2.876044)'))) / (select extract(epoch from '2026-07-21 10:04:45'::timestamp) - extract(epoch from '2026-07-21 10:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806173 -2.876174)'), GeomFromEWKT('SRID=4674;POINT (-39.806183 -2.876044)'))) / (select extract(epoch from '2026-07-21 10:04:45'::timestamp) - extract(epoch from '2026-07-21 10:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806193 -2.875881)', '2026-07-21 10:04:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806183 -2.876044)'), GeomFromEWKT('SRID=4674;POINT (-39.806193 -2.875881)'))) / (select extract(epoch from '2026-07-21 10:04:51'::timestamp) - extract(epoch from '2026-07-21 10:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806183 -2.876044)'), GeomFromEWKT('SRID=4674;POINT (-39.806193 -2.875881)'))) / (select extract(epoch from '2026-07-21 10:04:51'::timestamp) - extract(epoch from '2026-07-21 10:04:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806196 -2.875739)', '2026-07-21 10:04:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806193 -2.875881)'), GeomFromEWKT('SRID=4674;POINT (-39.806196 -2.875739)'))) / (select extract(epoch from '2026-07-21 10:04:56'::timestamp) - extract(epoch from '2026-07-21 10:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806193 -2.875881)'), GeomFromEWKT('SRID=4674;POINT (-39.806196 -2.875739)'))) / (select extract(epoch from '2026-07-21 10:04:56'::timestamp) - extract(epoch from '2026-07-21 10:04:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806211 -2.87552)', '2026-07-21 10:05:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806196 -2.875739)'), GeomFromEWKT('SRID=4674;POINT (-39.806211 -2.87552)'))) / (select extract(epoch from '2026-07-21 10:05:04'::timestamp) - extract(epoch from '2026-07-21 10:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806196 -2.875739)'), GeomFromEWKT('SRID=4674;POINT (-39.806211 -2.87552)'))) / (select extract(epoch from '2026-07-21 10:05:04'::timestamp) - extract(epoch from '2026-07-21 10:04:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80622 -2.87535)', '2026-07-21 10:05:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806211 -2.87552)'), GeomFromEWKT('SRID=4674;POINT (-39.80622 -2.87535)'))) / (select extract(epoch from '2026-07-21 10:05:10'::timestamp) - extract(epoch from '2026-07-21 10:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806211 -2.87552)'), GeomFromEWKT('SRID=4674;POINT (-39.80622 -2.87535)'))) / (select extract(epoch from '2026-07-21 10:05:10'::timestamp) - extract(epoch from '2026-07-21 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'), 47870, 'SRID=4674;POINT (-39.806224 -2.875213)', '2026-07-21 10:05:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80622 -2.87535)'), GeomFromEWKT('SRID=4674;POINT (-39.806224 -2.875213)'))) / (select extract(epoch from '2026-07-21 10:05:15'::timestamp) - extract(epoch from '2026-07-21 10:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80622 -2.87535)'), GeomFromEWKT('SRID=4674;POINT (-39.806224 -2.875213)'))) / (select extract(epoch from '2026-07-21 10:05:15'::timestamp) - extract(epoch from '2026-07-21 10:05: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'), 47870, 'SRID=4674;POINT (-39.806236 -2.875075)', '2026-07-21 10:05:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806224 -2.875213)'), GeomFromEWKT('SRID=4674;POINT (-39.806236 -2.875075)'))) / (select extract(epoch from '2026-07-21 10:05:20'::timestamp) - extract(epoch from '2026-07-21 10:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806224 -2.875213)'), GeomFromEWKT('SRID=4674;POINT (-39.806236 -2.875075)'))) / (select extract(epoch from '2026-07-21 10:05:20'::timestamp) - extract(epoch from '2026-07-21 10:05: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'), 47870, 'SRID=4674;POINT (-39.806249 -2.874939)', '2026-07-21 10:05:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806236 -2.875075)'), GeomFromEWKT('SRID=4674;POINT (-39.806249 -2.874939)'))) / (select extract(epoch from '2026-07-21 10:05:25'::timestamp) - extract(epoch from '2026-07-21 10:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806236 -2.875075)'), GeomFromEWKT('SRID=4674;POINT (-39.806249 -2.874939)'))) / (select extract(epoch from '2026-07-21 10:05:25'::timestamp) - extract(epoch from '2026-07-21 10:05:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806272 -2.874752)', '2026-07-21 10:05:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806249 -2.874939)'), GeomFromEWKT('SRID=4674;POINT (-39.806272 -2.874752)'))) / (select extract(epoch from '2026-07-21 10:05:32'::timestamp) - extract(epoch from '2026-07-21 10:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806249 -2.874939)'), GeomFromEWKT('SRID=4674;POINT (-39.806272 -2.874752)'))) / (select extract(epoch from '2026-07-21 10:05:32'::timestamp) - extract(epoch from '2026-07-21 10:05: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'), 47870, 'SRID=4674;POINT (-39.806295 -2.874619)', '2026-07-21 10:05:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806272 -2.874752)'), GeomFromEWKT('SRID=4674;POINT (-39.806295 -2.874619)'))) / (select extract(epoch from '2026-07-21 10:05:37'::timestamp) - extract(epoch from '2026-07-21 10:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806272 -2.874752)'), GeomFromEWKT('SRID=4674;POINT (-39.806295 -2.874619)'))) / (select extract(epoch from '2026-07-21 10:05:37'::timestamp) - extract(epoch from '2026-07-21 10:05: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'), 47870, 'SRID=4674;POINT (-39.806307 -2.874423)', '2026-07-21 10:05:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806295 -2.874619)'), GeomFromEWKT('SRID=4674;POINT (-39.806307 -2.874423)'))) / (select extract(epoch from '2026-07-21 10:05:44'::timestamp) - extract(epoch from '2026-07-21 10:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806295 -2.874619)'), GeomFromEWKT('SRID=4674;POINT (-39.806307 -2.874423)'))) / (select extract(epoch from '2026-07-21 10:05:44'::timestamp) - extract(epoch from '2026-07-21 10:05: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'), 47870, 'SRID=4674;POINT (-39.806309 -2.874285)', '2026-07-21 10:05:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806307 -2.874423)'), GeomFromEWKT('SRID=4674;POINT (-39.806309 -2.874285)'))) / (select extract(epoch from '2026-07-21 10:05:49'::timestamp) - extract(epoch from '2026-07-21 10:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806307 -2.874423)'), GeomFromEWKT('SRID=4674;POINT (-39.806309 -2.874285)'))) / (select extract(epoch from '2026-07-21 10:05:49'::timestamp) - extract(epoch from '2026-07-21 10:05:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806309 -2.874148)', '2026-07-21 10:05:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806309 -2.874285)'), GeomFromEWKT('SRID=4674;POINT (-39.806309 -2.874148)'))) / (select extract(epoch from '2026-07-21 10:05:54'::timestamp) - extract(epoch from '2026-07-21 10:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806309 -2.874285)'), GeomFromEWKT('SRID=4674;POINT (-39.806309 -2.874148)'))) / (select extract(epoch from '2026-07-21 10:05:54'::timestamp) - extract(epoch from '2026-07-21 10:05:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806306 -2.874037)', '2026-07-21 10:05:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806309 -2.874148)'), GeomFromEWKT('SRID=4674;POINT (-39.806306 -2.874037)'))) / (select extract(epoch from '2026-07-21 10:05:58'::timestamp) - extract(epoch from '2026-07-21 10:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806309 -2.874148)'), GeomFromEWKT('SRID=4674;POINT (-39.806306 -2.874037)'))) / (select extract(epoch from '2026-07-21 10:05:58'::timestamp) - extract(epoch from '2026-07-21 10:05:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806301 -2.873905)', '2026-07-21 10:06:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806306 -2.874037)'), GeomFromEWKT('SRID=4674;POINT (-39.806301 -2.873905)'))) / (select extract(epoch from '2026-07-21 10:06:03'::timestamp) - extract(epoch from '2026-07-21 10:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806306 -2.874037)'), GeomFromEWKT('SRID=4674;POINT (-39.806301 -2.873905)'))) / (select extract(epoch from '2026-07-21 10:06:03'::timestamp) - extract(epoch from '2026-07-21 10:05:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806293 -2.873767)', '2026-07-21 10:06:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806301 -2.873905)'), GeomFromEWKT('SRID=4674;POINT (-39.806293 -2.873767)'))) / (select extract(epoch from '2026-07-21 10:06:08'::timestamp) - extract(epoch from '2026-07-21 10:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806301 -2.873905)'), GeomFromEWKT('SRID=4674;POINT (-39.806293 -2.873767)'))) / (select extract(epoch from '2026-07-21 10:06:08'::timestamp) - extract(epoch from '2026-07-21 10:06:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806294 -2.873658)', '2026-07-21 10:06:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806293 -2.873767)'), GeomFromEWKT('SRID=4674;POINT (-39.806294 -2.873658)'))) / (select extract(epoch from '2026-07-21 10:06:12'::timestamp) - extract(epoch from '2026-07-21 10:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806293 -2.873767)'), GeomFromEWKT('SRID=4674;POINT (-39.806294 -2.873658)'))) / (select extract(epoch from '2026-07-21 10:06:12'::timestamp) - extract(epoch from '2026-07-21 10:06:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806306 -2.873499)', '2026-07-21 10:06:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806294 -2.873658)'), GeomFromEWKT('SRID=4674;POINT (-39.806306 -2.873499)'))) / (select extract(epoch from '2026-07-21 10:06:18'::timestamp) - extract(epoch from '2026-07-21 10:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806294 -2.873658)'), GeomFromEWKT('SRID=4674;POINT (-39.806306 -2.873499)'))) / (select extract(epoch from '2026-07-21 10:06:18'::timestamp) - extract(epoch from '2026-07-21 10:06: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'), 47870, 'SRID=4674;POINT (-39.806329 -2.873365)', '2026-07-21 10:06:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806306 -2.873499)'), GeomFromEWKT('SRID=4674;POINT (-39.806329 -2.873365)'))) / (select extract(epoch from '2026-07-21 10:06:23'::timestamp) - extract(epoch from '2026-07-21 10:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806306 -2.873499)'), GeomFromEWKT('SRID=4674;POINT (-39.806329 -2.873365)'))) / (select extract(epoch from '2026-07-21 10:06:23'::timestamp) - extract(epoch from '2026-07-21 10:06:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806343 -2.873177)', '2026-07-21 10:06:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806329 -2.873365)'), GeomFromEWKT('SRID=4674;POINT (-39.806343 -2.873177)'))) / (select extract(epoch from '2026-07-21 10:06:30'::timestamp) - extract(epoch from '2026-07-21 10:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806329 -2.873365)'), GeomFromEWKT('SRID=4674;POINT (-39.806343 -2.873177)'))) / (select extract(epoch from '2026-07-21 10:06:30'::timestamp) - extract(epoch from '2026-07-21 10:06: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'), 47870, 'SRID=4674;POINT (-39.806355 -2.872984)', '2026-07-21 10:06:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806343 -2.873177)'), GeomFromEWKT('SRID=4674;POINT (-39.806355 -2.872984)'))) / (select extract(epoch from '2026-07-21 10:06:37'::timestamp) - extract(epoch from '2026-07-21 10:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806343 -2.873177)'), GeomFromEWKT('SRID=4674;POINT (-39.806355 -2.872984)'))) / (select extract(epoch from '2026-07-21 10:06:37'::timestamp) - extract(epoch from '2026-07-21 10:06: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'), 47870, 'SRID=4674;POINT (-39.806374 -2.872844)', '2026-07-21 10:06:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806355 -2.872984)'), GeomFromEWKT('SRID=4674;POINT (-39.806374 -2.872844)'))) / (select extract(epoch from '2026-07-21 10:06:42'::timestamp) - extract(epoch from '2026-07-21 10:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806355 -2.872984)'), GeomFromEWKT('SRID=4674;POINT (-39.806374 -2.872844)'))) / (select extract(epoch from '2026-07-21 10:06:42'::timestamp) - extract(epoch from '2026-07-21 10:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.8064 -2.872653)', '2026-07-21 10:06:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806374 -2.872844)'), GeomFromEWKT('SRID=4674;POINT (-39.8064 -2.872653)'))) / (select extract(epoch from '2026-07-21 10:06:49'::timestamp) - extract(epoch from '2026-07-21 10:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806374 -2.872844)'), GeomFromEWKT('SRID=4674;POINT (-39.8064 -2.872653)'))) / (select extract(epoch from '2026-07-21 10:06:49'::timestamp) - extract(epoch from '2026-07-21 10:06:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806415 -2.872517)', '2026-07-21 10:06:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8064 -2.872653)'), GeomFromEWKT('SRID=4674;POINT (-39.806415 -2.872517)'))) / (select extract(epoch from '2026-07-21 10:06:54'::timestamp) - extract(epoch from '2026-07-21 10:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8064 -2.872653)'), GeomFromEWKT('SRID=4674;POINT (-39.806415 -2.872517)'))) / (select extract(epoch from '2026-07-21 10:06:54'::timestamp) - extract(epoch from '2026-07-21 10:06:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806429 -2.872378)', '2026-07-21 10:06:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806415 -2.872517)'), GeomFromEWKT('SRID=4674;POINT (-39.806429 -2.872378)'))) / (select extract(epoch from '2026-07-21 10:06:59'::timestamp) - extract(epoch from '2026-07-21 10:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806415 -2.872517)'), GeomFromEWKT('SRID=4674;POINT (-39.806429 -2.872378)'))) / (select extract(epoch from '2026-07-21 10:06:59'::timestamp) - extract(epoch from '2026-07-21 10:06:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806451 -2.872181)', '2026-07-21 10:07:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806429 -2.872378)'), GeomFromEWKT('SRID=4674;POINT (-39.806451 -2.872181)'))) / (select extract(epoch from '2026-07-21 10:07:06'::timestamp) - extract(epoch from '2026-07-21 10:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806429 -2.872378)'), GeomFromEWKT('SRID=4674;POINT (-39.806451 -2.872181)'))) / (select extract(epoch from '2026-07-21 10:07:06'::timestamp) - extract(epoch from '2026-07-21 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'), 47870, 'SRID=4674;POINT (-39.80648 -2.871989)', '2026-07-21 10:07:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806451 -2.872181)'), GeomFromEWKT('SRID=4674;POINT (-39.80648 -2.871989)'))) / (select extract(epoch from '2026-07-21 10:07:13'::timestamp) - extract(epoch from '2026-07-21 10:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806451 -2.872181)'), GeomFromEWKT('SRID=4674;POINT (-39.80648 -2.871989)'))) / (select extract(epoch from '2026-07-21 10:07:13'::timestamp) - extract(epoch from '2026-07-21 10:07: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'), 47870, 'SRID=4674;POINT (-39.806505 -2.871828)', '2026-07-21 10:07:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80648 -2.871989)'), GeomFromEWKT('SRID=4674;POINT (-39.806505 -2.871828)'))) / (select extract(epoch from '2026-07-21 10:07:19'::timestamp) - extract(epoch from '2026-07-21 10:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80648 -2.871989)'), GeomFromEWKT('SRID=4674;POINT (-39.806505 -2.871828)'))) / (select extract(epoch from '2026-07-21 10:07:19'::timestamp) - extract(epoch from '2026-07-21 10:07: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'), 47870, 'SRID=4674;POINT (-39.806543 -2.871665)', '2026-07-21 10:07:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806505 -2.871828)'), GeomFromEWKT('SRID=4674;POINT (-39.806543 -2.871665)'))) / (select extract(epoch from '2026-07-21 10:07:25'::timestamp) - extract(epoch from '2026-07-21 10:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806505 -2.871828)'), GeomFromEWKT('SRID=4674;POINT (-39.806543 -2.871665)'))) / (select extract(epoch from '2026-07-21 10:07:25'::timestamp) - extract(epoch from '2026-07-21 10:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806575 -2.871504)', '2026-07-21 10:07:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806543 -2.871665)'), GeomFromEWKT('SRID=4674;POINT (-39.806575 -2.871504)'))) / (select extract(epoch from '2026-07-21 10:07:31'::timestamp) - extract(epoch from '2026-07-21 10:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806543 -2.871665)'), GeomFromEWKT('SRID=4674;POINT (-39.806575 -2.871504)'))) / (select extract(epoch from '2026-07-21 10:07:31'::timestamp) - extract(epoch from '2026-07-21 10:07: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'), 47870, 'SRID=4674;POINT (-39.806593 -2.871365)', '2026-07-21 10:07:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806575 -2.871504)'), GeomFromEWKT('SRID=4674;POINT (-39.806593 -2.871365)'))) / (select extract(epoch from '2026-07-21 10:07:36'::timestamp) - extract(epoch from '2026-07-21 10:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806575 -2.871504)'), GeomFromEWKT('SRID=4674;POINT (-39.806593 -2.871365)'))) / (select extract(epoch from '2026-07-21 10:07:36'::timestamp) - extract(epoch from '2026-07-21 10:07: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'), 47870, 'SRID=4674;POINT (-39.80662 -2.871255)', '2026-07-21 10:07:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806593 -2.871365)'), GeomFromEWKT('SRID=4674;POINT (-39.80662 -2.871255)'))) / (select extract(epoch from '2026-07-21 10:07:40'::timestamp) - extract(epoch from '2026-07-21 10:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806593 -2.871365)'), GeomFromEWKT('SRID=4674;POINT (-39.80662 -2.871255)'))) / (select extract(epoch from '2026-07-21 10:07:40'::timestamp) - extract(epoch from '2026-07-21 10:07: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'), 47870, 'SRID=4674;POINT (-39.806672 -2.871093)', '2026-07-21 10:07:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80662 -2.871255)'), GeomFromEWKT('SRID=4674;POINT (-39.806672 -2.871093)'))) / (select extract(epoch from '2026-07-21 10:07:46'::timestamp) - extract(epoch from '2026-07-21 10:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80662 -2.871255)'), GeomFromEWKT('SRID=4674;POINT (-39.806672 -2.871093)'))) / (select extract(epoch from '2026-07-21 10:07:46'::timestamp) - extract(epoch from '2026-07-21 10:07:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806698 -2.870923)', '2026-07-21 10:07:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806672 -2.871093)'), GeomFromEWKT('SRID=4674;POINT (-39.806698 -2.870923)'))) / (select extract(epoch from '2026-07-21 10:07:52'::timestamp) - extract(epoch from '2026-07-21 10:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806672 -2.871093)'), GeomFromEWKT('SRID=4674;POINT (-39.806698 -2.870923)'))) / (select extract(epoch from '2026-07-21 10:07:52'::timestamp) - extract(epoch from '2026-07-21 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'), 47870, 'SRID=4674;POINT (-39.806699 -2.870788)', '2026-07-21 10:07:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806698 -2.870923)'), GeomFromEWKT('SRID=4674;POINT (-39.806699 -2.870788)'))) / (select extract(epoch from '2026-07-21 10:07:57'::timestamp) - extract(epoch from '2026-07-21 10:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806698 -2.870923)'), GeomFromEWKT('SRID=4674;POINT (-39.806699 -2.870788)'))) / (select extract(epoch from '2026-07-21 10:07:57'::timestamp) - extract(epoch from '2026-07-21 10:07: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'), 47870, 'SRID=4674;POINT (-39.806704 -2.870653)', '2026-07-21 10:08:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806699 -2.870788)'), GeomFromEWKT('SRID=4674;POINT (-39.806704 -2.870653)'))) / (select extract(epoch from '2026-07-21 10:08:02'::timestamp) - extract(epoch from '2026-07-21 10:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806699 -2.870788)'), GeomFromEWKT('SRID=4674;POINT (-39.806704 -2.870653)'))) / (select extract(epoch from '2026-07-21 10:08:02'::timestamp) - extract(epoch from '2026-07-21 10:07:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806711 -2.870521)', '2026-07-21 10:08:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806704 -2.870653)'), GeomFromEWKT('SRID=4674;POINT (-39.806711 -2.870521)'))) / (select extract(epoch from '2026-07-21 10:08:07'::timestamp) - extract(epoch from '2026-07-21 10:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806704 -2.870653)'), GeomFromEWKT('SRID=4674;POINT (-39.806711 -2.870521)'))) / (select extract(epoch from '2026-07-21 10:08:07'::timestamp) - extract(epoch from '2026-07-21 10:08: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'), 47870, 'SRID=4674;POINT (-39.806722 -2.870357)', '2026-07-21 10:08:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806711 -2.870521)'), GeomFromEWKT('SRID=4674;POINT (-39.806722 -2.870357)'))) / (select extract(epoch from '2026-07-21 10:08:13'::timestamp) - extract(epoch from '2026-07-21 10:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806711 -2.870521)'), GeomFromEWKT('SRID=4674;POINT (-39.806722 -2.870357)'))) / (select extract(epoch from '2026-07-21 10:08:13'::timestamp) - extract(epoch from '2026-07-21 10:08:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806741 -2.870219)', '2026-07-21 10:08:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806722 -2.870357)'), GeomFromEWKT('SRID=4674;POINT (-39.806741 -2.870219)'))) / (select extract(epoch from '2026-07-21 10:08:18'::timestamp) - extract(epoch from '2026-07-21 10:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806722 -2.870357)'), GeomFromEWKT('SRID=4674;POINT (-39.806741 -2.870219)'))) / (select extract(epoch from '2026-07-21 10:08:18'::timestamp) - extract(epoch from '2026-07-21 10:08: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'), 47870, 'SRID=4674;POINT (-39.806775 -2.870086)', '2026-07-21 10:08:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806741 -2.870219)'), GeomFromEWKT('SRID=4674;POINT (-39.806775 -2.870086)'))) / (select extract(epoch from '2026-07-21 10:08:23'::timestamp) - extract(epoch from '2026-07-21 10:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806741 -2.870219)'), GeomFromEWKT('SRID=4674;POINT (-39.806775 -2.870086)'))) / (select extract(epoch from '2026-07-21 10:08:23'::timestamp) - extract(epoch from '2026-07-21 10:08:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806806 -2.869957)', '2026-07-21 10:08:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806775 -2.870086)'), GeomFromEWKT('SRID=4674;POINT (-39.806806 -2.869957)'))) / (select extract(epoch from '2026-07-21 10:08:28'::timestamp) - extract(epoch from '2026-07-21 10:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806775 -2.870086)'), GeomFromEWKT('SRID=4674;POINT (-39.806806 -2.869957)'))) / (select extract(epoch from '2026-07-21 10:08:28'::timestamp) - extract(epoch from '2026-07-21 10:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806833 -2.869819)', '2026-07-21 10:08:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806806 -2.869957)'), GeomFromEWKT('SRID=4674;POINT (-39.806833 -2.869819)'))) / (select extract(epoch from '2026-07-21 10:08:33'::timestamp) - extract(epoch from '2026-07-21 10:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806806 -2.869957)'), GeomFromEWKT('SRID=4674;POINT (-39.806833 -2.869819)'))) / (select extract(epoch from '2026-07-21 10:08:33'::timestamp) - extract(epoch from '2026-07-21 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'), 47870, 'SRID=4674;POINT (-39.806854 -2.869708)', '2026-07-21 10:08:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806833 -2.869819)'), GeomFromEWKT('SRID=4674;POINT (-39.806854 -2.869708)'))) / (select extract(epoch from '2026-07-21 10:08:37'::timestamp) - extract(epoch from '2026-07-21 10:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806833 -2.869819)'), GeomFromEWKT('SRID=4674;POINT (-39.806854 -2.869708)'))) / (select extract(epoch from '2026-07-21 10:08:37'::timestamp) - extract(epoch from '2026-07-21 10:08:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806888 -2.869573)', '2026-07-21 10:08:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806854 -2.869708)'), GeomFromEWKT('SRID=4674;POINT (-39.806888 -2.869573)'))) / (select extract(epoch from '2026-07-21 10:08:42'::timestamp) - extract(epoch from '2026-07-21 10:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806854 -2.869708)'), GeomFromEWKT('SRID=4674;POINT (-39.806888 -2.869573)'))) / (select extract(epoch from '2026-07-21 10:08:42'::timestamp) - extract(epoch from '2026-07-21 10:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806934 -2.869411)', '2026-07-21 10:08:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806888 -2.869573)'), GeomFromEWKT('SRID=4674;POINT (-39.806934 -2.869411)'))) / (select extract(epoch from '2026-07-21 10:08:48'::timestamp) - extract(epoch from '2026-07-21 10:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806888 -2.869573)'), GeomFromEWKT('SRID=4674;POINT (-39.806934 -2.869411)'))) / (select extract(epoch from '2026-07-21 10:08:48'::timestamp) - extract(epoch from '2026-07-21 10:08: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'), 47870, 'SRID=4674;POINT (-39.806958 -2.869273)', '2026-07-21 10:08:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806934 -2.869411)'), GeomFromEWKT('SRID=4674;POINT (-39.806958 -2.869273)'))) / (select extract(epoch from '2026-07-21 10:08:53'::timestamp) - extract(epoch from '2026-07-21 10:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806934 -2.869411)'), GeomFromEWKT('SRID=4674;POINT (-39.806958 -2.869273)'))) / (select extract(epoch from '2026-07-21 10:08:53'::timestamp) - extract(epoch from '2026-07-21 10:08:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806972 -2.869141)', '2026-07-21 10:08:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806958 -2.869273)'), GeomFromEWKT('SRID=4674;POINT (-39.806972 -2.869141)'))) / (select extract(epoch from '2026-07-21 10:08:58'::timestamp) - extract(epoch from '2026-07-21 10:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806958 -2.869273)'), GeomFromEWKT('SRID=4674;POINT (-39.806972 -2.869141)'))) / (select extract(epoch from '2026-07-21 10:08:58'::timestamp) - extract(epoch from '2026-07-21 10:08: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'), 47870, 'SRID=4674;POINT (-39.80697 -2.869007)', '2026-07-21 10:09:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806972 -2.869141)'), GeomFromEWKT('SRID=4674;POINT (-39.80697 -2.869007)'))) / (select extract(epoch from '2026-07-21 10:09:03'::timestamp) - extract(epoch from '2026-07-21 10:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806972 -2.869141)'), GeomFromEWKT('SRID=4674;POINT (-39.80697 -2.869007)'))) / (select extract(epoch from '2026-07-21 10:09:03'::timestamp) - extract(epoch from '2026-07-21 10:08: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'), 47870, 'SRID=4674;POINT (-39.806975 -2.868876)', '2026-07-21 10:09:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80697 -2.869007)'), GeomFromEWKT('SRID=4674;POINT (-39.806975 -2.868876)'))) / (select extract(epoch from '2026-07-21 10:09:08'::timestamp) - extract(epoch from '2026-07-21 10:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80697 -2.869007)'), GeomFromEWKT('SRID=4674;POINT (-39.806975 -2.868876)'))) / (select extract(epoch from '2026-07-21 10:09:08'::timestamp) - extract(epoch from '2026-07-21 10:09: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'), 47870, 'SRID=4674;POINT (-39.807002 -2.868683)', '2026-07-21 10:09:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806975 -2.868876)'), GeomFromEWKT('SRID=4674;POINT (-39.807002 -2.868683)'))) / (select extract(epoch from '2026-07-21 10:09:15'::timestamp) - extract(epoch from '2026-07-21 10:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806975 -2.868876)'), GeomFromEWKT('SRID=4674;POINT (-39.807002 -2.868683)'))) / (select extract(epoch from '2026-07-21 10:09:15'::timestamp) - extract(epoch from '2026-07-21 10:09:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807017 -2.868469)', '2026-07-21 10:09:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807002 -2.868683)'), GeomFromEWKT('SRID=4674;POINT (-39.807017 -2.868469)'))) / (select extract(epoch from '2026-07-21 10:09:23'::timestamp) - extract(epoch from '2026-07-21 10:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807002 -2.868683)'), GeomFromEWKT('SRID=4674;POINT (-39.807017 -2.868469)'))) / (select extract(epoch from '2026-07-21 10:09:23'::timestamp) - extract(epoch from '2026-07-21 10:09:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807023 -2.86831)', '2026-07-21 10:09:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807017 -2.868469)'), GeomFromEWKT('SRID=4674;POINT (-39.807023 -2.86831)'))) / (select extract(epoch from '2026-07-21 10:09:29'::timestamp) - extract(epoch from '2026-07-21 10:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807017 -2.868469)'), GeomFromEWKT('SRID=4674;POINT (-39.807023 -2.86831)'))) / (select extract(epoch from '2026-07-21 10:09:29'::timestamp) - extract(epoch from '2026-07-21 10:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807054 -2.86812)', '2026-07-21 10:09:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807023 -2.86831)'), GeomFromEWKT('SRID=4674;POINT (-39.807054 -2.86812)'))) / (select extract(epoch from '2026-07-21 10:09:36'::timestamp) - extract(epoch from '2026-07-21 10:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807023 -2.86831)'), GeomFromEWKT('SRID=4674;POINT (-39.807054 -2.86812)'))) / (select extract(epoch from '2026-07-21 10:09:36'::timestamp) - extract(epoch from '2026-07-21 10:09: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'), 47870, 'SRID=4674;POINT (-39.807109 -2.867956)', '2026-07-21 10:09:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807054 -2.86812)'), GeomFromEWKT('SRID=4674;POINT (-39.807109 -2.867956)'))) / (select extract(epoch from '2026-07-21 10:09:42'::timestamp) - extract(epoch from '2026-07-21 10:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807054 -2.86812)'), GeomFromEWKT('SRID=4674;POINT (-39.807109 -2.867956)'))) / (select extract(epoch from '2026-07-21 10:09:42'::timestamp) - extract(epoch from '2026-07-21 10:09: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'), 47870, 'SRID=4674;POINT (-39.807147 -2.867825)', '2026-07-21 10:09:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807109 -2.867956)'), GeomFromEWKT('SRID=4674;POINT (-39.807147 -2.867825)'))) / (select extract(epoch from '2026-07-21 10:09:47'::timestamp) - extract(epoch from '2026-07-21 10:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807109 -2.867956)'), GeomFromEWKT('SRID=4674;POINT (-39.807147 -2.867825)'))) / (select extract(epoch from '2026-07-21 10:09:47'::timestamp) - extract(epoch from '2026-07-21 10:09: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'), 47870, 'SRID=4674;POINT (-39.807158 -2.867622)', '2026-07-21 10:09:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807147 -2.867825)'), GeomFromEWKT('SRID=4674;POINT (-39.807158 -2.867622)'))) / (select extract(epoch from '2026-07-21 10:09:55'::timestamp) - extract(epoch from '2026-07-21 10:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807147 -2.867825)'), GeomFromEWKT('SRID=4674;POINT (-39.807158 -2.867622)'))) / (select extract(epoch from '2026-07-21 10:09:55'::timestamp) - extract(epoch from '2026-07-21 10:09: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'), 47870, 'SRID=4674;POINT (-39.80717 -2.867462)', '2026-07-21 10:10:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807158 -2.867622)'), GeomFromEWKT('SRID=4674;POINT (-39.80717 -2.867462)'))) / (select extract(epoch from '2026-07-21 10:10:01'::timestamp) - extract(epoch from '2026-07-21 10:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807158 -2.867622)'), GeomFromEWKT('SRID=4674;POINT (-39.80717 -2.867462)'))) / (select extract(epoch from '2026-07-21 10:10:01'::timestamp) - extract(epoch from '2026-07-21 10:09: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'), 47870, 'SRID=4674;POINT (-39.807213 -2.867299)', '2026-07-21 10:10:07', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80717 -2.867462)'), GeomFromEWKT('SRID=4674;POINT (-39.807213 -2.867299)'))) / (select extract(epoch from '2026-07-21 10:10:07'::timestamp) - extract(epoch from '2026-07-21 10:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80717 -2.867462)'), GeomFromEWKT('SRID=4674;POINT (-39.807213 -2.867299)'))) / (select extract(epoch from '2026-07-21 10:10:07'::timestamp) - extract(epoch from '2026-07-21 10:10: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'), 47870, 'SRID=4674;POINT (-39.807251 -2.867138)', '2026-07-21 10:10:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807213 -2.867299)'), GeomFromEWKT('SRID=4674;POINT (-39.807251 -2.867138)'))) / (select extract(epoch from '2026-07-21 10:10:13'::timestamp) - extract(epoch from '2026-07-21 10:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807213 -2.867299)'), GeomFromEWKT('SRID=4674;POINT (-39.807251 -2.867138)'))) / (select extract(epoch from '2026-07-21 10:10:13'::timestamp) - extract(epoch from '2026-07-21 10:10:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807274 -2.866999)', '2026-07-21 10:10:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807251 -2.867138)'), GeomFromEWKT('SRID=4674;POINT (-39.807274 -2.866999)'))) / (select extract(epoch from '2026-07-21 10:10:18'::timestamp) - extract(epoch from '2026-07-21 10:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807251 -2.867138)'), GeomFromEWKT('SRID=4674;POINT (-39.807274 -2.866999)'))) / (select extract(epoch from '2026-07-21 10:10:18'::timestamp) - extract(epoch from '2026-07-21 10:10: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'), 47870, 'SRID=4674;POINT (-39.807281 -2.866802)', '2026-07-21 10:10:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807274 -2.866999)'), GeomFromEWKT('SRID=4674;POINT (-39.807281 -2.866802)'))) / (select extract(epoch from '2026-07-21 10:10:25'::timestamp) - extract(epoch from '2026-07-21 10:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807274 -2.866999)'), GeomFromEWKT('SRID=4674;POINT (-39.807281 -2.866802)'))) / (select extract(epoch from '2026-07-21 10:10:25'::timestamp) - extract(epoch from '2026-07-21 10:10: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'), 47870, 'SRID=4674;POINT (-39.807256 -2.866639)', '2026-07-21 10:10:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807281 -2.866802)'), GeomFromEWKT('SRID=4674;POINT (-39.807256 -2.866639)'))) / (select extract(epoch from '2026-07-21 10:10:31'::timestamp) - extract(epoch from '2026-07-21 10:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807281 -2.866802)'), GeomFromEWKT('SRID=4674;POINT (-39.807256 -2.866639)'))) / (select extract(epoch from '2026-07-21 10:10:31'::timestamp) - extract(epoch from '2026-07-21 10:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807226 -2.866482)', '2026-07-21 10:10:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807256 -2.866639)'), GeomFromEWKT('SRID=4674;POINT (-39.807226 -2.866482)'))) / (select extract(epoch from '2026-07-21 10:10:37'::timestamp) - extract(epoch from '2026-07-21 10:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807256 -2.866639)'), GeomFromEWKT('SRID=4674;POINT (-39.807226 -2.866482)'))) / (select extract(epoch from '2026-07-21 10:10:37'::timestamp) - extract(epoch from '2026-07-21 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'), 47870, 'SRID=4674;POINT (-39.807246 -2.866297)', '2026-07-21 10:10:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807226 -2.866482)'), GeomFromEWKT('SRID=4674;POINT (-39.807246 -2.866297)'))) / (select extract(epoch from '2026-07-21 10:10:44'::timestamp) - extract(epoch from '2026-07-21 10:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807226 -2.866482)'), GeomFromEWKT('SRID=4674;POINT (-39.807246 -2.866297)'))) / (select extract(epoch from '2026-07-21 10:10:44'::timestamp) - extract(epoch from '2026-07-21 10:10:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807304 -2.866114)', '2026-07-21 10:10:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807246 -2.866297)'), GeomFromEWKT('SRID=4674;POINT (-39.807304 -2.866114)'))) / (select extract(epoch from '2026-07-21 10:10:51'::timestamp) - extract(epoch from '2026-07-21 10:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807246 -2.866297)'), GeomFromEWKT('SRID=4674;POINT (-39.807304 -2.866114)'))) / (select extract(epoch from '2026-07-21 10:10:51'::timestamp) - extract(epoch from '2026-07-21 10:10: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'), 47870, 'SRID=4674;POINT (-39.807356 -2.865868)', '2026-07-21 10:11:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807304 -2.866114)'), GeomFromEWKT('SRID=4674;POINT (-39.807356 -2.865868)'))) / (select extract(epoch from '2026-07-21 10:11:00'::timestamp) - extract(epoch from '2026-07-21 10:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807304 -2.866114)'), GeomFromEWKT('SRID=4674;POINT (-39.807356 -2.865868)'))) / (select extract(epoch from '2026-07-21 10:11:00'::timestamp) - extract(epoch from '2026-07-21 10:10: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'), 47870, 'SRID=4674;POINT (-39.807367 -2.865731)', '2026-07-21 10:11:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807356 -2.865868)'), GeomFromEWKT('SRID=4674;POINT (-39.807367 -2.865731)'))) / (select extract(epoch from '2026-07-21 10:11:05'::timestamp) - extract(epoch from '2026-07-21 10:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807356 -2.865868)'), GeomFromEWKT('SRID=4674;POINT (-39.807367 -2.865731)'))) / (select extract(epoch from '2026-07-21 10:11:05'::timestamp) - extract(epoch from '2026-07-21 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'), 47870, 'SRID=4674;POINT (-39.807378 -2.86559)', '2026-07-21 10:11:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807367 -2.865731)'), GeomFromEWKT('SRID=4674;POINT (-39.807378 -2.86559)'))) / (select extract(epoch from '2026-07-21 10:11:10'::timestamp) - extract(epoch from '2026-07-21 10:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807367 -2.865731)'), GeomFromEWKT('SRID=4674;POINT (-39.807378 -2.86559)'))) / (select extract(epoch from '2026-07-21 10:11:10'::timestamp) - extract(epoch from '2026-07-21 10:11: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'), 47870, 'SRID=4674;POINT (-39.807368 -2.8654)', '2026-07-21 10:11:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807378 -2.86559)'), GeomFromEWKT('SRID=4674;POINT (-39.807368 -2.8654)'))) / (select extract(epoch from '2026-07-21 10:11:17'::timestamp) - extract(epoch from '2026-07-21 10:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807378 -2.86559)'), GeomFromEWKT('SRID=4674;POINT (-39.807368 -2.8654)'))) / (select extract(epoch from '2026-07-21 10:11:17'::timestamp) - extract(epoch from '2026-07-21 10:11: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'), 47870, 'SRID=4674;POINT (-39.807341 -2.865303)', '2026-07-21 10:11:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807368 -2.8654)'), GeomFromEWKT('SRID=4674;POINT (-39.807341 -2.865303)'))) / (select extract(epoch from '2026-07-21 10:11:21'::timestamp) - extract(epoch from '2026-07-21 10:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807368 -2.8654)'), GeomFromEWKT('SRID=4674;POINT (-39.807341 -2.865303)'))) / (select extract(epoch from '2026-07-21 10:11:21'::timestamp) - extract(epoch from '2026-07-21 10:11: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'), 47870, 'SRID=4674;POINT (-39.807289 -2.865184)', '2026-07-21 10:11:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807341 -2.865303)'), GeomFromEWKT('SRID=4674;POINT (-39.807289 -2.865184)'))) / (select extract(epoch from '2026-07-21 10:11:26'::timestamp) - extract(epoch from '2026-07-21 10:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807341 -2.865303)'), GeomFromEWKT('SRID=4674;POINT (-39.807289 -2.865184)'))) / (select extract(epoch from '2026-07-21 10:11:26'::timestamp) - extract(epoch from '2026-07-21 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'), 47870, 'SRID=4674;POINT (-39.807241 -2.865073)', '2026-07-21 10:11:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807289 -2.865184)'), GeomFromEWKT('SRID=4674;POINT (-39.807241 -2.865073)'))) / (select extract(epoch from '2026-07-21 10:11:31'::timestamp) - extract(epoch from '2026-07-21 10:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807289 -2.865184)'), GeomFromEWKT('SRID=4674;POINT (-39.807241 -2.865073)'))) / (select extract(epoch from '2026-07-21 10:11:31'::timestamp) - extract(epoch from '2026-07-21 10:11: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'), 47870, 'SRID=4674;POINT (-39.807202 -2.864956)', '2026-07-21 10:11:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807241 -2.865073)'), GeomFromEWKT('SRID=4674;POINT (-39.807202 -2.864956)'))) / (select extract(epoch from '2026-07-21 10:11:36'::timestamp) - extract(epoch from '2026-07-21 10:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807241 -2.865073)'), GeomFromEWKT('SRID=4674;POINT (-39.807202 -2.864956)'))) / (select extract(epoch from '2026-07-21 10:11:36'::timestamp) - extract(epoch from '2026-07-21 10:11: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'), 47870, 'SRID=4674;POINT (-39.807167 -2.864802)', '2026-07-21 10:11:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807202 -2.864956)'), GeomFromEWKT('SRID=4674;POINT (-39.807167 -2.864802)'))) / (select extract(epoch from '2026-07-21 10:11:42'::timestamp) - extract(epoch from '2026-07-21 10:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807202 -2.864956)'), GeomFromEWKT('SRID=4674;POINT (-39.807167 -2.864802)'))) / (select extract(epoch from '2026-07-21 10:11:42'::timestamp) - extract(epoch from '2026-07-21 10:11: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'), 47870, 'SRID=4674;POINT (-39.807157 -2.864697)', '2026-07-21 10:11:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807167 -2.864802)'), GeomFromEWKT('SRID=4674;POINT (-39.807157 -2.864697)'))) / (select extract(epoch from '2026-07-21 10:11:46'::timestamp) - extract(epoch from '2026-07-21 10:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807167 -2.864802)'), GeomFromEWKT('SRID=4674;POINT (-39.807157 -2.864697)'))) / (select extract(epoch from '2026-07-21 10:11:46'::timestamp) - extract(epoch from '2026-07-21 10:11: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'), 47870, 'SRID=4674;POINT (-39.807149 -2.864617)', '2026-07-21 10:11:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807157 -2.864697)'), GeomFromEWKT('SRID=4674;POINT (-39.807149 -2.864617)'))) / (select extract(epoch from '2026-07-21 10:11:49'::timestamp) - extract(epoch from '2026-07-21 10:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807157 -2.864697)'), GeomFromEWKT('SRID=4674;POINT (-39.807149 -2.864617)'))) / (select extract(epoch from '2026-07-21 10:11:49'::timestamp) - extract(epoch from '2026-07-21 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'), 47870, 'SRID=4674;POINT (-39.80715 -2.864591)', '2026-07-21 10:11:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807149 -2.864617)'), GeomFromEWKT('SRID=4674;POINT (-39.80715 -2.864591)'))) / (select extract(epoch from '2026-07-21 10:11:50'::timestamp) - extract(epoch from '2026-07-21 10:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807149 -2.864617)'), GeomFromEWKT('SRID=4674;POINT (-39.80715 -2.864591)'))) / (select extract(epoch from '2026-07-21 10:11:50'::timestamp) - extract(epoch from '2026-07-21 10:11:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807148 -2.864428)', '2026-07-21 10:11:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80715 -2.864591)'), GeomFromEWKT('SRID=4674;POINT (-39.807148 -2.864428)'))) / (select extract(epoch from '2026-07-21 10:11:56'::timestamp) - extract(epoch from '2026-07-21 10:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80715 -2.864591)'), GeomFromEWKT('SRID=4674;POINT (-39.807148 -2.864428)'))) / (select extract(epoch from '2026-07-21 10:11:56'::timestamp) - extract(epoch from '2026-07-21 10:11: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'), 47870, 'SRID=4674;POINT (-39.80715 -2.864295)', '2026-07-21 10:12:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807148 -2.864428)'), GeomFromEWKT('SRID=4674;POINT (-39.80715 -2.864295)'))) / (select extract(epoch from '2026-07-21 10:12:01'::timestamp) - extract(epoch from '2026-07-21 10:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807148 -2.864428)'), GeomFromEWKT('SRID=4674;POINT (-39.80715 -2.864295)'))) / (select extract(epoch from '2026-07-21 10:12:01'::timestamp) - extract(epoch from '2026-07-21 10:11: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'), 47870, 'SRID=4674;POINT (-39.807134 -2.864132)', '2026-07-21 10:12:07', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80715 -2.864295)'), GeomFromEWKT('SRID=4674;POINT (-39.807134 -2.864132)'))) / (select extract(epoch from '2026-07-21 10:12:07'::timestamp) - extract(epoch from '2026-07-21 10:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80715 -2.864295)'), GeomFromEWKT('SRID=4674;POINT (-39.807134 -2.864132)'))) / (select extract(epoch from '2026-07-21 10:12:07'::timestamp) - extract(epoch from '2026-07-21 10:12: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'), 47870, 'SRID=4674;POINT (-39.807115 -2.864)', '2026-07-21 10:12:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807134 -2.864132)'), GeomFromEWKT('SRID=4674;POINT (-39.807115 -2.864)'))) / (select extract(epoch from '2026-07-21 10:12:12'::timestamp) - extract(epoch from '2026-07-21 10:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807134 -2.864132)'), GeomFromEWKT('SRID=4674;POINT (-39.807115 -2.864)'))) / (select extract(epoch from '2026-07-21 10:12:12'::timestamp) - extract(epoch from '2026-07-21 10:12: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'), 47870, 'SRID=4674;POINT (-39.807111 -2.863868)', '2026-07-21 10:12:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807115 -2.864)'), GeomFromEWKT('SRID=4674;POINT (-39.807111 -2.863868)'))) / (select extract(epoch from '2026-07-21 10:12:17'::timestamp) - extract(epoch from '2026-07-21 10:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807115 -2.864)'), GeomFromEWKT('SRID=4674;POINT (-39.807111 -2.863868)'))) / (select extract(epoch from '2026-07-21 10:12:17'::timestamp) - extract(epoch from '2026-07-21 10:12: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'), 47870, 'SRID=4674;POINT (-39.807138 -2.863734)', '2026-07-21 10:12:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807111 -2.863868)'), GeomFromEWKT('SRID=4674;POINT (-39.807138 -2.863734)'))) / (select extract(epoch from '2026-07-21 10:12:22'::timestamp) - extract(epoch from '2026-07-21 10:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807111 -2.863868)'), GeomFromEWKT('SRID=4674;POINT (-39.807138 -2.863734)'))) / (select extract(epoch from '2026-07-21 10:12:22'::timestamp) - extract(epoch from '2026-07-21 10:12: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'), 47870, 'SRID=4674;POINT (-39.807186 -2.86354)', '2026-07-21 10:12:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807138 -2.863734)'), GeomFromEWKT('SRID=4674;POINT (-39.807186 -2.86354)'))) / (select extract(epoch from '2026-07-21 10:12:29'::timestamp) - extract(epoch from '2026-07-21 10:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807138 -2.863734)'), GeomFromEWKT('SRID=4674;POINT (-39.807186 -2.86354)'))) / (select extract(epoch from '2026-07-21 10:12:29'::timestamp) - extract(epoch from '2026-07-21 10:12: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'), 47870, 'SRID=4674;POINT (-39.807192 -2.863433)', '2026-07-21 10:12:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807186 -2.86354)'), GeomFromEWKT('SRID=4674;POINT (-39.807192 -2.863433)'))) / (select extract(epoch from '2026-07-21 10:12:33'::timestamp) - extract(epoch from '2026-07-21 10:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807186 -2.86354)'), GeomFromEWKT('SRID=4674;POINT (-39.807192 -2.863433)'))) / (select extract(epoch from '2026-07-21 10:12:33'::timestamp) - extract(epoch from '2026-07-21 10:12: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'), 47870, 'SRID=4674;POINT (-39.807161 -2.863303)', '2026-07-21 10:12:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807192 -2.863433)'), GeomFromEWKT('SRID=4674;POINT (-39.807161 -2.863303)'))) / (select extract(epoch from '2026-07-21 10:12:38'::timestamp) - extract(epoch from '2026-07-21 10:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807192 -2.863433)'), GeomFromEWKT('SRID=4674;POINT (-39.807161 -2.863303)'))) / (select extract(epoch from '2026-07-21 10:12:38'::timestamp) - extract(epoch from '2026-07-21 10:12: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'), 47870, 'SRID=4674;POINT (-39.807119 -2.863156)', '2026-07-21 10:12:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807161 -2.863303)'), GeomFromEWKT('SRID=4674;POINT (-39.807119 -2.863156)'))) / (select extract(epoch from '2026-07-21 10:12:44'::timestamp) - extract(epoch from '2026-07-21 10:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807161 -2.863303)'), GeomFromEWKT('SRID=4674;POINT (-39.807119 -2.863156)'))) / (select extract(epoch from '2026-07-21 10:12:44'::timestamp) - extract(epoch from '2026-07-21 10:12:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807105 -2.863024)', '2026-07-21 10:12:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807119 -2.863156)'), GeomFromEWKT('SRID=4674;POINT (-39.807105 -2.863024)'))) / (select extract(epoch from '2026-07-21 10:12:49'::timestamp) - extract(epoch from '2026-07-21 10:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807119 -2.863156)'), GeomFromEWKT('SRID=4674;POINT (-39.807105 -2.863024)'))) / (select extract(epoch from '2026-07-21 10:12:49'::timestamp) - extract(epoch from '2026-07-21 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'), 47870, 'SRID=4674;POINT (-39.807122 -2.86286)', '2026-07-21 10:12:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807105 -2.863024)'), GeomFromEWKT('SRID=4674;POINT (-39.807122 -2.86286)'))) / (select extract(epoch from '2026-07-21 10:12:55'::timestamp) - extract(epoch from '2026-07-21 10:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807105 -2.863024)'), GeomFromEWKT('SRID=4674;POINT (-39.807122 -2.86286)'))) / (select extract(epoch from '2026-07-21 10:12:55'::timestamp) - extract(epoch from '2026-07-21 10:12:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80716 -2.862675)', '2026-07-21 10:13:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807122 -2.86286)'), GeomFromEWKT('SRID=4674;POINT (-39.80716 -2.862675)'))) / (select extract(epoch from '2026-07-21 10:13:02'::timestamp) - extract(epoch from '2026-07-21 10:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807122 -2.86286)'), GeomFromEWKT('SRID=4674;POINT (-39.80716 -2.862675)'))) / (select extract(epoch from '2026-07-21 10:13:02'::timestamp) - extract(epoch from '2026-07-21 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'), 47870, 'SRID=4674;POINT (-39.807172 -2.862509)', '2026-07-21 10:13:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80716 -2.862675)'), GeomFromEWKT('SRID=4674;POINT (-39.807172 -2.862509)'))) / (select extract(epoch from '2026-07-21 10:13:08'::timestamp) - extract(epoch from '2026-07-21 10:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80716 -2.862675)'), GeomFromEWKT('SRID=4674;POINT (-39.807172 -2.862509)'))) / (select extract(epoch from '2026-07-21 10:13:08'::timestamp) - extract(epoch from '2026-07-21 10:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80717 -2.862346)', '2026-07-21 10:13:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807172 -2.862509)'), GeomFromEWKT('SRID=4674;POINT (-39.80717 -2.862346)'))) / (select extract(epoch from '2026-07-21 10:13:14'::timestamp) - extract(epoch from '2026-07-21 10:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807172 -2.862509)'), GeomFromEWKT('SRID=4674;POINT (-39.80717 -2.862346)'))) / (select extract(epoch from '2026-07-21 10:13:14'::timestamp) - extract(epoch from '2026-07-21 10:13: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'), 47870, 'SRID=4674;POINT (-39.807164 -2.862155)', '2026-07-21 10:13:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80717 -2.862346)'), GeomFromEWKT('SRID=4674;POINT (-39.807164 -2.862155)'))) / (select extract(epoch from '2026-07-21 10:13:21'::timestamp) - extract(epoch from '2026-07-21 10:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80717 -2.862346)'), GeomFromEWKT('SRID=4674;POINT (-39.807164 -2.862155)'))) / (select extract(epoch from '2026-07-21 10:13:21'::timestamp) - extract(epoch from '2026-07-21 10:13: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'), 47870, 'SRID=4674;POINT (-39.807132 -2.862025)', '2026-07-21 10:13:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807164 -2.862155)'), GeomFromEWKT('SRID=4674;POINT (-39.807132 -2.862025)'))) / (select extract(epoch from '2026-07-21 10:13:26'::timestamp) - extract(epoch from '2026-07-21 10:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807164 -2.862155)'), GeomFromEWKT('SRID=4674;POINT (-39.807132 -2.862025)'))) / (select extract(epoch from '2026-07-21 10:13:26'::timestamp) - extract(epoch from '2026-07-21 10:13: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'), 47870, 'SRID=4674;POINT (-39.807082 -2.86187)', '2026-07-21 10:13:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807132 -2.862025)'), GeomFromEWKT('SRID=4674;POINT (-39.807082 -2.86187)'))) / (select extract(epoch from '2026-07-21 10:13:32'::timestamp) - extract(epoch from '2026-07-21 10:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807132 -2.862025)'), GeomFromEWKT('SRID=4674;POINT (-39.807082 -2.86187)'))) / (select extract(epoch from '2026-07-21 10:13:32'::timestamp) - extract(epoch from '2026-07-21 10:13: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'), 47870, 'SRID=4674;POINT (-39.807027 -2.861731)', '2026-07-21 10:13:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807082 -2.86187)'), GeomFromEWKT('SRID=4674;POINT (-39.807027 -2.861731)'))) / (select extract(epoch from '2026-07-21 10:13:38'::timestamp) - extract(epoch from '2026-07-21 10:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807082 -2.86187)'), GeomFromEWKT('SRID=4674;POINT (-39.807027 -2.861731)'))) / (select extract(epoch from '2026-07-21 10:13:38'::timestamp) - extract(epoch from '2026-07-21 10:13: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'), 47870, 'SRID=4674;POINT (-39.806967 -2.861615)', '2026-07-21 10:13:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807027 -2.861731)'), GeomFromEWKT('SRID=4674;POINT (-39.806967 -2.861615)'))) / (select extract(epoch from '2026-07-21 10:13:43'::timestamp) - extract(epoch from '2026-07-21 10:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807027 -2.861731)'), GeomFromEWKT('SRID=4674;POINT (-39.806967 -2.861615)'))) / (select extract(epoch from '2026-07-21 10:13:43'::timestamp) - extract(epoch from '2026-07-21 10:13: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'), 47870, 'SRID=4674;POINT (-39.806905 -2.861506)', '2026-07-21 10:13:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806967 -2.861615)'), GeomFromEWKT('SRID=4674;POINT (-39.806905 -2.861506)'))) / (select extract(epoch from '2026-07-21 10:13:48'::timestamp) - extract(epoch from '2026-07-21 10:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806967 -2.861615)'), GeomFromEWKT('SRID=4674;POINT (-39.806905 -2.861506)'))) / (select extract(epoch from '2026-07-21 10:13:48'::timestamp) - extract(epoch from '2026-07-21 10:13: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'), 47870, 'SRID=4674;POINT (-39.806858 -2.861422)', '2026-07-21 10:13:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806905 -2.861506)'), GeomFromEWKT('SRID=4674;POINT (-39.806858 -2.861422)'))) / (select extract(epoch from '2026-07-21 10:13:52'::timestamp) - extract(epoch from '2026-07-21 10:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806905 -2.861506)'), GeomFromEWKT('SRID=4674;POINT (-39.806858 -2.861422)'))) / (select extract(epoch from '2026-07-21 10:13:52'::timestamp) - extract(epoch from '2026-07-21 10:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806828 -2.861353)', '2026-07-21 10:13:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806858 -2.861422)'), GeomFromEWKT('SRID=4674;POINT (-39.806828 -2.861353)'))) / (select extract(epoch from '2026-07-21 10:13:55'::timestamp) - extract(epoch from '2026-07-21 10:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806858 -2.861422)'), GeomFromEWKT('SRID=4674;POINT (-39.806828 -2.861353)'))) / (select extract(epoch from '2026-07-21 10:13:55'::timestamp) - extract(epoch from '2026-07-21 10:13: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'), 47870, 'SRID=4674;POINT (-39.806815 -2.861331)', '2026-07-21 10:13:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806828 -2.861353)'), GeomFromEWKT('SRID=4674;POINT (-39.806815 -2.861331)'))) / (select extract(epoch from '2026-07-21 10:13:56'::timestamp) - extract(epoch from '2026-07-21 10:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806828 -2.861353)'), GeomFromEWKT('SRID=4674;POINT (-39.806815 -2.861331)'))) / (select extract(epoch from '2026-07-21 10:13:56'::timestamp) - extract(epoch from '2026-07-21 10:13: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'), 47870, 'SRID=4674;POINT (-39.80677 -2.861205)', '2026-07-21 10:14:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806815 -2.861331)'), GeomFromEWKT('SRID=4674;POINT (-39.80677 -2.861205)'))) / (select extract(epoch from '2026-07-21 10:14:01'::timestamp) - extract(epoch from '2026-07-21 10:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806815 -2.861331)'), GeomFromEWKT('SRID=4674;POINT (-39.80677 -2.861205)'))) / (select extract(epoch from '2026-07-21 10:14:01'::timestamp) - extract(epoch from '2026-07-21 10:13: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'), 47870, 'SRID=4674;POINT (-39.806733 -2.861077)', '2026-07-21 10:14:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80677 -2.861205)'), GeomFromEWKT('SRID=4674;POINT (-39.806733 -2.861077)'))) / (select extract(epoch from '2026-07-21 10:14:06'::timestamp) - extract(epoch from '2026-07-21 10:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80677 -2.861205)'), GeomFromEWKT('SRID=4674;POINT (-39.806733 -2.861077)'))) / (select extract(epoch from '2026-07-21 10:14:06'::timestamp) - extract(epoch from '2026-07-21 10:14: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'), 47870, 'SRID=4674;POINT (-39.806691 -2.860951)', '2026-07-21 10:14:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806733 -2.861077)'), GeomFromEWKT('SRID=4674;POINT (-39.806691 -2.860951)'))) / (select extract(epoch from '2026-07-21 10:14:11'::timestamp) - extract(epoch from '2026-07-21 10:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806733 -2.861077)'), GeomFromEWKT('SRID=4674;POINT (-39.806691 -2.860951)'))) / (select extract(epoch from '2026-07-21 10:14:11'::timestamp) - extract(epoch from '2026-07-21 10:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806645 -2.860805)', '2026-07-21 10:14:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806691 -2.860951)'), GeomFromEWKT('SRID=4674;POINT (-39.806645 -2.860805)'))) / (select extract(epoch from '2026-07-21 10:14:17'::timestamp) - extract(epoch from '2026-07-21 10:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806691 -2.860951)'), GeomFromEWKT('SRID=4674;POINT (-39.806645 -2.860805)'))) / (select extract(epoch from '2026-07-21 10:14:17'::timestamp) - extract(epoch from '2026-07-21 10:14: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'), 47870, 'SRID=4674;POINT (-39.806612 -2.860681)', '2026-07-21 10:14:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806645 -2.860805)'), GeomFromEWKT('SRID=4674;POINT (-39.806612 -2.860681)'))) / (select extract(epoch from '2026-07-21 10:14:22'::timestamp) - extract(epoch from '2026-07-21 10:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806645 -2.860805)'), GeomFromEWKT('SRID=4674;POINT (-39.806612 -2.860681)'))) / (select extract(epoch from '2026-07-21 10:14:22'::timestamp) - extract(epoch from '2026-07-21 10:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80658 -2.860583)', '2026-07-21 10:14:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806612 -2.860681)'), GeomFromEWKT('SRID=4674;POINT (-39.80658 -2.860583)'))) / (select extract(epoch from '2026-07-21 10:14:26'::timestamp) - extract(epoch from '2026-07-21 10:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806612 -2.860681)'), GeomFromEWKT('SRID=4674;POINT (-39.80658 -2.860583)'))) / (select extract(epoch from '2026-07-21 10:14:26'::timestamp) - extract(epoch from '2026-07-21 10:14: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'), 47870, 'SRID=4674;POINT (-39.806537 -2.860459)', '2026-07-21 10:14:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80658 -2.860583)'), GeomFromEWKT('SRID=4674;POINT (-39.806537 -2.860459)'))) / (select extract(epoch from '2026-07-21 10:14:31'::timestamp) - extract(epoch from '2026-07-21 10:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80658 -2.860583)'), GeomFromEWKT('SRID=4674;POINT (-39.806537 -2.860459)'))) / (select extract(epoch from '2026-07-21 10:14:31'::timestamp) - extract(epoch from '2026-07-21 10:14: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'), 47870, 'SRID=4674;POINT (-39.806495 -2.860339)', '2026-07-21 10:14:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806537 -2.860459)'), GeomFromEWKT('SRID=4674;POINT (-39.806495 -2.860339)'))) / (select extract(epoch from '2026-07-21 10:14:36'::timestamp) - extract(epoch from '2026-07-21 10:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806537 -2.860459)'), GeomFromEWKT('SRID=4674;POINT (-39.806495 -2.860339)'))) / (select extract(epoch from '2026-07-21 10:14:36'::timestamp) - extract(epoch from '2026-07-21 10:14: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'), 47870, 'SRID=4674;POINT (-39.806482 -2.860317)', '2026-07-21 10:14:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806495 -2.860339)'), GeomFromEWKT('SRID=4674;POINT (-39.806482 -2.860317)'))) / (select extract(epoch from '2026-07-21 10:14:37'::timestamp) - extract(epoch from '2026-07-21 10:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806495 -2.860339)'), GeomFromEWKT('SRID=4674;POINT (-39.806482 -2.860317)'))) / (select extract(epoch from '2026-07-21 10:14:37'::timestamp) - extract(epoch from '2026-07-21 10:14: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'), 47870, 'SRID=4674;POINT (-39.806423 -2.860214)', '2026-07-21 10:14:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806482 -2.860317)'), GeomFromEWKT('SRID=4674;POINT (-39.806423 -2.860214)'))) / (select extract(epoch from '2026-07-21 10:14:42'::timestamp) - extract(epoch from '2026-07-21 10:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806482 -2.860317)'), GeomFromEWKT('SRID=4674;POINT (-39.806423 -2.860214)'))) / (select extract(epoch from '2026-07-21 10:14:42'::timestamp) - extract(epoch from '2026-07-21 10:14: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'), 47870, 'SRID=4674;POINT (-39.80641 -2.860193)', '2026-07-21 10:14:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806423 -2.860214)'), GeomFromEWKT('SRID=4674;POINT (-39.80641 -2.860193)'))) / (select extract(epoch from '2026-07-21 10:14:43'::timestamp) - extract(epoch from '2026-07-21 10:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806423 -2.860214)'), GeomFromEWKT('SRID=4674;POINT (-39.80641 -2.860193)'))) / (select extract(epoch from '2026-07-21 10:14:43'::timestamp) - extract(epoch from '2026-07-21 10:14:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806324 -2.860109)', '2026-07-21 10:14:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80641 -2.860193)'), GeomFromEWKT('SRID=4674;POINT (-39.806324 -2.860109)'))) / (select extract(epoch from '2026-07-21 10:14:48'::timestamp) - extract(epoch from '2026-07-21 10:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80641 -2.860193)'), GeomFromEWKT('SRID=4674;POINT (-39.806324 -2.860109)'))) / (select extract(epoch from '2026-07-21 10:14:48'::timestamp) - extract(epoch from '2026-07-21 10:14: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'), 47870, 'SRID=4674;POINT (-39.806259 -2.860047)', '2026-07-21 10:14:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806324 -2.860109)'), GeomFromEWKT('SRID=4674;POINT (-39.806259 -2.860047)'))) / (select extract(epoch from '2026-07-21 10:14:52'::timestamp) - extract(epoch from '2026-07-21 10:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806324 -2.860109)'), GeomFromEWKT('SRID=4674;POINT (-39.806259 -2.860047)'))) / (select extract(epoch from '2026-07-21 10:14:52'::timestamp) - extract(epoch from '2026-07-21 10:14: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'), 47870, 'SRID=4674;POINT (-39.80618 -2.859964)', '2026-07-21 10:14:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806259 -2.860047)'), GeomFromEWKT('SRID=4674;POINT (-39.80618 -2.859964)'))) / (select extract(epoch from '2026-07-21 10:14:57'::timestamp) - extract(epoch from '2026-07-21 10:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806259 -2.860047)'), GeomFromEWKT('SRID=4674;POINT (-39.80618 -2.859964)'))) / (select extract(epoch from '2026-07-21 10:14:57'::timestamp) - extract(epoch from '2026-07-21 10:14: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'), 47870, 'SRID=4674;POINT (-39.806109 -2.859873)', '2026-07-21 10:15:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80618 -2.859964)'), GeomFromEWKT('SRID=4674;POINT (-39.806109 -2.859873)'))) / (select extract(epoch from '2026-07-21 10:15:02'::timestamp) - extract(epoch from '2026-07-21 10:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80618 -2.859964)'), GeomFromEWKT('SRID=4674;POINT (-39.806109 -2.859873)'))) / (select extract(epoch from '2026-07-21 10:15:02'::timestamp) - extract(epoch from '2026-07-21 10:14:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806043 -2.859769)', '2026-07-21 10:15:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806109 -2.859873)'), GeomFromEWKT('SRID=4674;POINT (-39.806043 -2.859769)'))) / (select extract(epoch from '2026-07-21 10:15:07'::timestamp) - extract(epoch from '2026-07-21 10:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806109 -2.859873)'), GeomFromEWKT('SRID=4674;POINT (-39.806043 -2.859769)'))) / (select extract(epoch from '2026-07-21 10:15:07'::timestamp) - extract(epoch from '2026-07-21 10:15: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'), 47870, 'SRID=4674;POINT (-39.806033 -2.859748)', '2026-07-21 10:15:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806043 -2.859769)'), GeomFromEWKT('SRID=4674;POINT (-39.806033 -2.859748)'))) / (select extract(epoch from '2026-07-21 10:15:08'::timestamp) - extract(epoch from '2026-07-21 10:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806043 -2.859769)'), GeomFromEWKT('SRID=4674;POINT (-39.806033 -2.859748)'))) / (select extract(epoch from '2026-07-21 10:15:08'::timestamp) - extract(epoch from '2026-07-21 10:15: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'), 47870, 'SRID=4674;POINT (-39.806008 -2.859701)', '2026-07-21 10:15:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806033 -2.859748)'), GeomFromEWKT('SRID=4674;POINT (-39.806008 -2.859701)'))) / (select extract(epoch from '2026-07-21 10:15:10'::timestamp) - extract(epoch from '2026-07-21 10:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806033 -2.859748)'), GeomFromEWKT('SRID=4674;POINT (-39.806008 -2.859701)'))) / (select extract(epoch from '2026-07-21 10:15:10'::timestamp) - extract(epoch from '2026-07-21 10:15: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'), 47870, 'SRID=4674;POINT (-39.806 -2.859676)', '2026-07-21 10:15:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806008 -2.859701)'), GeomFromEWKT('SRID=4674;POINT (-39.806 -2.859676)'))) / (select extract(epoch from '2026-07-21 10:15:11'::timestamp) - extract(epoch from '2026-07-21 10:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806008 -2.859701)'), GeomFromEWKT('SRID=4674;POINT (-39.806 -2.859676)'))) / (select extract(epoch from '2026-07-21 10:15:11'::timestamp) - extract(epoch from '2026-07-21 10:15:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805976 -2.859636)', '2026-07-21 10:15:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806 -2.859676)'), GeomFromEWKT('SRID=4674;POINT (-39.805976 -2.859636)'))) / (select extract(epoch from '2026-07-21 10:15:13'::timestamp) - extract(epoch from '2026-07-21 10:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806 -2.859676)'), GeomFromEWKT('SRID=4674;POINT (-39.805976 -2.859636)'))) / (select extract(epoch from '2026-07-21 10:15:13'::timestamp) - extract(epoch from '2026-07-21 10:15: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'), 47870, 'SRID=4674;POINT (-39.805917 -2.859535)', '2026-07-21 10:15:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805976 -2.859636)'), GeomFromEWKT('SRID=4674;POINT (-39.805917 -2.859535)'))) / (select extract(epoch from '2026-07-21 10:15:18'::timestamp) - extract(epoch from '2026-07-21 10:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805976 -2.859636)'), GeomFromEWKT('SRID=4674;POINT (-39.805917 -2.859535)'))) / (select extract(epoch from '2026-07-21 10:15:18'::timestamp) - extract(epoch from '2026-07-21 10:15: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'), 47870, 'SRID=4674;POINT (-39.805876 -2.859416)', '2026-07-21 10:15:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805917 -2.859535)'), GeomFromEWKT('SRID=4674;POINT (-39.805876 -2.859416)'))) / (select extract(epoch from '2026-07-21 10:15:23'::timestamp) - extract(epoch from '2026-07-21 10:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805917 -2.859535)'), GeomFromEWKT('SRID=4674;POINT (-39.805876 -2.859416)'))) / (select extract(epoch from '2026-07-21 10:15:23'::timestamp) - extract(epoch from '2026-07-21 10:15: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'), 47870, 'SRID=4674;POINT (-39.805844 -2.859263)', '2026-07-21 10:15:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805876 -2.859416)'), GeomFromEWKT('SRID=4674;POINT (-39.805844 -2.859263)'))) / (select extract(epoch from '2026-07-21 10:15:29'::timestamp) - extract(epoch from '2026-07-21 10:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805876 -2.859416)'), GeomFromEWKT('SRID=4674;POINT (-39.805844 -2.859263)'))) / (select extract(epoch from '2026-07-21 10:15:29'::timestamp) - extract(epoch from '2026-07-21 10:15: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'), 47870, 'SRID=4674;POINT (-39.80585 -2.8591)', '2026-07-21 10:15:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805844 -2.859263)'), GeomFromEWKT('SRID=4674;POINT (-39.80585 -2.8591)'))) / (select extract(epoch from '2026-07-21 10:15:35'::timestamp) - extract(epoch from '2026-07-21 10:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805844 -2.859263)'), GeomFromEWKT('SRID=4674;POINT (-39.80585 -2.8591)'))) / (select extract(epoch from '2026-07-21 10:15:35'::timestamp) - extract(epoch from '2026-07-21 10:15: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'), 47870, 'SRID=4674;POINT (-39.805849 -2.85894)', '2026-07-21 10:15:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80585 -2.8591)'), GeomFromEWKT('SRID=4674;POINT (-39.805849 -2.85894)'))) / (select extract(epoch from '2026-07-21 10:15:41'::timestamp) - extract(epoch from '2026-07-21 10:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80585 -2.8591)'), GeomFromEWKT('SRID=4674;POINT (-39.805849 -2.85894)'))) / (select extract(epoch from '2026-07-21 10:15:41'::timestamp) - extract(epoch from '2026-07-21 10:15: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'), 47870, 'SRID=4674;POINT (-39.805817 -2.858788)', '2026-07-21 10:15:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805849 -2.85894)'), GeomFromEWKT('SRID=4674;POINT (-39.805817 -2.858788)'))) / (select extract(epoch from '2026-07-21 10:15:47'::timestamp) - extract(epoch from '2026-07-21 10:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805849 -2.85894)'), GeomFromEWKT('SRID=4674;POINT (-39.805817 -2.858788)'))) / (select extract(epoch from '2026-07-21 10:15:47'::timestamp) - extract(epoch from '2026-07-21 10:15: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'), 47870, 'SRID=4674;POINT (-39.805791 -2.858669)', '2026-07-21 10:15:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805817 -2.858788)'), GeomFromEWKT('SRID=4674;POINT (-39.805791 -2.858669)'))) / (select extract(epoch from '2026-07-21 10:15:52'::timestamp) - extract(epoch from '2026-07-21 10:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805817 -2.858788)'), GeomFromEWKT('SRID=4674;POINT (-39.805791 -2.858669)'))) / (select extract(epoch from '2026-07-21 10:15:52'::timestamp) - extract(epoch from '2026-07-21 10:15: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'), 47870, 'SRID=4674;POINT (-39.805792 -2.858488)', '2026-07-21 10:15:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805791 -2.858669)'), GeomFromEWKT('SRID=4674;POINT (-39.805792 -2.858488)'))) / (select extract(epoch from '2026-07-21 10:15:59'::timestamp) - extract(epoch from '2026-07-21 10:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805791 -2.858669)'), GeomFromEWKT('SRID=4674;POINT (-39.805792 -2.858488)'))) / (select extract(epoch from '2026-07-21 10:15:59'::timestamp) - extract(epoch from '2026-07-21 10:15: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'), 47870, 'SRID=4674;POINT (-39.805817 -2.858297)', '2026-07-21 10:16:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805792 -2.858488)'), GeomFromEWKT('SRID=4674;POINT (-39.805817 -2.858297)'))) / (select extract(epoch from '2026-07-21 10:16:06'::timestamp) - extract(epoch from '2026-07-21 10:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805792 -2.858488)'), GeomFromEWKT('SRID=4674;POINT (-39.805817 -2.858297)'))) / (select extract(epoch from '2026-07-21 10:16:06'::timestamp) - extract(epoch from '2026-07-21 10:15: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'), 47870, 'SRID=4674;POINT (-39.805858 -2.858164)', '2026-07-21 10:16:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805817 -2.858297)'), GeomFromEWKT('SRID=4674;POINT (-39.805858 -2.858164)'))) / (select extract(epoch from '2026-07-21 10:16:11'::timestamp) - extract(epoch from '2026-07-21 10:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805817 -2.858297)'), GeomFromEWKT('SRID=4674;POINT (-39.805858 -2.858164)'))) / (select extract(epoch from '2026-07-21 10:16:11'::timestamp) - extract(epoch from '2026-07-21 10:16: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'), 47870, 'SRID=4674;POINT (-39.805908 -2.858032)', '2026-07-21 10:16:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805858 -2.858164)'), GeomFromEWKT('SRID=4674;POINT (-39.805908 -2.858032)'))) / (select extract(epoch from '2026-07-21 10:16:16'::timestamp) - extract(epoch from '2026-07-21 10:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805858 -2.858164)'), GeomFromEWKT('SRID=4674;POINT (-39.805908 -2.858032)'))) / (select extract(epoch from '2026-07-21 10:16:16'::timestamp) - extract(epoch from '2026-07-21 10:16: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'), 47870, 'SRID=4674;POINT (-39.805977 -2.857838)', '2026-07-21 10:16:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805908 -2.858032)'), GeomFromEWKT('SRID=4674;POINT (-39.805977 -2.857838)'))) / (select extract(epoch from '2026-07-21 10:16:23'::timestamp) - extract(epoch from '2026-07-21 10:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805908 -2.858032)'), GeomFromEWKT('SRID=4674;POINT (-39.805977 -2.857838)'))) / (select extract(epoch from '2026-07-21 10:16:23'::timestamp) - extract(epoch from '2026-07-21 10:16:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806058 -2.857657)', '2026-07-21 10:16:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805977 -2.857838)'), GeomFromEWKT('SRID=4674;POINT (-39.806058 -2.857657)'))) / (select extract(epoch from '2026-07-21 10:16:30'::timestamp) - extract(epoch from '2026-07-21 10:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805977 -2.857838)'), GeomFromEWKT('SRID=4674;POINT (-39.806058 -2.857657)'))) / (select extract(epoch from '2026-07-21 10:16:30'::timestamp) - extract(epoch from '2026-07-21 10:16:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806135 -2.857497)', '2026-07-21 10:16:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806058 -2.857657)'), GeomFromEWKT('SRID=4674;POINT (-39.806135 -2.857497)'))) / (select extract(epoch from '2026-07-21 10:16:36'::timestamp) - extract(epoch from '2026-07-21 10:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806058 -2.857657)'), GeomFromEWKT('SRID=4674;POINT (-39.806135 -2.857497)'))) / (select extract(epoch from '2026-07-21 10:16:36'::timestamp) - extract(epoch from '2026-07-21 10:16: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'), 47870, 'SRID=4674;POINT (-39.806239 -2.857343)', '2026-07-21 10:16:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806135 -2.857497)'), GeomFromEWKT('SRID=4674;POINT (-39.806239 -2.857343)'))) / (select extract(epoch from '2026-07-21 10:16:42'::timestamp) - extract(epoch from '2026-07-21 10:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806135 -2.857497)'), GeomFromEWKT('SRID=4674;POINT (-39.806239 -2.857343)'))) / (select extract(epoch from '2026-07-21 10:16:42'::timestamp) - extract(epoch from '2026-07-21 10:16: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'), 47870, 'SRID=4674;POINT (-39.806338 -2.857197)', '2026-07-21 10:16:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806239 -2.857343)'), GeomFromEWKT('SRID=4674;POINT (-39.806338 -2.857197)'))) / (select extract(epoch from '2026-07-21 10:16:48'::timestamp) - extract(epoch from '2026-07-21 10:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806239 -2.857343)'), GeomFromEWKT('SRID=4674;POINT (-39.806338 -2.857197)'))) / (select extract(epoch from '2026-07-21 10:16:48'::timestamp) - extract(epoch from '2026-07-21 10:16: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'), 47870, 'SRID=4674;POINT (-39.806375 -2.857065)', '2026-07-21 10:16:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806338 -2.857197)'), GeomFromEWKT('SRID=4674;POINT (-39.806375 -2.857065)'))) / (select extract(epoch from '2026-07-21 10:16:53'::timestamp) - extract(epoch from '2026-07-21 10:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806338 -2.857197)'), GeomFromEWKT('SRID=4674;POINT (-39.806375 -2.857065)'))) / (select extract(epoch from '2026-07-21 10:16:53'::timestamp) - extract(epoch from '2026-07-21 10:16: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'), 47870, 'SRID=4674;POINT (-39.806368 -2.856918)', '2026-07-21 10:16:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806375 -2.857065)'), GeomFromEWKT('SRID=4674;POINT (-39.806368 -2.856918)'))) / (select extract(epoch from '2026-07-21 10:16:59'::timestamp) - extract(epoch from '2026-07-21 10:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806375 -2.857065)'), GeomFromEWKT('SRID=4674;POINT (-39.806368 -2.856918)'))) / (select extract(epoch from '2026-07-21 10:16:59'::timestamp) - extract(epoch from '2026-07-21 10:16:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806363 -2.856894)', '2026-07-21 10:17:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806368 -2.856918)'), GeomFromEWKT('SRID=4674;POINT (-39.806363 -2.856894)'))) / (select extract(epoch from '2026-07-21 10:17:00'::timestamp) - extract(epoch from '2026-07-21 10:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806368 -2.856918)'), GeomFromEWKT('SRID=4674;POINT (-39.806363 -2.856894)'))) / (select extract(epoch from '2026-07-21 10:17:00'::timestamp) - extract(epoch from '2026-07-21 10:16:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806338 -2.85683)', '2026-07-21 10:17:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806363 -2.856894)'), GeomFromEWKT('SRID=4674;POINT (-39.806338 -2.85683)'))) / (select extract(epoch from '2026-07-21 10:17:03'::timestamp) - extract(epoch from '2026-07-21 10:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806363 -2.856894)'), GeomFromEWKT('SRID=4674;POINT (-39.806338 -2.85683)'))) / (select extract(epoch from '2026-07-21 10:17:03'::timestamp) - extract(epoch from '2026-07-21 10:17: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'), 47870, 'SRID=4674;POINT (-39.806299 -2.856744)', '2026-07-21 10:17:07', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806338 -2.85683)'), GeomFromEWKT('SRID=4674;POINT (-39.806299 -2.856744)'))) / (select extract(epoch from '2026-07-21 10:17:07'::timestamp) - extract(epoch from '2026-07-21 10:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806338 -2.85683)'), GeomFromEWKT('SRID=4674;POINT (-39.806299 -2.856744)'))) / (select extract(epoch from '2026-07-21 10:17:07'::timestamp) - extract(epoch from '2026-07-21 10:17: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'), 47870, 'SRID=4674;POINT (-39.806274 -2.856572)', '2026-07-21 10:17:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806299 -2.856744)'), GeomFromEWKT('SRID=4674;POINT (-39.806274 -2.856572)'))) / (select extract(epoch from '2026-07-21 10:17:14'::timestamp) - extract(epoch from '2026-07-21 10:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806299 -2.856744)'), GeomFromEWKT('SRID=4674;POINT (-39.806274 -2.856572)'))) / (select extract(epoch from '2026-07-21 10:17:14'::timestamp) - extract(epoch from '2026-07-21 10:17: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'), 47870, 'SRID=4674;POINT (-39.806296 -2.856437)', '2026-07-21 10:17:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806274 -2.856572)'), GeomFromEWKT('SRID=4674;POINT (-39.806296 -2.856437)'))) / (select extract(epoch from '2026-07-21 10:17:19'::timestamp) - extract(epoch from '2026-07-21 10:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806274 -2.856572)'), GeomFromEWKT('SRID=4674;POINT (-39.806296 -2.856437)'))) / (select extract(epoch from '2026-07-21 10:17:19'::timestamp) - extract(epoch from '2026-07-21 10:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806355 -2.856212)', '2026-07-21 10:17:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806296 -2.856437)'), GeomFromEWKT('SRID=4674;POINT (-39.806355 -2.856212)'))) / (select extract(epoch from '2026-07-21 10:17:27'::timestamp) - extract(epoch from '2026-07-21 10:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806296 -2.856437)'), GeomFromEWKT('SRID=4674;POINT (-39.806355 -2.856212)'))) / (select extract(epoch from '2026-07-21 10:17:27'::timestamp) - extract(epoch from '2026-07-21 10:17: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'), 47870, 'SRID=4674;POINT (-39.806426 -2.856052)', '2026-07-21 10:17:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806355 -2.856212)'), GeomFromEWKT('SRID=4674;POINT (-39.806426 -2.856052)'))) / (select extract(epoch from '2026-07-21 10:17:33'::timestamp) - extract(epoch from '2026-07-21 10:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806355 -2.856212)'), GeomFromEWKT('SRID=4674;POINT (-39.806426 -2.856052)'))) / (select extract(epoch from '2026-07-21 10:17:33'::timestamp) - extract(epoch from '2026-07-21 10:17: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'), 47870, 'SRID=4674;POINT (-39.8065 -2.855897)', '2026-07-21 10:17:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806426 -2.856052)'), GeomFromEWKT('SRID=4674;POINT (-39.8065 -2.855897)'))) / (select extract(epoch from '2026-07-21 10:17:39'::timestamp) - extract(epoch from '2026-07-21 10:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806426 -2.856052)'), GeomFromEWKT('SRID=4674;POINT (-39.8065 -2.855897)'))) / (select extract(epoch from '2026-07-21 10:17:39'::timestamp) - extract(epoch from '2026-07-21 10:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806581 -2.855746)', '2026-07-21 10:17:45', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8065 -2.855897)'), GeomFromEWKT('SRID=4674;POINT (-39.806581 -2.855746)'))) / (select extract(epoch from '2026-07-21 10:17:45'::timestamp) - extract(epoch from '2026-07-21 10:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8065 -2.855897)'), GeomFromEWKT('SRID=4674;POINT (-39.806581 -2.855746)'))) / (select extract(epoch from '2026-07-21 10:17:45'::timestamp) - extract(epoch from '2026-07-21 10:17: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'), 47870, 'SRID=4674;POINT (-39.806661 -2.855619)', '2026-07-21 10:17:50', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806581 -2.855746)'), GeomFromEWKT('SRID=4674;POINT (-39.806661 -2.855619)'))) / (select extract(epoch from '2026-07-21 10:17:50'::timestamp) - extract(epoch from '2026-07-21 10:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806581 -2.855746)'), GeomFromEWKT('SRID=4674;POINT (-39.806661 -2.855619)'))) / (select extract(epoch from '2026-07-21 10:17:50'::timestamp) - extract(epoch from '2026-07-21 10:17: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'), 47870, 'SRID=4674;POINT (-39.806741 -2.855464)', '2026-07-21 10:17:56', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806661 -2.855619)'), GeomFromEWKT('SRID=4674;POINT (-39.806741 -2.855464)'))) / (select extract(epoch from '2026-07-21 10:17:56'::timestamp) - extract(epoch from '2026-07-21 10:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806661 -2.855619)'), GeomFromEWKT('SRID=4674;POINT (-39.806741 -2.855464)'))) / (select extract(epoch from '2026-07-21 10:17:56'::timestamp) - extract(epoch from '2026-07-21 10:17:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806785 -2.855355)', '2026-07-21 10:18:00', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806741 -2.855464)'), GeomFromEWKT('SRID=4674;POINT (-39.806785 -2.855355)'))) / (select extract(epoch from '2026-07-21 10:18:00'::timestamp) - extract(epoch from '2026-07-21 10:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806741 -2.855464)'), GeomFromEWKT('SRID=4674;POINT (-39.806785 -2.855355)'))) / (select extract(epoch from '2026-07-21 10:18:00'::timestamp) - extract(epoch from '2026-07-21 10:17: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'), 47870, 'SRID=4674;POINT (-39.806831 -2.855199)', '2026-07-21 10:18:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806785 -2.855355)'), GeomFromEWKT('SRID=4674;POINT (-39.806831 -2.855199)'))) / (select extract(epoch from '2026-07-21 10:18:06'::timestamp) - extract(epoch from '2026-07-21 10:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806785 -2.855355)'), GeomFromEWKT('SRID=4674;POINT (-39.806831 -2.855199)'))) / (select extract(epoch from '2026-07-21 10:18:06'::timestamp) - extract(epoch from '2026-07-21 10:18: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'), 47870, 'SRID=4674;POINT (-39.806852 -2.855039)', '2026-07-21 10:18:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806831 -2.855199)'), GeomFromEWKT('SRID=4674;POINT (-39.806852 -2.855039)'))) / (select extract(epoch from '2026-07-21 10:18:12'::timestamp) - extract(epoch from '2026-07-21 10:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806831 -2.855199)'), GeomFromEWKT('SRID=4674;POINT (-39.806852 -2.855039)'))) / (select extract(epoch from '2026-07-21 10:18:12'::timestamp) - extract(epoch from '2026-07-21 10:18: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'), 47870, 'SRID=4674;POINT (-39.806852 -2.854871)', '2026-07-21 10:18:18', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806852 -2.855039)'), GeomFromEWKT('SRID=4674;POINT (-39.806852 -2.854871)'))) / (select extract(epoch from '2026-07-21 10:18:18'::timestamp) - extract(epoch from '2026-07-21 10:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806852 -2.855039)'), GeomFromEWKT('SRID=4674;POINT (-39.806852 -2.854871)'))) / (select extract(epoch from '2026-07-21 10:18:18'::timestamp) - extract(epoch from '2026-07-21 10:18:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806841 -2.854733)', '2026-07-21 10:18:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806852 -2.854871)'), GeomFromEWKT('SRID=4674;POINT (-39.806841 -2.854733)'))) / (select extract(epoch from '2026-07-21 10:18:23'::timestamp) - extract(epoch from '2026-07-21 10:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806852 -2.854871)'), GeomFromEWKT('SRID=4674;POINT (-39.806841 -2.854733)'))) / (select extract(epoch from '2026-07-21 10:18:23'::timestamp) - extract(epoch from '2026-07-21 10:18:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806815 -2.854637)', '2026-07-21 10:18:27', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806841 -2.854733)'), GeomFromEWKT('SRID=4674;POINT (-39.806815 -2.854637)'))) / (select extract(epoch from '2026-07-21 10:18:27'::timestamp) - extract(epoch from '2026-07-21 10:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806841 -2.854733)'), GeomFromEWKT('SRID=4674;POINT (-39.806815 -2.854637)'))) / (select extract(epoch from '2026-07-21 10:18:27'::timestamp) - extract(epoch from '2026-07-21 10:18:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806784 -2.854538)', '2026-07-21 10:18:31', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806815 -2.854637)'), GeomFromEWKT('SRID=4674;POINT (-39.806784 -2.854538)'))) / (select extract(epoch from '2026-07-21 10:18:31'::timestamp) - extract(epoch from '2026-07-21 10:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806815 -2.854637)'), GeomFromEWKT('SRID=4674;POINT (-39.806784 -2.854538)'))) / (select extract(epoch from '2026-07-21 10:18:31'::timestamp) - extract(epoch from '2026-07-21 10:18: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'), 47870, 'SRID=4674;POINT (-39.806755 -2.854441)', '2026-07-21 10:18:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806784 -2.854538)'), GeomFromEWKT('SRID=4674;POINT (-39.806755 -2.854441)'))) / (select extract(epoch from '2026-07-21 10:18:35'::timestamp) - extract(epoch from '2026-07-21 10:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806784 -2.854538)'), GeomFromEWKT('SRID=4674;POINT (-39.806755 -2.854441)'))) / (select extract(epoch from '2026-07-21 10:18:35'::timestamp) - extract(epoch from '2026-07-21 10:18: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'), 47870, 'SRID=4674;POINT (-39.806724 -2.854312)', '2026-07-21 10:18:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806755 -2.854441)'), GeomFromEWKT('SRID=4674;POINT (-39.806724 -2.854312)'))) / (select extract(epoch from '2026-07-21 10:18:40'::timestamp) - extract(epoch from '2026-07-21 10:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806755 -2.854441)'), GeomFromEWKT('SRID=4674;POINT (-39.806724 -2.854312)'))) / (select extract(epoch from '2026-07-21 10:18:40'::timestamp) - extract(epoch from '2026-07-21 10:18: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'), 47870, 'SRID=4674;POINT (-39.80672 -2.854285)', '2026-07-21 10:18:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806724 -2.854312)'), GeomFromEWKT('SRID=4674;POINT (-39.80672 -2.854285)'))) / (select extract(epoch from '2026-07-21 10:18:41'::timestamp) - extract(epoch from '2026-07-21 10:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806724 -2.854312)'), GeomFromEWKT('SRID=4674;POINT (-39.80672 -2.854285)'))) / (select extract(epoch from '2026-07-21 10:18:41'::timestamp) - extract(epoch from '2026-07-21 10:18:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806718 -2.854209)', '2026-07-21 10:18:44', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80672 -2.854285)'), GeomFromEWKT('SRID=4674;POINT (-39.806718 -2.854209)'))) / (select extract(epoch from '2026-07-21 10:18:44'::timestamp) - extract(epoch from '2026-07-21 10:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80672 -2.854285)'), GeomFromEWKT('SRID=4674;POINT (-39.806718 -2.854209)'))) / (select extract(epoch from '2026-07-21 10:18:44'::timestamp) - extract(epoch from '2026-07-21 10:18: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'), 47870, 'SRID=4674;POINT (-39.806709 -2.854049)', '2026-07-21 10:18:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806718 -2.854209)'), GeomFromEWKT('SRID=4674;POINT (-39.806709 -2.854049)'))) / (select extract(epoch from '2026-07-21 10:18:50'::timestamp) - extract(epoch from '2026-07-21 10:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806718 -2.854209)'), GeomFromEWKT('SRID=4674;POINT (-39.806709 -2.854049)'))) / (select extract(epoch from '2026-07-21 10:18:50'::timestamp) - extract(epoch from '2026-07-21 10:18: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'), 47870, 'SRID=4674;POINT (-39.806712 -2.853911)', '2026-07-21 10:18:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806709 -2.854049)'), GeomFromEWKT('SRID=4674;POINT (-39.806712 -2.853911)'))) / (select extract(epoch from '2026-07-21 10:18:55'::timestamp) - extract(epoch from '2026-07-21 10:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806709 -2.854049)'), GeomFromEWKT('SRID=4674;POINT (-39.806712 -2.853911)'))) / (select extract(epoch from '2026-07-21 10:18:55'::timestamp) - extract(epoch from '2026-07-21 10:18: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'), 47870, 'SRID=4674;POINT (-39.806733 -2.853747)', '2026-07-21 10:19:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806712 -2.853911)'), GeomFromEWKT('SRID=4674;POINT (-39.806733 -2.853747)'))) / (select extract(epoch from '2026-07-21 10:19:01'::timestamp) - extract(epoch from '2026-07-21 10:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806712 -2.853911)'), GeomFromEWKT('SRID=4674;POINT (-39.806733 -2.853747)'))) / (select extract(epoch from '2026-07-21 10:19:01'::timestamp) - extract(epoch from '2026-07-21 10:18: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'), 47870, 'SRID=4674;POINT (-39.806773 -2.853556)', '2026-07-21 10:19:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806733 -2.853747)'), GeomFromEWKT('SRID=4674;POINT (-39.806773 -2.853556)'))) / (select extract(epoch from '2026-07-21 10:19:08'::timestamp) - extract(epoch from '2026-07-21 10:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806733 -2.853747)'), GeomFromEWKT('SRID=4674;POINT (-39.806773 -2.853556)'))) / (select extract(epoch from '2026-07-21 10:19:08'::timestamp) - extract(epoch from '2026-07-21 10:19: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'), 47870, 'SRID=4674;POINT (-39.806785 -2.853415)', '2026-07-21 10:19:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806773 -2.853556)'), GeomFromEWKT('SRID=4674;POINT (-39.806785 -2.853415)'))) / (select extract(epoch from '2026-07-21 10:19:13'::timestamp) - extract(epoch from '2026-07-21 10:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806773 -2.853556)'), GeomFromEWKT('SRID=4674;POINT (-39.806785 -2.853415)'))) / (select extract(epoch from '2026-07-21 10:19:13'::timestamp) - extract(epoch from '2026-07-21 10:19: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'), 47870, 'SRID=4674;POINT (-39.806793 -2.853303)', '2026-07-21 10:19:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806785 -2.853415)'), GeomFromEWKT('SRID=4674;POINT (-39.806793 -2.853303)'))) / (select extract(epoch from '2026-07-21 10:19:17'::timestamp) - extract(epoch from '2026-07-21 10:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806785 -2.853415)'), GeomFromEWKT('SRID=4674;POINT (-39.806793 -2.853303)'))) / (select extract(epoch from '2026-07-21 10:19:17'::timestamp) - extract(epoch from '2026-07-21 10:19: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'), 47870, 'SRID=4674;POINT (-39.806793 -2.853194)', '2026-07-21 10:19:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806793 -2.853303)'), GeomFromEWKT('SRID=4674;POINT (-39.806793 -2.853194)'))) / (select extract(epoch from '2026-07-21 10:19:21'::timestamp) - extract(epoch from '2026-07-21 10:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806793 -2.853303)'), GeomFromEWKT('SRID=4674;POINT (-39.806793 -2.853194)'))) / (select extract(epoch from '2026-07-21 10:19:21'::timestamp) - extract(epoch from '2026-07-21 10:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806777 -2.853064)', '2026-07-21 10:19:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806793 -2.853194)'), GeomFromEWKT('SRID=4674;POINT (-39.806777 -2.853064)'))) / (select extract(epoch from '2026-07-21 10:19:26'::timestamp) - extract(epoch from '2026-07-21 10:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806793 -2.853194)'), GeomFromEWKT('SRID=4674;POINT (-39.806777 -2.853064)'))) / (select extract(epoch from '2026-07-21 10:19:26'::timestamp) - extract(epoch from '2026-07-21 10:19:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806747 -2.852964)', '2026-07-21 10:19:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806777 -2.853064)'), GeomFromEWKT('SRID=4674;POINT (-39.806747 -2.852964)'))) / (select extract(epoch from '2026-07-21 10:19:30'::timestamp) - extract(epoch from '2026-07-21 10:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806777 -2.853064)'), GeomFromEWKT('SRID=4674;POINT (-39.806747 -2.852964)'))) / (select extract(epoch from '2026-07-21 10:19:30'::timestamp) - extract(epoch from '2026-07-21 10:19:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80669 -2.852855)', '2026-07-21 10:19:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806747 -2.852964)'), GeomFromEWKT('SRID=4674;POINT (-39.80669 -2.852855)'))) / (select extract(epoch from '2026-07-21 10:19:35'::timestamp) - extract(epoch from '2026-07-21 10:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806747 -2.852964)'), GeomFromEWKT('SRID=4674;POINT (-39.80669 -2.852855)'))) / (select extract(epoch from '2026-07-21 10:19:35'::timestamp) - extract(epoch from '2026-07-21 10:19: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'), 47870, 'SRID=4674;POINT (-39.806618 -2.85275)', '2026-07-21 10:19:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80669 -2.852855)'), GeomFromEWKT('SRID=4674;POINT (-39.806618 -2.85275)'))) / (select extract(epoch from '2026-07-21 10:19:40'::timestamp) - extract(epoch from '2026-07-21 10:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80669 -2.852855)'), GeomFromEWKT('SRID=4674;POINT (-39.806618 -2.85275)'))) / (select extract(epoch from '2026-07-21 10:19:40'::timestamp) - extract(epoch from '2026-07-21 10:19: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'), 47870, 'SRID=4674;POINT (-39.80654 -2.852617)', '2026-07-21 10:19:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806618 -2.85275)'), GeomFromEWKT('SRID=4674;POINT (-39.80654 -2.852617)'))) / (select extract(epoch from '2026-07-21 10:19:46'::timestamp) - extract(epoch from '2026-07-21 10:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806618 -2.85275)'), GeomFromEWKT('SRID=4674;POINT (-39.80654 -2.852617)'))) / (select extract(epoch from '2026-07-21 10:19:46'::timestamp) - extract(epoch from '2026-07-21 10:19:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806472 -2.852449)', '2026-07-21 10:19:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80654 -2.852617)'), GeomFromEWKT('SRID=4674;POINT (-39.806472 -2.852449)'))) / (select extract(epoch from '2026-07-21 10:19:53'::timestamp) - extract(epoch from '2026-07-21 10:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80654 -2.852617)'), GeomFromEWKT('SRID=4674;POINT (-39.806472 -2.852449)'))) / (select extract(epoch from '2026-07-21 10:19:53'::timestamp) - extract(epoch from '2026-07-21 10:19: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'), 47870, 'SRID=4674;POINT (-39.806444 -2.852374)', '2026-07-21 10:19:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806472 -2.852449)'), GeomFromEWKT('SRID=4674;POINT (-39.806444 -2.852374)'))) / (select extract(epoch from '2026-07-21 10:19:56'::timestamp) - extract(epoch from '2026-07-21 10:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806472 -2.852449)'), GeomFromEWKT('SRID=4674;POINT (-39.806444 -2.852374)'))) / (select extract(epoch from '2026-07-21 10:19:56'::timestamp) - extract(epoch from '2026-07-21 10:19: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'), 47870, 'SRID=4674;POINT (-39.806437 -2.852351)', '2026-07-21 10:19:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806444 -2.852374)'), GeomFromEWKT('SRID=4674;POINT (-39.806437 -2.852351)'))) / (select extract(epoch from '2026-07-21 10:19:57'::timestamp) - extract(epoch from '2026-07-21 10:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806444 -2.852374)'), GeomFromEWKT('SRID=4674;POINT (-39.806437 -2.852351)'))) / (select extract(epoch from '2026-07-21 10:19:57'::timestamp) - extract(epoch from '2026-07-21 10:19: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'), 47870, 'SRID=4674;POINT (-39.806421 -2.852304)', '2026-07-21 10:19:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806437 -2.852351)'), GeomFromEWKT('SRID=4674;POINT (-39.806421 -2.852304)'))) / (select extract(epoch from '2026-07-21 10:19:59'::timestamp) - extract(epoch from '2026-07-21 10:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806437 -2.852351)'), GeomFromEWKT('SRID=4674;POINT (-39.806421 -2.852304)'))) / (select extract(epoch from '2026-07-21 10:19:59'::timestamp) - extract(epoch from '2026-07-21 10:19: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'), 47870, 'SRID=4674;POINT (-39.8064 -2.852262)', '2026-07-21 10:20:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806421 -2.852304)'), GeomFromEWKT('SRID=4674;POINT (-39.8064 -2.852262)'))) / (select extract(epoch from '2026-07-21 10:20:01'::timestamp) - extract(epoch from '2026-07-21 10:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806421 -2.852304)'), GeomFromEWKT('SRID=4674;POINT (-39.8064 -2.852262)'))) / (select extract(epoch from '2026-07-21 10:20:01'::timestamp) - extract(epoch from '2026-07-21 10:19: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'), 47870, 'SRID=4674;POINT (-39.806364 -2.852204)', '2026-07-21 10:20:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8064 -2.852262)'), GeomFromEWKT('SRID=4674;POINT (-39.806364 -2.852204)'))) / (select extract(epoch from '2026-07-21 10:20:04'::timestamp) - extract(epoch from '2026-07-21 10:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8064 -2.852262)'), GeomFromEWKT('SRID=4674;POINT (-39.806364 -2.852204)'))) / (select extract(epoch from '2026-07-21 10:20:04'::timestamp) - extract(epoch from '2026-07-21 10:20: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'), 47870, 'SRID=4674;POINT (-39.806348 -2.85219)', '2026-07-21 10:20:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806364 -2.852204)'), GeomFromEWKT('SRID=4674;POINT (-39.806348 -2.85219)'))) / (select extract(epoch from '2026-07-21 10:20:05'::timestamp) - extract(epoch from '2026-07-21 10:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806364 -2.852204)'), GeomFromEWKT('SRID=4674;POINT (-39.806348 -2.85219)'))) / (select extract(epoch from '2026-07-21 10:20:05'::timestamp) - extract(epoch from '2026-07-21 10:20: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'), 47870, 'SRID=4674;POINT (-39.806285 -2.852139)', '2026-07-21 10:20:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806348 -2.85219)'), GeomFromEWKT('SRID=4674;POINT (-39.806285 -2.852139)'))) / (select extract(epoch from '2026-07-21 10:20:09'::timestamp) - extract(epoch from '2026-07-21 10:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806348 -2.85219)'), GeomFromEWKT('SRID=4674;POINT (-39.806285 -2.852139)'))) / (select extract(epoch from '2026-07-21 10:20:09'::timestamp) - extract(epoch from '2026-07-21 10:20: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'), 47870, 'SRID=4674;POINT (-39.806168 -2.852066)', '2026-07-21 10:20:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806285 -2.852139)'), GeomFromEWKT('SRID=4674;POINT (-39.806168 -2.852066)'))) / (select extract(epoch from '2026-07-21 10:20:15'::timestamp) - extract(epoch from '2026-07-21 10:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806285 -2.852139)'), GeomFromEWKT('SRID=4674;POINT (-39.806168 -2.852066)'))) / (select extract(epoch from '2026-07-21 10:20:15'::timestamp) - extract(epoch from '2026-07-21 10:20:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806092 -2.852014)', '2026-07-21 10:20:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806168 -2.852066)'), GeomFromEWKT('SRID=4674;POINT (-39.806092 -2.852014)'))) / (select extract(epoch from '2026-07-21 10:20:19'::timestamp) - extract(epoch from '2026-07-21 10:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806168 -2.852066)'), GeomFromEWKT('SRID=4674;POINT (-39.806092 -2.852014)'))) / (select extract(epoch from '2026-07-21 10:20:19'::timestamp) - extract(epoch from '2026-07-21 10:20: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'), 47870, 'SRID=4674;POINT (-39.805982 -2.851931)', '2026-07-21 10:20:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806092 -2.852014)'), GeomFromEWKT('SRID=4674;POINT (-39.805982 -2.851931)'))) / (select extract(epoch from '2026-07-21 10:20:25'::timestamp) - extract(epoch from '2026-07-21 10:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806092 -2.852014)'), GeomFromEWKT('SRID=4674;POINT (-39.805982 -2.851931)'))) / (select extract(epoch from '2026-07-21 10:20:25'::timestamp) - extract(epoch from '2026-07-21 10:20: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'), 47870, 'SRID=4674;POINT (-39.805906 -2.851844)', '2026-07-21 10:20:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805982 -2.851931)'), GeomFromEWKT('SRID=4674;POINT (-39.805906 -2.851844)'))) / (select extract(epoch from '2026-07-21 10:20:30'::timestamp) - extract(epoch from '2026-07-21 10:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805982 -2.851931)'), GeomFromEWKT('SRID=4674;POINT (-39.805906 -2.851844)'))) / (select extract(epoch from '2026-07-21 10:20:30'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.805864 -2.851703)', '2026-07-21 10:20:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805906 -2.851844)'), GeomFromEWKT('SRID=4674;POINT (-39.805864 -2.851703)'))) / (select extract(epoch from '2026-07-21 10:20:36'::timestamp) - extract(epoch from '2026-07-21 10:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805906 -2.851844)'), GeomFromEWKT('SRID=4674;POINT (-39.805864 -2.851703)'))) / (select extract(epoch from '2026-07-21 10:20:36'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.80588 -2.851548)', '2026-07-21 10:20:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805864 -2.851703)'), GeomFromEWKT('SRID=4674;POINT (-39.80588 -2.851548)'))) / (select extract(epoch from '2026-07-21 10:20:42'::timestamp) - extract(epoch from '2026-07-21 10:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805864 -2.851703)'), GeomFromEWKT('SRID=4674;POINT (-39.80588 -2.851548)'))) / (select extract(epoch from '2026-07-21 10:20:42'::timestamp) - extract(epoch from '2026-07-21 10:20: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'), 47870, 'SRID=4674;POINT (-39.805896 -2.851411)', '2026-07-21 10:20:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80588 -2.851548)'), GeomFromEWKT('SRID=4674;POINT (-39.805896 -2.851411)'))) / (select extract(epoch from '2026-07-21 10:20:47'::timestamp) - extract(epoch from '2026-07-21 10:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80588 -2.851548)'), GeomFromEWKT('SRID=4674;POINT (-39.805896 -2.851411)'))) / (select extract(epoch from '2026-07-21 10:20:47'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.80591 -2.851276)', '2026-07-21 10:20:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805896 -2.851411)'), GeomFromEWKT('SRID=4674;POINT (-39.80591 -2.851276)'))) / (select extract(epoch from '2026-07-21 10:20:52'::timestamp) - extract(epoch from '2026-07-21 10:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805896 -2.851411)'), GeomFromEWKT('SRID=4674;POINT (-39.80591 -2.851276)'))) / (select extract(epoch from '2026-07-21 10:20:52'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.805928 -2.851114)', '2026-07-21 10:20:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80591 -2.851276)'), GeomFromEWKT('SRID=4674;POINT (-39.805928 -2.851114)'))) / (select extract(epoch from '2026-07-21 10:20:58'::timestamp) - extract(epoch from '2026-07-21 10:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80591 -2.851276)'), GeomFromEWKT('SRID=4674;POINT (-39.805928 -2.851114)'))) / (select extract(epoch from '2026-07-21 10:20:58'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.805964 -2.850949)', '2026-07-21 10:21:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805928 -2.851114)'), GeomFromEWKT('SRID=4674;POINT (-39.805964 -2.850949)'))) / (select extract(epoch from '2026-07-21 10:21:04'::timestamp) - extract(epoch from '2026-07-21 10:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805928 -2.851114)'), GeomFromEWKT('SRID=4674;POINT (-39.805964 -2.850949)'))) / (select extract(epoch from '2026-07-21 10:21:04'::timestamp) - extract(epoch from '2026-07-21 10:20:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805964 -2.850813)', '2026-07-21 10:21:09', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805964 -2.850949)'), GeomFromEWKT('SRID=4674;POINT (-39.805964 -2.850813)'))) / (select extract(epoch from '2026-07-21 10:21:09'::timestamp) - extract(epoch from '2026-07-21 10:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805964 -2.850949)'), GeomFromEWKT('SRID=4674;POINT (-39.805964 -2.850813)'))) / (select extract(epoch from '2026-07-21 10:21:09'::timestamp) - extract(epoch from '2026-07-21 10:21: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'), 47870, 'SRID=4674;POINT (-39.805948 -2.850654)', '2026-07-21 10:21:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805964 -2.850813)'), GeomFromEWKT('SRID=4674;POINT (-39.805948 -2.850654)'))) / (select extract(epoch from '2026-07-21 10:21:15'::timestamp) - extract(epoch from '2026-07-21 10:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805964 -2.850813)'), GeomFromEWKT('SRID=4674;POINT (-39.805948 -2.850654)'))) / (select extract(epoch from '2026-07-21 10:21:15'::timestamp) - extract(epoch from '2026-07-21 10:21: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'), 47870, 'SRID=4674;POINT (-39.805915 -2.850501)', '2026-07-21 10:21:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805948 -2.850654)'), GeomFromEWKT('SRID=4674;POINT (-39.805915 -2.850501)'))) / (select extract(epoch from '2026-07-21 10:21:21'::timestamp) - extract(epoch from '2026-07-21 10:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805948 -2.850654)'), GeomFromEWKT('SRID=4674;POINT (-39.805915 -2.850501)'))) / (select extract(epoch from '2026-07-21 10:21:21'::timestamp) - extract(epoch from '2026-07-21 10:21: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'), 47870, 'SRID=4674;POINT (-39.805907 -2.850367)', '2026-07-21 10:21:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805915 -2.850501)'), GeomFromEWKT('SRID=4674;POINT (-39.805907 -2.850367)'))) / (select extract(epoch from '2026-07-21 10:21:26'::timestamp) - extract(epoch from '2026-07-21 10:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805915 -2.850501)'), GeomFromEWKT('SRID=4674;POINT (-39.805907 -2.850367)'))) / (select extract(epoch from '2026-07-21 10:21:26'::timestamp) - extract(epoch from '2026-07-21 10:21: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'), 47870, 'SRID=4674;POINT (-39.805926 -2.850231)', '2026-07-21 10:21:31', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805907 -2.850367)'), GeomFromEWKT('SRID=4674;POINT (-39.805926 -2.850231)'))) / (select extract(epoch from '2026-07-21 10:21:31'::timestamp) - extract(epoch from '2026-07-21 10:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805907 -2.850367)'), GeomFromEWKT('SRID=4674;POINT (-39.805926 -2.850231)'))) / (select extract(epoch from '2026-07-21 10:21:31'::timestamp) - extract(epoch from '2026-07-21 10:21: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'), 47870, 'SRID=4674;POINT (-39.805961 -2.850095)', '2026-07-21 10:21:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805926 -2.850231)'), GeomFromEWKT('SRID=4674;POINT (-39.805961 -2.850095)'))) / (select extract(epoch from '2026-07-21 10:21:36'::timestamp) - extract(epoch from '2026-07-21 10:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805926 -2.850231)'), GeomFromEWKT('SRID=4674;POINT (-39.805961 -2.850095)'))) / (select extract(epoch from '2026-07-21 10:21:36'::timestamp) - extract(epoch from '2026-07-21 10:21: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'), 47870, 'SRID=4674;POINT (-39.805977 -2.849954)', '2026-07-21 10:21:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805961 -2.850095)'), GeomFromEWKT('SRID=4674;POINT (-39.805977 -2.849954)'))) / (select extract(epoch from '2026-07-21 10:21:41'::timestamp) - extract(epoch from '2026-07-21 10:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805961 -2.850095)'), GeomFromEWKT('SRID=4674;POINT (-39.805977 -2.849954)'))) / (select extract(epoch from '2026-07-21 10:21:41'::timestamp) - extract(epoch from '2026-07-21 10:21: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'), 47870, 'SRID=4674;POINT (-39.80597 -2.849819)', '2026-07-21 10:21:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805977 -2.849954)'), GeomFromEWKT('SRID=4674;POINT (-39.80597 -2.849819)'))) / (select extract(epoch from '2026-07-21 10:21:46'::timestamp) - extract(epoch from '2026-07-21 10:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805977 -2.849954)'), GeomFromEWKT('SRID=4674;POINT (-39.80597 -2.849819)'))) / (select extract(epoch from '2026-07-21 10:21:46'::timestamp) - extract(epoch from '2026-07-21 10:21:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80595 -2.849694)', '2026-07-21 10:21:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80597 -2.849819)'), GeomFromEWKT('SRID=4674;POINT (-39.80595 -2.849694)'))) / (select extract(epoch from '2026-07-21 10:21:51'::timestamp) - extract(epoch from '2026-07-21 10:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80597 -2.849819)'), GeomFromEWKT('SRID=4674;POINT (-39.80595 -2.849694)'))) / (select extract(epoch from '2026-07-21 10:21:51'::timestamp) - extract(epoch from '2026-07-21 10:21: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'), 47870, 'SRID=4674;POINT (-39.805941 -2.849564)', '2026-07-21 10:21:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80595 -2.849694)'), GeomFromEWKT('SRID=4674;POINT (-39.805941 -2.849564)'))) / (select extract(epoch from '2026-07-21 10:21:56'::timestamp) - extract(epoch from '2026-07-21 10:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80595 -2.849694)'), GeomFromEWKT('SRID=4674;POINT (-39.805941 -2.849564)'))) / (select extract(epoch from '2026-07-21 10:21:56'::timestamp) - extract(epoch from '2026-07-21 10:21: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'), 47870, 'SRID=4674;POINT (-39.805945 -2.849537)', '2026-07-21 10:21:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805941 -2.849564)'), GeomFromEWKT('SRID=4674;POINT (-39.805945 -2.849537)'))) / (select extract(epoch from '2026-07-21 10:21:57'::timestamp) - extract(epoch from '2026-07-21 10:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805941 -2.849564)'), GeomFromEWKT('SRID=4674;POINT (-39.805945 -2.849537)'))) / (select extract(epoch from '2026-07-21 10:21:57'::timestamp) - extract(epoch from '2026-07-21 10:21: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'), 47870, 'SRID=4674;POINT (-39.805949 -2.849427)', '2026-07-21 10:22:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805945 -2.849537)'), GeomFromEWKT('SRID=4674;POINT (-39.805949 -2.849427)'))) / (select extract(epoch from '2026-07-21 10:22:01'::timestamp) - extract(epoch from '2026-07-21 10:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805945 -2.849537)'), GeomFromEWKT('SRID=4674;POINT (-39.805949 -2.849427)'))) / (select extract(epoch from '2026-07-21 10:22:01'::timestamp) - extract(epoch from '2026-07-21 10:21: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'), 47870, 'SRID=4674;POINT (-39.805959 -2.849268)', '2026-07-21 10:22:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805949 -2.849427)'), GeomFromEWKT('SRID=4674;POINT (-39.805959 -2.849268)'))) / (select extract(epoch from '2026-07-21 10:22:07'::timestamp) - extract(epoch from '2026-07-21 10:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805949 -2.849427)'), GeomFromEWKT('SRID=4674;POINT (-39.805959 -2.849268)'))) / (select extract(epoch from '2026-07-21 10:22:07'::timestamp) - extract(epoch from '2026-07-21 10:22: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'), 47870, 'SRID=4674;POINT (-39.805946 -2.849128)', '2026-07-21 10:22:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805959 -2.849268)'), GeomFromEWKT('SRID=4674;POINT (-39.805946 -2.849128)'))) / (select extract(epoch from '2026-07-21 10:22:12'::timestamp) - extract(epoch from '2026-07-21 10:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805959 -2.849268)'), GeomFromEWKT('SRID=4674;POINT (-39.805946 -2.849128)'))) / (select extract(epoch from '2026-07-21 10:22:12'::timestamp) - extract(epoch from '2026-07-21 10:22:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805955 -2.848939)', '2026-07-21 10:22:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805946 -2.849128)'), GeomFromEWKT('SRID=4674;POINT (-39.805955 -2.848939)'))) / (select extract(epoch from '2026-07-21 10:22:19'::timestamp) - extract(epoch from '2026-07-21 10:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805946 -2.849128)'), GeomFromEWKT('SRID=4674;POINT (-39.805955 -2.848939)'))) / (select extract(epoch from '2026-07-21 10:22:19'::timestamp) - extract(epoch from '2026-07-21 10:22: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'), 47870, 'SRID=4674;POINT (-39.805976 -2.848805)', '2026-07-21 10:22:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805955 -2.848939)'), GeomFromEWKT('SRID=4674;POINT (-39.805976 -2.848805)'))) / (select extract(epoch from '2026-07-21 10:22:24'::timestamp) - extract(epoch from '2026-07-21 10:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805955 -2.848939)'), GeomFromEWKT('SRID=4674;POINT (-39.805976 -2.848805)'))) / (select extract(epoch from '2026-07-21 10:22:24'::timestamp) - extract(epoch from '2026-07-21 10:22: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'), 47870, 'SRID=4674;POINT (-39.805984 -2.848698)', '2026-07-21 10:22:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805976 -2.848805)'), GeomFromEWKT('SRID=4674;POINT (-39.805984 -2.848698)'))) / (select extract(epoch from '2026-07-21 10:22:28'::timestamp) - extract(epoch from '2026-07-21 10:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805976 -2.848805)'), GeomFromEWKT('SRID=4674;POINT (-39.805984 -2.848698)'))) / (select extract(epoch from '2026-07-21 10:22:28'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.806003 -2.848563)', '2026-07-21 10:22:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805984 -2.848698)'), GeomFromEWKT('SRID=4674;POINT (-39.806003 -2.848563)'))) / (select extract(epoch from '2026-07-21 10:22:33'::timestamp) - extract(epoch from '2026-07-21 10:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805984 -2.848698)'), GeomFromEWKT('SRID=4674;POINT (-39.806003 -2.848563)'))) / (select extract(epoch from '2026-07-21 10:22:33'::timestamp) - extract(epoch from '2026-07-21 10:22: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'), 47870, 'SRID=4674;POINT (-39.806023 -2.848425)', '2026-07-21 10:22:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806003 -2.848563)'), GeomFromEWKT('SRID=4674;POINT (-39.806023 -2.848425)'))) / (select extract(epoch from '2026-07-21 10:22:38'::timestamp) - extract(epoch from '2026-07-21 10:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806003 -2.848563)'), GeomFromEWKT('SRID=4674;POINT (-39.806023 -2.848425)'))) / (select extract(epoch from '2026-07-21 10:22:38'::timestamp) - extract(epoch from '2026-07-21 10:22: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'), 47870, 'SRID=4674;POINT (-39.806057 -2.848225)', '2026-07-21 10:22:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806023 -2.848425)'), GeomFromEWKT('SRID=4674;POINT (-39.806057 -2.848225)'))) / (select extract(epoch from '2026-07-21 10:22:45'::timestamp) - extract(epoch from '2026-07-21 10:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806023 -2.848425)'), GeomFromEWKT('SRID=4674;POINT (-39.806057 -2.848225)'))) / (select extract(epoch from '2026-07-21 10:22:45'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.806079 -2.848081)', '2026-07-21 10:22:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806057 -2.848225)'), GeomFromEWKT('SRID=4674;POINT (-39.806079 -2.848081)'))) / (select extract(epoch from '2026-07-21 10:22:50'::timestamp) - extract(epoch from '2026-07-21 10:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806057 -2.848225)'), GeomFromEWKT('SRID=4674;POINT (-39.806079 -2.848081)'))) / (select extract(epoch from '2026-07-21 10:22:50'::timestamp) - extract(epoch from '2026-07-21 10:22: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'), 47870, 'SRID=4674;POINT (-39.806095 -2.84792)', '2026-07-21 10:22:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806079 -2.848081)'), GeomFromEWKT('SRID=4674;POINT (-39.806095 -2.84792)'))) / (select extract(epoch from '2026-07-21 10:22:56'::timestamp) - extract(epoch from '2026-07-21 10:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806079 -2.848081)'), GeomFromEWKT('SRID=4674;POINT (-39.806095 -2.84792)'))) / (select extract(epoch from '2026-07-21 10:22:56'::timestamp) - extract(epoch from '2026-07-21 10:22: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'), 47870, 'SRID=4674;POINT (-39.806105 -2.847753)', '2026-07-21 10:23:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806095 -2.84792)'), GeomFromEWKT('SRID=4674;POINT (-39.806105 -2.847753)'))) / (select extract(epoch from '2026-07-21 10:23:02'::timestamp) - extract(epoch from '2026-07-21 10:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806095 -2.84792)'), GeomFromEWKT('SRID=4674;POINT (-39.806105 -2.847753)'))) / (select extract(epoch from '2026-07-21 10:23:02'::timestamp) - extract(epoch from '2026-07-21 10:22: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'), 47870, 'SRID=4674;POINT (-39.806111 -2.847592)', '2026-07-21 10:23:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806105 -2.847753)'), GeomFromEWKT('SRID=4674;POINT (-39.806111 -2.847592)'))) / (select extract(epoch from '2026-07-21 10:23:08'::timestamp) - extract(epoch from '2026-07-21 10:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806105 -2.847753)'), GeomFromEWKT('SRID=4674;POINT (-39.806111 -2.847592)'))) / (select extract(epoch from '2026-07-21 10:23:08'::timestamp) - extract(epoch from '2026-07-21 10:23:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806099 -2.847401)', '2026-07-21 10:23:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806111 -2.847592)'), GeomFromEWKT('SRID=4674;POINT (-39.806099 -2.847401)'))) / (select extract(epoch from '2026-07-21 10:23:15'::timestamp) - extract(epoch from '2026-07-21 10:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806111 -2.847592)'), GeomFromEWKT('SRID=4674;POINT (-39.806099 -2.847401)'))) / (select extract(epoch from '2026-07-21 10:23:15'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.806098 -2.847238)', '2026-07-21 10:23:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806099 -2.847401)'), GeomFromEWKT('SRID=4674;POINT (-39.806098 -2.847238)'))) / (select extract(epoch from '2026-07-21 10:23:21'::timestamp) - extract(epoch from '2026-07-21 10:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806099 -2.847401)'), GeomFromEWKT('SRID=4674;POINT (-39.806098 -2.847238)'))) / (select extract(epoch from '2026-07-21 10:23:21'::timestamp) - extract(epoch from '2026-07-21 10:23: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'), 47870, 'SRID=4674;POINT (-39.806098 -2.84713)', '2026-07-21 10:23:25', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806098 -2.847238)'), GeomFromEWKT('SRID=4674;POINT (-39.806098 -2.84713)'))) / (select extract(epoch from '2026-07-21 10:23:25'::timestamp) - extract(epoch from '2026-07-21 10:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806098 -2.847238)'), GeomFromEWKT('SRID=4674;POINT (-39.806098 -2.84713)'))) / (select extract(epoch from '2026-07-21 10:23:25'::timestamp) - extract(epoch from '2026-07-21 10:23: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'), 47870, 'SRID=4674;POINT (-39.806077 -2.846976)', '2026-07-21 10:23:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806098 -2.84713)'), GeomFromEWKT('SRID=4674;POINT (-39.806077 -2.846976)'))) / (select extract(epoch from '2026-07-21 10:23:31'::timestamp) - extract(epoch from '2026-07-21 10:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806098 -2.84713)'), GeomFromEWKT('SRID=4674;POINT (-39.806077 -2.846976)'))) / (select extract(epoch from '2026-07-21 10:23:31'::timestamp) - extract(epoch from '2026-07-21 10:23: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'), 47870, 'SRID=4674;POINT (-39.806056 -2.846873)', '2026-07-21 10:23:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806077 -2.846976)'), GeomFromEWKT('SRID=4674;POINT (-39.806056 -2.846873)'))) / (select extract(epoch from '2026-07-21 10:23:35'::timestamp) - extract(epoch from '2026-07-21 10:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806077 -2.846976)'), GeomFromEWKT('SRID=4674;POINT (-39.806056 -2.846873)'))) / (select extract(epoch from '2026-07-21 10:23:35'::timestamp) - extract(epoch from '2026-07-21 10:23: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'), 47870, 'SRID=4674;POINT (-39.806053 -2.846847)', '2026-07-21 10:23:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806056 -2.846873)'), GeomFromEWKT('SRID=4674;POINT (-39.806053 -2.846847)'))) / (select extract(epoch from '2026-07-21 10:23:36'::timestamp) - extract(epoch from '2026-07-21 10:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806056 -2.846873)'), GeomFromEWKT('SRID=4674;POINT (-39.806053 -2.846847)'))) / (select extract(epoch from '2026-07-21 10:23:36'::timestamp) - extract(epoch from '2026-07-21 10:23:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80602 -2.846719)', '2026-07-21 10:23:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806053 -2.846847)'), GeomFromEWKT('SRID=4674;POINT (-39.80602 -2.846719)'))) / (select extract(epoch from '2026-07-21 10:23:41'::timestamp) - extract(epoch from '2026-07-21 10:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806053 -2.846847)'), GeomFromEWKT('SRID=4674;POINT (-39.80602 -2.846719)'))) / (select extract(epoch from '2026-07-21 10:23:41'::timestamp) - extract(epoch from '2026-07-21 10:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805989 -2.846563)', '2026-07-21 10:23:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80602 -2.846719)'), GeomFromEWKT('SRID=4674;POINT (-39.805989 -2.846563)'))) / (select extract(epoch from '2026-07-21 10:23:47'::timestamp) - extract(epoch from '2026-07-21 10:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80602 -2.846719)'), GeomFromEWKT('SRID=4674;POINT (-39.805989 -2.846563)'))) / (select extract(epoch from '2026-07-21 10:23:47'::timestamp) - extract(epoch from '2026-07-21 10:23: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'), 47870, 'SRID=4674;POINT (-39.805964 -2.846429)', '2026-07-21 10:23:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805989 -2.846563)'), GeomFromEWKT('SRID=4674;POINT (-39.805964 -2.846429)'))) / (select extract(epoch from '2026-07-21 10:23:52'::timestamp) - extract(epoch from '2026-07-21 10:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805989 -2.846563)'), GeomFromEWKT('SRID=4674;POINT (-39.805964 -2.846429)'))) / (select extract(epoch from '2026-07-21 10:23:52'::timestamp) - extract(epoch from '2026-07-21 10:23:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805952 -2.846323)', '2026-07-21 10:23:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805964 -2.846429)'), GeomFromEWKT('SRID=4674;POINT (-39.805952 -2.846323)'))) / (select extract(epoch from '2026-07-21 10:23:56'::timestamp) - extract(epoch from '2026-07-21 10:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805964 -2.846429)'), GeomFromEWKT('SRID=4674;POINT (-39.805952 -2.846323)'))) / (select extract(epoch from '2026-07-21 10:23:56'::timestamp) - extract(epoch from '2026-07-21 10:23: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'), 47870, 'SRID=4674;POINT (-39.805952 -2.846162)', '2026-07-21 10:24:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805952 -2.846323)'), GeomFromEWKT('SRID=4674;POINT (-39.805952 -2.846162)'))) / (select extract(epoch from '2026-07-21 10:24:02'::timestamp) - extract(epoch from '2026-07-21 10:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805952 -2.846323)'), GeomFromEWKT('SRID=4674;POINT (-39.805952 -2.846162)'))) / (select extract(epoch from '2026-07-21 10:24:02'::timestamp) - extract(epoch from '2026-07-21 10:23:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.805963 -2.845999)', '2026-07-21 10:24:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805952 -2.846162)'), GeomFromEWKT('SRID=4674;POINT (-39.805963 -2.845999)'))) / (select extract(epoch from '2026-07-21 10:24:08'::timestamp) - extract(epoch from '2026-07-21 10:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805952 -2.846162)'), GeomFromEWKT('SRID=4674;POINT (-39.805963 -2.845999)'))) / (select extract(epoch from '2026-07-21 10:24:08'::timestamp) - extract(epoch from '2026-07-21 10:24: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'), 47870, 'SRID=4674;POINT (-39.80598 -2.845862)', '2026-07-21 10:24:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805963 -2.845999)'), GeomFromEWKT('SRID=4674;POINT (-39.80598 -2.845862)'))) / (select extract(epoch from '2026-07-21 10:24:13'::timestamp) - extract(epoch from '2026-07-21 10:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805963 -2.845999)'), GeomFromEWKT('SRID=4674;POINT (-39.80598 -2.845862)'))) / (select extract(epoch from '2026-07-21 10:24:13'::timestamp) - extract(epoch from '2026-07-21 10:24: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'), 47870, 'SRID=4674;POINT (-39.805997 -2.845749)', '2026-07-21 10:24:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80598 -2.845862)'), GeomFromEWKT('SRID=4674;POINT (-39.805997 -2.845749)'))) / (select extract(epoch from '2026-07-21 10:24:17'::timestamp) - extract(epoch from '2026-07-21 10:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80598 -2.845862)'), GeomFromEWKT('SRID=4674;POINT (-39.805997 -2.845749)'))) / (select extract(epoch from '2026-07-21 10:24:17'::timestamp) - extract(epoch from '2026-07-21 10:24: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'), 47870, 'SRID=4674;POINT (-39.806029 -2.845613)', '2026-07-21 10:24:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805997 -2.845749)'), GeomFromEWKT('SRID=4674;POINT (-39.806029 -2.845613)'))) / (select extract(epoch from '2026-07-21 10:24:22'::timestamp) - extract(epoch from '2026-07-21 10:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805997 -2.845749)'), GeomFromEWKT('SRID=4674;POINT (-39.806029 -2.845613)'))) / (select extract(epoch from '2026-07-21 10:24:22'::timestamp) - extract(epoch from '2026-07-21 10:24:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806053 -2.845476)', '2026-07-21 10:24:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806029 -2.845613)'), GeomFromEWKT('SRID=4674;POINT (-39.806053 -2.845476)'))) / (select extract(epoch from '2026-07-21 10:24:27'::timestamp) - extract(epoch from '2026-07-21 10:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806029 -2.845613)'), GeomFromEWKT('SRID=4674;POINT (-39.806053 -2.845476)'))) / (select extract(epoch from '2026-07-21 10:24:27'::timestamp) - extract(epoch from '2026-07-21 10:24: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'), 47870, 'SRID=4674;POINT (-39.806073 -2.84536)', '2026-07-21 10:24:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806053 -2.845476)'), GeomFromEWKT('SRID=4674;POINT (-39.806073 -2.84536)'))) / (select extract(epoch from '2026-07-21 10:24:31'::timestamp) - extract(epoch from '2026-07-21 10:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806053 -2.845476)'), GeomFromEWKT('SRID=4674;POINT (-39.806073 -2.84536)'))) / (select extract(epoch from '2026-07-21 10:24:31'::timestamp) - extract(epoch from '2026-07-21 10:24: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'), 47870, 'SRID=4674;POINT (-39.806086 -2.845221)', '2026-07-21 10:24:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806073 -2.84536)'), GeomFromEWKT('SRID=4674;POINT (-39.806086 -2.845221)'))) / (select extract(epoch from '2026-07-21 10:24:36'::timestamp) - extract(epoch from '2026-07-21 10:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806073 -2.84536)'), GeomFromEWKT('SRID=4674;POINT (-39.806086 -2.845221)'))) / (select extract(epoch from '2026-07-21 10:24:36'::timestamp) - extract(epoch from '2026-07-21 10:24: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'), 47870, 'SRID=4674;POINT (-39.80609 -2.845088)', '2026-07-21 10:24:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806086 -2.845221)'), GeomFromEWKT('SRID=4674;POINT (-39.80609 -2.845088)'))) / (select extract(epoch from '2026-07-21 10:24:41'::timestamp) - extract(epoch from '2026-07-21 10:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806086 -2.845221)'), GeomFromEWKT('SRID=4674;POINT (-39.80609 -2.845088)'))) / (select extract(epoch from '2026-07-21 10:24:41'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.806102 -2.844955)', '2026-07-21 10:24:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80609 -2.845088)'), GeomFromEWKT('SRID=4674;POINT (-39.806102 -2.844955)'))) / (select extract(epoch from '2026-07-21 10:24:46'::timestamp) - extract(epoch from '2026-07-21 10:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80609 -2.845088)'), GeomFromEWKT('SRID=4674;POINT (-39.806102 -2.844955)'))) / (select extract(epoch from '2026-07-21 10:24:46'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.806126 -2.844813)', '2026-07-21 10:24:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806102 -2.844955)'), GeomFromEWKT('SRID=4674;POINT (-39.806126 -2.844813)'))) / (select extract(epoch from '2026-07-21 10:24:51'::timestamp) - extract(epoch from '2026-07-21 10:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806102 -2.844955)'), GeomFromEWKT('SRID=4674;POINT (-39.806126 -2.844813)'))) / (select extract(epoch from '2026-07-21 10:24:51'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.806149 -2.844676)', '2026-07-21 10:24:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806126 -2.844813)'), GeomFromEWKT('SRID=4674;POINT (-39.806149 -2.844676)'))) / (select extract(epoch from '2026-07-21 10:24:56'::timestamp) - extract(epoch from '2026-07-21 10:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806126 -2.844813)'), GeomFromEWKT('SRID=4674;POINT (-39.806149 -2.844676)'))) / (select extract(epoch from '2026-07-21 10:24:56'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.806175 -2.844506)', '2026-07-21 10:25:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806149 -2.844676)'), GeomFromEWKT('SRID=4674;POINT (-39.806175 -2.844506)'))) / (select extract(epoch from '2026-07-21 10:25:02'::timestamp) - extract(epoch from '2026-07-21 10:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806149 -2.844676)'), GeomFromEWKT('SRID=4674;POINT (-39.806175 -2.844506)'))) / (select extract(epoch from '2026-07-21 10:25:02'::timestamp) - extract(epoch from '2026-07-21 10:24: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'), 47870, 'SRID=4674;POINT (-39.80619 -2.844336)', '2026-07-21 10:25:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806175 -2.844506)'), GeomFromEWKT('SRID=4674;POINT (-39.80619 -2.844336)'))) / (select extract(epoch from '2026-07-21 10:25:08'::timestamp) - extract(epoch from '2026-07-21 10:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806175 -2.844506)'), GeomFromEWKT('SRID=4674;POINT (-39.80619 -2.844336)'))) / (select extract(epoch from '2026-07-21 10:25:08'::timestamp) - extract(epoch from '2026-07-21 10:25: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'), 47870, 'SRID=4674;POINT (-39.806202 -2.844197)', '2026-07-21 10:25:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80619 -2.844336)'), GeomFromEWKT('SRID=4674;POINT (-39.806202 -2.844197)'))) / (select extract(epoch from '2026-07-21 10:25:13'::timestamp) - extract(epoch from '2026-07-21 10:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80619 -2.844336)'), GeomFromEWKT('SRID=4674;POINT (-39.806202 -2.844197)'))) / (select extract(epoch from '2026-07-21 10:25:13'::timestamp) - extract(epoch from '2026-07-21 10:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806222 -2.84403)', '2026-07-21 10:25:19', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806202 -2.844197)'), GeomFromEWKT('SRID=4674;POINT (-39.806222 -2.84403)'))) / (select extract(epoch from '2026-07-21 10:25:19'::timestamp) - extract(epoch from '2026-07-21 10:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806202 -2.844197)'), GeomFromEWKT('SRID=4674;POINT (-39.806222 -2.84403)'))) / (select extract(epoch from '2026-07-21 10:25:19'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.806245 -2.843892)', '2026-07-21 10:25:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806222 -2.84403)'), GeomFromEWKT('SRID=4674;POINT (-39.806245 -2.843892)'))) / (select extract(epoch from '2026-07-21 10:25:24'::timestamp) - extract(epoch from '2026-07-21 10:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806222 -2.84403)'), GeomFromEWKT('SRID=4674;POINT (-39.806245 -2.843892)'))) / (select extract(epoch from '2026-07-21 10:25:24'::timestamp) - extract(epoch from '2026-07-21 10:25: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'), 47870, 'SRID=4674;POINT (-39.806261 -2.843755)', '2026-07-21 10:25:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806245 -2.843892)'), GeomFromEWKT('SRID=4674;POINT (-39.806261 -2.843755)'))) / (select extract(epoch from '2026-07-21 10:25:29'::timestamp) - extract(epoch from '2026-07-21 10:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806245 -2.843892)'), GeomFromEWKT('SRID=4674;POINT (-39.806261 -2.843755)'))) / (select extract(epoch from '2026-07-21 10:25:29'::timestamp) - extract(epoch from '2026-07-21 10:25: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'), 47870, 'SRID=4674;POINT (-39.80626 -2.843621)', '2026-07-21 10:25:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806261 -2.843755)'), GeomFromEWKT('SRID=4674;POINT (-39.80626 -2.843621)'))) / (select extract(epoch from '2026-07-21 10:25:34'::timestamp) - extract(epoch from '2026-07-21 10:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806261 -2.843755)'), GeomFromEWKT('SRID=4674;POINT (-39.80626 -2.843621)'))) / (select extract(epoch from '2026-07-21 10:25:34'::timestamp) - extract(epoch from '2026-07-21 10:25: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'), 47870, 'SRID=4674;POINT (-39.806255 -2.843463)', '2026-07-21 10:25:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80626 -2.843621)'), GeomFromEWKT('SRID=4674;POINT (-39.806255 -2.843463)'))) / (select extract(epoch from '2026-07-21 10:25:40'::timestamp) - extract(epoch from '2026-07-21 10:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80626 -2.843621)'), GeomFromEWKT('SRID=4674;POINT (-39.806255 -2.843463)'))) / (select extract(epoch from '2026-07-21 10:25:40'::timestamp) - extract(epoch from '2026-07-21 10:25: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'), 47870, 'SRID=4674;POINT (-39.806245 -2.843303)', '2026-07-21 10:25:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806255 -2.843463)'), GeomFromEWKT('SRID=4674;POINT (-39.806245 -2.843303)'))) / (select extract(epoch from '2026-07-21 10:25:46'::timestamp) - extract(epoch from '2026-07-21 10:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806255 -2.843463)'), GeomFromEWKT('SRID=4674;POINT (-39.806245 -2.843303)'))) / (select extract(epoch from '2026-07-21 10:25:46'::timestamp) - extract(epoch from '2026-07-21 10:25: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'), 47870, 'SRID=4674;POINT (-39.806251 -2.843142)', '2026-07-21 10:25:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806245 -2.843303)'), GeomFromEWKT('SRID=4674;POINT (-39.806251 -2.843142)'))) / (select extract(epoch from '2026-07-21 10:25:52'::timestamp) - extract(epoch from '2026-07-21 10:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806245 -2.843303)'), GeomFromEWKT('SRID=4674;POINT (-39.806251 -2.843142)'))) / (select extract(epoch from '2026-07-21 10:25:52'::timestamp) - extract(epoch from '2026-07-21 10:25: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'), 47870, 'SRID=4674;POINT (-39.806302 -2.842951)', '2026-07-21 10:25:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806251 -2.843142)'), GeomFromEWKT('SRID=4674;POINT (-39.806302 -2.842951)'))) / (select extract(epoch from '2026-07-21 10:25:59'::timestamp) - extract(epoch from '2026-07-21 10:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806251 -2.843142)'), GeomFromEWKT('SRID=4674;POINT (-39.806302 -2.842951)'))) / (select extract(epoch from '2026-07-21 10:25:59'::timestamp) - extract(epoch from '2026-07-21 10:25: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'), 47870, 'SRID=4674;POINT (-39.806346 -2.842817)', '2026-07-21 10:26:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806302 -2.842951)'), GeomFromEWKT('SRID=4674;POINT (-39.806346 -2.842817)'))) / (select extract(epoch from '2026-07-21 10:26:04'::timestamp) - extract(epoch from '2026-07-21 10:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806302 -2.842951)'), GeomFromEWKT('SRID=4674;POINT (-39.806346 -2.842817)'))) / (select extract(epoch from '2026-07-21 10:26:04'::timestamp) - extract(epoch from '2026-07-21 10:25: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'), 47870, 'SRID=4674;POINT (-39.806384 -2.842652)', '2026-07-21 10:26:10', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806346 -2.842817)'), GeomFromEWKT('SRID=4674;POINT (-39.806384 -2.842652)'))) / (select extract(epoch from '2026-07-21 10:26:10'::timestamp) - extract(epoch from '2026-07-21 10:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806346 -2.842817)'), GeomFromEWKT('SRID=4674;POINT (-39.806384 -2.842652)'))) / (select extract(epoch from '2026-07-21 10:26:10'::timestamp) - extract(epoch from '2026-07-21 10:26: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'), 47870, 'SRID=4674;POINT (-39.80642 -2.842515)', '2026-07-21 10:26:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806384 -2.842652)'), GeomFromEWKT('SRID=4674;POINT (-39.80642 -2.842515)'))) / (select extract(epoch from '2026-07-21 10:26:15'::timestamp) - extract(epoch from '2026-07-21 10:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806384 -2.842652)'), GeomFromEWKT('SRID=4674;POINT (-39.80642 -2.842515)'))) / (select extract(epoch from '2026-07-21 10:26:15'::timestamp) - extract(epoch from '2026-07-21 10:26:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806458 -2.842377)', '2026-07-21 10:26:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80642 -2.842515)'), GeomFromEWKT('SRID=4674;POINT (-39.806458 -2.842377)'))) / (select extract(epoch from '2026-07-21 10:26:20'::timestamp) - extract(epoch from '2026-07-21 10:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80642 -2.842515)'), GeomFromEWKT('SRID=4674;POINT (-39.806458 -2.842377)'))) / (select extract(epoch from '2026-07-21 10:26:20'::timestamp) - extract(epoch from '2026-07-21 10:26: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'), 47870, 'SRID=4674;POINT (-39.80648 -2.842236)', '2026-07-21 10:26:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806458 -2.842377)'), GeomFromEWKT('SRID=4674;POINT (-39.80648 -2.842236)'))) / (select extract(epoch from '2026-07-21 10:26:25'::timestamp) - extract(epoch from '2026-07-21 10:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806458 -2.842377)'), GeomFromEWKT('SRID=4674;POINT (-39.80648 -2.842236)'))) / (select extract(epoch from '2026-07-21 10:26:25'::timestamp) - extract(epoch from '2026-07-21 10:26: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'), 47870, 'SRID=4674;POINT (-39.806528 -2.842044)', '2026-07-21 10:26:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80648 -2.842236)'), GeomFromEWKT('SRID=4674;POINT (-39.806528 -2.842044)'))) / (select extract(epoch from '2026-07-21 10:26:32'::timestamp) - extract(epoch from '2026-07-21 10:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80648 -2.842236)'), GeomFromEWKT('SRID=4674;POINT (-39.806528 -2.842044)'))) / (select extract(epoch from '2026-07-21 10:26:32'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.80656 -2.841902)', '2026-07-21 10:26:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806528 -2.842044)'), GeomFromEWKT('SRID=4674;POINT (-39.80656 -2.841902)'))) / (select extract(epoch from '2026-07-21 10:26:37'::timestamp) - extract(epoch from '2026-07-21 10:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806528 -2.842044)'), GeomFromEWKT('SRID=4674;POINT (-39.80656 -2.841902)'))) / (select extract(epoch from '2026-07-21 10:26:37'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.806582 -2.841762)', '2026-07-21 10:26:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80656 -2.841902)'), GeomFromEWKT('SRID=4674;POINT (-39.806582 -2.841762)'))) / (select extract(epoch from '2026-07-21 10:26:42'::timestamp) - extract(epoch from '2026-07-21 10:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80656 -2.841902)'), GeomFromEWKT('SRID=4674;POINT (-39.806582 -2.841762)'))) / (select extract(epoch from '2026-07-21 10:26:42'::timestamp) - extract(epoch from '2026-07-21 10:26:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806611 -2.8416)', '2026-07-21 10:26:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806582 -2.841762)'), GeomFromEWKT('SRID=4674;POINT (-39.806611 -2.8416)'))) / (select extract(epoch from '2026-07-21 10:26:48'::timestamp) - extract(epoch from '2026-07-21 10:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806582 -2.841762)'), GeomFromEWKT('SRID=4674;POINT (-39.806611 -2.8416)'))) / (select extract(epoch from '2026-07-21 10:26:48'::timestamp) - extract(epoch from '2026-07-21 10:26:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806634 -2.841408)', '2026-07-21 10:26:55', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806611 -2.8416)'), GeomFromEWKT('SRID=4674;POINT (-39.806634 -2.841408)'))) / (select extract(epoch from '2026-07-21 10:26:55'::timestamp) - extract(epoch from '2026-07-21 10:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806611 -2.8416)'), GeomFromEWKT('SRID=4674;POINT (-39.806634 -2.841408)'))) / (select extract(epoch from '2026-07-21 10:26:55'::timestamp) - extract(epoch from '2026-07-21 10:26: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'), 47870, 'SRID=4674;POINT (-39.806647 -2.841241)', '2026-07-21 10:27:01', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806634 -2.841408)'), GeomFromEWKT('SRID=4674;POINT (-39.806647 -2.841241)'))) / (select extract(epoch from '2026-07-21 10:27:01'::timestamp) - extract(epoch from '2026-07-21 10:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806634 -2.841408)'), GeomFromEWKT('SRID=4674;POINT (-39.806647 -2.841241)'))) / (select extract(epoch from '2026-07-21 10:27:01'::timestamp) - extract(epoch from '2026-07-21 10:26: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'), 47870, 'SRID=4674;POINT (-39.80667 -2.841076)', '2026-07-21 10:27:07', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806647 -2.841241)'), GeomFromEWKT('SRID=4674;POINT (-39.80667 -2.841076)'))) / (select extract(epoch from '2026-07-21 10:27:07'::timestamp) - extract(epoch from '2026-07-21 10:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806647 -2.841241)'), GeomFromEWKT('SRID=4674;POINT (-39.80667 -2.841076)'))) / (select extract(epoch from '2026-07-21 10:27:07'::timestamp) - extract(epoch from '2026-07-21 10:27:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80671 -2.840893)', '2026-07-21 10:27:14', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80667 -2.841076)'), GeomFromEWKT('SRID=4674;POINT (-39.80671 -2.840893)'))) / (select extract(epoch from '2026-07-21 10:27:14'::timestamp) - extract(epoch from '2026-07-21 10:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80667 -2.841076)'), GeomFromEWKT('SRID=4674;POINT (-39.80671 -2.840893)'))) / (select extract(epoch from '2026-07-21 10:27:14'::timestamp) - extract(epoch from '2026-07-21 10:27: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'), 47870, 'SRID=4674;POINT (-39.806731 -2.840782)', '2026-07-21 10:27:18', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80671 -2.840893)'), GeomFromEWKT('SRID=4674;POINT (-39.806731 -2.840782)'))) / (select extract(epoch from '2026-07-21 10:27:18'::timestamp) - extract(epoch from '2026-07-21 10:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80671 -2.840893)'), GeomFromEWKT('SRID=4674;POINT (-39.806731 -2.840782)'))) / (select extract(epoch from '2026-07-21 10:27:18'::timestamp) - extract(epoch from '2026-07-21 10:27: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'), 47870, 'SRID=4674;POINT (-39.806736 -2.840674)', '2026-07-21 10:27:22', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806731 -2.840782)'), GeomFromEWKT('SRID=4674;POINT (-39.806736 -2.840674)'))) / (select extract(epoch from '2026-07-21 10:27:22'::timestamp) - extract(epoch from '2026-07-21 10:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806731 -2.840782)'), GeomFromEWKT('SRID=4674;POINT (-39.806736 -2.840674)'))) / (select extract(epoch from '2026-07-21 10:27:22'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.806736 -2.840538)', '2026-07-21 10:27:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806736 -2.840674)'), GeomFromEWKT('SRID=4674;POINT (-39.806736 -2.840538)'))) / (select extract(epoch from '2026-07-21 10:27:27'::timestamp) - extract(epoch from '2026-07-21 10:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806736 -2.840674)'), GeomFromEWKT('SRID=4674;POINT (-39.806736 -2.840538)'))) / (select extract(epoch from '2026-07-21 10:27:27'::timestamp) - extract(epoch from '2026-07-21 10:27:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80675 -2.8404)', '2026-07-21 10:27:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806736 -2.840538)'), GeomFromEWKT('SRID=4674;POINT (-39.80675 -2.8404)'))) / (select extract(epoch from '2026-07-21 10:27:32'::timestamp) - extract(epoch from '2026-07-21 10:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806736 -2.840538)'), GeomFromEWKT('SRID=4674;POINT (-39.80675 -2.8404)'))) / (select extract(epoch from '2026-07-21 10:27:32'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.806778 -2.840242)', '2026-07-21 10:27:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80675 -2.8404)'), GeomFromEWKT('SRID=4674;POINT (-39.806778 -2.840242)'))) / (select extract(epoch from '2026-07-21 10:27:38'::timestamp) - extract(epoch from '2026-07-21 10:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80675 -2.8404)'), GeomFromEWKT('SRID=4674;POINT (-39.806778 -2.840242)'))) / (select extract(epoch from '2026-07-21 10:27:38'::timestamp) - extract(epoch from '2026-07-21 10:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806801 -2.840051)', '2026-07-21 10:27:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806778 -2.840242)'), GeomFromEWKT('SRID=4674;POINT (-39.806801 -2.840051)'))) / (select extract(epoch from '2026-07-21 10:27:45'::timestamp) - extract(epoch from '2026-07-21 10:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806778 -2.840242)'), GeomFromEWKT('SRID=4674;POINT (-39.806801 -2.840051)'))) / (select extract(epoch from '2026-07-21 10:27:45'::timestamp) - extract(epoch from '2026-07-21 10:27: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'), 47870, 'SRID=4674;POINT (-39.806856 -2.83986)', '2026-07-21 10:27:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806801 -2.840051)'), GeomFromEWKT('SRID=4674;POINT (-39.806856 -2.83986)'))) / (select extract(epoch from '2026-07-21 10:27:52'::timestamp) - extract(epoch from '2026-07-21 10:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806801 -2.840051)'), GeomFromEWKT('SRID=4674;POINT (-39.806856 -2.83986)'))) / (select extract(epoch from '2026-07-21 10:27:52'::timestamp) - extract(epoch from '2026-07-21 10:27: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'), 47870, 'SRID=4674;POINT (-39.806898 -2.83969)', '2026-07-21 10:27:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806856 -2.83986)'), GeomFromEWKT('SRID=4674;POINT (-39.806898 -2.83969)'))) / (select extract(epoch from '2026-07-21 10:27:58'::timestamp) - extract(epoch from '2026-07-21 10:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806856 -2.83986)'), GeomFromEWKT('SRID=4674;POINT (-39.806898 -2.83969)'))) / (select extract(epoch from '2026-07-21 10:27:58'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.806946 -2.839526)', '2026-07-21 10:28:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806898 -2.83969)'), GeomFromEWKT('SRID=4674;POINT (-39.806946 -2.839526)'))) / (select extract(epoch from '2026-07-21 10:28:04'::timestamp) - extract(epoch from '2026-07-21 10:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806898 -2.83969)'), GeomFromEWKT('SRID=4674;POINT (-39.806946 -2.839526)'))) / (select extract(epoch from '2026-07-21 10:28:04'::timestamp) - extract(epoch from '2026-07-21 10:27: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'), 47870, 'SRID=4674;POINT (-39.807008 -2.839388)', '2026-07-21 10:28:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806946 -2.839526)'), GeomFromEWKT('SRID=4674;POINT (-39.807008 -2.839388)'))) / (select extract(epoch from '2026-07-21 10:28:09'::timestamp) - extract(epoch from '2026-07-21 10:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806946 -2.839526)'), GeomFromEWKT('SRID=4674;POINT (-39.807008 -2.839388)'))) / (select extract(epoch from '2026-07-21 10:28:09'::timestamp) - extract(epoch from '2026-07-21 10:28: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'), 47870, 'SRID=4674;POINT (-39.807067 -2.839259)', '2026-07-21 10:28:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807008 -2.839388)'), GeomFromEWKT('SRID=4674;POINT (-39.807067 -2.839259)'))) / (select extract(epoch from '2026-07-21 10:28:14'::timestamp) - extract(epoch from '2026-07-21 10:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807008 -2.839388)'), GeomFromEWKT('SRID=4674;POINT (-39.807067 -2.839259)'))) / (select extract(epoch from '2026-07-21 10:28:14'::timestamp) - extract(epoch from '2026-07-21 10:28: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'), 47870, 'SRID=4674;POINT (-39.807115 -2.839158)', '2026-07-21 10:28:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807067 -2.839259)'), GeomFromEWKT('SRID=4674;POINT (-39.807115 -2.839158)'))) / (select extract(epoch from '2026-07-21 10:28:18'::timestamp) - extract(epoch from '2026-07-21 10:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807067 -2.839259)'), GeomFromEWKT('SRID=4674;POINT (-39.807115 -2.839158)'))) / (select extract(epoch from '2026-07-21 10:28:18'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.807134 -2.839049)', '2026-07-21 10:28:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807115 -2.839158)'), GeomFromEWKT('SRID=4674;POINT (-39.807134 -2.839049)'))) / (select extract(epoch from '2026-07-21 10:28:22'::timestamp) - extract(epoch from '2026-07-21 10:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807115 -2.839158)'), GeomFromEWKT('SRID=4674;POINT (-39.807134 -2.839049)'))) / (select extract(epoch from '2026-07-21 10:28:22'::timestamp) - extract(epoch from '2026-07-21 10:28: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'), 47870, 'SRID=4674;POINT (-39.807119 -2.838933)', '2026-07-21 10:28:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807134 -2.839049)'), GeomFromEWKT('SRID=4674;POINT (-39.807119 -2.838933)'))) / (select extract(epoch from '2026-07-21 10:28:27'::timestamp) - extract(epoch from '2026-07-21 10:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807134 -2.839049)'), GeomFromEWKT('SRID=4674;POINT (-39.807119 -2.838933)'))) / (select extract(epoch from '2026-07-21 10:28:27'::timestamp) - extract(epoch from '2026-07-21 10:28: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'), 47870, 'SRID=4674;POINT (-39.807081 -2.838787)', '2026-07-21 10:28:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807119 -2.838933)'), GeomFromEWKT('SRID=4674;POINT (-39.807081 -2.838787)'))) / (select extract(epoch from '2026-07-21 10:28:33'::timestamp) - extract(epoch from '2026-07-21 10:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807119 -2.838933)'), GeomFromEWKT('SRID=4674;POINT (-39.807081 -2.838787)'))) / (select extract(epoch from '2026-07-21 10:28:33'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.807062 -2.83874)', '2026-07-21 10:28:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807081 -2.838787)'), GeomFromEWKT('SRID=4674;POINT (-39.807062 -2.83874)'))) / (select extract(epoch from '2026-07-21 10:28:35'::timestamp) - extract(epoch from '2026-07-21 10:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807081 -2.838787)'), GeomFromEWKT('SRID=4674;POINT (-39.807062 -2.83874)'))) / (select extract(epoch from '2026-07-21 10:28:35'::timestamp) - extract(epoch from '2026-07-21 10:28: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'), 47870, 'SRID=4674;POINT (-39.80704 -2.838665)', '2026-07-21 10:28:38', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807062 -2.83874)'), GeomFromEWKT('SRID=4674;POINT (-39.80704 -2.838665)'))) / (select extract(epoch from '2026-07-21 10:28:38'::timestamp) - extract(epoch from '2026-07-21 10:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807062 -2.83874)'), GeomFromEWKT('SRID=4674;POINT (-39.80704 -2.838665)'))) / (select extract(epoch from '2026-07-21 10:28:38'::timestamp) - extract(epoch from '2026-07-21 10:28: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'), 47870, 'SRID=4674;POINT (-39.807017 -2.838567)', '2026-07-21 10:28:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80704 -2.838665)'), GeomFromEWKT('SRID=4674;POINT (-39.807017 -2.838567)'))) / (select extract(epoch from '2026-07-21 10:28:42'::timestamp) - extract(epoch from '2026-07-21 10:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80704 -2.838665)'), GeomFromEWKT('SRID=4674;POINT (-39.807017 -2.838567)'))) / (select extract(epoch from '2026-07-21 10:28:42'::timestamp) - extract(epoch from '2026-07-21 10:28: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'), 47870, 'SRID=4674;POINT (-39.807014 -2.838541)', '2026-07-21 10:28:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807017 -2.838567)'), GeomFromEWKT('SRID=4674;POINT (-39.807014 -2.838541)'))) / (select extract(epoch from '2026-07-21 10:28:43'::timestamp) - extract(epoch from '2026-07-21 10:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807017 -2.838567)'), GeomFromEWKT('SRID=4674;POINT (-39.807014 -2.838541)'))) / (select extract(epoch from '2026-07-21 10:28:43'::timestamp) - extract(epoch from '2026-07-21 10:28: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'), 47870, 'SRID=4674;POINT (-39.807002 -2.838444)', '2026-07-21 10:28:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807014 -2.838541)'), GeomFromEWKT('SRID=4674;POINT (-39.807002 -2.838444)'))) / (select extract(epoch from '2026-07-21 10:28:47'::timestamp) - extract(epoch from '2026-07-21 10:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807014 -2.838541)'), GeomFromEWKT('SRID=4674;POINT (-39.807002 -2.838444)'))) / (select extract(epoch from '2026-07-21 10:28:47'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.806996 -2.838343)', '2026-07-21 10:28:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807002 -2.838444)'), GeomFromEWKT('SRID=4674;POINT (-39.806996 -2.838343)'))) / (select extract(epoch from '2026-07-21 10:28:51'::timestamp) - extract(epoch from '2026-07-21 10:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807002 -2.838444)'), GeomFromEWKT('SRID=4674;POINT (-39.806996 -2.838343)'))) / (select extract(epoch from '2026-07-21 10:28:51'::timestamp) - extract(epoch from '2026-07-21 10:28: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'), 47870, 'SRID=4674;POINT (-39.806993 -2.838177)', '2026-07-21 10:28:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806996 -2.838343)'), GeomFromEWKT('SRID=4674;POINT (-39.806993 -2.838177)'))) / (select extract(epoch from '2026-07-21 10:28:57'::timestamp) - extract(epoch from '2026-07-21 10:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806996 -2.838343)'), GeomFromEWKT('SRID=4674;POINT (-39.806993 -2.838177)'))) / (select extract(epoch from '2026-07-21 10:28:57'::timestamp) - extract(epoch from '2026-07-21 10:28: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'), 47870, 'SRID=4674;POINT (-39.806995 -2.838035)', '2026-07-21 10:29:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806993 -2.838177)'), GeomFromEWKT('SRID=4674;POINT (-39.806995 -2.838035)'))) / (select extract(epoch from '2026-07-21 10:29:02'::timestamp) - extract(epoch from '2026-07-21 10:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806993 -2.838177)'), GeomFromEWKT('SRID=4674;POINT (-39.806995 -2.838035)'))) / (select extract(epoch from '2026-07-21 10:29:02'::timestamp) - extract(epoch from '2026-07-21 10:28: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'), 47870, 'SRID=4674;POINT (-39.806986 -2.837902)', '2026-07-21 10:29:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806995 -2.838035)'), GeomFromEWKT('SRID=4674;POINT (-39.806986 -2.837902)'))) / (select extract(epoch from '2026-07-21 10:29:07'::timestamp) - extract(epoch from '2026-07-21 10:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806995 -2.838035)'), GeomFromEWKT('SRID=4674;POINT (-39.806986 -2.837902)'))) / (select extract(epoch from '2026-07-21 10:29:07'::timestamp) - extract(epoch from '2026-07-21 10:29: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'), 47870, 'SRID=4674;POINT (-39.806976 -2.837797)', '2026-07-21 10:29:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806986 -2.837902)'), GeomFromEWKT('SRID=4674;POINT (-39.806976 -2.837797)'))) / (select extract(epoch from '2026-07-21 10:29:11'::timestamp) - extract(epoch from '2026-07-21 10:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806986 -2.837902)'), GeomFromEWKT('SRID=4674;POINT (-39.806976 -2.837797)'))) / (select extract(epoch from '2026-07-21 10:29:11'::timestamp) - extract(epoch from '2026-07-21 10:29: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'), 47870, 'SRID=4674;POINT (-39.806973 -2.83769)', '2026-07-21 10:29:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806976 -2.837797)'), GeomFromEWKT('SRID=4674;POINT (-39.806973 -2.83769)'))) / (select extract(epoch from '2026-07-21 10:29:15'::timestamp) - extract(epoch from '2026-07-21 10:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806976 -2.837797)'), GeomFromEWKT('SRID=4674;POINT (-39.806973 -2.83769)'))) / (select extract(epoch from '2026-07-21 10:29:15'::timestamp) - extract(epoch from '2026-07-21 10:29:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80698 -2.837531)', '2026-07-21 10:29:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806973 -2.83769)'), GeomFromEWKT('SRID=4674;POINT (-39.80698 -2.837531)'))) / (select extract(epoch from '2026-07-21 10:29:21'::timestamp) - extract(epoch from '2026-07-21 10:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806973 -2.83769)'), GeomFromEWKT('SRID=4674;POINT (-39.80698 -2.837531)'))) / (select extract(epoch from '2026-07-21 10:29:21'::timestamp) - extract(epoch from '2026-07-21 10:29: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'), 47870, 'SRID=4674;POINT (-39.806974 -2.837397)', '2026-07-21 10:29:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80698 -2.837531)'), GeomFromEWKT('SRID=4674;POINT (-39.806974 -2.837397)'))) / (select extract(epoch from '2026-07-21 10:29:26'::timestamp) - extract(epoch from '2026-07-21 10:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80698 -2.837531)'), GeomFromEWKT('SRID=4674;POINT (-39.806974 -2.837397)'))) / (select extract(epoch from '2026-07-21 10:29:26'::timestamp) - extract(epoch from '2026-07-21 10:29: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'), 47870, 'SRID=4674;POINT (-39.806971 -2.837237)', '2026-07-21 10:29:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806974 -2.837397)'), GeomFromEWKT('SRID=4674;POINT (-39.806971 -2.837237)'))) / (select extract(epoch from '2026-07-21 10:29:32'::timestamp) - extract(epoch from '2026-07-21 10:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806974 -2.837397)'), GeomFromEWKT('SRID=4674;POINT (-39.806971 -2.837237)'))) / (select extract(epoch from '2026-07-21 10:29:32'::timestamp) - extract(epoch from '2026-07-21 10:29:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806971 -2.837066)', '2026-07-21 10:29:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806971 -2.837237)'), GeomFromEWKT('SRID=4674;POINT (-39.806971 -2.837066)'))) / (select extract(epoch from '2026-07-21 10:29:38'::timestamp) - extract(epoch from '2026-07-21 10:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806971 -2.837237)'), GeomFromEWKT('SRID=4674;POINT (-39.806971 -2.837066)'))) / (select extract(epoch from '2026-07-21 10:29:38'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.806966 -2.836933)', '2026-07-21 10:29:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806971 -2.837066)'), GeomFromEWKT('SRID=4674;POINT (-39.806966 -2.836933)'))) / (select extract(epoch from '2026-07-21 10:29:43'::timestamp) - extract(epoch from '2026-07-21 10:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806971 -2.837066)'), GeomFromEWKT('SRID=4674;POINT (-39.806966 -2.836933)'))) / (select extract(epoch from '2026-07-21 10:29:43'::timestamp) - extract(epoch from '2026-07-21 10:29:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806967 -2.836859)', '2026-07-21 10:29:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806966 -2.836933)'), GeomFromEWKT('SRID=4674;POINT (-39.806967 -2.836859)'))) / (select extract(epoch from '2026-07-21 10:29:46'::timestamp) - extract(epoch from '2026-07-21 10:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806966 -2.836933)'), GeomFromEWKT('SRID=4674;POINT (-39.806967 -2.836859)'))) / (select extract(epoch from '2026-07-21 10:29:46'::timestamp) - extract(epoch from '2026-07-21 10:29: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'), 47870, 'SRID=4674;POINT (-39.80697 -2.83683)', '2026-07-21 10:29:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806967 -2.836859)'), GeomFromEWKT('SRID=4674;POINT (-39.80697 -2.83683)'))) / (select extract(epoch from '2026-07-21 10:29:47'::timestamp) - extract(epoch from '2026-07-21 10:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806967 -2.836859)'), GeomFromEWKT('SRID=4674;POINT (-39.80697 -2.83683)'))) / (select extract(epoch from '2026-07-21 10:29:47'::timestamp) - extract(epoch from '2026-07-21 10:29: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'), 47870, 'SRID=4674;POINT (-39.806966 -2.836803)', '2026-07-21 10:29:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80697 -2.83683)'), GeomFromEWKT('SRID=4674;POINT (-39.806966 -2.836803)'))) / (select extract(epoch from '2026-07-21 10:29:48'::timestamp) - extract(epoch from '2026-07-21 10:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80697 -2.83683)'), GeomFromEWKT('SRID=4674;POINT (-39.806966 -2.836803)'))) / (select extract(epoch from '2026-07-21 10:29:48'::timestamp) - extract(epoch from '2026-07-21 10:29: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'), 47870, 'SRID=4674;POINT (-39.806957 -2.836725)', '2026-07-21 10:29:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806966 -2.836803)'), GeomFromEWKT('SRID=4674;POINT (-39.806957 -2.836725)'))) / (select extract(epoch from '2026-07-21 10:29:51'::timestamp) - extract(epoch from '2026-07-21 10:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806966 -2.836803)'), GeomFromEWKT('SRID=4674;POINT (-39.806957 -2.836725)'))) / (select extract(epoch from '2026-07-21 10:29:51'::timestamp) - extract(epoch from '2026-07-21 10:29:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806942 -2.836592)', '2026-07-21 10:29:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806957 -2.836725)'), GeomFromEWKT('SRID=4674;POINT (-39.806942 -2.836592)'))) / (select extract(epoch from '2026-07-21 10:29:56'::timestamp) - extract(epoch from '2026-07-21 10:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806957 -2.836725)'), GeomFromEWKT('SRID=4674;POINT (-39.806942 -2.836592)'))) / (select extract(epoch from '2026-07-21 10:29:56'::timestamp) - extract(epoch from '2026-07-21 10:29: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'), 47870, 'SRID=4674;POINT (-39.806945 -2.836462)', '2026-07-21 10:30:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806942 -2.836592)'), GeomFromEWKT('SRID=4674;POINT (-39.806945 -2.836462)'))) / (select extract(epoch from '2026-07-21 10:30:01'::timestamp) - extract(epoch from '2026-07-21 10:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806942 -2.836592)'), GeomFromEWKT('SRID=4674;POINT (-39.806945 -2.836462)'))) / (select extract(epoch from '2026-07-21 10:30:01'::timestamp) - extract(epoch from '2026-07-21 10:29:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.806987 -2.836299)', '2026-07-21 10:30:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806945 -2.836462)'), GeomFromEWKT('SRID=4674;POINT (-39.806987 -2.836299)'))) / (select extract(epoch from '2026-07-21 10:30:07'::timestamp) - extract(epoch from '2026-07-21 10:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806945 -2.836462)'), GeomFromEWKT('SRID=4674;POINT (-39.806987 -2.836299)'))) / (select extract(epoch from '2026-07-21 10:30:07'::timestamp) - extract(epoch from '2026-07-21 10:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807024 -2.836159)', '2026-07-21 10:30:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806987 -2.836299)'), GeomFromEWKT('SRID=4674;POINT (-39.807024 -2.836159)'))) / (select extract(epoch from '2026-07-21 10:30:12'::timestamp) - extract(epoch from '2026-07-21 10:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806987 -2.836299)'), GeomFromEWKT('SRID=4674;POINT (-39.807024 -2.836159)'))) / (select extract(epoch from '2026-07-21 10:30:12'::timestamp) - extract(epoch from '2026-07-21 10:30: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'), 47870, 'SRID=4674;POINT (-39.807048 -2.835993)', '2026-07-21 10:30:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807024 -2.836159)'), GeomFromEWKT('SRID=4674;POINT (-39.807048 -2.835993)'))) / (select extract(epoch from '2026-07-21 10:30:18'::timestamp) - extract(epoch from '2026-07-21 10:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807024 -2.836159)'), GeomFromEWKT('SRID=4674;POINT (-39.807048 -2.835993)'))) / (select extract(epoch from '2026-07-21 10:30:18'::timestamp) - extract(epoch from '2026-07-21 10:30: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'), 47870, 'SRID=4674;POINT (-39.807046 -2.835853)', '2026-07-21 10:30:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807048 -2.835993)'), GeomFromEWKT('SRID=4674;POINT (-39.807046 -2.835853)'))) / (select extract(epoch from '2026-07-21 10:30:23'::timestamp) - extract(epoch from '2026-07-21 10:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807048 -2.835993)'), GeomFromEWKT('SRID=4674;POINT (-39.807046 -2.835853)'))) / (select extract(epoch from '2026-07-21 10:30:23'::timestamp) - extract(epoch from '2026-07-21 10:30: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'), 47870, 'SRID=4674;POINT (-39.807036 -2.835724)', '2026-07-21 10:30:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807046 -2.835853)'), GeomFromEWKT('SRID=4674;POINT (-39.807036 -2.835724)'))) / (select extract(epoch from '2026-07-21 10:30:28'::timestamp) - extract(epoch from '2026-07-21 10:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807046 -2.835853)'), GeomFromEWKT('SRID=4674;POINT (-39.807036 -2.835724)'))) / (select extract(epoch from '2026-07-21 10:30:28'::timestamp) - extract(epoch from '2026-07-21 10:30: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'), 47870, 'SRID=4674;POINT (-39.807028 -2.835617)', '2026-07-21 10:30:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807036 -2.835724)'), GeomFromEWKT('SRID=4674;POINT (-39.807028 -2.835617)'))) / (select extract(epoch from '2026-07-21 10:30:32'::timestamp) - extract(epoch from '2026-07-21 10:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807036 -2.835724)'), GeomFromEWKT('SRID=4674;POINT (-39.807028 -2.835617)'))) / (select extract(epoch from '2026-07-21 10:30:32'::timestamp) - extract(epoch from '2026-07-21 10:30: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'), 47870, 'SRID=4674;POINT (-39.807032 -2.835507)', '2026-07-21 10:30:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807028 -2.835617)'), GeomFromEWKT('SRID=4674;POINT (-39.807032 -2.835507)'))) / (select extract(epoch from '2026-07-21 10:30:36'::timestamp) - extract(epoch from '2026-07-21 10:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807028 -2.835617)'), GeomFromEWKT('SRID=4674;POINT (-39.807032 -2.835507)'))) / (select extract(epoch from '2026-07-21 10:30:36'::timestamp) - extract(epoch from '2026-07-21 10:30:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807051 -2.835399)', '2026-07-21 10:30:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807032 -2.835507)'), GeomFromEWKT('SRID=4674;POINT (-39.807051 -2.835399)'))) / (select extract(epoch from '2026-07-21 10:30:40'::timestamp) - extract(epoch from '2026-07-21 10:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807032 -2.835507)'), GeomFromEWKT('SRID=4674;POINT (-39.807051 -2.835399)'))) / (select extract(epoch from '2026-07-21 10:30:40'::timestamp) - extract(epoch from '2026-07-21 10:30: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'), 47870, 'SRID=4674;POINT (-39.807089 -2.835264)', '2026-07-21 10:30:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807051 -2.835399)'), GeomFromEWKT('SRID=4674;POINT (-39.807089 -2.835264)'))) / (select extract(epoch from '2026-07-21 10:30:45'::timestamp) - extract(epoch from '2026-07-21 10:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807051 -2.835399)'), GeomFromEWKT('SRID=4674;POINT (-39.807089 -2.835264)'))) / (select extract(epoch from '2026-07-21 10:30:45'::timestamp) - extract(epoch from '2026-07-21 10:30:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807135 -2.835127)', '2026-07-21 10:30:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807089 -2.835264)'), GeomFromEWKT('SRID=4674;POINT (-39.807135 -2.835127)'))) / (select extract(epoch from '2026-07-21 10:30:50'::timestamp) - extract(epoch from '2026-07-21 10:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807089 -2.835264)'), GeomFromEWKT('SRID=4674;POINT (-39.807135 -2.835127)'))) / (select extract(epoch from '2026-07-21 10:30:50'::timestamp) - extract(epoch from '2026-07-21 10:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807157 -2.834988)', '2026-07-21 10:30:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807135 -2.835127)'), GeomFromEWKT('SRID=4674;POINT (-39.807157 -2.834988)'))) / (select extract(epoch from '2026-07-21 10:30:55'::timestamp) - extract(epoch from '2026-07-21 10:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807135 -2.835127)'), GeomFromEWKT('SRID=4674;POINT (-39.807157 -2.834988)'))) / (select extract(epoch from '2026-07-21 10:30:55'::timestamp) - extract(epoch from '2026-07-21 10:30: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'), 47870, 'SRID=4674;POINT (-39.807138 -2.834861)', '2026-07-21 10:31:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807157 -2.834988)'), GeomFromEWKT('SRID=4674;POINT (-39.807138 -2.834861)'))) / (select extract(epoch from '2026-07-21 10:31:00'::timestamp) - extract(epoch from '2026-07-21 10:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807157 -2.834988)'), GeomFromEWKT('SRID=4674;POINT (-39.807138 -2.834861)'))) / (select extract(epoch from '2026-07-21 10:31:00'::timestamp) - extract(epoch from '2026-07-21 10:30: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'), 47870, 'SRID=4674;POINT (-39.807127 -2.834759)', '2026-07-21 10:31:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807138 -2.834861)'), GeomFromEWKT('SRID=4674;POINT (-39.807127 -2.834759)'))) / (select extract(epoch from '2026-07-21 10:31:04'::timestamp) - extract(epoch from '2026-07-21 10:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807138 -2.834861)'), GeomFromEWKT('SRID=4674;POINT (-39.807127 -2.834759)'))) / (select extract(epoch from '2026-07-21 10:31:04'::timestamp) - extract(epoch from '2026-07-21 10:31:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807114 -2.834632)', '2026-07-21 10:31:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807127 -2.834759)'), GeomFromEWKT('SRID=4674;POINT (-39.807114 -2.834632)'))) / (select extract(epoch from '2026-07-21 10:31:09'::timestamp) - extract(epoch from '2026-07-21 10:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807127 -2.834759)'), GeomFromEWKT('SRID=4674;POINT (-39.807114 -2.834632)'))) / (select extract(epoch from '2026-07-21 10:31:09'::timestamp) - extract(epoch from '2026-07-21 10:31: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'), 47870, 'SRID=4674;POINT (-39.807107 -2.834495)', '2026-07-21 10:31:14', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807114 -2.834632)'), GeomFromEWKT('SRID=4674;POINT (-39.807107 -2.834495)'))) / (select extract(epoch from '2026-07-21 10:31:14'::timestamp) - extract(epoch from '2026-07-21 10:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807114 -2.834632)'), GeomFromEWKT('SRID=4674;POINT (-39.807107 -2.834495)'))) / (select extract(epoch from '2026-07-21 10:31:14'::timestamp) - extract(epoch from '2026-07-21 10:31:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807128 -2.834335)', '2026-07-21 10:31:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807107 -2.834495)'), GeomFromEWKT('SRID=4674;POINT (-39.807128 -2.834335)'))) / (select extract(epoch from '2026-07-21 10:31:20'::timestamp) - extract(epoch from '2026-07-21 10:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807107 -2.834495)'), GeomFromEWKT('SRID=4674;POINT (-39.807128 -2.834335)'))) / (select extract(epoch from '2026-07-21 10:31:20'::timestamp) - extract(epoch from '2026-07-21 10:31: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'), 47870, 'SRID=4674;POINT (-39.807154 -2.834202)', '2026-07-21 10:31:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807128 -2.834335)'), GeomFromEWKT('SRID=4674;POINT (-39.807154 -2.834202)'))) / (select extract(epoch from '2026-07-21 10:31:25'::timestamp) - extract(epoch from '2026-07-21 10:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807128 -2.834335)'), GeomFromEWKT('SRID=4674;POINT (-39.807154 -2.834202)'))) / (select extract(epoch from '2026-07-21 10:31:25'::timestamp) - extract(epoch from '2026-07-21 10:31: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'), 47870, 'SRID=4674;POINT (-39.807193 -2.834039)', '2026-07-21 10:31:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807154 -2.834202)'), GeomFromEWKT('SRID=4674;POINT (-39.807193 -2.834039)'))) / (select extract(epoch from '2026-07-21 10:31:31'::timestamp) - extract(epoch from '2026-07-21 10:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807154 -2.834202)'), GeomFromEWKT('SRID=4674;POINT (-39.807193 -2.834039)'))) / (select extract(epoch from '2026-07-21 10:31:31'::timestamp) - extract(epoch from '2026-07-21 10:31: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'), 47870, 'SRID=4674;POINT (-39.807226 -2.833904)', '2026-07-21 10:31:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807193 -2.834039)'), GeomFromEWKT('SRID=4674;POINT (-39.807226 -2.833904)'))) / (select extract(epoch from '2026-07-21 10:31:36'::timestamp) - extract(epoch from '2026-07-21 10:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807193 -2.834039)'), GeomFromEWKT('SRID=4674;POINT (-39.807226 -2.833904)'))) / (select extract(epoch from '2026-07-21 10:31:36'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.80727 -2.833717)', '2026-07-21 10:31:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807226 -2.833904)'), GeomFromEWKT('SRID=4674;POINT (-39.80727 -2.833717)'))) / (select extract(epoch from '2026-07-21 10:31:43'::timestamp) - extract(epoch from '2026-07-21 10:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807226 -2.833904)'), GeomFromEWKT('SRID=4674;POINT (-39.80727 -2.833717)'))) / (select extract(epoch from '2026-07-21 10:31:43'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.807298 -2.833582)', '2026-07-21 10:31:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80727 -2.833717)'), GeomFromEWKT('SRID=4674;POINT (-39.807298 -2.833582)'))) / (select extract(epoch from '2026-07-21 10:31:48'::timestamp) - extract(epoch from '2026-07-21 10:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80727 -2.833717)'), GeomFromEWKT('SRID=4674;POINT (-39.807298 -2.833582)'))) / (select extract(epoch from '2026-07-21 10:31:48'::timestamp) - extract(epoch from '2026-07-21 10:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807319 -2.833478)', '2026-07-21 10:31:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807298 -2.833582)'), GeomFromEWKT('SRID=4674;POINT (-39.807319 -2.833478)'))) / (select extract(epoch from '2026-07-21 10:31:52'::timestamp) - extract(epoch from '2026-07-21 10:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807298 -2.833582)'), GeomFromEWKT('SRID=4674;POINT (-39.807319 -2.833478)'))) / (select extract(epoch from '2026-07-21 10:31:52'::timestamp) - extract(epoch from '2026-07-21 10:31: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'), 47870, 'SRID=4674;POINT (-39.80732 -2.83345)', '2026-07-21 10:31:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807319 -2.833478)'), GeomFromEWKT('SRID=4674;POINT (-39.80732 -2.83345)'))) / (select extract(epoch from '2026-07-21 10:31:53'::timestamp) - extract(epoch from '2026-07-21 10:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807319 -2.833478)'), GeomFromEWKT('SRID=4674;POINT (-39.80732 -2.83345)'))) / (select extract(epoch from '2026-07-21 10:31:53'::timestamp) - extract(epoch from '2026-07-21 10:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807316 -2.833364)', '2026-07-21 10:31:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80732 -2.83345)'), GeomFromEWKT('SRID=4674;POINT (-39.807316 -2.833364)'))) / (select extract(epoch from '2026-07-21 10:31:56'::timestamp) - extract(epoch from '2026-07-21 10:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80732 -2.83345)'), GeomFromEWKT('SRID=4674;POINT (-39.807316 -2.833364)'))) / (select extract(epoch from '2026-07-21 10:31:56'::timestamp) - extract(epoch from '2026-07-21 10:31: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'), 47870, 'SRID=4674;POINT (-39.807319 -2.833338)', '2026-07-21 10:31:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807316 -2.833364)'), GeomFromEWKT('SRID=4674;POINT (-39.807319 -2.833338)'))) / (select extract(epoch from '2026-07-21 10:31:57'::timestamp) - extract(epoch from '2026-07-21 10:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807316 -2.833364)'), GeomFromEWKT('SRID=4674;POINT (-39.807319 -2.833338)'))) / (select extract(epoch from '2026-07-21 10:31:57'::timestamp) - extract(epoch from '2026-07-21 10:31: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'), 47870, 'SRID=4674;POINT (-39.807321 -2.833259)', '2026-07-21 10:32:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807319 -2.833338)'), GeomFromEWKT('SRID=4674;POINT (-39.807321 -2.833259)'))) / (select extract(epoch from '2026-07-21 10:32:00'::timestamp) - extract(epoch from '2026-07-21 10:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807319 -2.833338)'), GeomFromEWKT('SRID=4674;POINT (-39.807321 -2.833259)'))) / (select extract(epoch from '2026-07-21 10:32:00'::timestamp) - extract(epoch from '2026-07-21 10:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80733 -2.833126)', '2026-07-21 10:32:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807321 -2.833259)'), GeomFromEWKT('SRID=4674;POINT (-39.80733 -2.833126)'))) / (select extract(epoch from '2026-07-21 10:32:05'::timestamp) - extract(epoch from '2026-07-21 10:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807321 -2.833259)'), GeomFromEWKT('SRID=4674;POINT (-39.80733 -2.833126)'))) / (select extract(epoch from '2026-07-21 10:32:05'::timestamp) - extract(epoch from '2026-07-21 10:32: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'), 47870, 'SRID=4674;POINT (-39.80736 -2.832992)', '2026-07-21 10:32:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80733 -2.833126)'), GeomFromEWKT('SRID=4674;POINT (-39.80736 -2.832992)'))) / (select extract(epoch from '2026-07-21 10:32:10'::timestamp) - extract(epoch from '2026-07-21 10:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80733 -2.833126)'), GeomFromEWKT('SRID=4674;POINT (-39.80736 -2.832992)'))) / (select extract(epoch from '2026-07-21 10:32:10'::timestamp) - extract(epoch from '2026-07-21 10:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807392 -2.832864)', '2026-07-21 10:32:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80736 -2.832992)'), GeomFromEWKT('SRID=4674;POINT (-39.807392 -2.832864)'))) / (select extract(epoch from '2026-07-21 10:32:15'::timestamp) - extract(epoch from '2026-07-21 10:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80736 -2.832992)'), GeomFromEWKT('SRID=4674;POINT (-39.807392 -2.832864)'))) / (select extract(epoch from '2026-07-21 10:32:15'::timestamp) - extract(epoch from '2026-07-21 10:32:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807433 -2.832705)', '2026-07-21 10:32:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807392 -2.832864)'), GeomFromEWKT('SRID=4674;POINT (-39.807433 -2.832705)'))) / (select extract(epoch from '2026-07-21 10:32:21'::timestamp) - extract(epoch from '2026-07-21 10:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807392 -2.832864)'), GeomFromEWKT('SRID=4674;POINT (-39.807433 -2.832705)'))) / (select extract(epoch from '2026-07-21 10:32:21'::timestamp) - extract(epoch from '2026-07-21 10:32: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'), 47870, 'SRID=4674;POINT (-39.807441 -2.832573)', '2026-07-21 10:32:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807433 -2.832705)'), GeomFromEWKT('SRID=4674;POINT (-39.807441 -2.832573)'))) / (select extract(epoch from '2026-07-21 10:32:26'::timestamp) - extract(epoch from '2026-07-21 10:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807433 -2.832705)'), GeomFromEWKT('SRID=4674;POINT (-39.807441 -2.832573)'))) / (select extract(epoch from '2026-07-21 10:32:26'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.807424 -2.832449)', '2026-07-21 10:32:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807441 -2.832573)'), GeomFromEWKT('SRID=4674;POINT (-39.807424 -2.832449)'))) / (select extract(epoch from '2026-07-21 10:32:31'::timestamp) - extract(epoch from '2026-07-21 10:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807441 -2.832573)'), GeomFromEWKT('SRID=4674;POINT (-39.807424 -2.832449)'))) / (select extract(epoch from '2026-07-21 10:32:31'::timestamp) - extract(epoch from '2026-07-21 10:32:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807422 -2.8324)', '2026-07-21 10:32:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807424 -2.832449)'), GeomFromEWKT('SRID=4674;POINT (-39.807422 -2.8324)'))) / (select extract(epoch from '2026-07-21 10:32:33'::timestamp) - extract(epoch from '2026-07-21 10:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807424 -2.832449)'), GeomFromEWKT('SRID=4674;POINT (-39.807422 -2.8324)'))) / (select extract(epoch from '2026-07-21 10:32:33'::timestamp) - extract(epoch from '2026-07-21 10:32: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'), 47870, 'SRID=4674;POINT (-39.807419 -2.832346)', '2026-07-21 10:32:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807422 -2.8324)'), GeomFromEWKT('SRID=4674;POINT (-39.807419 -2.832346)'))) / (select extract(epoch from '2026-07-21 10:32:35'::timestamp) - extract(epoch from '2026-07-21 10:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807422 -2.8324)'), GeomFromEWKT('SRID=4674;POINT (-39.807419 -2.832346)'))) / (select extract(epoch from '2026-07-21 10:32:35'::timestamp) - extract(epoch from '2026-07-21 10:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807414 -2.83232)', '2026-07-21 10:32:36', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807419 -2.832346)'), GeomFromEWKT('SRID=4674;POINT (-39.807414 -2.83232)'))) / (select extract(epoch from '2026-07-21 10:32:36'::timestamp) - extract(epoch from '2026-07-21 10:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807419 -2.832346)'), GeomFromEWKT('SRID=4674;POINT (-39.807414 -2.83232)'))) / (select extract(epoch from '2026-07-21 10:32:36'::timestamp) - extract(epoch from '2026-07-21 10:32: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'), 47870, 'SRID=4674;POINT (-39.807405 -2.832241)', '2026-07-21 10:32:39', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807414 -2.83232)'), GeomFromEWKT('SRID=4674;POINT (-39.807405 -2.832241)'))) / (select extract(epoch from '2026-07-21 10:32:39'::timestamp) - extract(epoch from '2026-07-21 10:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807414 -2.83232)'), GeomFromEWKT('SRID=4674;POINT (-39.807405 -2.832241)'))) / (select extract(epoch from '2026-07-21 10:32:39'::timestamp) - extract(epoch from '2026-07-21 10:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807381 -2.832081)', '2026-07-21 10:32:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807405 -2.832241)'), GeomFromEWKT('SRID=4674;POINT (-39.807381 -2.832081)'))) / (select extract(epoch from '2026-07-21 10:32:45'::timestamp) - extract(epoch from '2026-07-21 10:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807405 -2.832241)'), GeomFromEWKT('SRID=4674;POINT (-39.807381 -2.832081)'))) / (select extract(epoch from '2026-07-21 10:32:45'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.807368 -2.831974)', '2026-07-21 10:32:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807381 -2.832081)'), GeomFromEWKT('SRID=4674;POINT (-39.807368 -2.831974)'))) / (select extract(epoch from '2026-07-21 10:32:49'::timestamp) - extract(epoch from '2026-07-21 10:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807381 -2.832081)'), GeomFromEWKT('SRID=4674;POINT (-39.807368 -2.831974)'))) / (select extract(epoch from '2026-07-21 10:32:49'::timestamp) - extract(epoch from '2026-07-21 10:32: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'), 47870, 'SRID=4674;POINT (-39.807356 -2.831811)', '2026-07-21 10:32:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807368 -2.831974)'), GeomFromEWKT('SRID=4674;POINT (-39.807356 -2.831811)'))) / (select extract(epoch from '2026-07-21 10:32:55'::timestamp) - extract(epoch from '2026-07-21 10:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807368 -2.831974)'), GeomFromEWKT('SRID=4674;POINT (-39.807356 -2.831811)'))) / (select extract(epoch from '2026-07-21 10:32:55'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.807341 -2.831654)', '2026-07-21 10:33:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807356 -2.831811)'), GeomFromEWKT('SRID=4674;POINT (-39.807341 -2.831654)'))) / (select extract(epoch from '2026-07-21 10:33:01'::timestamp) - extract(epoch from '2026-07-21 10:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807356 -2.831811)'), GeomFromEWKT('SRID=4674;POINT (-39.807341 -2.831654)'))) / (select extract(epoch from '2026-07-21 10:33:01'::timestamp) - extract(epoch from '2026-07-21 10:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807348 -2.831522)', '2026-07-21 10:33:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807341 -2.831654)'), GeomFromEWKT('SRID=4674;POINT (-39.807348 -2.831522)'))) / (select extract(epoch from '2026-07-21 10:33:06'::timestamp) - extract(epoch from '2026-07-21 10:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807341 -2.831654)'), GeomFromEWKT('SRID=4674;POINT (-39.807348 -2.831522)'))) / (select extract(epoch from '2026-07-21 10:33:06'::timestamp) - extract(epoch from '2026-07-21 10:33:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807355 -2.831416)', '2026-07-21 10:33:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807348 -2.831522)'), GeomFromEWKT('SRID=4674;POINT (-39.807355 -2.831416)'))) / (select extract(epoch from '2026-07-21 10:33:10'::timestamp) - extract(epoch from '2026-07-21 10:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807348 -2.831522)'), GeomFromEWKT('SRID=4674;POINT (-39.807355 -2.831416)'))) / (select extract(epoch from '2026-07-21 10:33:10'::timestamp) - extract(epoch from '2026-07-21 10:33: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'), 47870, 'SRID=4674;POINT (-39.807352 -2.831281)', '2026-07-21 10:33:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807355 -2.831416)'), GeomFromEWKT('SRID=4674;POINT (-39.807352 -2.831281)'))) / (select extract(epoch from '2026-07-21 10:33:15'::timestamp) - extract(epoch from '2026-07-21 10:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807355 -2.831416)'), GeomFromEWKT('SRID=4674;POINT (-39.807352 -2.831281)'))) / (select extract(epoch from '2026-07-21 10:33:15'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.807334 -2.831121)', '2026-07-21 10:33:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807352 -2.831281)'), GeomFromEWKT('SRID=4674;POINT (-39.807334 -2.831121)'))) / (select extract(epoch from '2026-07-21 10:33:21'::timestamp) - extract(epoch from '2026-07-21 10:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807352 -2.831281)'), GeomFromEWKT('SRID=4674;POINT (-39.807334 -2.831121)'))) / (select extract(epoch from '2026-07-21 10:33:21'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.80733 -2.830987)', '2026-07-21 10:33:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807334 -2.831121)'), GeomFromEWKT('SRID=4674;POINT (-39.80733 -2.830987)'))) / (select extract(epoch from '2026-07-21 10:33:26'::timestamp) - extract(epoch from '2026-07-21 10:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807334 -2.831121)'), GeomFromEWKT('SRID=4674;POINT (-39.80733 -2.830987)'))) / (select extract(epoch from '2026-07-21 10:33:26'::timestamp) - extract(epoch from '2026-07-21 10:33:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807354 -2.830825)', '2026-07-21 10:33:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80733 -2.830987)'), GeomFromEWKT('SRID=4674;POINT (-39.807354 -2.830825)'))) / (select extract(epoch from '2026-07-21 10:33:32'::timestamp) - extract(epoch from '2026-07-21 10:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80733 -2.830987)'), GeomFromEWKT('SRID=4674;POINT (-39.807354 -2.830825)'))) / (select extract(epoch from '2026-07-21 10:33:32'::timestamp) - extract(epoch from '2026-07-21 10:33:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807388 -2.830692)', '2026-07-21 10:33:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807354 -2.830825)'), GeomFromEWKT('SRID=4674;POINT (-39.807388 -2.830692)'))) / (select extract(epoch from '2026-07-21 10:33:37'::timestamp) - extract(epoch from '2026-07-21 10:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807354 -2.830825)'), GeomFromEWKT('SRID=4674;POINT (-39.807388 -2.830692)'))) / (select extract(epoch from '2026-07-21 10:33:37'::timestamp) - extract(epoch from '2026-07-21 10:33: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'), 47870, 'SRID=4674;POINT (-39.807429 -2.83056)', '2026-07-21 10:33:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807388 -2.830692)'), GeomFromEWKT('SRID=4674;POINT (-39.807429 -2.83056)'))) / (select extract(epoch from '2026-07-21 10:33:42'::timestamp) - extract(epoch from '2026-07-21 10:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807388 -2.830692)'), GeomFromEWKT('SRID=4674;POINT (-39.807429 -2.83056)'))) / (select extract(epoch from '2026-07-21 10:33:42'::timestamp) - extract(epoch from '2026-07-21 10:33: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'), 47870, 'SRID=4674;POINT (-39.807451 -2.830427)', '2026-07-21 10:33:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807429 -2.83056)'), GeomFromEWKT('SRID=4674;POINT (-39.807451 -2.830427)'))) / (select extract(epoch from '2026-07-21 10:33:47'::timestamp) - extract(epoch from '2026-07-21 10:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807429 -2.83056)'), GeomFromEWKT('SRID=4674;POINT (-39.807451 -2.830427)'))) / (select extract(epoch from '2026-07-21 10:33:47'::timestamp) - extract(epoch from '2026-07-21 10:33: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'), 47870, 'SRID=4674;POINT (-39.807479 -2.830289)', '2026-07-21 10:33:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807451 -2.830427)'), GeomFromEWKT('SRID=4674;POINT (-39.807479 -2.830289)'))) / (select extract(epoch from '2026-07-21 10:33:52'::timestamp) - extract(epoch from '2026-07-21 10:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807451 -2.830427)'), GeomFromEWKT('SRID=4674;POINT (-39.807479 -2.830289)'))) / (select extract(epoch from '2026-07-21 10:33:52'::timestamp) - extract(epoch from '2026-07-21 10:33: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'), 47870, 'SRID=4674;POINT (-39.807492 -2.830151)', '2026-07-21 10:33:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807479 -2.830289)'), GeomFromEWKT('SRID=4674;POINT (-39.807492 -2.830151)'))) / (select extract(epoch from '2026-07-21 10:33:57'::timestamp) - extract(epoch from '2026-07-21 10:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807479 -2.830289)'), GeomFromEWKT('SRID=4674;POINT (-39.807492 -2.830151)'))) / (select extract(epoch from '2026-07-21 10:33:57'::timestamp) - extract(epoch from '2026-07-21 10:33: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'), 47870, 'SRID=4674;POINT (-39.807496 -2.830042)', '2026-07-21 10:34:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807492 -2.830151)'), GeomFromEWKT('SRID=4674;POINT (-39.807496 -2.830042)'))) / (select extract(epoch from '2026-07-21 10:34:01'::timestamp) - extract(epoch from '2026-07-21 10:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807492 -2.830151)'), GeomFromEWKT('SRID=4674;POINT (-39.807496 -2.830042)'))) / (select extract(epoch from '2026-07-21 10:34:01'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.807492 -2.82988)', '2026-07-21 10:34:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807496 -2.830042)'), GeomFromEWKT('SRID=4674;POINT (-39.807492 -2.82988)'))) / (select extract(epoch from '2026-07-21 10:34:07'::timestamp) - extract(epoch from '2026-07-21 10:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807496 -2.830042)'), GeomFromEWKT('SRID=4674;POINT (-39.807492 -2.82988)'))) / (select extract(epoch from '2026-07-21 10:34:07'::timestamp) - extract(epoch from '2026-07-21 10:34: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'), 47870, 'SRID=4674;POINT (-39.8075 -2.829745)', '2026-07-21 10:34:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807492 -2.82988)'), GeomFromEWKT('SRID=4674;POINT (-39.8075 -2.829745)'))) / (select extract(epoch from '2026-07-21 10:34:12'::timestamp) - extract(epoch from '2026-07-21 10:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807492 -2.82988)'), GeomFromEWKT('SRID=4674;POINT (-39.8075 -2.829745)'))) / (select extract(epoch from '2026-07-21 10:34:12'::timestamp) - extract(epoch from '2026-07-21 10:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807499 -2.829577)', '2026-07-21 10:34:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8075 -2.829745)'), GeomFromEWKT('SRID=4674;POINT (-39.807499 -2.829577)'))) / (select extract(epoch from '2026-07-21 10:34:18'::timestamp) - extract(epoch from '2026-07-21 10:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8075 -2.829745)'), GeomFromEWKT('SRID=4674;POINT (-39.807499 -2.829577)'))) / (select extract(epoch from '2026-07-21 10:34:18'::timestamp) - extract(epoch from '2026-07-21 10:34: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'), 47870, 'SRID=4674;POINT (-39.807493 -2.829469)', '2026-07-21 10:34:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807499 -2.829577)'), GeomFromEWKT('SRID=4674;POINT (-39.807493 -2.829469)'))) / (select extract(epoch from '2026-07-21 10:34:22'::timestamp) - extract(epoch from '2026-07-21 10:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807499 -2.829577)'), GeomFromEWKT('SRID=4674;POINT (-39.807493 -2.829469)'))) / (select extract(epoch from '2026-07-21 10:34:22'::timestamp) - extract(epoch from '2026-07-21 10:34: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'), 47870, 'SRID=4674;POINT (-39.807499 -2.829357)', '2026-07-21 10:34:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807493 -2.829469)'), GeomFromEWKT('SRID=4674;POINT (-39.807499 -2.829357)'))) / (select extract(epoch from '2026-07-21 10:34:26'::timestamp) - extract(epoch from '2026-07-21 10:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807493 -2.829469)'), GeomFromEWKT('SRID=4674;POINT (-39.807499 -2.829357)'))) / (select extract(epoch from '2026-07-21 10:34:26'::timestamp) - extract(epoch from '2026-07-21 10:34: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'), 47870, 'SRID=4674;POINT (-39.807518 -2.829218)', '2026-07-21 10:34:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807499 -2.829357)'), GeomFromEWKT('SRID=4674;POINT (-39.807518 -2.829218)'))) / (select extract(epoch from '2026-07-21 10:34:31'::timestamp) - extract(epoch from '2026-07-21 10:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807499 -2.829357)'), GeomFromEWKT('SRID=4674;POINT (-39.807518 -2.829218)'))) / (select extract(epoch from '2026-07-21 10:34:31'::timestamp) - extract(epoch from '2026-07-21 10:34:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807541 -2.829063)', '2026-07-21 10:34:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807518 -2.829218)'), GeomFromEWKT('SRID=4674;POINT (-39.807541 -2.829063)'))) / (select extract(epoch from '2026-07-21 10:34:37'::timestamp) - extract(epoch from '2026-07-21 10:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807518 -2.829218)'), GeomFromEWKT('SRID=4674;POINT (-39.807541 -2.829063)'))) / (select extract(epoch from '2026-07-21 10:34:37'::timestamp) - extract(epoch from '2026-07-21 10:34:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807541 -2.828953)', '2026-07-21 10:34:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807541 -2.829063)'), GeomFromEWKT('SRID=4674;POINT (-39.807541 -2.828953)'))) / (select extract(epoch from '2026-07-21 10:34:41'::timestamp) - extract(epoch from '2026-07-21 10:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807541 -2.829063)'), GeomFromEWKT('SRID=4674;POINT (-39.807541 -2.828953)'))) / (select extract(epoch from '2026-07-21 10:34:41'::timestamp) - extract(epoch from '2026-07-21 10:34:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807538 -2.828763)', '2026-07-21 10:34:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807541 -2.828953)'), GeomFromEWKT('SRID=4674;POINT (-39.807538 -2.828763)'))) / (select extract(epoch from '2026-07-21 10:34:48'::timestamp) - extract(epoch from '2026-07-21 10:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807541 -2.828953)'), GeomFromEWKT('SRID=4674;POINT (-39.807538 -2.828763)'))) / (select extract(epoch from '2026-07-21 10:34:48'::timestamp) - extract(epoch from '2026-07-21 10:34: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'), 47870, 'SRID=4674;POINT (-39.807531 -2.828622)', '2026-07-21 10:34:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807538 -2.828763)'), GeomFromEWKT('SRID=4674;POINT (-39.807531 -2.828622)'))) / (select extract(epoch from '2026-07-21 10:34:53'::timestamp) - extract(epoch from '2026-07-21 10:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807538 -2.828763)'), GeomFromEWKT('SRID=4674;POINT (-39.807531 -2.828622)'))) / (select extract(epoch from '2026-07-21 10:34:53'::timestamp) - extract(epoch from '2026-07-21 10:34:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807526 -2.828519)', '2026-07-21 10:34:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807531 -2.828622)'), GeomFromEWKT('SRID=4674;POINT (-39.807526 -2.828519)'))) / (select extract(epoch from '2026-07-21 10:34:57'::timestamp) - extract(epoch from '2026-07-21 10:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807531 -2.828622)'), GeomFromEWKT('SRID=4674;POINT (-39.807526 -2.828519)'))) / (select extract(epoch from '2026-07-21 10:34:57'::timestamp) - extract(epoch from '2026-07-21 10:34:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807521 -2.828413)', '2026-07-21 10:35:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807526 -2.828519)'), GeomFromEWKT('SRID=4674;POINT (-39.807521 -2.828413)'))) / (select extract(epoch from '2026-07-21 10:35:01'::timestamp) - extract(epoch from '2026-07-21 10:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807526 -2.828519)'), GeomFromEWKT('SRID=4674;POINT (-39.807521 -2.828413)'))) / (select extract(epoch from '2026-07-21 10:35:01'::timestamp) - extract(epoch from '2026-07-21 10:34:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807534 -2.828258)', '2026-07-21 10:35:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807521 -2.828413)'), GeomFromEWKT('SRID=4674;POINT (-39.807534 -2.828258)'))) / (select extract(epoch from '2026-07-21 10:35:07'::timestamp) - extract(epoch from '2026-07-21 10:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807521 -2.828413)'), GeomFromEWKT('SRID=4674;POINT (-39.807534 -2.828258)'))) / (select extract(epoch from '2026-07-21 10:35:07'::timestamp) - extract(epoch from '2026-07-21 10:35:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807574 -2.828102)', '2026-07-21 10:35:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807534 -2.828258)'), GeomFromEWKT('SRID=4674;POINT (-39.807574 -2.828102)'))) / (select extract(epoch from '2026-07-21 10:35:13'::timestamp) - extract(epoch from '2026-07-21 10:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807534 -2.828258)'), GeomFromEWKT('SRID=4674;POINT (-39.807574 -2.828102)'))) / (select extract(epoch from '2026-07-21 10:35:13'::timestamp) - extract(epoch from '2026-07-21 10:35:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.8076 -2.827972)', '2026-07-21 10:35:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807574 -2.828102)'), GeomFromEWKT('SRID=4674;POINT (-39.8076 -2.827972)'))) / (select extract(epoch from '2026-07-21 10:35:18'::timestamp) - extract(epoch from '2026-07-21 10:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807574 -2.828102)'), GeomFromEWKT('SRID=4674;POINT (-39.8076 -2.827972)'))) / (select extract(epoch from '2026-07-21 10:35:18'::timestamp) - extract(epoch from '2026-07-21 10:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807616 -2.827835)', '2026-07-21 10:35:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8076 -2.827972)'), GeomFromEWKT('SRID=4674;POINT (-39.807616 -2.827835)'))) / (select extract(epoch from '2026-07-21 10:35:23'::timestamp) - extract(epoch from '2026-07-21 10:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8076 -2.827972)'), GeomFromEWKT('SRID=4674;POINT (-39.807616 -2.827835)'))) / (select extract(epoch from '2026-07-21 10:35:23'::timestamp) - extract(epoch from '2026-07-21 10:35:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807615 -2.827778)', '2026-07-21 10:35:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807616 -2.827835)'), GeomFromEWKT('SRID=4674;POINT (-39.807615 -2.827778)'))) / (select extract(epoch from '2026-07-21 10:35:25'::timestamp) - extract(epoch from '2026-07-21 10:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807616 -2.827835)'), GeomFromEWKT('SRID=4674;POINT (-39.807615 -2.827778)'))) / (select extract(epoch from '2026-07-21 10:35:25'::timestamp) - extract(epoch from '2026-07-21 10:35:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807625 -2.827697)', '2026-07-21 10:35:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807615 -2.827778)'), GeomFromEWKT('SRID=4674;POINT (-39.807625 -2.827697)'))) / (select extract(epoch from '2026-07-21 10:35:28'::timestamp) - extract(epoch from '2026-07-21 10:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807615 -2.827778)'), GeomFromEWKT('SRID=4674;POINT (-39.807625 -2.827697)'))) / (select extract(epoch from '2026-07-21 10:35:28'::timestamp) - extract(epoch from '2026-07-21 10:35:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807638 -2.827621)', '2026-07-21 10:35:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807625 -2.827697)'), GeomFromEWKT('SRID=4674;POINT (-39.807638 -2.827621)'))) / (select extract(epoch from '2026-07-21 10:35:31'::timestamp) - extract(epoch from '2026-07-21 10:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807625 -2.827697)'), GeomFromEWKT('SRID=4674;POINT (-39.807638 -2.827621)'))) / (select extract(epoch from '2026-07-21 10:35:31'::timestamp) - extract(epoch from '2026-07-21 10:35: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'), 47870, 'SRID=4674;POINT (-39.807645 -2.827566)', '2026-07-21 10:35:33', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807638 -2.827621)'), GeomFromEWKT('SRID=4674;POINT (-39.807645 -2.827566)'))) / (select extract(epoch from '2026-07-21 10:35:33'::timestamp) - extract(epoch from '2026-07-21 10:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807638 -2.827621)'), GeomFromEWKT('SRID=4674;POINT (-39.807645 -2.827566)'))) / (select extract(epoch from '2026-07-21 10:35:33'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.807653 -2.827428)', '2026-07-21 10:35:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807645 -2.827566)'), GeomFromEWKT('SRID=4674;POINT (-39.807653 -2.827428)'))) / (select extract(epoch from '2026-07-21 10:35:38'::timestamp) - extract(epoch from '2026-07-21 10:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807645 -2.827566)'), GeomFromEWKT('SRID=4674;POINT (-39.807653 -2.827428)'))) / (select extract(epoch from '2026-07-21 10:35:38'::timestamp) - extract(epoch from '2026-07-21 10:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807653 -2.82732)', '2026-07-21 10:35:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807653 -2.827428)'), GeomFromEWKT('SRID=4674;POINT (-39.807653 -2.82732)'))) / (select extract(epoch from '2026-07-21 10:35:42'::timestamp) - extract(epoch from '2026-07-21 10:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807653 -2.827428)'), GeomFromEWKT('SRID=4674;POINT (-39.807653 -2.82732)'))) / (select extract(epoch from '2026-07-21 10:35:42'::timestamp) - extract(epoch from '2026-07-21 10:35: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'), 47870, 'SRID=4674;POINT (-39.807636 -2.827189)', '2026-07-21 10:35:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807653 -2.82732)'), GeomFromEWKT('SRID=4674;POINT (-39.807636 -2.827189)'))) / (select extract(epoch from '2026-07-21 10:35:47'::timestamp) - extract(epoch from '2026-07-21 10:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807653 -2.82732)'), GeomFromEWKT('SRID=4674;POINT (-39.807636 -2.827189)'))) / (select extract(epoch from '2026-07-21 10:35:47'::timestamp) - extract(epoch from '2026-07-21 10:35:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807614 -2.827031)', '2026-07-21 10:35:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807636 -2.827189)'), GeomFromEWKT('SRID=4674;POINT (-39.807614 -2.827031)'))) / (select extract(epoch from '2026-07-21 10:35:53'::timestamp) - extract(epoch from '2026-07-21 10:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807636 -2.827189)'), GeomFromEWKT('SRID=4674;POINT (-39.807614 -2.827031)'))) / (select extract(epoch from '2026-07-21 10:35:53'::timestamp) - extract(epoch from '2026-07-21 10:35: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'), 47870, 'SRID=4674;POINT (-39.807596 -2.8269)', '2026-07-21 10:35:58', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807614 -2.827031)'), GeomFromEWKT('SRID=4674;POINT (-39.807596 -2.8269)'))) / (select extract(epoch from '2026-07-21 10:35:58'::timestamp) - extract(epoch from '2026-07-21 10:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807614 -2.827031)'), GeomFromEWKT('SRID=4674;POINT (-39.807596 -2.8269)'))) / (select extract(epoch from '2026-07-21 10:35:58'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.807598 -2.826768)', '2026-07-21 10:36:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807596 -2.8269)'), GeomFromEWKT('SRID=4674;POINT (-39.807598 -2.826768)'))) / (select extract(epoch from '2026-07-21 10:36:03'::timestamp) - extract(epoch from '2026-07-21 10:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807596 -2.8269)'), GeomFromEWKT('SRID=4674;POINT (-39.807598 -2.826768)'))) / (select extract(epoch from '2026-07-21 10:36:03'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.807603 -2.826597)', '2026-07-21 10:36:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807598 -2.826768)'), GeomFromEWKT('SRID=4674;POINT (-39.807603 -2.826597)'))) / (select extract(epoch from '2026-07-21 10:36:09'::timestamp) - extract(epoch from '2026-07-21 10:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807598 -2.826768)'), GeomFromEWKT('SRID=4674;POINT (-39.807603 -2.826597)'))) / (select extract(epoch from '2026-07-21 10:36:09'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.807617 -2.826488)', '2026-07-21 10:36:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807603 -2.826597)'), GeomFromEWKT('SRID=4674;POINT (-39.807617 -2.826488)'))) / (select extract(epoch from '2026-07-21 10:36:13'::timestamp) - extract(epoch from '2026-07-21 10:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807603 -2.826597)'), GeomFromEWKT('SRID=4674;POINT (-39.807617 -2.826488)'))) / (select extract(epoch from '2026-07-21 10:36:13'::timestamp) - extract(epoch from '2026-07-21 10:36:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807621 -2.826324)', '2026-07-21 10:36:19', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807617 -2.826488)'), GeomFromEWKT('SRID=4674;POINT (-39.807621 -2.826324)'))) / (select extract(epoch from '2026-07-21 10:36:19'::timestamp) - extract(epoch from '2026-07-21 10:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807617 -2.826488)'), GeomFromEWKT('SRID=4674;POINT (-39.807621 -2.826324)'))) / (select extract(epoch from '2026-07-21 10:36:19'::timestamp) - extract(epoch from '2026-07-21 10:36:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80763 -2.826163)', '2026-07-21 10:36:25', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807621 -2.826324)'), GeomFromEWKT('SRID=4674;POINT (-39.80763 -2.826163)'))) / (select extract(epoch from '2026-07-21 10:36:25'::timestamp) - extract(epoch from '2026-07-21 10:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807621 -2.826324)'), GeomFromEWKT('SRID=4674;POINT (-39.80763 -2.826163)'))) / (select extract(epoch from '2026-07-21 10:36:25'::timestamp) - extract(epoch from '2026-07-21 10:36:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807649 -2.826023)', '2026-07-21 10:36:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80763 -2.826163)'), GeomFromEWKT('SRID=4674;POINT (-39.807649 -2.826023)'))) / (select extract(epoch from '2026-07-21 10:36:30'::timestamp) - extract(epoch from '2026-07-21 10:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80763 -2.826163)'), GeomFromEWKT('SRID=4674;POINT (-39.807649 -2.826023)'))) / (select extract(epoch from '2026-07-21 10:36:30'::timestamp) - extract(epoch from '2026-07-21 10:36:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807656 -2.82589)', '2026-07-21 10:36:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807649 -2.826023)'), GeomFromEWKT('SRID=4674;POINT (-39.807656 -2.82589)'))) / (select extract(epoch from '2026-07-21 10:36:35'::timestamp) - extract(epoch from '2026-07-21 10:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807649 -2.826023)'), GeomFromEWKT('SRID=4674;POINT (-39.807656 -2.82589)'))) / (select extract(epoch from '2026-07-21 10:36:35'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.807658 -2.825839)', '2026-07-21 10:36:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807656 -2.82589)'), GeomFromEWKT('SRID=4674;POINT (-39.807658 -2.825839)'))) / (select extract(epoch from '2026-07-21 10:36:37'::timestamp) - extract(epoch from '2026-07-21 10:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807656 -2.82589)'), GeomFromEWKT('SRID=4674;POINT (-39.807658 -2.825839)'))) / (select extract(epoch from '2026-07-21 10:36:37'::timestamp) - extract(epoch from '2026-07-21 10:36:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807652 -2.825756)', '2026-07-21 10:36:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807658 -2.825839)'), GeomFromEWKT('SRID=4674;POINT (-39.807652 -2.825756)'))) / (select extract(epoch from '2026-07-21 10:36:40'::timestamp) - extract(epoch from '2026-07-21 10:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807658 -2.825839)'), GeomFromEWKT('SRID=4674;POINT (-39.807652 -2.825756)'))) / (select extract(epoch from '2026-07-21 10:36:40'::timestamp) - extract(epoch from '2026-07-21 10:36:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807656 -2.8256)', '2026-07-21 10:36:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807652 -2.825756)'), GeomFromEWKT('SRID=4674;POINT (-39.807656 -2.8256)'))) / (select extract(epoch from '2026-07-21 10:36:46'::timestamp) - extract(epoch from '2026-07-21 10:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807652 -2.825756)'), GeomFromEWKT('SRID=4674;POINT (-39.807656 -2.8256)'))) / (select extract(epoch from '2026-07-21 10:36:46'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.807683 -2.825465)', '2026-07-21 10:36:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807656 -2.8256)'), GeomFromEWKT('SRID=4674;POINT (-39.807683 -2.825465)'))) / (select extract(epoch from '2026-07-21 10:36:51'::timestamp) - extract(epoch from '2026-07-21 10:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807656 -2.8256)'), GeomFromEWKT('SRID=4674;POINT (-39.807683 -2.825465)'))) / (select extract(epoch from '2026-07-21 10:36:51'::timestamp) - extract(epoch from '2026-07-21 10:36: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'), 47870, 'SRID=4674;POINT (-39.807703 -2.825306)', '2026-07-21 10:36:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807683 -2.825465)'), GeomFromEWKT('SRID=4674;POINT (-39.807703 -2.825306)'))) / (select extract(epoch from '2026-07-21 10:36:57'::timestamp) - extract(epoch from '2026-07-21 10:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807683 -2.825465)'), GeomFromEWKT('SRID=4674;POINT (-39.807703 -2.825306)'))) / (select extract(epoch from '2026-07-21 10:36:57'::timestamp) - extract(epoch from '2026-07-21 10:36: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'), 47870, 'SRID=4674;POINT (-39.807728 -2.825141)', '2026-07-21 10:37:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807703 -2.825306)'), GeomFromEWKT('SRID=4674;POINT (-39.807728 -2.825141)'))) / (select extract(epoch from '2026-07-21 10:37:03'::timestamp) - extract(epoch from '2026-07-21 10:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807703 -2.825306)'), GeomFromEWKT('SRID=4674;POINT (-39.807728 -2.825141)'))) / (select extract(epoch from '2026-07-21 10:37:03'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.807747 -2.825004)', '2026-07-21 10:37:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807728 -2.825141)'), GeomFromEWKT('SRID=4674;POINT (-39.807747 -2.825004)'))) / (select extract(epoch from '2026-07-21 10:37:08'::timestamp) - extract(epoch from '2026-07-21 10:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807728 -2.825141)'), GeomFromEWKT('SRID=4674;POINT (-39.807747 -2.825004)'))) / (select extract(epoch from '2026-07-21 10:37:08'::timestamp) - extract(epoch from '2026-07-21 10:37:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807778 -2.824842)', '2026-07-21 10:37:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807747 -2.825004)'), GeomFromEWKT('SRID=4674;POINT (-39.807778 -2.824842)'))) / (select extract(epoch from '2026-07-21 10:37:14'::timestamp) - extract(epoch from '2026-07-21 10:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807747 -2.825004)'), GeomFromEWKT('SRID=4674;POINT (-39.807778 -2.824842)'))) / (select extract(epoch from '2026-07-21 10:37:14'::timestamp) - extract(epoch from '2026-07-21 10:37:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807815 -2.824689)', '2026-07-21 10:37:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807778 -2.824842)'), GeomFromEWKT('SRID=4674;POINT (-39.807815 -2.824689)'))) / (select extract(epoch from '2026-07-21 10:37:20'::timestamp) - extract(epoch from '2026-07-21 10:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807778 -2.824842)'), GeomFromEWKT('SRID=4674;POINT (-39.807815 -2.824689)'))) / (select extract(epoch from '2026-07-21 10:37:20'::timestamp) - extract(epoch from '2026-07-21 10:37: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'), 47870, 'SRID=4674;POINT (-39.807851 -2.824528)', '2026-07-21 10:37:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807815 -2.824689)'), GeomFromEWKT('SRID=4674;POINT (-39.807851 -2.824528)'))) / (select extract(epoch from '2026-07-21 10:37:26'::timestamp) - extract(epoch from '2026-07-21 10:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807815 -2.824689)'), GeomFromEWKT('SRID=4674;POINT (-39.807851 -2.824528)'))) / (select extract(epoch from '2026-07-21 10:37:26'::timestamp) - extract(epoch from '2026-07-21 10:37:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807879 -2.82439)', '2026-07-21 10:37:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807851 -2.824528)'), GeomFromEWKT('SRID=4674;POINT (-39.807879 -2.82439)'))) / (select extract(epoch from '2026-07-21 10:37:31'::timestamp) - extract(epoch from '2026-07-21 10:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807851 -2.824528)'), GeomFromEWKT('SRID=4674;POINT (-39.807879 -2.82439)'))) / (select extract(epoch from '2026-07-21 10:37:31'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.807904 -2.824249)', '2026-07-21 10:37:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807879 -2.82439)'), GeomFromEWKT('SRID=4674;POINT (-39.807904 -2.824249)'))) / (select extract(epoch from '2026-07-21 10:37:36'::timestamp) - extract(epoch from '2026-07-21 10:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807879 -2.82439)'), GeomFromEWKT('SRID=4674;POINT (-39.807904 -2.824249)'))) / (select extract(epoch from '2026-07-21 10:37:36'::timestamp) - extract(epoch from '2026-07-21 10:37: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'), 47870, 'SRID=4674;POINT (-39.807934 -2.82409)', '2026-07-21 10:37:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807904 -2.824249)'), GeomFromEWKT('SRID=4674;POINT (-39.807934 -2.82409)'))) / (select extract(epoch from '2026-07-21 10:37:42'::timestamp) - extract(epoch from '2026-07-21 10:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807904 -2.824249)'), GeomFromEWKT('SRID=4674;POINT (-39.807934 -2.82409)'))) / (select extract(epoch from '2026-07-21 10:37:42'::timestamp) - extract(epoch from '2026-07-21 10:37:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807971 -2.823925)', '2026-07-21 10:37:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807934 -2.82409)'), GeomFromEWKT('SRID=4674;POINT (-39.807971 -2.823925)'))) / (select extract(epoch from '2026-07-21 10:37:48'::timestamp) - extract(epoch from '2026-07-21 10:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807934 -2.82409)'), GeomFromEWKT('SRID=4674;POINT (-39.807971 -2.823925)'))) / (select extract(epoch from '2026-07-21 10:37:48'::timestamp) - extract(epoch from '2026-07-21 10:37: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'), 47870, 'SRID=4674;POINT (-39.807995 -2.82376)', '2026-07-21 10:37:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807971 -2.823925)'), GeomFromEWKT('SRID=4674;POINT (-39.807995 -2.82376)'))) / (select extract(epoch from '2026-07-21 10:37:54'::timestamp) - extract(epoch from '2026-07-21 10:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807971 -2.823925)'), GeomFromEWKT('SRID=4674;POINT (-39.807995 -2.82376)'))) / (select extract(epoch from '2026-07-21 10:37:54'::timestamp) - extract(epoch from '2026-07-21 10:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808001 -2.823594)', '2026-07-21 10:38:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807995 -2.82376)'), GeomFromEWKT('SRID=4674;POINT (-39.808001 -2.823594)'))) / (select extract(epoch from '2026-07-21 10:38:00'::timestamp) - extract(epoch from '2026-07-21 10:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807995 -2.82376)'), GeomFromEWKT('SRID=4674;POINT (-39.808001 -2.823594)'))) / (select extract(epoch from '2026-07-21 10:38:00'::timestamp) - extract(epoch from '2026-07-21 10:37:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807991 -2.823464)', '2026-07-21 10:38:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808001 -2.823594)'), GeomFromEWKT('SRID=4674;POINT (-39.807991 -2.823464)'))) / (select extract(epoch from '2026-07-21 10:38:05'::timestamp) - extract(epoch from '2026-07-21 10:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808001 -2.823594)'), GeomFromEWKT('SRID=4674;POINT (-39.807991 -2.823464)'))) / (select extract(epoch from '2026-07-21 10:38:05'::timestamp) - extract(epoch from '2026-07-21 10:38:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807977 -2.823384)', '2026-07-21 10:38:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807991 -2.823464)'), GeomFromEWKT('SRID=4674;POINT (-39.807977 -2.823384)'))) / (select extract(epoch from '2026-07-21 10:38:08'::timestamp) - extract(epoch from '2026-07-21 10:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807991 -2.823464)'), GeomFromEWKT('SRID=4674;POINT (-39.807977 -2.823384)'))) / (select extract(epoch from '2026-07-21 10:38:08'::timestamp) - extract(epoch from '2026-07-21 10:38: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'), 47870, 'SRID=4674;POINT (-39.807974 -2.82336)', '2026-07-21 10:38:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807977 -2.823384)'), GeomFromEWKT('SRID=4674;POINT (-39.807974 -2.82336)'))) / (select extract(epoch from '2026-07-21 10:38:09'::timestamp) - extract(epoch from '2026-07-21 10:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807977 -2.823384)'), GeomFromEWKT('SRID=4674;POINT (-39.807974 -2.82336)'))) / (select extract(epoch from '2026-07-21 10:38:09'::timestamp) - extract(epoch from '2026-07-21 10:38:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807949 -2.823231)', '2026-07-21 10:38:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807974 -2.82336)'), GeomFromEWKT('SRID=4674;POINT (-39.807949 -2.823231)'))) / (select extract(epoch from '2026-07-21 10:38:14'::timestamp) - extract(epoch from '2026-07-21 10:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807974 -2.82336)'), GeomFromEWKT('SRID=4674;POINT (-39.807949 -2.823231)'))) / (select extract(epoch from '2026-07-21 10:38:14'::timestamp) - extract(epoch from '2026-07-21 10:38:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807935 -2.823104)', '2026-07-21 10:38:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807949 -2.823231)'), GeomFromEWKT('SRID=4674;POINT (-39.807935 -2.823104)'))) / (select extract(epoch from '2026-07-21 10:38:19'::timestamp) - extract(epoch from '2026-07-21 10:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807949 -2.823231)'), GeomFromEWKT('SRID=4674;POINT (-39.807935 -2.823104)'))) / (select extract(epoch from '2026-07-21 10:38:19'::timestamp) - extract(epoch from '2026-07-21 10:38:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807926 -2.822996)', '2026-07-21 10:38:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807935 -2.823104)'), GeomFromEWKT('SRID=4674;POINT (-39.807926 -2.822996)'))) / (select extract(epoch from '2026-07-21 10:38:23'::timestamp) - extract(epoch from '2026-07-21 10:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807935 -2.823104)'), GeomFromEWKT('SRID=4674;POINT (-39.807926 -2.822996)'))) / (select extract(epoch from '2026-07-21 10:38:23'::timestamp) - extract(epoch from '2026-07-21 10:38: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'), 47870, 'SRID=4674;POINT (-39.80791 -2.822787)', '2026-07-21 10:38:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807926 -2.822996)'), GeomFromEWKT('SRID=4674;POINT (-39.80791 -2.822787)'))) / (select extract(epoch from '2026-07-21 10:38:31'::timestamp) - extract(epoch from '2026-07-21 10:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807926 -2.822996)'), GeomFromEWKT('SRID=4674;POINT (-39.80791 -2.822787)'))) / (select extract(epoch from '2026-07-21 10:38:31'::timestamp) - extract(epoch from '2026-07-21 10:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807911 -2.822628)', '2026-07-21 10:38:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80791 -2.822787)'), GeomFromEWKT('SRID=4674;POINT (-39.807911 -2.822628)'))) / (select extract(epoch from '2026-07-21 10:38:37'::timestamp) - extract(epoch from '2026-07-21 10:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80791 -2.822787)'), GeomFromEWKT('SRID=4674;POINT (-39.807911 -2.822628)'))) / (select extract(epoch from '2026-07-21 10:38:37'::timestamp) - extract(epoch from '2026-07-21 10:38: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'), 47870, 'SRID=4674;POINT (-39.807937 -2.822469)', '2026-07-21 10:38:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807911 -2.822628)'), GeomFromEWKT('SRID=4674;POINT (-39.807937 -2.822469)'))) / (select extract(epoch from '2026-07-21 10:38:43'::timestamp) - extract(epoch from '2026-07-21 10:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807911 -2.822628)'), GeomFromEWKT('SRID=4674;POINT (-39.807937 -2.822469)'))) / (select extract(epoch from '2026-07-21 10:38:43'::timestamp) - extract(epoch from '2026-07-21 10:38:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807951 -2.822303)', '2026-07-21 10:38:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807937 -2.822469)'), GeomFromEWKT('SRID=4674;POINT (-39.807951 -2.822303)'))) / (select extract(epoch from '2026-07-21 10:38:49'::timestamp) - extract(epoch from '2026-07-21 10:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807937 -2.822469)'), GeomFromEWKT('SRID=4674;POINT (-39.807951 -2.822303)'))) / (select extract(epoch from '2026-07-21 10:38:49'::timestamp) - extract(epoch from '2026-07-21 10:38:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807948 -2.822116)', '2026-07-21 10:38:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807951 -2.822303)'), GeomFromEWKT('SRID=4674;POINT (-39.807948 -2.822116)'))) / (select extract(epoch from '2026-07-21 10:38:56'::timestamp) - extract(epoch from '2026-07-21 10:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807951 -2.822303)'), GeomFromEWKT('SRID=4674;POINT (-39.807948 -2.822116)'))) / (select extract(epoch from '2026-07-21 10:38:56'::timestamp) - extract(epoch from '2026-07-21 10:38: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'), 47870, 'SRID=4674;POINT (-39.807934 -2.821989)', '2026-07-21 10:39:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807948 -2.822116)'), GeomFromEWKT('SRID=4674;POINT (-39.807934 -2.821989)'))) / (select extract(epoch from '2026-07-21 10:39:01'::timestamp) - extract(epoch from '2026-07-21 10:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807948 -2.822116)'), GeomFromEWKT('SRID=4674;POINT (-39.807934 -2.821989)'))) / (select extract(epoch from '2026-07-21 10:39:01'::timestamp) - extract(epoch from '2026-07-21 10:38: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'), 47870, 'SRID=4674;POINT (-39.807921 -2.821886)', '2026-07-21 10:39:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807934 -2.821989)'), GeomFromEWKT('SRID=4674;POINT (-39.807921 -2.821886)'))) / (select extract(epoch from '2026-07-21 10:39:05'::timestamp) - extract(epoch from '2026-07-21 10:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807934 -2.821989)'), GeomFromEWKT('SRID=4674;POINT (-39.807921 -2.821886)'))) / (select extract(epoch from '2026-07-21 10:39:05'::timestamp) - extract(epoch from '2026-07-21 10:39: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'), 47870, 'SRID=4674;POINT (-39.807914 -2.821775)', '2026-07-21 10:39:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807921 -2.821886)'), GeomFromEWKT('SRID=4674;POINT (-39.807914 -2.821775)'))) / (select extract(epoch from '2026-07-21 10:39:09'::timestamp) - extract(epoch from '2026-07-21 10:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807921 -2.821886)'), GeomFromEWKT('SRID=4674;POINT (-39.807914 -2.821775)'))) / (select extract(epoch from '2026-07-21 10:39:09'::timestamp) - extract(epoch from '2026-07-21 10:39:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807924 -2.821666)', '2026-07-21 10:39:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807914 -2.821775)'), GeomFromEWKT('SRID=4674;POINT (-39.807924 -2.821666)'))) / (select extract(epoch from '2026-07-21 10:39:13'::timestamp) - extract(epoch from '2026-07-21 10:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807914 -2.821775)'), GeomFromEWKT('SRID=4674;POINT (-39.807924 -2.821666)'))) / (select extract(epoch from '2026-07-21 10:39:13'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.807944 -2.82153)', '2026-07-21 10:39:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807924 -2.821666)'), GeomFromEWKT('SRID=4674;POINT (-39.807944 -2.82153)'))) / (select extract(epoch from '2026-07-21 10:39:18'::timestamp) - extract(epoch from '2026-07-21 10:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807924 -2.821666)'), GeomFromEWKT('SRID=4674;POINT (-39.807944 -2.82153)'))) / (select extract(epoch from '2026-07-21 10:39:18'::timestamp) - extract(epoch from '2026-07-21 10:39: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'), 47870, 'SRID=4674;POINT (-39.80797 -2.821372)', '2026-07-21 10:39:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807944 -2.82153)'), GeomFromEWKT('SRID=4674;POINT (-39.80797 -2.821372)'))) / (select extract(epoch from '2026-07-21 10:39:24'::timestamp) - extract(epoch from '2026-07-21 10:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807944 -2.82153)'), GeomFromEWKT('SRID=4674;POINT (-39.80797 -2.821372)'))) / (select extract(epoch from '2026-07-21 10:39:24'::timestamp) - extract(epoch from '2026-07-21 10:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807986 -2.82124)', '2026-07-21 10:39:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80797 -2.821372)'), GeomFromEWKT('SRID=4674;POINT (-39.807986 -2.82124)'))) / (select extract(epoch from '2026-07-21 10:39:29'::timestamp) - extract(epoch from '2026-07-21 10:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80797 -2.821372)'), GeomFromEWKT('SRID=4674;POINT (-39.807986 -2.82124)'))) / (select extract(epoch from '2026-07-21 10:39:29'::timestamp) - extract(epoch from '2026-07-21 10:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808012 -2.821075)', '2026-07-21 10:39:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807986 -2.82124)'), GeomFromEWKT('SRID=4674;POINT (-39.808012 -2.821075)'))) / (select extract(epoch from '2026-07-21 10:39:35'::timestamp) - extract(epoch from '2026-07-21 10:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807986 -2.82124)'), GeomFromEWKT('SRID=4674;POINT (-39.808012 -2.821075)'))) / (select extract(epoch from '2026-07-21 10:39:35'::timestamp) - extract(epoch from '2026-07-21 10:39:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808037 -2.820934)', '2026-07-21 10:39:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808012 -2.821075)'), GeomFromEWKT('SRID=4674;POINT (-39.808037 -2.820934)'))) / (select extract(epoch from '2026-07-21 10:39:40'::timestamp) - extract(epoch from '2026-07-21 10:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808012 -2.821075)'), GeomFromEWKT('SRID=4674;POINT (-39.808037 -2.820934)'))) / (select extract(epoch from '2026-07-21 10:39:40'::timestamp) - extract(epoch from '2026-07-21 10:39:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808062 -2.820795)', '2026-07-21 10:39:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808037 -2.820934)'), GeomFromEWKT('SRID=4674;POINT (-39.808062 -2.820795)'))) / (select extract(epoch from '2026-07-21 10:39:45'::timestamp) - extract(epoch from '2026-07-21 10:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808037 -2.820934)'), GeomFromEWKT('SRID=4674;POINT (-39.808062 -2.820795)'))) / (select extract(epoch from '2026-07-21 10:39:45'::timestamp) - extract(epoch from '2026-07-21 10:39: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'), 47870, 'SRID=4674;POINT (-39.808074 -2.820627)', '2026-07-21 10:39:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808062 -2.820795)'), GeomFromEWKT('SRID=4674;POINT (-39.808074 -2.820627)'))) / (select extract(epoch from '2026-07-21 10:39:51'::timestamp) - extract(epoch from '2026-07-21 10:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808062 -2.820795)'), GeomFromEWKT('SRID=4674;POINT (-39.808074 -2.820627)'))) / (select extract(epoch from '2026-07-21 10:39:51'::timestamp) - extract(epoch from '2026-07-21 10:39: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'), 47870, 'SRID=4674;POINT (-39.808073 -2.820491)', '2026-07-21 10:39:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808074 -2.820627)'), GeomFromEWKT('SRID=4674;POINT (-39.808073 -2.820491)'))) / (select extract(epoch from '2026-07-21 10:39:56'::timestamp) - extract(epoch from '2026-07-21 10:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808074 -2.820627)'), GeomFromEWKT('SRID=4674;POINT (-39.808073 -2.820491)'))) / (select extract(epoch from '2026-07-21 10:39:56'::timestamp) - extract(epoch from '2026-07-21 10:39: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'), 47870, 'SRID=4674;POINT (-39.808065 -2.820358)', '2026-07-21 10:40:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808073 -2.820491)'), GeomFromEWKT('SRID=4674;POINT (-39.808065 -2.820358)'))) / (select extract(epoch from '2026-07-21 10:40:01'::timestamp) - extract(epoch from '2026-07-21 10:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808073 -2.820491)'), GeomFromEWKT('SRID=4674;POINT (-39.808065 -2.820358)'))) / (select extract(epoch from '2026-07-21 10:40:01'::timestamp) - extract(epoch from '2026-07-21 10:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808051 -2.820199)', '2026-07-21 10:40:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808065 -2.820358)'), GeomFromEWKT('SRID=4674;POINT (-39.808051 -2.820199)'))) / (select extract(epoch from '2026-07-21 10:40:07'::timestamp) - extract(epoch from '2026-07-21 10:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808065 -2.820358)'), GeomFromEWKT('SRID=4674;POINT (-39.808051 -2.820199)'))) / (select extract(epoch from '2026-07-21 10:40:07'::timestamp) - extract(epoch from '2026-07-21 10:40: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'), 47870, 'SRID=4674;POINT (-39.80803 -2.820021)', '2026-07-21 10:40:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808051 -2.820199)'), GeomFromEWKT('SRID=4674;POINT (-39.80803 -2.820021)'))) / (select extract(epoch from '2026-07-21 10:40:14'::timestamp) - extract(epoch from '2026-07-21 10:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808051 -2.820199)'), GeomFromEWKT('SRID=4674;POINT (-39.80803 -2.820021)'))) / (select extract(epoch from '2026-07-21 10:40:14'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.808056 -2.819809)', '2026-07-21 10:40:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80803 -2.820021)'), GeomFromEWKT('SRID=4674;POINT (-39.808056 -2.819809)'))) / (select extract(epoch from '2026-07-21 10:40:22'::timestamp) - extract(epoch from '2026-07-21 10:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80803 -2.820021)'), GeomFromEWKT('SRID=4674;POINT (-39.808056 -2.819809)'))) / (select extract(epoch from '2026-07-21 10:40:22'::timestamp) - extract(epoch from '2026-07-21 10:40: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'), 47870, 'SRID=4674;POINT (-39.808081 -2.81967)', '2026-07-21 10:40:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808056 -2.819809)'), GeomFromEWKT('SRID=4674;POINT (-39.808081 -2.81967)'))) / (select extract(epoch from '2026-07-21 10:40:27'::timestamp) - extract(epoch from '2026-07-21 10:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808056 -2.819809)'), GeomFromEWKT('SRID=4674;POINT (-39.808081 -2.81967)'))) / (select extract(epoch from '2026-07-21 10:40:27'::timestamp) - extract(epoch from '2026-07-21 10:40: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'), 47870, 'SRID=4674;POINT (-39.808089 -2.819533)', '2026-07-21 10:40:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808081 -2.81967)'), GeomFromEWKT('SRID=4674;POINT (-39.808089 -2.819533)'))) / (select extract(epoch from '2026-07-21 10:40:32'::timestamp) - extract(epoch from '2026-07-21 10:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808081 -2.81967)'), GeomFromEWKT('SRID=4674;POINT (-39.808089 -2.819533)'))) / (select extract(epoch from '2026-07-21 10:40:32'::timestamp) - extract(epoch from '2026-07-21 10:40:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808073 -2.81938)', '2026-07-21 10:40:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808089 -2.819533)'), GeomFromEWKT('SRID=4674;POINT (-39.808073 -2.81938)'))) / (select extract(epoch from '2026-07-21 10:40:38'::timestamp) - extract(epoch from '2026-07-21 10:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808089 -2.819533)'), GeomFromEWKT('SRID=4674;POINT (-39.808073 -2.81938)'))) / (select extract(epoch from '2026-07-21 10:40:38'::timestamp) - extract(epoch from '2026-07-21 10:40: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'), 47870, 'SRID=4674;POINT (-39.808069 -2.819223)', '2026-07-21 10:40:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808073 -2.81938)'), GeomFromEWKT('SRID=4674;POINT (-39.808069 -2.819223)'))) / (select extract(epoch from '2026-07-21 10:40:44'::timestamp) - extract(epoch from '2026-07-21 10:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808073 -2.81938)'), GeomFromEWKT('SRID=4674;POINT (-39.808069 -2.819223)'))) / (select extract(epoch from '2026-07-21 10:40:44'::timestamp) - extract(epoch from '2026-07-21 10:40:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808076 -2.819109)', '2026-07-21 10:40:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808069 -2.819223)'), GeomFromEWKT('SRID=4674;POINT (-39.808076 -2.819109)'))) / (select extract(epoch from '2026-07-21 10:40:48'::timestamp) - extract(epoch from '2026-07-21 10:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808069 -2.819223)'), GeomFromEWKT('SRID=4674;POINT (-39.808076 -2.819109)'))) / (select extract(epoch from '2026-07-21 10:40:48'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.808088 -2.818964)', '2026-07-21 10:40:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808076 -2.819109)'), GeomFromEWKT('SRID=4674;POINT (-39.808088 -2.818964)'))) / (select extract(epoch from '2026-07-21 10:40:53'::timestamp) - extract(epoch from '2026-07-21 10:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808076 -2.819109)'), GeomFromEWKT('SRID=4674;POINT (-39.808088 -2.818964)'))) / (select extract(epoch from '2026-07-21 10:40:53'::timestamp) - extract(epoch from '2026-07-21 10:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.8081 -2.818911)', '2026-07-21 10:40:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808088 -2.818964)'), GeomFromEWKT('SRID=4674;POINT (-39.8081 -2.818911)'))) / (select extract(epoch from '2026-07-21 10:40:55'::timestamp) - extract(epoch from '2026-07-21 10:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808088 -2.818964)'), GeomFromEWKT('SRID=4674;POINT (-39.8081 -2.818911)'))) / (select extract(epoch from '2026-07-21 10:40:55'::timestamp) - extract(epoch from '2026-07-21 10:40:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808103 -2.818859)', '2026-07-21 10:40:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8081 -2.818911)'), GeomFromEWKT('SRID=4674;POINT (-39.808103 -2.818859)'))) / (select extract(epoch from '2026-07-21 10:40:57'::timestamp) - extract(epoch from '2026-07-21 10:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8081 -2.818911)'), GeomFromEWKT('SRID=4674;POINT (-39.808103 -2.818859)'))) / (select extract(epoch from '2026-07-21 10:40:57'::timestamp) - extract(epoch from '2026-07-21 10:40: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'), 47870, 'SRID=4674;POINT (-39.808105 -2.818733)', '2026-07-21 10:41:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808103 -2.818859)'), GeomFromEWKT('SRID=4674;POINT (-39.808105 -2.818733)'))) / (select extract(epoch from '2026-07-21 10:41:02'::timestamp) - extract(epoch from '2026-07-21 10:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808103 -2.818859)'), GeomFromEWKT('SRID=4674;POINT (-39.808105 -2.818733)'))) / (select extract(epoch from '2026-07-21 10:41:02'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.808099 -2.818603)', '2026-07-21 10:41:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808105 -2.818733)'), GeomFromEWKT('SRID=4674;POINT (-39.808099 -2.818603)'))) / (select extract(epoch from '2026-07-21 10:41:07'::timestamp) - extract(epoch from '2026-07-21 10:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808105 -2.818733)'), GeomFromEWKT('SRID=4674;POINT (-39.808099 -2.818603)'))) / (select extract(epoch from '2026-07-21 10:41:07'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.808109 -2.818444)', '2026-07-21 10:41:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808099 -2.818603)'), GeomFromEWKT('SRID=4674;POINT (-39.808109 -2.818444)'))) / (select extract(epoch from '2026-07-21 10:41:13'::timestamp) - extract(epoch from '2026-07-21 10:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808099 -2.818603)'), GeomFromEWKT('SRID=4674;POINT (-39.808109 -2.818444)'))) / (select extract(epoch from '2026-07-21 10:41:13'::timestamp) - extract(epoch from '2026-07-21 10: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'), 47870, 'SRID=4674;POINT (-39.80811 -2.81831)', '2026-07-21 10:41:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808109 -2.818444)'), GeomFromEWKT('SRID=4674;POINT (-39.80811 -2.81831)'))) / (select extract(epoch from '2026-07-21 10:41:18'::timestamp) - extract(epoch from '2026-07-21 10:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808109 -2.818444)'), GeomFromEWKT('SRID=4674;POINT (-39.80811 -2.81831)'))) / (select extract(epoch from '2026-07-21 10:41:18'::timestamp) - extract(epoch from '2026-07-21 10:41: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'), 47870, 'SRID=4674;POINT (-39.808113 -2.818183)', '2026-07-21 10:41:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80811 -2.81831)'), GeomFromEWKT('SRID=4674;POINT (-39.808113 -2.818183)'))) / (select extract(epoch from '2026-07-21 10:41:23'::timestamp) - extract(epoch from '2026-07-21 10:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80811 -2.81831)'), GeomFromEWKT('SRID=4674;POINT (-39.808113 -2.818183)'))) / (select extract(epoch from '2026-07-21 10:41:23'::timestamp) - extract(epoch from '2026-07-21 10:41:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808116 -2.818013)', '2026-07-21 10:41:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808113 -2.818183)'), GeomFromEWKT('SRID=4674;POINT (-39.808116 -2.818013)'))) / (select extract(epoch from '2026-07-21 10:41:29'::timestamp) - extract(epoch from '2026-07-21 10:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808113 -2.818183)'), GeomFromEWKT('SRID=4674;POINT (-39.808116 -2.818013)'))) / (select extract(epoch from '2026-07-21 10:41:29'::timestamp) - extract(epoch from '2026-07-21 10:41: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'), 47870, 'SRID=4674;POINT (-39.808131 -2.817874)', '2026-07-21 10:41:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808116 -2.818013)'), GeomFromEWKT('SRID=4674;POINT (-39.808131 -2.817874)'))) / (select extract(epoch from '2026-07-21 10:41:34'::timestamp) - extract(epoch from '2026-07-21 10:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808116 -2.818013)'), GeomFromEWKT('SRID=4674;POINT (-39.808131 -2.817874)'))) / (select extract(epoch from '2026-07-21 10:41:34'::timestamp) - extract(epoch from '2026-07-21 10:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808127 -2.817766)', '2026-07-21 10:41:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808131 -2.817874)'), GeomFromEWKT('SRID=4674;POINT (-39.808127 -2.817766)'))) / (select extract(epoch from '2026-07-21 10:41:38'::timestamp) - extract(epoch from '2026-07-21 10:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808131 -2.817874)'), GeomFromEWKT('SRID=4674;POINT (-39.808127 -2.817766)'))) / (select extract(epoch from '2026-07-21 10:41:38'::timestamp) - extract(epoch from '2026-07-21 10:41:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808119 -2.817689)', '2026-07-21 10:41:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808127 -2.817766)'), GeomFromEWKT('SRID=4674;POINT (-39.808119 -2.817689)'))) / (select extract(epoch from '2026-07-21 10:41:41'::timestamp) - extract(epoch from '2026-07-21 10:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808127 -2.817766)'), GeomFromEWKT('SRID=4674;POINT (-39.808119 -2.817689)'))) / (select extract(epoch from '2026-07-21 10:41:41'::timestamp) - extract(epoch from '2026-07-21 10:41:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808105 -2.81764)', '2026-07-21 10:41:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808119 -2.817689)'), GeomFromEWKT('SRID=4674;POINT (-39.808105 -2.81764)'))) / (select extract(epoch from '2026-07-21 10:41:43'::timestamp) - extract(epoch from '2026-07-21 10:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808119 -2.817689)'), GeomFromEWKT('SRID=4674;POINT (-39.808105 -2.81764)'))) / (select extract(epoch from '2026-07-21 10:41:43'::timestamp) - extract(epoch from '2026-07-21 10:41:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
