BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823783356696 -2.9258430283517)', '2026-07-22 05:56:35', -35.799987792969, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823798863217 -2.9256646614522)', '2026-07-22 05:56:44', -25.399993896484, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823783356696 -2.9258430283517)'), GeomFromEWKT('SRID=4674;POINT (-39.823798863217 -2.9256646614522)'))) / (select extract(epoch from '2026-07-22 05:56:44'::timestamp) - extract(epoch from '2026-07-22 05:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823783356696 -2.9258430283517)'), GeomFromEWKT('SRID=4674;POINT (-39.823798863217 -2.9256646614522)'))) / (select extract(epoch from '2026-07-22 05:56:44'::timestamp) - extract(epoch from '2026-07-22 05:56: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'), 47867, 'SRID=4674;POINT (-39.823771035299 -2.9255492426455)', '2026-07-22 05:56:51', -27.600006103516, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823798863217 -2.9256646614522)'), GeomFromEWKT('SRID=4674;POINT (-39.823771035299 -2.9255492426455)'))) / (select extract(epoch from '2026-07-22 05:56:51'::timestamp) - extract(epoch from '2026-07-22 05:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823798863217 -2.9256646614522)'), GeomFromEWKT('SRID=4674;POINT (-39.823771035299 -2.9255492426455)'))) / (select extract(epoch from '2026-07-22 05:56:51'::timestamp) - extract(epoch from '2026-07-22 05:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823748320341 -2.9254111927003)', '2026-07-22 05:57:00', -34.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823771035299 -2.9255492426455)'), GeomFromEWKT('SRID=4674;POINT (-39.823748320341 -2.9254111927003)'))) / (select extract(epoch from '2026-07-22 05:57:00'::timestamp) - extract(epoch from '2026-07-22 05:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823771035299 -2.9255492426455)'), GeomFromEWKT('SRID=4674;POINT (-39.823748320341 -2.9254111927003)'))) / (select extract(epoch from '2026-07-22 05:57:00'::timestamp) - extract(epoch from '2026-07-22 05:56:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823813950643 -2.9252325743437)', '2026-07-22 05:57:10', -36.600006103516, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823748320341 -2.9254111927003)'), GeomFromEWKT('SRID=4674;POINT (-39.823813950643 -2.9252325743437)'))) / (select extract(epoch from '2026-07-22 05:57:10'::timestamp) - extract(epoch from '2026-07-22 05:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823748320341 -2.9254111927003)'), GeomFromEWKT('SRID=4674;POINT (-39.823813950643 -2.9252325743437)'))) / (select extract(epoch from '2026-07-22 05:57:10'::timestamp) - extract(epoch from '2026-07-22 05:57: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'), 47867, 'SRID=4674;POINT (-39.823834821582 -2.9250717256218)', '2026-07-22 05:57:18', -36.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823813950643 -2.9252325743437)'), GeomFromEWKT('SRID=4674;POINT (-39.823834821582 -2.9250717256218)'))) / (select extract(epoch from '2026-07-22 05:57:18'::timestamp) - extract(epoch from '2026-07-22 05:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823813950643 -2.9252325743437)'), GeomFromEWKT('SRID=4674;POINT (-39.823834821582 -2.9250717256218)'))) / (select extract(epoch from '2026-07-22 05:57:18'::timestamp) - extract(epoch from '2026-07-22 05:57:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823922244832 -2.9249777644873)', '2026-07-22 05:57:24', -38, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823834821582 -2.9250717256218)'), GeomFromEWKT('SRID=4674;POINT (-39.823922244832 -2.9249777644873)'))) / (select extract(epoch from '2026-07-22 05:57:24'::timestamp) - extract(epoch from '2026-07-22 05:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823834821582 -2.9250717256218)'), GeomFromEWKT('SRID=4674;POINT (-39.823922244832 -2.9249777644873)'))) / (select extract(epoch from '2026-07-22 05:57:24'::timestamp) - extract(epoch from '2026-07-22 05:57: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'), 47867, 'SRID=4674;POINT (-39.823976894841 -2.9248096235096)', '2026-07-22 05:57:32', -34.399993896484, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823922244832 -2.9249777644873)'), GeomFromEWKT('SRID=4674;POINT (-39.823976894841 -2.9248096235096)'))) / (select extract(epoch from '2026-07-22 05:57:32'::timestamp) - extract(epoch from '2026-07-22 05:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823922244832 -2.9249777644873)'), GeomFromEWKT('SRID=4674;POINT (-39.823976894841 -2.9248096235096)'))) / (select extract(epoch from '2026-07-22 05:57:32'::timestamp) - extract(epoch from '2026-07-22 05:57:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823949486017 -2.9246431589127)', '2026-07-22 05:57:40', -35.399993896484, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823976894841 -2.9248096235096)'), GeomFromEWKT('SRID=4674;POINT (-39.823949486017 -2.9246431589127)'))) / (select extract(epoch from '2026-07-22 05:57:40'::timestamp) - extract(epoch from '2026-07-22 05:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823976894841 -2.9248096235096)'), GeomFromEWKT('SRID=4674;POINT (-39.823949486017 -2.9246431589127)'))) / (select extract(epoch from '2026-07-22 05:57:40'::timestamp) - extract(epoch from '2026-07-22 05:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823983768001 -2.9244840703905)', '2026-07-22 05:57:48', -35.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823949486017 -2.9246431589127)'), GeomFromEWKT('SRID=4674;POINT (-39.823983768001 -2.9244840703905)'))) / (select extract(epoch from '2026-07-22 05:57:48'::timestamp) - extract(epoch from '2026-07-22 05:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823949486017 -2.9246431589127)'), GeomFromEWKT('SRID=4674;POINT (-39.823983768001 -2.9244840703905)'))) / (select extract(epoch from '2026-07-22 05:57:48'::timestamp) - extract(epoch from '2026-07-22 05:57: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'), 47867, 'SRID=4674;POINT (-39.824029952288 -2.9243152588606)', '2026-07-22 05:57:57', -32.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823983768001 -2.9244840703905)'), GeomFromEWKT('SRID=4674;POINT (-39.824029952288 -2.9243152588606)'))) / (select extract(epoch from '2026-07-22 05:57:57'::timestamp) - extract(epoch from '2026-07-22 05:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823983768001 -2.9244840703905)'), GeomFromEWKT('SRID=4674;POINT (-39.824029952288 -2.9243152588606)'))) / (select extract(epoch from '2026-07-22 05:57:57'::timestamp) - extract(epoch from '2026-07-22 05:57: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'), 47867, 'SRID=4674;POINT (-39.824154675007 -2.9241919610649)', '2026-07-22 05:58:06', -30.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824029952288 -2.9243152588606)'), GeomFromEWKT('SRID=4674;POINT (-39.824154675007 -2.9241919610649)'))) / (select extract(epoch from '2026-07-22 05:58:06'::timestamp) - extract(epoch from '2026-07-22 05:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824029952288 -2.9243152588606)'), GeomFromEWKT('SRID=4674;POINT (-39.824154675007 -2.9241919610649)'))) / (select extract(epoch from '2026-07-22 05:58:06'::timestamp) - extract(epoch from '2026-07-22 05:57:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824227681383 -2.9240376502275)', '2026-07-22 05:58:14', -25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824154675007 -2.9241919610649)'), GeomFromEWKT('SRID=4674;POINT (-39.824227681383 -2.9240376502275)'))) / (select extract(epoch from '2026-07-22 05:58:14'::timestamp) - extract(epoch from '2026-07-22 05:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824154675007 -2.9241919610649)'), GeomFromEWKT('SRID=4674;POINT (-39.824227681383 -2.9240376502275)'))) / (select extract(epoch from '2026-07-22 05:58:14'::timestamp) - extract(epoch from '2026-07-22 05:58: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'), 47867, 'SRID=4674;POINT (-39.824238577858 -2.9238713532686)', '2026-07-22 05:58:22', -21.600006103516, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824227681383 -2.9240376502275)'), GeomFromEWKT('SRID=4674;POINT (-39.824238577858 -2.9238713532686)'))) / (select extract(epoch from '2026-07-22 05:58:22'::timestamp) - extract(epoch from '2026-07-22 05:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824227681383 -2.9240376502275)'), GeomFromEWKT('SRID=4674;POINT (-39.824238577858 -2.9238713532686)'))) / (select extract(epoch from '2026-07-22 05:58:22'::timestamp) - extract(epoch from '2026-07-22 05:58: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'), 47867, 'SRID=4674;POINT (-39.824339579791 -2.9236930701882)', '2026-07-22 05:58:32', -12.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824238577858 -2.9238713532686)'), GeomFromEWKT('SRID=4674;POINT (-39.824339579791 -2.9236930701882)'))) / (select extract(epoch from '2026-07-22 05:58:32'::timestamp) - extract(epoch from '2026-07-22 05:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824238577858 -2.9238713532686)'), GeomFromEWKT('SRID=4674;POINT (-39.824339579791 -2.9236930701882)'))) / (select extract(epoch from '2026-07-22 05:58:32'::timestamp) - extract(epoch from '2026-07-22 05:58:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824351482093 -2.9235195647925)', '2026-07-22 05:58:41', -4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824339579791 -2.9236930701882)'), GeomFromEWKT('SRID=4674;POINT (-39.824351482093 -2.9235195647925)'))) / (select extract(epoch from '2026-07-22 05:58:41'::timestamp) - extract(epoch from '2026-07-22 05:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824339579791 -2.9236930701882)'), GeomFromEWKT('SRID=4674;POINT (-39.824351482093 -2.9235195647925)'))) / (select extract(epoch from '2026-07-22 05:58:41'::timestamp) - extract(epoch from '2026-07-22 05:58:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824405293912 -2.9233947582543)', '2026-07-22 05:58:48', -0.79998779296875, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824351482093 -2.9235195647925)'), GeomFromEWKT('SRID=4674;POINT (-39.824405293912 -2.9233947582543)'))) / (select extract(epoch from '2026-07-22 05:58:48'::timestamp) - extract(epoch from '2026-07-22 05:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824351482093 -2.9235195647925)'), GeomFromEWKT('SRID=4674;POINT (-39.824405293912 -2.9233947582543)'))) / (select extract(epoch from '2026-07-22 05:58:48'::timestamp) - extract(epoch from '2026-07-22 05:58: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'), 47867, 'SRID=4674;POINT (-39.824484838173 -2.9232403635979)', '2026-07-22 05:58:56', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824405293912 -2.9233947582543)'), GeomFromEWKT('SRID=4674;POINT (-39.824484838173 -2.9232403635979)'))) / (select extract(epoch from '2026-07-22 05:58:56'::timestamp) - extract(epoch from '2026-07-22 05:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824405293912 -2.9233947582543)'), GeomFromEWKT('SRID=4674;POINT (-39.824484838173 -2.9232403635979)'))) / (select extract(epoch from '2026-07-22 05:58:56'::timestamp) - extract(epoch from '2026-07-22 05:58: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'), 47867, 'SRID=4674;POINT (-39.824571087956 -2.9230708815157)', '2026-07-22 05:59:05', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824484838173 -2.9232403635979)'), GeomFromEWKT('SRID=4674;POINT (-39.824571087956 -2.9230708815157)'))) / (select extract(epoch from '2026-07-22 05:59:05'::timestamp) - extract(epoch from '2026-07-22 05:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824484838173 -2.9232403635979)'), GeomFromEWKT('SRID=4674;POINT (-39.824571087956 -2.9230708815157)'))) / (select extract(epoch from '2026-07-22 05:59:05'::timestamp) - extract(epoch from '2026-07-22 05:58: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'), 47867, 'SRID=4674;POINT (-39.824684076011 -2.9229460749775)', '2026-07-22 05:59:13', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824571087956 -2.9230708815157)'), GeomFromEWKT('SRID=4674;POINT (-39.824684076011 -2.9229460749775)'))) / (select extract(epoch from '2026-07-22 05:59:13'::timestamp) - extract(epoch from '2026-07-22 05:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824571087956 -2.9230708815157)'), GeomFromEWKT('SRID=4674;POINT (-39.824684076011 -2.9229460749775)'))) / (select extract(epoch from '2026-07-22 05:59:13'::timestamp) - extract(epoch from '2026-07-22 05:59:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824713496491 -2.9227852262557)', '2026-07-22 05:59:21', 10.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824684076011 -2.9229460749775)'), GeomFromEWKT('SRID=4674;POINT (-39.824713496491 -2.9227852262557)'))) / (select extract(epoch from '2026-07-22 05:59:21'::timestamp) - extract(epoch from '2026-07-22 05:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824684076011 -2.9229460749775)'), GeomFromEWKT('SRID=4674;POINT (-39.824713496491 -2.9227852262557)'))) / (select extract(epoch from '2026-07-22 05:59:21'::timestamp) - extract(epoch from '2026-07-22 05:59: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'), 47867, 'SRID=4674;POINT (-39.824703438208 -2.9226523730904)', '2026-07-22 05:59:28', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824713496491 -2.9227852262557)'), GeomFromEWKT('SRID=4674;POINT (-39.824703438208 -2.9226523730904)'))) / (select extract(epoch from '2026-07-22 05:59:28'::timestamp) - extract(epoch from '2026-07-22 05:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824713496491 -2.9227852262557)'), GeomFromEWKT('SRID=4674;POINT (-39.824703438208 -2.9226523730904)'))) / (select extract(epoch from '2026-07-22 05:59:28'::timestamp) - extract(epoch from '2026-07-22 05:59:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824724057689 -2.922474341467)', '2026-07-22 05:59:37', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824703438208 -2.9226523730904)'), GeomFromEWKT('SRID=4674;POINT (-39.824724057689 -2.922474341467)'))) / (select extract(epoch from '2026-07-22 05:59:37'::timestamp) - extract(epoch from '2026-07-22 05:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824703438208 -2.9226523730904)'), GeomFromEWKT('SRID=4674;POINT (-39.824724057689 -2.922474341467)'))) / (select extract(epoch from '2026-07-22 05:59:37'::timestamp) - extract(epoch from '2026-07-22 05:59:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824707042426 -2.9223322682083)', '2026-07-22 05:59:44', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824724057689 -2.922474341467)'), GeomFromEWKT('SRID=4674;POINT (-39.824707042426 -2.9223322682083)'))) / (select extract(epoch from '2026-07-22 05:59:44'::timestamp) - extract(epoch from '2026-07-22 05:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824724057689 -2.922474341467)'), GeomFromEWKT('SRID=4674;POINT (-39.824707042426 -2.9223322682083)'))) / (select extract(epoch from '2026-07-22 05:59:44'::timestamp) - extract(epoch from '2026-07-22 05:59:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824631437659 -2.9221927933395)', '2026-07-22 05:59:53', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824707042426 -2.9223322682083)'), GeomFromEWKT('SRID=4674;POINT (-39.824631437659 -2.9221927933395)'))) / (select extract(epoch from '2026-07-22 05:59:53'::timestamp) - extract(epoch from '2026-07-22 05:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824707042426 -2.9223322682083)'), GeomFromEWKT('SRID=4674;POINT (-39.824631437659 -2.9221927933395)'))) / (select extract(epoch from '2026-07-22 05:59:53'::timestamp) - extract(epoch from '2026-07-22 05:59:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824640322477 -2.9220767877996)', '2026-07-22 06:00:00', 10.600006103516, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824631437659 -2.9221927933395)'), GeomFromEWKT('SRID=4674;POINT (-39.824640322477 -2.9220767877996)'))) / (select extract(epoch from '2026-07-22 06:00:00'::timestamp) - extract(epoch from '2026-07-22 05:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824631437659 -2.9221927933395)'), GeomFromEWKT('SRID=4674;POINT (-39.824640322477 -2.9220767877996)'))) / (select extract(epoch from '2026-07-22 06:00:00'::timestamp) - extract(epoch from '2026-07-22 05:59:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824734618887 -2.9219981655478)', '2026-07-22 06:00:07', 10.399993896484, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824640322477 -2.9220767877996)'), GeomFromEWKT('SRID=4674;POINT (-39.824734618887 -2.9219981655478)'))) / (select extract(epoch from '2026-07-22 06:00:07'::timestamp) - extract(epoch from '2026-07-22 06:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824640322477 -2.9220767877996)'), GeomFromEWKT('SRID=4674;POINT (-39.824734618887 -2.9219981655478)'))) / (select extract(epoch from '2026-07-22 06:00:07'::timestamp) - extract(epoch from '2026-07-22 06:00:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824880128726 -2.9219305235893)', '2026-07-22 06:00:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824734618887 -2.9219981655478)'), GeomFromEWKT('SRID=4674;POINT (-39.824880128726 -2.9219305235893)'))) / (select extract(epoch from '2026-07-22 06:00:15'::timestamp) - extract(epoch from '2026-07-22 06:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824734618887 -2.9219981655478)'), GeomFromEWKT('SRID=4674;POINT (-39.824880128726 -2.9219305235893)'))) / (select extract(epoch from '2026-07-22 06:00:15'::timestamp) - extract(epoch from '2026-07-22 06:00: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'), 47867, 'SRID=4674;POINT (-39.824953218922 -2.9218137636781)', '2026-07-22 06:00:22', 10.600006103516, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824880128726 -2.9219305235893)'), GeomFromEWKT('SRID=4674;POINT (-39.824953218922 -2.9218137636781)'))) / (select extract(epoch from '2026-07-22 06:00:22'::timestamp) - extract(epoch from '2026-07-22 06:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824880128726 -2.9219305235893)'), GeomFromEWKT('SRID=4674;POINT (-39.824953218922 -2.9218137636781)'))) / (select extract(epoch from '2026-07-22 06:00:22'::timestamp) - extract(epoch from '2026-07-22 06:00:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824924720451 -2.9216923937201)', '2026-07-22 06:00:29', 11.600006103516, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824953218922 -2.9218137636781)'), GeomFromEWKT('SRID=4674;POINT (-39.824924720451 -2.9216923937201)'))) / (select extract(epoch from '2026-07-22 06:00:29'::timestamp) - extract(epoch from '2026-07-22 06:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824953218922 -2.9218137636781)'), GeomFromEWKT('SRID=4674;POINT (-39.824924720451 -2.9216923937201)'))) / (select extract(epoch from '2026-07-22 06:00:29'::timestamp) - extract(epoch from '2026-07-22 06:00:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824826652184 -2.9215986840427)', '2026-07-22 06:00:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824924720451 -2.9216923937201)'), GeomFromEWKT('SRID=4674;POINT (-39.824826652184 -2.9215986840427)'))) / (select extract(epoch from '2026-07-22 06:00:37'::timestamp) - extract(epoch from '2026-07-22 06:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824924720451 -2.9216923937201)'), GeomFromEWKT('SRID=4674;POINT (-39.824826652184 -2.9215986840427)'))) / (select extract(epoch from '2026-07-22 06:00:37'::timestamp) - extract(epoch from '2026-07-22 06:00: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'), 47867, 'SRID=4674;POINT (-39.824754567817 -2.9214876238257)', '2026-07-22 06:00:44', 10.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824826652184 -2.9215986840427)'), GeomFromEWKT('SRID=4674;POINT (-39.824754567817 -2.9214876238257)'))) / (select extract(epoch from '2026-07-22 06:00:44'::timestamp) - extract(epoch from '2026-07-22 06:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824826652184 -2.9215986840427)'), GeomFromEWKT('SRID=4674;POINT (-39.824754567817 -2.9214876238257)'))) / (select extract(epoch from '2026-07-22 06:00:44'::timestamp) - extract(epoch from '2026-07-22 06:00: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'), 47867, 'SRID=4674;POINT (-39.82465557754 -2.9213546868414)', '2026-07-22 06:00:53', 10.399993896484, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824754567817 -2.9214876238257)'), GeomFromEWKT('SRID=4674;POINT (-39.82465557754 -2.9213546868414)'))) / (select extract(epoch from '2026-07-22 06:00:53'::timestamp) - extract(epoch from '2026-07-22 06:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824754567817 -2.9214876238257)'), GeomFromEWKT('SRID=4674;POINT (-39.82465557754 -2.9213546868414)'))) / (select extract(epoch from '2026-07-22 06:00:53'::timestamp) - extract(epoch from '2026-07-22 06:00:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824565220624 -2.921250583604)', '2026-07-22 06:01:01', 9.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82465557754 -2.9213546868414)'), GeomFromEWKT('SRID=4674;POINT (-39.824565220624 -2.921250583604)'))) / (select extract(epoch from '2026-07-22 06:01:01'::timestamp) - extract(epoch from '2026-07-22 06:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82465557754 -2.9213546868414)'), GeomFromEWKT('SRID=4674;POINT (-39.824565220624 -2.921250583604)'))) / (select extract(epoch from '2026-07-22 06:01:01'::timestamp) - extract(epoch from '2026-07-22 06:00:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824540745467 -2.9211171437055)', '2026-07-22 06:01:08', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824565220624 -2.921250583604)'), GeomFromEWKT('SRID=4674;POINT (-39.824540745467 -2.9211171437055)'))) / (select extract(epoch from '2026-07-22 06:01:08'::timestamp) - extract(epoch from '2026-07-22 06:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824565220624 -2.921250583604)'), GeomFromEWKT('SRID=4674;POINT (-39.824540745467 -2.9211171437055)'))) / (select extract(epoch from '2026-07-22 06:01:08'::timestamp) - extract(epoch from '2026-07-22 06:01: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'), 47867, 'SRID=4674;POINT (-39.824466733262 -2.9209339991212)', '2026-07-22 06:01:18', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824540745467 -2.9211171437055)'), GeomFromEWKT('SRID=4674;POINT (-39.824466733262 -2.9209339991212)'))) / (select extract(epoch from '2026-07-22 06:01:18'::timestamp) - extract(epoch from '2026-07-22 06:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824540745467 -2.9211171437055)'), GeomFromEWKT('SRID=4674;POINT (-39.824466733262 -2.9209339991212)'))) / (select extract(epoch from '2026-07-22 06:01:18'::timestamp) - extract(epoch from '2026-07-22 06:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.82438467443 -2.9208050854504)', '2026-07-22 06:01:26', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824466733262 -2.9209339991212)'), GeomFromEWKT('SRID=4674;POINT (-39.82438467443 -2.9208050854504)'))) / (select extract(epoch from '2026-07-22 06:01:26'::timestamp) - extract(epoch from '2026-07-22 06:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824466733262 -2.9209339991212)'), GeomFromEWKT('SRID=4674;POINT (-39.82438467443 -2.9208050854504)'))) / (select extract(epoch from '2026-07-22 06:01:26'::timestamp) - extract(epoch from '2026-07-22 06:01:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824352739379 -2.9206859786063)', '2026-07-22 06:01:33', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82438467443 -2.9208050854504)'), GeomFromEWKT('SRID=4674;POINT (-39.824352739379 -2.9206859786063)'))) / (select extract(epoch from '2026-07-22 06:01:33'::timestamp) - extract(epoch from '2026-07-22 06:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82438467443 -2.9208050854504)'), GeomFromEWKT('SRID=4674;POINT (-39.824352739379 -2.9206859786063)'))) / (select extract(epoch from '2026-07-22 06:01:33'::timestamp) - extract(epoch from '2026-07-22 06:01: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'), 47867, 'SRID=4674;POINT (-39.824313595891 -2.9205147363245)', '2026-07-22 06:01:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824352739379 -2.9206859786063)'), GeomFromEWKT('SRID=4674;POINT (-39.824313595891 -2.9205147363245)'))) / (select extract(epoch from '2026-07-22 06:01:42'::timestamp) - extract(epoch from '2026-07-22 06:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824352739379 -2.9206859786063)'), GeomFromEWKT('SRID=4674;POINT (-39.824313595891 -2.9205147363245)'))) / (select extract(epoch from '2026-07-22 06:01:42'::timestamp) - extract(epoch from '2026-07-22 06:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824269590899 -2.9203400574625)', '2026-07-22 06:01:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824313595891 -2.9205147363245)'), GeomFromEWKT('SRID=4674;POINT (-39.824269590899 -2.9203400574625)'))) / (select extract(epoch from '2026-07-22 06:01:51'::timestamp) - extract(epoch from '2026-07-22 06:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824313595891 -2.9205147363245)'), GeomFromEWKT('SRID=4674;POINT (-39.824269590899 -2.9203400574625)'))) / (select extract(epoch from '2026-07-22 06:01:51'::timestamp) - extract(epoch from '2026-07-22 06:01:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824200188741 -2.9201706591994)', '2026-07-22 06:02:00', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824269590899 -2.9203400574625)'), GeomFromEWKT('SRID=4674;POINT (-39.824200188741 -2.9201706591994)'))) / (select extract(epoch from '2026-07-22 06:02:00'::timestamp) - extract(epoch from '2026-07-22 06:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824269590899 -2.9203400574625)'), GeomFromEWKT('SRID=4674;POINT (-39.824200188741 -2.9201706591994)'))) / (select extract(epoch from '2026-07-22 06:02:00'::timestamp) - extract(epoch from '2026-07-22 06:01:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824086530134 -2.9200397338718)', '2026-07-22 06:02:09', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824200188741 -2.9201706591994)'), GeomFromEWKT('SRID=4674;POINT (-39.824086530134 -2.9200397338718)'))) / (select extract(epoch from '2026-07-22 06:02:09'::timestamp) - extract(epoch from '2026-07-22 06:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824200188741 -2.9201706591994)'), GeomFromEWKT('SRID=4674;POINT (-39.824086530134 -2.9200397338718)'))) / (select extract(epoch from '2026-07-22 06:02:09'::timestamp) - extract(epoch from '2026-07-22 06:02:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824010590091 -2.9199069645256)', '2026-07-22 06:02:17', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824086530134 -2.9200397338718)'), GeomFromEWKT('SRID=4674;POINT (-39.824010590091 -2.9199069645256)'))) / (select extract(epoch from '2026-07-22 06:02:17'::timestamp) - extract(epoch from '2026-07-22 06:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824086530134 -2.9200397338718)'), GeomFromEWKT('SRID=4674;POINT (-39.824010590091 -2.9199069645256)'))) / (select extract(epoch from '2026-07-22 06:02:17'::timestamp) - extract(epoch from '2026-07-22 06:02: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'), 47867, 'SRID=4674;POINT (-39.823919730261 -2.9198104888201)', '2026-07-22 06:02:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824010590091 -2.9199069645256)'), GeomFromEWKT('SRID=4674;POINT (-39.823919730261 -2.9198104888201)'))) / (select extract(epoch from '2026-07-22 06:02:24'::timestamp) - extract(epoch from '2026-07-22 06:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824010590091 -2.9199069645256)'), GeomFromEWKT('SRID=4674;POINT (-39.823919730261 -2.9198104888201)'))) / (select extract(epoch from '2026-07-22 06:02:24'::timestamp) - extract(epoch from '2026-07-22 06:02:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.8237899784 -2.9196585249156)', '2026-07-22 06:02:35', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823919730261 -2.9198104888201)'), GeomFromEWKT('SRID=4674;POINT (-39.8237899784 -2.9196585249156)'))) / (select extract(epoch from '2026-07-22 06:02:35'::timestamp) - extract(epoch from '2026-07-22 06:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823919730261 -2.9198104888201)'), GeomFromEWKT('SRID=4674;POINT (-39.8237899784 -2.9196585249156)'))) / (select extract(epoch from '2026-07-22 06:02:35'::timestamp) - extract(epoch from '2026-07-22 06:02: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'), 47867, 'SRID=4674;POINT (-39.823716720566 -2.9195333831012)', '2026-07-22 06:02:43', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8237899784 -2.9196585249156)'), GeomFromEWKT('SRID=4674;POINT (-39.823716720566 -2.9195333831012)'))) / (select extract(epoch from '2026-07-22 06:02:43'::timestamp) - extract(epoch from '2026-07-22 06:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8237899784 -2.9196585249156)'), GeomFromEWKT('SRID=4674;POINT (-39.823716720566 -2.9195333831012)'))) / (select extract(epoch from '2026-07-22 06:02:43'::timestamp) - extract(epoch from '2026-07-22 06:02: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'), 47867, 'SRID=4674;POINT (-39.823683444411 -2.9193460475653)', '2026-07-22 06:02:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823716720566 -2.9195333831012)'), GeomFromEWKT('SRID=4674;POINT (-39.823683444411 -2.9193460475653)'))) / (select extract(epoch from '2026-07-22 06:02:53'::timestamp) - extract(epoch from '2026-07-22 06:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823716720566 -2.9195333831012)'), GeomFromEWKT('SRID=4674;POINT (-39.823683444411 -2.9193460475653)'))) / (select extract(epoch from '2026-07-22 06:02:53'::timestamp) - extract(epoch from '2026-07-22 06:02:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823681097478 -2.9191930778325)', '2026-07-22 06:03:01', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823683444411 -2.9193460475653)'), GeomFromEWKT('SRID=4674;POINT (-39.823681097478 -2.9191930778325)'))) / (select extract(epoch from '2026-07-22 06:03:01'::timestamp) - extract(epoch from '2026-07-22 06:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823683444411 -2.9193460475653)'), GeomFromEWKT('SRID=4674;POINT (-39.823681097478 -2.9191930778325)'))) / (select extract(epoch from '2026-07-22 06:03:01'::timestamp) - extract(epoch from '2026-07-22 06:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.82370599173 -2.9190298821777)', '2026-07-22 06:03:09', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823681097478 -2.9191930778325)'), GeomFromEWKT('SRID=4674;POINT (-39.82370599173 -2.9190298821777)'))) / (select extract(epoch from '2026-07-22 06:03:09'::timestamp) - extract(epoch from '2026-07-22 06:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823681097478 -2.9191930778325)'), GeomFromEWKT('SRID=4674;POINT (-39.82370599173 -2.9190298821777)'))) / (select extract(epoch from '2026-07-22 06:03:09'::timestamp) - extract(epoch from '2026-07-22 06:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823671961203 -2.9189493320882)', '2026-07-22 06:03:14', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82370599173 -2.9190298821777)'), GeomFromEWKT('SRID=4674;POINT (-39.823671961203 -2.9189493320882)'))) / (select extract(epoch from '2026-07-22 06:03:14'::timestamp) - extract(epoch from '2026-07-22 06:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82370599173 -2.9190298821777)'), GeomFromEWKT('SRID=4674;POINT (-39.823671961203 -2.9189493320882)'))) / (select extract(epoch from '2026-07-22 06:03:14'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.823585962877 -2.9189032316208)', '2026-07-22 06:03:21', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823671961203 -2.9189493320882)'), GeomFromEWKT('SRID=4674;POINT (-39.823585962877 -2.9189032316208)'))) / (select extract(epoch from '2026-07-22 06:03:21'::timestamp) - extract(epoch from '2026-07-22 06:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823671961203 -2.9189493320882)'), GeomFromEWKT('SRID=4674;POINT (-39.823585962877 -2.9189032316208)'))) / (select extract(epoch from '2026-07-22 06:03:21'::timestamp) - extract(epoch from '2026-07-22 06:03:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.82346015051 -2.9188840370625)', '2026-07-22 06:03:30', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823585962877 -2.9189032316208)'), GeomFromEWKT('SRID=4674;POINT (-39.82346015051 -2.9188840370625)'))) / (select extract(epoch from '2026-07-22 06:03:30'::timestamp) - extract(epoch from '2026-07-22 06:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823585962877 -2.9189032316208)'), GeomFromEWKT('SRID=4674;POINT (-39.82346015051 -2.9188840370625)'))) / (select extract(epoch from '2026-07-22 06:03:30'::timestamp) - extract(epoch from '2026-07-22 06:03:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823387060314 -2.9188041575253)', '2026-07-22 06:03:37', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82346015051 -2.9188840370625)'), GeomFromEWKT('SRID=4674;POINT (-39.823387060314 -2.9188041575253)'))) / (select extract(epoch from '2026-07-22 06:03:37'::timestamp) - extract(epoch from '2026-07-22 06:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82346015051 -2.9188840370625)'), GeomFromEWKT('SRID=4674;POINT (-39.823387060314 -2.9188041575253)'))) / (select extract(epoch from '2026-07-22 06:03:37'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.823337690905 -2.9187147226185)', '2026-07-22 06:03:43', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823387060314 -2.9188041575253)'), GeomFromEWKT('SRID=4674;POINT (-39.823337690905 -2.9187147226185)'))) / (select extract(epoch from '2026-07-22 06:03:43'::timestamp) - extract(epoch from '2026-07-22 06:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823387060314 -2.9188041575253)'), GeomFromEWKT('SRID=4674;POINT (-39.823337690905 -2.9187147226185)'))) / (select extract(epoch from '2026-07-22 06:03:43'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.823253620416 -2.9185791872442)', '2026-07-22 06:03:53', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823337690905 -2.9187147226185)'), GeomFromEWKT('SRID=4674;POINT (-39.823253620416 -2.9185791872442)'))) / (select extract(epoch from '2026-07-22 06:03:53'::timestamp) - extract(epoch from '2026-07-22 06:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823337690905 -2.9187147226185)'), GeomFromEWKT('SRID=4674;POINT (-39.823253620416 -2.9185791872442)'))) / (select extract(epoch from '2026-07-22 06:03:53'::timestamp) - extract(epoch from '2026-07-22 06:03: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'), 47867, 'SRID=4674;POINT (-39.823174746707 -2.9184524528682)', '2026-07-22 06:04:03', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823253620416 -2.9185791872442)'), GeomFromEWKT('SRID=4674;POINT (-39.823174746707 -2.9184524528682)'))) / (select extract(epoch from '2026-07-22 06:04:03'::timestamp) - extract(epoch from '2026-07-22 06:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823253620416 -2.9185791872442)'), GeomFromEWKT('SRID=4674;POINT (-39.823174746707 -2.9184524528682)'))) / (select extract(epoch from '2026-07-22 06:04:03'::timestamp) - extract(epoch from '2026-07-22 06:03:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823134345934 -2.9183549713343)', '2026-07-22 06:04:11', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823174746707 -2.9184524528682)'), GeomFromEWKT('SRID=4674;POINT (-39.823134345934 -2.9183549713343)'))) / (select extract(epoch from '2026-07-22 06:04:11'::timestamp) - extract(epoch from '2026-07-22 06:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823174746707 -2.9184524528682)'), GeomFromEWKT('SRID=4674;POINT (-39.823134345934 -2.9183549713343)'))) / (select extract(epoch from '2026-07-22 06:04:11'::timestamp) - extract(epoch from '2026-07-22 06:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823095370084 -2.9182443302125)', '2026-07-22 06:04:21', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823134345934 -2.9183549713343)'), GeomFromEWKT('SRID=4674;POINT (-39.823095370084 -2.9182443302125)'))) / (select extract(epoch from '2026-07-22 06:04:21'::timestamp) - extract(epoch from '2026-07-22 06:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823134345934 -2.9183549713343)'), GeomFromEWKT('SRID=4674;POINT (-39.823095370084 -2.9182443302125)'))) / (select extract(epoch from '2026-07-22 06:04:21'::timestamp) - extract(epoch from '2026-07-22 06:04: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'), 47867, 'SRID=4674;POINT (-39.823039127514 -2.9181575775146)', '2026-07-22 06:04:30', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823095370084 -2.9182443302125)'), GeomFromEWKT('SRID=4674;POINT (-39.823039127514 -2.9181575775146)'))) / (select extract(epoch from '2026-07-22 06:04:30'::timestamp) - extract(epoch from '2026-07-22 06:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823095370084 -2.9182443302125)'), GeomFromEWKT('SRID=4674;POINT (-39.823039127514 -2.9181575775146)'))) / (select extract(epoch from '2026-07-22 06:04:30'::timestamp) - extract(epoch from '2026-07-22 06:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823033344001 -2.9181338567287)', '2026-07-22 06:04:33', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823039127514 -2.9181575775146)'), GeomFromEWKT('SRID=4674;POINT (-39.823033344001 -2.9181338567287)'))) / (select extract(epoch from '2026-07-22 06:04:33'::timestamp) - extract(epoch from '2026-07-22 06:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823039127514 -2.9181575775146)'), GeomFromEWKT('SRID=4674;POINT (-39.823033344001 -2.9181338567287)'))) / (select extract(epoch from '2026-07-22 06:04:33'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.823025716469 -2.9181037656963)', '2026-07-22 06:04:38', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823033344001 -2.9181338567287)'), GeomFromEWKT('SRID=4674;POINT (-39.823025716469 -2.9181037656963)'))) / (select extract(epoch from '2026-07-22 06:04:38'::timestamp) - extract(epoch from '2026-07-22 06:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823033344001 -2.9181338567287)'), GeomFromEWKT('SRID=4674;POINT (-39.823025716469 -2.9181037656963)'))) / (select extract(epoch from '2026-07-22 06:04:38'::timestamp) - extract(epoch from '2026-07-22 06:04: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'), 47867, 'SRID=4674;POINT (-39.823019178584 -2.9180535580963)', '2026-07-22 06:04:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823025716469 -2.9181037656963)'), GeomFromEWKT('SRID=4674;POINT (-39.823019178584 -2.9180535580963)'))) / (select extract(epoch from '2026-07-22 06:04:51'::timestamp) - extract(epoch from '2026-07-22 06:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823025716469 -2.9181037656963)'), GeomFromEWKT('SRID=4674;POINT (-39.823019178584 -2.9180535580963)'))) / (select extract(epoch from '2026-07-22 06:04:51'::timestamp) - extract(epoch from '2026-07-22 06:04: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'), 47867, 'SRID=4674;POINT (-39.823062093928 -2.9180197790265)', '2026-07-22 06:05:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823019178584 -2.9180535580963)'), GeomFromEWKT('SRID=4674;POINT (-39.823062093928 -2.9180197790265)'))) / (select extract(epoch from '2026-07-22 06:05:06'::timestamp) - extract(epoch from '2026-07-22 06:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823019178584 -2.9180535580963)'), GeomFromEWKT('SRID=4674;POINT (-39.823062093928 -2.9180197790265)'))) / (select extract(epoch from '2026-07-22 06:05:06'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.823098890483 -2.9179579205811)', '2026-07-22 06:05:22', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823062093928 -2.9180197790265)'), GeomFromEWKT('SRID=4674;POINT (-39.823098890483 -2.9179579205811)'))) / (select extract(epoch from '2026-07-22 06:05:22'::timestamp) - extract(epoch from '2026-07-22 06:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823062093928 -2.9180197790265)'), GeomFromEWKT('SRID=4674;POINT (-39.823098890483 -2.9179579205811)'))) / (select extract(epoch from '2026-07-22 06:05:22'::timestamp) - extract(epoch from '2026-07-22 06:05: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'), 47867, 'SRID=4674;POINT (-39.823104254901 -2.9178840760142)', '2026-07-22 06:05:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823098890483 -2.9179579205811)'), GeomFromEWKT('SRID=4674;POINT (-39.823104254901 -2.9178840760142)'))) / (select extract(epoch from '2026-07-22 06:05:39'::timestamp) - extract(epoch from '2026-07-22 06:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823098890483 -2.9179579205811)'), GeomFromEWKT('SRID=4674;POINT (-39.823104254901 -2.9178840760142)'))) / (select extract(epoch from '2026-07-22 06:05:39'::timestamp) - extract(epoch from '2026-07-22 06:05: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'), 47867, 'SRID=4674;POINT (-39.82312948443 -2.9178061243147)', '2026-07-22 06:05:56', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823104254901 -2.9178840760142)'), GeomFromEWKT('SRID=4674;POINT (-39.82312948443 -2.9178061243147)'))) / (select extract(epoch from '2026-07-22 06:05:56'::timestamp) - extract(epoch from '2026-07-22 06:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823104254901 -2.9178840760142)'), GeomFromEWKT('SRID=4674;POINT (-39.82312948443 -2.9178061243147)'))) / (select extract(epoch from '2026-07-22 06:05:56'::timestamp) - extract(epoch from '2026-07-22 06:05: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'), 47867, 'SRID=4674;POINT (-39.823157060891 -2.9177371412516)', '2026-07-22 06:06:10', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82312948443 -2.9178061243147)'), GeomFromEWKT('SRID=4674;POINT (-39.823157060891 -2.9177371412516)'))) / (select extract(epoch from '2026-07-22 06:06:10'::timestamp) - extract(epoch from '2026-07-22 06:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82312948443 -2.9178061243147)'), GeomFromEWKT('SRID=4674;POINT (-39.823157060891 -2.9177371412516)'))) / (select extract(epoch from '2026-07-22 06:06:10'::timestamp) - extract(epoch from '2026-07-22 06:05: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'), 47867, 'SRID=4674;POINT (-39.823164772242 -2.9176765400916)', '2026-07-22 06:06:22', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823157060891 -2.9177371412516)'), GeomFromEWKT('SRID=4674;POINT (-39.823164772242 -2.9176765400916)'))) / (select extract(epoch from '2026-07-22 06:06:22'::timestamp) - extract(epoch from '2026-07-22 06:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823157060891 -2.9177371412516)'), GeomFromEWKT('SRID=4674;POINT (-39.823164772242 -2.9176765400916)'))) / (select extract(epoch from '2026-07-22 06:06:22'::timestamp) - extract(epoch from '2026-07-22 06:06: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'), 47867, 'SRID=4674;POINT (-39.823187068105 -2.9176548309624)', '2026-07-22 06:06:38', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823164772242 -2.9176765400916)'), GeomFromEWKT('SRID=4674;POINT (-39.823187068105 -2.9176548309624)'))) / (select extract(epoch from '2026-07-22 06:06:38'::timestamp) - extract(epoch from '2026-07-22 06:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823164772242 -2.9176765400916)'), GeomFromEWKT('SRID=4674;POINT (-39.823187068105 -2.9176548309624)'))) / (select extract(epoch from '2026-07-22 06:06:38'::timestamp) - extract(epoch from '2026-07-22 06:06:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823207771406 -2.9176515620202)', '2026-07-22 06:06:50', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823187068105 -2.9176548309624)'), GeomFromEWKT('SRID=4674;POINT (-39.823207771406 -2.9176515620202)'))) / (select extract(epoch from '2026-07-22 06:06:50'::timestamp) - extract(epoch from '2026-07-22 06:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823187068105 -2.9176548309624)'), GeomFromEWKT('SRID=4674;POINT (-39.823207771406 -2.9176515620202)'))) / (select extract(epoch from '2026-07-22 06:06:50'::timestamp) - extract(epoch from '2026-07-22 06:06: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'), 47867, 'SRID=4674;POINT (-39.823218835518 -2.9176491312683)', '2026-07-22 06:07:07', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823207771406 -2.9176515620202)'), GeomFromEWKT('SRID=4674;POINT (-39.823218835518 -2.9176491312683)'))) / (select extract(epoch from '2026-07-22 06:07:07'::timestamp) - extract(epoch from '2026-07-22 06:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823207771406 -2.9176515620202)'), GeomFromEWKT('SRID=4674;POINT (-39.823218835518 -2.9176491312683)'))) / (select extract(epoch from '2026-07-22 06:07:07'::timestamp) - extract(epoch from '2026-07-22 06:06: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'), 47867, 'SRID=4674;POINT (-39.82322034426 -2.9176466166973)', '2026-07-22 06:07:26', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823218835518 -2.9176491312683)'), GeomFromEWKT('SRID=4674;POINT (-39.82322034426 -2.9176466166973)'))) / (select extract(epoch from '2026-07-22 06:07:26'::timestamp) - extract(epoch from '2026-07-22 06:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823218835518 -2.9176491312683)'), GeomFromEWKT('SRID=4674;POINT (-39.82322034426 -2.9176466166973)'))) / (select extract(epoch from '2026-07-22 06:07:26'::timestamp) - extract(epoch from '2026-07-22 06:07: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'), 47867, 'SRID=4674;POINT (-39.823210285977 -2.9176412522793)', '2026-07-22 06:07:37', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82322034426 -2.9176466166973)'), GeomFromEWKT('SRID=4674;POINT (-39.823210285977 -2.9176412522793)'))) / (select extract(epoch from '2026-07-22 06:07:37'::timestamp) - extract(epoch from '2026-07-22 06:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82322034426 -2.9176466166973)'), GeomFromEWKT('SRID=4674;POINT (-39.823210285977 -2.9176412522793)'))) / (select extract(epoch from '2026-07-22 06:07:37'::timestamp) - extract(epoch from '2026-07-22 06:07: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'), 47867, 'SRID=4674;POINT (-39.823207268491 -2.9176264163107)', '2026-07-22 06:07:49', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823210285977 -2.9176412522793)'), GeomFromEWKT('SRID=4674;POINT (-39.823207268491 -2.9176264163107)'))) / (select extract(epoch from '2026-07-22 06:07:49'::timestamp) - extract(epoch from '2026-07-22 06:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823210285977 -2.9176412522793)'), GeomFromEWKT('SRID=4674;POINT (-39.823207268491 -2.9176264163107)'))) / (select extract(epoch from '2026-07-22 06:07:49'::timestamp) - extract(epoch from '2026-07-22 06:07: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'), 47867, 'SRID=4674;POINT (-39.823144990951 -2.9176110774279)', '2026-07-22 06:07:59', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823207268491 -2.9176264163107)'), GeomFromEWKT('SRID=4674;POINT (-39.823144990951 -2.9176110774279)'))) / (select extract(epoch from '2026-07-22 06:07:59'::timestamp) - extract(epoch from '2026-07-22 06:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823207268491 -2.9176264163107)'), GeomFromEWKT('SRID=4674;POINT (-39.823144990951 -2.9176110774279)'))) / (select extract(epoch from '2026-07-22 06:07:59'::timestamp) - extract(epoch from '2026-07-22 06:07: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'), 47867, 'SRID=4674;POINT (-39.823066368699 -2.9176225606352)', '2026-07-22 06:08:07', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823144990951 -2.9176110774279)'), GeomFromEWKT('SRID=4674;POINT (-39.823066368699 -2.9176225606352)'))) / (select extract(epoch from '2026-07-22 06:08:07'::timestamp) - extract(epoch from '2026-07-22 06:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823144990951 -2.9176110774279)'), GeomFromEWKT('SRID=4674;POINT (-39.823066368699 -2.9176225606352)'))) / (select extract(epoch from '2026-07-22 06:08:07'::timestamp) - extract(epoch from '2026-07-22 06:07: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'), 47867, 'SRID=4674;POINT (-39.823003252968 -2.9176601953804)', '2026-07-22 06:08:16', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823066368699 -2.9176225606352)'), GeomFromEWKT('SRID=4674;POINT (-39.823003252968 -2.9176601953804)'))) / (select extract(epoch from '2026-07-22 06:08:16'::timestamp) - extract(epoch from '2026-07-22 06:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823066368699 -2.9176225606352)'), GeomFromEWKT('SRID=4674;POINT (-39.823003252968 -2.9176601953804)'))) / (select extract(epoch from '2026-07-22 06:08:16'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.822984561324 -2.9177167732269)', '2026-07-22 06:08:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823003252968 -2.9176601953804)'), GeomFromEWKT('SRID=4674;POINT (-39.822984561324 -2.9177167732269)'))) / (select extract(epoch from '2026-07-22 06:08:24'::timestamp) - extract(epoch from '2026-07-22 06:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823003252968 -2.9176601953804)'), GeomFromEWKT('SRID=4674;POINT (-39.822984561324 -2.9177167732269)'))) / (select extract(epoch from '2026-07-22 06:08:24'::timestamp) - extract(epoch from '2026-07-22 06:08: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'), 47867, 'SRID=4674;POINT (-39.823028398678 -2.9177558328956)', '2026-07-22 06:08:34', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822984561324 -2.9177167732269)'), GeomFromEWKT('SRID=4674;POINT (-39.823028398678 -2.9177558328956)'))) / (select extract(epoch from '2026-07-22 06:08:34'::timestamp) - extract(epoch from '2026-07-22 06:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822984561324 -2.9177167732269)'), GeomFromEWKT('SRID=4674;POINT (-39.823028398678 -2.9177558328956)'))) / (select extract(epoch from '2026-07-22 06:08:34'::timestamp) - extract(epoch from '2026-07-22 06:08: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'), 47867, 'SRID=4674;POINT (-39.823073996231 -2.9177782963961)', '2026-07-22 06:08:46', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823028398678 -2.9177558328956)'), GeomFromEWKT('SRID=4674;POINT (-39.823073996231 -2.9177782963961)'))) / (select extract(epoch from '2026-07-22 06:08:46'::timestamp) - extract(epoch from '2026-07-22 06:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823028398678 -2.9177558328956)'), GeomFromEWKT('SRID=4674;POINT (-39.823073996231 -2.9177782963961)'))) / (select extract(epoch from '2026-07-22 06:08:46'::timestamp) - extract(epoch from '2026-07-22 06:08:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823102578521 -2.9177783802152)', '2026-07-22 06:08:55', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823073996231 -2.9177782963961)'), GeomFromEWKT('SRID=4674;POINT (-39.823102578521 -2.9177783802152)'))) / (select extract(epoch from '2026-07-22 06:08:55'::timestamp) - extract(epoch from '2026-07-22 06:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823073996231 -2.9177782963961)'), GeomFromEWKT('SRID=4674;POINT (-39.823102578521 -2.9177783802152)'))) / (select extract(epoch from '2026-07-22 06:08:55'::timestamp) - extract(epoch from '2026-07-22 06:08: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'), 47867, 'SRID=4674;POINT (-39.823134178296 -2.9177636280656)', '2026-07-22 06:09:04', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823102578521 -2.9177783802152)'), GeomFromEWKT('SRID=4674;POINT (-39.823134178296 -2.9177636280656)'))) / (select extract(epoch from '2026-07-22 06:09:04'::timestamp) - extract(epoch from '2026-07-22 06:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823102578521 -2.9177783802152)'), GeomFromEWKT('SRID=4674;POINT (-39.823134178296 -2.9177636280656)'))) / (select extract(epoch from '2026-07-22 06:09:04'::timestamp) - extract(epoch from '2026-07-22 06:08:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823200898245 -2.9177362192422)', '2026-07-22 06:09:19', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823134178296 -2.9177636280656)'), GeomFromEWKT('SRID=4674;POINT (-39.823200898245 -2.9177362192422)'))) / (select extract(epoch from '2026-07-22 06:09:19'::timestamp) - extract(epoch from '2026-07-22 06:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823134178296 -2.9177636280656)'), GeomFromEWKT('SRID=4674;POINT (-39.823200898245 -2.9177362192422)'))) / (select extract(epoch from '2026-07-22 06:09:19'::timestamp) - extract(epoch from '2026-07-22 06:09: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'), 47867, 'SRID=4674;POINT (-39.823240125552 -2.9177183657885)', '2026-07-22 06:09:29', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823200898245 -2.9177362192422)'), GeomFromEWKT('SRID=4674;POINT (-39.823240125552 -2.9177183657885)'))) / (select extract(epoch from '2026-07-22 06:09:29'::timestamp) - extract(epoch from '2026-07-22 06:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823200898245 -2.9177362192422)'), GeomFromEWKT('SRID=4674;POINT (-39.823240125552 -2.9177183657885)'))) / (select extract(epoch from '2026-07-22 06:09:29'::timestamp) - extract(epoch from '2026-07-22 06:09: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'), 47867, 'SRID=4674;POINT (-39.823339954019 -2.9176595248282)', '2026-07-22 06:09:57', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823240125552 -2.9177183657885)'), GeomFromEWKT('SRID=4674;POINT (-39.823339954019 -2.9176595248282)'))) / (select extract(epoch from '2026-07-22 06:09:57'::timestamp) - extract(epoch from '2026-07-22 06:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823240125552 -2.9177183657885)'), GeomFromEWKT('SRID=4674;POINT (-39.823339954019 -2.9176595248282)'))) / (select extract(epoch from '2026-07-22 06:09:57'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.82344288379 -2.9175990913063)', '2026-07-22 06:10:27', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823339954019 -2.9176595248282)'), GeomFromEWKT('SRID=4674;POINT (-39.82344288379 -2.9175990913063)'))) / (select extract(epoch from '2026-07-22 06:10:27'::timestamp) - extract(epoch from '2026-07-22 06:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823339954019 -2.9176595248282)'), GeomFromEWKT('SRID=4674;POINT (-39.82344288379 -2.9175990913063)'))) / (select extract(epoch from '2026-07-22 06:10:27'::timestamp) - extract(epoch from '2026-07-22 06:09:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823551764712 -2.9175754543394)', '2026-07-22 06:10:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82344288379 -2.9175990913063)'), GeomFromEWKT('SRID=4674;POINT (-39.823551764712 -2.9175754543394)'))) / (select extract(epoch from '2026-07-22 06:10:46'::timestamp) - extract(epoch from '2026-07-22 06:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82344288379 -2.9175990913063)'), GeomFromEWKT('SRID=4674;POINT (-39.823551764712 -2.9175754543394)'))) / (select extract(epoch from '2026-07-22 06:10:46'::timestamp) - extract(epoch from '2026-07-22 06:10: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'), 47867, 'SRID=4674;POINT (-39.823597446084 -2.9175296891481)', '2026-07-22 06:10:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823551764712 -2.9175754543394)'), GeomFromEWKT('SRID=4674;POINT (-39.823597446084 -2.9175296891481)'))) / (select extract(epoch from '2026-07-22 06:10:57'::timestamp) - extract(epoch from '2026-07-22 06:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823551764712 -2.9175754543394)'), GeomFromEWKT('SRID=4674;POINT (-39.823597446084 -2.9175296891481)'))) / (select extract(epoch from '2026-07-22 06:10:57'::timestamp) - extract(epoch from '2026-07-22 06:10: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'), 47867, 'SRID=4674;POINT (-39.823640026152 -2.917492557317)', '2026-07-22 06:11:13', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823597446084 -2.9175296891481)'), GeomFromEWKT('SRID=4674;POINT (-39.823640026152 -2.917492557317)'))) / (select extract(epoch from '2026-07-22 06:11:13'::timestamp) - extract(epoch from '2026-07-22 06:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823597446084 -2.9175296891481)'), GeomFromEWKT('SRID=4674;POINT (-39.823640026152 -2.917492557317)'))) / (select extract(epoch from '2026-07-22 06:11:13'::timestamp) - extract(epoch from '2026-07-22 06:10: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'), 47867, 'SRID=4674;POINT (-39.823690066114 -2.9174700938165)', '2026-07-22 06:11:24', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823640026152 -2.917492557317)'), GeomFromEWKT('SRID=4674;POINT (-39.823690066114 -2.9174700938165)'))) / (select extract(epoch from '2026-07-22 06:11:24'::timestamp) - extract(epoch from '2026-07-22 06:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823640026152 -2.917492557317)'), GeomFromEWKT('SRID=4674;POINT (-39.823690066114 -2.9174700938165)'))) / (select extract(epoch from '2026-07-22 06:11:24'::timestamp) - extract(epoch from '2026-07-22 06:11: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'), 47867, 'SRID=4674;POINT (-39.823738764971 -2.9174518212676)', '2026-07-22 06:11:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823690066114 -2.9174700938165)'), GeomFromEWKT('SRID=4674;POINT (-39.823738764971 -2.9174518212676)'))) / (select extract(epoch from '2026-07-22 06:11:35'::timestamp) - extract(epoch from '2026-07-22 06:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823690066114 -2.9174700938165)'), GeomFromEWKT('SRID=4674;POINT (-39.823738764971 -2.9174518212676)'))) / (select extract(epoch from '2026-07-22 06:11:35'::timestamp) - extract(epoch from '2026-07-22 06:11: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'), 47867, 'SRID=4674;POINT (-39.823823338374 -2.9174351412803)', '2026-07-22 06:11:52', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823738764971 -2.9174518212676)'), GeomFromEWKT('SRID=4674;POINT (-39.823823338374 -2.9174351412803)'))) / (select extract(epoch from '2026-07-22 06:11:52'::timestamp) - extract(epoch from '2026-07-22 06:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823738764971 -2.9174518212676)'), GeomFromEWKT('SRID=4674;POINT (-39.823823338374 -2.9174351412803)'))) / (select extract(epoch from '2026-07-22 06:11:52'::timestamp) - extract(epoch from '2026-07-22 06:11: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'), 47867, 'SRID=4674;POINT (-39.823876647279 -2.9174030385911)', '2026-07-22 06:12:07', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823823338374 -2.9174351412803)'), GeomFromEWKT('SRID=4674;POINT (-39.823876647279 -2.9174030385911)'))) / (select extract(epoch from '2026-07-22 06:12:07'::timestamp) - extract(epoch from '2026-07-22 06:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823823338374 -2.9174351412803)'), GeomFromEWKT('SRID=4674;POINT (-39.823876647279 -2.9174030385911)'))) / (select extract(epoch from '2026-07-22 06:12:07'::timestamp) - extract(epoch from '2026-07-22 06:11: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'), 47867, 'SRID=4674;POINT (-39.823903888464 -2.9173869453371)', '2026-07-22 06:12:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823876647279 -2.9174030385911)'), GeomFromEWKT('SRID=4674;POINT (-39.823903888464 -2.9173869453371)'))) / (select extract(epoch from '2026-07-22 06:12:17'::timestamp) - extract(epoch from '2026-07-22 06:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823876647279 -2.9174030385911)'), GeomFromEWKT('SRID=4674;POINT (-39.823903888464 -2.9173869453371)'))) / (select extract(epoch from '2026-07-22 06:12:17'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.823969770223 -2.9173531662673)', '2026-07-22 06:12:33', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823903888464 -2.9173869453371)'), GeomFromEWKT('SRID=4674;POINT (-39.823969770223 -2.9173531662673)'))) / (select extract(epoch from '2026-07-22 06:12:33'::timestamp) - extract(epoch from '2026-07-22 06:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823903888464 -2.9173869453371)'), GeomFromEWKT('SRID=4674;POINT (-39.823969770223 -2.9173531662673)'))) / (select extract(epoch from '2026-07-22 06:12:33'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.824040094391 -2.9173274338245)', '2026-07-22 06:12:50', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823969770223 -2.9173531662673)'), GeomFromEWKT('SRID=4674;POINT (-39.824040094391 -2.9173274338245)'))) / (select extract(epoch from '2026-07-22 06:12:50'::timestamp) - extract(epoch from '2026-07-22 06:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823969770223 -2.9173531662673)'), GeomFromEWKT('SRID=4674;POINT (-39.824040094391 -2.9173274338245)'))) / (select extract(epoch from '2026-07-22 06:12:50'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.824113352224 -2.9172962531447)', '2026-07-22 06:13:09', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824040094391 -2.9173274338245)'), GeomFromEWKT('SRID=4674;POINT (-39.824113352224 -2.9172962531447)'))) / (select extract(epoch from '2026-07-22 06:13:09'::timestamp) - extract(epoch from '2026-07-22 06:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824040094391 -2.9173274338245)'), GeomFromEWKT('SRID=4674;POINT (-39.824113352224 -2.9172962531447)'))) / (select extract(epoch from '2026-07-22 06:13:09'::timestamp) - extract(epoch from '2026-07-22 06:12: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'), 47867, 'SRID=4674;POINT (-39.824167331681 -2.9172706883401)', '2026-07-22 06:13:24', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824113352224 -2.9172962531447)'), GeomFromEWKT('SRID=4674;POINT (-39.824167331681 -2.9172706883401)'))) / (select extract(epoch from '2026-07-22 06:13:24'::timestamp) - extract(epoch from '2026-07-22 06:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824113352224 -2.9172962531447)'), GeomFromEWKT('SRID=4674;POINT (-39.824167331681 -2.9172706883401)'))) / (select extract(epoch from '2026-07-22 06:13:24'::timestamp) - extract(epoch from '2026-07-22 06:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824219131842 -2.9172409325838)', '2026-07-22 06:13:40', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824167331681 -2.9172706883401)'), GeomFromEWKT('SRID=4674;POINT (-39.824219131842 -2.9172409325838)'))) / (select extract(epoch from '2026-07-22 06:13:40'::timestamp) - extract(epoch from '2026-07-22 06:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824167331681 -2.9172706883401)'), GeomFromEWKT('SRID=4674;POINT (-39.824219131842 -2.9172409325838)'))) / (select extract(epoch from '2026-07-22 06:13:40'::timestamp) - extract(epoch from '2026-07-22 06:13: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'), 47867, 'SRID=4674;POINT (-39.824272440746 -2.9172215703875)', '2026-07-22 06:13:53', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824219131842 -2.9172409325838)'), GeomFromEWKT('SRID=4674;POINT (-39.824272440746 -2.9172215703875)'))) / (select extract(epoch from '2026-07-22 06:13:53'::timestamp) - extract(epoch from '2026-07-22 06:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824219131842 -2.9172409325838)'), GeomFromEWKT('SRID=4674;POINT (-39.824272440746 -2.9172215703875)'))) / (select extract(epoch from '2026-07-22 06:13:53'::timestamp) - extract(epoch from '2026-07-22 06:13: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'), 47867, 'SRID=4674;POINT (-39.824332036078 -2.9171969275922)', '2026-07-22 06:14:09', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824272440746 -2.9172215703875)'), GeomFromEWKT('SRID=4674;POINT (-39.824332036078 -2.9171969275922)'))) / (select extract(epoch from '2026-07-22 06:14:09'::timestamp) - extract(epoch from '2026-07-22 06:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824272440746 -2.9172215703875)'), GeomFromEWKT('SRID=4674;POINT (-39.824332036078 -2.9171969275922)'))) / (select extract(epoch from '2026-07-22 06:14:09'::timestamp) - extract(epoch from '2026-07-22 06:13: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'), 47867, 'SRID=4674;POINT (-39.824383417144 -2.9171785712242)', '2026-07-22 06:14:25', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824332036078 -2.9171969275922)'), GeomFromEWKT('SRID=4674;POINT (-39.824383417144 -2.9171785712242)'))) / (select extract(epoch from '2026-07-22 06:14:25'::timestamp) - extract(epoch from '2026-07-22 06:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824332036078 -2.9171969275922)'), GeomFromEWKT('SRID=4674;POINT (-39.824383417144 -2.9171785712242)'))) / (select extract(epoch from '2026-07-22 06:14:25'::timestamp) - extract(epoch from '2026-07-22 06:14: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'), 47867, 'SRID=4674;POINT (-39.824446532875 -2.9171417746693)', '2026-07-22 06:14:44', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824383417144 -2.9171785712242)'), GeomFromEWKT('SRID=4674;POINT (-39.824446532875 -2.9171417746693)'))) / (select extract(epoch from '2026-07-22 06:14:44'::timestamp) - extract(epoch from '2026-07-22 06:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824383417144 -2.9171785712242)'), GeomFromEWKT('SRID=4674;POINT (-39.824446532875 -2.9171417746693)'))) / (select extract(epoch from '2026-07-22 06:14:44'::timestamp) - extract(epoch from '2026-07-22 06:14: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'), 47867, 'SRID=4674;POINT (-39.824528843164 -2.9170784913003)', '2026-07-22 06:15:10', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824446532875 -2.9171417746693)'), GeomFromEWKT('SRID=4674;POINT (-39.824528843164 -2.9170784913003)'))) / (select extract(epoch from '2026-07-22 06:15:10'::timestamp) - extract(epoch from '2026-07-22 06:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824446532875 -2.9171417746693)'), GeomFromEWKT('SRID=4674;POINT (-39.824528843164 -2.9170784913003)'))) / (select extract(epoch from '2026-07-22 06:15:10'::timestamp) - extract(epoch from '2026-07-22 06:14:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824577458203 -2.9170583747327)', '2026-07-22 06:15:22', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824528843164 -2.9170784913003)'), GeomFromEWKT('SRID=4674;POINT (-39.824577458203 -2.9170583747327)'))) / (select extract(epoch from '2026-07-22 06:15:22'::timestamp) - extract(epoch from '2026-07-22 06:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824528843164 -2.9170784913003)'), GeomFromEWKT('SRID=4674;POINT (-39.824577458203 -2.9170583747327)'))) / (select extract(epoch from '2026-07-22 06:15:22'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.824641998857 -2.9170278646052)', '2026-07-22 06:15:40', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824577458203 -2.9170583747327)'), GeomFromEWKT('SRID=4674;POINT (-39.824641998857 -2.9170278646052)'))) / (select extract(epoch from '2026-07-22 06:15:40'::timestamp) - extract(epoch from '2026-07-22 06:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824577458203 -2.9170583747327)'), GeomFromEWKT('SRID=4674;POINT (-39.824641998857 -2.9170278646052)'))) / (select extract(epoch from '2026-07-22 06:15:40'::timestamp) - extract(epoch from '2026-07-22 06:15: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'), 47867, 'SRID=4674;POINT (-39.824672676623 -2.9170007910579)', '2026-07-22 06:15:55', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824641998857 -2.9170278646052)'), GeomFromEWKT('SRID=4674;POINT (-39.824672676623 -2.9170007910579)'))) / (select extract(epoch from '2026-07-22 06:15:55'::timestamp) - extract(epoch from '2026-07-22 06:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824641998857 -2.9170278646052)'), GeomFromEWKT('SRID=4674;POINT (-39.824672676623 -2.9170007910579)'))) / (select extract(epoch from '2026-07-22 06:15:55'::timestamp) - extract(epoch from '2026-07-22 06:15: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'), 47867, 'SRID=4674;POINT (-39.824671586975 -2.9169995337725)', '2026-07-22 06:16:15', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824672676623 -2.9170007910579)'), GeomFromEWKT('SRID=4674;POINT (-39.824671586975 -2.9169995337725)'))) / (select extract(epoch from '2026-07-22 06:16:15'::timestamp) - extract(epoch from '2026-07-22 06:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824672676623 -2.9170007910579)'), GeomFromEWKT('SRID=4674;POINT (-39.824671586975 -2.9169995337725)'))) / (select extract(epoch from '2026-07-22 06:16:15'::timestamp) - extract(epoch from '2026-07-22 06:15:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824668318033 -2.9169753938913)', '2026-07-22 06:16:34', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824671586975 -2.9169995337725)'), GeomFromEWKT('SRID=4674;POINT (-39.824668318033 -2.9169753938913)'))) / (select extract(epoch from '2026-07-22 06:16:34'::timestamp) - extract(epoch from '2026-07-22 06:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824671586975 -2.9169995337725)'), GeomFromEWKT('SRID=4674;POINT (-39.824668318033 -2.9169753938913)'))) / (select extract(epoch from '2026-07-22 06:16:34'::timestamp) - extract(epoch from '2026-07-22 06:16: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'), 47867, 'SRID=4674;POINT (-39.824661025777 -2.9169603902847)', '2026-07-22 06:17:03', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824668318033 -2.9169753938913)'), GeomFromEWKT('SRID=4674;POINT (-39.824661025777 -2.9169603902847)'))) / (select extract(epoch from '2026-07-22 06:17:03'::timestamp) - extract(epoch from '2026-07-22 06:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824668318033 -2.9169753938913)'), GeomFromEWKT('SRID=4674;POINT (-39.824661025777 -2.9169603902847)'))) / (select extract(epoch from '2026-07-22 06:17:03'::timestamp) - extract(epoch from '2026-07-22 06:16: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'), 47867, 'SRID=4674;POINT (-39.824657086283 -2.9169607255608)', '2026-07-22 06:17:22', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824661025777 -2.9169603902847)'), GeomFromEWKT('SRID=4674;POINT (-39.824657086283 -2.9169607255608)'))) / (select extract(epoch from '2026-07-22 06:17:22'::timestamp) - extract(epoch from '2026-07-22 06:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824661025777 -2.9169603902847)'), GeomFromEWKT('SRID=4674;POINT (-39.824657086283 -2.9169607255608)'))) / (select extract(epoch from '2026-07-22 06:17:22'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.824659517035 -2.9169637430459)', '2026-07-22 06:17:46', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824657086283 -2.9169607255608)'), GeomFromEWKT('SRID=4674;POINT (-39.824659517035 -2.9169637430459)'))) / (select extract(epoch from '2026-07-22 06:17:46'::timestamp) - extract(epoch from '2026-07-22 06:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824657086283 -2.9169607255608)'), GeomFromEWKT('SRID=4674;POINT (-39.824659517035 -2.9169637430459)'))) / (select extract(epoch from '2026-07-22 06:17:46'::timestamp) - extract(epoch from '2026-07-22 06:17: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'), 47867, 'SRID=4674;POINT (-39.824659768492 -2.9169542714953)', '2026-07-22 06:18:09', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824659517035 -2.9169637430459)'), GeomFromEWKT('SRID=4674;POINT (-39.824659768492 -2.9169542714953)'))) / (select extract(epoch from '2026-07-22 06:18:09'::timestamp) - extract(epoch from '2026-07-22 06:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824659517035 -2.9169637430459)'), GeomFromEWKT('SRID=4674;POINT (-39.824659768492 -2.9169542714953)'))) / (select extract(epoch from '2026-07-22 06:18:09'::timestamp) - extract(epoch from '2026-07-22 06:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824658259749 -2.9169537685812)', '2026-07-22 06:18:38', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824659768492 -2.9169542714953)'), GeomFromEWKT('SRID=4674;POINT (-39.824658259749 -2.9169537685812)'))) / (select extract(epoch from '2026-07-22 06:18:38'::timestamp) - extract(epoch from '2026-07-22 06:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824659768492 -2.9169542714953)'), GeomFromEWKT('SRID=4674;POINT (-39.824658259749 -2.9169537685812)'))) / (select extract(epoch from '2026-07-22 06:18:38'::timestamp) - extract(epoch from '2026-07-22 06:18: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'), 47867, 'SRID=4674;POINT (-39.824657673016 -2.9169492423534)', '2026-07-22 06:18:59', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824658259749 -2.9169537685812)'), GeomFromEWKT('SRID=4674;POINT (-39.824657673016 -2.9169492423534)'))) / (select extract(epoch from '2026-07-22 06:18:59'::timestamp) - extract(epoch from '2026-07-22 06:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824658259749 -2.9169537685812)'), GeomFromEWKT('SRID=4674;POINT (-39.824657673016 -2.9169492423534)'))) / (select extract(epoch from '2026-07-22 06:18:59'::timestamp) - extract(epoch from '2026-07-22 06:18: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'), 47867, 'SRID=4674;POINT (-39.824655326083 -2.9169465601444)', '2026-07-22 06:19:19', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824657673016 -2.9169492423534)'), GeomFromEWKT('SRID=4674;POINT (-39.824655326083 -2.9169465601444)'))) / (select extract(epoch from '2026-07-22 06:19:19'::timestamp) - extract(epoch from '2026-07-22 06:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824657673016 -2.9169492423534)'), GeomFromEWKT('SRID=4674;POINT (-39.824655326083 -2.9169465601444)'))) / (select extract(epoch from '2026-07-22 06:19:19'::timestamp) - extract(epoch from '2026-07-22 06:18: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'), 47867, 'SRID=4674;POINT (-39.824648033828 -2.9169465601444)', '2026-07-22 06:19:42', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824655326083 -2.9169465601444)'), GeomFromEWKT('SRID=4674;POINT (-39.824648033828 -2.9169465601444)'))) / (select extract(epoch from '2026-07-22 06:19:42'::timestamp) - extract(epoch from '2026-07-22 06:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824655326083 -2.9169465601444)'), GeomFromEWKT('SRID=4674;POINT (-39.824648033828 -2.9169465601444)'))) / (select extract(epoch from '2026-07-22 06:19:42'::timestamp) - extract(epoch from '2026-07-22 06:19:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824642082676 -2.916942872107)', '2026-07-22 06:20:00', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824648033828 -2.9169465601444)'), GeomFromEWKT('SRID=4674;POINT (-39.824642082676 -2.916942872107)'))) / (select extract(epoch from '2026-07-22 06:20:00'::timestamp) - extract(epoch from '2026-07-22 06:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824648033828 -2.9169465601444)'), GeomFromEWKT('SRID=4674;POINT (-39.824642082676 -2.916942872107)'))) / (select extract(epoch from '2026-07-22 06:20:00'::timestamp) - extract(epoch from '2026-07-22 06:19: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'), 47867, 'SRID=4674;POINT (-39.824639651924 -2.9169418662786)', '2026-07-22 06:20:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824642082676 -2.916942872107)'), GeomFromEWKT('SRID=4674;POINT (-39.824639651924 -2.9169418662786)'))) / (select extract(epoch from '2026-07-22 06:20:15'::timestamp) - extract(epoch from '2026-07-22 06:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824642082676 -2.916942872107)'), GeomFromEWKT('SRID=4674;POINT (-39.824639651924 -2.9169418662786)'))) / (select extract(epoch from '2026-07-22 06:20:15'::timestamp) - extract(epoch from '2026-07-22 06:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824642082676 -2.9169576242566)', '2026-07-22 06:20:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824639651924 -2.9169418662786)'), GeomFromEWKT('SRID=4674;POINT (-39.824642082676 -2.9169576242566)'))) / (select extract(epoch from '2026-07-22 06:20:31'::timestamp) - extract(epoch from '2026-07-22 06:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824639651924 -2.9169418662786)'), GeomFromEWKT('SRID=4674;POINT (-39.824642082676 -2.9169576242566)'))) / (select extract(epoch from '2026-07-22 06:20:31'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.824641076848 -2.916945386678)', '2026-07-22 06:20:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824642082676 -2.9169576242566)'), GeomFromEWKT('SRID=4674;POINT (-39.824641076848 -2.916945386678)'))) / (select extract(epoch from '2026-07-22 06:20:53'::timestamp) - extract(epoch from '2026-07-22 06:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824642082676 -2.9169576242566)'), GeomFromEWKT('SRID=4674;POINT (-39.824641076848 -2.916945386678)'))) / (select extract(epoch from '2026-07-22 06:20:53'::timestamp) - extract(epoch from '2026-07-22 06:20: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'), 47867, 'SRID=4674;POINT (-39.82464007102 -2.9169404413551)', '2026-07-22 06:21:18', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824641076848 -2.916945386678)'), GeomFromEWKT('SRID=4674;POINT (-39.82464007102 -2.9169404413551)'))) / (select extract(epoch from '2026-07-22 06:21:18'::timestamp) - extract(epoch from '2026-07-22 06:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824641076848 -2.916945386678)'), GeomFromEWKT('SRID=4674;POINT (-39.82464007102 -2.9169404413551)'))) / (select extract(epoch from '2026-07-22 06:21:18'::timestamp) - extract(epoch from '2026-07-22 06:20:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824644764885 -2.9169482365251)', '2026-07-22 06:21:26', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82464007102 -2.9169404413551)'), GeomFromEWKT('SRID=4674;POINT (-39.824644764885 -2.9169482365251)'))) / (select extract(epoch from '2026-07-22 06:21:26'::timestamp) - extract(epoch from '2026-07-22 06:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82464007102 -2.9169404413551)'), GeomFromEWKT('SRID=4674;POINT (-39.824644764885 -2.9169482365251)'))) / (select extract(epoch from '2026-07-22 06:21:26'::timestamp) - extract(epoch from '2026-07-22 06:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824653733522 -2.916948152706)', '2026-07-22 06:21:36', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824644764885 -2.9169482365251)'), GeomFromEWKT('SRID=4674;POINT (-39.824653733522 -2.916948152706)'))) / (select extract(epoch from '2026-07-22 06:21:36'::timestamp) - extract(epoch from '2026-07-22 06:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824644764885 -2.9169482365251)'), GeomFromEWKT('SRID=4674;POINT (-39.824653733522 -2.916948152706)'))) / (select extract(epoch from '2026-07-22 06:21:36'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.824662199244 -2.9169496614486)', '2026-07-22 06:21:50', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824653733522 -2.916948152706)'), GeomFromEWKT('SRID=4674;POINT (-39.824662199244 -2.9169496614486)'))) / (select extract(epoch from '2026-07-22 06:21:50'::timestamp) - extract(epoch from '2026-07-22 06:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824653733522 -2.916948152706)'), GeomFromEWKT('SRID=4674;POINT (-39.824662199244 -2.9169496614486)'))) / (select extract(epoch from '2026-07-22 06:21:50'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.82465817593 -2.9169557802379)', '2026-07-22 06:22:03', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824662199244 -2.9169496614486)'), GeomFromEWKT('SRID=4674;POINT (-39.82465817593 -2.9169557802379)'))) / (select extract(epoch from '2026-07-22 06:22:03'::timestamp) - extract(epoch from '2026-07-22 06:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824662199244 -2.9169496614486)'), GeomFromEWKT('SRID=4674;POINT (-39.82465817593 -2.9169557802379)'))) / (select extract(epoch from '2026-07-22 06:22:03'::timestamp) - extract(epoch from '2026-07-22 06:21: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'), 47867, 'SRID=4674;POINT (-39.824658678845 -2.9169566184282)', '2026-07-22 06:22:31', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82465817593 -2.9169557802379)'), GeomFromEWKT('SRID=4674;POINT (-39.824658678845 -2.9169566184282)'))) / (select extract(epoch from '2026-07-22 06:22:31'::timestamp) - extract(epoch from '2026-07-22 06:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82465817593 -2.9169557802379)'), GeomFromEWKT('SRID=4674;POINT (-39.824658678845 -2.9169566184282)'))) / (select extract(epoch from '2026-07-22 06:22:31'::timestamp) - extract(epoch from '2026-07-22 06:22: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'), 47867, 'SRID=4674;POINT (-39.824659768492 -2.9169555287808)', '2026-07-22 06:23:01', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824658678845 -2.9169566184282)'), GeomFromEWKT('SRID=4674;POINT (-39.824659768492 -2.9169555287808)'))) / (select extract(epoch from '2026-07-22 06:23:01'::timestamp) - extract(epoch from '2026-07-22 06:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824658678845 -2.9169566184282)'), GeomFromEWKT('SRID=4674;POINT (-39.824659768492 -2.9169555287808)'))) / (select extract(epoch from '2026-07-22 06:23:01'::timestamp) - extract(epoch from '2026-07-22 06:22: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'), 47867, 'SRID=4674;POINT (-39.824666390195 -2.916955947876)', '2026-07-22 06:23:27', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824659768492 -2.9169555287808)'), GeomFromEWKT('SRID=4674;POINT (-39.824666390195 -2.916955947876)'))) / (select extract(epoch from '2026-07-22 06:23:27'::timestamp) - extract(epoch from '2026-07-22 06:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824659768492 -2.9169555287808)'), GeomFromEWKT('SRID=4674;POINT (-39.824666390195 -2.916955947876)'))) / (select extract(epoch from '2026-07-22 06:23:27'::timestamp) - extract(epoch from '2026-07-22 06:23:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824667228386 -2.9169555287808)', '2026-07-22 06:23:47', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824666390195 -2.916955947876)'), GeomFromEWKT('SRID=4674;POINT (-39.824667228386 -2.9169555287808)'))) / (select extract(epoch from '2026-07-22 06:23:47'::timestamp) - extract(epoch from '2026-07-22 06:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824666390195 -2.916955947876)'), GeomFromEWKT('SRID=4674;POINT (-39.824667228386 -2.9169555287808)'))) / (select extract(epoch from '2026-07-22 06:23:47'::timestamp) - extract(epoch from '2026-07-22 06:23: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'), 47867, 'SRID=4674;POINT (-39.824658930302 -2.9169450514019)', '2026-07-22 06:24:10', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824667228386 -2.9169555287808)'), GeomFromEWKT('SRID=4674;POINT (-39.824658930302 -2.9169450514019)'))) / (select extract(epoch from '2026-07-22 06:24:10'::timestamp) - extract(epoch from '2026-07-22 06:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824667228386 -2.9169555287808)'), GeomFromEWKT('SRID=4674;POINT (-39.824658930302 -2.9169450514019)'))) / (select extract(epoch from '2026-07-22 06:24:10'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.824645351619 -2.9169430397451)', '2026-07-22 06:24:35', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824658930302 -2.9169450514019)'), GeomFromEWKT('SRID=4674;POINT (-39.824645351619 -2.9169430397451)'))) / (select extract(epoch from '2026-07-22 06:24:35'::timestamp) - extract(epoch from '2026-07-22 06:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824658930302 -2.9169450514019)'), GeomFromEWKT('SRID=4674;POINT (-39.824645351619 -2.9169430397451)'))) / (select extract(epoch from '2026-07-22 06:24:35'::timestamp) - extract(epoch from '2026-07-22 06:24:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824649123475 -2.9169468954206)', '2026-07-22 06:24:43', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824645351619 -2.9169430397451)'), GeomFromEWKT('SRID=4674;POINT (-39.824649123475 -2.9169468954206)'))) / (select extract(epoch from '2026-07-22 06:24:43'::timestamp) - extract(epoch from '2026-07-22 06:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824645351619 -2.9169430397451)'), GeomFromEWKT('SRID=4674;POINT (-39.824649123475 -2.9169468954206)'))) / (select extract(epoch from '2026-07-22 06:24:43'::timestamp) - extract(epoch from '2026-07-22 06:24: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'), 47867, 'SRID=4674;POINT (-39.824660187587 -2.9169474821538)', '2026-07-22 06:25:00', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824649123475 -2.9169468954206)'), GeomFromEWKT('SRID=4674;POINT (-39.824660187587 -2.9169474821538)'))) / (select extract(epoch from '2026-07-22 06:25:00'::timestamp) - extract(epoch from '2026-07-22 06:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824649123475 -2.9169468954206)'), GeomFromEWKT('SRID=4674;POINT (-39.824660187587 -2.9169474821538)'))) / (select extract(epoch from '2026-07-22 06:25:00'::timestamp) - extract(epoch from '2026-07-22 06:24:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.82466253452 -2.9169504996389)', '2026-07-22 06:25:20', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824660187587 -2.9169474821538)'), GeomFromEWKT('SRID=4674;POINT (-39.82466253452 -2.9169504996389)'))) / (select extract(epoch from '2026-07-22 06:25:20'::timestamp) - extract(epoch from '2026-07-22 06:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824660187587 -2.9169474821538)'), GeomFromEWKT('SRID=4674;POINT (-39.82466253452 -2.9169504996389)'))) / (select extract(epoch from '2026-07-22 06:25:20'::timestamp) - extract(epoch from '2026-07-22 06:25: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'), 47867, 'SRID=4674;POINT (-39.824669072405 -2.9169539362192)', '2026-07-22 06:25:42', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82466253452 -2.9169504996389)'), GeomFromEWKT('SRID=4674;POINT (-39.824669072405 -2.9169539362192)'))) / (select extract(epoch from '2026-07-22 06:25:42'::timestamp) - extract(epoch from '2026-07-22 06:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82466253452 -2.9169504996389)'), GeomFromEWKT('SRID=4674;POINT (-39.824669072405 -2.9169539362192)'))) / (select extract(epoch from '2026-07-22 06:25:42'::timestamp) - extract(epoch from '2026-07-22 06:25:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824663791806 -2.9169423691928)', '2026-07-22 06:26:04', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824669072405 -2.9169539362192)'), GeomFromEWKT('SRID=4674;POINT (-39.824663791806 -2.9169423691928)'))) / (select extract(epoch from '2026-07-22 06:26:04'::timestamp) - extract(epoch from '2026-07-22 06:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824669072405 -2.9169539362192)'), GeomFromEWKT('SRID=4674;POINT (-39.824663791806 -2.9169423691928)'))) / (select extract(epoch from '2026-07-22 06:26:04'::timestamp) - extract(epoch from '2026-07-22 06:25: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'), 47867, 'SRID=4674;POINT (-39.824642082676 -2.9169446323067)', '2026-07-22 06:26:23', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824663791806 -2.9169423691928)'), GeomFromEWKT('SRID=4674;POINT (-39.824642082676 -2.9169446323067)'))) / (select extract(epoch from '2026-07-22 06:26:23'::timestamp) - extract(epoch from '2026-07-22 06:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824663791806 -2.9169423691928)'), GeomFromEWKT('SRID=4674;POINT (-39.824642082676 -2.9169446323067)'))) / (select extract(epoch from '2026-07-22 06:26:23'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.824638897553 -2.9169450514019)', '2026-07-22 06:26:41', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824642082676 -2.9169446323067)'), GeomFromEWKT('SRID=4674;POINT (-39.824638897553 -2.9169450514019)'))) / (select extract(epoch from '2026-07-22 06:26:41'::timestamp) - extract(epoch from '2026-07-22 06:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824642082676 -2.9169446323067)'), GeomFromEWKT('SRID=4674;POINT (-39.824638897553 -2.9169450514019)'))) / (select extract(epoch from '2026-07-22 06:26:41'::timestamp) - extract(epoch from '2026-07-22 06:26:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824638981372 -2.9169488232583)', '2026-07-22 06:26:57', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824638897553 -2.9169450514019)'), GeomFromEWKT('SRID=4674;POINT (-39.824638981372 -2.9169488232583)'))) / (select extract(epoch from '2026-07-22 06:26:57'::timestamp) - extract(epoch from '2026-07-22 06:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824638897553 -2.9169450514019)'), GeomFromEWKT('SRID=4674;POINT (-39.824638981372 -2.9169488232583)'))) / (select extract(epoch from '2026-07-22 06:26:57'::timestamp) - extract(epoch from '2026-07-22 06:26: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'), 47867, 'SRID=4674;POINT (-39.824637221172 -2.9169550258666)', '2026-07-22 06:27:13', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824638981372 -2.9169488232583)'), GeomFromEWKT('SRID=4674;POINT (-39.824637221172 -2.9169550258666)'))) / (select extract(epoch from '2026-07-22 06:27:13'::timestamp) - extract(epoch from '2026-07-22 06:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824638981372 -2.9169488232583)'), GeomFromEWKT('SRID=4674;POINT (-39.824637221172 -2.9169550258666)'))) / (select extract(epoch from '2026-07-22 06:27:13'::timestamp) - extract(epoch from '2026-07-22 06:26: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'), 47867, 'SRID=4674;POINT (-39.824646357447 -2.9169547744095)', '2026-07-22 06:27:33', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824637221172 -2.9169550258666)'), GeomFromEWKT('SRID=4674;POINT (-39.824646357447 -2.9169547744095)'))) / (select extract(epoch from '2026-07-22 06:27:33'::timestamp) - extract(epoch from '2026-07-22 06:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824637221172 -2.9169550258666)'), GeomFromEWKT('SRID=4674;POINT (-39.824646357447 -2.9169547744095)'))) / (select extract(epoch from '2026-07-22 06:27:33'::timestamp) - extract(epoch from '2026-07-22 06:27:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824651973322 -2.916958630085)', '2026-07-22 06:27:54', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824646357447 -2.9169547744095)'), GeomFromEWKT('SRID=4674;POINT (-39.824651973322 -2.916958630085)'))) / (select extract(epoch from '2026-07-22 06:27:54'::timestamp) - extract(epoch from '2026-07-22 06:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824646357447 -2.9169547744095)'), GeomFromEWKT('SRID=4674;POINT (-39.824651973322 -2.916958630085)'))) / (select extract(epoch from '2026-07-22 06:27:54'::timestamp) - extract(epoch from '2026-07-22 06:27:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824649626389 -2.9169578757137)', '2026-07-22 06:27:58', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824651973322 -2.916958630085)'), GeomFromEWKT('SRID=4674;POINT (-39.824649626389 -2.9169578757137)'))) / (select extract(epoch from '2026-07-22 06:27:58'::timestamp) - extract(epoch from '2026-07-22 06:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824651973322 -2.916958630085)'), GeomFromEWKT('SRID=4674;POINT (-39.824649626389 -2.9169578757137)'))) / (select extract(epoch from '2026-07-22 06:27:58'::timestamp) - extract(epoch from '2026-07-22 06:27: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'), 47867, 'SRID=4674;POINT (-39.824460530654 -2.917112018913)', '2026-07-22 06:30:37', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824649626389 -2.9169578757137)'), GeomFromEWKT('SRID=4674;POINT (-39.824460530654 -2.917112018913)'))) / (select extract(epoch from '2026-07-22 06:30:37'::timestamp) - extract(epoch from '2026-07-22 06:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824649626389 -2.9169578757137)'), GeomFromEWKT('SRID=4674;POINT (-39.824460530654 -2.917112018913)'))) / (select extract(epoch from '2026-07-22 06:30:37'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.8244166933 -2.9171535931528)', '2026-07-22 06:30:42', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824460530654 -2.917112018913)'), GeomFromEWKT('SRID=4674;POINT (-39.8244166933 -2.9171535931528)'))) / (select extract(epoch from '2026-07-22 06:30:42'::timestamp) - extract(epoch from '2026-07-22 06:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824460530654 -2.917112018913)'), GeomFromEWKT('SRID=4674;POINT (-39.8244166933 -2.9171535931528)'))) / (select extract(epoch from '2026-07-22 06:30:42'::timestamp) - extract(epoch from '2026-07-22 06:30: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'), 47867, 'SRID=4674;POINT (-39.82435952872 -2.9172059800476)', '2026-07-22 06:30:48', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8244166933 -2.9171535931528)'), GeomFromEWKT('SRID=4674;POINT (-39.82435952872 -2.9172059800476)'))) / (select extract(epoch from '2026-07-22 06:30:48'::timestamp) - extract(epoch from '2026-07-22 06:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8244166933 -2.9171535931528)'), GeomFromEWKT('SRID=4674;POINT (-39.82435952872 -2.9172059800476)'))) / (select extract(epoch from '2026-07-22 06:30:48'::timestamp) - extract(epoch from '2026-07-22 06:30: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'), 47867, 'SRID=4674;POINT (-39.824301190674 -2.9172303713858)', '2026-07-22 06:30:54', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82435952872 -2.9172059800476)'), GeomFromEWKT('SRID=4674;POINT (-39.824301190674 -2.9172303713858)'))) / (select extract(epoch from '2026-07-22 06:30:54'::timestamp) - extract(epoch from '2026-07-22 06:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82435952872 -2.9172059800476)'), GeomFromEWKT('SRID=4674;POINT (-39.824301190674 -2.9172303713858)'))) / (select extract(epoch from '2026-07-22 06:30:54'::timestamp) - extract(epoch from '2026-07-22 06:30:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824206894264 -2.9172672517598)', '2026-07-22 06:31:02', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824301190674 -2.9172303713858)'), GeomFromEWKT('SRID=4674;POINT (-39.824206894264 -2.9172672517598)'))) / (select extract(epoch from '2026-07-22 06:31:02'::timestamp) - extract(epoch from '2026-07-22 06:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824301190674 -2.9172303713858)'), GeomFromEWKT('SRID=4674;POINT (-39.824206894264 -2.9172672517598)'))) / (select extract(epoch from '2026-07-22 06:31:02'::timestamp) - extract(epoch from '2026-07-22 06:30: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'), 47867, 'SRID=4674;POINT (-39.824115699157 -2.9172972589731)', '2026-07-22 06:31:09', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824206894264 -2.9172672517598)'), GeomFromEWKT('SRID=4674;POINT (-39.824115699157 -2.9172972589731)'))) / (select extract(epoch from '2026-07-22 06:31:09'::timestamp) - extract(epoch from '2026-07-22 06:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824206894264 -2.9172672517598)'), GeomFromEWKT('SRID=4674;POINT (-39.824115699157 -2.9172972589731)'))) / (select extract(epoch from '2026-07-22 06:31:09'::timestamp) - extract(epoch from '2026-07-22 06:31:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.824023749679 -2.9173581954092)', '2026-07-22 06:31:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824115699157 -2.9172972589731)'), GeomFromEWKT('SRID=4674;POINT (-39.824023749679 -2.9173581954092)'))) / (select extract(epoch from '2026-07-22 06:31:17'::timestamp) - extract(epoch from '2026-07-22 06:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824115699157 -2.9172972589731)'), GeomFromEWKT('SRID=4674;POINT (-39.824023749679 -2.9173581954092)'))) / (select extract(epoch from '2026-07-22 06:31:17'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.823919059709 -2.9174470435828)', '2026-07-22 06:31:26', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824023749679 -2.9173581954092)'), GeomFromEWKT('SRID=4674;POINT (-39.823919059709 -2.9174470435828)'))) / (select extract(epoch from '2026-07-22 06:31:26'::timestamp) - extract(epoch from '2026-07-22 06:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824023749679 -2.9173581954092)'), GeomFromEWKT('SRID=4674;POINT (-39.823919059709 -2.9174470435828)'))) / (select extract(epoch from '2026-07-22 06:31:26'::timestamp) - extract(epoch from '2026-07-22 06:31:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823844796047 -2.9175565950572)', '2026-07-22 06:31:35', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823919059709 -2.9174470435828)'), GeomFromEWKT('SRID=4674;POINT (-39.823844796047 -2.9175565950572)'))) / (select extract(epoch from '2026-07-22 06:31:35'::timestamp) - extract(epoch from '2026-07-22 06:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823919059709 -2.9174470435828)'), GeomFromEWKT('SRID=4674;POINT (-39.823844796047 -2.9175565950572)'))) / (select extract(epoch from '2026-07-22 06:31:35'::timestamp) - extract(epoch from '2026-07-22 06:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823773382232 -2.9176293499768)', '2026-07-22 06:31:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823844796047 -2.9175565950572)'), GeomFromEWKT('SRID=4674;POINT (-39.823773382232 -2.9176293499768)'))) / (select extract(epoch from '2026-07-22 06:31:42'::timestamp) - extract(epoch from '2026-07-22 06:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823844796047 -2.9175565950572)'), GeomFromEWKT('SRID=4674;POINT (-39.823773382232 -2.9176293499768)'))) / (select extract(epoch from '2026-07-22 06:31:42'::timestamp) - extract(epoch from '2026-07-22 06:31: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'), 47867, 'SRID=4674;POINT (-39.823720073327 -2.917733117938)', '2026-07-22 06:31:50', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823773382232 -2.9176293499768)'), GeomFromEWKT('SRID=4674;POINT (-39.823720073327 -2.917733117938)'))) / (select extract(epoch from '2026-07-22 06:31:50'::timestamp) - extract(epoch from '2026-07-22 06:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823773382232 -2.9176293499768)'), GeomFromEWKT('SRID=4674;POINT (-39.823720073327 -2.917733117938)'))) / (select extract(epoch from '2026-07-22 06:31:50'::timestamp) - extract(epoch from '2026-07-22 06:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823662992567 -2.91783076711)', '2026-07-22 06:31:58', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823720073327 -2.917733117938)'), GeomFromEWKT('SRID=4674;POINT (-39.823662992567 -2.91783076711)'))) / (select extract(epoch from '2026-07-22 06:31:58'::timestamp) - extract(epoch from '2026-07-22 06:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823720073327 -2.917733117938)'), GeomFromEWKT('SRID=4674;POINT (-39.823662992567 -2.91783076711)'))) / (select extract(epoch from '2026-07-22 06:31:58'::timestamp) - extract(epoch from '2026-07-22 06:31: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'), 47867, 'SRID=4674;POINT (-39.823593171313 -2.9179011750966)', '2026-07-22 06:32:05', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823662992567 -2.91783076711)'), GeomFromEWKT('SRID=4674;POINT (-39.823593171313 -2.9179011750966)'))) / (select extract(epoch from '2026-07-22 06:32:05'::timestamp) - extract(epoch from '2026-07-22 06:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823662992567 -2.91783076711)'), GeomFromEWKT('SRID=4674;POINT (-39.823593171313 -2.9179011750966)'))) / (select extract(epoch from '2026-07-22 06:32:05'::timestamp) - extract(epoch from '2026-07-22 06:31: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'), 47867, 'SRID=4674;POINT (-39.823534078896 -2.9178924579173)', '2026-07-22 06:32:11', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823593171313 -2.9179011750966)'), GeomFromEWKT('SRID=4674;POINT (-39.823534078896 -2.9178924579173)'))) / (select extract(epoch from '2026-07-22 06:32:11'::timestamp) - extract(epoch from '2026-07-22 06:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823593171313 -2.9179011750966)'), GeomFromEWKT('SRID=4674;POINT (-39.823534078896 -2.9178924579173)'))) / (select extract(epoch from '2026-07-22 06:32:11'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.823418073356 -2.9178473632783)', '2026-07-22 06:32:21', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823534078896 -2.9178924579173)'), GeomFromEWKT('SRID=4674;POINT (-39.823418073356 -2.9178473632783)'))) / (select extract(epoch from '2026-07-22 06:32:21'::timestamp) - extract(epoch from '2026-07-22 06:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823534078896 -2.9178924579173)'), GeomFromEWKT('SRID=4674;POINT (-39.823418073356 -2.9178473632783)'))) / (select extract(epoch from '2026-07-22 06:32:21'::timestamp) - extract(epoch from '2026-07-22 06:32:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823344899341 -2.9178410768509)', '2026-07-22 06:32:27', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823418073356 -2.9178473632783)'), GeomFromEWKT('SRID=4674;POINT (-39.823344899341 -2.9178410768509)'))) / (select extract(epoch from '2026-07-22 06:32:27'::timestamp) - extract(epoch from '2026-07-22 06:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823418073356 -2.9178473632783)'), GeomFromEWKT('SRID=4674;POINT (-39.823344899341 -2.9178410768509)'))) / (select extract(epoch from '2026-07-22 06:32:27'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.823221433908 -2.9178458545357)', '2026-07-22 06:32:36', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823344899341 -2.9178410768509)'), GeomFromEWKT('SRID=4674;POINT (-39.823221433908 -2.9178458545357)'))) / (select extract(epoch from '2026-07-22 06:32:36'::timestamp) - extract(epoch from '2026-07-22 06:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823344899341 -2.9178410768509)'), GeomFromEWKT('SRID=4674;POINT (-39.823221433908 -2.9178458545357)'))) / (select extract(epoch from '2026-07-22 06:32:36'::timestamp) - extract(epoch from '2026-07-22 06:32:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823140799999 -2.9178792983294)', '2026-07-22 06:32:43', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823221433908 -2.9178458545357)'), GeomFromEWKT('SRID=4674;POINT (-39.823140799999 -2.9178792983294)'))) / (select extract(epoch from '2026-07-22 06:32:43'::timestamp) - extract(epoch from '2026-07-22 06:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823221433908 -2.9178458545357)'), GeomFromEWKT('SRID=4674;POINT (-39.823140799999 -2.9178792983294)'))) / (select extract(epoch from '2026-07-22 06:32:43'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.823057567701 -2.9179612733424)', '2026-07-22 06:32:51', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823140799999 -2.9178792983294)'), GeomFromEWKT('SRID=4674;POINT (-39.823057567701 -2.9179612733424)'))) / (select extract(epoch from '2026-07-22 06:32:51'::timestamp) - extract(epoch from '2026-07-22 06:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823140799999 -2.9178792983294)'), GeomFromEWKT('SRID=4674;POINT (-39.823057567701 -2.9179612733424)'))) / (select extract(epoch from '2026-07-22 06:32:51'::timestamp) - extract(epoch from '2026-07-22 06:32: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'), 47867, 'SRID=4674;POINT (-39.823025045916 -2.9179772827774)', '2026-07-22 06:33:01', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823057567701 -2.9179612733424)'), GeomFromEWKT('SRID=4674;POINT (-39.823025045916 -2.9179772827774)'))) / (select extract(epoch from '2026-07-22 06:33:01'::timestamp) - extract(epoch from '2026-07-22 06:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823057567701 -2.9179612733424)'), GeomFromEWKT('SRID=4674;POINT (-39.823025045916 -2.9179772827774)'))) / (select extract(epoch from '2026-07-22 06:33:01'::timestamp) - extract(epoch from '2026-07-22 06:32: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'), 47867, 'SRID=4674;POINT (-39.823034433648 -2.9179514665157)', '2026-07-22 06:33:18', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823025045916 -2.9179772827774)'), GeomFromEWKT('SRID=4674;POINT (-39.823034433648 -2.9179514665157)'))) / (select extract(epoch from '2026-07-22 06:33:18'::timestamp) - extract(epoch from '2026-07-22 06:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823025045916 -2.9179772827774)'), GeomFromEWKT('SRID=4674;POINT (-39.823034433648 -2.9179514665157)'))) / (select extract(epoch from '2026-07-22 06:33:18'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.823072152212 -2.9179289191961)', '2026-07-22 06:33:29', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823034433648 -2.9179514665157)'), GeomFromEWKT('SRID=4674;POINT (-39.823072152212 -2.9179289191961)'))) / (select extract(epoch from '2026-07-22 06:33:29'::timestamp) - extract(epoch from '2026-07-22 06:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823034433648 -2.9179514665157)'), GeomFromEWKT('SRID=4674;POINT (-39.823072152212 -2.9179289191961)'))) / (select extract(epoch from '2026-07-22 06:33:29'::timestamp) - extract(epoch from '2026-07-22 06:33:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823122024536 -2.917902180925)', '2026-07-22 06:33:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823072152212 -2.9179289191961)'), GeomFromEWKT('SRID=4674;POINT (-39.823122024536 -2.917902180925)'))) / (select extract(epoch from '2026-07-22 06:33:42'::timestamp) - extract(epoch from '2026-07-22 06:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823072152212 -2.9179289191961)'), GeomFromEWKT('SRID=4674;POINT (-39.823122024536 -2.917902180925)'))) / (select extract(epoch from '2026-07-22 06:33:42'::timestamp) - extract(epoch from '2026-07-22 06:33:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.82317709364 -2.9178878478706)', '2026-07-22 06:33:54', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823122024536 -2.917902180925)'), GeomFromEWKT('SRID=4674;POINT (-39.82317709364 -2.9178878478706)'))) / (select extract(epoch from '2026-07-22 06:33:54'::timestamp) - extract(epoch from '2026-07-22 06:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823122024536 -2.917902180925)'), GeomFromEWKT('SRID=4674;POINT (-39.82317709364 -2.9178878478706)'))) / (select extract(epoch from '2026-07-22 06:33:54'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.823231995106 -2.9178759455681)', '2026-07-22 06:34:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82317709364 -2.9178878478706)'), GeomFromEWKT('SRID=4674;POINT (-39.823231995106 -2.9178759455681)'))) / (select extract(epoch from '2026-07-22 06:34:09'::timestamp) - extract(epoch from '2026-07-22 06:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82317709364 -2.9178878478706)'), GeomFromEWKT('SRID=4674;POINT (-39.823231995106 -2.9178759455681)'))) / (select extract(epoch from '2026-07-22 06:34:09'::timestamp) - extract(epoch from '2026-07-22 06:33: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'), 47867, 'SRID=4674;POINT (-39.823280777782 -2.9178561642766)', '2026-07-22 06:34:22', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823231995106 -2.9178759455681)'), GeomFromEWKT('SRID=4674;POINT (-39.823280777782 -2.9178561642766)'))) / (select extract(epoch from '2026-07-22 06:34:22'::timestamp) - extract(epoch from '2026-07-22 06:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823231995106 -2.9178759455681)'), GeomFromEWKT('SRID=4674;POINT (-39.823280777782 -2.9178561642766)'))) / (select extract(epoch from '2026-07-22 06:34:22'::timestamp) - extract(epoch from '2026-07-22 06:34:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823338529095 -2.9178415797651)', '2026-07-22 06:34:36', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823280777782 -2.9178561642766)'), GeomFromEWKT('SRID=4674;POINT (-39.823338529095 -2.9178415797651)'))) / (select extract(epoch from '2026-07-22 06:34:36'::timestamp) - extract(epoch from '2026-07-22 06:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823280777782 -2.9178561642766)'), GeomFromEWKT('SRID=4674;POINT (-39.823338529095 -2.9178415797651)'))) / (select extract(epoch from '2026-07-22 06:34:36'::timestamp) - extract(epoch from '2026-07-22 06: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'), 47867, 'SRID=4674;POINT (-39.82342896983 -2.9178109858185)', '2026-07-22 06:34:59', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823338529095 -2.9178415797651)'), GeomFromEWKT('SRID=4674;POINT (-39.82342896983 -2.9178109858185)'))) / (select extract(epoch from '2026-07-22 06:34:59'::timestamp) - extract(epoch from '2026-07-22 06:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823338529095 -2.9178415797651)'), GeomFromEWKT('SRID=4674;POINT (-39.82342896983 -2.9178109858185)'))) / (select extract(epoch from '2026-07-22 06:34:59'::timestamp) - extract(epoch from '2026-07-22 06:34: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'), 47867, 'SRID=4674;POINT (-39.823472974822 -2.9177840799093)', '2026-07-22 06:35:11', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82342896983 -2.9178109858185)'), GeomFromEWKT('SRID=4674;POINT (-39.823472974822 -2.9177840799093)'))) / (select extract(epoch from '2026-07-22 06:35:11'::timestamp) - extract(epoch from '2026-07-22 06:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82342896983 -2.9178109858185)'), GeomFromEWKT('SRID=4674;POINT (-39.823472974822 -2.9177840799093)'))) / (select extract(epoch from '2026-07-22 06:35:11'::timestamp) - extract(epoch from '2026-07-22 06:34: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'), 47867, 'SRID=4674;POINT (-39.823522092775 -2.9177708365023)', '2026-07-22 06:35:22', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823472974822 -2.9177840799093)'), GeomFromEWKT('SRID=4674;POINT (-39.823522092775 -2.9177708365023)'))) / (select extract(epoch from '2026-07-22 06:35:22'::timestamp) - extract(epoch from '2026-07-22 06:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823472974822 -2.9177840799093)'), GeomFromEWKT('SRID=4674;POINT (-39.823522092775 -2.9177708365023)'))) / (select extract(epoch from '2026-07-22 06:35:22'::timestamp) - extract(epoch from '2026-07-22 06:35: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'), 47867, 'SRID=4674;POINT (-39.823554782197 -2.9177379794419)', '2026-07-22 06:35:32', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823522092775 -2.9177708365023)'), GeomFromEWKT('SRID=4674;POINT (-39.823554782197 -2.9177379794419)'))) / (select extract(epoch from '2026-07-22 06:35:32'::timestamp) - extract(epoch from '2026-07-22 06:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823522092775 -2.9177708365023)'), GeomFromEWKT('SRID=4674;POINT (-39.823554782197 -2.9177379794419)'))) / (select extract(epoch from '2026-07-22 06:35:32'::timestamp) - extract(epoch from '2026-07-22 06:35:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47867, 'SRID=4674;POINT (-39.823539862409 -2.917653657496)', '2026-07-22 06:35:42', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823554782197 -2.9177379794419)'), GeomFromEWKT('SRID=4674;POINT (-39.823539862409 -2.917653657496)'))) / (select extract(epoch from '2026-07-22 06:35:42'::timestamp) - extract(epoch from '2026-07-22 06:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823554782197 -2.9177379794419)'), GeomFromEWKT('SRID=4674;POINT (-39.823539862409 -2.917653657496)'))) / (select extract(epoch from '2026-07-22 06:35:42'::timestamp) - extract(epoch from '2026-07-22 06:35: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'), 47867, 'SRID=4674;POINT (-39.823511866853 -2.9176301881671)', '2026-07-22 06:35:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823539862409 -2.917653657496)'), GeomFromEWKT('SRID=4674;POINT (-39.823511866853 -2.9176301881671)'))) / (select extract(epoch from '2026-07-22 06:35:46'::timestamp) - extract(epoch from '2026-07-22 06:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823539862409 -2.917653657496)'), GeomFromEWKT('SRID=4674;POINT (-39.823511866853 -2.9176301881671)'))) / (select extract(epoch from '2026-07-22 06:35:46'::timestamp) - extract(epoch from '2026-07-22 06:35:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
