 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052472 -2.78514)', '2026-07-05 08:47:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052454 -2.785215)'), GeomFromEWKT('SRID=4674;POINT (-40.052472 -2.78514)'))) / (select extract(epoch from '2026-07-05 08:47:26'::timestamp) - extract(epoch from '2026-07-05 08:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052454 -2.785215)'), GeomFromEWKT('SRID=4674;POINT (-40.052472 -2.78514)'))) / (select extract(epoch from '2026-07-05 08:47:26'::timestamp) - extract(epoch from '2026-07-05 08:47:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052482 -2.785069)', '2026-07-05 08:47:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052472 -2.78514)'), GeomFromEWKT('SRID=4674;POINT (-40.052482 -2.785069)'))) / (select extract(epoch from '2026-07-05 08:47:31'::timestamp) - extract(epoch from '2026-07-05 08:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052472 -2.78514)'), GeomFromEWKT('SRID=4674;POINT (-40.052482 -2.785069)'))) / (select extract(epoch from '2026-07-05 08:47:31'::timestamp) - extract(epoch from '2026-07-05 08:47: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'), 47625, 'SRID=4674;POINT (-40.052486 -2.785055)', '2026-07-05 08:47:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052482 -2.785069)'), GeomFromEWKT('SRID=4674;POINT (-40.052486 -2.785055)'))) / (select extract(epoch from '2026-07-05 08:47:32'::timestamp) - extract(epoch from '2026-07-05 08:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052482 -2.785069)'), GeomFromEWKT('SRID=4674;POINT (-40.052486 -2.785055)'))) / (select extract(epoch from '2026-07-05 08:47:32'::timestamp) - extract(epoch from '2026-07-05 08:47: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'), 47625, 'SRID=4674;POINT (-40.052498 -2.784957)', '2026-07-05 08:47:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052486 -2.785055)'), GeomFromEWKT('SRID=4674;POINT (-40.052498 -2.784957)'))) / (select extract(epoch from '2026-07-05 08:47:39'::timestamp) - extract(epoch from '2026-07-05 08:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052486 -2.785055)'), GeomFromEWKT('SRID=4674;POINT (-40.052498 -2.784957)'))) / (select extract(epoch from '2026-07-05 08:47:39'::timestamp) - extract(epoch from '2026-07-05 08:47:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052502 -2.784876)', '2026-07-05 08:47:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052498 -2.784957)'), GeomFromEWKT('SRID=4674;POINT (-40.052502 -2.784876)'))) / (select extract(epoch from '2026-07-05 08:47:44'::timestamp) - extract(epoch from '2026-07-05 08:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052498 -2.784957)'), GeomFromEWKT('SRID=4674;POINT (-40.052502 -2.784876)'))) / (select extract(epoch from '2026-07-05 08:47:44'::timestamp) - extract(epoch from '2026-07-05 08:47:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052511 -2.784795)', '2026-07-05 08:47:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052502 -2.784876)'), GeomFromEWKT('SRID=4674;POINT (-40.052511 -2.784795)'))) / (select extract(epoch from '2026-07-05 08:47:49'::timestamp) - extract(epoch from '2026-07-05 08:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052502 -2.784876)'), GeomFromEWKT('SRID=4674;POINT (-40.052511 -2.784795)'))) / (select extract(epoch from '2026-07-05 08:47:49'::timestamp) - extract(epoch from '2026-07-05 08:47: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'), 47625, 'SRID=4674;POINT (-40.052514 -2.78478)', '2026-07-05 08:47:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052511 -2.784795)'), GeomFromEWKT('SRID=4674;POINT (-40.052514 -2.78478)'))) / (select extract(epoch from '2026-07-05 08:47:50'::timestamp) - extract(epoch from '2026-07-05 08:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052511 -2.784795)'), GeomFromEWKT('SRID=4674;POINT (-40.052514 -2.78478)'))) / (select extract(epoch from '2026-07-05 08:47:50'::timestamp) - extract(epoch from '2026-07-05 08:47: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'), 47625, 'SRID=4674;POINT (-40.052517 -2.784752)', '2026-07-05 08:47:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052514 -2.78478)'), GeomFromEWKT('SRID=4674;POINT (-40.052517 -2.784752)'))) / (select extract(epoch from '2026-07-05 08:47:52'::timestamp) - extract(epoch from '2026-07-05 08:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052514 -2.78478)'), GeomFromEWKT('SRID=4674;POINT (-40.052517 -2.784752)'))) / (select extract(epoch from '2026-07-05 08:47:52'::timestamp) - extract(epoch from '2026-07-05 08:47: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'), 47625, 'SRID=4674;POINT (-40.052519 -2.784691)', '2026-07-05 08:47:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052517 -2.784752)'), GeomFromEWKT('SRID=4674;POINT (-40.052519 -2.784691)'))) / (select extract(epoch from '2026-07-05 08:47:56'::timestamp) - extract(epoch from '2026-07-05 08:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052517 -2.784752)'), GeomFromEWKT('SRID=4674;POINT (-40.052519 -2.784691)'))) / (select extract(epoch from '2026-07-05 08:47:56'::timestamp) - extract(epoch from '2026-07-05 08:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05252 -2.784662)', '2026-07-05 08:47:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052519 -2.784691)'), GeomFromEWKT('SRID=4674;POINT (-40.05252 -2.784662)'))) / (select extract(epoch from '2026-07-05 08:47:58'::timestamp) - extract(epoch from '2026-07-05 08:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052519 -2.784691)'), GeomFromEWKT('SRID=4674;POINT (-40.05252 -2.784662)'))) / (select extract(epoch from '2026-07-05 08:47:58'::timestamp) - extract(epoch from '2026-07-05 08:47: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'), 47625, 'SRID=4674;POINT (-40.052523 -2.784619)', '2026-07-05 08:48:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05252 -2.784662)'), GeomFromEWKT('SRID=4674;POINT (-40.052523 -2.784619)'))) / (select extract(epoch from '2026-07-05 08:48:01'::timestamp) - extract(epoch from '2026-07-05 08:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05252 -2.784662)'), GeomFromEWKT('SRID=4674;POINT (-40.052523 -2.784619)'))) / (select extract(epoch from '2026-07-05 08:48:01'::timestamp) - extract(epoch from '2026-07-05 08:47:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052545 -2.784517)', '2026-07-05 08:48:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052523 -2.784619)'), GeomFromEWKT('SRID=4674;POINT (-40.052545 -2.784517)'))) / (select extract(epoch from '2026-07-05 08:48:08'::timestamp) - extract(epoch from '2026-07-05 08:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052523 -2.784619)'), GeomFromEWKT('SRID=4674;POINT (-40.052545 -2.784517)'))) / (select extract(epoch from '2026-07-05 08:48:08'::timestamp) - extract(epoch from '2026-07-05 08:48: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'), 47625, 'SRID=4674;POINT (-40.05256 -2.784456)', '2026-07-05 08:48:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052545 -2.784517)'), GeomFromEWKT('SRID=4674;POINT (-40.05256 -2.784456)'))) / (select extract(epoch from '2026-07-05 08:48:12'::timestamp) - extract(epoch from '2026-07-05 08:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052545 -2.784517)'), GeomFromEWKT('SRID=4674;POINT (-40.05256 -2.784456)'))) / (select extract(epoch from '2026-07-05 08:48:12'::timestamp) - extract(epoch from '2026-07-05 08:48:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052563 -2.784428)', '2026-07-05 08:48:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05256 -2.784456)'), GeomFromEWKT('SRID=4674;POINT (-40.052563 -2.784428)'))) / (select extract(epoch from '2026-07-05 08:48:14'::timestamp) - extract(epoch from '2026-07-05 08:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05256 -2.784456)'), GeomFromEWKT('SRID=4674;POINT (-40.052563 -2.784428)'))) / (select extract(epoch from '2026-07-05 08:48:14'::timestamp) - extract(epoch from '2026-07-05 08:48:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052585 -2.784316)', '2026-07-05 08:48:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052563 -2.784428)'), GeomFromEWKT('SRID=4674;POINT (-40.052585 -2.784316)'))) / (select extract(epoch from '2026-07-05 08:48:21'::timestamp) - extract(epoch from '2026-07-05 08:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052563 -2.784428)'), GeomFromEWKT('SRID=4674;POINT (-40.052585 -2.784316)'))) / (select extract(epoch from '2026-07-05 08:48:21'::timestamp) - extract(epoch from '2026-07-05 08:48: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'), 47625, 'SRID=4674;POINT (-40.052604 -2.784217)', '2026-07-05 08:48:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052585 -2.784316)'), GeomFromEWKT('SRID=4674;POINT (-40.052604 -2.784217)'))) / (select extract(epoch from '2026-07-05 08:48:27'::timestamp) - extract(epoch from '2026-07-05 08:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052585 -2.784316)'), GeomFromEWKT('SRID=4674;POINT (-40.052604 -2.784217)'))) / (select extract(epoch from '2026-07-05 08:48:27'::timestamp) - extract(epoch from '2026-07-05 08:48: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'), 47625, 'SRID=4674;POINT (-40.052635 -2.784144)', '2026-07-05 08:48:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052604 -2.784217)'), GeomFromEWKT('SRID=4674;POINT (-40.052635 -2.784144)'))) / (select extract(epoch from '2026-07-05 08:48:32'::timestamp) - extract(epoch from '2026-07-05 08:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052604 -2.784217)'), GeomFromEWKT('SRID=4674;POINT (-40.052635 -2.784144)'))) / (select extract(epoch from '2026-07-05 08:48:32'::timestamp) - extract(epoch from '2026-07-05 08:48: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'), 47625, 'SRID=4674;POINT (-40.052709 -2.784097)', '2026-07-05 08:48:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052635 -2.784144)'), GeomFromEWKT('SRID=4674;POINT (-40.052709 -2.784097)'))) / (select extract(epoch from '2026-07-05 08:48:38'::timestamp) - extract(epoch from '2026-07-05 08:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052635 -2.784144)'), GeomFromEWKT('SRID=4674;POINT (-40.052709 -2.784097)'))) / (select extract(epoch from '2026-07-05 08:48:38'::timestamp) - extract(epoch from '2026-07-05 08:48: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'), 47625, 'SRID=4674;POINT (-40.052769 -2.784091)', '2026-07-05 08:48:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052709 -2.784097)'), GeomFromEWKT('SRID=4674;POINT (-40.052769 -2.784091)'))) / (select extract(epoch from '2026-07-05 08:48:43'::timestamp) - extract(epoch from '2026-07-05 08:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052709 -2.784097)'), GeomFromEWKT('SRID=4674;POINT (-40.052769 -2.784091)'))) / (select extract(epoch from '2026-07-05 08:48:43'::timestamp) - extract(epoch from '2026-07-05 08:48: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'), 47625, 'SRID=4674;POINT (-40.052778 -2.784096)', '2026-07-05 08:48:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052769 -2.784091)'), GeomFromEWKT('SRID=4674;POINT (-40.052778 -2.784096)'))) / (select extract(epoch from '2026-07-05 08:48:44'::timestamp) - extract(epoch from '2026-07-05 08:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052769 -2.784091)'), GeomFromEWKT('SRID=4674;POINT (-40.052778 -2.784096)'))) / (select extract(epoch from '2026-07-05 08:48:44'::timestamp) - extract(epoch from '2026-07-05 08:48:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052788 -2.784098)', '2026-07-05 08:48:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052778 -2.784096)'), GeomFromEWKT('SRID=4674;POINT (-40.052788 -2.784098)'))) / (select extract(epoch from '2026-07-05 08:48:45'::timestamp) - extract(epoch from '2026-07-05 08:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052778 -2.784096)'), GeomFromEWKT('SRID=4674;POINT (-40.052788 -2.784098)'))) / (select extract(epoch from '2026-07-05 08:48:45'::timestamp) - extract(epoch from '2026-07-05 08:48: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'), 47625, 'SRID=4674;POINT (-40.052828 -2.78412)', '2026-07-05 08:48:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052788 -2.784098)'), GeomFromEWKT('SRID=4674;POINT (-40.052828 -2.78412)'))) / (select extract(epoch from '2026-07-05 08:48:50'::timestamp) - extract(epoch from '2026-07-05 08:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052788 -2.784098)'), GeomFromEWKT('SRID=4674;POINT (-40.052828 -2.78412)'))) / (select extract(epoch from '2026-07-05 08:48:50'::timestamp) - extract(epoch from '2026-07-05 08:48:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052865 -2.784177)', '2026-07-05 08:49:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052828 -2.78412)'), GeomFromEWKT('SRID=4674;POINT (-40.052865 -2.784177)'))) / (select extract(epoch from '2026-07-05 08:49:01'::timestamp) - extract(epoch from '2026-07-05 08:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052828 -2.78412)'), GeomFromEWKT('SRID=4674;POINT (-40.052865 -2.784177)'))) / (select extract(epoch from '2026-07-05 08:49:01'::timestamp) - extract(epoch from '2026-07-05 08:48: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'), 47625, 'SRID=4674;POINT (-40.052871 -2.784223)', '2026-07-05 08:49:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052865 -2.784177)'), GeomFromEWKT('SRID=4674;POINT (-40.052871 -2.784223)'))) / (select extract(epoch from '2026-07-05 08:49:12'::timestamp) - extract(epoch from '2026-07-05 08:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052865 -2.784177)'), GeomFromEWKT('SRID=4674;POINT (-40.052871 -2.784223)'))) / (select extract(epoch from '2026-07-05 08:49:12'::timestamp) - extract(epoch from '2026-07-05 08:49: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'), 47625, 'SRID=4674;POINT (-40.052836 -2.784216)', '2026-07-05 08:49:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052871 -2.784223)'), GeomFromEWKT('SRID=4674;POINT (-40.052836 -2.784216)'))) / (select extract(epoch from '2026-07-05 08:49:22'::timestamp) - extract(epoch from '2026-07-05 08:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052871 -2.784223)'), GeomFromEWKT('SRID=4674;POINT (-40.052836 -2.784216)'))) / (select extract(epoch from '2026-07-05 08:49:22'::timestamp) - extract(epoch from '2026-07-05 08:49:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052808 -2.784174)', '2026-07-05 08:49:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052836 -2.784216)'), GeomFromEWKT('SRID=4674;POINT (-40.052808 -2.784174)'))) / (select extract(epoch from '2026-07-05 08:49:29'::timestamp) - extract(epoch from '2026-07-05 08:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052836 -2.784216)'), GeomFromEWKT('SRID=4674;POINT (-40.052808 -2.784174)'))) / (select extract(epoch from '2026-07-05 08:49:29'::timestamp) - extract(epoch from '2026-07-05 08:49: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'), 47625, 'SRID=4674;POINT (-40.052775 -2.784115)', '2026-07-05 08:49:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052808 -2.784174)'), GeomFromEWKT('SRID=4674;POINT (-40.052775 -2.784115)'))) / (select extract(epoch from '2026-07-05 08:49:37'::timestamp) - extract(epoch from '2026-07-05 08:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052808 -2.784174)'), GeomFromEWKT('SRID=4674;POINT (-40.052775 -2.784115)'))) / (select extract(epoch from '2026-07-05 08:49:37'::timestamp) - extract(epoch from '2026-07-05 08:49:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052766 -2.784098)', '2026-07-05 08:49:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052775 -2.784115)'), GeomFromEWKT('SRID=4674;POINT (-40.052766 -2.784098)'))) / (select extract(epoch from '2026-07-05 08:49:39'::timestamp) - extract(epoch from '2026-07-05 08:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052775 -2.784115)'), GeomFromEWKT('SRID=4674;POINT (-40.052766 -2.784098)'))) / (select extract(epoch from '2026-07-05 08:49:39'::timestamp) - extract(epoch from '2026-07-05 08:49: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'), 47625, 'SRID=4674;POINT (-40.052756 -2.784071)', '2026-07-05 08:49:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052766 -2.784098)'), GeomFromEWKT('SRID=4674;POINT (-40.052756 -2.784071)'))) / (select extract(epoch from '2026-07-05 08:49:43'::timestamp) - extract(epoch from '2026-07-05 08:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052766 -2.784098)'), GeomFromEWKT('SRID=4674;POINT (-40.052756 -2.784071)'))) / (select extract(epoch from '2026-07-05 08:49:43'::timestamp) - extract(epoch from '2026-07-05 08:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052725 -2.78404)', '2026-07-05 08:49:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052756 -2.784071)'), GeomFromEWKT('SRID=4674;POINT (-40.052725 -2.78404)'))) / (select extract(epoch from '2026-07-05 08:49:50'::timestamp) - extract(epoch from '2026-07-05 08:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052756 -2.784071)'), GeomFromEWKT('SRID=4674;POINT (-40.052725 -2.78404)'))) / (select extract(epoch from '2026-07-05 08:49:50'::timestamp) - extract(epoch from '2026-07-05 08:49:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052692 -2.784037)', '2026-07-05 08:49:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052725 -2.78404)'), GeomFromEWKT('SRID=4674;POINT (-40.052692 -2.784037)'))) / (select extract(epoch from '2026-07-05 08:49:58'::timestamp) - extract(epoch from '2026-07-05 08:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052725 -2.78404)'), GeomFromEWKT('SRID=4674;POINT (-40.052692 -2.784037)'))) / (select extract(epoch from '2026-07-05 08:49:58'::timestamp) - extract(epoch from '2026-07-05 08:49:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052685 -2.784058)', '2026-07-05 08:50:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052692 -2.784037)'), GeomFromEWKT('SRID=4674;POINT (-40.052685 -2.784058)'))) / (select extract(epoch from '2026-07-05 08:50:07'::timestamp) - extract(epoch from '2026-07-05 08:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052692 -2.784037)'), GeomFromEWKT('SRID=4674;POINT (-40.052685 -2.784058)'))) / (select extract(epoch from '2026-07-05 08:50:07'::timestamp) - extract(epoch from '2026-07-05 08:49: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'), 47625, 'SRID=4674;POINT (-40.052707 -2.784079)', '2026-07-05 08:50:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052685 -2.784058)'), GeomFromEWKT('SRID=4674;POINT (-40.052707 -2.784079)'))) / (select extract(epoch from '2026-07-05 08:50:15'::timestamp) - extract(epoch from '2026-07-05 08:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052685 -2.784058)'), GeomFromEWKT('SRID=4674;POINT (-40.052707 -2.784079)'))) / (select extract(epoch from '2026-07-05 08:50:15'::timestamp) - extract(epoch from '2026-07-05 08:50:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05274 -2.784088)', '2026-07-05 08:50:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052707 -2.784079)'), GeomFromEWKT('SRID=4674;POINT (-40.05274 -2.784088)'))) / (select extract(epoch from '2026-07-05 08:50:21'::timestamp) - extract(epoch from '2026-07-05 08:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052707 -2.784079)'), GeomFromEWKT('SRID=4674;POINT (-40.05274 -2.784088)'))) / (select extract(epoch from '2026-07-05 08:50:21'::timestamp) - extract(epoch from '2026-07-05 08:50:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052797 -2.784089)', '2026-07-05 08:50:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05274 -2.784088)'), GeomFromEWKT('SRID=4674;POINT (-40.052797 -2.784089)'))) / (select extract(epoch from '2026-07-05 08:50:30'::timestamp) - extract(epoch from '2026-07-05 08:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05274 -2.784088)'), GeomFromEWKT('SRID=4674;POINT (-40.052797 -2.784089)'))) / (select extract(epoch from '2026-07-05 08:50:30'::timestamp) - extract(epoch from '2026-07-05 08:50:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052862 -2.784071)', '2026-07-05 08:50:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052797 -2.784089)'), GeomFromEWKT('SRID=4674;POINT (-40.052862 -2.784071)'))) / (select extract(epoch from '2026-07-05 08:50:38'::timestamp) - extract(epoch from '2026-07-05 08:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052797 -2.784089)'), GeomFromEWKT('SRID=4674;POINT (-40.052862 -2.784071)'))) / (select extract(epoch from '2026-07-05 08:50:38'::timestamp) - extract(epoch from '2026-07-05 08:50:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052906 -2.784042)', '2026-07-05 08:50:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052862 -2.784071)'), GeomFromEWKT('SRID=4674;POINT (-40.052906 -2.784042)'))) / (select extract(epoch from '2026-07-05 08:50:45'::timestamp) - extract(epoch from '2026-07-05 08:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052862 -2.784071)'), GeomFromEWKT('SRID=4674;POINT (-40.052906 -2.784042)'))) / (select extract(epoch from '2026-07-05 08:50:45'::timestamp) - extract(epoch from '2026-07-05 08:50:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05294 -2.784001)', '2026-07-05 08:50:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052906 -2.784042)'), GeomFromEWKT('SRID=4674;POINT (-40.05294 -2.784001)'))) / (select extract(epoch from '2026-07-05 08:50:54'::timestamp) - extract(epoch from '2026-07-05 08:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052906 -2.784042)'), GeomFromEWKT('SRID=4674;POINT (-40.05294 -2.784001)'))) / (select extract(epoch from '2026-07-05 08:50:54'::timestamp) - extract(epoch from '2026-07-05 08:50:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052979 -2.783967)', '2026-07-05 08:51:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05294 -2.784001)'), GeomFromEWKT('SRID=4674;POINT (-40.052979 -2.783967)'))) / (select extract(epoch from '2026-07-05 08:51:06'::timestamp) - extract(epoch from '2026-07-05 08:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05294 -2.784001)'), GeomFromEWKT('SRID=4674;POINT (-40.052979 -2.783967)'))) / (select extract(epoch from '2026-07-05 08:51:06'::timestamp) - extract(epoch from '2026-07-05 08:50:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05301 -2.783951)', '2026-07-05 08:51:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052979 -2.783967)'), GeomFromEWKT('SRID=4674;POINT (-40.05301 -2.783951)'))) / (select extract(epoch from '2026-07-05 08:51:15'::timestamp) - extract(epoch from '2026-07-05 08:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052979 -2.783967)'), GeomFromEWKT('SRID=4674;POINT (-40.05301 -2.783951)'))) / (select extract(epoch from '2026-07-05 08:51:15'::timestamp) - extract(epoch from '2026-07-05 08:51:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053047 -2.783919)', '2026-07-05 08:51:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05301 -2.783951)'), GeomFromEWKT('SRID=4674;POINT (-40.053047 -2.783919)'))) / (select extract(epoch from '2026-07-05 08:51:27'::timestamp) - extract(epoch from '2026-07-05 08:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05301 -2.783951)'), GeomFromEWKT('SRID=4674;POINT (-40.053047 -2.783919)'))) / (select extract(epoch from '2026-07-05 08:51:27'::timestamp) - extract(epoch from '2026-07-05 08:51:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053091 -2.783881)', '2026-07-05 08:51:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053047 -2.783919)'), GeomFromEWKT('SRID=4674;POINT (-40.053091 -2.783881)'))) / (select extract(epoch from '2026-07-05 08:51:38'::timestamp) - extract(epoch from '2026-07-05 08:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053047 -2.783919)'), GeomFromEWKT('SRID=4674;POINT (-40.053091 -2.783881)'))) / (select extract(epoch from '2026-07-05 08:51:38'::timestamp) - extract(epoch from '2026-07-05 08:51: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'), 47625, 'SRID=4674;POINT (-40.053131 -2.783846)', '2026-07-05 08:51:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053091 -2.783881)'), GeomFromEWKT('SRID=4674;POINT (-40.053131 -2.783846)'))) / (select extract(epoch from '2026-07-05 08:51:50'::timestamp) - extract(epoch from '2026-07-05 08:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053091 -2.783881)'), GeomFromEWKT('SRID=4674;POINT (-40.053131 -2.783846)'))) / (select extract(epoch from '2026-07-05 08:51:50'::timestamp) - extract(epoch from '2026-07-05 08:51: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'), 47625, 'SRID=4674;POINT (-40.053173 -2.78383)', '2026-07-05 08:51:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053131 -2.783846)'), GeomFromEWKT('SRID=4674;POINT (-40.053173 -2.78383)'))) / (select extract(epoch from '2026-07-05 08:51:59'::timestamp) - extract(epoch from '2026-07-05 08:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053131 -2.783846)'), GeomFromEWKT('SRID=4674;POINT (-40.053173 -2.78383)'))) / (select extract(epoch from '2026-07-05 08:51:59'::timestamp) - extract(epoch from '2026-07-05 08:51: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'), 47625, 'SRID=4674;POINT (-40.053211 -2.783817)', '2026-07-05 08:52:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053173 -2.78383)'), GeomFromEWKT('SRID=4674;POINT (-40.053211 -2.783817)'))) / (select extract(epoch from '2026-07-05 08:52:11'::timestamp) - extract(epoch from '2026-07-05 08:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053173 -2.78383)'), GeomFromEWKT('SRID=4674;POINT (-40.053211 -2.783817)'))) / (select extract(epoch from '2026-07-05 08:52:11'::timestamp) - extract(epoch from '2026-07-05 08:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053253 -2.783797)', '2026-07-05 08:52:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053211 -2.783817)'), GeomFromEWKT('SRID=4674;POINT (-40.053253 -2.783797)'))) / (select extract(epoch from '2026-07-05 08:52:21'::timestamp) - extract(epoch from '2026-07-05 08:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053211 -2.783817)'), GeomFromEWKT('SRID=4674;POINT (-40.053253 -2.783797)'))) / (select extract(epoch from '2026-07-05 08:52:21'::timestamp) - extract(epoch from '2026-07-05 08:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053297 -2.78378)', '2026-07-05 08:52:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053253 -2.783797)'), GeomFromEWKT('SRID=4674;POINT (-40.053297 -2.78378)'))) / (select extract(epoch from '2026-07-05 08:52:32'::timestamp) - extract(epoch from '2026-07-05 08:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053253 -2.783797)'), GeomFromEWKT('SRID=4674;POINT (-40.053297 -2.78378)'))) / (select extract(epoch from '2026-07-05 08:52:32'::timestamp) - extract(epoch from '2026-07-05 08:52: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'), 47625, 'SRID=4674;POINT (-40.053332 -2.783768)', '2026-07-05 08:52:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053297 -2.78378)'), GeomFromEWKT('SRID=4674;POINT (-40.053332 -2.783768)'))) / (select extract(epoch from '2026-07-05 08:52:40'::timestamp) - extract(epoch from '2026-07-05 08:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053297 -2.78378)'), GeomFromEWKT('SRID=4674;POINT (-40.053332 -2.783768)'))) / (select extract(epoch from '2026-07-05 08:52:40'::timestamp) - extract(epoch from '2026-07-05 08:52: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'), 47625, 'SRID=4674;POINT (-40.053356 -2.783754)', '2026-07-05 08:52:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053332 -2.783768)'), GeomFromEWKT('SRID=4674;POINT (-40.053356 -2.783754)'))) / (select extract(epoch from '2026-07-05 08:52:50'::timestamp) - extract(epoch from '2026-07-05 08:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053332 -2.783768)'), GeomFromEWKT('SRID=4674;POINT (-40.053356 -2.783754)'))) / (select extract(epoch from '2026-07-05 08:52:50'::timestamp) - extract(epoch from '2026-07-05 08:52: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'), 47625, 'SRID=4674;POINT (-40.053358 -2.78374)', '2026-07-05 08:52:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053356 -2.783754)'), GeomFromEWKT('SRID=4674;POINT (-40.053358 -2.78374)'))) / (select extract(epoch from '2026-07-05 08:52:58'::timestamp) - extract(epoch from '2026-07-05 08:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053356 -2.783754)'), GeomFromEWKT('SRID=4674;POINT (-40.053358 -2.78374)'))) / (select extract(epoch from '2026-07-05 08:52:58'::timestamp) - extract(epoch from '2026-07-05 08:52: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'), 47625, 'SRID=4674;POINT (-40.053346 -2.783736)', '2026-07-05 08:53:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053358 -2.78374)'), GeomFromEWKT('SRID=4674;POINT (-40.053346 -2.783736)'))) / (select extract(epoch from '2026-07-05 08:53:09'::timestamp) - extract(epoch from '2026-07-05 08:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053358 -2.78374)'), GeomFromEWKT('SRID=4674;POINT (-40.053346 -2.783736)'))) / (select extract(epoch from '2026-07-05 08:53:09'::timestamp) - extract(epoch from '2026-07-05 08:52: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'), 47625, 'SRID=4674;POINT (-40.053349 -2.783757)', '2026-07-05 08:53:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053346 -2.783736)'), GeomFromEWKT('SRID=4674;POINT (-40.053349 -2.783757)'))) / (select extract(epoch from '2026-07-05 08:53:18'::timestamp) - extract(epoch from '2026-07-05 08:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053346 -2.783736)'), GeomFromEWKT('SRID=4674;POINT (-40.053349 -2.783757)'))) / (select extract(epoch from '2026-07-05 08:53:18'::timestamp) - extract(epoch from '2026-07-05 08:53: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'), 47625, 'SRID=4674;POINT (-40.053348 -2.783792)', '2026-07-05 08:53:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053349 -2.783757)'), GeomFromEWKT('SRID=4674;POINT (-40.053348 -2.783792)'))) / (select extract(epoch from '2026-07-05 08:53:29'::timestamp) - extract(epoch from '2026-07-05 08:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053349 -2.783757)'), GeomFromEWKT('SRID=4674;POINT (-40.053348 -2.783792)'))) / (select extract(epoch from '2026-07-05 08:53:29'::timestamp) - extract(epoch from '2026-07-05 08:53: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'), 47625, 'SRID=4674;POINT (-40.053328 -2.783827)', '2026-07-05 08:53:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053348 -2.783792)'), GeomFromEWKT('SRID=4674;POINT (-40.053328 -2.783827)'))) / (select extract(epoch from '2026-07-05 08:53:40'::timestamp) - extract(epoch from '2026-07-05 08:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053348 -2.783792)'), GeomFromEWKT('SRID=4674;POINT (-40.053328 -2.783827)'))) / (select extract(epoch from '2026-07-05 08:53:40'::timestamp) - extract(epoch from '2026-07-05 08:53:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053287 -2.78385)', '2026-07-05 08:53:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053328 -2.783827)'), GeomFromEWKT('SRID=4674;POINT (-40.053287 -2.78385)'))) / (select extract(epoch from '2026-07-05 08:53:49'::timestamp) - extract(epoch from '2026-07-05 08:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053328 -2.783827)'), GeomFromEWKT('SRID=4674;POINT (-40.053287 -2.78385)'))) / (select extract(epoch from '2026-07-05 08:53:49'::timestamp) - extract(epoch from '2026-07-05 08:53: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'), 47625, 'SRID=4674;POINT (-40.053227 -2.783865)', '2026-07-05 08:53:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053287 -2.78385)'), GeomFromEWKT('SRID=4674;POINT (-40.053227 -2.783865)'))) / (select extract(epoch from '2026-07-05 08:53:59'::timestamp) - extract(epoch from '2026-07-05 08:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053287 -2.78385)'), GeomFromEWKT('SRID=4674;POINT (-40.053227 -2.783865)'))) / (select extract(epoch from '2026-07-05 08:53:59'::timestamp) - extract(epoch from '2026-07-05 08:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053184 -2.783842)', '2026-07-05 08:54:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053227 -2.783865)'), GeomFromEWKT('SRID=4674;POINT (-40.053184 -2.783842)'))) / (select extract(epoch from '2026-07-05 08:54:07'::timestamp) - extract(epoch from '2026-07-05 08:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053227 -2.783865)'), GeomFromEWKT('SRID=4674;POINT (-40.053184 -2.783842)'))) / (select extract(epoch from '2026-07-05 08:54:07'::timestamp) - extract(epoch from '2026-07-05 08:53: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'), 47625, 'SRID=4674;POINT (-40.053153 -2.783786)', '2026-07-05 08:54:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053184 -2.783842)'), GeomFromEWKT('SRID=4674;POINT (-40.053153 -2.783786)'))) / (select extract(epoch from '2026-07-05 08:54:14'::timestamp) - extract(epoch from '2026-07-05 08:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053184 -2.783842)'), GeomFromEWKT('SRID=4674;POINT (-40.053153 -2.783786)'))) / (select extract(epoch from '2026-07-05 08:54:14'::timestamp) - extract(epoch from '2026-07-05 08:54: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'), 47625, 'SRID=4674;POINT (-40.053118 -2.783701)', '2026-07-05 08:54:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053153 -2.783786)'), GeomFromEWKT('SRID=4674;POINT (-40.053118 -2.783701)'))) / (select extract(epoch from '2026-07-05 08:54:22'::timestamp) - extract(epoch from '2026-07-05 08:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053153 -2.783786)'), GeomFromEWKT('SRID=4674;POINT (-40.053118 -2.783701)'))) / (select extract(epoch from '2026-07-05 08:54:22'::timestamp) - extract(epoch from '2026-07-05 08:54:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053107 -2.783682)', '2026-07-05 08:54:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053118 -2.783701)'), GeomFromEWKT('SRID=4674;POINT (-40.053107 -2.783682)'))) / (select extract(epoch from '2026-07-05 08:54:24'::timestamp) - extract(epoch from '2026-07-05 08:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053118 -2.783701)'), GeomFromEWKT('SRID=4674;POINT (-40.053107 -2.783682)'))) / (select extract(epoch from '2026-07-05 08:54:24'::timestamp) - extract(epoch from '2026-07-05 08:54: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'), 47625, 'SRID=4674;POINT (-40.053095 -2.783658)', '2026-07-05 08:54:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053107 -2.783682)'), GeomFromEWKT('SRID=4674;POINT (-40.053095 -2.783658)'))) / (select extract(epoch from '2026-07-05 08:54:27'::timestamp) - extract(epoch from '2026-07-05 08:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053107 -2.783682)'), GeomFromEWKT('SRID=4674;POINT (-40.053095 -2.783658)'))) / (select extract(epoch from '2026-07-05 08:54:27'::timestamp) - extract(epoch from '2026-07-05 08:54:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053079 -2.783639)', '2026-07-05 08:54:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053095 -2.783658)'), GeomFromEWKT('SRID=4674;POINT (-40.053079 -2.783639)'))) / (select extract(epoch from '2026-07-05 08:54:30'::timestamp) - extract(epoch from '2026-07-05 08:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053095 -2.783658)'), GeomFromEWKT('SRID=4674;POINT (-40.053079 -2.783639)'))) / (select extract(epoch from '2026-07-05 08:54:30'::timestamp) - extract(epoch from '2026-07-05 08:54:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053066 -2.783616)', '2026-07-05 08:54:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053079 -2.783639)'), GeomFromEWKT('SRID=4674;POINT (-40.053066 -2.783616)'))) / (select extract(epoch from '2026-07-05 08:54:33'::timestamp) - extract(epoch from '2026-07-05 08:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053079 -2.783639)'), GeomFromEWKT('SRID=4674;POINT (-40.053066 -2.783616)'))) / (select extract(epoch from '2026-07-05 08:54:33'::timestamp) - extract(epoch from '2026-07-05 08:54: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'), 47625, 'SRID=4674;POINT (-40.053029 -2.783549)', '2026-07-05 08:54:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053066 -2.783616)'), GeomFromEWKT('SRID=4674;POINT (-40.053029 -2.783549)'))) / (select extract(epoch from '2026-07-05 08:54:41'::timestamp) - extract(epoch from '2026-07-05 08:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053066 -2.783616)'), GeomFromEWKT('SRID=4674;POINT (-40.053029 -2.783549)'))) / (select extract(epoch from '2026-07-05 08:54:41'::timestamp) - extract(epoch from '2026-07-05 08:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053019 -2.783528)', '2026-07-05 08:54:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053029 -2.783549)'), GeomFromEWKT('SRID=4674;POINT (-40.053019 -2.783528)'))) / (select extract(epoch from '2026-07-05 08:54:43'::timestamp) - extract(epoch from '2026-07-05 08:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053029 -2.783549)'), GeomFromEWKT('SRID=4674;POINT (-40.053019 -2.783528)'))) / (select extract(epoch from '2026-07-05 08:54:43'::timestamp) - extract(epoch from '2026-07-05 08:54: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'), 47625, 'SRID=4674;POINT (-40.053011 -2.783504)', '2026-07-05 08:54:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053019 -2.783528)'), GeomFromEWKT('SRID=4674;POINT (-40.053011 -2.783504)'))) / (select extract(epoch from '2026-07-05 08:54:45'::timestamp) - extract(epoch from '2026-07-05 08:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053019 -2.783528)'), GeomFromEWKT('SRID=4674;POINT (-40.053011 -2.783504)'))) / (select extract(epoch from '2026-07-05 08:54:45'::timestamp) - extract(epoch from '2026-07-05 08:54:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053007 -2.783493)', '2026-07-05 08:54:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053011 -2.783504)'), GeomFromEWKT('SRID=4674;POINT (-40.053007 -2.783493)'))) / (select extract(epoch from '2026-07-05 08:54:46'::timestamp) - extract(epoch from '2026-07-05 08:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053011 -2.783504)'), GeomFromEWKT('SRID=4674;POINT (-40.053007 -2.783493)'))) / (select extract(epoch from '2026-07-05 08:54:46'::timestamp) - extract(epoch from '2026-07-05 08:54:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053001 -2.783481)', '2026-07-05 08:54:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053007 -2.783493)'), GeomFromEWKT('SRID=4674;POINT (-40.053001 -2.783481)'))) / (select extract(epoch from '2026-07-05 08:54:47'::timestamp) - extract(epoch from '2026-07-05 08:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053007 -2.783493)'), GeomFromEWKT('SRID=4674;POINT (-40.053001 -2.783481)'))) / (select extract(epoch from '2026-07-05 08:54:47'::timestamp) - extract(epoch from '2026-07-05 08:54: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'), 47625, 'SRID=4674;POINT (-40.052973 -2.783431)', '2026-07-05 08:54:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053001 -2.783481)'), GeomFromEWKT('SRID=4674;POINT (-40.052973 -2.783431)'))) / (select extract(epoch from '2026-07-05 08:54:51'::timestamp) - extract(epoch from '2026-07-05 08:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053001 -2.783481)'), GeomFromEWKT('SRID=4674;POINT (-40.052973 -2.783431)'))) / (select extract(epoch from '2026-07-05 08:54:51'::timestamp) - extract(epoch from '2026-07-05 08:54: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'), 47625, 'SRID=4674;POINT (-40.052931 -2.783327)', '2026-07-05 08:54:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052973 -2.783431)'), GeomFromEWKT('SRID=4674;POINT (-40.052931 -2.783327)'))) / (select extract(epoch from '2026-07-05 08:54:58'::timestamp) - extract(epoch from '2026-07-05 08:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052973 -2.783431)'), GeomFromEWKT('SRID=4674;POINT (-40.052931 -2.783327)'))) / (select extract(epoch from '2026-07-05 08:54:58'::timestamp) - extract(epoch from '2026-07-05 08:54: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'), 47625, 'SRID=4674;POINT (-40.052924 -2.783234)', '2026-07-05 08:55:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052931 -2.783327)'), GeomFromEWKT('SRID=4674;POINT (-40.052924 -2.783234)'))) / (select extract(epoch from '2026-07-05 08:55:03'::timestamp) - extract(epoch from '2026-07-05 08:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052931 -2.783327)'), GeomFromEWKT('SRID=4674;POINT (-40.052924 -2.783234)'))) / (select extract(epoch from '2026-07-05 08:55:03'::timestamp) - extract(epoch from '2026-07-05 08:54: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'), 47625, 'SRID=4674;POINT (-40.052929 -2.783196)', '2026-07-05 08:55:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052924 -2.783234)'), GeomFromEWKT('SRID=4674;POINT (-40.052929 -2.783196)'))) / (select extract(epoch from '2026-07-05 08:55:05'::timestamp) - extract(epoch from '2026-07-05 08:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052924 -2.783234)'), GeomFromEWKT('SRID=4674;POINT (-40.052929 -2.783196)'))) / (select extract(epoch from '2026-07-05 08:55:05'::timestamp) - extract(epoch from '2026-07-05 08:55:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052944 -2.783135)', '2026-07-05 08:55:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052929 -2.783196)'), GeomFromEWKT('SRID=4674;POINT (-40.052944 -2.783135)'))) / (select extract(epoch from '2026-07-05 08:55:08'::timestamp) - extract(epoch from '2026-07-05 08:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052929 -2.783196)'), GeomFromEWKT('SRID=4674;POINT (-40.052944 -2.783135)'))) / (select extract(epoch from '2026-07-05 08:55:08'::timestamp) - extract(epoch from '2026-07-05 08:55: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'), 47625, 'SRID=4674;POINT (-40.05297 -2.783081)', '2026-07-05 08:55:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052944 -2.783135)'), GeomFromEWKT('SRID=4674;POINT (-40.05297 -2.783081)'))) / (select extract(epoch from '2026-07-05 08:55:11'::timestamp) - extract(epoch from '2026-07-05 08:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052944 -2.783135)'), GeomFromEWKT('SRID=4674;POINT (-40.05297 -2.783081)'))) / (select extract(epoch from '2026-07-05 08:55:11'::timestamp) - extract(epoch from '2026-07-05 08:55:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052975 -2.783064)', '2026-07-05 08:55:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05297 -2.783081)'), GeomFromEWKT('SRID=4674;POINT (-40.052975 -2.783064)'))) / (select extract(epoch from '2026-07-05 08:55:12'::timestamp) - extract(epoch from '2026-07-05 08:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05297 -2.783081)'), GeomFromEWKT('SRID=4674;POINT (-40.052975 -2.783064)'))) / (select extract(epoch from '2026-07-05 08:55:12'::timestamp) - extract(epoch from '2026-07-05 08:55: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'), 47625, 'SRID=4674;POINT (-40.053001 -2.78299)', '2026-07-05 08:55:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052975 -2.783064)'), GeomFromEWKT('SRID=4674;POINT (-40.053001 -2.78299)'))) / (select extract(epoch from '2026-07-05 08:55:16'::timestamp) - extract(epoch from '2026-07-05 08:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052975 -2.783064)'), GeomFromEWKT('SRID=4674;POINT (-40.053001 -2.78299)'))) / (select extract(epoch from '2026-07-05 08:55:16'::timestamp) - extract(epoch from '2026-07-05 08:55:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053021 -2.782914)', '2026-07-05 08:55:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053001 -2.78299)'), GeomFromEWKT('SRID=4674;POINT (-40.053021 -2.782914)'))) / (select extract(epoch from '2026-07-05 08:55:20'::timestamp) - extract(epoch from '2026-07-05 08:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053001 -2.78299)'), GeomFromEWKT('SRID=4674;POINT (-40.053021 -2.782914)'))) / (select extract(epoch from '2026-07-05 08:55:20'::timestamp) - extract(epoch from '2026-07-05 08:55:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053066 -2.78284)', '2026-07-05 08:55:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053021 -2.782914)'), GeomFromEWKT('SRID=4674;POINT (-40.053066 -2.78284)'))) / (select extract(epoch from '2026-07-05 08:55:25'::timestamp) - extract(epoch from '2026-07-05 08:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053021 -2.782914)'), GeomFromEWKT('SRID=4674;POINT (-40.053066 -2.78284)'))) / (select extract(epoch from '2026-07-05 08:55:25'::timestamp) - extract(epoch from '2026-07-05 08:55:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053094 -2.782818)', '2026-07-05 08:55:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053066 -2.78284)'), GeomFromEWKT('SRID=4674;POINT (-40.053094 -2.782818)'))) / (select extract(epoch from '2026-07-05 08:55:27'::timestamp) - extract(epoch from '2026-07-05 08:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053066 -2.78284)'), GeomFromEWKT('SRID=4674;POINT (-40.053094 -2.782818)'))) / (select extract(epoch from '2026-07-05 08:55:27'::timestamp) - extract(epoch from '2026-07-05 08:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053122 -2.782806)', '2026-07-05 08:55:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053094 -2.782818)'), GeomFromEWKT('SRID=4674;POINT (-40.053122 -2.782806)'))) / (select extract(epoch from '2026-07-05 08:55:29'::timestamp) - extract(epoch from '2026-07-05 08:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053094 -2.782818)'), GeomFromEWKT('SRID=4674;POINT (-40.053122 -2.782806)'))) / (select extract(epoch from '2026-07-05 08:55:29'::timestamp) - extract(epoch from '2026-07-05 08:55: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'), 47625, 'SRID=4674;POINT (-40.053192 -2.782794)', '2026-07-05 08:55:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053122 -2.782806)'), GeomFromEWKT('SRID=4674;POINT (-40.053192 -2.782794)'))) / (select extract(epoch from '2026-07-05 08:55:36'::timestamp) - extract(epoch from '2026-07-05 08:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053122 -2.782806)'), GeomFromEWKT('SRID=4674;POINT (-40.053192 -2.782794)'))) / (select extract(epoch from '2026-07-05 08:55:36'::timestamp) - extract(epoch from '2026-07-05 08:55:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053234 -2.782818)', '2026-07-05 08:55:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053192 -2.782794)'), GeomFromEWKT('SRID=4674;POINT (-40.053234 -2.782818)'))) / (select extract(epoch from '2026-07-05 08:55:42'::timestamp) - extract(epoch from '2026-07-05 08:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053192 -2.782794)'), GeomFromEWKT('SRID=4674;POINT (-40.053234 -2.782818)'))) / (select extract(epoch from '2026-07-05 08:55:42'::timestamp) - extract(epoch from '2026-07-05 08:55: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'), 47625, 'SRID=4674;POINT (-40.053249 -2.782871)', '2026-07-05 08:55:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053234 -2.782818)'), GeomFromEWKT('SRID=4674;POINT (-40.053249 -2.782871)'))) / (select extract(epoch from '2026-07-05 08:55:49'::timestamp) - extract(epoch from '2026-07-05 08:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053234 -2.782818)'), GeomFromEWKT('SRID=4674;POINT (-40.053249 -2.782871)'))) / (select extract(epoch from '2026-07-05 08:55:49'::timestamp) - extract(epoch from '2026-07-05 08:55: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'), 47625, 'SRID=4674;POINT (-40.053251 -2.782887)', '2026-07-05 08:55:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053249 -2.782871)'), GeomFromEWKT('SRID=4674;POINT (-40.053251 -2.782887)'))) / (select extract(epoch from '2026-07-05 08:55:50'::timestamp) - extract(epoch from '2026-07-05 08:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053249 -2.782871)'), GeomFromEWKT('SRID=4674;POINT (-40.053251 -2.782887)'))) / (select extract(epoch from '2026-07-05 08:55:50'::timestamp) - extract(epoch from '2026-07-05 08:55:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053243 -2.782897)', '2026-07-05 08:55:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053251 -2.782887)'), GeomFromEWKT('SRID=4674;POINT (-40.053243 -2.782897)'))) / (select extract(epoch from '2026-07-05 08:55:51'::timestamp) - extract(epoch from '2026-07-05 08:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053251 -2.782887)'), GeomFromEWKT('SRID=4674;POINT (-40.053243 -2.782897)'))) / (select extract(epoch from '2026-07-05 08:55:51'::timestamp) - extract(epoch from '2026-07-05 08:55:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053183 -2.782916)', '2026-07-05 08:55:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053243 -2.782897)'), GeomFromEWKT('SRID=4674;POINT (-40.053183 -2.782916)'))) / (select extract(epoch from '2026-07-05 08:55:56'::timestamp) - extract(epoch from '2026-07-05 08:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053243 -2.782897)'), GeomFromEWKT('SRID=4674;POINT (-40.053183 -2.782916)'))) / (select extract(epoch from '2026-07-05 08:55:56'::timestamp) - extract(epoch from '2026-07-05 08:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053149 -2.782916)', '2026-07-05 08:55:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053183 -2.782916)'), GeomFromEWKT('SRID=4674;POINT (-40.053149 -2.782916)'))) / (select extract(epoch from '2026-07-05 08:55:59'::timestamp) - extract(epoch from '2026-07-05 08:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053183 -2.782916)'), GeomFromEWKT('SRID=4674;POINT (-40.053149 -2.782916)'))) / (select extract(epoch from '2026-07-05 08:55:59'::timestamp) - extract(epoch from '2026-07-05 08:55:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053117 -2.7829)', '2026-07-05 08:56:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053149 -2.782916)'), GeomFromEWKT('SRID=4674;POINT (-40.053117 -2.7829)'))) / (select extract(epoch from '2026-07-05 08:56:03'::timestamp) - extract(epoch from '2026-07-05 08:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053149 -2.782916)'), GeomFromEWKT('SRID=4674;POINT (-40.053117 -2.7829)'))) / (select extract(epoch from '2026-07-05 08:56:03'::timestamp) - extract(epoch from '2026-07-05 08:55: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'), 47625, 'SRID=4674;POINT (-40.053082 -2.78286)', '2026-07-05 08:56:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053117 -2.7829)'), GeomFromEWKT('SRID=4674;POINT (-40.053082 -2.78286)'))) / (select extract(epoch from '2026-07-05 08:56:08'::timestamp) - extract(epoch from '2026-07-05 08:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053117 -2.7829)'), GeomFromEWKT('SRID=4674;POINT (-40.053082 -2.78286)'))) / (select extract(epoch from '2026-07-05 08:56:08'::timestamp) - extract(epoch from '2026-07-05 08:56:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05304 -2.782807)', '2026-07-05 08:56:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053082 -2.78286)'), GeomFromEWKT('SRID=4674;POINT (-40.05304 -2.782807)'))) / (select extract(epoch from '2026-07-05 08:56:14'::timestamp) - extract(epoch from '2026-07-05 08:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053082 -2.78286)'), GeomFromEWKT('SRID=4674;POINT (-40.05304 -2.782807)'))) / (select extract(epoch from '2026-07-05 08:56:14'::timestamp) - extract(epoch from '2026-07-05 08:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053024 -2.782792)', '2026-07-05 08:56:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05304 -2.782807)'), GeomFromEWKT('SRID=4674;POINT (-40.053024 -2.782792)'))) / (select extract(epoch from '2026-07-05 08:56:16'::timestamp) - extract(epoch from '2026-07-05 08:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05304 -2.782807)'), GeomFromEWKT('SRID=4674;POINT (-40.053024 -2.782792)'))) / (select extract(epoch from '2026-07-05 08:56:16'::timestamp) - extract(epoch from '2026-07-05 08:56:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053014 -2.782772)', '2026-07-05 08:56:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053024 -2.782792)'), GeomFromEWKT('SRID=4674;POINT (-40.053014 -2.782772)'))) / (select extract(epoch from '2026-07-05 08:56:19'::timestamp) - extract(epoch from '2026-07-05 08:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053024 -2.782792)'), GeomFromEWKT('SRID=4674;POINT (-40.053014 -2.782772)'))) / (select extract(epoch from '2026-07-05 08:56:19'::timestamp) - extract(epoch from '2026-07-05 08:56: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'), 47625, 'SRID=4674;POINT (-40.052996 -2.782725)', '2026-07-05 08:56:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053014 -2.782772)'), GeomFromEWKT('SRID=4674;POINT (-40.052996 -2.782725)'))) / (select extract(epoch from '2026-07-05 08:56:26'::timestamp) - extract(epoch from '2026-07-05 08:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053014 -2.782772)'), GeomFromEWKT('SRID=4674;POINT (-40.052996 -2.782725)'))) / (select extract(epoch from '2026-07-05 08:56:26'::timestamp) - extract(epoch from '2026-07-05 08:56: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'), 47625, 'SRID=4674;POINT (-40.052954 -2.782674)', '2026-07-05 08:56:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052996 -2.782725)'), GeomFromEWKT('SRID=4674;POINT (-40.052954 -2.782674)'))) / (select extract(epoch from '2026-07-05 08:56:35'::timestamp) - extract(epoch from '2026-07-05 08:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052996 -2.782725)'), GeomFromEWKT('SRID=4674;POINT (-40.052954 -2.782674)'))) / (select extract(epoch from '2026-07-05 08:56:35'::timestamp) - extract(epoch from '2026-07-05 08:56:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052926 -2.782694)', '2026-07-05 08:56:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052954 -2.782674)'), GeomFromEWKT('SRID=4674;POINT (-40.052926 -2.782694)'))) / (select extract(epoch from '2026-07-05 08:56:47'::timestamp) - extract(epoch from '2026-07-05 08:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052954 -2.782674)'), GeomFromEWKT('SRID=4674;POINT (-40.052926 -2.782694)'))) / (select extract(epoch from '2026-07-05 08:56:47'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052964 -2.78274)', '2026-07-05 08:56:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052926 -2.782694)'), GeomFromEWKT('SRID=4674;POINT (-40.052964 -2.78274)'))) / (select extract(epoch from '2026-07-05 08:56:56'::timestamp) - extract(epoch from '2026-07-05 08:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052926 -2.782694)'), GeomFromEWKT('SRID=4674;POINT (-40.052964 -2.78274)'))) / (select extract(epoch from '2026-07-05 08:56:56'::timestamp) - extract(epoch from '2026-07-05 08:56: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'), 47625, 'SRID=4674;POINT (-40.053003 -2.782777)', '2026-07-05 08:57:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052964 -2.78274)'), GeomFromEWKT('SRID=4674;POINT (-40.053003 -2.782777)'))) / (select extract(epoch from '2026-07-05 08:57:01'::timestamp) - extract(epoch from '2026-07-05 08:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052964 -2.78274)'), GeomFromEWKT('SRID=4674;POINT (-40.053003 -2.782777)'))) / (select extract(epoch from '2026-07-05 08:57:01'::timestamp) - extract(epoch from '2026-07-05 08:56: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'), 47625, 'SRID=4674;POINT (-40.053009 -2.782787)', '2026-07-05 08:57:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053003 -2.782777)'), GeomFromEWKT('SRID=4674;POINT (-40.053009 -2.782787)'))) / (select extract(epoch from '2026-07-05 08:57:02'::timestamp) - extract(epoch from '2026-07-05 08:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053003 -2.782777)'), GeomFromEWKT('SRID=4674;POINT (-40.053009 -2.782787)'))) / (select extract(epoch from '2026-07-05 08:57:02'::timestamp) - extract(epoch from '2026-07-05 08:57:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053027 -2.782821)', '2026-07-05 08:57:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053009 -2.782787)'), GeomFromEWKT('SRID=4674;POINT (-40.053027 -2.782821)'))) / (select extract(epoch from '2026-07-05 08:57:06'::timestamp) - extract(epoch from '2026-07-05 08:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053009 -2.782787)'), GeomFromEWKT('SRID=4674;POINT (-40.053027 -2.782821)'))) / (select extract(epoch from '2026-07-05 08:57:06'::timestamp) - extract(epoch from '2026-07-05 08:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053034 -2.78284)', '2026-07-05 08:57:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053027 -2.782821)'), GeomFromEWKT('SRID=4674;POINT (-40.053034 -2.78284)'))) / (select extract(epoch from '2026-07-05 08:57:08'::timestamp) - extract(epoch from '2026-07-05 08:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053027 -2.782821)'), GeomFromEWKT('SRID=4674;POINT (-40.053034 -2.78284)'))) / (select extract(epoch from '2026-07-05 08:57:08'::timestamp) - extract(epoch from '2026-07-05 08:57: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'), 47625, 'SRID=4674;POINT (-40.053037 -2.782883)', '2026-07-05 08:57:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053034 -2.78284)'), GeomFromEWKT('SRID=4674;POINT (-40.053037 -2.782883)'))) / (select extract(epoch from '2026-07-05 08:57:15'::timestamp) - extract(epoch from '2026-07-05 08:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053034 -2.78284)'), GeomFromEWKT('SRID=4674;POINT (-40.053037 -2.782883)'))) / (select extract(epoch from '2026-07-05 08:57:15'::timestamp) - extract(epoch from '2026-07-05 08:57:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053039 -2.782918)', '2026-07-05 08:57:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053037 -2.782883)'), GeomFromEWKT('SRID=4674;POINT (-40.053039 -2.782918)'))) / (select extract(epoch from '2026-07-05 08:57:24'::timestamp) - extract(epoch from '2026-07-05 08:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053037 -2.782883)'), GeomFromEWKT('SRID=4674;POINT (-40.053039 -2.782918)'))) / (select extract(epoch from '2026-07-05 08:57:24'::timestamp) - extract(epoch from '2026-07-05 08:57:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053013 -2.782927)', '2026-07-05 08:57:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053039 -2.782918)'), GeomFromEWKT('SRID=4674;POINT (-40.053013 -2.782927)'))) / (select extract(epoch from '2026-07-05 08:57:32'::timestamp) - extract(epoch from '2026-07-05 08:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053039 -2.782918)'), GeomFromEWKT('SRID=4674;POINT (-40.053013 -2.782927)'))) / (select extract(epoch from '2026-07-05 08:57:32'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052976 -2.782913)', '2026-07-05 08:57:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053013 -2.782927)'), GeomFromEWKT('SRID=4674;POINT (-40.052976 -2.782913)'))) / (select extract(epoch from '2026-07-05 08:57:36'::timestamp) - extract(epoch from '2026-07-05 08:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053013 -2.782927)'), GeomFromEWKT('SRID=4674;POINT (-40.052976 -2.782913)'))) / (select extract(epoch from '2026-07-05 08:57:36'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052959 -2.782899)', '2026-07-05 08:57:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052976 -2.782913)'), GeomFromEWKT('SRID=4674;POINT (-40.052959 -2.782899)'))) / (select extract(epoch from '2026-07-05 08:57:38'::timestamp) - extract(epoch from '2026-07-05 08:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052976 -2.782913)'), GeomFromEWKT('SRID=4674;POINT (-40.052959 -2.782899)'))) / (select extract(epoch from '2026-07-05 08:57:38'::timestamp) - extract(epoch from '2026-07-05 08:57: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'), 47625, 'SRID=4674;POINT (-40.05293 -2.782864)', '2026-07-05 08:57:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052959 -2.782899)'), GeomFromEWKT('SRID=4674;POINT (-40.05293 -2.782864)'))) / (select extract(epoch from '2026-07-05 08:57:42'::timestamp) - extract(epoch from '2026-07-05 08:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052959 -2.782899)'), GeomFromEWKT('SRID=4674;POINT (-40.05293 -2.782864)'))) / (select extract(epoch from '2026-07-05 08:57:42'::timestamp) - extract(epoch from '2026-07-05 08:57: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'), 47625, 'SRID=4674;POINT (-40.052922 -2.782847)', '2026-07-05 08:57:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05293 -2.782864)'), GeomFromEWKT('SRID=4674;POINT (-40.052922 -2.782847)'))) / (select extract(epoch from '2026-07-05 08:57:44'::timestamp) - extract(epoch from '2026-07-05 08:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05293 -2.782864)'), GeomFromEWKT('SRID=4674;POINT (-40.052922 -2.782847)'))) / (select extract(epoch from '2026-07-05 08:57:44'::timestamp) - extract(epoch from '2026-07-05 08:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052915 -2.782829)', '2026-07-05 08:57:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052922 -2.782847)'), GeomFromEWKT('SRID=4674;POINT (-40.052915 -2.782829)'))) / (select extract(epoch from '2026-07-05 08:57:46'::timestamp) - extract(epoch from '2026-07-05 08:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052922 -2.782847)'), GeomFromEWKT('SRID=4674;POINT (-40.052915 -2.782829)'))) / (select extract(epoch from '2026-07-05 08:57:46'::timestamp) - extract(epoch from '2026-07-05 08:57: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'), 47625, 'SRID=4674;POINT (-40.05291 -2.782813)', '2026-07-05 08:57:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052915 -2.782829)'), GeomFromEWKT('SRID=4674;POINT (-40.05291 -2.782813)'))) / (select extract(epoch from '2026-07-05 08:57:48'::timestamp) - extract(epoch from '2026-07-05 08:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052915 -2.782829)'), GeomFromEWKT('SRID=4674;POINT (-40.05291 -2.782813)'))) / (select extract(epoch from '2026-07-05 08:57:48'::timestamp) - extract(epoch from '2026-07-05 08:57: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'), 47625, 'SRID=4674;POINT (-40.052906 -2.782796)', '2026-07-05 08:57:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05291 -2.782813)'), GeomFromEWKT('SRID=4674;POINT (-40.052906 -2.782796)'))) / (select extract(epoch from '2026-07-05 08:57:50'::timestamp) - extract(epoch from '2026-07-05 08:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05291 -2.782813)'), GeomFromEWKT('SRID=4674;POINT (-40.052906 -2.782796)'))) / (select extract(epoch from '2026-07-05 08:57:50'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052903 -2.782747)', '2026-07-05 08:57:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052906 -2.782796)'), GeomFromEWKT('SRID=4674;POINT (-40.052903 -2.782747)'))) / (select extract(epoch from '2026-07-05 08:57:56'::timestamp) - extract(epoch from '2026-07-05 08:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052906 -2.782796)'), GeomFromEWKT('SRID=4674;POINT (-40.052903 -2.782747)'))) / (select extract(epoch from '2026-07-05 08:57:56'::timestamp) - extract(epoch from '2026-07-05 08:57: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'), 47625, 'SRID=4674;POINT (-40.052902 -2.782739)', '2026-07-05 08:57:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052903 -2.782747)'), GeomFromEWKT('SRID=4674;POINT (-40.052902 -2.782739)'))) / (select extract(epoch from '2026-07-05 08:57:57'::timestamp) - extract(epoch from '2026-07-05 08:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052903 -2.782747)'), GeomFromEWKT('SRID=4674;POINT (-40.052902 -2.782739)'))) / (select extract(epoch from '2026-07-05 08:57:57'::timestamp) - extract(epoch from '2026-07-05 08:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052906 -2.782699)', '2026-07-05 08:58:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052902 -2.782739)'), GeomFromEWKT('SRID=4674;POINT (-40.052906 -2.782699)'))) / (select extract(epoch from '2026-07-05 08:58:02'::timestamp) - extract(epoch from '2026-07-05 08:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052902 -2.782739)'), GeomFromEWKT('SRID=4674;POINT (-40.052906 -2.782699)'))) / (select extract(epoch from '2026-07-05 08:58:02'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052907 -2.782684)', '2026-07-05 08:58:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052906 -2.782699)'), GeomFromEWKT('SRID=4674;POINT (-40.052907 -2.782684)'))) / (select extract(epoch from '2026-07-05 08:58:04'::timestamp) - extract(epoch from '2026-07-05 08:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052906 -2.782699)'), GeomFromEWKT('SRID=4674;POINT (-40.052907 -2.782684)'))) / (select extract(epoch from '2026-07-05 08:58:04'::timestamp) - extract(epoch from '2026-07-05 08:58: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'), 47625, 'SRID=4674;POINT (-40.052911 -2.782627)', '2026-07-05 08:58:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052907 -2.782684)'), GeomFromEWKT('SRID=4674;POINT (-40.052911 -2.782627)'))) / (select extract(epoch from '2026-07-05 08:58:12'::timestamp) - extract(epoch from '2026-07-05 08:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052907 -2.782684)'), GeomFromEWKT('SRID=4674;POINT (-40.052911 -2.782627)'))) / (select extract(epoch from '2026-07-05 08:58:12'::timestamp) - extract(epoch from '2026-07-05 08:58: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'), 47625, 'SRID=4674;POINT (-40.052917 -2.782593)', '2026-07-05 08:58:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052911 -2.782627)'), GeomFromEWKT('SRID=4674;POINT (-40.052917 -2.782593)'))) / (select extract(epoch from '2026-07-05 08:58:17'::timestamp) - extract(epoch from '2026-07-05 08:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052911 -2.782627)'), GeomFromEWKT('SRID=4674;POINT (-40.052917 -2.782593)'))) / (select extract(epoch from '2026-07-05 08:58:17'::timestamp) - extract(epoch from '2026-07-05 08:58:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052939 -2.782551)', '2026-07-05 08:58:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052917 -2.782593)'), GeomFromEWKT('SRID=4674;POINT (-40.052939 -2.782551)'))) / (select extract(epoch from '2026-07-05 08:58:26'::timestamp) - extract(epoch from '2026-07-05 08:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052917 -2.782593)'), GeomFromEWKT('SRID=4674;POINT (-40.052939 -2.782551)'))) / (select extract(epoch from '2026-07-05 08:58:26'::timestamp) - extract(epoch from '2026-07-05 08:58:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05295 -2.782531)', '2026-07-05 08:58:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052939 -2.782551)'), GeomFromEWKT('SRID=4674;POINT (-40.05295 -2.782531)'))) / (select extract(epoch from '2026-07-05 08:58:32'::timestamp) - extract(epoch from '2026-07-05 08:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052939 -2.782551)'), GeomFromEWKT('SRID=4674;POINT (-40.05295 -2.782531)'))) / (select extract(epoch from '2026-07-05 08:58:32'::timestamp) - extract(epoch from '2026-07-05 08:58: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'), 47625, 'SRID=4674;POINT (-40.05296 -2.782514)', '2026-07-05 08:58:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05295 -2.782531)'), GeomFromEWKT('SRID=4674;POINT (-40.05296 -2.782514)'))) / (select extract(epoch from '2026-07-05 08:58:35'::timestamp) - extract(epoch from '2026-07-05 08:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05295 -2.782531)'), GeomFromEWKT('SRID=4674;POINT (-40.05296 -2.782514)'))) / (select extract(epoch from '2026-07-05 08:58:35'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052973 -2.782495)', '2026-07-05 08:58:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05296 -2.782514)'), GeomFromEWKT('SRID=4674;POINT (-40.052973 -2.782495)'))) / (select extract(epoch from '2026-07-05 08:58:38'::timestamp) - extract(epoch from '2026-07-05 08:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05296 -2.782514)'), GeomFromEWKT('SRID=4674;POINT (-40.052973 -2.782495)'))) / (select extract(epoch from '2026-07-05 08:58:38'::timestamp) - extract(epoch from '2026-07-05 08:58: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'), 47625, 'SRID=4674;POINT (-40.053006 -2.782428)', '2026-07-05 08:58:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052973 -2.782495)'), GeomFromEWKT('SRID=4674;POINT (-40.053006 -2.782428)'))) / (select extract(epoch from '2026-07-05 08:58:48'::timestamp) - extract(epoch from '2026-07-05 08:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052973 -2.782495)'), GeomFromEWKT('SRID=4674;POINT (-40.053006 -2.782428)'))) / (select extract(epoch from '2026-07-05 08:58:48'::timestamp) - extract(epoch from '2026-07-05 08:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053018 -2.782365)', '2026-07-05 08:58:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053006 -2.782428)'), GeomFromEWKT('SRID=4674;POINT (-40.053018 -2.782365)'))) / (select extract(epoch from '2026-07-05 08:58:57'::timestamp) - extract(epoch from '2026-07-05 08:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053006 -2.782428)'), GeomFromEWKT('SRID=4674;POINT (-40.053018 -2.782365)'))) / (select extract(epoch from '2026-07-05 08:58:57'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.053028 -2.782307)', '2026-07-05 08:59:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053018 -2.782365)'), GeomFromEWKT('SRID=4674;POINT (-40.053028 -2.782307)'))) / (select extract(epoch from '2026-07-05 08:59:06'::timestamp) - extract(epoch from '2026-07-05 08:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053018 -2.782365)'), GeomFromEWKT('SRID=4674;POINT (-40.053028 -2.782307)'))) / (select extract(epoch from '2026-07-05 08:59:06'::timestamp) - extract(epoch from '2026-07-05 08:58: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'), 47625, 'SRID=4674;POINT (-40.05304 -2.782265)', '2026-07-05 08:59:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053028 -2.782307)'), GeomFromEWKT('SRID=4674;POINT (-40.05304 -2.782265)'))) / (select extract(epoch from '2026-07-05 08:59:13'::timestamp) - extract(epoch from '2026-07-05 08:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053028 -2.782307)'), GeomFromEWKT('SRID=4674;POINT (-40.05304 -2.782265)'))) / (select extract(epoch from '2026-07-05 08:59:13'::timestamp) - extract(epoch from '2026-07-05 08:59: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'), 47625, 'SRID=4674;POINT (-40.053041 -2.782251)', '2026-07-05 08:59:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05304 -2.782265)'), GeomFromEWKT('SRID=4674;POINT (-40.053041 -2.782251)'))) / (select extract(epoch from '2026-07-05 08:59:15'::timestamp) - extract(epoch from '2026-07-05 08:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05304 -2.782265)'), GeomFromEWKT('SRID=4674;POINT (-40.053041 -2.782251)'))) / (select extract(epoch from '2026-07-05 08:59:15'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.053042 -2.782226)', '2026-07-05 08:59:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053041 -2.782251)'), GeomFromEWKT('SRID=4674;POINT (-40.053042 -2.782226)'))) / (select extract(epoch from '2026-07-05 08:59:18'::timestamp) - extract(epoch from '2026-07-05 08:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053041 -2.782251)'), GeomFromEWKT('SRID=4674;POINT (-40.053042 -2.782226)'))) / (select extract(epoch from '2026-07-05 08:59:18'::timestamp) - extract(epoch from '2026-07-05 08:59: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'), 47625, 'SRID=4674;POINT (-40.053037 -2.782207)', '2026-07-05 08:59:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053042 -2.782226)'), GeomFromEWKT('SRID=4674;POINT (-40.053037 -2.782207)'))) / (select extract(epoch from '2026-07-05 08:59:20'::timestamp) - extract(epoch from '2026-07-05 08:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053042 -2.782226)'), GeomFromEWKT('SRID=4674;POINT (-40.053037 -2.782207)'))) / (select extract(epoch from '2026-07-05 08:59:20'::timestamp) - extract(epoch from '2026-07-05 08:59: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'), 47625, 'SRID=4674;POINT (-40.053019 -2.782176)', '2026-07-05 08:59:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053037 -2.782207)'), GeomFromEWKT('SRID=4674;POINT (-40.053019 -2.782176)'))) / (select extract(epoch from '2026-07-05 08:59:24'::timestamp) - extract(epoch from '2026-07-05 08:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053037 -2.782207)'), GeomFromEWKT('SRID=4674;POINT (-40.053019 -2.782176)'))) / (select extract(epoch from '2026-07-05 08:59:24'::timestamp) - extract(epoch from '2026-07-05 08:59: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'), 47625, 'SRID=4674;POINT (-40.052965 -2.78216)', '2026-07-05 08:59:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053019 -2.782176)'), GeomFromEWKT('SRID=4674;POINT (-40.052965 -2.78216)'))) / (select extract(epoch from '2026-07-05 08:59:32'::timestamp) - extract(epoch from '2026-07-05 08:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053019 -2.782176)'), GeomFromEWKT('SRID=4674;POINT (-40.052965 -2.78216)'))) / (select extract(epoch from '2026-07-05 08:59:32'::timestamp) - extract(epoch from '2026-07-05 08:59: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'), 47625, 'SRID=4674;POINT (-40.052943 -2.7822)', '2026-07-05 08:59:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052965 -2.78216)'), GeomFromEWKT('SRID=4674;POINT (-40.052943 -2.7822)'))) / (select extract(epoch from '2026-07-05 08:59:40'::timestamp) - extract(epoch from '2026-07-05 08:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052965 -2.78216)'), GeomFromEWKT('SRID=4674;POINT (-40.052943 -2.7822)'))) / (select extract(epoch from '2026-07-05 08:59:40'::timestamp) - extract(epoch from '2026-07-05 08:59: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'), 47625, 'SRID=4674;POINT (-40.052964 -2.782251)', '2026-07-05 08:59:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052943 -2.7822)'), GeomFromEWKT('SRID=4674;POINT (-40.052964 -2.782251)'))) / (select extract(epoch from '2026-07-05 08:59:45'::timestamp) - extract(epoch from '2026-07-05 08:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052943 -2.7822)'), GeomFromEWKT('SRID=4674;POINT (-40.052964 -2.782251)'))) / (select extract(epoch from '2026-07-05 08:59:45'::timestamp) - extract(epoch from '2026-07-05 08:59:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05302 -2.782293)', '2026-07-05 08:59:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052964 -2.782251)'), GeomFromEWKT('SRID=4674;POINT (-40.05302 -2.782293)'))) / (select extract(epoch from '2026-07-05 08:59:53'::timestamp) - extract(epoch from '2026-07-05 08:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052964 -2.782251)'), GeomFromEWKT('SRID=4674;POINT (-40.05302 -2.782293)'))) / (select extract(epoch from '2026-07-05 08:59:53'::timestamp) - extract(epoch from '2026-07-05 08:59:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05306 -2.782315)', '2026-07-05 09:00:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05302 -2.782293)'), GeomFromEWKT('SRID=4674;POINT (-40.05306 -2.782315)'))) / (select extract(epoch from '2026-07-05 09:00:00'::timestamp) - extract(epoch from '2026-07-05 08:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05302 -2.782293)'), GeomFromEWKT('SRID=4674;POINT (-40.05306 -2.782315)'))) / (select extract(epoch from '2026-07-05 09:00:00'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.0531 -2.782362)', '2026-07-05 09:00:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05306 -2.782315)'), GeomFromEWKT('SRID=4674;POINT (-40.0531 -2.782362)'))) / (select extract(epoch from '2026-07-05 09:00:08'::timestamp) - extract(epoch from '2026-07-05 09:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05306 -2.782315)'), GeomFromEWKT('SRID=4674;POINT (-40.0531 -2.782362)'))) / (select extract(epoch from '2026-07-05 09:00:08'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053106 -2.782396)', '2026-07-05 09:00:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0531 -2.782362)'), GeomFromEWKT('SRID=4674;POINT (-40.053106 -2.782396)'))) / (select extract(epoch from '2026-07-05 09:00:15'::timestamp) - extract(epoch from '2026-07-05 09:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0531 -2.782362)'), GeomFromEWKT('SRID=4674;POINT (-40.053106 -2.782396)'))) / (select extract(epoch from '2026-07-05 09:00:15'::timestamp) - extract(epoch from '2026-07-05 09:00: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'), 47625, 'SRID=4674;POINT (-40.053089 -2.782417)', '2026-07-05 09:00:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053106 -2.782396)'), GeomFromEWKT('SRID=4674;POINT (-40.053089 -2.782417)'))) / (select extract(epoch from '2026-07-05 09:00:21'::timestamp) - extract(epoch from '2026-07-05 09:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053106 -2.782396)'), GeomFromEWKT('SRID=4674;POINT (-40.053089 -2.782417)'))) / (select extract(epoch from '2026-07-05 09:00:21'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053091 -2.782452)', '2026-07-05 09:00:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053089 -2.782417)'), GeomFromEWKT('SRID=4674;POINT (-40.053091 -2.782452)'))) / (select extract(epoch from '2026-07-05 09:00:30'::timestamp) - extract(epoch from '2026-07-05 09:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053089 -2.782417)'), GeomFromEWKT('SRID=4674;POINT (-40.053091 -2.782452)'))) / (select extract(epoch from '2026-07-05 09:00:30'::timestamp) - extract(epoch from '2026-07-05 09:00: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'), 47625, 'SRID=4674;POINT (-40.05309 -2.782478)', '2026-07-05 09:00:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053091 -2.782452)'), GeomFromEWKT('SRID=4674;POINT (-40.05309 -2.782478)'))) / (select extract(epoch from '2026-07-05 09:00:37'::timestamp) - extract(epoch from '2026-07-05 09:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053091 -2.782452)'), GeomFromEWKT('SRID=4674;POINT (-40.05309 -2.782478)'))) / (select extract(epoch from '2026-07-05 09:00:37'::timestamp) - extract(epoch from '2026-07-05 09:00:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053043 -2.782479)', '2026-07-05 09:00:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05309 -2.782478)'), GeomFromEWKT('SRID=4674;POINT (-40.053043 -2.782479)'))) / (select extract(epoch from '2026-07-05 09:00:44'::timestamp) - extract(epoch from '2026-07-05 09:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05309 -2.782478)'), GeomFromEWKT('SRID=4674;POINT (-40.053043 -2.782479)'))) / (select extract(epoch from '2026-07-05 09:00:44'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053 -2.782411)', '2026-07-05 09:00:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053043 -2.782479)'), GeomFromEWKT('SRID=4674;POINT (-40.053 -2.782411)'))) / (select extract(epoch from '2026-07-05 09:00:52'::timestamp) - extract(epoch from '2026-07-05 09:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053043 -2.782479)'), GeomFromEWKT('SRID=4674;POINT (-40.053 -2.782411)'))) / (select extract(epoch from '2026-07-05 09:00:52'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.052957 -2.782281)', '2026-07-05 09:01:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053 -2.782411)'), GeomFromEWKT('SRID=4674;POINT (-40.052957 -2.782281)'))) / (select extract(epoch from '2026-07-05 09:01:00'::timestamp) - extract(epoch from '2026-07-05 09:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053 -2.782411)'), GeomFromEWKT('SRID=4674;POINT (-40.052957 -2.782281)'))) / (select extract(epoch from '2026-07-05 09:01:00'::timestamp) - extract(epoch from '2026-07-05 09:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052946 -2.782205)', '2026-07-05 09:01:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052957 -2.782281)'), GeomFromEWKT('SRID=4674;POINT (-40.052946 -2.782205)'))) / (select extract(epoch from '2026-07-05 09:01:04'::timestamp) - extract(epoch from '2026-07-05 09:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052957 -2.782281)'), GeomFromEWKT('SRID=4674;POINT (-40.052946 -2.782205)'))) / (select extract(epoch from '2026-07-05 09:01:04'::timestamp) - extract(epoch from '2026-07-05 09:01:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052937 -2.782169)', '2026-07-05 09:01:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052946 -2.782205)'), GeomFromEWKT('SRID=4674;POINT (-40.052937 -2.782169)'))) / (select extract(epoch from '2026-07-05 09:01:06'::timestamp) - extract(epoch from '2026-07-05 09:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052946 -2.782205)'), GeomFromEWKT('SRID=4674;POINT (-40.052937 -2.782169)'))) / (select extract(epoch from '2026-07-05 09:01:06'::timestamp) - extract(epoch from '2026-07-05 09:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052939 -2.782149)', '2026-07-05 09:01:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052937 -2.782169)'), GeomFromEWKT('SRID=4674;POINT (-40.052939 -2.782149)'))) / (select extract(epoch from '2026-07-05 09:01:07'::timestamp) - extract(epoch from '2026-07-05 09:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052937 -2.782169)'), GeomFromEWKT('SRID=4674;POINT (-40.052939 -2.782149)'))) / (select extract(epoch from '2026-07-05 09:01:07'::timestamp) - extract(epoch from '2026-07-05 09:01: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'), 47625, 'SRID=4674;POINT (-40.052932 -2.782099)', '2026-07-05 09:01:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052939 -2.782149)'), GeomFromEWKT('SRID=4674;POINT (-40.052932 -2.782099)'))) / (select extract(epoch from '2026-07-05 09:01:10'::timestamp) - extract(epoch from '2026-07-05 09:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052939 -2.782149)'), GeomFromEWKT('SRID=4674;POINT (-40.052932 -2.782099)'))) / (select extract(epoch from '2026-07-05 09:01:10'::timestamp) - extract(epoch from '2026-07-05 09:01:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052927 -2.782069)', '2026-07-05 09:01:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052932 -2.782099)'), GeomFromEWKT('SRID=4674;POINT (-40.052927 -2.782069)'))) / (select extract(epoch from '2026-07-05 09:01:12'::timestamp) - extract(epoch from '2026-07-05 09:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052932 -2.782099)'), GeomFromEWKT('SRID=4674;POINT (-40.052927 -2.782069)'))) / (select extract(epoch from '2026-07-05 09:01:12'::timestamp) - extract(epoch from '2026-07-05 09:01: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'), 47625, 'SRID=4674;POINT (-40.052926 -2.782035)', '2026-07-05 09:01:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052927 -2.782069)'), GeomFromEWKT('SRID=4674;POINT (-40.052926 -2.782035)'))) / (select extract(epoch from '2026-07-05 09:01:14'::timestamp) - extract(epoch from '2026-07-05 09:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052927 -2.782069)'), GeomFromEWKT('SRID=4674;POINT (-40.052926 -2.782035)'))) / (select extract(epoch from '2026-07-05 09:01:14'::timestamp) - extract(epoch from '2026-07-05 09:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052916 -2.781956)', '2026-07-05 09:01:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052926 -2.782035)'), GeomFromEWKT('SRID=4674;POINT (-40.052916 -2.781956)'))) / (select extract(epoch from '2026-07-05 09:01:19'::timestamp) - extract(epoch from '2026-07-05 09:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052926 -2.782035)'), GeomFromEWKT('SRID=4674;POINT (-40.052916 -2.781956)'))) / (select extract(epoch from '2026-07-05 09:01:19'::timestamp) - extract(epoch from '2026-07-05 09:01: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'), 47625, 'SRID=4674;POINT (-40.052917 -2.781852)', '2026-07-05 09:01:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052916 -2.781956)'), GeomFromEWKT('SRID=4674;POINT (-40.052917 -2.781852)'))) / (select extract(epoch from '2026-07-05 09:01:25'::timestamp) - extract(epoch from '2026-07-05 09:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052916 -2.781956)'), GeomFromEWKT('SRID=4674;POINT (-40.052917 -2.781852)'))) / (select extract(epoch from '2026-07-05 09:01:25'::timestamp) - extract(epoch from '2026-07-05 09:01:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052964 -2.781752)', '2026-07-05 09:01:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052917 -2.781852)'), GeomFromEWKT('SRID=4674;POINT (-40.052964 -2.781752)'))) / (select extract(epoch from '2026-07-05 09:01:32'::timestamp) - extract(epoch from '2026-07-05 09:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052917 -2.781852)'), GeomFromEWKT('SRID=4674;POINT (-40.052964 -2.781752)'))) / (select extract(epoch from '2026-07-05 09:01:32'::timestamp) - extract(epoch from '2026-07-05 09:01: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'), 47625, 'SRID=4674;POINT (-40.05301 -2.781698)', '2026-07-05 09:01:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052964 -2.781752)'), GeomFromEWKT('SRID=4674;POINT (-40.05301 -2.781698)'))) / (select extract(epoch from '2026-07-05 09:01:36'::timestamp) - extract(epoch from '2026-07-05 09:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052964 -2.781752)'), GeomFromEWKT('SRID=4674;POINT (-40.05301 -2.781698)'))) / (select extract(epoch from '2026-07-05 09:01:36'::timestamp) - extract(epoch from '2026-07-05 09:01:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053046 -2.781654)', '2026-07-05 09:01:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05301 -2.781698)'), GeomFromEWKT('SRID=4674;POINT (-40.053046 -2.781654)'))) / (select extract(epoch from '2026-07-05 09:01:40'::timestamp) - extract(epoch from '2026-07-05 09:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05301 -2.781698)'), GeomFromEWKT('SRID=4674;POINT (-40.053046 -2.781654)'))) / (select extract(epoch from '2026-07-05 09:01:40'::timestamp) - extract(epoch from '2026-07-05 09:01: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'), 47625, 'SRID=4674;POINT (-40.053092 -2.781606)', '2026-07-05 09:01:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053046 -2.781654)'), GeomFromEWKT('SRID=4674;POINT (-40.053092 -2.781606)'))) / (select extract(epoch from '2026-07-05 09:01:44'::timestamp) - extract(epoch from '2026-07-05 09:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053046 -2.781654)'), GeomFromEWKT('SRID=4674;POINT (-40.053092 -2.781606)'))) / (select extract(epoch from '2026-07-05 09:01:44'::timestamp) - extract(epoch from '2026-07-05 09:01: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'), 47625, 'SRID=4674;POINT (-40.053141 -2.781539)', '2026-07-05 09:01:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053092 -2.781606)'), GeomFromEWKT('SRID=4674;POINT (-40.053141 -2.781539)'))) / (select extract(epoch from '2026-07-05 09:01:49'::timestamp) - extract(epoch from '2026-07-05 09:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053092 -2.781606)'), GeomFromEWKT('SRID=4674;POINT (-40.053141 -2.781539)'))) / (select extract(epoch from '2026-07-05 09:01:49'::timestamp) - extract(epoch from '2026-07-05 09:01:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053165 -2.781513)', '2026-07-05 09:01:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053141 -2.781539)'), GeomFromEWKT('SRID=4674;POINT (-40.053165 -2.781513)'))) / (select extract(epoch from '2026-07-05 09:01:51'::timestamp) - extract(epoch from '2026-07-05 09:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053141 -2.781539)'), GeomFromEWKT('SRID=4674;POINT (-40.053165 -2.781513)'))) / (select extract(epoch from '2026-07-05 09:01:51'::timestamp) - extract(epoch from '2026-07-05 09:01:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053221 -2.781457)', '2026-07-05 09:01:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053165 -2.781513)'), GeomFromEWKT('SRID=4674;POINT (-40.053221 -2.781457)'))) / (select extract(epoch from '2026-07-05 09:01:56'::timestamp) - extract(epoch from '2026-07-05 09:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053165 -2.781513)'), GeomFromEWKT('SRID=4674;POINT (-40.053221 -2.781457)'))) / (select extract(epoch from '2026-07-05 09:01:56'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053265 -2.781446)', '2026-07-05 09:01:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053221 -2.781457)'), GeomFromEWKT('SRID=4674;POINT (-40.053265 -2.781446)'))) / (select extract(epoch from '2026-07-05 09:01:59'::timestamp) - extract(epoch from '2026-07-05 09:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053221 -2.781457)'), GeomFromEWKT('SRID=4674;POINT (-40.053265 -2.781446)'))) / (select extract(epoch from '2026-07-05 09:01:59'::timestamp) - extract(epoch from '2026-07-05 09:01: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'), 47625, 'SRID=4674;POINT (-40.053288 -2.78145)', '2026-07-05 09:02:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053265 -2.781446)'), GeomFromEWKT('SRID=4674;POINT (-40.053288 -2.78145)'))) / (select extract(epoch from '2026-07-05 09:02:01'::timestamp) - extract(epoch from '2026-07-05 09:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053265 -2.781446)'), GeomFromEWKT('SRID=4674;POINT (-40.053288 -2.78145)'))) / (select extract(epoch from '2026-07-05 09:02:01'::timestamp) - extract(epoch from '2026-07-05 09:01: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'), 47625, 'SRID=4674;POINT (-40.053336 -2.781476)', '2026-07-05 09:02:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053288 -2.78145)'), GeomFromEWKT('SRID=4674;POINT (-40.053336 -2.781476)'))) / (select extract(epoch from '2026-07-05 09:02:06'::timestamp) - extract(epoch from '2026-07-05 09:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053288 -2.78145)'), GeomFromEWKT('SRID=4674;POINT (-40.053336 -2.781476)'))) / (select extract(epoch from '2026-07-05 09:02:06'::timestamp) - extract(epoch from '2026-07-05 09:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053346 -2.781528)', '2026-07-05 09:02:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053336 -2.781476)'), GeomFromEWKT('SRID=4674;POINT (-40.053346 -2.781528)'))) / (select extract(epoch from '2026-07-05 09:02:13'::timestamp) - extract(epoch from '2026-07-05 09:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053336 -2.781476)'), GeomFromEWKT('SRID=4674;POINT (-40.053346 -2.781528)'))) / (select extract(epoch from '2026-07-05 09:02:13'::timestamp) - extract(epoch from '2026-07-05 09:02: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'), 47625, 'SRID=4674;POINT (-40.053326 -2.781548)', '2026-07-05 09:02:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053346 -2.781528)'), GeomFromEWKT('SRID=4674;POINT (-40.053326 -2.781548)'))) / (select extract(epoch from '2026-07-05 09:02:20'::timestamp) - extract(epoch from '2026-07-05 09:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053346 -2.781528)'), GeomFromEWKT('SRID=4674;POINT (-40.053326 -2.781548)'))) / (select extract(epoch from '2026-07-05 09:02:20'::timestamp) - extract(epoch from '2026-07-05 09:02:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053279 -2.781519)', '2026-07-05 09:02:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053326 -2.781548)'), GeomFromEWKT('SRID=4674;POINT (-40.053279 -2.781519)'))) / (select extract(epoch from '2026-07-05 09:02:28'::timestamp) - extract(epoch from '2026-07-05 09:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053326 -2.781548)'), GeomFromEWKT('SRID=4674;POINT (-40.053279 -2.781519)'))) / (select extract(epoch from '2026-07-05 09:02:28'::timestamp) - extract(epoch from '2026-07-05 09:02: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'), 47625, 'SRID=4674;POINT (-40.053269 -2.781506)', '2026-07-05 09:02:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053279 -2.781519)'), GeomFromEWKT('SRID=4674;POINT (-40.053269 -2.781506)'))) / (select extract(epoch from '2026-07-05 09:02:30'::timestamp) - extract(epoch from '2026-07-05 09:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053279 -2.781519)'), GeomFromEWKT('SRID=4674;POINT (-40.053269 -2.781506)'))) / (select extract(epoch from '2026-07-05 09:02:30'::timestamp) - extract(epoch from '2026-07-05 09:02:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053246 -2.781477)', '2026-07-05 09:02:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053269 -2.781506)'), GeomFromEWKT('SRID=4674;POINT (-40.053246 -2.781477)'))) / (select extract(epoch from '2026-07-05 09:02:34'::timestamp) - extract(epoch from '2026-07-05 09:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053269 -2.781506)'), GeomFromEWKT('SRID=4674;POINT (-40.053246 -2.781477)'))) / (select extract(epoch from '2026-07-05 09:02:34'::timestamp) - extract(epoch from '2026-07-05 09:02:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053203 -2.781443)', '2026-07-05 09:02:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053246 -2.781477)'), GeomFromEWKT('SRID=4674;POINT (-40.053203 -2.781443)'))) / (select extract(epoch from '2026-07-05 09:02:42'::timestamp) - extract(epoch from '2026-07-05 09:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053246 -2.781477)'), GeomFromEWKT('SRID=4674;POINT (-40.053203 -2.781443)'))) / (select extract(epoch from '2026-07-05 09:02:42'::timestamp) - extract(epoch from '2026-07-05 09:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05318 -2.78142)', '2026-07-05 09:02:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053203 -2.781443)'), GeomFromEWKT('SRID=4674;POINT (-40.05318 -2.78142)'))) / (select extract(epoch from '2026-07-05 09:02:52'::timestamp) - extract(epoch from '2026-07-05 09:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053203 -2.781443)'), GeomFromEWKT('SRID=4674;POINT (-40.05318 -2.78142)'))) / (select extract(epoch from '2026-07-05 09:02:52'::timestamp) - extract(epoch from '2026-07-05 09:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053171 -2.781416)', '2026-07-05 09:03:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05318 -2.78142)'), GeomFromEWKT('SRID=4674;POINT (-40.053171 -2.781416)'))) / (select extract(epoch from '2026-07-05 09:03:01'::timestamp) - extract(epoch from '2026-07-05 09:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05318 -2.78142)'), GeomFromEWKT('SRID=4674;POINT (-40.053171 -2.781416)'))) / (select extract(epoch from '2026-07-05 09:03:01'::timestamp) - extract(epoch from '2026-07-05 09:02: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'), 47625, 'SRID=4674;POINT (-40.053144 -2.781414)', '2026-07-05 09:03:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053171 -2.781416)'), GeomFromEWKT('SRID=4674;POINT (-40.053144 -2.781414)'))) / (select extract(epoch from '2026-07-05 09:03:15'::timestamp) - extract(epoch from '2026-07-05 09:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053171 -2.781416)'), GeomFromEWKT('SRID=4674;POINT (-40.053144 -2.781414)'))) / (select extract(epoch from '2026-07-05 09:03:15'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053161 -2.78144)', '2026-07-05 09:03:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053144 -2.781414)'), GeomFromEWKT('SRID=4674;POINT (-40.053161 -2.78144)'))) / (select extract(epoch from '2026-07-05 09:03:24'::timestamp) - extract(epoch from '2026-07-05 09:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053144 -2.781414)'), GeomFromEWKT('SRID=4674;POINT (-40.053161 -2.78144)'))) / (select extract(epoch from '2026-07-05 09:03:24'::timestamp) - extract(epoch from '2026-07-05 09:03:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053198 -2.781475)', '2026-07-05 09:03:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053161 -2.78144)'), GeomFromEWKT('SRID=4674;POINT (-40.053198 -2.781475)'))) / (select extract(epoch from '2026-07-05 09:03:32'::timestamp) - extract(epoch from '2026-07-05 09:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053161 -2.78144)'), GeomFromEWKT('SRID=4674;POINT (-40.053198 -2.781475)'))) / (select extract(epoch from '2026-07-05 09:03:32'::timestamp) - extract(epoch from '2026-07-05 09:03: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'), 47625, 'SRID=4674;POINT (-40.053251 -2.781496)', '2026-07-05 09:03:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053198 -2.781475)'), GeomFromEWKT('SRID=4674;POINT (-40.053251 -2.781496)'))) / (select extract(epoch from '2026-07-05 09:03:39'::timestamp) - extract(epoch from '2026-07-05 09:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053198 -2.781475)'), GeomFromEWKT('SRID=4674;POINT (-40.053251 -2.781496)'))) / (select extract(epoch from '2026-07-05 09:03:39'::timestamp) - extract(epoch from '2026-07-05 09:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05331 -2.781504)', '2026-07-05 09:03:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053251 -2.781496)'), GeomFromEWKT('SRID=4674;POINT (-40.05331 -2.781504)'))) / (select extract(epoch from '2026-07-05 09:03:46'::timestamp) - extract(epoch from '2026-07-05 09:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053251 -2.781496)'), GeomFromEWKT('SRID=4674;POINT (-40.05331 -2.781504)'))) / (select extract(epoch from '2026-07-05 09:03:46'::timestamp) - extract(epoch from '2026-07-05 09:03: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'), 47625, 'SRID=4674;POINT (-40.053372 -2.781476)', '2026-07-05 09:03:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05331 -2.781504)'), GeomFromEWKT('SRID=4674;POINT (-40.053372 -2.781476)'))) / (select extract(epoch from '2026-07-05 09:03:52'::timestamp) - extract(epoch from '2026-07-05 09:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05331 -2.781504)'), GeomFromEWKT('SRID=4674;POINT (-40.053372 -2.781476)'))) / (select extract(epoch from '2026-07-05 09:03:52'::timestamp) - extract(epoch from '2026-07-05 09:03:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053412 -2.78138)', '2026-07-05 09:03:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053372 -2.781476)'), GeomFromEWKT('SRID=4674;POINT (-40.053412 -2.78138)'))) / (select extract(epoch from '2026-07-05 09:03:59'::timestamp) - extract(epoch from '2026-07-05 09:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053372 -2.781476)'), GeomFromEWKT('SRID=4674;POINT (-40.053412 -2.78138)'))) / (select extract(epoch from '2026-07-05 09:03:59'::timestamp) - extract(epoch from '2026-07-05 09:03: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'), 47625, 'SRID=4674;POINT (-40.053409 -2.781283)', '2026-07-05 09:04:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053412 -2.78138)'), GeomFromEWKT('SRID=4674;POINT (-40.053409 -2.781283)'))) / (select extract(epoch from '2026-07-05 09:04:05'::timestamp) - extract(epoch from '2026-07-05 09:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053412 -2.78138)'), GeomFromEWKT('SRID=4674;POINT (-40.053409 -2.781283)'))) / (select extract(epoch from '2026-07-05 09:04:05'::timestamp) - extract(epoch from '2026-07-05 09:03:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053405 -2.781268)', '2026-07-05 09:04:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053409 -2.781283)'), GeomFromEWKT('SRID=4674;POINT (-40.053405 -2.781268)'))) / (select extract(epoch from '2026-07-05 09:04:06'::timestamp) - extract(epoch from '2026-07-05 09:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053409 -2.781283)'), GeomFromEWKT('SRID=4674;POINT (-40.053405 -2.781268)'))) / (select extract(epoch from '2026-07-05 09:04:06'::timestamp) - extract(epoch from '2026-07-05 09:04:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053401 -2.781234)', '2026-07-05 09:04:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053405 -2.781268)'), GeomFromEWKT('SRID=4674;POINT (-40.053401 -2.781234)'))) / (select extract(epoch from '2026-07-05 09:04:08'::timestamp) - extract(epoch from '2026-07-05 09:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053405 -2.781268)'), GeomFromEWKT('SRID=4674;POINT (-40.053401 -2.781234)'))) / (select extract(epoch from '2026-07-05 09:04:08'::timestamp) - extract(epoch from '2026-07-05 09:04: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'), 47625, 'SRID=4674;POINT (-40.053399 -2.7812)', '2026-07-05 09:04:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053401 -2.781234)'), GeomFromEWKT('SRID=4674;POINT (-40.053399 -2.7812)'))) / (select extract(epoch from '2026-07-05 09:04:10'::timestamp) - extract(epoch from '2026-07-05 09:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053401 -2.781234)'), GeomFromEWKT('SRID=4674;POINT (-40.053399 -2.7812)'))) / (select extract(epoch from '2026-07-05 09:04:10'::timestamp) - extract(epoch from '2026-07-05 09:04:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053356 -2.781117)', '2026-07-05 09:04:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053399 -2.7812)'), GeomFromEWKT('SRID=4674;POINT (-40.053356 -2.781117)'))) / (select extract(epoch from '2026-07-05 09:04:16'::timestamp) - extract(epoch from '2026-07-05 09:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053399 -2.7812)'), GeomFromEWKT('SRID=4674;POINT (-40.053356 -2.781117)'))) / (select extract(epoch from '2026-07-05 09:04:16'::timestamp) - extract(epoch from '2026-07-05 09:04: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'), 47625, 'SRID=4674;POINT (-40.053316 -2.781052)', '2026-07-05 09:04:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053356 -2.781117)'), GeomFromEWKT('SRID=4674;POINT (-40.053316 -2.781052)'))) / (select extract(epoch from '2026-07-05 09:04:22'::timestamp) - extract(epoch from '2026-07-05 09:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053356 -2.781117)'), GeomFromEWKT('SRID=4674;POINT (-40.053316 -2.781052)'))) / (select extract(epoch from '2026-07-05 09:04:22'::timestamp) - extract(epoch from '2026-07-05 09:04: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'), 47625, 'SRID=4674;POINT (-40.053286 -2.781006)', '2026-07-05 09:04:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053316 -2.781052)'), GeomFromEWKT('SRID=4674;POINT (-40.053286 -2.781006)'))) / (select extract(epoch from '2026-07-05 09:04:26'::timestamp) - extract(epoch from '2026-07-05 09:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053316 -2.781052)'), GeomFromEWKT('SRID=4674;POINT (-40.053286 -2.781006)'))) / (select extract(epoch from '2026-07-05 09:04:26'::timestamp) - extract(epoch from '2026-07-05 09:04: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'), 47625, 'SRID=4674;POINT (-40.05327 -2.780985)', '2026-07-05 09:04:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053286 -2.781006)'), GeomFromEWKT('SRID=4674;POINT (-40.05327 -2.780985)'))) / (select extract(epoch from '2026-07-05 09:04:28'::timestamp) - extract(epoch from '2026-07-05 09:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053286 -2.781006)'), GeomFromEWKT('SRID=4674;POINT (-40.05327 -2.780985)'))) / (select extract(epoch from '2026-07-05 09:04:28'::timestamp) - extract(epoch from '2026-07-05 09:04:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053243 -2.780939)', '2026-07-05 09:04:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05327 -2.780985)'), GeomFromEWKT('SRID=4674;POINT (-40.053243 -2.780939)'))) / (select extract(epoch from '2026-07-05 09:04:32'::timestamp) - extract(epoch from '2026-07-05 09:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05327 -2.780985)'), GeomFromEWKT('SRID=4674;POINT (-40.053243 -2.780939)'))) / (select extract(epoch from '2026-07-05 09:04:32'::timestamp) - extract(epoch from '2026-07-05 09:04: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'), 47625, 'SRID=4674;POINT (-40.053233 -2.780899)', '2026-07-05 09:04:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053243 -2.780939)'), GeomFromEWKT('SRID=4674;POINT (-40.053233 -2.780899)'))) / (select extract(epoch from '2026-07-05 09:04:35'::timestamp) - extract(epoch from '2026-07-05 09:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053243 -2.780939)'), GeomFromEWKT('SRID=4674;POINT (-40.053233 -2.780899)'))) / (select extract(epoch from '2026-07-05 09:04:35'::timestamp) - extract(epoch from '2026-07-05 09:04: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'), 47625, 'SRID=4674;POINT (-40.05323 -2.780875)', '2026-07-05 09:04:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053233 -2.780899)'), GeomFromEWKT('SRID=4674;POINT (-40.05323 -2.780875)'))) / (select extract(epoch from '2026-07-05 09:04:37'::timestamp) - extract(epoch from '2026-07-05 09:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053233 -2.780899)'), GeomFromEWKT('SRID=4674;POINT (-40.05323 -2.780875)'))) / (select extract(epoch from '2026-07-05 09:04:37'::timestamp) - extract(epoch from '2026-07-05 09:04:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053217 -2.780824)', '2026-07-05 09:04:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05323 -2.780875)'), GeomFromEWKT('SRID=4674;POINT (-40.053217 -2.780824)'))) / (select extract(epoch from '2026-07-05 09:04:41'::timestamp) - extract(epoch from '2026-07-05 09:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05323 -2.780875)'), GeomFromEWKT('SRID=4674;POINT (-40.053217 -2.780824)'))) / (select extract(epoch from '2026-07-05 09:04:41'::timestamp) - extract(epoch from '2026-07-05 09:04: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'), 47625, 'SRID=4674;POINT (-40.053201 -2.780766)', '2026-07-05 09:04:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053217 -2.780824)'), GeomFromEWKT('SRID=4674;POINT (-40.053201 -2.780766)'))) / (select extract(epoch from '2026-07-05 09:04:48'::timestamp) - extract(epoch from '2026-07-05 09:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053217 -2.780824)'), GeomFromEWKT('SRID=4674;POINT (-40.053201 -2.780766)'))) / (select extract(epoch from '2026-07-05 09:04:48'::timestamp) - extract(epoch from '2026-07-05 09:04: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'), 47625, 'SRID=4674;POINT (-40.053166 -2.78073)', '2026-07-05 09:04:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053201 -2.780766)'), GeomFromEWKT('SRID=4674;POINT (-40.053166 -2.78073)'))) / (select extract(epoch from '2026-07-05 09:04:55'::timestamp) - extract(epoch from '2026-07-05 09:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053201 -2.780766)'), GeomFromEWKT('SRID=4674;POINT (-40.053166 -2.78073)'))) / (select extract(epoch from '2026-07-05 09:04:55'::timestamp) - extract(epoch from '2026-07-05 09:04: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'), 47625, 'SRID=4674;POINT (-40.053117 -2.780735)', '2026-07-05 09:05:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053166 -2.78073)'), GeomFromEWKT('SRID=4674;POINT (-40.053117 -2.780735)'))) / (select extract(epoch from '2026-07-05 09:05:04'::timestamp) - extract(epoch from '2026-07-05 09:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053166 -2.78073)'), GeomFromEWKT('SRID=4674;POINT (-40.053117 -2.780735)'))) / (select extract(epoch from '2026-07-05 09:05:04'::timestamp) - extract(epoch from '2026-07-05 09:04:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053119 -2.780759)', '2026-07-05 09:05:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053117 -2.780735)'), GeomFromEWKT('SRID=4674;POINT (-40.053119 -2.780759)'))) / (select extract(epoch from '2026-07-05 09:05:12'::timestamp) - extract(epoch from '2026-07-05 09:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053117 -2.780735)'), GeomFromEWKT('SRID=4674;POINT (-40.053119 -2.780759)'))) / (select extract(epoch from '2026-07-05 09:05:12'::timestamp) - extract(epoch from '2026-07-05 09:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053178 -2.780806)', '2026-07-05 09:05:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053119 -2.780759)'), GeomFromEWKT('SRID=4674;POINT (-40.053178 -2.780806)'))) / (select extract(epoch from '2026-07-05 09:05:22'::timestamp) - extract(epoch from '2026-07-05 09:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053119 -2.780759)'), GeomFromEWKT('SRID=4674;POINT (-40.053178 -2.780806)'))) / (select extract(epoch from '2026-07-05 09:05:22'::timestamp) - extract(epoch from '2026-07-05 09:05:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053194 -2.780834)', '2026-07-05 09:05:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053178 -2.780806)'), GeomFromEWKT('SRID=4674;POINT (-40.053194 -2.780834)'))) / (select extract(epoch from '2026-07-05 09:05:30'::timestamp) - extract(epoch from '2026-07-05 09:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053178 -2.780806)'), GeomFromEWKT('SRID=4674;POINT (-40.053194 -2.780834)'))) / (select extract(epoch from '2026-07-05 09:05:30'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053175 -2.780864)', '2026-07-05 09:05:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053194 -2.780834)'), GeomFromEWKT('SRID=4674;POINT (-40.053175 -2.780864)'))) / (select extract(epoch from '2026-07-05 09:05:37'::timestamp) - extract(epoch from '2026-07-05 09:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053194 -2.780834)'), GeomFromEWKT('SRID=4674;POINT (-40.053175 -2.780864)'))) / (select extract(epoch from '2026-07-05 09:05:37'::timestamp) - extract(epoch from '2026-07-05 09:05: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'), 47625, 'SRID=4674;POINT (-40.053164 -2.780839)', '2026-07-05 09:05:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053175 -2.780864)'), GeomFromEWKT('SRID=4674;POINT (-40.053164 -2.780839)'))) / (select extract(epoch from '2026-07-05 09:05:46'::timestamp) - extract(epoch from '2026-07-05 09:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053175 -2.780864)'), GeomFromEWKT('SRID=4674;POINT (-40.053164 -2.780839)'))) / (select extract(epoch from '2026-07-05 09:05:46'::timestamp) - extract(epoch from '2026-07-05 09:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053164 -2.780786)', '2026-07-05 09:05:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053164 -2.780839)'), GeomFromEWKT('SRID=4674;POINT (-40.053164 -2.780786)'))) / (select extract(epoch from '2026-07-05 09:05:55'::timestamp) - extract(epoch from '2026-07-05 09:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053164 -2.780839)'), GeomFromEWKT('SRID=4674;POINT (-40.053164 -2.780786)'))) / (select extract(epoch from '2026-07-05 09:05:55'::timestamp) - extract(epoch from '2026-07-05 09:05:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053169 -2.780777)', '2026-07-05 09:05:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053164 -2.780786)'), GeomFromEWKT('SRID=4674;POINT (-40.053169 -2.780777)'))) / (select extract(epoch from '2026-07-05 09:05:56'::timestamp) - extract(epoch from '2026-07-05 09:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053164 -2.780786)'), GeomFromEWKT('SRID=4674;POINT (-40.053169 -2.780777)'))) / (select extract(epoch from '2026-07-05 09:05:56'::timestamp) - extract(epoch from '2026-07-05 09:05: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'), 47625, 'SRID=4674;POINT (-40.053172 -2.780739)', '2026-07-05 09:06:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053169 -2.780777)'), GeomFromEWKT('SRID=4674;POINT (-40.053172 -2.780739)'))) / (select extract(epoch from '2026-07-05 09:06:01'::timestamp) - extract(epoch from '2026-07-05 09:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053169 -2.780777)'), GeomFromEWKT('SRID=4674;POINT (-40.053172 -2.780739)'))) / (select extract(epoch from '2026-07-05 09:06:01'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.05317 -2.780715)', '2026-07-05 09:06:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053172 -2.780739)'), GeomFromEWKT('SRID=4674;POINT (-40.05317 -2.780715)'))) / (select extract(epoch from '2026-07-05 09:06:04'::timestamp) - extract(epoch from '2026-07-05 09:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053172 -2.780739)'), GeomFromEWKT('SRID=4674;POINT (-40.05317 -2.780715)'))) / (select extract(epoch from '2026-07-05 09:06:04'::timestamp) - extract(epoch from '2026-07-05 09:06: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'), 47625, 'SRID=4674;POINT (-40.053171 -2.780698)', '2026-07-05 09:06:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05317 -2.780715)'), GeomFromEWKT('SRID=4674;POINT (-40.053171 -2.780698)'))) / (select extract(epoch from '2026-07-05 09:06:06'::timestamp) - extract(epoch from '2026-07-05 09:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05317 -2.780715)'), GeomFromEWKT('SRID=4674;POINT (-40.053171 -2.780698)'))) / (select extract(epoch from '2026-07-05 09:06:06'::timestamp) - extract(epoch from '2026-07-05 09:06:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05317 -2.780676)', '2026-07-05 09:06:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053171 -2.780698)'), GeomFromEWKT('SRID=4674;POINT (-40.05317 -2.780676)'))) / (select extract(epoch from '2026-07-05 09:06:08'::timestamp) - extract(epoch from '2026-07-05 09:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053171 -2.780698)'), GeomFromEWKT('SRID=4674;POINT (-40.05317 -2.780676)'))) / (select extract(epoch from '2026-07-05 09:06:08'::timestamp) - extract(epoch from '2026-07-05 09:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053171 -2.780665)', '2026-07-05 09:06:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05317 -2.780676)'), GeomFromEWKT('SRID=4674;POINT (-40.053171 -2.780665)'))) / (select extract(epoch from '2026-07-05 09:06:09'::timestamp) - extract(epoch from '2026-07-05 09:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05317 -2.780676)'), GeomFromEWKT('SRID=4674;POINT (-40.053171 -2.780665)'))) / (select extract(epoch from '2026-07-05 09:06:09'::timestamp) - extract(epoch from '2026-07-05 09:06:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053164 -2.780622)', '2026-07-05 09:06:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053171 -2.780665)'), GeomFromEWKT('SRID=4674;POINT (-40.053164 -2.780622)'))) / (select extract(epoch from '2026-07-05 09:06:13'::timestamp) - extract(epoch from '2026-07-05 09:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053171 -2.780665)'), GeomFromEWKT('SRID=4674;POINT (-40.053164 -2.780622)'))) / (select extract(epoch from '2026-07-05 09:06:13'::timestamp) - extract(epoch from '2026-07-05 09:06:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053141 -2.780522)', '2026-07-05 09:06:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053164 -2.780622)'), GeomFromEWKT('SRID=4674;POINT (-40.053141 -2.780522)'))) / (select extract(epoch from '2026-07-05 09:06:21'::timestamp) - extract(epoch from '2026-07-05 09:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053164 -2.780622)'), GeomFromEWKT('SRID=4674;POINT (-40.053141 -2.780522)'))) / (select extract(epoch from '2026-07-05 09:06:21'::timestamp) - extract(epoch from '2026-07-05 09:06: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'), 47625, 'SRID=4674;POINT (-40.053137 -2.780506)', '2026-07-05 09:06:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053141 -2.780522)'), GeomFromEWKT('SRID=4674;POINT (-40.053137 -2.780506)'))) / (select extract(epoch from '2026-07-05 09:06:22'::timestamp) - extract(epoch from '2026-07-05 09:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053141 -2.780522)'), GeomFromEWKT('SRID=4674;POINT (-40.053137 -2.780506)'))) / (select extract(epoch from '2026-07-05 09:06:22'::timestamp) - extract(epoch from '2026-07-05 09:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053121 -2.780464)', '2026-07-05 09:06:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053137 -2.780506)'), GeomFromEWKT('SRID=4674;POINT (-40.053121 -2.780464)'))) / (select extract(epoch from '2026-07-05 09:06:25'::timestamp) - extract(epoch from '2026-07-05 09:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053137 -2.780506)'), GeomFromEWKT('SRID=4674;POINT (-40.053121 -2.780464)'))) / (select extract(epoch from '2026-07-05 09:06:25'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053087 -2.78035)', '2026-07-05 09:06:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053121 -2.780464)'), GeomFromEWKT('SRID=4674;POINT (-40.053087 -2.78035)'))) / (select extract(epoch from '2026-07-05 09:06:32'::timestamp) - extract(epoch from '2026-07-05 09:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053121 -2.780464)'), GeomFromEWKT('SRID=4674;POINT (-40.053087 -2.78035)'))) / (select extract(epoch from '2026-07-05 09:06:32'::timestamp) - extract(epoch from '2026-07-05 09:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053049 -2.78019)', '2026-07-05 09:06:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053087 -2.78035)'), GeomFromEWKT('SRID=4674;POINT (-40.053049 -2.78019)'))) / (select extract(epoch from '2026-07-05 09:06:40'::timestamp) - extract(epoch from '2026-07-05 09:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053087 -2.78035)'), GeomFromEWKT('SRID=4674;POINT (-40.053049 -2.78019)'))) / (select extract(epoch from '2026-07-05 09:06:40'::timestamp) - extract(epoch from '2026-07-05 09:06:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053031 -2.780058)', '2026-07-05 09:06:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053049 -2.78019)'), GeomFromEWKT('SRID=4674;POINT (-40.053031 -2.780058)'))) / (select extract(epoch from '2026-07-05 09:06:46'::timestamp) - extract(epoch from '2026-07-05 09:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053049 -2.78019)'), GeomFromEWKT('SRID=4674;POINT (-40.053031 -2.780058)'))) / (select extract(epoch from '2026-07-05 09:06:46'::timestamp) - extract(epoch from '2026-07-05 09:06:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053038 -2.779965)', '2026-07-05 09:06:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053031 -2.780058)'), GeomFromEWKT('SRID=4674;POINT (-40.053038 -2.779965)'))) / (select extract(epoch from '2026-07-05 09:06:51'::timestamp) - extract(epoch from '2026-07-05 09:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053031 -2.780058)'), GeomFromEWKT('SRID=4674;POINT (-40.053038 -2.779965)'))) / (select extract(epoch from '2026-07-05 09:06:51'::timestamp) - extract(epoch from '2026-07-05 09:06: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'), 47625, 'SRID=4674;POINT (-40.053087 -2.779876)', '2026-07-05 09:06:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053038 -2.779965)'), GeomFromEWKT('SRID=4674;POINT (-40.053087 -2.779876)'))) / (select extract(epoch from '2026-07-05 09:06:56'::timestamp) - extract(epoch from '2026-07-05 09:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053038 -2.779965)'), GeomFromEWKT('SRID=4674;POINT (-40.053087 -2.779876)'))) / (select extract(epoch from '2026-07-05 09:06:56'::timestamp) - extract(epoch from '2026-07-05 09:06:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053183 -2.779787)', '2026-07-05 09:07:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053087 -2.779876)'), GeomFromEWKT('SRID=4674;POINT (-40.053183 -2.779787)'))) / (select extract(epoch from '2026-07-05 09:07:03'::timestamp) - extract(epoch from '2026-07-05 09:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053087 -2.779876)'), GeomFromEWKT('SRID=4674;POINT (-40.053183 -2.779787)'))) / (select extract(epoch from '2026-07-05 09:07:03'::timestamp) - extract(epoch from '2026-07-05 09:06:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053238 -2.779737)', '2026-07-05 09:07:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053183 -2.779787)'), GeomFromEWKT('SRID=4674;POINT (-40.053238 -2.779737)'))) / (select extract(epoch from '2026-07-05 09:07:08'::timestamp) - extract(epoch from '2026-07-05 09:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053183 -2.779787)'), GeomFromEWKT('SRID=4674;POINT (-40.053238 -2.779737)'))) / (select extract(epoch from '2026-07-05 09:07:08'::timestamp) - extract(epoch from '2026-07-05 09:07: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'), 47625, 'SRID=4674;POINT (-40.053304 -2.779658)', '2026-07-05 09:07:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053238 -2.779737)'), GeomFromEWKT('SRID=4674;POINT (-40.053304 -2.779658)'))) / (select extract(epoch from '2026-07-05 09:07:17'::timestamp) - extract(epoch from '2026-07-05 09:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053238 -2.779737)'), GeomFromEWKT('SRID=4674;POINT (-40.053304 -2.779658)'))) / (select extract(epoch from '2026-07-05 09:07:17'::timestamp) - extract(epoch from '2026-07-05 09:07:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053328 -2.779582)', '2026-07-05 09:07:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053304 -2.779658)'), GeomFromEWKT('SRID=4674;POINT (-40.053328 -2.779582)'))) / (select extract(epoch from '2026-07-05 09:07:25'::timestamp) - extract(epoch from '2026-07-05 09:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053304 -2.779658)'), GeomFromEWKT('SRID=4674;POINT (-40.053328 -2.779582)'))) / (select extract(epoch from '2026-07-05 09:07:25'::timestamp) - extract(epoch from '2026-07-05 09:07:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053326 -2.779574)', '2026-07-05 09:07:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053328 -2.779582)'), GeomFromEWKT('SRID=4674;POINT (-40.053326 -2.779574)'))) / (select extract(epoch from '2026-07-05 09:07:26'::timestamp) - extract(epoch from '2026-07-05 09:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053328 -2.779582)'), GeomFromEWKT('SRID=4674;POINT (-40.053326 -2.779574)'))) / (select extract(epoch from '2026-07-05 09:07:26'::timestamp) - extract(epoch from '2026-07-05 09:07:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053329 -2.779564)', '2026-07-05 09:07:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053326 -2.779574)'), GeomFromEWKT('SRID=4674;POINT (-40.053329 -2.779564)'))) / (select extract(epoch from '2026-07-05 09:07:27'::timestamp) - extract(epoch from '2026-07-05 09:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053326 -2.779574)'), GeomFromEWKT('SRID=4674;POINT (-40.053329 -2.779564)'))) / (select extract(epoch from '2026-07-05 09:07:27'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053335 -2.779534)', '2026-07-05 09:07:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053329 -2.779564)'), GeomFromEWKT('SRID=4674;POINT (-40.053335 -2.779534)'))) / (select extract(epoch from '2026-07-05 09:07:31'::timestamp) - extract(epoch from '2026-07-05 09:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053329 -2.779564)'), GeomFromEWKT('SRID=4674;POINT (-40.053335 -2.779534)'))) / (select extract(epoch from '2026-07-05 09:07:31'::timestamp) - extract(epoch from '2026-07-05 09:07:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053293 -2.779467)', '2026-07-05 09:07:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053335 -2.779534)'), GeomFromEWKT('SRID=4674;POINT (-40.053293 -2.779467)'))) / (select extract(epoch from '2026-07-05 09:07:42'::timestamp) - extract(epoch from '2026-07-05 09:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053335 -2.779534)'), GeomFromEWKT('SRID=4674;POINT (-40.053293 -2.779467)'))) / (select extract(epoch from '2026-07-05 09:07:42'::timestamp) - extract(epoch from '2026-07-05 09:07:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053218 -2.779433)', '2026-07-05 09:07:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053293 -2.779467)'), GeomFromEWKT('SRID=4674;POINT (-40.053218 -2.779433)'))) / (select extract(epoch from '2026-07-05 09:07:54'::timestamp) - extract(epoch from '2026-07-05 09:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053293 -2.779467)'), GeomFromEWKT('SRID=4674;POINT (-40.053218 -2.779433)'))) / (select extract(epoch from '2026-07-05 09:07:54'::timestamp) - extract(epoch from '2026-07-05 09:07:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053203 -2.779485)', '2026-07-05 09:08:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053218 -2.779433)'), GeomFromEWKT('SRID=4674;POINT (-40.053203 -2.779485)'))) / (select extract(epoch from '2026-07-05 09:08:03'::timestamp) - extract(epoch from '2026-07-05 09:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053218 -2.779433)'), GeomFromEWKT('SRID=4674;POINT (-40.053203 -2.779485)'))) / (select extract(epoch from '2026-07-05 09:08:03'::timestamp) - extract(epoch from '2026-07-05 09:07: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'), 47625, 'SRID=4674;POINT (-40.053308 -2.779553)', '2026-07-05 09:08:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053203 -2.779485)'), GeomFromEWKT('SRID=4674;POINT (-40.053308 -2.779553)'))) / (select extract(epoch from '2026-07-05 09:08:16'::timestamp) - extract(epoch from '2026-07-05 09:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053203 -2.779485)'), GeomFromEWKT('SRID=4674;POINT (-40.053308 -2.779553)'))) / (select extract(epoch from '2026-07-05 09:08:16'::timestamp) - extract(epoch from '2026-07-05 09:08: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'), 47625, 'SRID=4674;POINT (-40.053349 -2.779583)', '2026-07-05 09:08:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053308 -2.779553)'), GeomFromEWKT('SRID=4674;POINT (-40.053349 -2.779583)'))) / (select extract(epoch from '2026-07-05 09:08:21'::timestamp) - extract(epoch from '2026-07-05 09:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053308 -2.779553)'), GeomFromEWKT('SRID=4674;POINT (-40.053349 -2.779583)'))) / (select extract(epoch from '2026-07-05 09:08:21'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053354 -2.779587)', '2026-07-05 09:08:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053349 -2.779583)'), GeomFromEWKT('SRID=4674;POINT (-40.053354 -2.779587)'))) / (select extract(epoch from '2026-07-05 09:08:22'::timestamp) - extract(epoch from '2026-07-05 09:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053349 -2.779583)'), GeomFromEWKT('SRID=4674;POINT (-40.053354 -2.779587)'))) / (select extract(epoch from '2026-07-05 09:08:22'::timestamp) - extract(epoch from '2026-07-05 09:08: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'), 47625, 'SRID=4674;POINT (-40.053366 -2.779591)', '2026-07-05 09:08:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053354 -2.779587)'), GeomFromEWKT('SRID=4674;POINT (-40.053366 -2.779591)'))) / (select extract(epoch from '2026-07-05 09:08:24'::timestamp) - extract(epoch from '2026-07-05 09:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053354 -2.779587)'), GeomFromEWKT('SRID=4674;POINT (-40.053366 -2.779591)'))) / (select extract(epoch from '2026-07-05 09:08:24'::timestamp) - extract(epoch from '2026-07-05 09:08: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'), 47625, 'SRID=4674;POINT (-40.053376 -2.779604)', '2026-07-05 09:08:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053366 -2.779591)'), GeomFromEWKT('SRID=4674;POINT (-40.053376 -2.779604)'))) / (select extract(epoch from '2026-07-05 09:08:26'::timestamp) - extract(epoch from '2026-07-05 09:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053366 -2.779591)'), GeomFromEWKT('SRID=4674;POINT (-40.053376 -2.779604)'))) / (select extract(epoch from '2026-07-05 09:08:26'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053412 -2.779648)', '2026-07-05 09:08:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053376 -2.779604)'), GeomFromEWKT('SRID=4674;POINT (-40.053412 -2.779648)'))) / (select extract(epoch from '2026-07-05 09:08:33'::timestamp) - extract(epoch from '2026-07-05 09:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053376 -2.779604)'), GeomFromEWKT('SRID=4674;POINT (-40.053412 -2.779648)'))) / (select extract(epoch from '2026-07-05 09:08:33'::timestamp) - extract(epoch from '2026-07-05 09:08:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053405 -2.779682)', '2026-07-05 09:08:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053412 -2.779648)'), GeomFromEWKT('SRID=4674;POINT (-40.053405 -2.779682)'))) / (select extract(epoch from '2026-07-05 09:08:42'::timestamp) - extract(epoch from '2026-07-05 09:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053412 -2.779648)'), GeomFromEWKT('SRID=4674;POINT (-40.053405 -2.779682)'))) / (select extract(epoch from '2026-07-05 09:08:42'::timestamp) - extract(epoch from '2026-07-05 09:08:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053374 -2.779644)', '2026-07-05 09:08:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053405 -2.779682)'), GeomFromEWKT('SRID=4674;POINT (-40.053374 -2.779644)'))) / (select extract(epoch from '2026-07-05 09:08:53'::timestamp) - extract(epoch from '2026-07-05 09:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053405 -2.779682)'), GeomFromEWKT('SRID=4674;POINT (-40.053374 -2.779644)'))) / (select extract(epoch from '2026-07-05 09:08:53'::timestamp) - extract(epoch from '2026-07-05 09:08:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053361 -2.779585)', '2026-07-05 09:09:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053374 -2.779644)'), GeomFromEWKT('SRID=4674;POINT (-40.053361 -2.779585)'))) / (select extract(epoch from '2026-07-05 09:09:03'::timestamp) - extract(epoch from '2026-07-05 09:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053374 -2.779644)'), GeomFromEWKT('SRID=4674;POINT (-40.053361 -2.779585)'))) / (select extract(epoch from '2026-07-05 09:09:03'::timestamp) - extract(epoch from '2026-07-05 09:08:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053348 -2.779511)', '2026-07-05 09:09:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053361 -2.779585)'), GeomFromEWKT('SRID=4674;POINT (-40.053348 -2.779511)'))) / (select extract(epoch from '2026-07-05 09:09:11'::timestamp) - extract(epoch from '2026-07-05 09:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053361 -2.779585)'), GeomFromEWKT('SRID=4674;POINT (-40.053348 -2.779511)'))) / (select extract(epoch from '2026-07-05 09:09:11'::timestamp) - extract(epoch from '2026-07-05 09:09:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053346 -2.779502)', '2026-07-05 09:09:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053348 -2.779511)'), GeomFromEWKT('SRID=4674;POINT (-40.053346 -2.779502)'))) / (select extract(epoch from '2026-07-05 09:09:12'::timestamp) - extract(epoch from '2026-07-05 09:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053348 -2.779511)'), GeomFromEWKT('SRID=4674;POINT (-40.053346 -2.779502)'))) / (select extract(epoch from '2026-07-05 09:09:12'::timestamp) - extract(epoch from '2026-07-05 09:09: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'), 47625, 'SRID=4674;POINT (-40.053345 -2.779494)', '2026-07-05 09:09:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053346 -2.779502)'), GeomFromEWKT('SRID=4674;POINT (-40.053345 -2.779494)'))) / (select extract(epoch from '2026-07-05 09:09:13'::timestamp) - extract(epoch from '2026-07-05 09:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053346 -2.779502)'), GeomFromEWKT('SRID=4674;POINT (-40.053345 -2.779494)'))) / (select extract(epoch from '2026-07-05 09:09:13'::timestamp) - extract(epoch from '2026-07-05 09:09:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053343 -2.77945)', '2026-07-05 09:09:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053345 -2.779494)'), GeomFromEWKT('SRID=4674;POINT (-40.053343 -2.77945)'))) / (select extract(epoch from '2026-07-05 09:09:18'::timestamp) - extract(epoch from '2026-07-05 09:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053345 -2.779494)'), GeomFromEWKT('SRID=4674;POINT (-40.053343 -2.77945)'))) / (select extract(epoch from '2026-07-05 09:09:18'::timestamp) - extract(epoch from '2026-07-05 09:09: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'), 47625, 'SRID=4674;POINT (-40.053343 -2.779405)', '2026-07-05 09:09:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053343 -2.77945)'), GeomFromEWKT('SRID=4674;POINT (-40.053343 -2.779405)'))) / (select extract(epoch from '2026-07-05 09:09:23'::timestamp) - extract(epoch from '2026-07-05 09:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053343 -2.77945)'), GeomFromEWKT('SRID=4674;POINT (-40.053343 -2.779405)'))) / (select extract(epoch from '2026-07-05 09:09:23'::timestamp) - extract(epoch from '2026-07-05 09:09: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'), 47625, 'SRID=4674;POINT (-40.053344 -2.779396)', '2026-07-05 09:09:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053343 -2.779405)'), GeomFromEWKT('SRID=4674;POINT (-40.053344 -2.779396)'))) / (select extract(epoch from '2026-07-05 09:09:24'::timestamp) - extract(epoch from '2026-07-05 09:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053343 -2.779405)'), GeomFromEWKT('SRID=4674;POINT (-40.053344 -2.779396)'))) / (select extract(epoch from '2026-07-05 09:09:24'::timestamp) - extract(epoch from '2026-07-05 09:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053345 -2.779386)', '2026-07-05 09:09:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053344 -2.779396)'), GeomFromEWKT('SRID=4674;POINT (-40.053345 -2.779386)'))) / (select extract(epoch from '2026-07-05 09:09:25'::timestamp) - extract(epoch from '2026-07-05 09:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053344 -2.779396)'), GeomFromEWKT('SRID=4674;POINT (-40.053345 -2.779386)'))) / (select extract(epoch from '2026-07-05 09:09:25'::timestamp) - extract(epoch from '2026-07-05 09:09:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053346 -2.77936)', '2026-07-05 09:09:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053345 -2.779386)'), GeomFromEWKT('SRID=4674;POINT (-40.053346 -2.77936)'))) / (select extract(epoch from '2026-07-05 09:09:28'::timestamp) - extract(epoch from '2026-07-05 09:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053345 -2.779386)'), GeomFromEWKT('SRID=4674;POINT (-40.053346 -2.77936)'))) / (select extract(epoch from '2026-07-05 09:09:28'::timestamp) - extract(epoch from '2026-07-05 09:09: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'), 47625, 'SRID=4674;POINT (-40.053347 -2.779343)', '2026-07-05 09:09:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053346 -2.77936)'), GeomFromEWKT('SRID=4674;POINT (-40.053347 -2.779343)'))) / (select extract(epoch from '2026-07-05 09:09:30'::timestamp) - extract(epoch from '2026-07-05 09:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053346 -2.77936)'), GeomFromEWKT('SRID=4674;POINT (-40.053347 -2.779343)'))) / (select extract(epoch from '2026-07-05 09:09:30'::timestamp) - extract(epoch from '2026-07-05 09:09: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'), 47625, 'SRID=4674;POINT (-40.05336 -2.77926)', '2026-07-05 09:09:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053347 -2.779343)'), GeomFromEWKT('SRID=4674;POINT (-40.05336 -2.77926)'))) / (select extract(epoch from '2026-07-05 09:09:39'::timestamp) - extract(epoch from '2026-07-05 09:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053347 -2.779343)'), GeomFromEWKT('SRID=4674;POINT (-40.05336 -2.77926)'))) / (select extract(epoch from '2026-07-05 09:09:39'::timestamp) - extract(epoch from '2026-07-05 09:09: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'), 47625, 'SRID=4674;POINT (-40.053362 -2.779235)', '2026-07-05 09:09:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05336 -2.77926)'), GeomFromEWKT('SRID=4674;POINT (-40.053362 -2.779235)'))) / (select extract(epoch from '2026-07-05 09:09:42'::timestamp) - extract(epoch from '2026-07-05 09:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05336 -2.77926)'), GeomFromEWKT('SRID=4674;POINT (-40.053362 -2.779235)'))) / (select extract(epoch from '2026-07-05 09:09:42'::timestamp) - extract(epoch from '2026-07-05 09:09: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'), 47625, 'SRID=4674;POINT (-40.053361 -2.779225)', '2026-07-05 09:09:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053362 -2.779235)'), GeomFromEWKT('SRID=4674;POINT (-40.053361 -2.779225)'))) / (select extract(epoch from '2026-07-05 09:09:43'::timestamp) - extract(epoch from '2026-07-05 09:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053362 -2.779235)'), GeomFromEWKT('SRID=4674;POINT (-40.053361 -2.779225)'))) / (select extract(epoch from '2026-07-05 09:09:43'::timestamp) - extract(epoch from '2026-07-05 09:09:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053369 -2.779165)', '2026-07-05 09:09:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053361 -2.779225)'), GeomFromEWKT('SRID=4674;POINT (-40.053369 -2.779165)'))) / (select extract(epoch from '2026-07-05 09:09:49'::timestamp) - extract(epoch from '2026-07-05 09:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053361 -2.779225)'), GeomFromEWKT('SRID=4674;POINT (-40.053369 -2.779165)'))) / (select extract(epoch from '2026-07-05 09:09:49'::timestamp) - extract(epoch from '2026-07-05 09:09: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'), 47625, 'SRID=4674;POINT (-40.053369 -2.779155)', '2026-07-05 09:09:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053369 -2.779165)'), GeomFromEWKT('SRID=4674;POINT (-40.053369 -2.779155)'))) / (select extract(epoch from '2026-07-05 09:09:50'::timestamp) - extract(epoch from '2026-07-05 09:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053369 -2.779165)'), GeomFromEWKT('SRID=4674;POINT (-40.053369 -2.779155)'))) / (select extract(epoch from '2026-07-05 09:09:50'::timestamp) - extract(epoch from '2026-07-05 09:09: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'), 47625, 'SRID=4674;POINT (-40.053374 -2.779105)', '2026-07-05 09:09:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053369 -2.779155)'), GeomFromEWKT('SRID=4674;POINT (-40.053374 -2.779105)'))) / (select extract(epoch from '2026-07-05 09:09:55'::timestamp) - extract(epoch from '2026-07-05 09:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053369 -2.779155)'), GeomFromEWKT('SRID=4674;POINT (-40.053374 -2.779105)'))) / (select extract(epoch from '2026-07-05 09:09:55'::timestamp) - extract(epoch from '2026-07-05 09:09: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'), 47625, 'SRID=4674;POINT (-40.053378 -2.779081)', '2026-07-05 09:09:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053374 -2.779105)'), GeomFromEWKT('SRID=4674;POINT (-40.053378 -2.779081)'))) / (select extract(epoch from '2026-07-05 09:09:58'::timestamp) - extract(epoch from '2026-07-05 09:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053374 -2.779105)'), GeomFromEWKT('SRID=4674;POINT (-40.053378 -2.779081)'))) / (select extract(epoch from '2026-07-05 09:09:58'::timestamp) - extract(epoch from '2026-07-05 09:09:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053384 -2.779057)', '2026-07-05 09:10:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053378 -2.779081)'), GeomFromEWKT('SRID=4674;POINT (-40.053384 -2.779057)'))) / (select extract(epoch from '2026-07-05 09:10:01'::timestamp) - extract(epoch from '2026-07-05 09:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053378 -2.779081)'), GeomFromEWKT('SRID=4674;POINT (-40.053384 -2.779057)'))) / (select extract(epoch from '2026-07-05 09:10:01'::timestamp) - extract(epoch from '2026-07-05 09:09: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'), 47625, 'SRID=4674;POINT (-40.053389 -2.77904)', '2026-07-05 09:10:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053384 -2.779057)'), GeomFromEWKT('SRID=4674;POINT (-40.053389 -2.77904)'))) / (select extract(epoch from '2026-07-05 09:10:03'::timestamp) - extract(epoch from '2026-07-05 09:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053384 -2.779057)'), GeomFromEWKT('SRID=4674;POINT (-40.053389 -2.77904)'))) / (select extract(epoch from '2026-07-05 09:10:03'::timestamp) - extract(epoch from '2026-07-05 09:10:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053394 -2.779024)', '2026-07-05 09:10:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053389 -2.77904)'), GeomFromEWKT('SRID=4674;POINT (-40.053394 -2.779024)'))) / (select extract(epoch from '2026-07-05 09:10:05'::timestamp) - extract(epoch from '2026-07-05 09:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053389 -2.77904)'), GeomFromEWKT('SRID=4674;POINT (-40.053394 -2.779024)'))) / (select extract(epoch from '2026-07-05 09:10:05'::timestamp) - extract(epoch from '2026-07-05 09:10: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'), 47625, 'SRID=4674;POINT (-40.053393 -2.778995)', '2026-07-05 09:10:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053394 -2.779024)'), GeomFromEWKT('SRID=4674;POINT (-40.053393 -2.778995)'))) / (select extract(epoch from '2026-07-05 09:10:08'::timestamp) - extract(epoch from '2026-07-05 09:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053394 -2.779024)'), GeomFromEWKT('SRID=4674;POINT (-40.053393 -2.778995)'))) / (select extract(epoch from '2026-07-05 09:10:08'::timestamp) - extract(epoch from '2026-07-05 09:10: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'), 47625, 'SRID=4674;POINT (-40.053391 -2.778984)', '2026-07-05 09:10:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053393 -2.778995)'), GeomFromEWKT('SRID=4674;POINT (-40.053391 -2.778984)'))) / (select extract(epoch from '2026-07-05 09:10:09'::timestamp) - extract(epoch from '2026-07-05 09:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053393 -2.778995)'), GeomFromEWKT('SRID=4674;POINT (-40.053391 -2.778984)'))) / (select extract(epoch from '2026-07-05 09:10:09'::timestamp) - extract(epoch from '2026-07-05 09:10:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053358 -2.778937)', '2026-07-05 09:10:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053391 -2.778984)'), GeomFromEWKT('SRID=4674;POINT (-40.053358 -2.778937)'))) / (select extract(epoch from '2026-07-05 09:10:15'::timestamp) - extract(epoch from '2026-07-05 09:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053391 -2.778984)'), GeomFromEWKT('SRID=4674;POINT (-40.053358 -2.778937)'))) / (select extract(epoch from '2026-07-05 09:10:15'::timestamp) - extract(epoch from '2026-07-05 09:10: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'), 47625, 'SRID=4674;POINT (-40.053324 -2.77894)', '2026-07-05 09:10:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053358 -2.778937)'), GeomFromEWKT('SRID=4674;POINT (-40.053324 -2.77894)'))) / (select extract(epoch from '2026-07-05 09:10:22'::timestamp) - extract(epoch from '2026-07-05 09:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053358 -2.778937)'), GeomFromEWKT('SRID=4674;POINT (-40.053324 -2.77894)'))) / (select extract(epoch from '2026-07-05 09:10:22'::timestamp) - extract(epoch from '2026-07-05 09:10:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053323 -2.778975)', '2026-07-05 09:10:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053324 -2.77894)'), GeomFromEWKT('SRID=4674;POINT (-40.053323 -2.778975)'))) / (select extract(epoch from '2026-07-05 09:10:31'::timestamp) - extract(epoch from '2026-07-05 09:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053324 -2.77894)'), GeomFromEWKT('SRID=4674;POINT (-40.053323 -2.778975)'))) / (select extract(epoch from '2026-07-05 09:10:31'::timestamp) - extract(epoch from '2026-07-05 09:10: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'), 47625, 'SRID=4674;POINT (-40.053336 -2.77899)', '2026-07-05 09:10:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053323 -2.778975)'), GeomFromEWKT('SRID=4674;POINT (-40.053336 -2.77899)'))) / (select extract(epoch from '2026-07-05 09:10:34'::timestamp) - extract(epoch from '2026-07-05 09:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053323 -2.778975)'), GeomFromEWKT('SRID=4674;POINT (-40.053336 -2.77899)'))) / (select extract(epoch from '2026-07-05 09:10:34'::timestamp) - extract(epoch from '2026-07-05 09:10:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053369 -2.779019)', '2026-07-05 09:10:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053336 -2.77899)'), GeomFromEWKT('SRID=4674;POINT (-40.053369 -2.779019)'))) / (select extract(epoch from '2026-07-05 09:10:40'::timestamp) - extract(epoch from '2026-07-05 09:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053336 -2.77899)'), GeomFromEWKT('SRID=4674;POINT (-40.053369 -2.779019)'))) / (select extract(epoch from '2026-07-05 09:10:40'::timestamp) - extract(epoch from '2026-07-05 09:10: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'), 47625, 'SRID=4674;POINT (-40.053375 -2.779036)', '2026-07-05 09:10:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053369 -2.779019)'), GeomFromEWKT('SRID=4674;POINT (-40.053375 -2.779036)'))) / (select extract(epoch from '2026-07-05 09:10:46'::timestamp) - extract(epoch from '2026-07-05 09:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053369 -2.779019)'), GeomFromEWKT('SRID=4674;POINT (-40.053375 -2.779036)'))) / (select extract(epoch from '2026-07-05 09:10:46'::timestamp) - extract(epoch from '2026-07-05 09:10:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053363 -2.779066)', '2026-07-05 09:10:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053375 -2.779036)'), GeomFromEWKT('SRID=4674;POINT (-40.053363 -2.779066)'))) / (select extract(epoch from '2026-07-05 09:10:55'::timestamp) - extract(epoch from '2026-07-05 09:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053375 -2.779036)'), GeomFromEWKT('SRID=4674;POINT (-40.053363 -2.779066)'))) / (select extract(epoch from '2026-07-05 09:10:55'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053392 -2.77907)', '2026-07-05 09:11:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053363 -2.779066)'), GeomFromEWKT('SRID=4674;POINT (-40.053392 -2.77907)'))) / (select extract(epoch from '2026-07-05 09:11:02'::timestamp) - extract(epoch from '2026-07-05 09:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053363 -2.779066)'), GeomFromEWKT('SRID=4674;POINT (-40.053392 -2.77907)'))) / (select extract(epoch from '2026-07-05 09:11:02'::timestamp) - extract(epoch from '2026-07-05 09:10: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'), 47625, 'SRID=4674;POINT (-40.0534 -2.779094)', '2026-07-05 09:11:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053392 -2.77907)'), GeomFromEWKT('SRID=4674;POINT (-40.0534 -2.779094)'))) / (select extract(epoch from '2026-07-05 09:11:07'::timestamp) - extract(epoch from '2026-07-05 09:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053392 -2.77907)'), GeomFromEWKT('SRID=4674;POINT (-40.0534 -2.779094)'))) / (select extract(epoch from '2026-07-05 09:11:07'::timestamp) - extract(epoch from '2026-07-05 09:11: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'), 47625, 'SRID=4674;POINT (-40.053392 -2.779125)', '2026-07-05 09:11:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0534 -2.779094)'), GeomFromEWKT('SRID=4674;POINT (-40.053392 -2.779125)'))) / (select extract(epoch from '2026-07-05 09:11:14'::timestamp) - extract(epoch from '2026-07-05 09:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0534 -2.779094)'), GeomFromEWKT('SRID=4674;POINT (-40.053392 -2.779125)'))) / (select extract(epoch from '2026-07-05 09:11:14'::timestamp) - extract(epoch from '2026-07-05 09:11: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'), 47625, 'SRID=4674;POINT (-40.053338 -2.779105)', '2026-07-05 09:11:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053392 -2.779125)'), GeomFromEWKT('SRID=4674;POINT (-40.053338 -2.779105)'))) / (select extract(epoch from '2026-07-05 09:11:21'::timestamp) - extract(epoch from '2026-07-05 09:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053392 -2.779125)'), GeomFromEWKT('SRID=4674;POINT (-40.053338 -2.779105)'))) / (select extract(epoch from '2026-07-05 09:11:21'::timestamp) - extract(epoch from '2026-07-05 09:11: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'), 47625, 'SRID=4674;POINT (-40.05333 -2.779097)', '2026-07-05 09:11:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053338 -2.779105)'), GeomFromEWKT('SRID=4674;POINT (-40.05333 -2.779097)'))) / (select extract(epoch from '2026-07-05 09:11:22'::timestamp) - extract(epoch from '2026-07-05 09:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053338 -2.779105)'), GeomFromEWKT('SRID=4674;POINT (-40.05333 -2.779097)'))) / (select extract(epoch from '2026-07-05 09:11:22'::timestamp) - extract(epoch from '2026-07-05 09:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053298 -2.779023)', '2026-07-05 09:11:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05333 -2.779097)'), GeomFromEWKT('SRID=4674;POINT (-40.053298 -2.779023)'))) / (select extract(epoch from '2026-07-05 09:11:28'::timestamp) - extract(epoch from '2026-07-05 09:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05333 -2.779097)'), GeomFromEWKT('SRID=4674;POINT (-40.053298 -2.779023)'))) / (select extract(epoch from '2026-07-05 09:11:28'::timestamp) - extract(epoch from '2026-07-05 09:11: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'), 47625, 'SRID=4674;POINT (-40.05329 -2.778911)', '2026-07-05 09:11:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053298 -2.779023)'), GeomFromEWKT('SRID=4674;POINT (-40.05329 -2.778911)'))) / (select extract(epoch from '2026-07-05 09:11:34'::timestamp) - extract(epoch from '2026-07-05 09:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053298 -2.779023)'), GeomFromEWKT('SRID=4674;POINT (-40.05329 -2.778911)'))) / (select extract(epoch from '2026-07-05 09:11:34'::timestamp) - extract(epoch from '2026-07-05 09:11: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'), 47625, 'SRID=4674;POINT (-40.053285 -2.77881)', '2026-07-05 09:11:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05329 -2.778911)'), GeomFromEWKT('SRID=4674;POINT (-40.053285 -2.77881)'))) / (select extract(epoch from '2026-07-05 09:11:39'::timestamp) - extract(epoch from '2026-07-05 09:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05329 -2.778911)'), GeomFromEWKT('SRID=4674;POINT (-40.053285 -2.77881)'))) / (select extract(epoch from '2026-07-05 09:11:39'::timestamp) - extract(epoch from '2026-07-05 09:11:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053295 -2.778688)', '2026-07-05 09:11:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053285 -2.77881)'), GeomFromEWKT('SRID=4674;POINT (-40.053295 -2.778688)'))) / (select extract(epoch from '2026-07-05 09:11:45'::timestamp) - extract(epoch from '2026-07-05 09:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053285 -2.77881)'), GeomFromEWKT('SRID=4674;POINT (-40.053295 -2.778688)'))) / (select extract(epoch from '2026-07-05 09:11:45'::timestamp) - extract(epoch from '2026-07-05 09:11: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'), 47625, 'SRID=4674;POINT (-40.053337 -2.778558)', '2026-07-05 09:11:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053295 -2.778688)'), GeomFromEWKT('SRID=4674;POINT (-40.053337 -2.778558)'))) / (select extract(epoch from '2026-07-05 09:11:51'::timestamp) - extract(epoch from '2026-07-05 09:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053295 -2.778688)'), GeomFromEWKT('SRID=4674;POINT (-40.053337 -2.778558)'))) / (select extract(epoch from '2026-07-05 09:11:51'::timestamp) - extract(epoch from '2026-07-05 09:11:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053376 -2.778452)', '2026-07-05 09:11:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053337 -2.778558)'), GeomFromEWKT('SRID=4674;POINT (-40.053376 -2.778452)'))) / (select extract(epoch from '2026-07-05 09:11:56'::timestamp) - extract(epoch from '2026-07-05 09:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053337 -2.778558)'), GeomFromEWKT('SRID=4674;POINT (-40.053376 -2.778452)'))) / (select extract(epoch from '2026-07-05 09:11:56'::timestamp) - extract(epoch from '2026-07-05 09:11: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'), 47625, 'SRID=4674;POINT (-40.053426 -2.778342)', '2026-07-05 09:12:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053376 -2.778452)'), GeomFromEWKT('SRID=4674;POINT (-40.053426 -2.778342)'))) / (select extract(epoch from '2026-07-05 09:12:01'::timestamp) - extract(epoch from '2026-07-05 09:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053376 -2.778452)'), GeomFromEWKT('SRID=4674;POINT (-40.053426 -2.778342)'))) / (select extract(epoch from '2026-07-05 09:12:01'::timestamp) - extract(epoch from '2026-07-05 09:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053493 -2.778175)', '2026-07-05 09:12:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053426 -2.778342)'), GeomFromEWKT('SRID=4674;POINT (-40.053493 -2.778175)'))) / (select extract(epoch from '2026-07-05 09:12:10'::timestamp) - extract(epoch from '2026-07-05 09:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053426 -2.778342)'), GeomFromEWKT('SRID=4674;POINT (-40.053493 -2.778175)'))) / (select extract(epoch from '2026-07-05 09:12:10'::timestamp) - extract(epoch from '2026-07-05 09:12:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05352 -2.778086)', '2026-07-05 09:12:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053493 -2.778175)'), GeomFromEWKT('SRID=4674;POINT (-40.05352 -2.778086)'))) / (select extract(epoch from '2026-07-05 09:12:17'::timestamp) - extract(epoch from '2026-07-05 09:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053493 -2.778175)'), GeomFromEWKT('SRID=4674;POINT (-40.05352 -2.778086)'))) / (select extract(epoch from '2026-07-05 09:12:17'::timestamp) - extract(epoch from '2026-07-05 09:12: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'), 47625, 'SRID=4674;POINT (-40.053529 -2.778025)', '2026-07-05 09:12:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05352 -2.778086)'), GeomFromEWKT('SRID=4674;POINT (-40.053529 -2.778025)'))) / (select extract(epoch from '2026-07-05 09:12:24'::timestamp) - extract(epoch from '2026-07-05 09:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05352 -2.778086)'), GeomFromEWKT('SRID=4674;POINT (-40.053529 -2.778025)'))) / (select extract(epoch from '2026-07-05 09:12:24'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053536 -2.777979)', '2026-07-05 09:12:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053529 -2.778025)'), GeomFromEWKT('SRID=4674;POINT (-40.053536 -2.777979)'))) / (select extract(epoch from '2026-07-05 09:12:30'::timestamp) - extract(epoch from '2026-07-05 09:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053529 -2.778025)'), GeomFromEWKT('SRID=4674;POINT (-40.053536 -2.777979)'))) / (select extract(epoch from '2026-07-05 09:12:30'::timestamp) - extract(epoch from '2026-07-05 09:12: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'), 47625, 'SRID=4674;POINT (-40.053538 -2.777963)', '2026-07-05 09:12:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053536 -2.777979)'), GeomFromEWKT('SRID=4674;POINT (-40.053538 -2.777963)'))) / (select extract(epoch from '2026-07-05 09:12:32'::timestamp) - extract(epoch from '2026-07-05 09:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053536 -2.777979)'), GeomFromEWKT('SRID=4674;POINT (-40.053538 -2.777963)'))) / (select extract(epoch from '2026-07-05 09:12:32'::timestamp) - extract(epoch from '2026-07-05 09:12: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'), 47625, 'SRID=4674;POINT (-40.05354 -2.777955)', '2026-07-05 09:12:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053538 -2.777963)'), GeomFromEWKT('SRID=4674;POINT (-40.05354 -2.777955)'))) / (select extract(epoch from '2026-07-05 09:12:33'::timestamp) - extract(epoch from '2026-07-05 09:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053538 -2.777963)'), GeomFromEWKT('SRID=4674;POINT (-40.05354 -2.777955)'))) / (select extract(epoch from '2026-07-05 09:12:33'::timestamp) - extract(epoch from '2026-07-05 09:12:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053544 -2.777907)', '2026-07-05 09:12:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05354 -2.777955)'), GeomFromEWKT('SRID=4674;POINT (-40.053544 -2.777907)'))) / (select extract(epoch from '2026-07-05 09:12:39'::timestamp) - extract(epoch from '2026-07-05 09:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05354 -2.777955)'), GeomFromEWKT('SRID=4674;POINT (-40.053544 -2.777907)'))) / (select extract(epoch from '2026-07-05 09:12:39'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053555 -2.777856)', '2026-07-05 09:12:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053544 -2.777907)'), GeomFromEWKT('SRID=4674;POINT (-40.053555 -2.777856)'))) / (select extract(epoch from '2026-07-05 09:12:46'::timestamp) - extract(epoch from '2026-07-05 09:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053544 -2.777907)'), GeomFromEWKT('SRID=4674;POINT (-40.053555 -2.777856)'))) / (select extract(epoch from '2026-07-05 09:12:46'::timestamp) - extract(epoch from '2026-07-05 09:12: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'), 47625, 'SRID=4674;POINT (-40.053573 -2.777784)', '2026-07-05 09:12:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053555 -2.777856)'), GeomFromEWKT('SRID=4674;POINT (-40.053573 -2.777784)'))) / (select extract(epoch from '2026-07-05 09:12:58'::timestamp) - extract(epoch from '2026-07-05 09:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053555 -2.777856)'), GeomFromEWKT('SRID=4674;POINT (-40.053573 -2.777784)'))) / (select extract(epoch from '2026-07-05 09:12:58'::timestamp) - extract(epoch from '2026-07-05 09:12: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'), 47625, 'SRID=4674;POINT (-40.0536 -2.777713)', '2026-07-05 09:13:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053573 -2.777784)'), GeomFromEWKT('SRID=4674;POINT (-40.0536 -2.777713)'))) / (select extract(epoch from '2026-07-05 09:13:11'::timestamp) - extract(epoch from '2026-07-05 09:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053573 -2.777784)'), GeomFromEWKT('SRID=4674;POINT (-40.0536 -2.777713)'))) / (select extract(epoch from '2026-07-05 09:13:11'::timestamp) - extract(epoch from '2026-07-05 09:12: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'), 47625, 'SRID=4674;POINT (-40.05363 -2.777642)', '2026-07-05 09:13:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0536 -2.777713)'), GeomFromEWKT('SRID=4674;POINT (-40.05363 -2.777642)'))) / (select extract(epoch from '2026-07-05 09:13:22'::timestamp) - extract(epoch from '2026-07-05 09:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0536 -2.777713)'), GeomFromEWKT('SRID=4674;POINT (-40.05363 -2.777642)'))) / (select extract(epoch from '2026-07-05 09:13:22'::timestamp) - extract(epoch from '2026-07-05 09:13: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'), 47625, 'SRID=4674;POINT (-40.053647 -2.777581)', '2026-07-05 09:13:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05363 -2.777642)'), GeomFromEWKT('SRID=4674;POINT (-40.053647 -2.777581)'))) / (select extract(epoch from '2026-07-05 09:13:30'::timestamp) - extract(epoch from '2026-07-05 09:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05363 -2.777642)'), GeomFromEWKT('SRID=4674;POINT (-40.053647 -2.777581)'))) / (select extract(epoch from '2026-07-05 09:13:30'::timestamp) - extract(epoch from '2026-07-05 09:13: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'), 47625, 'SRID=4674;POINT (-40.053653 -2.777562)', '2026-07-05 09:13:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053647 -2.777581)'), GeomFromEWKT('SRID=4674;POINT (-40.053653 -2.777562)'))) / (select extract(epoch from '2026-07-05 09:13:33'::timestamp) - extract(epoch from '2026-07-05 09:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053647 -2.777581)'), GeomFromEWKT('SRID=4674;POINT (-40.053653 -2.777562)'))) / (select extract(epoch from '2026-07-05 09:13:33'::timestamp) - extract(epoch from '2026-07-05 09:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05366 -2.777534)', '2026-07-05 09:13:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053653 -2.777562)'), GeomFromEWKT('SRID=4674;POINT (-40.05366 -2.777534)'))) / (select extract(epoch from '2026-07-05 09:13:37'::timestamp) - extract(epoch from '2026-07-05 09:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053653 -2.777562)'), GeomFromEWKT('SRID=4674;POINT (-40.05366 -2.777534)'))) / (select extract(epoch from '2026-07-05 09:13:37'::timestamp) - extract(epoch from '2026-07-05 09:13: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'), 47625, 'SRID=4674;POINT (-40.053657 -2.777474)', '2026-07-05 09:13:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05366 -2.777534)'), GeomFromEWKT('SRID=4674;POINT (-40.053657 -2.777474)'))) / (select extract(epoch from '2026-07-05 09:13:45'::timestamp) - extract(epoch from '2026-07-05 09:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05366 -2.777534)'), GeomFromEWKT('SRID=4674;POINT (-40.053657 -2.777474)'))) / (select extract(epoch from '2026-07-05 09:13:45'::timestamp) - extract(epoch from '2026-07-05 09:13: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'), 47625, 'SRID=4674;POINT (-40.05364 -2.777422)', '2026-07-05 09:13:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053657 -2.777474)'), GeomFromEWKT('SRID=4674;POINT (-40.05364 -2.777422)'))) / (select extract(epoch from '2026-07-05 09:13:52'::timestamp) - extract(epoch from '2026-07-05 09:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053657 -2.777474)'), GeomFromEWKT('SRID=4674;POINT (-40.05364 -2.777422)'))) / (select extract(epoch from '2026-07-05 09:13:52'::timestamp) - extract(epoch from '2026-07-05 09:13:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053635 -2.777418)', '2026-07-05 09:13:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05364 -2.777422)'), GeomFromEWKT('SRID=4674;POINT (-40.053635 -2.777418)'))) / (select extract(epoch from '2026-07-05 09:13:53'::timestamp) - extract(epoch from '2026-07-05 09:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05364 -2.777422)'), GeomFromEWKT('SRID=4674;POINT (-40.053635 -2.777418)'))) / (select extract(epoch from '2026-07-05 09:13:53'::timestamp) - extract(epoch from '2026-07-05 09:13:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053595 -2.777422)', '2026-07-05 09:14:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053635 -2.777418)'), GeomFromEWKT('SRID=4674;POINT (-40.053595 -2.777422)'))) / (select extract(epoch from '2026-07-05 09:14:00'::timestamp) - extract(epoch from '2026-07-05 09:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053635 -2.777418)'), GeomFromEWKT('SRID=4674;POINT (-40.053595 -2.777422)'))) / (select extract(epoch from '2026-07-05 09:14:00'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053595 -2.777444)', '2026-07-05 09:14:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053595 -2.777422)'), GeomFromEWKT('SRID=4674;POINT (-40.053595 -2.777444)'))) / (select extract(epoch from '2026-07-05 09:14:06'::timestamp) - extract(epoch from '2026-07-05 09:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053595 -2.777422)'), GeomFromEWKT('SRID=4674;POINT (-40.053595 -2.777444)'))) / (select extract(epoch from '2026-07-05 09:14:06'::timestamp) - extract(epoch from '2026-07-05 09:14: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'), 47625, 'SRID=4674;POINT (-40.053616 -2.777471)', '2026-07-05 09:14:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053595 -2.777444)'), GeomFromEWKT('SRID=4674;POINT (-40.053616 -2.777471)'))) / (select extract(epoch from '2026-07-05 09:14:10'::timestamp) - extract(epoch from '2026-07-05 09:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053595 -2.777444)'), GeomFromEWKT('SRID=4674;POINT (-40.053616 -2.777471)'))) / (select extract(epoch from '2026-07-05 09:14:10'::timestamp) - extract(epoch from '2026-07-05 09:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053636 -2.777478)', '2026-07-05 09:14:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053616 -2.777471)'), GeomFromEWKT('SRID=4674;POINT (-40.053636 -2.777478)'))) / (select extract(epoch from '2026-07-05 09:14:12'::timestamp) - extract(epoch from '2026-07-05 09:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053616 -2.777471)'), GeomFromEWKT('SRID=4674;POINT (-40.053636 -2.777478)'))) / (select extract(epoch from '2026-07-05 09:14:12'::timestamp) - extract(epoch from '2026-07-05 09:14: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'), 47625, 'SRID=4674;POINT (-40.053678 -2.777485)', '2026-07-05 09:14:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053636 -2.777478)'), GeomFromEWKT('SRID=4674;POINT (-40.053678 -2.777485)'))) / (select extract(epoch from '2026-07-05 09:14:16'::timestamp) - extract(epoch from '2026-07-05 09:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053636 -2.777478)'), GeomFromEWKT('SRID=4674;POINT (-40.053678 -2.777485)'))) / (select extract(epoch from '2026-07-05 09:14:16'::timestamp) - extract(epoch from '2026-07-05 09:14:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053687 -2.777491)', '2026-07-05 09:14:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053678 -2.777485)'), GeomFromEWKT('SRID=4674;POINT (-40.053687 -2.777491)'))) / (select extract(epoch from '2026-07-05 09:14:17'::timestamp) - extract(epoch from '2026-07-05 09:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053678 -2.777485)'), GeomFromEWKT('SRID=4674;POINT (-40.053687 -2.777491)'))) / (select extract(epoch from '2026-07-05 09:14:17'::timestamp) - extract(epoch from '2026-07-05 09:14: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'), 47625, 'SRID=4674;POINT (-40.053696 -2.777499)', '2026-07-05 09:14:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053687 -2.777491)'), GeomFromEWKT('SRID=4674;POINT (-40.053696 -2.777499)'))) / (select extract(epoch from '2026-07-05 09:14:18'::timestamp) - extract(epoch from '2026-07-05 09:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053687 -2.777491)'), GeomFromEWKT('SRID=4674;POINT (-40.053696 -2.777499)'))) / (select extract(epoch from '2026-07-05 09:14:18'::timestamp) - extract(epoch from '2026-07-05 09:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053709 -2.777512)', '2026-07-05 09:14:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053696 -2.777499)'), GeomFromEWKT('SRID=4674;POINT (-40.053709 -2.777512)'))) / (select extract(epoch from '2026-07-05 09:14:22'::timestamp) - extract(epoch from '2026-07-05 09:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053696 -2.777499)'), GeomFromEWKT('SRID=4674;POINT (-40.053709 -2.777512)'))) / (select extract(epoch from '2026-07-05 09:14:22'::timestamp) - extract(epoch from '2026-07-05 09:14: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'), 47625, 'SRID=4674;POINT (-40.053703 -2.777529)', '2026-07-05 09:14:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053709 -2.777512)'), GeomFromEWKT('SRID=4674;POINT (-40.053703 -2.777529)'))) / (select extract(epoch from '2026-07-05 09:14:30'::timestamp) - extract(epoch from '2026-07-05 09:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053709 -2.777512)'), GeomFromEWKT('SRID=4674;POINT (-40.053703 -2.777529)'))) / (select extract(epoch from '2026-07-05 09:14:30'::timestamp) - extract(epoch from '2026-07-05 09:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05373 -2.77755)', '2026-07-05 09:14:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053703 -2.777529)'), GeomFromEWKT('SRID=4674;POINT (-40.05373 -2.77755)'))) / (select extract(epoch from '2026-07-05 09:14:36'::timestamp) - extract(epoch from '2026-07-05 09:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053703 -2.777529)'), GeomFromEWKT('SRID=4674;POINT (-40.05373 -2.77755)'))) / (select extract(epoch from '2026-07-05 09:14:36'::timestamp) - extract(epoch from '2026-07-05 09:14: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'), 47625, 'SRID=4674;POINT (-40.053718 -2.777556)', '2026-07-05 09:14:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05373 -2.77755)'), GeomFromEWKT('SRID=4674;POINT (-40.053718 -2.777556)'))) / (select extract(epoch from '2026-07-05 09:14:44'::timestamp) - extract(epoch from '2026-07-05 09:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05373 -2.77755)'), GeomFromEWKT('SRID=4674;POINT (-40.053718 -2.777556)'))) / (select extract(epoch from '2026-07-05 09:14:44'::timestamp) - extract(epoch from '2026-07-05 09:14:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05368 -2.777532)', '2026-07-05 09:14:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053718 -2.777556)'), GeomFromEWKT('SRID=4674;POINT (-40.05368 -2.777532)'))) / (select extract(epoch from '2026-07-05 09:14:52'::timestamp) - extract(epoch from '2026-07-05 09:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053718 -2.777556)'), GeomFromEWKT('SRID=4674;POINT (-40.05368 -2.777532)'))) / (select extract(epoch from '2026-07-05 09:14:52'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053634 -2.777431)', '2026-07-05 09:15:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05368 -2.777532)'), GeomFromEWKT('SRID=4674;POINT (-40.053634 -2.777431)'))) / (select extract(epoch from '2026-07-05 09:15:01'::timestamp) - extract(epoch from '2026-07-05 09:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05368 -2.777532)'), GeomFromEWKT('SRID=4674;POINT (-40.053634 -2.777431)'))) / (select extract(epoch from '2026-07-05 09:15:01'::timestamp) - extract(epoch from '2026-07-05 09:14:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.0536 -2.777272)', '2026-07-05 09:15:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053634 -2.777431)'), GeomFromEWKT('SRID=4674;POINT (-40.0536 -2.777272)'))) / (select extract(epoch from '2026-07-05 09:15:10'::timestamp) - extract(epoch from '2026-07-05 09:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053634 -2.777431)'), GeomFromEWKT('SRID=4674;POINT (-40.0536 -2.777272)'))) / (select extract(epoch from '2026-07-05 09:15:10'::timestamp) - extract(epoch from '2026-07-05 09:15: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'), 47625, 'SRID=4674;POINT (-40.053577 -2.777174)', '2026-07-05 09:15:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0536 -2.777272)'), GeomFromEWKT('SRID=4674;POINT (-40.053577 -2.777174)'))) / (select extract(epoch from '2026-07-05 09:15:16'::timestamp) - extract(epoch from '2026-07-05 09:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0536 -2.777272)'), GeomFromEWKT('SRID=4674;POINT (-40.053577 -2.777174)'))) / (select extract(epoch from '2026-07-05 09:15:16'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053568 -2.777071)', '2026-07-05 09:15:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053577 -2.777174)'), GeomFromEWKT('SRID=4674;POINT (-40.053568 -2.777071)'))) / (select extract(epoch from '2026-07-05 09:15:22'::timestamp) - extract(epoch from '2026-07-05 09:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053577 -2.777174)'), GeomFromEWKT('SRID=4674;POINT (-40.053568 -2.777071)'))) / (select extract(epoch from '2026-07-05 09:15:22'::timestamp) - extract(epoch from '2026-07-05 09:15:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053619 -2.776919)', '2026-07-05 09:15:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053568 -2.777071)'), GeomFromEWKT('SRID=4674;POINT (-40.053619 -2.776919)'))) / (select extract(epoch from '2026-07-05 09:15:29'::timestamp) - extract(epoch from '2026-07-05 09:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053568 -2.777071)'), GeomFromEWKT('SRID=4674;POINT (-40.053619 -2.776919)'))) / (select extract(epoch from '2026-07-05 09:15:29'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053633 -2.776869)', '2026-07-05 09:15:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053619 -2.776919)'), GeomFromEWKT('SRID=4674;POINT (-40.053633 -2.776869)'))) / (select extract(epoch from '2026-07-05 09:15:32'::timestamp) - extract(epoch from '2026-07-05 09:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053619 -2.776919)'), GeomFromEWKT('SRID=4674;POINT (-40.053633 -2.776869)'))) / (select extract(epoch from '2026-07-05 09:15:32'::timestamp) - extract(epoch from '2026-07-05 09:15:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053642 -2.776849)', '2026-07-05 09:15:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053633 -2.776869)'), GeomFromEWKT('SRID=4674;POINT (-40.053642 -2.776849)'))) / (select extract(epoch from '2026-07-05 09:15:33'::timestamp) - extract(epoch from '2026-07-05 09:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053633 -2.776869)'), GeomFromEWKT('SRID=4674;POINT (-40.053642 -2.776849)'))) / (select extract(epoch from '2026-07-05 09:15:33'::timestamp) - extract(epoch from '2026-07-05 09:15:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053681 -2.776721)', '2026-07-05 09:15:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053642 -2.776849)'), GeomFromEWKT('SRID=4674;POINT (-40.053681 -2.776721)'))) / (select extract(epoch from '2026-07-05 09:15:40'::timestamp) - extract(epoch from '2026-07-05 09:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053642 -2.776849)'), GeomFromEWKT('SRID=4674;POINT (-40.053681 -2.776721)'))) / (select extract(epoch from '2026-07-05 09:15:40'::timestamp) - extract(epoch from '2026-07-05 09:15: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'), 47625, 'SRID=4674;POINT (-40.053707 -2.776618)', '2026-07-05 09:15:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053681 -2.776721)'), GeomFromEWKT('SRID=4674;POINT (-40.053707 -2.776618)'))) / (select extract(epoch from '2026-07-05 09:15:47'::timestamp) - extract(epoch from '2026-07-05 09:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053681 -2.776721)'), GeomFromEWKT('SRID=4674;POINT (-40.053707 -2.776618)'))) / (select extract(epoch from '2026-07-05 09:15:47'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053721 -2.776552)', '2026-07-05 09:15:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053707 -2.776618)'), GeomFromEWKT('SRID=4674;POINT (-40.053721 -2.776552)'))) / (select extract(epoch from '2026-07-05 09:15:53'::timestamp) - extract(epoch from '2026-07-05 09:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053707 -2.776618)'), GeomFromEWKT('SRID=4674;POINT (-40.053721 -2.776552)'))) / (select extract(epoch from '2026-07-05 09:15:53'::timestamp) - extract(epoch from '2026-07-05 09:15:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053744 -2.776464)', '2026-07-05 09:16:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053721 -2.776552)'), GeomFromEWKT('SRID=4674;POINT (-40.053744 -2.776464)'))) / (select extract(epoch from '2026-07-05 09:16:01'::timestamp) - extract(epoch from '2026-07-05 09:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053721 -2.776552)'), GeomFromEWKT('SRID=4674;POINT (-40.053744 -2.776464)'))) / (select extract(epoch from '2026-07-05 09:16:01'::timestamp) - extract(epoch from '2026-07-05 09:15: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'), 47625, 'SRID=4674;POINT (-40.053756 -2.776431)', '2026-07-05 09:16:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053744 -2.776464)'), GeomFromEWKT('SRID=4674;POINT (-40.053756 -2.776431)'))) / (select extract(epoch from '2026-07-05 09:16:04'::timestamp) - extract(epoch from '2026-07-05 09:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053744 -2.776464)'), GeomFromEWKT('SRID=4674;POINT (-40.053756 -2.776431)'))) / (select extract(epoch from '2026-07-05 09:16:04'::timestamp) - extract(epoch from '2026-07-05 09:16: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'), 47625, 'SRID=4674;POINT (-40.053765 -2.776408)', '2026-07-05 09:16:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053756 -2.776431)'), GeomFromEWKT('SRID=4674;POINT (-40.053765 -2.776408)'))) / (select extract(epoch from '2026-07-05 09:16:06'::timestamp) - extract(epoch from '2026-07-05 09:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053756 -2.776431)'), GeomFromEWKT('SRID=4674;POINT (-40.053765 -2.776408)'))) / (select extract(epoch from '2026-07-05 09:16:06'::timestamp) - extract(epoch from '2026-07-05 09:16: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'), 47625, 'SRID=4674;POINT (-40.053788 -2.776336)', '2026-07-05 09:16:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053765 -2.776408)'), GeomFromEWKT('SRID=4674;POINT (-40.053788 -2.776336)'))) / (select extract(epoch from '2026-07-05 09:16:13'::timestamp) - extract(epoch from '2026-07-05 09:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053765 -2.776408)'), GeomFromEWKT('SRID=4674;POINT (-40.053788 -2.776336)'))) / (select extract(epoch from '2026-07-05 09:16:13'::timestamp) - extract(epoch from '2026-07-05 09:16:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053792 -2.776319)', '2026-07-05 09:16:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053788 -2.776336)'), GeomFromEWKT('SRID=4674;POINT (-40.053792 -2.776319)'))) / (select extract(epoch from '2026-07-05 09:16:15'::timestamp) - extract(epoch from '2026-07-05 09:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053788 -2.776336)'), GeomFromEWKT('SRID=4674;POINT (-40.053792 -2.776319)'))) / (select extract(epoch from '2026-07-05 09:16:15'::timestamp) - extract(epoch from '2026-07-05 09:16: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'), 47625, 'SRID=4674;POINT (-40.053796 -2.776284)', '2026-07-05 09:16:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053792 -2.776319)'), GeomFromEWKT('SRID=4674;POINT (-40.053796 -2.776284)'))) / (select extract(epoch from '2026-07-05 09:16:19'::timestamp) - extract(epoch from '2026-07-05 09:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053792 -2.776319)'), GeomFromEWKT('SRID=4674;POINT (-40.053796 -2.776284)'))) / (select extract(epoch from '2026-07-05 09:16:19'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053795 -2.776212)', '2026-07-05 09:16:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053796 -2.776284)'), GeomFromEWKT('SRID=4674;POINT (-40.053795 -2.776212)'))) / (select extract(epoch from '2026-07-05 09:16:27'::timestamp) - extract(epoch from '2026-07-05 09:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053796 -2.776284)'), GeomFromEWKT('SRID=4674;POINT (-40.053795 -2.776212)'))) / (select extract(epoch from '2026-07-05 09:16:27'::timestamp) - extract(epoch from '2026-07-05 09:16:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053787 -2.776151)', '2026-07-05 09:16:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053795 -2.776212)'), GeomFromEWKT('SRID=4674;POINT (-40.053787 -2.776151)'))) / (select extract(epoch from '2026-07-05 09:16:33'::timestamp) - extract(epoch from '2026-07-05 09:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053795 -2.776212)'), GeomFromEWKT('SRID=4674;POINT (-40.053787 -2.776151)'))) / (select extract(epoch from '2026-07-05 09:16:33'::timestamp) - extract(epoch from '2026-07-05 09:16: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'), 47625, 'SRID=4674;POINT (-40.05378 -2.776067)', '2026-07-05 09:16:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053787 -2.776151)'), GeomFromEWKT('SRID=4674;POINT (-40.05378 -2.776067)'))) / (select extract(epoch from '2026-07-05 09:16:40'::timestamp) - extract(epoch from '2026-07-05 09:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053787 -2.776151)'), GeomFromEWKT('SRID=4674;POINT (-40.05378 -2.776067)'))) / (select extract(epoch from '2026-07-05 09:16:40'::timestamp) - extract(epoch from '2026-07-05 09:16: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'), 47625, 'SRID=4674;POINT (-40.053771 -2.775982)', '2026-07-05 09:16:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05378 -2.776067)'), GeomFromEWKT('SRID=4674;POINT (-40.053771 -2.775982)'))) / (select extract(epoch from '2026-07-05 09:16:47'::timestamp) - extract(epoch from '2026-07-05 09:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05378 -2.776067)'), GeomFromEWKT('SRID=4674;POINT (-40.053771 -2.775982)'))) / (select extract(epoch from '2026-07-05 09:16:47'::timestamp) - extract(epoch from '2026-07-05 09:16: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'), 47625, 'SRID=4674;POINT (-40.053771 -2.775951)', '2026-07-05 09:16:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053771 -2.775982)'), GeomFromEWKT('SRID=4674;POINT (-40.053771 -2.775951)'))) / (select extract(epoch from '2026-07-05 09:16:50'::timestamp) - extract(epoch from '2026-07-05 09:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053771 -2.775982)'), GeomFromEWKT('SRID=4674;POINT (-40.053771 -2.775951)'))) / (select extract(epoch from '2026-07-05 09:16:50'::timestamp) - extract(epoch from '2026-07-05 09:16: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'), 47625, 'SRID=4674;POINT (-40.053773 -2.775922)', '2026-07-05 09:16:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053771 -2.775951)'), GeomFromEWKT('SRID=4674;POINT (-40.053773 -2.775922)'))) / (select extract(epoch from '2026-07-05 09:16:53'::timestamp) - extract(epoch from '2026-07-05 09:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053771 -2.775951)'), GeomFromEWKT('SRID=4674;POINT (-40.053773 -2.775922)'))) / (select extract(epoch from '2026-07-05 09:16:53'::timestamp) - extract(epoch from '2026-07-05 09:16: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'), 47625, 'SRID=4674;POINT (-40.053782 -2.775864)', '2026-07-05 09:16:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053773 -2.775922)'), GeomFromEWKT('SRID=4674;POINT (-40.053782 -2.775864)'))) / (select extract(epoch from '2026-07-05 09:16:59'::timestamp) - extract(epoch from '2026-07-05 09:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053773 -2.775922)'), GeomFromEWKT('SRID=4674;POINT (-40.053782 -2.775864)'))) / (select extract(epoch from '2026-07-05 09:16:59'::timestamp) - extract(epoch from '2026-07-05 09:16:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05377 -2.775798)', '2026-07-05 09:17:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053782 -2.775864)'), GeomFromEWKT('SRID=4674;POINT (-40.05377 -2.775798)'))) / (select extract(epoch from '2026-07-05 09:17:05'::timestamp) - extract(epoch from '2026-07-05 09:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053782 -2.775864)'), GeomFromEWKT('SRID=4674;POINT (-40.05377 -2.775798)'))) / (select extract(epoch from '2026-07-05 09:17:05'::timestamp) - extract(epoch from '2026-07-05 09:16:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053727 -2.775773)', '2026-07-05 09:17:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05377 -2.775798)'), GeomFromEWKT('SRID=4674;POINT (-40.053727 -2.775773)'))) / (select extract(epoch from '2026-07-05 09:17:11'::timestamp) - extract(epoch from '2026-07-05 09:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05377 -2.775798)'), GeomFromEWKT('SRID=4674;POINT (-40.053727 -2.775773)'))) / (select extract(epoch from '2026-07-05 09:17:11'::timestamp) - extract(epoch from '2026-07-05 09:17: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'), 47625, 'SRID=4674;POINT (-40.053703 -2.775787)', '2026-07-05 09:17:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053727 -2.775773)'), GeomFromEWKT('SRID=4674;POINT (-40.053703 -2.775787)'))) / (select extract(epoch from '2026-07-05 09:17:19'::timestamp) - extract(epoch from '2026-07-05 09:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053727 -2.775773)'), GeomFromEWKT('SRID=4674;POINT (-40.053703 -2.775787)'))) / (select extract(epoch from '2026-07-05 09:17:19'::timestamp) - extract(epoch from '2026-07-05 09:17: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'), 47625, 'SRID=4674;POINT (-40.053728 -2.775837)', '2026-07-05 09:17:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053703 -2.775787)'), GeomFromEWKT('SRID=4674;POINT (-40.053728 -2.775837)'))) / (select extract(epoch from '2026-07-05 09:17:27'::timestamp) - extract(epoch from '2026-07-05 09:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053703 -2.775787)'), GeomFromEWKT('SRID=4674;POINT (-40.053728 -2.775837)'))) / (select extract(epoch from '2026-07-05 09:17:27'::timestamp) - extract(epoch from '2026-07-05 09:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053781 -2.775883)', '2026-07-05 09:17:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053728 -2.775837)'), GeomFromEWKT('SRID=4674;POINT (-40.053781 -2.775883)'))) / (select extract(epoch from '2026-07-05 09:17:36'::timestamp) - extract(epoch from '2026-07-05 09:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053728 -2.775837)'), GeomFromEWKT('SRID=4674;POINT (-40.053781 -2.775883)'))) / (select extract(epoch from '2026-07-05 09:17:36'::timestamp) - extract(epoch from '2026-07-05 09:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053798 -2.775911)', '2026-07-05 09:17:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053781 -2.775883)'), GeomFromEWKT('SRID=4674;POINT (-40.053798 -2.775911)'))) / (select extract(epoch from '2026-07-05 09:17:43'::timestamp) - extract(epoch from '2026-07-05 09:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053781 -2.775883)'), GeomFromEWKT('SRID=4674;POINT (-40.053798 -2.775911)'))) / (select extract(epoch from '2026-07-05 09:17:43'::timestamp) - extract(epoch from '2026-07-05 09:17: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'), 47625, 'SRID=4674;POINT (-40.053815 -2.775947)', '2026-07-05 09:17:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053798 -2.775911)'), GeomFromEWKT('SRID=4674;POINT (-40.053815 -2.775947)'))) / (select extract(epoch from '2026-07-05 09:17:50'::timestamp) - extract(epoch from '2026-07-05 09:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053798 -2.775911)'), GeomFromEWKT('SRID=4674;POINT (-40.053815 -2.775947)'))) / (select extract(epoch from '2026-07-05 09:17:50'::timestamp) - extract(epoch from '2026-07-05 09:17: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'), 47625, 'SRID=4674;POINT (-40.053808 -2.775974)', '2026-07-05 09:17:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053815 -2.775947)'), GeomFromEWKT('SRID=4674;POINT (-40.053808 -2.775974)'))) / (select extract(epoch from '2026-07-05 09:17:57'::timestamp) - extract(epoch from '2026-07-05 09:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053815 -2.775947)'), GeomFromEWKT('SRID=4674;POINT (-40.053808 -2.775974)'))) / (select extract(epoch from '2026-07-05 09:17:57'::timestamp) - extract(epoch from '2026-07-05 09:17:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053807 -2.775992)', '2026-07-05 09:18:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053808 -2.775974)'), GeomFromEWKT('SRID=4674;POINT (-40.053807 -2.775992)'))) / (select extract(epoch from '2026-07-05 09:18:04'::timestamp) - extract(epoch from '2026-07-05 09:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053808 -2.775974)'), GeomFromEWKT('SRID=4674;POINT (-40.053807 -2.775992)'))) / (select extract(epoch from '2026-07-05 09:18:04'::timestamp) - extract(epoch from '2026-07-05 09:17: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'), 47625, 'SRID=4674;POINT (-40.053772 -2.775982)', '2026-07-05 09:18:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053807 -2.775992)'), GeomFromEWKT('SRID=4674;POINT (-40.053772 -2.775982)'))) / (select extract(epoch from '2026-07-05 09:18:13'::timestamp) - extract(epoch from '2026-07-05 09:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053807 -2.775992)'), GeomFromEWKT('SRID=4674;POINT (-40.053772 -2.775982)'))) / (select extract(epoch from '2026-07-05 09:18:13'::timestamp) - extract(epoch from '2026-07-05 09:18: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'), 47625, 'SRID=4674;POINT (-40.053714 -2.775945)', '2026-07-05 09:18:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053772 -2.775982)'), GeomFromEWKT('SRID=4674;POINT (-40.053714 -2.775945)'))) / (select extract(epoch from '2026-07-05 09:18:19'::timestamp) - extract(epoch from '2026-07-05 09:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053772 -2.775982)'), GeomFromEWKT('SRID=4674;POINT (-40.053714 -2.775945)'))) / (select extract(epoch from '2026-07-05 09:18:19'::timestamp) - extract(epoch from '2026-07-05 09:18: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'), 47625, 'SRID=4674;POINT (-40.053708 -2.775935)', '2026-07-05 09:18:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053714 -2.775945)'), GeomFromEWKT('SRID=4674;POINT (-40.053708 -2.775935)'))) / (select extract(epoch from '2026-07-05 09:18:20'::timestamp) - extract(epoch from '2026-07-05 09:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053714 -2.775945)'), GeomFromEWKT('SRID=4674;POINT (-40.053708 -2.775935)'))) / (select extract(epoch from '2026-07-05 09:18:20'::timestamp) - extract(epoch from '2026-07-05 09:18: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'), 47625, 'SRID=4674;POINT (-40.053684 -2.775882)', '2026-07-05 09:18:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053708 -2.775935)'), GeomFromEWKT('SRID=4674;POINT (-40.053684 -2.775882)'))) / (select extract(epoch from '2026-07-05 09:18:24'::timestamp) - extract(epoch from '2026-07-05 09:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053708 -2.775935)'), GeomFromEWKT('SRID=4674;POINT (-40.053684 -2.775882)'))) / (select extract(epoch from '2026-07-05 09:18:24'::timestamp) - extract(epoch from '2026-07-05 09:18: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'), 47625, 'SRID=4674;POINT (-40.053664 -2.775755)', '2026-07-05 09:18:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053684 -2.775882)'), GeomFromEWKT('SRID=4674;POINT (-40.053664 -2.775755)'))) / (select extract(epoch from '2026-07-05 09:18:31'::timestamp) - extract(epoch from '2026-07-05 09:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053684 -2.775882)'), GeomFromEWKT('SRID=4674;POINT (-40.053664 -2.775755)'))) / (select extract(epoch from '2026-07-05 09:18:31'::timestamp) - extract(epoch from '2026-07-05 09:18: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'), 47625, 'SRID=4674;POINT (-40.053705 -2.775627)', '2026-07-05 09:18:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053664 -2.775755)'), GeomFromEWKT('SRID=4674;POINT (-40.053705 -2.775627)'))) / (select extract(epoch from '2026-07-05 09:18:37'::timestamp) - extract(epoch from '2026-07-05 09:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053664 -2.775755)'), GeomFromEWKT('SRID=4674;POINT (-40.053705 -2.775627)'))) / (select extract(epoch from '2026-07-05 09:18:37'::timestamp) - extract(epoch from '2026-07-05 09:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053771 -2.775502)', '2026-07-05 09:18:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053705 -2.775627)'), GeomFromEWKT('SRID=4674;POINT (-40.053771 -2.775502)'))) / (select extract(epoch from '2026-07-05 09:18:43'::timestamp) - extract(epoch from '2026-07-05 09:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053705 -2.775627)'), GeomFromEWKT('SRID=4674;POINT (-40.053771 -2.775502)'))) / (select extract(epoch from '2026-07-05 09:18:43'::timestamp) - extract(epoch from '2026-07-05 09:18: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'), 47625, 'SRID=4674;POINT (-40.053849 -2.7754)', '2026-07-05 09:18:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053771 -2.775502)'), GeomFromEWKT('SRID=4674;POINT (-40.053849 -2.7754)'))) / (select extract(epoch from '2026-07-05 09:18:48'::timestamp) - extract(epoch from '2026-07-05 09:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053771 -2.775502)'), GeomFromEWKT('SRID=4674;POINT (-40.053849 -2.7754)'))) / (select extract(epoch from '2026-07-05 09:18:48'::timestamp) - extract(epoch from '2026-07-05 09:18: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'), 47625, 'SRID=4674;POINT (-40.053944 -2.775257)', '2026-07-05 09:18:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053849 -2.7754)'), GeomFromEWKT('SRID=4674;POINT (-40.053944 -2.775257)'))) / (select extract(epoch from '2026-07-05 09:18:55'::timestamp) - extract(epoch from '2026-07-05 09:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053849 -2.7754)'), GeomFromEWKT('SRID=4674;POINT (-40.053944 -2.775257)'))) / (select extract(epoch from '2026-07-05 09:18:55'::timestamp) - extract(epoch from '2026-07-05 09:18: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'), 47625, 'SRID=4674;POINT (-40.053998 -2.775139)', '2026-07-05 09:19:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053944 -2.775257)'), GeomFromEWKT('SRID=4674;POINT (-40.053998 -2.775139)'))) / (select extract(epoch from '2026-07-05 09:19:02'::timestamp) - extract(epoch from '2026-07-05 09:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053944 -2.775257)'), GeomFromEWKT('SRID=4674;POINT (-40.053998 -2.775139)'))) / (select extract(epoch from '2026-07-05 09:19:02'::timestamp) - extract(epoch from '2026-07-05 09:18:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054015 -2.77506)', '2026-07-05 09:19:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053998 -2.775139)'), GeomFromEWKT('SRID=4674;POINT (-40.054015 -2.77506)'))) / (select extract(epoch from '2026-07-05 09:19:09'::timestamp) - extract(epoch from '2026-07-05 09:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053998 -2.775139)'), GeomFromEWKT('SRID=4674;POINT (-40.054015 -2.77506)'))) / (select extract(epoch from '2026-07-05 09:19:09'::timestamp) - extract(epoch from '2026-07-05 09:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054024 -2.774988)', '2026-07-05 09:19:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054015 -2.77506)'), GeomFromEWKT('SRID=4674;POINT (-40.054024 -2.774988)'))) / (select extract(epoch from '2026-07-05 09:19:17'::timestamp) - extract(epoch from '2026-07-05 09:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054015 -2.77506)'), GeomFromEWKT('SRID=4674;POINT (-40.054024 -2.774988)'))) / (select extract(epoch from '2026-07-05 09:19:17'::timestamp) - extract(epoch from '2026-07-05 09:19: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'), 47625, 'SRID=4674;POINT (-40.054025 -2.774923)', '2026-07-05 09:19:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054024 -2.774988)'), GeomFromEWKT('SRID=4674;POINT (-40.054025 -2.774923)'))) / (select extract(epoch from '2026-07-05 09:19:24'::timestamp) - extract(epoch from '2026-07-05 09:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054024 -2.774988)'), GeomFromEWKT('SRID=4674;POINT (-40.054025 -2.774923)'))) / (select extract(epoch from '2026-07-05 09:19:24'::timestamp) - extract(epoch from '2026-07-05 09:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054025 -2.774914)', '2026-07-05 09:19:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054025 -2.774923)'), GeomFromEWKT('SRID=4674;POINT (-40.054025 -2.774914)'))) / (select extract(epoch from '2026-07-05 09:19:25'::timestamp) - extract(epoch from '2026-07-05 09:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054025 -2.774923)'), GeomFromEWKT('SRID=4674;POINT (-40.054025 -2.774914)'))) / (select extract(epoch from '2026-07-05 09:19:25'::timestamp) - extract(epoch from '2026-07-05 09:19: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'), 47625, 'SRID=4674;POINT (-40.054028 -2.774893)', '2026-07-05 09:19:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054025 -2.774914)'), GeomFromEWKT('SRID=4674;POINT (-40.054028 -2.774893)'))) / (select extract(epoch from '2026-07-05 09:19:27'::timestamp) - extract(epoch from '2026-07-05 09:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054025 -2.774914)'), GeomFromEWKT('SRID=4674;POINT (-40.054028 -2.774893)'))) / (select extract(epoch from '2026-07-05 09:19:27'::timestamp) - extract(epoch from '2026-07-05 09:19: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'), 47625, 'SRID=4674;POINT (-40.054029 -2.77485)', '2026-07-05 09:19:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054028 -2.774893)'), GeomFromEWKT('SRID=4674;POINT (-40.054029 -2.77485)'))) / (select extract(epoch from '2026-07-05 09:19:31'::timestamp) - extract(epoch from '2026-07-05 09:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054028 -2.774893)'), GeomFromEWKT('SRID=4674;POINT (-40.054029 -2.77485)'))) / (select extract(epoch from '2026-07-05 09:19:31'::timestamp) - extract(epoch from '2026-07-05 09:19: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'), 47625, 'SRID=4674;POINT (-40.05403 -2.77477)', '2026-07-05 09:19:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054029 -2.77485)'), GeomFromEWKT('SRID=4674;POINT (-40.05403 -2.77477)'))) / (select extract(epoch from '2026-07-05 09:19:38'::timestamp) - extract(epoch from '2026-07-05 09:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054029 -2.77485)'), GeomFromEWKT('SRID=4674;POINT (-40.05403 -2.77477)'))) / (select extract(epoch from '2026-07-05 09:19:38'::timestamp) - extract(epoch from '2026-07-05 09:19: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'), 47625, 'SRID=4674;POINT (-40.054032 -2.774695)', '2026-07-05 09:19:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05403 -2.77477)'), GeomFromEWKT('SRID=4674;POINT (-40.054032 -2.774695)'))) / (select extract(epoch from '2026-07-05 09:19:44'::timestamp) - extract(epoch from '2026-07-05 09:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05403 -2.77477)'), GeomFromEWKT('SRID=4674;POINT (-40.054032 -2.774695)'))) / (select extract(epoch from '2026-07-05 09:19:44'::timestamp) - extract(epoch from '2026-07-05 09:19: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'), 47625, 'SRID=4674;POINT (-40.054034 -2.774656)', '2026-07-05 09:19:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054032 -2.774695)'), GeomFromEWKT('SRID=4674;POINT (-40.054034 -2.774656)'))) / (select extract(epoch from '2026-07-05 09:19:47'::timestamp) - extract(epoch from '2026-07-05 09:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054032 -2.774695)'), GeomFromEWKT('SRID=4674;POINT (-40.054034 -2.774656)'))) / (select extract(epoch from '2026-07-05 09:19:47'::timestamp) - extract(epoch from '2026-07-05 09:19: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'), 47625, 'SRID=4674;POINT (-40.054034 -2.774617)', '2026-07-05 09:19:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054034 -2.774656)'), GeomFromEWKT('SRID=4674;POINT (-40.054034 -2.774617)'))) / (select extract(epoch from '2026-07-05 09:19:50'::timestamp) - extract(epoch from '2026-07-05 09:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054034 -2.774656)'), GeomFromEWKT('SRID=4674;POINT (-40.054034 -2.774617)'))) / (select extract(epoch from '2026-07-05 09:19:50'::timestamp) - extract(epoch from '2026-07-05 09:19: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'), 47625, 'SRID=4674;POINT (-40.054041 -2.774556)', '2026-07-05 09:19:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054034 -2.774617)'), GeomFromEWKT('SRID=4674;POINT (-40.054041 -2.774556)'))) / (select extract(epoch from '2026-07-05 09:19:55'::timestamp) - extract(epoch from '2026-07-05 09:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054034 -2.774617)'), GeomFromEWKT('SRID=4674;POINT (-40.054041 -2.774556)'))) / (select extract(epoch from '2026-07-05 09:19:55'::timestamp) - extract(epoch from '2026-07-05 09:19: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'), 47625, 'SRID=4674;POINT (-40.054041 -2.774544)', '2026-07-05 09:19:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054041 -2.774556)'), GeomFromEWKT('SRID=4674;POINT (-40.054041 -2.774544)'))) / (select extract(epoch from '2026-07-05 09:19:56'::timestamp) - extract(epoch from '2026-07-05 09:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054041 -2.774556)'), GeomFromEWKT('SRID=4674;POINT (-40.054041 -2.774544)'))) / (select extract(epoch from '2026-07-05 09:19:56'::timestamp) - extract(epoch from '2026-07-05 09:19: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'), 47625, 'SRID=4674;POINT (-40.054047 -2.774522)', '2026-07-05 09:19:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054041 -2.774544)'), GeomFromEWKT('SRID=4674;POINT (-40.054047 -2.774522)'))) / (select extract(epoch from '2026-07-05 09:19:58'::timestamp) - extract(epoch from '2026-07-05 09:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054041 -2.774544)'), GeomFromEWKT('SRID=4674;POINT (-40.054047 -2.774522)'))) / (select extract(epoch from '2026-07-05 09:19:58'::timestamp) - extract(epoch from '2026-07-05 09:19:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054048 -2.77449)', '2026-07-05 09:20:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054047 -2.774522)'), GeomFromEWKT('SRID=4674;POINT (-40.054048 -2.77449)'))) / (select extract(epoch from '2026-07-05 09:20:01'::timestamp) - extract(epoch from '2026-07-05 09:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054047 -2.774522)'), GeomFromEWKT('SRID=4674;POINT (-40.054048 -2.77449)'))) / (select extract(epoch from '2026-07-05 09:20:01'::timestamp) - extract(epoch from '2026-07-05 09:19: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'), 47625, 'SRID=4674;POINT (-40.054043 -2.774417)', '2026-07-05 09:20:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054048 -2.77449)'), GeomFromEWKT('SRID=4674;POINT (-40.054043 -2.774417)'))) / (select extract(epoch from '2026-07-05 09:20:08'::timestamp) - extract(epoch from '2026-07-05 09:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054048 -2.77449)'), GeomFromEWKT('SRID=4674;POINT (-40.054043 -2.774417)'))) / (select extract(epoch from '2026-07-05 09:20:08'::timestamp) - extract(epoch from '2026-07-05 09:20:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054038 -2.774377)', '2026-07-05 09:20:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054043 -2.774417)'), GeomFromEWKT('SRID=4674;POINT (-40.054038 -2.774377)'))) / (select extract(epoch from '2026-07-05 09:20:12'::timestamp) - extract(epoch from '2026-07-05 09:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054043 -2.774417)'), GeomFromEWKT('SRID=4674;POINT (-40.054038 -2.774377)'))) / (select extract(epoch from '2026-07-05 09:20:12'::timestamp) - extract(epoch from '2026-07-05 09:20: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'), 47625, 'SRID=4674;POINT (-40.054039 -2.774354)', '2026-07-05 09:20:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054038 -2.774377)'), GeomFromEWKT('SRID=4674;POINT (-40.054039 -2.774354)'))) / (select extract(epoch from '2026-07-05 09:20:14'::timestamp) - extract(epoch from '2026-07-05 09:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054038 -2.774377)'), GeomFromEWKT('SRID=4674;POINT (-40.054039 -2.774354)'))) / (select extract(epoch from '2026-07-05 09:20:14'::timestamp) - extract(epoch from '2026-07-05 09:20:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054036 -2.774269)', '2026-07-05 09:20:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054039 -2.774354)'), GeomFromEWKT('SRID=4674;POINT (-40.054036 -2.774269)'))) / (select extract(epoch from '2026-07-05 09:20:21'::timestamp) - extract(epoch from '2026-07-05 09:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054039 -2.774354)'), GeomFromEWKT('SRID=4674;POINT (-40.054036 -2.774269)'))) / (select extract(epoch from '2026-07-05 09:20:21'::timestamp) - extract(epoch from '2026-07-05 09:20: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'), 47625, 'SRID=4674;POINT (-40.054039 -2.77419)', '2026-07-05 09:20:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054036 -2.774269)'), GeomFromEWKT('SRID=4674;POINT (-40.054039 -2.77419)'))) / (select extract(epoch from '2026-07-05 09:20:27'::timestamp) - extract(epoch from '2026-07-05 09:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054036 -2.774269)'), GeomFromEWKT('SRID=4674;POINT (-40.054039 -2.77419)'))) / (select extract(epoch from '2026-07-05 09:20:27'::timestamp) - extract(epoch from '2026-07-05 09:20: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'), 47625, 'SRID=4674;POINT (-40.054047 -2.774128)', '2026-07-05 09:20:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054039 -2.77419)'), GeomFromEWKT('SRID=4674;POINT (-40.054047 -2.774128)'))) / (select extract(epoch from '2026-07-05 09:20:32'::timestamp) - extract(epoch from '2026-07-05 09:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054039 -2.77419)'), GeomFromEWKT('SRID=4674;POINT (-40.054047 -2.774128)'))) / (select extract(epoch from '2026-07-05 09:20:32'::timestamp) - extract(epoch from '2026-07-05 09:20: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'), 47625, 'SRID=4674;POINT (-40.054046 -2.774116)', '2026-07-05 09:20:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054047 -2.774128)'), GeomFromEWKT('SRID=4674;POINT (-40.054046 -2.774116)'))) / (select extract(epoch from '2026-07-05 09:20:33'::timestamp) - extract(epoch from '2026-07-05 09:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054047 -2.774128)'), GeomFromEWKT('SRID=4674;POINT (-40.054046 -2.774116)'))) / (select extract(epoch from '2026-07-05 09:20:33'::timestamp) - extract(epoch from '2026-07-05 09:20: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'), 47625, 'SRID=4674;POINT (-40.054051 -2.774054)', '2026-07-05 09:20:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054046 -2.774116)'), GeomFromEWKT('SRID=4674;POINT (-40.054051 -2.774054)'))) / (select extract(epoch from '2026-07-05 09:20:38'::timestamp) - extract(epoch from '2026-07-05 09:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054046 -2.774116)'), GeomFromEWKT('SRID=4674;POINT (-40.054051 -2.774054)'))) / (select extract(epoch from '2026-07-05 09:20:38'::timestamp) - extract(epoch from '2026-07-05 09:20: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'), 47625, 'SRID=4674;POINT (-40.05405 -2.774043)', '2026-07-05 09:20:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054051 -2.774054)'), GeomFromEWKT('SRID=4674;POINT (-40.05405 -2.774043)'))) / (select extract(epoch from '2026-07-05 09:20:39'::timestamp) - extract(epoch from '2026-07-05 09:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054051 -2.774054)'), GeomFromEWKT('SRID=4674;POINT (-40.05405 -2.774043)'))) / (select extract(epoch from '2026-07-05 09:20:39'::timestamp) - extract(epoch from '2026-07-05 09:20: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'), 47625, 'SRID=4674;POINT (-40.054049 -2.773981)', '2026-07-05 09:20:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05405 -2.774043)'), GeomFromEWKT('SRID=4674;POINT (-40.054049 -2.773981)'))) / (select extract(epoch from '2026-07-05 09:20:45'::timestamp) - extract(epoch from '2026-07-05 09:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05405 -2.774043)'), GeomFromEWKT('SRID=4674;POINT (-40.054049 -2.773981)'))) / (select extract(epoch from '2026-07-05 09:20:45'::timestamp) - extract(epoch from '2026-07-05 09:20: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'), 47625, 'SRID=4674;POINT (-40.054051 -2.7739)', '2026-07-05 09:20:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054049 -2.773981)'), GeomFromEWKT('SRID=4674;POINT (-40.054051 -2.7739)'))) / (select extract(epoch from '2026-07-05 09:20:52'::timestamp) - extract(epoch from '2026-07-05 09:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054049 -2.773981)'), GeomFromEWKT('SRID=4674;POINT (-40.054051 -2.7739)'))) / (select extract(epoch from '2026-07-05 09:20:52'::timestamp) - extract(epoch from '2026-07-05 09:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054107 -2.773847)', '2026-07-05 09:20:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054051 -2.7739)'), GeomFromEWKT('SRID=4674;POINT (-40.054107 -2.773847)'))) / (select extract(epoch from '2026-07-05 09:20:58'::timestamp) - extract(epoch from '2026-07-05 09:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054051 -2.7739)'), GeomFromEWKT('SRID=4674;POINT (-40.054107 -2.773847)'))) / (select extract(epoch from '2026-07-05 09:20:58'::timestamp) - extract(epoch from '2026-07-05 09:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054167 -2.77386)', '2026-07-05 09:21:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054107 -2.773847)'), GeomFromEWKT('SRID=4674;POINT (-40.054167 -2.77386)'))) / (select extract(epoch from '2026-07-05 09:21:04'::timestamp) - extract(epoch from '2026-07-05 09:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054107 -2.773847)'), GeomFromEWKT('SRID=4674;POINT (-40.054167 -2.77386)'))) / (select extract(epoch from '2026-07-05 09:21:04'::timestamp) - extract(epoch from '2026-07-05 09:20:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054195 -2.773907)', '2026-07-05 09:21:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054167 -2.77386)'), GeomFromEWKT('SRID=4674;POINT (-40.054195 -2.773907)'))) / (select extract(epoch from '2026-07-05 09:21:11'::timestamp) - extract(epoch from '2026-07-05 09:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054167 -2.77386)'), GeomFromEWKT('SRID=4674;POINT (-40.054195 -2.773907)'))) / (select extract(epoch from '2026-07-05 09:21:11'::timestamp) - extract(epoch from '2026-07-05 09:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054184 -2.773961)', '2026-07-05 09:21:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054195 -2.773907)'), GeomFromEWKT('SRID=4674;POINT (-40.054184 -2.773961)'))) / (select extract(epoch from '2026-07-05 09:21:18'::timestamp) - extract(epoch from '2026-07-05 09:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054195 -2.773907)'), GeomFromEWKT('SRID=4674;POINT (-40.054184 -2.773961)'))) / (select extract(epoch from '2026-07-05 09:21:18'::timestamp) - extract(epoch from '2026-07-05 09:21: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'), 47625, 'SRID=4674;POINT (-40.054154 -2.774003)', '2026-07-05 09:21:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054184 -2.773961)'), GeomFromEWKT('SRID=4674;POINT (-40.054154 -2.774003)'))) / (select extract(epoch from '2026-07-05 09:21:23'::timestamp) - extract(epoch from '2026-07-05 09:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054184 -2.773961)'), GeomFromEWKT('SRID=4674;POINT (-40.054154 -2.774003)'))) / (select extract(epoch from '2026-07-05 09:21:23'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.05414 -2.77404)', '2026-07-05 09:21:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054154 -2.774003)'), GeomFromEWKT('SRID=4674;POINT (-40.05414 -2.77404)'))) / (select extract(epoch from '2026-07-05 09:21:28'::timestamp) - extract(epoch from '2026-07-05 09:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054154 -2.774003)'), GeomFromEWKT('SRID=4674;POINT (-40.05414 -2.77404)'))) / (select extract(epoch from '2026-07-05 09:21:28'::timestamp) - extract(epoch from '2026-07-05 09:21: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'), 47625, 'SRID=4674;POINT (-40.054134 -2.774064)', '2026-07-05 09:21:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05414 -2.77404)'), GeomFromEWKT('SRID=4674;POINT (-40.054134 -2.774064)'))) / (select extract(epoch from '2026-07-05 09:21:36'::timestamp) - extract(epoch from '2026-07-05 09:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05414 -2.77404)'), GeomFromEWKT('SRID=4674;POINT (-40.054134 -2.774064)'))) / (select extract(epoch from '2026-07-05 09:21:36'::timestamp) - extract(epoch from '2026-07-05 09:21: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'), 47625, 'SRID=4674;POINT (-40.054139 -2.774073)', '2026-07-05 09:21:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054134 -2.774064)'), GeomFromEWKT('SRID=4674;POINT (-40.054139 -2.774073)'))) / (select extract(epoch from '2026-07-05 09:21:47'::timestamp) - extract(epoch from '2026-07-05 09:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054134 -2.774064)'), GeomFromEWKT('SRID=4674;POINT (-40.054139 -2.774073)'))) / (select extract(epoch from '2026-07-05 09:21:47'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.054129 -2.774067)', '2026-07-05 09:21:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054139 -2.774073)'), GeomFromEWKT('SRID=4674;POINT (-40.054129 -2.774067)'))) / (select extract(epoch from '2026-07-05 09:21:55'::timestamp) - extract(epoch from '2026-07-05 09:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054139 -2.774073)'), GeomFromEWKT('SRID=4674;POINT (-40.054129 -2.774067)'))) / (select extract(epoch from '2026-07-05 09:21:55'::timestamp) - extract(epoch from '2026-07-05 09:21: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'), 47625, 'SRID=4674;POINT (-40.054108 -2.774061)', '2026-07-05 09:22:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054129 -2.774067)'), GeomFromEWKT('SRID=4674;POINT (-40.054108 -2.774061)'))) / (select extract(epoch from '2026-07-05 09:22:02'::timestamp) - extract(epoch from '2026-07-05 09:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054129 -2.774067)'), GeomFromEWKT('SRID=4674;POINT (-40.054108 -2.774061)'))) / (select extract(epoch from '2026-07-05 09:22:02'::timestamp) - extract(epoch from '2026-07-05 09:21: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'), 47625, 'SRID=4674;POINT (-40.054096 -2.774039)', '2026-07-05 09:22:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054108 -2.774061)'), GeomFromEWKT('SRID=4674;POINT (-40.054096 -2.774039)'))) / (select extract(epoch from '2026-07-05 09:22:08'::timestamp) - extract(epoch from '2026-07-05 09:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054108 -2.774061)'), GeomFromEWKT('SRID=4674;POINT (-40.054096 -2.774039)'))) / (select extract(epoch from '2026-07-05 09:22:08'::timestamp) - extract(epoch from '2026-07-05 09:22: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'), 47625, 'SRID=4674;POINT (-40.054078 -2.773999)', '2026-07-05 09:22:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054096 -2.774039)'), GeomFromEWKT('SRID=4674;POINT (-40.054078 -2.773999)'))) / (select extract(epoch from '2026-07-05 09:22:16'::timestamp) - extract(epoch from '2026-07-05 09:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054096 -2.774039)'), GeomFromEWKT('SRID=4674;POINT (-40.054078 -2.773999)'))) / (select extract(epoch from '2026-07-05 09:22:16'::timestamp) - extract(epoch from '2026-07-05 09:22: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'), 47625, 'SRID=4674;POINT (-40.054056 -2.77395)', '2026-07-05 09:22:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054078 -2.773999)'), GeomFromEWKT('SRID=4674;POINT (-40.054056 -2.77395)'))) / (select extract(epoch from '2026-07-05 09:22:23'::timestamp) - extract(epoch from '2026-07-05 09:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054078 -2.773999)'), GeomFromEWKT('SRID=4674;POINT (-40.054056 -2.77395)'))) / (select extract(epoch from '2026-07-05 09:22:23'::timestamp) - extract(epoch from '2026-07-05 09:22: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'), 47625, 'SRID=4674;POINT (-40.054051 -2.773939)', '2026-07-05 09:22:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054056 -2.77395)'), GeomFromEWKT('SRID=4674;POINT (-40.054051 -2.773939)'))) / (select extract(epoch from '2026-07-05 09:22:24'::timestamp) - extract(epoch from '2026-07-05 09:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054056 -2.77395)'), GeomFromEWKT('SRID=4674;POINT (-40.054051 -2.773939)'))) / (select extract(epoch from '2026-07-05 09:22:24'::timestamp) - extract(epoch from '2026-07-05 09:22: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'), 47625, 'SRID=4674;POINT (-40.054013 -2.773862)', '2026-07-05 09:22:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054051 -2.773939)'), GeomFromEWKT('SRID=4674;POINT (-40.054013 -2.773862)'))) / (select extract(epoch from '2026-07-05 09:22:30'::timestamp) - extract(epoch from '2026-07-05 09:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054051 -2.773939)'), GeomFromEWKT('SRID=4674;POINT (-40.054013 -2.773862)'))) / (select extract(epoch from '2026-07-05 09:22:30'::timestamp) - extract(epoch from '2026-07-05 09:22:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054008 -2.773848)', '2026-07-05 09:22:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054013 -2.773862)'), GeomFromEWKT('SRID=4674;POINT (-40.054008 -2.773848)'))) / (select extract(epoch from '2026-07-05 09:22:31'::timestamp) - extract(epoch from '2026-07-05 09:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054013 -2.773862)'), GeomFromEWKT('SRID=4674;POINT (-40.054008 -2.773848)'))) / (select extract(epoch from '2026-07-05 09:22:31'::timestamp) - extract(epoch from '2026-07-05 09:22: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'), 47625, 'SRID=4674;POINT (-40.053989 -2.773787)', '2026-07-05 09:22:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054008 -2.773848)'), GeomFromEWKT('SRID=4674;POINT (-40.053989 -2.773787)'))) / (select extract(epoch from '2026-07-05 09:22:35'::timestamp) - extract(epoch from '2026-07-05 09:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054008 -2.773848)'), GeomFromEWKT('SRID=4674;POINT (-40.053989 -2.773787)'))) / (select extract(epoch from '2026-07-05 09:22:35'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.053969 -2.773673)', '2026-07-05 09:22:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053989 -2.773787)'), GeomFromEWKT('SRID=4674;POINT (-40.053969 -2.773673)'))) / (select extract(epoch from '2026-07-05 09:22:41'::timestamp) - extract(epoch from '2026-07-05 09:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053989 -2.773787)'), GeomFromEWKT('SRID=4674;POINT (-40.053969 -2.773673)'))) / (select extract(epoch from '2026-07-05 09:22:41'::timestamp) - extract(epoch from '2026-07-05 09:22:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.053976 -2.773535)', '2026-07-05 09:22:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053969 -2.773673)'), GeomFromEWKT('SRID=4674;POINT (-40.053976 -2.773535)'))) / (select extract(epoch from '2026-07-05 09:22:47'::timestamp) - extract(epoch from '2026-07-05 09:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053969 -2.773673)'), GeomFromEWKT('SRID=4674;POINT (-40.053976 -2.773535)'))) / (select extract(epoch from '2026-07-05 09:22:47'::timestamp) - extract(epoch from '2026-07-05 09:22: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'), 47625, 'SRID=4674;POINT (-40.053989 -2.773475)', '2026-07-05 09:22:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053976 -2.773535)'), GeomFromEWKT('SRID=4674;POINT (-40.053989 -2.773475)'))) / (select extract(epoch from '2026-07-05 09:22:50'::timestamp) - extract(epoch from '2026-07-05 09:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053976 -2.773535)'), GeomFromEWKT('SRID=4674;POINT (-40.053989 -2.773475)'))) / (select extract(epoch from '2026-07-05 09:22:50'::timestamp) - extract(epoch from '2026-07-05 09:22: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'), 47625, 'SRID=4674;POINT (-40.054033 -2.773402)', '2026-07-05 09:22:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053989 -2.773475)'), GeomFromEWKT('SRID=4674;POINT (-40.054033 -2.773402)'))) / (select extract(epoch from '2026-07-05 09:22:54'::timestamp) - extract(epoch from '2026-07-05 09:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053989 -2.773475)'), GeomFromEWKT('SRID=4674;POINT (-40.054033 -2.773402)'))) / (select extract(epoch from '2026-07-05 09:22:54'::timestamp) - extract(epoch from '2026-07-05 09:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054113 -2.773323)', '2026-07-05 09:22:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054033 -2.773402)'), GeomFromEWKT('SRID=4674;POINT (-40.054113 -2.773323)'))) / (select extract(epoch from '2026-07-05 09:22:59'::timestamp) - extract(epoch from '2026-07-05 09:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054033 -2.773402)'), GeomFromEWKT('SRID=4674;POINT (-40.054113 -2.773323)'))) / (select extract(epoch from '2026-07-05 09:22:59'::timestamp) - extract(epoch from '2026-07-05 09:22: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'), 47625, 'SRID=4674;POINT (-40.054223 -2.773228)', '2026-07-05 09:23:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054113 -2.773323)'), GeomFromEWKT('SRID=4674;POINT (-40.054223 -2.773228)'))) / (select extract(epoch from '2026-07-05 09:23:07'::timestamp) - extract(epoch from '2026-07-05 09:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054113 -2.773323)'), GeomFromEWKT('SRID=4674;POINT (-40.054223 -2.773228)'))) / (select extract(epoch from '2026-07-05 09:23:07'::timestamp) - extract(epoch from '2026-07-05 09:22: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'), 47625, 'SRID=4674;POINT (-40.054305 -2.773184)', '2026-07-05 09:23:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054223 -2.773228)'), GeomFromEWKT('SRID=4674;POINT (-40.054305 -2.773184)'))) / (select extract(epoch from '2026-07-05 09:23:14'::timestamp) - extract(epoch from '2026-07-05 09:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054223 -2.773228)'), GeomFromEWKT('SRID=4674;POINT (-40.054305 -2.773184)'))) / (select extract(epoch from '2026-07-05 09:23:14'::timestamp) - extract(epoch from '2026-07-05 09:23: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'), 47625, 'SRID=4674;POINT (-40.054324 -2.773189)', '2026-07-05 09:23:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054305 -2.773184)'), GeomFromEWKT('SRID=4674;POINT (-40.054324 -2.773189)'))) / (select extract(epoch from '2026-07-05 09:23:16'::timestamp) - extract(epoch from '2026-07-05 09:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054305 -2.773184)'), GeomFromEWKT('SRID=4674;POINT (-40.054324 -2.773189)'))) / (select extract(epoch from '2026-07-05 09:23:16'::timestamp) - extract(epoch from '2026-07-05 09:23:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054353 -2.773216)', '2026-07-05 09:23:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054324 -2.773189)'), GeomFromEWKT('SRID=4674;POINT (-40.054353 -2.773216)'))) / (select extract(epoch from '2026-07-05 09:23:20'::timestamp) - extract(epoch from '2026-07-05 09:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054324 -2.773189)'), GeomFromEWKT('SRID=4674;POINT (-40.054353 -2.773216)'))) / (select extract(epoch from '2026-07-05 09:23:20'::timestamp) - extract(epoch from '2026-07-05 09:23: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'), 47625, 'SRID=4674;POINT (-40.054353 -2.773264)', '2026-07-05 09:23:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054353 -2.773216)'), GeomFromEWKT('SRID=4674;POINT (-40.054353 -2.773264)'))) / (select extract(epoch from '2026-07-05 09:23:26'::timestamp) - extract(epoch from '2026-07-05 09:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054353 -2.773216)'), GeomFromEWKT('SRID=4674;POINT (-40.054353 -2.773264)'))) / (select extract(epoch from '2026-07-05 09:23:26'::timestamp) - extract(epoch from '2026-07-05 09:23: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'), 47625, 'SRID=4674;POINT (-40.054304 -2.77333)', '2026-07-05 09:23:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054353 -2.773264)'), GeomFromEWKT('SRID=4674;POINT (-40.054304 -2.77333)'))) / (select extract(epoch from '2026-07-05 09:23:33'::timestamp) - extract(epoch from '2026-07-05 09:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054353 -2.773264)'), GeomFromEWKT('SRID=4674;POINT (-40.054304 -2.77333)'))) / (select extract(epoch from '2026-07-05 09:23:33'::timestamp) - extract(epoch from '2026-07-05 09:23:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054228 -2.773356)', '2026-07-05 09:23:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054304 -2.77333)'), GeomFromEWKT('SRID=4674;POINT (-40.054228 -2.773356)'))) / (select extract(epoch from '2026-07-05 09:23:41'::timestamp) - extract(epoch from '2026-07-05 09:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054304 -2.77333)'), GeomFromEWKT('SRID=4674;POINT (-40.054228 -2.773356)'))) / (select extract(epoch from '2026-07-05 09:23:41'::timestamp) - extract(epoch from '2026-07-05 09:23:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054182 -2.773344)', '2026-07-05 09:23:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054228 -2.773356)'), GeomFromEWKT('SRID=4674;POINT (-40.054182 -2.773344)'))) / (select extract(epoch from '2026-07-05 09:23:51'::timestamp) - extract(epoch from '2026-07-05 09:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054228 -2.773356)'), GeomFromEWKT('SRID=4674;POINT (-40.054182 -2.773344)'))) / (select extract(epoch from '2026-07-05 09:23:51'::timestamp) - extract(epoch from '2026-07-05 09:23:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054196 -2.773314)', '2026-07-05 09:23:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054182 -2.773344)'), GeomFromEWKT('SRID=4674;POINT (-40.054196 -2.773314)'))) / (select extract(epoch from '2026-07-05 09:23:59'::timestamp) - extract(epoch from '2026-07-05 09:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054182 -2.773344)'), GeomFromEWKT('SRID=4674;POINT (-40.054196 -2.773314)'))) / (select extract(epoch from '2026-07-05 09:23:59'::timestamp) - extract(epoch from '2026-07-05 09:23: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'), 47625, 'SRID=4674;POINT (-40.054222 -2.773284)', '2026-07-05 09:24:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054196 -2.773314)'), GeomFromEWKT('SRID=4674;POINT (-40.054222 -2.773284)'))) / (select extract(epoch from '2026-07-05 09:24:06'::timestamp) - extract(epoch from '2026-07-05 09:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054196 -2.773314)'), GeomFromEWKT('SRID=4674;POINT (-40.054222 -2.773284)'))) / (select extract(epoch from '2026-07-05 09:24:06'::timestamp) - extract(epoch from '2026-07-05 09:23: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'), 47625, 'SRID=4674;POINT (-40.054256 -2.773283)', '2026-07-05 09:24:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054222 -2.773284)'), GeomFromEWKT('SRID=4674;POINT (-40.054256 -2.773283)'))) / (select extract(epoch from '2026-07-05 09:24:13'::timestamp) - extract(epoch from '2026-07-05 09:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054222 -2.773284)'), GeomFromEWKT('SRID=4674;POINT (-40.054256 -2.773283)'))) / (select extract(epoch from '2026-07-05 09:24:13'::timestamp) - extract(epoch from '2026-07-05 09:24: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'), 47625, 'SRID=4674;POINT (-40.05424 -2.773301)', '2026-07-05 09:24:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054256 -2.773283)'), GeomFromEWKT('SRID=4674;POINT (-40.05424 -2.773301)'))) / (select extract(epoch from '2026-07-05 09:24:20'::timestamp) - extract(epoch from '2026-07-05 09:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054256 -2.773283)'), GeomFromEWKT('SRID=4674;POINT (-40.05424 -2.773301)'))) / (select extract(epoch from '2026-07-05 09:24:20'::timestamp) - extract(epoch from '2026-07-05 09:24:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054227 -2.773274)', '2026-07-05 09:24:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05424 -2.773301)'), GeomFromEWKT('SRID=4674;POINT (-40.054227 -2.773274)'))) / (select extract(epoch from '2026-07-05 09:24:27'::timestamp) - extract(epoch from '2026-07-05 09:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05424 -2.773301)'), GeomFromEWKT('SRID=4674;POINT (-40.054227 -2.773274)'))) / (select extract(epoch from '2026-07-05 09:24:27'::timestamp) - extract(epoch from '2026-07-05 09:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054218 -2.773236)', '2026-07-05 09:24:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054227 -2.773274)'), GeomFromEWKT('SRID=4674;POINT (-40.054218 -2.773236)'))) / (select extract(epoch from '2026-07-05 09:24:34'::timestamp) - extract(epoch from '2026-07-05 09:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054227 -2.773274)'), GeomFromEWKT('SRID=4674;POINT (-40.054218 -2.773236)'))) / (select extract(epoch from '2026-07-05 09:24:34'::timestamp) - extract(epoch from '2026-07-05 09:24:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054215 -2.773222)', '2026-07-05 09:24:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054218 -2.773236)'), GeomFromEWKT('SRID=4674;POINT (-40.054215 -2.773222)'))) / (select extract(epoch from '2026-07-05 09:24:36'::timestamp) - extract(epoch from '2026-07-05 09:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054218 -2.773236)'), GeomFromEWKT('SRID=4674;POINT (-40.054215 -2.773222)'))) / (select extract(epoch from '2026-07-05 09:24:36'::timestamp) - extract(epoch from '2026-07-05 09:24: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'), 47625, 'SRID=4674;POINT (-40.054215 -2.773213)', '2026-07-05 09:24:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054215 -2.773222)'), GeomFromEWKT('SRID=4674;POINT (-40.054215 -2.773213)'))) / (select extract(epoch from '2026-07-05 09:24:39'::timestamp) - extract(epoch from '2026-07-05 09:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054215 -2.773222)'), GeomFromEWKT('SRID=4674;POINT (-40.054215 -2.773213)'))) / (select extract(epoch from '2026-07-05 09:24:39'::timestamp) - extract(epoch from '2026-07-05 09:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054244 -2.773222)', '2026-07-05 09:24:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054215 -2.773213)'), GeomFromEWKT('SRID=4674;POINT (-40.054244 -2.773222)'))) / (select extract(epoch from '2026-07-05 09:24:47'::timestamp) - extract(epoch from '2026-07-05 09:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054215 -2.773213)'), GeomFromEWKT('SRID=4674;POINT (-40.054244 -2.773222)'))) / (select extract(epoch from '2026-07-05 09:24:47'::timestamp) - extract(epoch from '2026-07-05 09:24: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'), 47625, 'SRID=4674;POINT (-40.054261 -2.773218)', '2026-07-05 09:24:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054244 -2.773222)'), GeomFromEWKT('SRID=4674;POINT (-40.054261 -2.773218)'))) / (select extract(epoch from '2026-07-05 09:24:49'::timestamp) - extract(epoch from '2026-07-05 09:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054244 -2.773222)'), GeomFromEWKT('SRID=4674;POINT (-40.054261 -2.773218)'))) / (select extract(epoch from '2026-07-05 09:24:49'::timestamp) - extract(epoch from '2026-07-05 09:24: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'), 47625, 'SRID=4674;POINT (-40.054283 -2.773223)', '2026-07-05 09:24:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054261 -2.773218)'), GeomFromEWKT('SRID=4674;POINT (-40.054283 -2.773223)'))) / (select extract(epoch from '2026-07-05 09:24:53'::timestamp) - extract(epoch from '2026-07-05 09:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054261 -2.773218)'), GeomFromEWKT('SRID=4674;POINT (-40.054283 -2.773223)'))) / (select extract(epoch from '2026-07-05 09:24:53'::timestamp) - extract(epoch from '2026-07-05 09:24: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'), 47625, 'SRID=4674;POINT (-40.054339 -2.773168)', '2026-07-05 09:24:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054283 -2.773223)'), GeomFromEWKT('SRID=4674;POINT (-40.054339 -2.773168)'))) / (select extract(epoch from '2026-07-05 09:24:59'::timestamp) - extract(epoch from '2026-07-05 09:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054283 -2.773223)'), GeomFromEWKT('SRID=4674;POINT (-40.054339 -2.773168)'))) / (select extract(epoch from '2026-07-05 09:24:59'::timestamp) - extract(epoch from '2026-07-05 09:24: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'), 47625, 'SRID=4674;POINT (-40.054395 -2.773068)', '2026-07-05 09:25:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054339 -2.773168)'), GeomFromEWKT('SRID=4674;POINT (-40.054395 -2.773068)'))) / (select extract(epoch from '2026-07-05 09:25:05'::timestamp) - extract(epoch from '2026-07-05 09:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054339 -2.773168)'), GeomFromEWKT('SRID=4674;POINT (-40.054395 -2.773068)'))) / (select extract(epoch from '2026-07-05 09:25:05'::timestamp) - extract(epoch from '2026-07-05 09:24:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054459 -2.772924)', '2026-07-05 09:25:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054395 -2.773068)'), GeomFromEWKT('SRID=4674;POINT (-40.054459 -2.772924)'))) / (select extract(epoch from '2026-07-05 09:25:12'::timestamp) - extract(epoch from '2026-07-05 09:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054395 -2.773068)'), GeomFromEWKT('SRID=4674;POINT (-40.054459 -2.772924)'))) / (select extract(epoch from '2026-07-05 09:25:12'::timestamp) - extract(epoch from '2026-07-05 09:25: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'), 47625, 'SRID=4674;POINT (-40.05452 -2.772786)', '2026-07-05 09:25:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054459 -2.772924)'), GeomFromEWKT('SRID=4674;POINT (-40.05452 -2.772786)'))) / (select extract(epoch from '2026-07-05 09:25:18'::timestamp) - extract(epoch from '2026-07-05 09:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054459 -2.772924)'), GeomFromEWKT('SRID=4674;POINT (-40.05452 -2.772786)'))) / (select extract(epoch from '2026-07-05 09:25:18'::timestamp) - extract(epoch from '2026-07-05 09:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054568 -2.772688)', '2026-07-05 09:25:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05452 -2.772786)'), GeomFromEWKT('SRID=4674;POINT (-40.054568 -2.772688)'))) / (select extract(epoch from '2026-07-05 09:25:23'::timestamp) - extract(epoch from '2026-07-05 09:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05452 -2.772786)'), GeomFromEWKT('SRID=4674;POINT (-40.054568 -2.772688)'))) / (select extract(epoch from '2026-07-05 09:25:23'::timestamp) - extract(epoch from '2026-07-05 09:25: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'), 47625, 'SRID=4674;POINT (-40.054609 -2.772621)', '2026-07-05 09:25:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054568 -2.772688)'), GeomFromEWKT('SRID=4674;POINT (-40.054609 -2.772621)'))) / (select extract(epoch from '2026-07-05 09:25:27'::timestamp) - extract(epoch from '2026-07-05 09:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054568 -2.772688)'), GeomFromEWKT('SRID=4674;POINT (-40.054609 -2.772621)'))) / (select extract(epoch from '2026-07-05 09:25:27'::timestamp) - extract(epoch from '2026-07-05 09:25: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'), 47625, 'SRID=4674;POINT (-40.054632 -2.772536)', '2026-07-05 09:25:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054609 -2.772621)'), GeomFromEWKT('SRID=4674;POINT (-40.054632 -2.772536)'))) / (select extract(epoch from '2026-07-05 09:25:33'::timestamp) - extract(epoch from '2026-07-05 09:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054609 -2.772621)'), GeomFromEWKT('SRID=4674;POINT (-40.054632 -2.772536)'))) / (select extract(epoch from '2026-07-05 09:25:33'::timestamp) - extract(epoch from '2026-07-05 09:25: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'), 47625, 'SRID=4674;POINT (-40.054636 -2.772524)', '2026-07-05 09:25:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054632 -2.772536)'), GeomFromEWKT('SRID=4674;POINT (-40.054636 -2.772524)'))) / (select extract(epoch from '2026-07-05 09:25:34'::timestamp) - extract(epoch from '2026-07-05 09:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054632 -2.772536)'), GeomFromEWKT('SRID=4674;POINT (-40.054636 -2.772524)'))) / (select extract(epoch from '2026-07-05 09:25:34'::timestamp) - extract(epoch from '2026-07-05 09:25: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'), 47625, 'SRID=4674;POINT (-40.054639 -2.77249)', '2026-07-05 09:25:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054636 -2.772524)'), GeomFromEWKT('SRID=4674;POINT (-40.054639 -2.77249)'))) / (select extract(epoch from '2026-07-05 09:25:37'::timestamp) - extract(epoch from '2026-07-05 09:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054636 -2.772524)'), GeomFromEWKT('SRID=4674;POINT (-40.054639 -2.77249)'))) / (select extract(epoch from '2026-07-05 09:25:37'::timestamp) - extract(epoch from '2026-07-05 09:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054635 -2.772463)', '2026-07-05 09:25:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054639 -2.77249)'), GeomFromEWKT('SRID=4674;POINT (-40.054635 -2.772463)'))) / (select extract(epoch from '2026-07-05 09:25:40'::timestamp) - extract(epoch from '2026-07-05 09:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054639 -2.77249)'), GeomFromEWKT('SRID=4674;POINT (-40.054635 -2.772463)'))) / (select extract(epoch from '2026-07-05 09:25:40'::timestamp) - extract(epoch from '2026-07-05 09:25: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'), 47625, 'SRID=4674;POINT (-40.054633 -2.772446)', '2026-07-05 09:25:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054635 -2.772463)'), GeomFromEWKT('SRID=4674;POINT (-40.054633 -2.772446)'))) / (select extract(epoch from '2026-07-05 09:25:42'::timestamp) - extract(epoch from '2026-07-05 09:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054635 -2.772463)'), GeomFromEWKT('SRID=4674;POINT (-40.054633 -2.772446)'))) / (select extract(epoch from '2026-07-05 09:25:42'::timestamp) - extract(epoch from '2026-07-05 09:25:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054633 -2.772402)', '2026-07-05 09:25:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054633 -2.772446)'), GeomFromEWKT('SRID=4674;POINT (-40.054633 -2.772402)'))) / (select extract(epoch from '2026-07-05 09:25:47'::timestamp) - extract(epoch from '2026-07-05 09:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054633 -2.772446)'), GeomFromEWKT('SRID=4674;POINT (-40.054633 -2.772402)'))) / (select extract(epoch from '2026-07-05 09:25:47'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.054637 -2.772374)', '2026-07-05 09:25:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054633 -2.772402)'), GeomFromEWKT('SRID=4674;POINT (-40.054637 -2.772374)'))) / (select extract(epoch from '2026-07-05 09:25:50'::timestamp) - extract(epoch from '2026-07-05 09:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054633 -2.772402)'), GeomFromEWKT('SRID=4674;POINT (-40.054637 -2.772374)'))) / (select extract(epoch from '2026-07-05 09:25:50'::timestamp) - extract(epoch from '2026-07-05 09:25: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'), 47625, 'SRID=4674;POINT (-40.054641 -2.772359)', '2026-07-05 09:25:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054637 -2.772374)'), GeomFromEWKT('SRID=4674;POINT (-40.054641 -2.772359)'))) / (select extract(epoch from '2026-07-05 09:25:52'::timestamp) - extract(epoch from '2026-07-05 09:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054637 -2.772374)'), GeomFromEWKT('SRID=4674;POINT (-40.054641 -2.772359)'))) / (select extract(epoch from '2026-07-05 09:25:52'::timestamp) - extract(epoch from '2026-07-05 09:25:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054642 -2.772279)', '2026-07-05 09:26:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054641 -2.772359)'), GeomFromEWKT('SRID=4674;POINT (-40.054642 -2.772279)'))) / (select extract(epoch from '2026-07-05 09:26:01'::timestamp) - extract(epoch from '2026-07-05 09:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054641 -2.772359)'), GeomFromEWKT('SRID=4674;POINT (-40.054642 -2.772279)'))) / (select extract(epoch from '2026-07-05 09:26:01'::timestamp) - extract(epoch from '2026-07-05 09:25:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05461 -2.772217)', '2026-07-05 09:26:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054642 -2.772279)'), GeomFromEWKT('SRID=4674;POINT (-40.05461 -2.772217)'))) / (select extract(epoch from '2026-07-05 09:26:08'::timestamp) - extract(epoch from '2026-07-05 09:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054642 -2.772279)'), GeomFromEWKT('SRID=4674;POINT (-40.05461 -2.772217)'))) / (select extract(epoch from '2026-07-05 09:26:08'::timestamp) - extract(epoch from '2026-07-05 09:26: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'), 47625, 'SRID=4674;POINT (-40.054598 -2.772208)', '2026-07-05 09:26:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05461 -2.772217)'), GeomFromEWKT('SRID=4674;POINT (-40.054598 -2.772208)'))) / (select extract(epoch from '2026-07-05 09:26:10'::timestamp) - extract(epoch from '2026-07-05 09:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05461 -2.772217)'), GeomFromEWKT('SRID=4674;POINT (-40.054598 -2.772208)'))) / (select extract(epoch from '2026-07-05 09:26:10'::timestamp) - extract(epoch from '2026-07-05 09:26: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'), 47625, 'SRID=4674;POINT (-40.054545 -2.772209)', '2026-07-05 09:26:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054598 -2.772208)'), GeomFromEWKT('SRID=4674;POINT (-40.054545 -2.772209)'))) / (select extract(epoch from '2026-07-05 09:26:19'::timestamp) - extract(epoch from '2026-07-05 09:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054598 -2.772208)'), GeomFromEWKT('SRID=4674;POINT (-40.054545 -2.772209)'))) / (select extract(epoch from '2026-07-05 09:26:19'::timestamp) - extract(epoch from '2026-07-05 09:26:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05455 -2.77226)', '2026-07-05 09:26:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054545 -2.772209)'), GeomFromEWKT('SRID=4674;POINT (-40.05455 -2.77226)'))) / (select extract(epoch from '2026-07-05 09:26:28'::timestamp) - extract(epoch from '2026-07-05 09:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054545 -2.772209)'), GeomFromEWKT('SRID=4674;POINT (-40.05455 -2.77226)'))) / (select extract(epoch from '2026-07-05 09:26:28'::timestamp) - extract(epoch from '2026-07-05 09:26:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054578 -2.772281)', '2026-07-05 09:26:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05455 -2.77226)'), GeomFromEWKT('SRID=4674;POINT (-40.054578 -2.772281)'))) / (select extract(epoch from '2026-07-05 09:26:33'::timestamp) - extract(epoch from '2026-07-05 09:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05455 -2.77226)'), GeomFromEWKT('SRID=4674;POINT (-40.054578 -2.772281)'))) / (select extract(epoch from '2026-07-05 09:26:33'::timestamp) - extract(epoch from '2026-07-05 09:26: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'), 47625, 'SRID=4674;POINT (-40.054587 -2.772292)', '2026-07-05 09:26:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054578 -2.772281)'), GeomFromEWKT('SRID=4674;POINT (-40.054587 -2.772292)'))) / (select extract(epoch from '2026-07-05 09:26:35'::timestamp) - extract(epoch from '2026-07-05 09:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054578 -2.772281)'), GeomFromEWKT('SRID=4674;POINT (-40.054587 -2.772292)'))) / (select extract(epoch from '2026-07-05 09:26:35'::timestamp) - extract(epoch from '2026-07-05 09:26: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'), 47625, 'SRID=4674;POINT (-40.054587 -2.772328)', '2026-07-05 09:26:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054587 -2.772292)'), GeomFromEWKT('SRID=4674;POINT (-40.054587 -2.772328)'))) / (select extract(epoch from '2026-07-05 09:26:42'::timestamp) - extract(epoch from '2026-07-05 09:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054587 -2.772292)'), GeomFromEWKT('SRID=4674;POINT (-40.054587 -2.772328)'))) / (select extract(epoch from '2026-07-05 09:26:42'::timestamp) - extract(epoch from '2026-07-05 09:26: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'), 47625, 'SRID=4674;POINT (-40.05459 -2.772346)', '2026-07-05 09:26:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054587 -2.772328)'), GeomFromEWKT('SRID=4674;POINT (-40.05459 -2.772346)'))) / (select extract(epoch from '2026-07-05 09:26:53'::timestamp) - extract(epoch from '2026-07-05 09:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054587 -2.772328)'), GeomFromEWKT('SRID=4674;POINT (-40.05459 -2.772346)'))) / (select extract(epoch from '2026-07-05 09:26:53'::timestamp) - extract(epoch from '2026-07-05 09:26:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05459 -2.772334)', '2026-07-05 09:27:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05459 -2.772346)'), GeomFromEWKT('SRID=4674;POINT (-40.05459 -2.772334)'))) / (select extract(epoch from '2026-07-05 09:27:06'::timestamp) - extract(epoch from '2026-07-05 09:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05459 -2.772346)'), GeomFromEWKT('SRID=4674;POINT (-40.05459 -2.772334)'))) / (select extract(epoch from '2026-07-05 09:27:06'::timestamp) - extract(epoch from '2026-07-05 09:26: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'), 47625, 'SRID=4674;POINT (-40.054586 -2.772298)', '2026-07-05 09:27:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05459 -2.772334)'), GeomFromEWKT('SRID=4674;POINT (-40.054586 -2.772298)'))) / (select extract(epoch from '2026-07-05 09:27:13'::timestamp) - extract(epoch from '2026-07-05 09:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05459 -2.772334)'), GeomFromEWKT('SRID=4674;POINT (-40.054586 -2.772298)'))) / (select extract(epoch from '2026-07-05 09:27:13'::timestamp) - extract(epoch from '2026-07-05 09:27: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'), 47625, 'SRID=4674;POINT (-40.054593 -2.772254)', '2026-07-05 09:27:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054586 -2.772298)'), GeomFromEWKT('SRID=4674;POINT (-40.054593 -2.772254)'))) / (select extract(epoch from '2026-07-05 09:27:21'::timestamp) - extract(epoch from '2026-07-05 09:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054586 -2.772298)'), GeomFromEWKT('SRID=4674;POINT (-40.054593 -2.772254)'))) / (select extract(epoch from '2026-07-05 09:27:21'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.054582 -2.772167)', '2026-07-05 09:27:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054593 -2.772254)'), GeomFromEWKT('SRID=4674;POINT (-40.054582 -2.772167)'))) / (select extract(epoch from '2026-07-05 09:27:30'::timestamp) - extract(epoch from '2026-07-05 09:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054593 -2.772254)'), GeomFromEWKT('SRID=4674;POINT (-40.054582 -2.772167)'))) / (select extract(epoch from '2026-07-05 09:27:30'::timestamp) - extract(epoch from '2026-07-05 09:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054577 -2.772155)', '2026-07-05 09:27:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054582 -2.772167)'), GeomFromEWKT('SRID=4674;POINT (-40.054577 -2.772155)'))) / (select extract(epoch from '2026-07-05 09:27:31'::timestamp) - extract(epoch from '2026-07-05 09:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054582 -2.772167)'), GeomFromEWKT('SRID=4674;POINT (-40.054577 -2.772155)'))) / (select extract(epoch from '2026-07-05 09:27:31'::timestamp) - extract(epoch from '2026-07-05 09:27: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'), 47625, 'SRID=4674;POINT (-40.054581 -2.772075)', '2026-07-05 09:27:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054577 -2.772155)'), GeomFromEWKT('SRID=4674;POINT (-40.054581 -2.772075)'))) / (select extract(epoch from '2026-07-05 09:27:36'::timestamp) - extract(epoch from '2026-07-05 09:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054577 -2.772155)'), GeomFromEWKT('SRID=4674;POINT (-40.054581 -2.772075)'))) / (select extract(epoch from '2026-07-05 09:27:36'::timestamp) - extract(epoch from '2026-07-05 09:27: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'), 47625, 'SRID=4674;POINT (-40.054655 -2.771937)', '2026-07-05 09:27:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054581 -2.772075)'), GeomFromEWKT('SRID=4674;POINT (-40.054655 -2.771937)'))) / (select extract(epoch from '2026-07-05 09:27:43'::timestamp) - extract(epoch from '2026-07-05 09:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054581 -2.772075)'), GeomFromEWKT('SRID=4674;POINT (-40.054655 -2.771937)'))) / (select extract(epoch from '2026-07-05 09:27:43'::timestamp) - extract(epoch from '2026-07-05 09:27: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'), 47625, 'SRID=4674;POINT (-40.054736 -2.771814)', '2026-07-05 09:27:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054655 -2.771937)'), GeomFromEWKT('SRID=4674;POINT (-40.054736 -2.771814)'))) / (select extract(epoch from '2026-07-05 09:27:50'::timestamp) - extract(epoch from '2026-07-05 09:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054655 -2.771937)'), GeomFromEWKT('SRID=4674;POINT (-40.054736 -2.771814)'))) / (select extract(epoch from '2026-07-05 09:27:50'::timestamp) - extract(epoch from '2026-07-05 09:27: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'), 47625, 'SRID=4674;POINT (-40.054785 -2.771735)', '2026-07-05 09:27:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054736 -2.771814)'), GeomFromEWKT('SRID=4674;POINT (-40.054785 -2.771735)'))) / (select extract(epoch from '2026-07-05 09:27:55'::timestamp) - extract(epoch from '2026-07-05 09:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054736 -2.771814)'), GeomFromEWKT('SRID=4674;POINT (-40.054785 -2.771735)'))) / (select extract(epoch from '2026-07-05 09:27:55'::timestamp) - extract(epoch from '2026-07-05 09:27: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'), 47625, 'SRID=4674;POINT (-40.054785 -2.771717)', '2026-07-05 09:27:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054785 -2.771735)'), GeomFromEWKT('SRID=4674;POINT (-40.054785 -2.771717)'))) / (select extract(epoch from '2026-07-05 09:27:56'::timestamp) - extract(epoch from '2026-07-05 09:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054785 -2.771735)'), GeomFromEWKT('SRID=4674;POINT (-40.054785 -2.771717)'))) / (select extract(epoch from '2026-07-05 09:27:56'::timestamp) - extract(epoch from '2026-07-05 09:27: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'), 47625, 'SRID=4674;POINT (-40.054785 -2.771684)', '2026-07-05 09:27:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054785 -2.771717)'), GeomFromEWKT('SRID=4674;POINT (-40.054785 -2.771684)'))) / (select extract(epoch from '2026-07-05 09:27:58'::timestamp) - extract(epoch from '2026-07-05 09:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054785 -2.771717)'), GeomFromEWKT('SRID=4674;POINT (-40.054785 -2.771684)'))) / (select extract(epoch from '2026-07-05 09:27:58'::timestamp) - extract(epoch from '2026-07-05 09:27: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'), 47625, 'SRID=4674;POINT (-40.054787 -2.771671)', '2026-07-05 09:27:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054785 -2.771684)'), GeomFromEWKT('SRID=4674;POINT (-40.054787 -2.771671)'))) / (select extract(epoch from '2026-07-05 09:27:59'::timestamp) - extract(epoch from '2026-07-05 09:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054785 -2.771684)'), GeomFromEWKT('SRID=4674;POINT (-40.054787 -2.771671)'))) / (select extract(epoch from '2026-07-05 09:27:59'::timestamp) - extract(epoch from '2026-07-05 09: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'), 47625, 'SRID=4674;POINT (-40.054796 -2.771581)', '2026-07-05 09:28:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054787 -2.771671)'), GeomFromEWKT('SRID=4674;POINT (-40.054796 -2.771581)'))) / (select extract(epoch from '2026-07-05 09:28:07'::timestamp) - extract(epoch from '2026-07-05 09:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054787 -2.771671)'), GeomFromEWKT('SRID=4674;POINT (-40.054796 -2.771581)'))) / (select extract(epoch from '2026-07-05 09:28:07'::timestamp) - extract(epoch from '2026-07-05 09:27: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'), 47625, 'SRID=4674;POINT (-40.054798 -2.771527)', '2026-07-05 09:28:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054796 -2.771581)'), GeomFromEWKT('SRID=4674;POINT (-40.054798 -2.771527)'))) / (select extract(epoch from '2026-07-05 09:28:14'::timestamp) - extract(epoch from '2026-07-05 09:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054796 -2.771581)'), GeomFromEWKT('SRID=4674;POINT (-40.054798 -2.771527)'))) / (select extract(epoch from '2026-07-05 09:28:14'::timestamp) - extract(epoch from '2026-07-05 09:28: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'), 47625, 'SRID=4674;POINT (-40.054804 -2.771447)', '2026-07-05 09:28:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054798 -2.771527)'), GeomFromEWKT('SRID=4674;POINT (-40.054804 -2.771447)'))) / (select extract(epoch from '2026-07-05 09:28:24'::timestamp) - extract(epoch from '2026-07-05 09:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054798 -2.771527)'), GeomFromEWKT('SRID=4674;POINT (-40.054804 -2.771447)'))) / (select extract(epoch from '2026-07-05 09:28:24'::timestamp) - extract(epoch from '2026-07-05 09:28:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054774 -2.77138)', '2026-07-05 09:28:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054804 -2.771447)'), GeomFromEWKT('SRID=4674;POINT (-40.054774 -2.77138)'))) / (select extract(epoch from '2026-07-05 09:28:34'::timestamp) - extract(epoch from '2026-07-05 09:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054804 -2.771447)'), GeomFromEWKT('SRID=4674;POINT (-40.054774 -2.77138)'))) / (select extract(epoch from '2026-07-05 09:28:34'::timestamp) - extract(epoch from '2026-07-05 09:28:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054748 -2.771395)', '2026-07-05 09:28:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054774 -2.77138)'), GeomFromEWKT('SRID=4674;POINT (-40.054748 -2.771395)'))) / (select extract(epoch from '2026-07-05 09:28:43'::timestamp) - extract(epoch from '2026-07-05 09:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054774 -2.77138)'), GeomFromEWKT('SRID=4674;POINT (-40.054748 -2.771395)'))) / (select extract(epoch from '2026-07-05 09:28:43'::timestamp) - extract(epoch from '2026-07-05 09:28:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054773 -2.77142)', '2026-07-05 09:28:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054748 -2.771395)'), GeomFromEWKT('SRID=4674;POINT (-40.054773 -2.77142)'))) / (select extract(epoch from '2026-07-05 09:28:51'::timestamp) - extract(epoch from '2026-07-05 09:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054748 -2.771395)'), GeomFromEWKT('SRID=4674;POINT (-40.054773 -2.77142)'))) / (select extract(epoch from '2026-07-05 09:28:51'::timestamp) - extract(epoch from '2026-07-05 09:28:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054826 -2.771443)', '2026-07-05 09:28:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054773 -2.77142)'), GeomFromEWKT('SRID=4674;POINT (-40.054826 -2.771443)'))) / (select extract(epoch from '2026-07-05 09:28:59'::timestamp) - extract(epoch from '2026-07-05 09:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054773 -2.77142)'), GeomFromEWKT('SRID=4674;POINT (-40.054826 -2.771443)'))) / (select extract(epoch from '2026-07-05 09:28:59'::timestamp) - extract(epoch from '2026-07-05 09:28:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054865 -2.771506)', '2026-07-05 09:29:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054826 -2.771443)'), GeomFromEWKT('SRID=4674;POINT (-40.054865 -2.771506)'))) / (select extract(epoch from '2026-07-05 09:29:06'::timestamp) - extract(epoch from '2026-07-05 09:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054826 -2.771443)'), GeomFromEWKT('SRID=4674;POINT (-40.054865 -2.771506)'))) / (select extract(epoch from '2026-07-05 09:29:06'::timestamp) - extract(epoch from '2026-07-05 09:28: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'), 47625, 'SRID=4674;POINT (-40.054868 -2.771525)', '2026-07-05 09:29:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054865 -2.771506)'), GeomFromEWKT('SRID=4674;POINT (-40.054868 -2.771525)'))) / (select extract(epoch from '2026-07-05 09:29:08'::timestamp) - extract(epoch from '2026-07-05 09:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054865 -2.771506)'), GeomFromEWKT('SRID=4674;POINT (-40.054868 -2.771525)'))) / (select extract(epoch from '2026-07-05 09:29:08'::timestamp) - extract(epoch from '2026-07-05 09:29:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054865 -2.771548)', '2026-07-05 09:29:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054868 -2.771525)'), GeomFromEWKT('SRID=4674;POINT (-40.054865 -2.771548)'))) / (select extract(epoch from '2026-07-05 09:29:12'::timestamp) - extract(epoch from '2026-07-05 09:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054868 -2.771525)'), GeomFromEWKT('SRID=4674;POINT (-40.054865 -2.771548)'))) / (select extract(epoch from '2026-07-05 09:29:12'::timestamp) - extract(epoch from '2026-07-05 09:29: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'), 47625, 'SRID=4674;POINT (-40.054857 -2.771598)', '2026-07-05 09:29:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054865 -2.771548)'), GeomFromEWKT('SRID=4674;POINT (-40.054857 -2.771598)'))) / (select extract(epoch from '2026-07-05 09:29:24'::timestamp) - extract(epoch from '2026-07-05 09:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054865 -2.771548)'), GeomFromEWKT('SRID=4674;POINT (-40.054857 -2.771598)'))) / (select extract(epoch from '2026-07-05 09:29:24'::timestamp) - extract(epoch from '2026-07-05 09:29:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054854 -2.77159)', '2026-07-05 09:29:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054857 -2.771598)'), GeomFromEWKT('SRID=4674;POINT (-40.054854 -2.77159)'))) / (select extract(epoch from '2026-07-05 09:29:35'::timestamp) - extract(epoch from '2026-07-05 09:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054857 -2.771598)'), GeomFromEWKT('SRID=4674;POINT (-40.054854 -2.77159)'))) / (select extract(epoch from '2026-07-05 09:29:35'::timestamp) - extract(epoch from '2026-07-05 09:29: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'), 47625, 'SRID=4674;POINT (-40.054836 -2.771578)', '2026-07-05 09:29:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054854 -2.77159)'), GeomFromEWKT('SRID=4674;POINT (-40.054836 -2.771578)'))) / (select extract(epoch from '2026-07-05 09:29:44'::timestamp) - extract(epoch from '2026-07-05 09:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054854 -2.77159)'), GeomFromEWKT('SRID=4674;POINT (-40.054836 -2.771578)'))) / (select extract(epoch from '2026-07-05 09:29:44'::timestamp) - extract(epoch from '2026-07-05 09:29: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'), 47625, 'SRID=4674;POINT (-40.054822 -2.771561)', '2026-07-05 09:29:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054836 -2.771578)'), GeomFromEWKT('SRID=4674;POINT (-40.054822 -2.771561)'))) / (select extract(epoch from '2026-07-05 09:29:52'::timestamp) - extract(epoch from '2026-07-05 09:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054836 -2.771578)'), GeomFromEWKT('SRID=4674;POINT (-40.054822 -2.771561)'))) / (select extract(epoch from '2026-07-05 09:29:52'::timestamp) - extract(epoch from '2026-07-05 09:29: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'), 47625, 'SRID=4674;POINT (-40.054811 -2.771552)', '2026-07-05 09:29:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054822 -2.771561)'), GeomFromEWKT('SRID=4674;POINT (-40.054811 -2.771552)'))) / (select extract(epoch from '2026-07-05 09:29:55'::timestamp) - extract(epoch from '2026-07-05 09:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054822 -2.771561)'), GeomFromEWKT('SRID=4674;POINT (-40.054811 -2.771552)'))) / (select extract(epoch from '2026-07-05 09:29:55'::timestamp) - extract(epoch from '2026-07-05 09:29: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'), 47625, 'SRID=4674;POINT (-40.054798 -2.771544)', '2026-07-05 09:29:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054811 -2.771552)'), GeomFromEWKT('SRID=4674;POINT (-40.054798 -2.771544)'))) / (select extract(epoch from '2026-07-05 09:29:57'::timestamp) - extract(epoch from '2026-07-05 09:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054811 -2.771552)'), GeomFromEWKT('SRID=4674;POINT (-40.054798 -2.771544)'))) / (select extract(epoch from '2026-07-05 09:29:57'::timestamp) - extract(epoch from '2026-07-05 09:29:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.054788 -2.771527)', '2026-07-05 09:29:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054798 -2.771544)'), GeomFromEWKT('SRID=4674;POINT (-40.054788 -2.771527)'))) / (select extract(epoch from '2026-07-05 09:29:59'::timestamp) - extract(epoch from '2026-07-05 09:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054798 -2.771544)'), GeomFromEWKT('SRID=4674;POINT (-40.054788 -2.771527)'))) / (select extract(epoch from '2026-07-05 09:29:59'::timestamp) - extract(epoch from '2026-07-05 09:29: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'), 47625, 'SRID=4674;POINT (-40.05478 -2.771493)', '2026-07-05 09:30:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054788 -2.771527)'), GeomFromEWKT('SRID=4674;POINT (-40.05478 -2.771493)'))) / (select extract(epoch from '2026-07-05 09:30:02'::timestamp) - extract(epoch from '2026-07-05 09:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054788 -2.771527)'), GeomFromEWKT('SRID=4674;POINT (-40.05478 -2.771493)'))) / (select extract(epoch from '2026-07-05 09:30:02'::timestamp) - extract(epoch from '2026-07-05 09:29: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'), 47625, 'SRID=4674;POINT (-40.054783 -2.771374)', '2026-07-05 09:30:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05478 -2.771493)'), GeomFromEWKT('SRID=4674;POINT (-40.054783 -2.771374)'))) / (select extract(epoch from '2026-07-05 09:30:10'::timestamp) - extract(epoch from '2026-07-05 09:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05478 -2.771493)'), GeomFromEWKT('SRID=4674;POINT (-40.054783 -2.771374)'))) / (select extract(epoch from '2026-07-05 09:30:10'::timestamp) - extract(epoch from '2026-07-05 09:30: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'), 47625, 'SRID=4674;POINT (-40.054797 -2.771266)', '2026-07-05 09:30:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054783 -2.771374)'), GeomFromEWKT('SRID=4674;POINT (-40.054797 -2.771266)'))) / (select extract(epoch from '2026-07-05 09:30:16'::timestamp) - extract(epoch from '2026-07-05 09:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054783 -2.771374)'), GeomFromEWKT('SRID=4674;POINT (-40.054797 -2.771266)'))) / (select extract(epoch from '2026-07-05 09:30:16'::timestamp) - extract(epoch from '2026-07-05 09:30: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'), 47625, 'SRID=4674;POINT (-40.054828 -2.771187)', '2026-07-05 09:30:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054797 -2.771266)'), GeomFromEWKT('SRID=4674;POINT (-40.054828 -2.771187)'))) / (select extract(epoch from '2026-07-05 09:30:21'::timestamp) - extract(epoch from '2026-07-05 09:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054797 -2.771266)'), GeomFromEWKT('SRID=4674;POINT (-40.054828 -2.771187)'))) / (select extract(epoch from '2026-07-05 09:30:21'::timestamp) - extract(epoch from '2026-07-05 09:30: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'), 47625, 'SRID=4674;POINT (-40.054911 -2.77111)', '2026-07-05 09:30:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054828 -2.771187)'), GeomFromEWKT('SRID=4674;POINT (-40.054911 -2.77111)'))) / (select extract(epoch from '2026-07-05 09:30:26'::timestamp) - extract(epoch from '2026-07-05 09:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054828 -2.771187)'), GeomFromEWKT('SRID=4674;POINT (-40.054911 -2.77111)'))) / (select extract(epoch from '2026-07-05 09:30:26'::timestamp) - extract(epoch from '2026-07-05 09:30:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05499 -2.771068)', '2026-07-05 09:30:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054911 -2.77111)'), GeomFromEWKT('SRID=4674;POINT (-40.05499 -2.771068)'))) / (select extract(epoch from '2026-07-05 09:30:30'::timestamp) - extract(epoch from '2026-07-05 09:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054911 -2.77111)'), GeomFromEWKT('SRID=4674;POINT (-40.05499 -2.771068)'))) / (select extract(epoch from '2026-07-05 09:30:30'::timestamp) - extract(epoch from '2026-07-05 09:30: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'), 47625, 'SRID=4674;POINT (-40.055013 -2.771065)', '2026-07-05 09:30:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05499 -2.771068)'), GeomFromEWKT('SRID=4674;POINT (-40.055013 -2.771065)'))) / (select extract(epoch from '2026-07-05 09:30:31'::timestamp) - extract(epoch from '2026-07-05 09:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05499 -2.771068)'), GeomFromEWKT('SRID=4674;POINT (-40.055013 -2.771065)'))) / (select extract(epoch from '2026-07-05 09:30:31'::timestamp) - extract(epoch from '2026-07-05 09:30: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'), 47625, 'SRID=4674;POINT (-40.055116 -2.771044)', '2026-07-05 09:30:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.055013 -2.771065)'), GeomFromEWKT('SRID=4674;POINT (-40.055116 -2.771044)'))) / (select extract(epoch from '2026-07-05 09:30:36'::timestamp) - extract(epoch from '2026-07-05 09:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.055013 -2.771065)'), GeomFromEWKT('SRID=4674;POINT (-40.055116 -2.771044)'))) / (select extract(epoch from '2026-07-05 09:30:36'::timestamp) - extract(epoch from '2026-07-05 09:30: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'), 47625, 'SRID=4674;POINT (-40.055179 -2.77102)', '2026-07-05 09:30:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.055116 -2.771044)'), GeomFromEWKT('SRID=4674;POINT (-40.055179 -2.77102)'))) / (select extract(epoch from '2026-07-05 09:30:40'::timestamp) - extract(epoch from '2026-07-05 09:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.055116 -2.771044)'), GeomFromEWKT('SRID=4674;POINT (-40.055179 -2.77102)'))) / (select extract(epoch from '2026-07-05 09:30:40'::timestamp) - extract(epoch from '2026-07-05 09:30:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.055218 -2.770998)', '2026-07-05 09:30:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.055179 -2.77102)'), GeomFromEWKT('SRID=4674;POINT (-40.055218 -2.770998)'))) / (select extract(epoch from '2026-07-05 09:30:43'::timestamp) - extract(epoch from '2026-07-05 09:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.055179 -2.77102)'), GeomFromEWKT('SRID=4674;POINT (-40.055218 -2.770998)'))) / (select extract(epoch from '2026-07-05 09:30:43'::timestamp) - extract(epoch from '2026-07-05 09:30:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.055256 -2.770972)', '2026-07-05 09:30:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.055218 -2.770998)'), GeomFromEWKT('SRID=4674;POINT (-40.055256 -2.770972)'))) / (select extract(epoch from '2026-07-05 09:30:46'::timestamp) - extract(epoch from '2026-07-05 09:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.055218 -2.770998)'), GeomFromEWKT('SRID=4674;POINT (-40.055256 -2.770972)'))) / (select extract(epoch from '2026-07-05 09:30:46'::timestamp) - extract(epoch from '2026-07-05 09:30: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'), 47625, 'SRID=4674;POINT (-40.055322 -2.770919)', '2026-07-05 09:30:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.055256 -2.770972)'), GeomFromEWKT('SRID=4674;POINT (-40.055322 -2.770919)'))) / (select extract(epoch from '2026-07-05 09:30:52'::timestamp) - extract(epoch from '2026-07-05 09:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.055256 -2.770972)'), GeomFromEWKT('SRID=4674;POINT (-40.055322 -2.770919)'))) / (select extract(epoch from '2026-07-05 09:30:52'::timestamp) - extract(epoch from '2026-07-05 09:30: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'), 47625, 'SRID=4674;POINT (-40.05538 -2.770892)', '2026-07-05 09:30:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.055322 -2.770919)'), GeomFromEWKT('SRID=4674;POINT (-40.05538 -2.770892)'))) / (select extract(epoch from '2026-07-05 09:30:57'::timestamp) - extract(epoch from '2026-07-05 09:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.055322 -2.770919)'), GeomFromEWKT('SRID=4674;POINT (-40.05538 -2.770892)'))) / (select extract(epoch from '2026-07-05 09:30:57'::timestamp) - extract(epoch from '2026-07-05 09:30:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.055435 -2.77086)', '2026-07-05 09:31:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05538 -2.770892)'), GeomFromEWKT('SRID=4674;POINT (-40.055435 -2.77086)'))) / (select extract(epoch from '2026-07-05 09:31:03'::timestamp) - extract(epoch from '2026-07-05 09:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05538 -2.770892)'), GeomFromEWKT('SRID=4674;POINT (-40.055435 -2.77086)'))) / (select extract(epoch from '2026-07-05 09:31:03'::timestamp) - extract(epoch from '2026-07-05 09:30: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'), 47625, 'SRID=4674;POINT (-40.05549 -2.77081)', '2026-07-05 09:31:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.055435 -2.77086)'), GeomFromEWKT('SRID=4674;POINT (-40.05549 -2.77081)'))) / (select extract(epoch from '2026-07-05 09:31:11'::timestamp) - extract(epoch from '2026-07-05 09:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.055435 -2.77086)'), GeomFromEWKT('SRID=4674;POINT (-40.05549 -2.77081)'))) / (select extract(epoch from '2026-07-05 09:31:11'::timestamp) - extract(epoch from '2026-07-05 09:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
