 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331196 -2.791172)', '2026-07-28 09:01:29', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331197 -2.791171)'), GeomFromEWKT('SRID=4674;POINT (-40.331196 -2.791172)'))) / (select extract(epoch from '2026-07-28 09:01:29'::timestamp) - extract(epoch from '2026-07-28 09:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331197 -2.791171)'), GeomFromEWKT('SRID=4674;POINT (-40.331196 -2.791172)'))) / (select extract(epoch from '2026-07-28 09:01:29'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.331192 -2.791169)', '2026-07-28 09:01:40', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331196 -2.791172)'), GeomFromEWKT('SRID=4674;POINT (-40.331192 -2.791169)'))) / (select extract(epoch from '2026-07-28 09:01:40'::timestamp) - extract(epoch from '2026-07-28 09:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331196 -2.791172)'), GeomFromEWKT('SRID=4674;POINT (-40.331192 -2.791169)'))) / (select extract(epoch from '2026-07-28 09:01:40'::timestamp) - extract(epoch from '2026-07-28 09:01: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'), 47807, 'SRID=4674;POINT (-40.331186 -2.791169)', '2026-07-28 09:01:51', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331192 -2.791169)'), GeomFromEWKT('SRID=4674;POINT (-40.331186 -2.791169)'))) / (select extract(epoch from '2026-07-28 09:01:51'::timestamp) - extract(epoch from '2026-07-28 09:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331192 -2.791169)'), GeomFromEWKT('SRID=4674;POINT (-40.331186 -2.791169)'))) / (select extract(epoch from '2026-07-28 09:01:51'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.331175 -2.791173)', '2026-07-28 09:02:01', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331186 -2.791169)'), GeomFromEWKT('SRID=4674;POINT (-40.331175 -2.791173)'))) / (select extract(epoch from '2026-07-28 09:02:01'::timestamp) - extract(epoch from '2026-07-28 09:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331186 -2.791169)'), GeomFromEWKT('SRID=4674;POINT (-40.331175 -2.791173)'))) / (select extract(epoch from '2026-07-28 09:02:01'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.33114 -2.791183)', '2026-07-28 09:02:13', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331175 -2.791173)'), GeomFromEWKT('SRID=4674;POINT (-40.33114 -2.791183)'))) / (select extract(epoch from '2026-07-28 09:02:13'::timestamp) - extract(epoch from '2026-07-28 09:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331175 -2.791173)'), GeomFromEWKT('SRID=4674;POINT (-40.33114 -2.791183)'))) / (select extract(epoch from '2026-07-28 09:02:13'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.331101 -2.791169)', '2026-07-28 09:02:27', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33114 -2.791183)'), GeomFromEWKT('SRID=4674;POINT (-40.331101 -2.791169)'))) / (select extract(epoch from '2026-07-28 09:02:27'::timestamp) - extract(epoch from '2026-07-28 09:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33114 -2.791183)'), GeomFromEWKT('SRID=4674;POINT (-40.331101 -2.791169)'))) / (select extract(epoch from '2026-07-28 09:02:27'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.331117 -2.791155)', '2026-07-28 09:02:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331101 -2.791169)'), GeomFromEWKT('SRID=4674;POINT (-40.331117 -2.791155)'))) / (select extract(epoch from '2026-07-28 09:02:36'::timestamp) - extract(epoch from '2026-07-28 09:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331101 -2.791169)'), GeomFromEWKT('SRID=4674;POINT (-40.331117 -2.791155)'))) / (select extract(epoch from '2026-07-28 09:02:36'::timestamp) - extract(epoch from '2026-07-28 09:02: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'), 47807, 'SRID=4674;POINT (-40.331189 -2.791121)', '2026-07-28 09:02:54', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331117 -2.791155)'), GeomFromEWKT('SRID=4674;POINT (-40.331189 -2.791121)'))) / (select extract(epoch from '2026-07-28 09:02:54'::timestamp) - extract(epoch from '2026-07-28 09:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331117 -2.791155)'), GeomFromEWKT('SRID=4674;POINT (-40.331189 -2.791121)'))) / (select extract(epoch from '2026-07-28 09:02:54'::timestamp) - extract(epoch from '2026-07-28 09:02: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'), 47807, 'SRID=4674;POINT (-40.331262 -2.791073)', '2026-07-28 09:03:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331189 -2.791121)'), GeomFromEWKT('SRID=4674;POINT (-40.331262 -2.791073)'))) / (select extract(epoch from '2026-07-28 09:03:09'::timestamp) - extract(epoch from '2026-07-28 09:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331189 -2.791121)'), GeomFromEWKT('SRID=4674;POINT (-40.331262 -2.791073)'))) / (select extract(epoch from '2026-07-28 09:03:09'::timestamp) - extract(epoch from '2026-07-28 09:02:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331333 -2.791066)', '2026-07-28 09:03:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331262 -2.791073)'), GeomFromEWKT('SRID=4674;POINT (-40.331333 -2.791066)'))) / (select extract(epoch from '2026-07-28 09:03:24'::timestamp) - extract(epoch from '2026-07-28 09:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331262 -2.791073)'), GeomFromEWKT('SRID=4674;POINT (-40.331333 -2.791066)'))) / (select extract(epoch from '2026-07-28 09:03:24'::timestamp) - extract(epoch from '2026-07-28 09:03:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331358 -2.791073)', '2026-07-28 09:03:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331333 -2.791066)'), GeomFromEWKT('SRID=4674;POINT (-40.331358 -2.791073)'))) / (select extract(epoch from '2026-07-28 09:03:38'::timestamp) - extract(epoch from '2026-07-28 09:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331333 -2.791066)'), GeomFromEWKT('SRID=4674;POINT (-40.331358 -2.791073)'))) / (select extract(epoch from '2026-07-28 09:03:38'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.331382 -2.791075)', '2026-07-28 09:03:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331358 -2.791073)'), GeomFromEWKT('SRID=4674;POINT (-40.331382 -2.791075)'))) / (select extract(epoch from '2026-07-28 09:03:47'::timestamp) - extract(epoch from '2026-07-28 09:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331358 -2.791073)'), GeomFromEWKT('SRID=4674;POINT (-40.331382 -2.791075)'))) / (select extract(epoch from '2026-07-28 09:03:47'::timestamp) - extract(epoch from '2026-07-28 09:03: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'), 47807, 'SRID=4674;POINT (-40.331425 -2.791071)', '2026-07-28 09:04:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331382 -2.791075)'), GeomFromEWKT('SRID=4674;POINT (-40.331425 -2.791071)'))) / (select extract(epoch from '2026-07-28 09:04:07'::timestamp) - extract(epoch from '2026-07-28 09:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331382 -2.791075)'), GeomFromEWKT('SRID=4674;POINT (-40.331425 -2.791071)'))) / (select extract(epoch from '2026-07-28 09:04:07'::timestamp) - extract(epoch from '2026-07-28 09:03: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'), 47807, 'SRID=4674;POINT (-40.331495 -2.791054)', '2026-07-28 09:04:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331425 -2.791071)'), GeomFromEWKT('SRID=4674;POINT (-40.331495 -2.791054)'))) / (select extract(epoch from '2026-07-28 09:04:23'::timestamp) - extract(epoch from '2026-07-28 09:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331425 -2.791071)'), GeomFromEWKT('SRID=4674;POINT (-40.331495 -2.791054)'))) / (select extract(epoch from '2026-07-28 09:04:23'::timestamp) - extract(epoch from '2026-07-28 09:04: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'), 47807, 'SRID=4674;POINT (-40.331562 -2.791056)', '2026-07-28 09:04:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331495 -2.791054)'), GeomFromEWKT('SRID=4674;POINT (-40.331562 -2.791056)'))) / (select extract(epoch from '2026-07-28 09:04:41'::timestamp) - extract(epoch from '2026-07-28 09:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331495 -2.791054)'), GeomFromEWKT('SRID=4674;POINT (-40.331562 -2.791056)'))) / (select extract(epoch from '2026-07-28 09:04:41'::timestamp) - extract(epoch from '2026-07-28 09:04:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331609 -2.791054)', '2026-07-28 09:04:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331562 -2.791056)'), GeomFromEWKT('SRID=4674;POINT (-40.331609 -2.791054)'))) / (select extract(epoch from '2026-07-28 09:04:58'::timestamp) - extract(epoch from '2026-07-28 09:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331562 -2.791056)'), GeomFromEWKT('SRID=4674;POINT (-40.331609 -2.791054)'))) / (select extract(epoch from '2026-07-28 09:04:58'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.331686 -2.791059)', '2026-07-28 09:05:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331609 -2.791054)'), GeomFromEWKT('SRID=4674;POINT (-40.331686 -2.791059)'))) / (select extract(epoch from '2026-07-28 09:05:15'::timestamp) - extract(epoch from '2026-07-28 09:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331609 -2.791054)'), GeomFromEWKT('SRID=4674;POINT (-40.331686 -2.791059)'))) / (select extract(epoch from '2026-07-28 09:05:15'::timestamp) - extract(epoch from '2026-07-28 09:04: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'), 47807, 'SRID=4674;POINT (-40.331723 -2.791082)', '2026-07-28 09:05:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331686 -2.791059)'), GeomFromEWKT('SRID=4674;POINT (-40.331723 -2.791082)'))) / (select extract(epoch from '2026-07-28 09:05:30'::timestamp) - extract(epoch from '2026-07-28 09:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331686 -2.791059)'), GeomFromEWKT('SRID=4674;POINT (-40.331723 -2.791082)'))) / (select extract(epoch from '2026-07-28 09:05:30'::timestamp) - extract(epoch from '2026-07-28 09:05:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331757 -2.791084)', '2026-07-28 09:05:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331723 -2.791082)'), GeomFromEWKT('SRID=4674;POINT (-40.331757 -2.791084)'))) / (select extract(epoch from '2026-07-28 09:05:39'::timestamp) - extract(epoch from '2026-07-28 09:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331723 -2.791082)'), GeomFromEWKT('SRID=4674;POINT (-40.331757 -2.791084)'))) / (select extract(epoch from '2026-07-28 09:05:39'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.331813 -2.791086)', '2026-07-28 09:05:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331757 -2.791084)'), GeomFromEWKT('SRID=4674;POINT (-40.331813 -2.791086)'))) / (select extract(epoch from '2026-07-28 09:05:55'::timestamp) - extract(epoch from '2026-07-28 09:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331757 -2.791084)'), GeomFromEWKT('SRID=4674;POINT (-40.331813 -2.791086)'))) / (select extract(epoch from '2026-07-28 09:05:55'::timestamp) - extract(epoch from '2026-07-28 09:05:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.331908 -2.791106)', '2026-07-28 09:06:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331813 -2.791086)'), GeomFromEWKT('SRID=4674;POINT (-40.331908 -2.791106)'))) / (select extract(epoch from '2026-07-28 09:06:16'::timestamp) - extract(epoch from '2026-07-28 09:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331813 -2.791086)'), GeomFromEWKT('SRID=4674;POINT (-40.331908 -2.791106)'))) / (select extract(epoch from '2026-07-28 09:06:16'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.332003 -2.791086)', '2026-07-28 09:06:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331908 -2.791106)'), GeomFromEWKT('SRID=4674;POINT (-40.332003 -2.791086)'))) / (select extract(epoch from '2026-07-28 09:06:34'::timestamp) - extract(epoch from '2026-07-28 09:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331908 -2.791106)'), GeomFromEWKT('SRID=4674;POINT (-40.332003 -2.791086)'))) / (select extract(epoch from '2026-07-28 09:06:34'::timestamp) - extract(epoch from '2026-07-28 09:06: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'), 47807, 'SRID=4674;POINT (-40.33209 -2.791087)', '2026-07-28 09:06:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332003 -2.791086)'), GeomFromEWKT('SRID=4674;POINT (-40.33209 -2.791087)'))) / (select extract(epoch from '2026-07-28 09:06:50'::timestamp) - extract(epoch from '2026-07-28 09:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332003 -2.791086)'), GeomFromEWKT('SRID=4674;POINT (-40.33209 -2.791087)'))) / (select extract(epoch from '2026-07-28 09:06:50'::timestamp) - extract(epoch from '2026-07-28 09:06: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'), 47807, 'SRID=4674;POINT (-40.33212 -2.791089)', '2026-07-28 09:07:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33209 -2.791087)'), GeomFromEWKT('SRID=4674;POINT (-40.33212 -2.791089)'))) / (select extract(epoch from '2026-07-28 09:07:04'::timestamp) - extract(epoch from '2026-07-28 09:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33209 -2.791087)'), GeomFromEWKT('SRID=4674;POINT (-40.33212 -2.791089)'))) / (select extract(epoch from '2026-07-28 09:07:04'::timestamp) - extract(epoch from '2026-07-28 09:06:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.332165 -2.791055)', '2026-07-28 09:07:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33212 -2.791089)'), GeomFromEWKT('SRID=4674;POINT (-40.332165 -2.791055)'))) / (select extract(epoch from '2026-07-28 09:07:18'::timestamp) - extract(epoch from '2026-07-28 09:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33212 -2.791089)'), GeomFromEWKT('SRID=4674;POINT (-40.332165 -2.791055)'))) / (select extract(epoch from '2026-07-28 09:07:18'::timestamp) - extract(epoch from '2026-07-28 09:07:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.33225 -2.791006)', '2026-07-28 09:07:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332165 -2.791055)'), GeomFromEWKT('SRID=4674;POINT (-40.33225 -2.791006)'))) / (select extract(epoch from '2026-07-28 09:07:34'::timestamp) - extract(epoch from '2026-07-28 09:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332165 -2.791055)'), GeomFromEWKT('SRID=4674;POINT (-40.33225 -2.791006)'))) / (select extract(epoch from '2026-07-28 09:07:34'::timestamp) - extract(epoch from '2026-07-28 09:07:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.332342 -2.790958)', '2026-07-28 09:07:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33225 -2.791006)'), GeomFromEWKT('SRID=4674;POINT (-40.332342 -2.790958)'))) / (select extract(epoch from '2026-07-28 09:07:53'::timestamp) - extract(epoch from '2026-07-28 09:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33225 -2.791006)'), GeomFromEWKT('SRID=4674;POINT (-40.332342 -2.790958)'))) / (select extract(epoch from '2026-07-28 09:07:53'::timestamp) - extract(epoch from '2026-07-28 09:07:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.332437 -2.790976)', '2026-07-28 09:08:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332342 -2.790958)'), GeomFromEWKT('SRID=4674;POINT (-40.332437 -2.790976)'))) / (select extract(epoch from '2026-07-28 09:08:09'::timestamp) - extract(epoch from '2026-07-28 09:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332342 -2.790958)'), GeomFromEWKT('SRID=4674;POINT (-40.332437 -2.790976)'))) / (select extract(epoch from '2026-07-28 09:08:09'::timestamp) - extract(epoch from '2026-07-28 09:07: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'), 47807, 'SRID=4674;POINT (-40.332521 -2.79101)', '2026-07-28 09:08:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332437 -2.790976)'), GeomFromEWKT('SRID=4674;POINT (-40.332521 -2.79101)'))) / (select extract(epoch from '2026-07-28 09:08:24'::timestamp) - extract(epoch from '2026-07-28 09:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332437 -2.790976)'), GeomFromEWKT('SRID=4674;POINT (-40.332521 -2.79101)'))) / (select extract(epoch from '2026-07-28 09:08:24'::timestamp) - extract(epoch from '2026-07-28 09:08: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'), 47807, 'SRID=4674;POINT (-40.332604 -2.791033)', '2026-07-28 09:08:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332521 -2.79101)'), GeomFromEWKT('SRID=4674;POINT (-40.332604 -2.791033)'))) / (select extract(epoch from '2026-07-28 09:08:40'::timestamp) - extract(epoch from '2026-07-28 09:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332521 -2.79101)'), GeomFromEWKT('SRID=4674;POINT (-40.332604 -2.791033)'))) / (select extract(epoch from '2026-07-28 09:08:40'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.332685 -2.791054)', '2026-07-28 09:08:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332604 -2.791033)'), GeomFromEWKT('SRID=4674;POINT (-40.332685 -2.791054)'))) / (select extract(epoch from '2026-07-28 09:08:56'::timestamp) - extract(epoch from '2026-07-28 09:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332604 -2.791033)'), GeomFromEWKT('SRID=4674;POINT (-40.332685 -2.791054)'))) / (select extract(epoch from '2026-07-28 09:08:56'::timestamp) - extract(epoch from '2026-07-28 09:08: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'), 47807, 'SRID=4674;POINT (-40.332747 -2.791075)', '2026-07-28 09:09:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332685 -2.791054)'), GeomFromEWKT('SRID=4674;POINT (-40.332747 -2.791075)'))) / (select extract(epoch from '2026-07-28 09:09:10'::timestamp) - extract(epoch from '2026-07-28 09:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332685 -2.791054)'), GeomFromEWKT('SRID=4674;POINT (-40.332747 -2.791075)'))) / (select extract(epoch from '2026-07-28 09:09:10'::timestamp) - extract(epoch from '2026-07-28 09:08: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'), 47807, 'SRID=4674;POINT (-40.332844 -2.79108)', '2026-07-28 09:09:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332747 -2.791075)'), GeomFromEWKT('SRID=4674;POINT (-40.332844 -2.79108)'))) / (select extract(epoch from '2026-07-28 09:09:28'::timestamp) - extract(epoch from '2026-07-28 09:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332747 -2.791075)'), GeomFromEWKT('SRID=4674;POINT (-40.332844 -2.79108)'))) / (select extract(epoch from '2026-07-28 09:09:28'::timestamp) - extract(epoch from '2026-07-28 09:09:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.332948 -2.791114)', '2026-07-28 09:09:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332844 -2.79108)'), GeomFromEWKT('SRID=4674;POINT (-40.332948 -2.791114)'))) / (select extract(epoch from '2026-07-28 09:09:47'::timestamp) - extract(epoch from '2026-07-28 09:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332844 -2.79108)'), GeomFromEWKT('SRID=4674;POINT (-40.332948 -2.791114)'))) / (select extract(epoch from '2026-07-28 09:09:47'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.333018 -2.791134)', '2026-07-28 09:10:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332948 -2.791114)'), GeomFromEWKT('SRID=4674;POINT (-40.333018 -2.791134)'))) / (select extract(epoch from '2026-07-28 09:10:02'::timestamp) - extract(epoch from '2026-07-28 09:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332948 -2.791114)'), GeomFromEWKT('SRID=4674;POINT (-40.333018 -2.791134)'))) / (select extract(epoch from '2026-07-28 09:10:02'::timestamp) - extract(epoch from '2026-07-28 09:09:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.333119 -2.79116)', '2026-07-28 09:10:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333018 -2.791134)'), GeomFromEWKT('SRID=4674;POINT (-40.333119 -2.79116)'))) / (select extract(epoch from '2026-07-28 09:10:19'::timestamp) - extract(epoch from '2026-07-28 09:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333018 -2.791134)'), GeomFromEWKT('SRID=4674;POINT (-40.333119 -2.79116)'))) / (select extract(epoch from '2026-07-28 09:10:19'::timestamp) - extract(epoch from '2026-07-28 09:10: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'), 47807, 'SRID=4674;POINT (-40.333182 -2.791203)', '2026-07-28 09:10:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333119 -2.79116)'), GeomFromEWKT('SRID=4674;POINT (-40.333182 -2.791203)'))) / (select extract(epoch from '2026-07-28 09:10:34'::timestamp) - extract(epoch from '2026-07-28 09:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333119 -2.79116)'), GeomFromEWKT('SRID=4674;POINT (-40.333182 -2.791203)'))) / (select extract(epoch from '2026-07-28 09:10:34'::timestamp) - extract(epoch from '2026-07-28 09:10: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'), 47807, 'SRID=4674;POINT (-40.333259 -2.791257)', '2026-07-28 09:10:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333182 -2.791203)'), GeomFromEWKT('SRID=4674;POINT (-40.333259 -2.791257)'))) / (select extract(epoch from '2026-07-28 09:10:51'::timestamp) - extract(epoch from '2026-07-28 09:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333182 -2.791203)'), GeomFromEWKT('SRID=4674;POINT (-40.333259 -2.791257)'))) / (select extract(epoch from '2026-07-28 09:10:51'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.333319 -2.79131)', '2026-07-28 09:11:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333259 -2.791257)'), GeomFromEWKT('SRID=4674;POINT (-40.333319 -2.79131)'))) / (select extract(epoch from '2026-07-28 09:11:07'::timestamp) - extract(epoch from '2026-07-28 09:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333259 -2.791257)'), GeomFromEWKT('SRID=4674;POINT (-40.333319 -2.79131)'))) / (select extract(epoch from '2026-07-28 09:11:07'::timestamp) - extract(epoch from '2026-07-28 09:10:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.333411 -2.791351)', '2026-07-28 09:11:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333319 -2.79131)'), GeomFromEWKT('SRID=4674;POINT (-40.333411 -2.791351)'))) / (select extract(epoch from '2026-07-28 09:11:26'::timestamp) - extract(epoch from '2026-07-28 09:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333319 -2.79131)'), GeomFromEWKT('SRID=4674;POINT (-40.333411 -2.791351)'))) / (select extract(epoch from '2026-07-28 09:11:26'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.333516 -2.791391)', '2026-07-28 09:11:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333411 -2.791351)'), GeomFromEWKT('SRID=4674;POINT (-40.333516 -2.791391)'))) / (select extract(epoch from '2026-07-28 09:11:44'::timestamp) - extract(epoch from '2026-07-28 09:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333411 -2.791351)'), GeomFromEWKT('SRID=4674;POINT (-40.333516 -2.791391)'))) / (select extract(epoch from '2026-07-28 09:11:44'::timestamp) - extract(epoch from '2026-07-28 09:11:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.333584 -2.791429)', '2026-07-28 09:11:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333516 -2.791391)'), GeomFromEWKT('SRID=4674;POINT (-40.333584 -2.791429)'))) / (select extract(epoch from '2026-07-28 09:11:58'::timestamp) - extract(epoch from '2026-07-28 09:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333516 -2.791391)'), GeomFromEWKT('SRID=4674;POINT (-40.333584 -2.791429)'))) / (select extract(epoch from '2026-07-28 09:11:58'::timestamp) - extract(epoch from '2026-07-28 09:11: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'), 47807, 'SRID=4674;POINT (-40.333613 -2.791455)', '2026-07-28 09:12:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333584 -2.791429)'), GeomFromEWKT('SRID=4674;POINT (-40.333613 -2.791455)'))) / (select extract(epoch from '2026-07-28 09:12:06'::timestamp) - extract(epoch from '2026-07-28 09:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333584 -2.791429)'), GeomFromEWKT('SRID=4674;POINT (-40.333613 -2.791455)'))) / (select extract(epoch from '2026-07-28 09:12:06'::timestamp) - extract(epoch from '2026-07-28 09:11: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'), 47807, 'SRID=4674;POINT (-40.333643 -2.791492)', '2026-07-28 09:12:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333613 -2.791455)'), GeomFromEWKT('SRID=4674;POINT (-40.333643 -2.791492)'))) / (select extract(epoch from '2026-07-28 09:12:14'::timestamp) - extract(epoch from '2026-07-28 09:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333613 -2.791455)'), GeomFromEWKT('SRID=4674;POINT (-40.333643 -2.791492)'))) / (select extract(epoch from '2026-07-28 09:12:14'::timestamp) - extract(epoch from '2026-07-28 09:12: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'), 47807, 'SRID=4674;POINT (-40.333648 -2.791498)', '2026-07-28 09:12:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333643 -2.791492)'), GeomFromEWKT('SRID=4674;POINT (-40.333648 -2.791498)'))) / (select extract(epoch from '2026-07-28 09:12:15'::timestamp) - extract(epoch from '2026-07-28 09:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333643 -2.791492)'), GeomFromEWKT('SRID=4674;POINT (-40.333648 -2.791498)'))) / (select extract(epoch from '2026-07-28 09:12:15'::timestamp) - extract(epoch from '2026-07-28 09:12: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'), 47807, 'SRID=4674;POINT (-40.333656 -2.791521)', '2026-07-28 09:12:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333648 -2.791498)'), GeomFromEWKT('SRID=4674;POINT (-40.333656 -2.791521)'))) / (select extract(epoch from '2026-07-28 09:12:20'::timestamp) - extract(epoch from '2026-07-28 09:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333648 -2.791498)'), GeomFromEWKT('SRID=4674;POINT (-40.333656 -2.791521)'))) / (select extract(epoch from '2026-07-28 09:12:20'::timestamp) - extract(epoch from '2026-07-28 09:12: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'), 47807, 'SRID=4674;POINT (-40.333702 -2.791573)', '2026-07-28 09:12:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333656 -2.791521)'), GeomFromEWKT('SRID=4674;POINT (-40.333702 -2.791573)'))) / (select extract(epoch from '2026-07-28 09:12:29'::timestamp) - extract(epoch from '2026-07-28 09:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333656 -2.791521)'), GeomFromEWKT('SRID=4674;POINT (-40.333702 -2.791573)'))) / (select extract(epoch from '2026-07-28 09:12:29'::timestamp) - extract(epoch from '2026-07-28 09:12: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'), 47807, 'SRID=4674;POINT (-40.333742 -2.791628)', '2026-07-28 09:12:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333702 -2.791573)'), GeomFromEWKT('SRID=4674;POINT (-40.333742 -2.791628)'))) / (select extract(epoch from '2026-07-28 09:12:38'::timestamp) - extract(epoch from '2026-07-28 09:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333702 -2.791573)'), GeomFromEWKT('SRID=4674;POINT (-40.333742 -2.791628)'))) / (select extract(epoch from '2026-07-28 09:12:38'::timestamp) - extract(epoch from '2026-07-28 09:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.333773 -2.791681)', '2026-07-28 09:12:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333742 -2.791628)'), GeomFromEWKT('SRID=4674;POINT (-40.333773 -2.791681)'))) / (select extract(epoch from '2026-07-28 09:12:47'::timestamp) - extract(epoch from '2026-07-28 09:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333742 -2.791628)'), GeomFromEWKT('SRID=4674;POINT (-40.333773 -2.791681)'))) / (select extract(epoch from '2026-07-28 09:12:47'::timestamp) - extract(epoch from '2026-07-28 09:12:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.333822 -2.791734)', '2026-07-28 09:12:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333773 -2.791681)'), GeomFromEWKT('SRID=4674;POINT (-40.333822 -2.791734)'))) / (select extract(epoch from '2026-07-28 09:12:54'::timestamp) - extract(epoch from '2026-07-28 09:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333773 -2.791681)'), GeomFromEWKT('SRID=4674;POINT (-40.333822 -2.791734)'))) / (select extract(epoch from '2026-07-28 09:12:54'::timestamp) - extract(epoch from '2026-07-28 09:12: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'), 47807, 'SRID=4674;POINT (-40.333825 -2.791744)', '2026-07-28 09:12:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333822 -2.791734)'), GeomFromEWKT('SRID=4674;POINT (-40.333825 -2.791744)'))) / (select extract(epoch from '2026-07-28 09:12:55'::timestamp) - extract(epoch from '2026-07-28 09:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333822 -2.791734)'), GeomFromEWKT('SRID=4674;POINT (-40.333825 -2.791744)'))) / (select extract(epoch from '2026-07-28 09:12:55'::timestamp) - extract(epoch from '2026-07-28 09:12: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'), 47807, 'SRID=4674;POINT (-40.333848 -2.79181)', '2026-07-28 09:13:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333825 -2.791744)'), GeomFromEWKT('SRID=4674;POINT (-40.333848 -2.79181)'))) / (select extract(epoch from '2026-07-28 09:13:00'::timestamp) - extract(epoch from '2026-07-28 09:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333825 -2.791744)'), GeomFromEWKT('SRID=4674;POINT (-40.333848 -2.79181)'))) / (select extract(epoch from '2026-07-28 09:13:00'::timestamp) - extract(epoch from '2026-07-28 09:12:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.333934 -2.791947)', '2026-07-28 09:13:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333848 -2.79181)'), GeomFromEWKT('SRID=4674;POINT (-40.333934 -2.791947)'))) / (select extract(epoch from '2026-07-28 09:13:08'::timestamp) - extract(epoch from '2026-07-28 09:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333848 -2.79181)'), GeomFromEWKT('SRID=4674;POINT (-40.333934 -2.791947)'))) / (select extract(epoch from '2026-07-28 09:13:08'::timestamp) - extract(epoch from '2026-07-28 09:13:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.334065 -2.792085)', '2026-07-28 09:13:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333934 -2.791947)'), GeomFromEWKT('SRID=4674;POINT (-40.334065 -2.792085)'))) / (select extract(epoch from '2026-07-28 09:13:15'::timestamp) - extract(epoch from '2026-07-28 09:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333934 -2.791947)'), GeomFromEWKT('SRID=4674;POINT (-40.334065 -2.792085)'))) / (select extract(epoch from '2026-07-28 09:13:15'::timestamp) - extract(epoch from '2026-07-28 09:13:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.334236 -2.792246)', '2026-07-28 09:13:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334065 -2.792085)'), GeomFromEWKT('SRID=4674;POINT (-40.334236 -2.792246)'))) / (select extract(epoch from '2026-07-28 09:13:23'::timestamp) - extract(epoch from '2026-07-28 09:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334065 -2.792085)'), GeomFromEWKT('SRID=4674;POINT (-40.334236 -2.792246)'))) / (select extract(epoch from '2026-07-28 09:13:23'::timestamp) - extract(epoch from '2026-07-28 09:13: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'), 47807, 'SRID=4674;POINT (-40.334409 -2.792386)', '2026-07-28 09:13:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334236 -2.792246)'), GeomFromEWKT('SRID=4674;POINT (-40.334409 -2.792386)'))) / (select extract(epoch from '2026-07-28 09:13:31'::timestamp) - extract(epoch from '2026-07-28 09:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334236 -2.792246)'), GeomFromEWKT('SRID=4674;POINT (-40.334409 -2.792386)'))) / (select extract(epoch from '2026-07-28 09:13:31'::timestamp) - extract(epoch from '2026-07-28 09:13: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'), 47807, 'SRID=4674;POINT (-40.334596 -2.792495)', '2026-07-28 09:13:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334409 -2.792386)'), GeomFromEWKT('SRID=4674;POINT (-40.334596 -2.792495)'))) / (select extract(epoch from '2026-07-28 09:13:39'::timestamp) - extract(epoch from '2026-07-28 09:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334409 -2.792386)'), GeomFromEWKT('SRID=4674;POINT (-40.334596 -2.792495)'))) / (select extract(epoch from '2026-07-28 09:13:39'::timestamp) - extract(epoch from '2026-07-28 09:13: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'), 47807, 'SRID=4674;POINT (-40.334779 -2.792595)', '2026-07-28 09:13:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334596 -2.792495)'), GeomFromEWKT('SRID=4674;POINT (-40.334779 -2.792595)'))) / (select extract(epoch from '2026-07-28 09:13:47'::timestamp) - extract(epoch from '2026-07-28 09:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334596 -2.792495)'), GeomFromEWKT('SRID=4674;POINT (-40.334779 -2.792595)'))) / (select extract(epoch from '2026-07-28 09:13:47'::timestamp) - extract(epoch from '2026-07-28 09:13: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'), 47807, 'SRID=4674;POINT (-40.334926 -2.792708)', '2026-07-28 09:13:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334779 -2.792595)'), GeomFromEWKT('SRID=4674;POINT (-40.334926 -2.792708)'))) / (select extract(epoch from '2026-07-28 09:13:54'::timestamp) - extract(epoch from '2026-07-28 09:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334779 -2.792595)'), GeomFromEWKT('SRID=4674;POINT (-40.334926 -2.792708)'))) / (select extract(epoch from '2026-07-28 09:13:54'::timestamp) - extract(epoch from '2026-07-28 09:13: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'), 47807, 'SRID=4674;POINT (-40.335087 -2.792829)', '2026-07-28 09:14:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334926 -2.792708)'), GeomFromEWKT('SRID=4674;POINT (-40.335087 -2.792829)'))) / (select extract(epoch from '2026-07-28 09:14:01'::timestamp) - extract(epoch from '2026-07-28 09:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334926 -2.792708)'), GeomFromEWKT('SRID=4674;POINT (-40.335087 -2.792829)'))) / (select extract(epoch from '2026-07-28 09:14:01'::timestamp) - extract(epoch from '2026-07-28 09:13: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'), 47807, 'SRID=4674;POINT (-40.335243 -2.792928)', '2026-07-28 09:14:09', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335087 -2.792829)'), GeomFromEWKT('SRID=4674;POINT (-40.335243 -2.792928)'))) / (select extract(epoch from '2026-07-28 09:14:09'::timestamp) - extract(epoch from '2026-07-28 09:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335087 -2.792829)'), GeomFromEWKT('SRID=4674;POINT (-40.335243 -2.792928)'))) / (select extract(epoch from '2026-07-28 09:14:09'::timestamp) - extract(epoch from '2026-07-28 09:14:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.33539 -2.792994)', '2026-07-28 09:14:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335243 -2.792928)'), GeomFromEWKT('SRID=4674;POINT (-40.33539 -2.792994)'))) / (select extract(epoch from '2026-07-28 09:14:15'::timestamp) - extract(epoch from '2026-07-28 09:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335243 -2.792928)'), GeomFromEWKT('SRID=4674;POINT (-40.33539 -2.792994)'))) / (select extract(epoch from '2026-07-28 09:14:15'::timestamp) - extract(epoch from '2026-07-28 09:14:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.33559 -2.793125)', '2026-07-28 09:14:24', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33539 -2.792994)'), GeomFromEWKT('SRID=4674;POINT (-40.33559 -2.793125)'))) / (select extract(epoch from '2026-07-28 09:14:24'::timestamp) - extract(epoch from '2026-07-28 09:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33539 -2.792994)'), GeomFromEWKT('SRID=4674;POINT (-40.33559 -2.793125)'))) / (select extract(epoch from '2026-07-28 09:14:24'::timestamp) - extract(epoch from '2026-07-28 09:14: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'), 47807, 'SRID=4674;POINT (-40.335805 -2.793258)', '2026-07-28 09:14:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33559 -2.793125)'), GeomFromEWKT('SRID=4674;POINT (-40.335805 -2.793258)'))) / (select extract(epoch from '2026-07-28 09:14:34'::timestamp) - extract(epoch from '2026-07-28 09:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33559 -2.793125)'), GeomFromEWKT('SRID=4674;POINT (-40.335805 -2.793258)'))) / (select extract(epoch from '2026-07-28 09:14:34'::timestamp) - extract(epoch from '2026-07-28 09:14: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'), 47807, 'SRID=4674;POINT (-40.335956 -2.793323)', '2026-07-28 09:14:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335805 -2.793258)'), GeomFromEWKT('SRID=4674;POINT (-40.335956 -2.793323)'))) / (select extract(epoch from '2026-07-28 09:14:41'::timestamp) - extract(epoch from '2026-07-28 09:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335805 -2.793258)'), GeomFromEWKT('SRID=4674;POINT (-40.335956 -2.793323)'))) / (select extract(epoch from '2026-07-28 09:14:41'::timestamp) - extract(epoch from '2026-07-28 09:14: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'), 47807, 'SRID=4674;POINT (-40.336135 -2.79342)', '2026-07-28 09:14:48', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335956 -2.793323)'), GeomFromEWKT('SRID=4674;POINT (-40.336135 -2.79342)'))) / (select extract(epoch from '2026-07-28 09:14:48'::timestamp) - extract(epoch from '2026-07-28 09:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335956 -2.793323)'), GeomFromEWKT('SRID=4674;POINT (-40.336135 -2.79342)'))) / (select extract(epoch from '2026-07-28 09:14:48'::timestamp) - extract(epoch from '2026-07-28 09:14: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'), 47807, 'SRID=4674;POINT (-40.336291 -2.793476)', '2026-07-28 09:14:55', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336135 -2.79342)'), GeomFromEWKT('SRID=4674;POINT (-40.336291 -2.793476)'))) / (select extract(epoch from '2026-07-28 09:14:55'::timestamp) - extract(epoch from '2026-07-28 09:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336135 -2.79342)'), GeomFromEWKT('SRID=4674;POINT (-40.336291 -2.793476)'))) / (select extract(epoch from '2026-07-28 09:14:55'::timestamp) - extract(epoch from '2026-07-28 09:14:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.336507 -2.793586)', '2026-07-28 09:15:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336291 -2.793476)'), GeomFromEWKT('SRID=4674;POINT (-40.336507 -2.793586)'))) / (select extract(epoch from '2026-07-28 09:15:04'::timestamp) - extract(epoch from '2026-07-28 09:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336291 -2.793476)'), GeomFromEWKT('SRID=4674;POINT (-40.336507 -2.793586)'))) / (select extract(epoch from '2026-07-28 09:15:04'::timestamp) - extract(epoch from '2026-07-28 09:14: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'), 47807, 'SRID=4674;POINT (-40.336666 -2.793699)', '2026-07-28 09:15:11', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336507 -2.793586)'), GeomFromEWKT('SRID=4674;POINT (-40.336666 -2.793699)'))) / (select extract(epoch from '2026-07-28 09:15:11'::timestamp) - extract(epoch from '2026-07-28 09:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336507 -2.793586)'), GeomFromEWKT('SRID=4674;POINT (-40.336666 -2.793699)'))) / (select extract(epoch from '2026-07-28 09:15:11'::timestamp) - extract(epoch from '2026-07-28 09:15: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'), 47807, 'SRID=4674;POINT (-40.336849 -2.793804)', '2026-07-28 09:15:19', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336666 -2.793699)'), GeomFromEWKT('SRID=4674;POINT (-40.336849 -2.793804)'))) / (select extract(epoch from '2026-07-28 09:15:19'::timestamp) - extract(epoch from '2026-07-28 09:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336666 -2.793699)'), GeomFromEWKT('SRID=4674;POINT (-40.336849 -2.793804)'))) / (select extract(epoch from '2026-07-28 09:15:19'::timestamp) - extract(epoch from '2026-07-28 09:15:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.337033 -2.793882)', '2026-07-28 09:15:27', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336849 -2.793804)'), GeomFromEWKT('SRID=4674;POINT (-40.337033 -2.793882)'))) / (select extract(epoch from '2026-07-28 09:15:27'::timestamp) - extract(epoch from '2026-07-28 09:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336849 -2.793804)'), GeomFromEWKT('SRID=4674;POINT (-40.337033 -2.793882)'))) / (select extract(epoch from '2026-07-28 09:15:27'::timestamp) - extract(epoch from '2026-07-28 09:15: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'), 47807, 'SRID=4674;POINT (-40.337228 -2.793982)', '2026-07-28 09:15:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337033 -2.793882)'), GeomFromEWKT('SRID=4674;POINT (-40.337228 -2.793982)'))) / (select extract(epoch from '2026-07-28 09:15:35'::timestamp) - extract(epoch from '2026-07-28 09:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337033 -2.793882)'), GeomFromEWKT('SRID=4674;POINT (-40.337228 -2.793982)'))) / (select extract(epoch from '2026-07-28 09:15:35'::timestamp) - extract(epoch from '2026-07-28 09:15: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'), 47807, 'SRID=4674;POINT (-40.33744 -2.794089)', '2026-07-28 09:15:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337228 -2.793982)'), GeomFromEWKT('SRID=4674;POINT (-40.33744 -2.794089)'))) / (select extract(epoch from '2026-07-28 09:15:44'::timestamp) - extract(epoch from '2026-07-28 09:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337228 -2.793982)'), GeomFromEWKT('SRID=4674;POINT (-40.33744 -2.794089)'))) / (select extract(epoch from '2026-07-28 09:15:44'::timestamp) - extract(epoch from '2026-07-28 09:15:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.337653 -2.794194)', '2026-07-28 09:15:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33744 -2.794089)'), GeomFromEWKT('SRID=4674;POINT (-40.337653 -2.794194)'))) / (select extract(epoch from '2026-07-28 09:15:52'::timestamp) - extract(epoch from '2026-07-28 09:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33744 -2.794089)'), GeomFromEWKT('SRID=4674;POINT (-40.337653 -2.794194)'))) / (select extract(epoch from '2026-07-28 09:15:52'::timestamp) - extract(epoch from '2026-07-28 09:15: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'), 47807, 'SRID=4674;POINT (-40.337859 -2.79431)', '2026-07-28 09:16:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337653 -2.794194)'), GeomFromEWKT('SRID=4674;POINT (-40.337859 -2.79431)'))) / (select extract(epoch from '2026-07-28 09:16:01'::timestamp) - extract(epoch from '2026-07-28 09:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337653 -2.794194)'), GeomFromEWKT('SRID=4674;POINT (-40.337859 -2.79431)'))) / (select extract(epoch from '2026-07-28 09:16:01'::timestamp) - extract(epoch from '2026-07-28 09:15:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.338068 -2.794421)', '2026-07-28 09:16:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337859 -2.79431)'), GeomFromEWKT('SRID=4674;POINT (-40.338068 -2.794421)'))) / (select extract(epoch from '2026-07-28 09:16:09'::timestamp) - extract(epoch from '2026-07-28 09:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337859 -2.79431)'), GeomFromEWKT('SRID=4674;POINT (-40.338068 -2.794421)'))) / (select extract(epoch from '2026-07-28 09:16:09'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.338252 -2.794527)', '2026-07-28 09:16:17', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338068 -2.794421)'), GeomFromEWKT('SRID=4674;POINT (-40.338252 -2.794527)'))) / (select extract(epoch from '2026-07-28 09:16:17'::timestamp) - extract(epoch from '2026-07-28 09:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338068 -2.794421)'), GeomFromEWKT('SRID=4674;POINT (-40.338252 -2.794527)'))) / (select extract(epoch from '2026-07-28 09:16:17'::timestamp) - extract(epoch from '2026-07-28 09:16: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'), 47807, 'SRID=4674;POINT (-40.33842 -2.794601)', '2026-07-28 09:16:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338252 -2.794527)'), GeomFromEWKT('SRID=4674;POINT (-40.33842 -2.794601)'))) / (select extract(epoch from '2026-07-28 09:16:24'::timestamp) - extract(epoch from '2026-07-28 09:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338252 -2.794527)'), GeomFromEWKT('SRID=4674;POINT (-40.33842 -2.794601)'))) / (select extract(epoch from '2026-07-28 09:16:24'::timestamp) - extract(epoch from '2026-07-28 09:16: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'), 47807, 'SRID=4674;POINT (-40.338614 -2.794715)', '2026-07-28 09:16:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33842 -2.794601)'), GeomFromEWKT('SRID=4674;POINT (-40.338614 -2.794715)'))) / (select extract(epoch from '2026-07-28 09:16:32'::timestamp) - extract(epoch from '2026-07-28 09:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33842 -2.794601)'), GeomFromEWKT('SRID=4674;POINT (-40.338614 -2.794715)'))) / (select extract(epoch from '2026-07-28 09:16:32'::timestamp) - extract(epoch from '2026-07-28 09:16: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'), 47807, 'SRID=4674;POINT (-40.338848 -2.794811)', '2026-07-28 09:16:41', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338614 -2.794715)'), GeomFromEWKT('SRID=4674;POINT (-40.338848 -2.794811)'))) / (select extract(epoch from '2026-07-28 09:16:41'::timestamp) - extract(epoch from '2026-07-28 09:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338614 -2.794715)'), GeomFromEWKT('SRID=4674;POINT (-40.338848 -2.794811)'))) / (select extract(epoch from '2026-07-28 09:16:41'::timestamp) - extract(epoch from '2026-07-28 09:16: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'), 47807, 'SRID=4674;POINT (-40.339063 -2.794924)', '2026-07-28 09:16:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338848 -2.794811)'), GeomFromEWKT('SRID=4674;POINT (-40.339063 -2.794924)'))) / (select extract(epoch from '2026-07-28 09:16:50'::timestamp) - extract(epoch from '2026-07-28 09:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338848 -2.794811)'), GeomFromEWKT('SRID=4674;POINT (-40.339063 -2.794924)'))) / (select extract(epoch from '2026-07-28 09:16:50'::timestamp) - extract(epoch from '2026-07-28 09:16: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'), 47807, 'SRID=4674;POINT (-40.339266 -2.795001)', '2026-07-28 09:16:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339063 -2.794924)'), GeomFromEWKT('SRID=4674;POINT (-40.339266 -2.795001)'))) / (select extract(epoch from '2026-07-28 09:16:58'::timestamp) - extract(epoch from '2026-07-28 09:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339063 -2.794924)'), GeomFromEWKT('SRID=4674;POINT (-40.339266 -2.795001)'))) / (select extract(epoch from '2026-07-28 09:16:58'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.339519 -2.795098)', '2026-07-28 09:17:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339266 -2.795001)'), GeomFromEWKT('SRID=4674;POINT (-40.339519 -2.795098)'))) / (select extract(epoch from '2026-07-28 09:17:07'::timestamp) - extract(epoch from '2026-07-28 09:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339266 -2.795001)'), GeomFromEWKT('SRID=4674;POINT (-40.339519 -2.795098)'))) / (select extract(epoch from '2026-07-28 09:17:07'::timestamp) - extract(epoch from '2026-07-28 09:16: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'), 47807, 'SRID=4674;POINT (-40.339729 -2.795191)', '2026-07-28 09:17:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339519 -2.795098)'), GeomFromEWKT('SRID=4674;POINT (-40.339729 -2.795191)'))) / (select extract(epoch from '2026-07-28 09:17:15'::timestamp) - extract(epoch from '2026-07-28 09:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339519 -2.795098)'), GeomFromEWKT('SRID=4674;POINT (-40.339729 -2.795191)'))) / (select extract(epoch from '2026-07-28 09:17:15'::timestamp) - extract(epoch from '2026-07-28 09:17:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.339906 -2.795297)', '2026-07-28 09:17:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339729 -2.795191)'), GeomFromEWKT('SRID=4674;POINT (-40.339906 -2.795297)'))) / (select extract(epoch from '2026-07-28 09:17:22'::timestamp) - extract(epoch from '2026-07-28 09:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339729 -2.795191)'), GeomFromEWKT('SRID=4674;POINT (-40.339906 -2.795297)'))) / (select extract(epoch from '2026-07-28 09:17:22'::timestamp) - extract(epoch from '2026-07-28 09:17: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'), 47807, 'SRID=4674;POINT (-40.340093 -2.79541)', '2026-07-28 09:17:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339906 -2.795297)'), GeomFromEWKT('SRID=4674;POINT (-40.340093 -2.79541)'))) / (select extract(epoch from '2026-07-28 09:17:29'::timestamp) - extract(epoch from '2026-07-28 09:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339906 -2.795297)'), GeomFromEWKT('SRID=4674;POINT (-40.340093 -2.79541)'))) / (select extract(epoch from '2026-07-28 09:17:29'::timestamp) - extract(epoch from '2026-07-28 09:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.340268 -2.79551)', '2026-07-28 09:17:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340093 -2.79541)'), GeomFromEWKT('SRID=4674;POINT (-40.340268 -2.79551)'))) / (select extract(epoch from '2026-07-28 09:17:36'::timestamp) - extract(epoch from '2026-07-28 09:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340093 -2.79541)'), GeomFromEWKT('SRID=4674;POINT (-40.340268 -2.79551)'))) / (select extract(epoch from '2026-07-28 09:17:36'::timestamp) - extract(epoch from '2026-07-28 09:17: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'), 47807, 'SRID=4674;POINT (-40.340407 -2.795608)', '2026-07-28 09:17:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340268 -2.79551)'), GeomFromEWKT('SRID=4674;POINT (-40.340407 -2.795608)'))) / (select extract(epoch from '2026-07-28 09:17:43'::timestamp) - extract(epoch from '2026-07-28 09:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340268 -2.79551)'), GeomFromEWKT('SRID=4674;POINT (-40.340407 -2.795608)'))) / (select extract(epoch from '2026-07-28 09:17:43'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.340617 -2.795731)', '2026-07-28 09:17:52', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340407 -2.795608)'), GeomFromEWKT('SRID=4674;POINT (-40.340617 -2.795731)'))) / (select extract(epoch from '2026-07-28 09:17:52'::timestamp) - extract(epoch from '2026-07-28 09:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340407 -2.795608)'), GeomFromEWKT('SRID=4674;POINT (-40.340617 -2.795731)'))) / (select extract(epoch from '2026-07-28 09:17:52'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.340824 -2.795845)', '2026-07-28 09:18:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340617 -2.795731)'), GeomFromEWKT('SRID=4674;POINT (-40.340824 -2.795845)'))) / (select extract(epoch from '2026-07-28 09:18:00'::timestamp) - extract(epoch from '2026-07-28 09:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340617 -2.795731)'), GeomFromEWKT('SRID=4674;POINT (-40.340824 -2.795845)'))) / (select extract(epoch from '2026-07-28 09:18:00'::timestamp) - extract(epoch from '2026-07-28 09:17: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'), 47807, 'SRID=4674;POINT (-40.340991 -2.795974)', '2026-07-28 09:18:07', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340824 -2.795845)'), GeomFromEWKT('SRID=4674;POINT (-40.340991 -2.795974)'))) / (select extract(epoch from '2026-07-28 09:18:07'::timestamp) - extract(epoch from '2026-07-28 09:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340824 -2.795845)'), GeomFromEWKT('SRID=4674;POINT (-40.340991 -2.795974)'))) / (select extract(epoch from '2026-07-28 09:18:07'::timestamp) - extract(epoch from '2026-07-28 09:18:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.341175 -2.796127)', '2026-07-28 09:18:15', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340991 -2.795974)'), GeomFromEWKT('SRID=4674;POINT (-40.341175 -2.796127)'))) / (select extract(epoch from '2026-07-28 09:18:15'::timestamp) - extract(epoch from '2026-07-28 09:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340991 -2.795974)'), GeomFromEWKT('SRID=4674;POINT (-40.341175 -2.796127)'))) / (select extract(epoch from '2026-07-28 09:18:15'::timestamp) - extract(epoch from '2026-07-28 09:18: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'), 47807, 'SRID=4674;POINT (-40.341387 -2.79629)', '2026-07-28 09:18:24', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341175 -2.796127)'), GeomFromEWKT('SRID=4674;POINT (-40.341387 -2.79629)'))) / (select extract(epoch from '2026-07-28 09:18:24'::timestamp) - extract(epoch from '2026-07-28 09:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341175 -2.796127)'), GeomFromEWKT('SRID=4674;POINT (-40.341387 -2.79629)'))) / (select extract(epoch from '2026-07-28 09:18:24'::timestamp) - extract(epoch from '2026-07-28 09:18: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'), 47807, 'SRID=4674;POINT (-40.34159 -2.796393)', '2026-07-28 09:18:32', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341387 -2.79629)'), GeomFromEWKT('SRID=4674;POINT (-40.34159 -2.796393)'))) / (select extract(epoch from '2026-07-28 09:18:32'::timestamp) - extract(epoch from '2026-07-28 09:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341387 -2.79629)'), GeomFromEWKT('SRID=4674;POINT (-40.34159 -2.796393)'))) / (select extract(epoch from '2026-07-28 09:18:32'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.341761 -2.796486)', '2026-07-28 09:18:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34159 -2.796393)'), GeomFromEWKT('SRID=4674;POINT (-40.341761 -2.796486)'))) / (select extract(epoch from '2026-07-28 09:18:40'::timestamp) - extract(epoch from '2026-07-28 09:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34159 -2.796393)'), GeomFromEWKT('SRID=4674;POINT (-40.341761 -2.796486)'))) / (select extract(epoch from '2026-07-28 09:18:40'::timestamp) - extract(epoch from '2026-07-28 09:18: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'), 47807, 'SRID=4674;POINT (-40.341919 -2.796568)', '2026-07-28 09:18:46', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341761 -2.796486)'), GeomFromEWKT('SRID=4674;POINT (-40.341919 -2.796568)'))) / (select extract(epoch from '2026-07-28 09:18:46'::timestamp) - extract(epoch from '2026-07-28 09:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341761 -2.796486)'), GeomFromEWKT('SRID=4674;POINT (-40.341919 -2.796568)'))) / (select extract(epoch from '2026-07-28 09:18:46'::timestamp) - extract(epoch from '2026-07-28 09:18:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.342075 -2.796691)', '2026-07-28 09:18:53', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341919 -2.796568)'), GeomFromEWKT('SRID=4674;POINT (-40.342075 -2.796691)'))) / (select extract(epoch from '2026-07-28 09:18:53'::timestamp) - extract(epoch from '2026-07-28 09:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341919 -2.796568)'), GeomFromEWKT('SRID=4674;POINT (-40.342075 -2.796691)'))) / (select extract(epoch from '2026-07-28 09:18:53'::timestamp) - extract(epoch from '2026-07-28 09:18: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'), 47807, 'SRID=4674;POINT (-40.342252 -2.796842)', '2026-07-28 09:19:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342075 -2.796691)'), GeomFromEWKT('SRID=4674;POINT (-40.342252 -2.796842)'))) / (select extract(epoch from '2026-07-28 09:19:01'::timestamp) - extract(epoch from '2026-07-28 09:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342075 -2.796691)'), GeomFromEWKT('SRID=4674;POINT (-40.342252 -2.796842)'))) / (select extract(epoch from '2026-07-28 09:19:01'::timestamp) - extract(epoch from '2026-07-28 09:18: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'), 47807, 'SRID=4674;POINT (-40.342462 -2.797012)', '2026-07-28 09:19:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342252 -2.796842)'), GeomFromEWKT('SRID=4674;POINT (-40.342462 -2.797012)'))) / (select extract(epoch from '2026-07-28 09:19:11'::timestamp) - extract(epoch from '2026-07-28 09:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342252 -2.796842)'), GeomFromEWKT('SRID=4674;POINT (-40.342462 -2.797012)'))) / (select extract(epoch from '2026-07-28 09:19:11'::timestamp) - extract(epoch from '2026-07-28 09:19:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.342652 -2.79715)', '2026-07-28 09:19:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342462 -2.797012)'), GeomFromEWKT('SRID=4674;POINT (-40.342652 -2.79715)'))) / (select extract(epoch from '2026-07-28 09:19:20'::timestamp) - extract(epoch from '2026-07-28 09:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342462 -2.797012)'), GeomFromEWKT('SRID=4674;POINT (-40.342652 -2.79715)'))) / (select extract(epoch from '2026-07-28 09:19:20'::timestamp) - extract(epoch from '2026-07-28 09:19: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'), 47807, 'SRID=4674;POINT (-40.342855 -2.797284)', '2026-07-28 09:19:29', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342652 -2.79715)'), GeomFromEWKT('SRID=4674;POINT (-40.342855 -2.797284)'))) / (select extract(epoch from '2026-07-28 09:19:29'::timestamp) - extract(epoch from '2026-07-28 09:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342652 -2.79715)'), GeomFromEWKT('SRID=4674;POINT (-40.342855 -2.797284)'))) / (select extract(epoch from '2026-07-28 09:19:29'::timestamp) - extract(epoch from '2026-07-28 09:19: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'), 47807, 'SRID=4674;POINT (-40.343049 -2.797432)', '2026-07-28 09:19:37', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342855 -2.797284)'), GeomFromEWKT('SRID=4674;POINT (-40.343049 -2.797432)'))) / (select extract(epoch from '2026-07-28 09:19:37'::timestamp) - extract(epoch from '2026-07-28 09:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342855 -2.797284)'), GeomFromEWKT('SRID=4674;POINT (-40.343049 -2.797432)'))) / (select extract(epoch from '2026-07-28 09:19:37'::timestamp) - extract(epoch from '2026-07-28 09:19: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'), 47807, 'SRID=4674;POINT (-40.343276 -2.797615)', '2026-07-28 09:19:46', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343049 -2.797432)'), GeomFromEWKT('SRID=4674;POINT (-40.343276 -2.797615)'))) / (select extract(epoch from '2026-07-28 09:19:46'::timestamp) - extract(epoch from '2026-07-28 09:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343049 -2.797432)'), GeomFromEWKT('SRID=4674;POINT (-40.343276 -2.797615)'))) / (select extract(epoch from '2026-07-28 09:19:46'::timestamp) - extract(epoch from '2026-07-28 09:19: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'), 47807, 'SRID=4674;POINT (-40.343454 -2.797735)', '2026-07-28 09:19:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343276 -2.797615)'), GeomFromEWKT('SRID=4674;POINT (-40.343454 -2.797735)'))) / (select extract(epoch from '2026-07-28 09:19:53'::timestamp) - extract(epoch from '2026-07-28 09:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343276 -2.797615)'), GeomFromEWKT('SRID=4674;POINT (-40.343454 -2.797735)'))) / (select extract(epoch from '2026-07-28 09:19:53'::timestamp) - extract(epoch from '2026-07-28 09:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.34363 -2.797868)', '2026-07-28 09:20:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343454 -2.797735)'), GeomFromEWKT('SRID=4674;POINT (-40.34363 -2.797868)'))) / (select extract(epoch from '2026-07-28 09:20:01'::timestamp) - extract(epoch from '2026-07-28 09:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343454 -2.797735)'), GeomFromEWKT('SRID=4674;POINT (-40.34363 -2.797868)'))) / (select extract(epoch from '2026-07-28 09:20:01'::timestamp) - extract(epoch from '2026-07-28 09:19:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.343825 -2.797991)', '2026-07-28 09:20:10', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34363 -2.797868)'), GeomFromEWKT('SRID=4674;POINT (-40.343825 -2.797991)'))) / (select extract(epoch from '2026-07-28 09:20:10'::timestamp) - extract(epoch from '2026-07-28 09:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34363 -2.797868)'), GeomFromEWKT('SRID=4674;POINT (-40.343825 -2.797991)'))) / (select extract(epoch from '2026-07-28 09:20:10'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.344038 -2.798115)', '2026-07-28 09:20:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343825 -2.797991)'), GeomFromEWKT('SRID=4674;POINT (-40.344038 -2.798115)'))) / (select extract(epoch from '2026-07-28 09:20:19'::timestamp) - extract(epoch from '2026-07-28 09:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343825 -2.797991)'), GeomFromEWKT('SRID=4674;POINT (-40.344038 -2.798115)'))) / (select extract(epoch from '2026-07-28 09:20:19'::timestamp) - extract(epoch from '2026-07-28 09:20: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'), 47807, 'SRID=4674;POINT (-40.344225 -2.798266)', '2026-07-28 09:20:28', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344038 -2.798115)'), GeomFromEWKT('SRID=4674;POINT (-40.344225 -2.798266)'))) / (select extract(epoch from '2026-07-28 09:20:28'::timestamp) - extract(epoch from '2026-07-28 09:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344038 -2.798115)'), GeomFromEWKT('SRID=4674;POINT (-40.344225 -2.798266)'))) / (select extract(epoch from '2026-07-28 09:20:28'::timestamp) - extract(epoch from '2026-07-28 09:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.344403 -2.798382)', '2026-07-28 09:20:35', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344225 -2.798266)'), GeomFromEWKT('SRID=4674;POINT (-40.344403 -2.798382)'))) / (select extract(epoch from '2026-07-28 09:20:35'::timestamp) - extract(epoch from '2026-07-28 09:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344225 -2.798266)'), GeomFromEWKT('SRID=4674;POINT (-40.344403 -2.798382)'))) / (select extract(epoch from '2026-07-28 09:20:35'::timestamp) - extract(epoch from '2026-07-28 09:20: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'), 47807, 'SRID=4674;POINT (-40.344559 -2.798475)', '2026-07-28 09:20:42', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344403 -2.798382)'), GeomFromEWKT('SRID=4674;POINT (-40.344559 -2.798475)'))) / (select extract(epoch from '2026-07-28 09:20:42'::timestamp) - extract(epoch from '2026-07-28 09:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344403 -2.798382)'), GeomFromEWKT('SRID=4674;POINT (-40.344559 -2.798475)'))) / (select extract(epoch from '2026-07-28 09:20:42'::timestamp) - extract(epoch from '2026-07-28 09:20: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'), 47807, 'SRID=4674;POINT (-40.344797 -2.798609)', '2026-07-28 09:20:51', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344559 -2.798475)'), GeomFromEWKT('SRID=4674;POINT (-40.344797 -2.798609)'))) / (select extract(epoch from '2026-07-28 09:20:51'::timestamp) - extract(epoch from '2026-07-28 09:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344559 -2.798475)'), GeomFromEWKT('SRID=4674;POINT (-40.344797 -2.798609)'))) / (select extract(epoch from '2026-07-28 09:20:51'::timestamp) - extract(epoch from '2026-07-28 09:20:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.345007 -2.798716)', '2026-07-28 09:21:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344797 -2.798609)'), GeomFromEWKT('SRID=4674;POINT (-40.345007 -2.798716)'))) / (select extract(epoch from '2026-07-28 09:21:00'::timestamp) - extract(epoch from '2026-07-28 09:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344797 -2.798609)'), GeomFromEWKT('SRID=4674;POINT (-40.345007 -2.798716)'))) / (select extract(epoch from '2026-07-28 09:21:00'::timestamp) - extract(epoch from '2026-07-28 09:20: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'), 47807, 'SRID=4674;POINT (-40.345188 -2.79882)', '2026-07-28 09:21:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345007 -2.798716)'), GeomFromEWKT('SRID=4674;POINT (-40.345188 -2.79882)'))) / (select extract(epoch from '2026-07-28 09:21:08'::timestamp) - extract(epoch from '2026-07-28 09:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345007 -2.798716)'), GeomFromEWKT('SRID=4674;POINT (-40.345188 -2.79882)'))) / (select extract(epoch from '2026-07-28 09:21:08'::timestamp) - extract(epoch from '2026-07-28 09:21: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'), 47807, 'SRID=4674;POINT (-40.345354 -2.798934)', '2026-07-28 09:21:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345188 -2.79882)'), GeomFromEWKT('SRID=4674;POINT (-40.345354 -2.798934)'))) / (select extract(epoch from '2026-07-28 09:21:15'::timestamp) - extract(epoch from '2026-07-28 09:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345188 -2.79882)'), GeomFromEWKT('SRID=4674;POINT (-40.345354 -2.798934)'))) / (select extract(epoch from '2026-07-28 09:21:15'::timestamp) - extract(epoch from '2026-07-28 09:21: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'), 47807, 'SRID=4674;POINT (-40.345595 -2.799061)', '2026-07-28 09:21:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345354 -2.798934)'), GeomFromEWKT('SRID=4674;POINT (-40.345595 -2.799061)'))) / (select extract(epoch from '2026-07-28 09:21:25'::timestamp) - extract(epoch from '2026-07-28 09:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345354 -2.798934)'), GeomFromEWKT('SRID=4674;POINT (-40.345595 -2.799061)'))) / (select extract(epoch from '2026-07-28 09:21:25'::timestamp) - extract(epoch from '2026-07-28 09:21:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.345776 -2.799158)', '2026-07-28 09:21:33', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345595 -2.799061)'), GeomFromEWKT('SRID=4674;POINT (-40.345776 -2.799158)'))) / (select extract(epoch from '2026-07-28 09:21:33'::timestamp) - extract(epoch from '2026-07-28 09:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345595 -2.799061)'), GeomFromEWKT('SRID=4674;POINT (-40.345776 -2.799158)'))) / (select extract(epoch from '2026-07-28 09:21:33'::timestamp) - extract(epoch from '2026-07-28 09:21: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'), 47807, 'SRID=4674;POINT (-40.345941 -2.799253)', '2026-07-28 09:21:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345776 -2.799158)'), GeomFromEWKT('SRID=4674;POINT (-40.345941 -2.799253)'))) / (select extract(epoch from '2026-07-28 09:21:40'::timestamp) - extract(epoch from '2026-07-28 09:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345776 -2.799158)'), GeomFromEWKT('SRID=4674;POINT (-40.345941 -2.799253)'))) / (select extract(epoch from '2026-07-28 09:21:40'::timestamp) - extract(epoch from '2026-07-28 09:21: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'), 47807, 'SRID=4674;POINT (-40.346131 -2.799359)', '2026-07-28 09:21:48', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345941 -2.799253)'), GeomFromEWKT('SRID=4674;POINT (-40.346131 -2.799359)'))) / (select extract(epoch from '2026-07-28 09:21:48'::timestamp) - extract(epoch from '2026-07-28 09:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345941 -2.799253)'), GeomFromEWKT('SRID=4674;POINT (-40.346131 -2.799359)'))) / (select extract(epoch from '2026-07-28 09:21:48'::timestamp) - extract(epoch from '2026-07-28 09:21: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'), 47807, 'SRID=4674;POINT (-40.346304 -2.799498)', '2026-07-28 09:21:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346131 -2.799359)'), GeomFromEWKT('SRID=4674;POINT (-40.346304 -2.799498)'))) / (select extract(epoch from '2026-07-28 09:21:57'::timestamp) - extract(epoch from '2026-07-28 09:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346131 -2.799359)'), GeomFromEWKT('SRID=4674;POINT (-40.346304 -2.799498)'))) / (select extract(epoch from '2026-07-28 09:21:57'::timestamp) - extract(epoch from '2026-07-28 09:21:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.346429 -2.799632)', '2026-07-28 09:22:04', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346304 -2.799498)'), GeomFromEWKT('SRID=4674;POINT (-40.346429 -2.799632)'))) / (select extract(epoch from '2026-07-28 09:22:04'::timestamp) - extract(epoch from '2026-07-28 09:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346304 -2.799498)'), GeomFromEWKT('SRID=4674;POINT (-40.346429 -2.799632)'))) / (select extract(epoch from '2026-07-28 09:22:04'::timestamp) - extract(epoch from '2026-07-28 09:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.346578 -2.799782)', '2026-07-28 09:22:12', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346429 -2.799632)'), GeomFromEWKT('SRID=4674;POINT (-40.346578 -2.799782)'))) / (select extract(epoch from '2026-07-28 09:22:12'::timestamp) - extract(epoch from '2026-07-28 09:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346429 -2.799632)'), GeomFromEWKT('SRID=4674;POINT (-40.346578 -2.799782)'))) / (select extract(epoch from '2026-07-28 09:22:12'::timestamp) - extract(epoch from '2026-07-28 09:22: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'), 47807, 'SRID=4674;POINT (-40.346727 -2.79988)', '2026-07-28 09:22:19', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346578 -2.799782)'), GeomFromEWKT('SRID=4674;POINT (-40.346727 -2.79988)'))) / (select extract(epoch from '2026-07-28 09:22:19'::timestamp) - extract(epoch from '2026-07-28 09:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346578 -2.799782)'), GeomFromEWKT('SRID=4674;POINT (-40.346727 -2.79988)'))) / (select extract(epoch from '2026-07-28 09:22:19'::timestamp) - extract(epoch from '2026-07-28 09:22:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.346906 -2.79996)', '2026-07-28 09:22:26', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346727 -2.79988)'), GeomFromEWKT('SRID=4674;POINT (-40.346906 -2.79996)'))) / (select extract(epoch from '2026-07-28 09:22:26'::timestamp) - extract(epoch from '2026-07-28 09:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346727 -2.79988)'), GeomFromEWKT('SRID=4674;POINT (-40.346906 -2.79996)'))) / (select extract(epoch from '2026-07-28 09:22:26'::timestamp) - extract(epoch from '2026-07-28 09:22:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.347103 -2.800061)', '2026-07-28 09:22:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346906 -2.79996)'), GeomFromEWKT('SRID=4674;POINT (-40.347103 -2.800061)'))) / (select extract(epoch from '2026-07-28 09:22:35'::timestamp) - extract(epoch from '2026-07-28 09:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346906 -2.79996)'), GeomFromEWKT('SRID=4674;POINT (-40.347103 -2.800061)'))) / (select extract(epoch from '2026-07-28 09:22:35'::timestamp) - extract(epoch from '2026-07-28 09:22: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'), 47807, 'SRID=4674;POINT (-40.347273 -2.800153)', '2026-07-28 09:22:43', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347103 -2.800061)'), GeomFromEWKT('SRID=4674;POINT (-40.347273 -2.800153)'))) / (select extract(epoch from '2026-07-28 09:22:43'::timestamp) - extract(epoch from '2026-07-28 09:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347103 -2.800061)'), GeomFromEWKT('SRID=4674;POINT (-40.347273 -2.800153)'))) / (select extract(epoch from '2026-07-28 09:22:43'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.34749 -2.800285)', '2026-07-28 09:22:53', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347273 -2.800153)'), GeomFromEWKT('SRID=4674;POINT (-40.34749 -2.800285)'))) / (select extract(epoch from '2026-07-28 09:22:53'::timestamp) - extract(epoch from '2026-07-28 09:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347273 -2.800153)'), GeomFromEWKT('SRID=4674;POINT (-40.34749 -2.800285)'))) / (select extract(epoch from '2026-07-28 09:22:53'::timestamp) - extract(epoch from '2026-07-28 09:22:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.347655 -2.800385)', '2026-07-28 09:23:00', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34749 -2.800285)'), GeomFromEWKT('SRID=4674;POINT (-40.347655 -2.800385)'))) / (select extract(epoch from '2026-07-28 09:23:00'::timestamp) - extract(epoch from '2026-07-28 09:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34749 -2.800285)'), GeomFromEWKT('SRID=4674;POINT (-40.347655 -2.800385)'))) / (select extract(epoch from '2026-07-28 09:23:00'::timestamp) - extract(epoch from '2026-07-28 09:22:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.347827 -2.800489)', '2026-07-28 09:23:08', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347655 -2.800385)'), GeomFromEWKT('SRID=4674;POINT (-40.347827 -2.800489)'))) / (select extract(epoch from '2026-07-28 09:23:08'::timestamp) - extract(epoch from '2026-07-28 09:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347655 -2.800385)'), GeomFromEWKT('SRID=4674;POINT (-40.347827 -2.800489)'))) / (select extract(epoch from '2026-07-28 09:23:08'::timestamp) - extract(epoch from '2026-07-28 09:23: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'), 47807, 'SRID=4674;POINT (-40.347994 -2.800618)', '2026-07-28 09:23:16', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347827 -2.800489)'), GeomFromEWKT('SRID=4674;POINT (-40.347994 -2.800618)'))) / (select extract(epoch from '2026-07-28 09:23:16'::timestamp) - extract(epoch from '2026-07-28 09:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347827 -2.800489)'), GeomFromEWKT('SRID=4674;POINT (-40.347994 -2.800618)'))) / (select extract(epoch from '2026-07-28 09:23:16'::timestamp) - extract(epoch from '2026-07-28 09:23:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.348232 -2.800761)', '2026-07-28 09:23:26', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347994 -2.800618)'), GeomFromEWKT('SRID=4674;POINT (-40.348232 -2.800761)'))) / (select extract(epoch from '2026-07-28 09:23:26'::timestamp) - extract(epoch from '2026-07-28 09:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347994 -2.800618)'), GeomFromEWKT('SRID=4674;POINT (-40.348232 -2.800761)'))) / (select extract(epoch from '2026-07-28 09:23:26'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.348391 -2.800861)', '2026-07-28 09:23:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348232 -2.800761)'), GeomFromEWKT('SRID=4674;POINT (-40.348391 -2.800861)'))) / (select extract(epoch from '2026-07-28 09:23:34'::timestamp) - extract(epoch from '2026-07-28 09:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348232 -2.800761)'), GeomFromEWKT('SRID=4674;POINT (-40.348391 -2.800861)'))) / (select extract(epoch from '2026-07-28 09:23:34'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.348561 -2.800946)', '2026-07-28 09:23:42', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348391 -2.800861)'), GeomFromEWKT('SRID=4674;POINT (-40.348561 -2.800946)'))) / (select extract(epoch from '2026-07-28 09:23:42'::timestamp) - extract(epoch from '2026-07-28 09:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348391 -2.800861)'), GeomFromEWKT('SRID=4674;POINT (-40.348561 -2.800946)'))) / (select extract(epoch from '2026-07-28 09:23:42'::timestamp) - extract(epoch from '2026-07-28 09:23: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'), 47807, 'SRID=4674;POINT (-40.34871 -2.801028)', '2026-07-28 09:23:49', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348561 -2.800946)'), GeomFromEWKT('SRID=4674;POINT (-40.34871 -2.801028)'))) / (select extract(epoch from '2026-07-28 09:23:49'::timestamp) - extract(epoch from '2026-07-28 09:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348561 -2.800946)'), GeomFromEWKT('SRID=4674;POINT (-40.34871 -2.801028)'))) / (select extract(epoch from '2026-07-28 09:23:49'::timestamp) - extract(epoch from '2026-07-28 09:23: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'), 47807, 'SRID=4674;POINT (-40.348893 -2.801145)', '2026-07-28 09:23:58', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34871 -2.801028)'), GeomFromEWKT('SRID=4674;POINT (-40.348893 -2.801145)'))) / (select extract(epoch from '2026-07-28 09:23:58'::timestamp) - extract(epoch from '2026-07-28 09:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34871 -2.801028)'), GeomFromEWKT('SRID=4674;POINT (-40.348893 -2.801145)'))) / (select extract(epoch from '2026-07-28 09:23:58'::timestamp) - extract(epoch from '2026-07-28 09:23:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.349058 -2.801222)', '2026-07-28 09:24:05', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348893 -2.801145)'), GeomFromEWKT('SRID=4674;POINT (-40.349058 -2.801222)'))) / (select extract(epoch from '2026-07-28 09:24:05'::timestamp) - extract(epoch from '2026-07-28 09:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348893 -2.801145)'), GeomFromEWKT('SRID=4674;POINT (-40.349058 -2.801222)'))) / (select extract(epoch from '2026-07-28 09:24:05'::timestamp) - extract(epoch from '2026-07-28 09:23: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'), 47807, 'SRID=4674;POINT (-40.349225 -2.801287)', '2026-07-28 09:24:12', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349058 -2.801222)'), GeomFromEWKT('SRID=4674;POINT (-40.349225 -2.801287)'))) / (select extract(epoch from '2026-07-28 09:24:12'::timestamp) - extract(epoch from '2026-07-28 09:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349058 -2.801222)'), GeomFromEWKT('SRID=4674;POINT (-40.349225 -2.801287)'))) / (select extract(epoch from '2026-07-28 09:24:12'::timestamp) - extract(epoch from '2026-07-28 09:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.349386 -2.801383)', '2026-07-28 09:24:20', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349225 -2.801287)'), GeomFromEWKT('SRID=4674;POINT (-40.349386 -2.801383)'))) / (select extract(epoch from '2026-07-28 09:24:20'::timestamp) - extract(epoch from '2026-07-28 09:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349225 -2.801287)'), GeomFromEWKT('SRID=4674;POINT (-40.349386 -2.801383)'))) / (select extract(epoch from '2026-07-28 09:24:20'::timestamp) - extract(epoch from '2026-07-28 09:24: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'), 47807, 'SRID=4674;POINT (-40.349609 -2.801531)', '2026-07-28 09:24:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349386 -2.801383)'), GeomFromEWKT('SRID=4674;POINT (-40.349609 -2.801531)'))) / (select extract(epoch from '2026-07-28 09:24:30'::timestamp) - extract(epoch from '2026-07-28 09:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349386 -2.801383)'), GeomFromEWKT('SRID=4674;POINT (-40.349609 -2.801531)'))) / (select extract(epoch from '2026-07-28 09:24:30'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.349794 -2.801662)', '2026-07-28 09:24:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349609 -2.801531)'), GeomFromEWKT('SRID=4674;POINT (-40.349794 -2.801662)'))) / (select extract(epoch from '2026-07-28 09:24:39'::timestamp) - extract(epoch from '2026-07-28 09:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349609 -2.801531)'), GeomFromEWKT('SRID=4674;POINT (-40.349794 -2.801662)'))) / (select extract(epoch from '2026-07-28 09:24:39'::timestamp) - extract(epoch from '2026-07-28 09:24: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'), 47807, 'SRID=4674;POINT (-40.349958 -2.801782)', '2026-07-28 09:24:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349794 -2.801662)'), GeomFromEWKT('SRID=4674;POINT (-40.349958 -2.801782)'))) / (select extract(epoch from '2026-07-28 09:24:47'::timestamp) - extract(epoch from '2026-07-28 09:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349794 -2.801662)'), GeomFromEWKT('SRID=4674;POINT (-40.349958 -2.801782)'))) / (select extract(epoch from '2026-07-28 09:24:47'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.350101 -2.801885)', '2026-07-28 09:24:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349958 -2.801782)'), GeomFromEWKT('SRID=4674;POINT (-40.350101 -2.801885)'))) / (select extract(epoch from '2026-07-28 09:24:53'::timestamp) - extract(epoch from '2026-07-28 09:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349958 -2.801782)'), GeomFromEWKT('SRID=4674;POINT (-40.350101 -2.801885)'))) / (select extract(epoch from '2026-07-28 09:24:53'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.35028 -2.801991)', '2026-07-28 09:25:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350101 -2.801885)'), GeomFromEWKT('SRID=4674;POINT (-40.35028 -2.801991)'))) / (select extract(epoch from '2026-07-28 09:25:01'::timestamp) - extract(epoch from '2026-07-28 09:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350101 -2.801885)'), GeomFromEWKT('SRID=4674;POINT (-40.35028 -2.801991)'))) / (select extract(epoch from '2026-07-28 09:25:01'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.350482 -2.802105)', '2026-07-28 09:25:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35028 -2.801991)'), GeomFromEWKT('SRID=4674;POINT (-40.350482 -2.802105)'))) / (select extract(epoch from '2026-07-28 09:25:10'::timestamp) - extract(epoch from '2026-07-28 09:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35028 -2.801991)'), GeomFromEWKT('SRID=4674;POINT (-40.350482 -2.802105)'))) / (select extract(epoch from '2026-07-28 09:25:10'::timestamp) - extract(epoch from '2026-07-28 09:25: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'), 47807, 'SRID=4674;POINT (-40.350674 -2.802245)', '2026-07-28 09:25:19', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350482 -2.802105)'), GeomFromEWKT('SRID=4674;POINT (-40.350674 -2.802245)'))) / (select extract(epoch from '2026-07-28 09:25:19'::timestamp) - extract(epoch from '2026-07-28 09:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350482 -2.802105)'), GeomFromEWKT('SRID=4674;POINT (-40.350674 -2.802245)'))) / (select extract(epoch from '2026-07-28 09:25:19'::timestamp) - extract(epoch from '2026-07-28 09:25: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'), 47807, 'SRID=4674;POINT (-40.350879 -2.802349)', '2026-07-28 09:25:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350674 -2.802245)'), GeomFromEWKT('SRID=4674;POINT (-40.350879 -2.802349)'))) / (select extract(epoch from '2026-07-28 09:25:28'::timestamp) - extract(epoch from '2026-07-28 09:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350674 -2.802245)'), GeomFromEWKT('SRID=4674;POINT (-40.350879 -2.802349)'))) / (select extract(epoch from '2026-07-28 09:25:28'::timestamp) - extract(epoch from '2026-07-28 09:25:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.351086 -2.802498)', '2026-07-28 09:25:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350879 -2.802349)'), GeomFromEWKT('SRID=4674;POINT (-40.351086 -2.802498)'))) / (select extract(epoch from '2026-07-28 09:25:38'::timestamp) - extract(epoch from '2026-07-28 09:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350879 -2.802349)'), GeomFromEWKT('SRID=4674;POINT (-40.351086 -2.802498)'))) / (select extract(epoch from '2026-07-28 09:25:38'::timestamp) - extract(epoch from '2026-07-28 09:25: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'), 47807, 'SRID=4674;POINT (-40.351232 -2.802635)', '2026-07-28 09:25:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351086 -2.802498)'), GeomFromEWKT('SRID=4674;POINT (-40.351232 -2.802635)'))) / (select extract(epoch from '2026-07-28 09:25:46'::timestamp) - extract(epoch from '2026-07-28 09:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351086 -2.802498)'), GeomFromEWKT('SRID=4674;POINT (-40.351232 -2.802635)'))) / (select extract(epoch from '2026-07-28 09:25:46'::timestamp) - extract(epoch from '2026-07-28 09:25: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'), 47807, 'SRID=4674;POINT (-40.35138 -2.802773)', '2026-07-28 09:25:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351232 -2.802635)'), GeomFromEWKT('SRID=4674;POINT (-40.35138 -2.802773)'))) / (select extract(epoch from '2026-07-28 09:25:54'::timestamp) - extract(epoch from '2026-07-28 09:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351232 -2.802635)'), GeomFromEWKT('SRID=4674;POINT (-40.35138 -2.802773)'))) / (select extract(epoch from '2026-07-28 09:25:54'::timestamp) - extract(epoch from '2026-07-28 09:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.351555 -2.802935)', '2026-07-28 09:26:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35138 -2.802773)'), GeomFromEWKT('SRID=4674;POINT (-40.351555 -2.802935)'))) / (select extract(epoch from '2026-07-28 09:26:04'::timestamp) - extract(epoch from '2026-07-28 09:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35138 -2.802773)'), GeomFromEWKT('SRID=4674;POINT (-40.351555 -2.802935)'))) / (select extract(epoch from '2026-07-28 09:26:04'::timestamp) - extract(epoch from '2026-07-28 09:25: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'), 47807, 'SRID=4674;POINT (-40.35173 -2.8031)', '2026-07-28 09:26:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351555 -2.802935)'), GeomFromEWKT('SRID=4674;POINT (-40.35173 -2.8031)'))) / (select extract(epoch from '2026-07-28 09:26:14'::timestamp) - extract(epoch from '2026-07-28 09:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351555 -2.802935)'), GeomFromEWKT('SRID=4674;POINT (-40.35173 -2.8031)'))) / (select extract(epoch from '2026-07-28 09:26:14'::timestamp) - extract(epoch from '2026-07-28 09:26:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.351882 -2.803207)', '2026-07-28 09:26:22', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35173 -2.8031)'), GeomFromEWKT('SRID=4674;POINT (-40.351882 -2.803207)'))) / (select extract(epoch from '2026-07-28 09:26:22'::timestamp) - extract(epoch from '2026-07-28 09:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35173 -2.8031)'), GeomFromEWKT('SRID=4674;POINT (-40.351882 -2.803207)'))) / (select extract(epoch from '2026-07-28 09:26:22'::timestamp) - extract(epoch from '2026-07-28 09:26: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'), 47807, 'SRID=4674;POINT (-40.352089 -2.803305)', '2026-07-28 09:26:31', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351882 -2.803207)'), GeomFromEWKT('SRID=4674;POINT (-40.352089 -2.803305)'))) / (select extract(epoch from '2026-07-28 09:26:31'::timestamp) - extract(epoch from '2026-07-28 09:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351882 -2.803207)'), GeomFromEWKT('SRID=4674;POINT (-40.352089 -2.803305)'))) / (select extract(epoch from '2026-07-28 09:26:31'::timestamp) - extract(epoch from '2026-07-28 09:26: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'), 47807, 'SRID=4674;POINT (-40.35224 -2.803437)', '2026-07-28 09:26:39', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352089 -2.803305)'), GeomFromEWKT('SRID=4674;POINT (-40.35224 -2.803437)'))) / (select extract(epoch from '2026-07-28 09:26:39'::timestamp) - extract(epoch from '2026-07-28 09:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352089 -2.803305)'), GeomFromEWKT('SRID=4674;POINT (-40.35224 -2.803437)'))) / (select extract(epoch from '2026-07-28 09:26:39'::timestamp) - extract(epoch from '2026-07-28 09:26: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'), 47807, 'SRID=4674;POINT (-40.352407 -2.803569)', '2026-07-28 09:26:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35224 -2.803437)'), GeomFromEWKT('SRID=4674;POINT (-40.352407 -2.803569)'))) / (select extract(epoch from '2026-07-28 09:26:48'::timestamp) - extract(epoch from '2026-07-28 09:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35224 -2.803437)'), GeomFromEWKT('SRID=4674;POINT (-40.352407 -2.803569)'))) / (select extract(epoch from '2026-07-28 09:26:48'::timestamp) - extract(epoch from '2026-07-28 09:26: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'), 47807, 'SRID=4674;POINT (-40.352541 -2.803673)', '2026-07-28 09:26:55', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352407 -2.803569)'), GeomFromEWKT('SRID=4674;POINT (-40.352541 -2.803673)'))) / (select extract(epoch from '2026-07-28 09:26:55'::timestamp) - extract(epoch from '2026-07-28 09:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352407 -2.803569)'), GeomFromEWKT('SRID=4674;POINT (-40.352541 -2.803673)'))) / (select extract(epoch from '2026-07-28 09:26:55'::timestamp) - extract(epoch from '2026-07-28 09:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.352699 -2.803767)', '2026-07-28 09:27:02', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352541 -2.803673)'), GeomFromEWKT('SRID=4674;POINT (-40.352699 -2.803767)'))) / (select extract(epoch from '2026-07-28 09:27:02'::timestamp) - extract(epoch from '2026-07-28 09:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352541 -2.803673)'), GeomFromEWKT('SRID=4674;POINT (-40.352699 -2.803767)'))) / (select extract(epoch from '2026-07-28 09:27:02'::timestamp) - extract(epoch from '2026-07-28 09:26:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.352852 -2.803904)', '2026-07-28 09:27:10', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352699 -2.803767)'), GeomFromEWKT('SRID=4674;POINT (-40.352852 -2.803904)'))) / (select extract(epoch from '2026-07-28 09:27:10'::timestamp) - extract(epoch from '2026-07-28 09:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352699 -2.803767)'), GeomFromEWKT('SRID=4674;POINT (-40.352852 -2.803904)'))) / (select extract(epoch from '2026-07-28 09:27:10'::timestamp) - extract(epoch from '2026-07-28 09:27: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'), 47807, 'SRID=4674;POINT (-40.35301 -2.804032)', '2026-07-28 09:27:18', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352852 -2.803904)'), GeomFromEWKT('SRID=4674;POINT (-40.35301 -2.804032)'))) / (select extract(epoch from '2026-07-28 09:27:18'::timestamp) - extract(epoch from '2026-07-28 09:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352852 -2.803904)'), GeomFromEWKT('SRID=4674;POINT (-40.35301 -2.804032)'))) / (select extract(epoch from '2026-07-28 09:27:18'::timestamp) - extract(epoch from '2026-07-28 09:27: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'), 47807, 'SRID=4674;POINT (-40.353142 -2.804132)', '2026-07-28 09:27:25', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35301 -2.804032)'), GeomFromEWKT('SRID=4674;POINT (-40.353142 -2.804132)'))) / (select extract(epoch from '2026-07-28 09:27:25'::timestamp) - extract(epoch from '2026-07-28 09:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35301 -2.804032)'), GeomFromEWKT('SRID=4674;POINT (-40.353142 -2.804132)'))) / (select extract(epoch from '2026-07-28 09:27:25'::timestamp) - extract(epoch from '2026-07-28 09:27:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.35332 -2.80427)', '2026-07-28 09:27:34', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353142 -2.804132)'), GeomFromEWKT('SRID=4674;POINT (-40.35332 -2.80427)'))) / (select extract(epoch from '2026-07-28 09:27:34'::timestamp) - extract(epoch from '2026-07-28 09:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353142 -2.804132)'), GeomFromEWKT('SRID=4674;POINT (-40.35332 -2.80427)'))) / (select extract(epoch from '2026-07-28 09:27:34'::timestamp) - extract(epoch from '2026-07-28 09:27: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'), 47807, 'SRID=4674;POINT (-40.353495 -2.804417)', '2026-07-28 09:27:43', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35332 -2.80427)'), GeomFromEWKT('SRID=4674;POINT (-40.353495 -2.804417)'))) / (select extract(epoch from '2026-07-28 09:27:43'::timestamp) - extract(epoch from '2026-07-28 09:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35332 -2.80427)'), GeomFromEWKT('SRID=4674;POINT (-40.353495 -2.804417)'))) / (select extract(epoch from '2026-07-28 09:27:43'::timestamp) - extract(epoch from '2026-07-28 09:27: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'), 47807, 'SRID=4674;POINT (-40.353719 -2.804571)', '2026-07-28 09:27:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353495 -2.804417)'), GeomFromEWKT('SRID=4674;POINT (-40.353719 -2.804571)'))) / (select extract(epoch from '2026-07-28 09:27:53'::timestamp) - extract(epoch from '2026-07-28 09:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353495 -2.804417)'), GeomFromEWKT('SRID=4674;POINT (-40.353719 -2.804571)'))) / (select extract(epoch from '2026-07-28 09:27:53'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.353884 -2.804703)', '2026-07-28 09:28:01', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353719 -2.804571)'), GeomFromEWKT('SRID=4674;POINT (-40.353884 -2.804703)'))) / (select extract(epoch from '2026-07-28 09:28:01'::timestamp) - extract(epoch from '2026-07-28 09:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353719 -2.804571)'), GeomFromEWKT('SRID=4674;POINT (-40.353884 -2.804703)'))) / (select extract(epoch from '2026-07-28 09:28:01'::timestamp) - extract(epoch from '2026-07-28 09:27: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'), 47807, 'SRID=4674;POINT (-40.354055 -2.804838)', '2026-07-28 09:28:09', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353884 -2.804703)'), GeomFromEWKT('SRID=4674;POINT (-40.354055 -2.804838)'))) / (select extract(epoch from '2026-07-28 09:28:09'::timestamp) - extract(epoch from '2026-07-28 09:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353884 -2.804703)'), GeomFromEWKT('SRID=4674;POINT (-40.354055 -2.804838)'))) / (select extract(epoch from '2026-07-28 09:28:09'::timestamp) - extract(epoch from '2026-07-28 09:28: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'), 47807, 'SRID=4674;POINT (-40.354193 -2.804943)', '2026-07-28 09:28:16', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354055 -2.804838)'), GeomFromEWKT('SRID=4674;POINT (-40.354193 -2.804943)'))) / (select extract(epoch from '2026-07-28 09:28:16'::timestamp) - extract(epoch from '2026-07-28 09:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354055 -2.804838)'), GeomFromEWKT('SRID=4674;POINT (-40.354193 -2.804943)'))) / (select extract(epoch from '2026-07-28 09:28:16'::timestamp) - extract(epoch from '2026-07-28 09:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.354337 -2.805046)', '2026-07-28 09:28:23', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354193 -2.804943)'), GeomFromEWKT('SRID=4674;POINT (-40.354337 -2.805046)'))) / (select extract(epoch from '2026-07-28 09:28:23'::timestamp) - extract(epoch from '2026-07-28 09:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354193 -2.804943)'), GeomFromEWKT('SRID=4674;POINT (-40.354337 -2.805046)'))) / (select extract(epoch from '2026-07-28 09:28:23'::timestamp) - extract(epoch from '2026-07-28 09:28: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'), 47807, 'SRID=4674;POINT (-40.354506 -2.805174)', '2026-07-28 09:28:31', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354337 -2.805046)'), GeomFromEWKT('SRID=4674;POINT (-40.354506 -2.805174)'))) / (select extract(epoch from '2026-07-28 09:28:31'::timestamp) - extract(epoch from '2026-07-28 09:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354337 -2.805046)'), GeomFromEWKT('SRID=4674;POINT (-40.354506 -2.805174)'))) / (select extract(epoch from '2026-07-28 09:28:31'::timestamp) - extract(epoch from '2026-07-28 09:28: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'), 47807, 'SRID=4674;POINT (-40.354652 -2.80529)', '2026-07-28 09:28:38', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354506 -2.805174)'), GeomFromEWKT('SRID=4674;POINT (-40.354652 -2.80529)'))) / (select extract(epoch from '2026-07-28 09:28:38'::timestamp) - extract(epoch from '2026-07-28 09:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354506 -2.805174)'), GeomFromEWKT('SRID=4674;POINT (-40.354652 -2.80529)'))) / (select extract(epoch from '2026-07-28 09:28:38'::timestamp) - extract(epoch from '2026-07-28 09:28:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.354835 -2.805436)', '2026-07-28 09:28:47', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354652 -2.80529)'), GeomFromEWKT('SRID=4674;POINT (-40.354835 -2.805436)'))) / (select extract(epoch from '2026-07-28 09:28:47'::timestamp) - extract(epoch from '2026-07-28 09:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354652 -2.80529)'), GeomFromEWKT('SRID=4674;POINT (-40.354835 -2.805436)'))) / (select extract(epoch from '2026-07-28 09:28:47'::timestamp) - extract(epoch from '2026-07-28 09:28:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.355016 -2.805596)', '2026-07-28 09:28:57', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354835 -2.805436)'), GeomFromEWKT('SRID=4674;POINT (-40.355016 -2.805596)'))) / (select extract(epoch from '2026-07-28 09:28:57'::timestamp) - extract(epoch from '2026-07-28 09:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354835 -2.805436)'), GeomFromEWKT('SRID=4674;POINT (-40.355016 -2.805596)'))) / (select extract(epoch from '2026-07-28 09:28:57'::timestamp) - extract(epoch from '2026-07-28 09:28:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.355181 -2.805715)', '2026-07-28 09:29:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355016 -2.805596)'), GeomFromEWKT('SRID=4674;POINT (-40.355181 -2.805715)'))) / (select extract(epoch from '2026-07-28 09:29:05'::timestamp) - extract(epoch from '2026-07-28 09:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355016 -2.805596)'), GeomFromEWKT('SRID=4674;POINT (-40.355181 -2.805715)'))) / (select extract(epoch from '2026-07-28 09:29:05'::timestamp) - extract(epoch from '2026-07-28 09:28:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.355336 -2.805835)', '2026-07-28 09:29:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355181 -2.805715)'), GeomFromEWKT('SRID=4674;POINT (-40.355336 -2.805835)'))) / (select extract(epoch from '2026-07-28 09:29:12'::timestamp) - extract(epoch from '2026-07-28 09:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355181 -2.805715)'), GeomFromEWKT('SRID=4674;POINT (-40.355336 -2.805835)'))) / (select extract(epoch from '2026-07-28 09:29:12'::timestamp) - extract(epoch from '2026-07-28 09:29: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'), 47807, 'SRID=4674;POINT (-40.355555 -2.805984)', '2026-07-28 09:29:22', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355336 -2.805835)'), GeomFromEWKT('SRID=4674;POINT (-40.355555 -2.805984)'))) / (select extract(epoch from '2026-07-28 09:29:22'::timestamp) - extract(epoch from '2026-07-28 09:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355336 -2.805835)'), GeomFromEWKT('SRID=4674;POINT (-40.355555 -2.805984)'))) / (select extract(epoch from '2026-07-28 09:29:22'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.355679 -2.8061)', '2026-07-28 09:29:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355555 -2.805984)'), GeomFromEWKT('SRID=4674;POINT (-40.355679 -2.8061)'))) / (select extract(epoch from '2026-07-28 09:29:29'::timestamp) - extract(epoch from '2026-07-28 09:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355555 -2.805984)'), GeomFromEWKT('SRID=4674;POINT (-40.355679 -2.8061)'))) / (select extract(epoch from '2026-07-28 09:29:29'::timestamp) - extract(epoch from '2026-07-28 09:29: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'), 47807, 'SRID=4674;POINT (-40.355818 -2.806228)', '2026-07-28 09:29:36', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355679 -2.8061)'), GeomFromEWKT('SRID=4674;POINT (-40.355818 -2.806228)'))) / (select extract(epoch from '2026-07-28 09:29:36'::timestamp) - extract(epoch from '2026-07-28 09:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355679 -2.8061)'), GeomFromEWKT('SRID=4674;POINT (-40.355818 -2.806228)'))) / (select extract(epoch from '2026-07-28 09:29:36'::timestamp) - extract(epoch from '2026-07-28 09:29: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'), 47807, 'SRID=4674;POINT (-40.355886 -2.806344)', '2026-07-28 09:29:42', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355818 -2.806228)'), GeomFromEWKT('SRID=4674;POINT (-40.355886 -2.806344)'))) / (select extract(epoch from '2026-07-28 09:29:42'::timestamp) - extract(epoch from '2026-07-28 09:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355818 -2.806228)'), GeomFromEWKT('SRID=4674;POINT (-40.355886 -2.806344)'))) / (select extract(epoch from '2026-07-28 09:29:42'::timestamp) - extract(epoch from '2026-07-28 09:29: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'), 47807, 'SRID=4674;POINT (-40.355989 -2.806492)', '2026-07-28 09:29:49', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355886 -2.806344)'), GeomFromEWKT('SRID=4674;POINT (-40.355989 -2.806492)'))) / (select extract(epoch from '2026-07-28 09:29:49'::timestamp) - extract(epoch from '2026-07-28 09:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355886 -2.806344)'), GeomFromEWKT('SRID=4674;POINT (-40.355989 -2.806492)'))) / (select extract(epoch from '2026-07-28 09:29:49'::timestamp) - extract(epoch from '2026-07-28 09:29:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.35613 -2.806623)', '2026-07-28 09:29:57', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355989 -2.806492)'), GeomFromEWKT('SRID=4674;POINT (-40.35613 -2.806623)'))) / (select extract(epoch from '2026-07-28 09:29:57'::timestamp) - extract(epoch from '2026-07-28 09:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355989 -2.806492)'), GeomFromEWKT('SRID=4674;POINT (-40.35613 -2.806623)'))) / (select extract(epoch from '2026-07-28 09:29:57'::timestamp) - extract(epoch from '2026-07-28 09:29:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.356275 -2.806728)', '2026-07-28 09:30:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35613 -2.806623)'), GeomFromEWKT('SRID=4674;POINT (-40.356275 -2.806728)'))) / (select extract(epoch from '2026-07-28 09:30:05'::timestamp) - extract(epoch from '2026-07-28 09:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35613 -2.806623)'), GeomFromEWKT('SRID=4674;POINT (-40.356275 -2.806728)'))) / (select extract(epoch from '2026-07-28 09:30:05'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.356402 -2.806869)', '2026-07-28 09:30:12', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356275 -2.806728)'), GeomFromEWKT('SRID=4674;POINT (-40.356402 -2.806869)'))) / (select extract(epoch from '2026-07-28 09:30:12'::timestamp) - extract(epoch from '2026-07-28 09:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356275 -2.806728)'), GeomFromEWKT('SRID=4674;POINT (-40.356402 -2.806869)'))) / (select extract(epoch from '2026-07-28 09:30:12'::timestamp) - extract(epoch from '2026-07-28 09:30: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'), 47807, 'SRID=4674;POINT (-40.356458 -2.80699)', '2026-07-28 09:30:19', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356402 -2.806869)'), GeomFromEWKT('SRID=4674;POINT (-40.356458 -2.80699)'))) / (select extract(epoch from '2026-07-28 09:30:19'::timestamp) - extract(epoch from '2026-07-28 09:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356402 -2.806869)'), GeomFromEWKT('SRID=4674;POINT (-40.356458 -2.80699)'))) / (select extract(epoch from '2026-07-28 09:30:19'::timestamp) - extract(epoch from '2026-07-28 09:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.356459 -2.807089)', '2026-07-28 09:30:29', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356458 -2.80699)'), GeomFromEWKT('SRID=4674;POINT (-40.356459 -2.807089)'))) / (select extract(epoch from '2026-07-28 09:30:29'::timestamp) - extract(epoch from '2026-07-28 09:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356458 -2.80699)'), GeomFromEWKT('SRID=4674;POINT (-40.356459 -2.807089)'))) / (select extract(epoch from '2026-07-28 09:30:29'::timestamp) - extract(epoch from '2026-07-28 09:30: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'), 47807, 'SRID=4674;POINT (-40.356466 -2.807125)', '2026-07-28 09:30:37', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356459 -2.807089)'), GeomFromEWKT('SRID=4674;POINT (-40.356466 -2.807125)'))) / (select extract(epoch from '2026-07-28 09:30:37'::timestamp) - extract(epoch from '2026-07-28 09:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356459 -2.807089)'), GeomFromEWKT('SRID=4674;POINT (-40.356466 -2.807125)'))) / (select extract(epoch from '2026-07-28 09:30:37'::timestamp) - extract(epoch from '2026-07-28 09:30: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'), 47807, 'SRID=4674;POINT (-40.356506 -2.807201)', '2026-07-28 09:30:52', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356466 -2.807125)'), GeomFromEWKT('SRID=4674;POINT (-40.356506 -2.807201)'))) / (select extract(epoch from '2026-07-28 09:30:52'::timestamp) - extract(epoch from '2026-07-28 09:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356466 -2.807125)'), GeomFromEWKT('SRID=4674;POINT (-40.356506 -2.807201)'))) / (select extract(epoch from '2026-07-28 09:30:52'::timestamp) - extract(epoch from '2026-07-28 09:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.356588 -2.807288)', '2026-07-28 09:31:07', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356506 -2.807201)'), GeomFromEWKT('SRID=4674;POINT (-40.356588 -2.807288)'))) / (select extract(epoch from '2026-07-28 09:31:07'::timestamp) - extract(epoch from '2026-07-28 09:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356506 -2.807201)'), GeomFromEWKT('SRID=4674;POINT (-40.356588 -2.807288)'))) / (select extract(epoch from '2026-07-28 09:31:07'::timestamp) - extract(epoch from '2026-07-28 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'), 47807, 'SRID=4674;POINT (-40.356672 -2.807364)', '2026-07-28 09:31:23', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356588 -2.807288)'), GeomFromEWKT('SRID=4674;POINT (-40.356672 -2.807364)'))) / (select extract(epoch from '2026-07-28 09:31:23'::timestamp) - extract(epoch from '2026-07-28 09:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356588 -2.807288)'), GeomFromEWKT('SRID=4674;POINT (-40.356672 -2.807364)'))) / (select extract(epoch from '2026-07-28 09:31:23'::timestamp) - extract(epoch from '2026-07-28 09:31: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'), 47807, 'SRID=4674;POINT (-40.356725 -2.807413)', '2026-07-28 09:31:36', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356672 -2.807364)'), GeomFromEWKT('SRID=4674;POINT (-40.356725 -2.807413)'))) / (select extract(epoch from '2026-07-28 09:31:36'::timestamp) - extract(epoch from '2026-07-28 09:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356672 -2.807364)'), GeomFromEWKT('SRID=4674;POINT (-40.356725 -2.807413)'))) / (select extract(epoch from '2026-07-28 09:31:36'::timestamp) - extract(epoch from '2026-07-28 09:31: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'), 47807, 'SRID=4674;POINT (-40.356757 -2.807456)', '2026-07-28 09:31:47', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356725 -2.807413)'), GeomFromEWKT('SRID=4674;POINT (-40.356757 -2.807456)'))) / (select extract(epoch from '2026-07-28 09:31:47'::timestamp) - extract(epoch from '2026-07-28 09:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356725 -2.807413)'), GeomFromEWKT('SRID=4674;POINT (-40.356757 -2.807456)'))) / (select extract(epoch from '2026-07-28 09:31:47'::timestamp) - extract(epoch from '2026-07-28 09:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.356792 -2.807496)', '2026-07-28 09:31:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356757 -2.807456)'), GeomFromEWKT('SRID=4674;POINT (-40.356792 -2.807496)'))) / (select extract(epoch from '2026-07-28 09:31:58'::timestamp) - extract(epoch from '2026-07-28 09:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356757 -2.807456)'), GeomFromEWKT('SRID=4674;POINT (-40.356792 -2.807496)'))) / (select extract(epoch from '2026-07-28 09:31:58'::timestamp) - extract(epoch from '2026-07-28 09:31: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'), 47807, 'SRID=4674;POINT (-40.356806 -2.807504)', '2026-07-28 09:32:08', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356792 -2.807496)'), GeomFromEWKT('SRID=4674;POINT (-40.356806 -2.807504)'))) / (select extract(epoch from '2026-07-28 09:32:08'::timestamp) - extract(epoch from '2026-07-28 09:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356792 -2.807496)'), GeomFromEWKT('SRID=4674;POINT (-40.356806 -2.807504)'))) / (select extract(epoch from '2026-07-28 09:32:08'::timestamp) - extract(epoch from '2026-07-28 09:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.356922 -2.807567)', '2026-07-28 09:32:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356806 -2.807504)'), GeomFromEWKT('SRID=4674;POINT (-40.356922 -2.807567)'))) / (select extract(epoch from '2026-07-28 09:32:40'::timestamp) - extract(epoch from '2026-07-28 09:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356806 -2.807504)'), GeomFromEWKT('SRID=4674;POINT (-40.356922 -2.807567)'))) / (select extract(epoch from '2026-07-28 09:32:40'::timestamp) - extract(epoch from '2026-07-28 09:32: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'), 47807, 'SRID=4674;POINT (-40.35693 -2.807561)', '2026-07-28 09:32:54', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356922 -2.807567)'), GeomFromEWKT('SRID=4674;POINT (-40.35693 -2.807561)'))) / (select extract(epoch from '2026-07-28 09:32:54'::timestamp) - extract(epoch from '2026-07-28 09:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356922 -2.807567)'), GeomFromEWKT('SRID=4674;POINT (-40.35693 -2.807561)'))) / (select extract(epoch from '2026-07-28 09:32:54'::timestamp) - extract(epoch from '2026-07-28 09:32: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'), 47807, 'SRID=4674;POINT (-40.356957 -2.807611)', '2026-07-28 09:33:07', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35693 -2.807561)'), GeomFromEWKT('SRID=4674;POINT (-40.356957 -2.807611)'))) / (select extract(epoch from '2026-07-28 09:33:07'::timestamp) - extract(epoch from '2026-07-28 09:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35693 -2.807561)'), GeomFromEWKT('SRID=4674;POINT (-40.356957 -2.807611)'))) / (select extract(epoch from '2026-07-28 09:33:07'::timestamp) - extract(epoch from '2026-07-28 09:32:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.356915 -2.807659)', '2026-07-28 09:33:16', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356957 -2.807611)'), GeomFromEWKT('SRID=4674;POINT (-40.356915 -2.807659)'))) / (select extract(epoch from '2026-07-28 09:33:16'::timestamp) - extract(epoch from '2026-07-28 09:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356957 -2.807611)'), GeomFromEWKT('SRID=4674;POINT (-40.356915 -2.807659)'))) / (select extract(epoch from '2026-07-28 09:33:16'::timestamp) - extract(epoch from '2026-07-28 09:33: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'), 47807, 'SRID=4674;POINT (-40.356898 -2.807702)', '2026-07-28 09:33:24', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356915 -2.807659)'), GeomFromEWKT('SRID=4674;POINT (-40.356898 -2.807702)'))) / (select extract(epoch from '2026-07-28 09:33:24'::timestamp) - extract(epoch from '2026-07-28 09:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356915 -2.807659)'), GeomFromEWKT('SRID=4674;POINT (-40.356898 -2.807702)'))) / (select extract(epoch from '2026-07-28 09:33:24'::timestamp) - extract(epoch from '2026-07-28 09:33: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'), 47807, 'SRID=4674;POINT (-40.356889 -2.807739)', '2026-07-28 09:33:31', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356898 -2.807702)'), GeomFromEWKT('SRID=4674;POINT (-40.356889 -2.807739)'))) / (select extract(epoch from '2026-07-28 09:33:31'::timestamp) - extract(epoch from '2026-07-28 09:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356898 -2.807702)'), GeomFromEWKT('SRID=4674;POINT (-40.356889 -2.807739)'))) / (select extract(epoch from '2026-07-28 09:33:31'::timestamp) - extract(epoch from '2026-07-28 09:33:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.356876 -2.807817)', '2026-07-28 09:33:43', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356889 -2.807739)'), GeomFromEWKT('SRID=4674;POINT (-40.356876 -2.807817)'))) / (select extract(epoch from '2026-07-28 09:33:43'::timestamp) - extract(epoch from '2026-07-28 09:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356889 -2.807739)'), GeomFromEWKT('SRID=4674;POINT (-40.356876 -2.807817)'))) / (select extract(epoch from '2026-07-28 09:33:43'::timestamp) - extract(epoch from '2026-07-28 09:33: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'), 47807, 'SRID=4674;POINT (-40.356859 -2.807904)', '2026-07-28 09:33:54', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356876 -2.807817)'), GeomFromEWKT('SRID=4674;POINT (-40.356859 -2.807904)'))) / (select extract(epoch from '2026-07-28 09:33:54'::timestamp) - extract(epoch from '2026-07-28 09:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356876 -2.807817)'), GeomFromEWKT('SRID=4674;POINT (-40.356859 -2.807904)'))) / (select extract(epoch from '2026-07-28 09:33:54'::timestamp) - extract(epoch from '2026-07-28 09:33: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'), 47807, 'SRID=4674;POINT (-40.356839 -2.80799)', '2026-07-28 09:34:08', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356859 -2.807904)'), GeomFromEWKT('SRID=4674;POINT (-40.356839 -2.80799)'))) / (select extract(epoch from '2026-07-28 09:34:08'::timestamp) - extract(epoch from '2026-07-28 09:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356859 -2.807904)'), GeomFromEWKT('SRID=4674;POINT (-40.356839 -2.80799)'))) / (select extract(epoch from '2026-07-28 09:34:08'::timestamp) - extract(epoch from '2026-07-28 09:33:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.356823 -2.80803)', '2026-07-28 09:34:21', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356839 -2.80799)'), GeomFromEWKT('SRID=4674;POINT (-40.356823 -2.80803)'))) / (select extract(epoch from '2026-07-28 09:34:21'::timestamp) - extract(epoch from '2026-07-28 09:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356839 -2.80799)'), GeomFromEWKT('SRID=4674;POINT (-40.356823 -2.80803)'))) / (select extract(epoch from '2026-07-28 09:34:21'::timestamp) - extract(epoch from '2026-07-28 09:34: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'), 47807, 'SRID=4674;POINT (-40.356807 -2.808089)', '2026-07-28 09:34:45', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356823 -2.80803)'), GeomFromEWKT('SRID=4674;POINT (-40.356807 -2.808089)'))) / (select extract(epoch from '2026-07-28 09:34:45'::timestamp) - extract(epoch from '2026-07-28 09:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356823 -2.80803)'), GeomFromEWKT('SRID=4674;POINT (-40.356807 -2.808089)'))) / (select extract(epoch from '2026-07-28 09:34:45'::timestamp) - extract(epoch from '2026-07-28 09:34: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'), 47807, 'SRID=4674;POINT (-40.356807 -2.80811)', '2026-07-28 09:34:55', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356807 -2.808089)'), GeomFromEWKT('SRID=4674;POINT (-40.356807 -2.80811)'))) / (select extract(epoch from '2026-07-28 09:34:55'::timestamp) - extract(epoch from '2026-07-28 09:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356807 -2.808089)'), GeomFromEWKT('SRID=4674;POINT (-40.356807 -2.80811)'))) / (select extract(epoch from '2026-07-28 09:34:55'::timestamp) - extract(epoch from '2026-07-28 09:34:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.356807 -2.808126)', '2026-07-28 09:35:01', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356807 -2.80811)'), GeomFromEWKT('SRID=4674;POINT (-40.356807 -2.808126)'))) / (select extract(epoch from '2026-07-28 09:35:01'::timestamp) - extract(epoch from '2026-07-28 09:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356807 -2.80811)'), GeomFromEWKT('SRID=4674;POINT (-40.356807 -2.808126)'))) / (select extract(epoch from '2026-07-28 09:35:01'::timestamp) - extract(epoch from '2026-07-28 09:34: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'), 47807, 'SRID=4674;POINT (-40.356821 -2.808145)', '2026-07-28 09:38:09', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356807 -2.808126)'), GeomFromEWKT('SRID=4674;POINT (-40.356821 -2.808145)'))) / (select extract(epoch from '2026-07-28 09:38:09'::timestamp) - extract(epoch from '2026-07-28 09:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356807 -2.808126)'), GeomFromEWKT('SRID=4674;POINT (-40.356821 -2.808145)'))) / (select extract(epoch from '2026-07-28 09:38:09'::timestamp) - extract(epoch from '2026-07-28 09:35:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.356788 -2.808175)', '2026-07-28 10:08:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356821 -2.808145)'), GeomFromEWKT('SRID=4674;POINT (-40.356788 -2.808175)'))) / (select extract(epoch from '2026-07-28 10:08:04'::timestamp) - extract(epoch from '2026-07-28 09:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356821 -2.808145)'), GeomFromEWKT('SRID=4674;POINT (-40.356788 -2.808175)'))) / (select extract(epoch from '2026-07-28 10:08:04'::timestamp) - extract(epoch from '2026-07-28 09:38:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.356784 -2.808203)', '2026-07-28 10:08:35', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356788 -2.808175)'), GeomFromEWKT('SRID=4674;POINT (-40.356784 -2.808203)'))) / (select extract(epoch from '2026-07-28 10:08:35'::timestamp) - extract(epoch from '2026-07-28 10:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356788 -2.808175)'), GeomFromEWKT('SRID=4674;POINT (-40.356784 -2.808203)'))) / (select extract(epoch from '2026-07-28 10:08:35'::timestamp) - extract(epoch from '2026-07-28 10:08:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47807, 'SRID=4674;POINT (-40.356768 -2.808263)', '2026-07-28 10:08:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356784 -2.808203)'), GeomFromEWKT('SRID=4674;POINT (-40.356768 -2.808263)'))) / (select extract(epoch from '2026-07-28 10:08:43'::timestamp) - extract(epoch from '2026-07-28 10:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356784 -2.808203)'), GeomFromEWKT('SRID=4674;POINT (-40.356768 -2.808263)'))) / (select extract(epoch from '2026-07-28 10:08:43'::timestamp) - extract(epoch from '2026-07-28 10:08: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'), 47807, 'SRID=4674;POINT (-40.356801 -2.80836)', '2026-07-28 10:08:53', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356768 -2.808263)'), GeomFromEWKT('SRID=4674;POINT (-40.356801 -2.80836)'))) / (select extract(epoch from '2026-07-28 10:08:53'::timestamp) - extract(epoch from '2026-07-28 10:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356768 -2.808263)'), GeomFromEWKT('SRID=4674;POINT (-40.356801 -2.80836)'))) / (select extract(epoch from '2026-07-28 10:08:53'::timestamp) - extract(epoch from '2026-07-28 10:08:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
