 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.373026 -2.784852)', '2026-07-17 16:01:11', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373045 -2.784727)'), GeomFromEWKT('SRID=4674;POINT (-40.373026 -2.784852)'))) / (select extract(epoch from '2026-07-17 16:01:11'::timestamp) - extract(epoch from '2026-07-17 16:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373045 -2.784727)'), GeomFromEWKT('SRID=4674;POINT (-40.373026 -2.784852)'))) / (select extract(epoch from '2026-07-17 16:01:11'::timestamp) - extract(epoch from '2026-07-17 16:01:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.372969 -2.785031)', '2026-07-17 16:01:19', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373026 -2.784852)'), GeomFromEWKT('SRID=4674;POINT (-40.372969 -2.785031)'))) / (select extract(epoch from '2026-07-17 16:01:19'::timestamp) - extract(epoch from '2026-07-17 16:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373026 -2.784852)'), GeomFromEWKT('SRID=4674;POINT (-40.372969 -2.785031)'))) / (select extract(epoch from '2026-07-17 16:01:19'::timestamp) - extract(epoch from '2026-07-17 16:01: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'), 47831, 'SRID=4674;POINT (-40.372903 -2.785159)', '2026-07-17 16:01:25', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372969 -2.785031)'), GeomFromEWKT('SRID=4674;POINT (-40.372903 -2.785159)'))) / (select extract(epoch from '2026-07-17 16:01:25'::timestamp) - extract(epoch from '2026-07-17 16:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372969 -2.785031)'), GeomFromEWKT('SRID=4674;POINT (-40.372903 -2.785159)'))) / (select extract(epoch from '2026-07-17 16:01:25'::timestamp) - extract(epoch from '2026-07-17 16:01:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.372844 -2.785279)', '2026-07-17 16:01:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372903 -2.785159)'), GeomFromEWKT('SRID=4674;POINT (-40.372844 -2.785279)'))) / (select extract(epoch from '2026-07-17 16:01:31'::timestamp) - extract(epoch from '2026-07-17 16:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372903 -2.785159)'), GeomFromEWKT('SRID=4674;POINT (-40.372844 -2.785279)'))) / (select extract(epoch from '2026-07-17 16:01:31'::timestamp) - extract(epoch from '2026-07-17 16:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.372783 -2.785425)', '2026-07-17 16:01:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372844 -2.785279)'), GeomFromEWKT('SRID=4674;POINT (-40.372783 -2.785425)'))) / (select extract(epoch from '2026-07-17 16:01:37'::timestamp) - extract(epoch from '2026-07-17 16:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372844 -2.785279)'), GeomFromEWKT('SRID=4674;POINT (-40.372783 -2.785425)'))) / (select extract(epoch from '2026-07-17 16:01:37'::timestamp) - extract(epoch from '2026-07-17 16:01: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'), 47831, 'SRID=4674;POINT (-40.372714 -2.785542)', '2026-07-17 16:01:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372783 -2.785425)'), GeomFromEWKT('SRID=4674;POINT (-40.372714 -2.785542)'))) / (select extract(epoch from '2026-07-17 16:01:43'::timestamp) - extract(epoch from '2026-07-17 16:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372783 -2.785425)'), GeomFromEWKT('SRID=4674;POINT (-40.372714 -2.785542)'))) / (select extract(epoch from '2026-07-17 16:01:43'::timestamp) - extract(epoch from '2026-07-17 16:01: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'), 47831, 'SRID=4674;POINT (-40.372666 -2.785661)', '2026-07-17 16:01:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372714 -2.785542)'), GeomFromEWKT('SRID=4674;POINT (-40.372666 -2.785661)'))) / (select extract(epoch from '2026-07-17 16:01:49'::timestamp) - extract(epoch from '2026-07-17 16:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372714 -2.785542)'), GeomFromEWKT('SRID=4674;POINT (-40.372666 -2.785661)'))) / (select extract(epoch from '2026-07-17 16:01:49'::timestamp) - extract(epoch from '2026-07-17 16:01: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'), 47831, 'SRID=4674;POINT (-40.372592 -2.785809)', '2026-07-17 16:01:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372666 -2.785661)'), GeomFromEWKT('SRID=4674;POINT (-40.372592 -2.785809)'))) / (select extract(epoch from '2026-07-17 16:01:56'::timestamp) - extract(epoch from '2026-07-17 16:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372666 -2.785661)'), GeomFromEWKT('SRID=4674;POINT (-40.372592 -2.785809)'))) / (select extract(epoch from '2026-07-17 16:01:56'::timestamp) - extract(epoch from '2026-07-17 16:01:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.372512 -2.785933)', '2026-07-17 16:02:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372592 -2.785809)'), GeomFromEWKT('SRID=4674;POINT (-40.372512 -2.785933)'))) / (select extract(epoch from '2026-07-17 16:02:03'::timestamp) - extract(epoch from '2026-07-17 16:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372592 -2.785809)'), GeomFromEWKT('SRID=4674;POINT (-40.372512 -2.785933)'))) / (select extract(epoch from '2026-07-17 16:02:03'::timestamp) - extract(epoch from '2026-07-17 16:01:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.372454 -2.78606)', '2026-07-17 16:02:09', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372512 -2.785933)'), GeomFromEWKT('SRID=4674;POINT (-40.372454 -2.78606)'))) / (select extract(epoch from '2026-07-17 16:02:09'::timestamp) - extract(epoch from '2026-07-17 16:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372512 -2.785933)'), GeomFromEWKT('SRID=4674;POINT (-40.372454 -2.78606)'))) / (select extract(epoch from '2026-07-17 16:02:09'::timestamp) - extract(epoch from '2026-07-17 16:02:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.37236 -2.786216)', '2026-07-17 16:02:17', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372454 -2.78606)'), GeomFromEWKT('SRID=4674;POINT (-40.37236 -2.786216)'))) / (select extract(epoch from '2026-07-17 16:02:17'::timestamp) - extract(epoch from '2026-07-17 16:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372454 -2.78606)'), GeomFromEWKT('SRID=4674;POINT (-40.37236 -2.786216)'))) / (select extract(epoch from '2026-07-17 16:02:17'::timestamp) - extract(epoch from '2026-07-17 16:02:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.37226 -2.786367)', '2026-07-17 16:02:26', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37236 -2.786216)'), GeomFromEWKT('SRID=4674;POINT (-40.37226 -2.786367)'))) / (select extract(epoch from '2026-07-17 16:02:26'::timestamp) - extract(epoch from '2026-07-17 16:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37236 -2.786216)'), GeomFromEWKT('SRID=4674;POINT (-40.37226 -2.786367)'))) / (select extract(epoch from '2026-07-17 16:02:26'::timestamp) - extract(epoch from '2026-07-17 16:02:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.372145 -2.786535)', '2026-07-17 16:02:35', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37226 -2.786367)'), GeomFromEWKT('SRID=4674;POINT (-40.372145 -2.786535)'))) / (select extract(epoch from '2026-07-17 16:02:35'::timestamp) - extract(epoch from '2026-07-17 16:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37226 -2.786367)'), GeomFromEWKT('SRID=4674;POINT (-40.372145 -2.786535)'))) / (select extract(epoch from '2026-07-17 16:02:35'::timestamp) - extract(epoch from '2026-07-17 16:02: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'), 47831, 'SRID=4674;POINT (-40.372081 -2.78667)', '2026-07-17 16:02:41', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372145 -2.786535)'), GeomFromEWKT('SRID=4674;POINT (-40.372081 -2.78667)'))) / (select extract(epoch from '2026-07-17 16:02:41'::timestamp) - extract(epoch from '2026-07-17 16:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372145 -2.786535)'), GeomFromEWKT('SRID=4674;POINT (-40.372081 -2.78667)'))) / (select extract(epoch from '2026-07-17 16:02:41'::timestamp) - extract(epoch from '2026-07-17 16:02:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.372018 -2.786812)', '2026-07-17 16:02:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372081 -2.78667)'), GeomFromEWKT('SRID=4674;POINT (-40.372018 -2.786812)'))) / (select extract(epoch from '2026-07-17 16:02:48'::timestamp) - extract(epoch from '2026-07-17 16:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372081 -2.78667)'), GeomFromEWKT('SRID=4674;POINT (-40.372018 -2.786812)'))) / (select extract(epoch from '2026-07-17 16:02:48'::timestamp) - extract(epoch from '2026-07-17 16:02:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.37195 -2.786951)', '2026-07-17 16:02:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372018 -2.786812)'), GeomFromEWKT('SRID=4674;POINT (-40.37195 -2.786951)'))) / (select extract(epoch from '2026-07-17 16:02:55'::timestamp) - extract(epoch from '2026-07-17 16:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372018 -2.786812)'), GeomFromEWKT('SRID=4674;POINT (-40.37195 -2.786951)'))) / (select extract(epoch from '2026-07-17 16:02:55'::timestamp) - extract(epoch from '2026-07-17 16:02: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'), 47831, 'SRID=4674;POINT (-40.371895 -2.787042)', '2026-07-17 16:03:00', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37195 -2.786951)'), GeomFromEWKT('SRID=4674;POINT (-40.371895 -2.787042)'))) / (select extract(epoch from '2026-07-17 16:03:00'::timestamp) - extract(epoch from '2026-07-17 16:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37195 -2.786951)'), GeomFromEWKT('SRID=4674;POINT (-40.371895 -2.787042)'))) / (select extract(epoch from '2026-07-17 16:03:00'::timestamp) - extract(epoch from '2026-07-17 16:02: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'), 47831, 'SRID=4674;POINT (-40.371823 -2.787129)', '2026-07-17 16:03:05', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371895 -2.787042)'), GeomFromEWKT('SRID=4674;POINT (-40.371823 -2.787129)'))) / (select extract(epoch from '2026-07-17 16:03:05'::timestamp) - extract(epoch from '2026-07-17 16:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371895 -2.787042)'), GeomFromEWKT('SRID=4674;POINT (-40.371823 -2.787129)'))) / (select extract(epoch from '2026-07-17 16:03:05'::timestamp) - extract(epoch from '2026-07-17 16:03:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.371751 -2.787231)', '2026-07-17 16:03:11', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371823 -2.787129)'), GeomFromEWKT('SRID=4674;POINT (-40.371751 -2.787231)'))) / (select extract(epoch from '2026-07-17 16:03:11'::timestamp) - extract(epoch from '2026-07-17 16:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371823 -2.787129)'), GeomFromEWKT('SRID=4674;POINT (-40.371751 -2.787231)'))) / (select extract(epoch from '2026-07-17 16:03:11'::timestamp) - extract(epoch from '2026-07-17 16:03:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.371654 -2.787352)', '2026-07-17 16:03:18', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371751 -2.787231)'), GeomFromEWKT('SRID=4674;POINT (-40.371654 -2.787352)'))) / (select extract(epoch from '2026-07-17 16:03:18'::timestamp) - extract(epoch from '2026-07-17 16:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371751 -2.787231)'), GeomFromEWKT('SRID=4674;POINT (-40.371654 -2.787352)'))) / (select extract(epoch from '2026-07-17 16:03:18'::timestamp) - extract(epoch from '2026-07-17 16:03: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'), 47831, 'SRID=4674;POINT (-40.371557 -2.787494)', '2026-07-17 16:03:26', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371654 -2.787352)'), GeomFromEWKT('SRID=4674;POINT (-40.371557 -2.787494)'))) / (select extract(epoch from '2026-07-17 16:03:26'::timestamp) - extract(epoch from '2026-07-17 16:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371654 -2.787352)'), GeomFromEWKT('SRID=4674;POINT (-40.371557 -2.787494)'))) / (select extract(epoch from '2026-07-17 16:03:26'::timestamp) - extract(epoch from '2026-07-17 16:03: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'), 47831, 'SRID=4674;POINT (-40.371467 -2.787591)', '2026-07-17 16:03:32', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371557 -2.787494)'), GeomFromEWKT('SRID=4674;POINT (-40.371467 -2.787591)'))) / (select extract(epoch from '2026-07-17 16:03:32'::timestamp) - extract(epoch from '2026-07-17 16:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371557 -2.787494)'), GeomFromEWKT('SRID=4674;POINT (-40.371467 -2.787591)'))) / (select extract(epoch from '2026-07-17 16:03:32'::timestamp) - extract(epoch from '2026-07-17 16:03: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'), 47831, 'SRID=4674;POINT (-40.371375 -2.787716)', '2026-07-17 16:03:39', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371467 -2.787591)'), GeomFromEWKT('SRID=4674;POINT (-40.371375 -2.787716)'))) / (select extract(epoch from '2026-07-17 16:03:39'::timestamp) - extract(epoch from '2026-07-17 16:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371467 -2.787591)'), GeomFromEWKT('SRID=4674;POINT (-40.371375 -2.787716)'))) / (select extract(epoch from '2026-07-17 16:03:39'::timestamp) - extract(epoch from '2026-07-17 16:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.371257 -2.787867)', '2026-07-17 16:03:47', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371375 -2.787716)'), GeomFromEWKT('SRID=4674;POINT (-40.371257 -2.787867)'))) / (select extract(epoch from '2026-07-17 16:03:47'::timestamp) - extract(epoch from '2026-07-17 16:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371375 -2.787716)'), GeomFromEWKT('SRID=4674;POINT (-40.371257 -2.787867)'))) / (select extract(epoch from '2026-07-17 16:03:47'::timestamp) - extract(epoch from '2026-07-17 16:03:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.371175 -2.787976)', '2026-07-17 16:03:53', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371257 -2.787867)'), GeomFromEWKT('SRID=4674;POINT (-40.371175 -2.787976)'))) / (select extract(epoch from '2026-07-17 16:03:53'::timestamp) - extract(epoch from '2026-07-17 16:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371257 -2.787867)'), GeomFromEWKT('SRID=4674;POINT (-40.371175 -2.787976)'))) / (select extract(epoch from '2026-07-17 16:03:53'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47831, 'SRID=4674;POINT (-40.371084 -2.788112)', '2026-07-17 16:04:00', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371175 -2.787976)'), GeomFromEWKT('SRID=4674;POINT (-40.371084 -2.788112)'))) / (select extract(epoch from '2026-07-17 16:04:00'::timestamp) - extract(epoch from '2026-07-17 16:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371175 -2.787976)'), GeomFromEWKT('SRID=4674;POINT (-40.371084 -2.788112)'))) / (select extract(epoch from '2026-07-17 16:04:00'::timestamp) - extract(epoch from '2026-07-17 16:03:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.37099 -2.78828)', '2026-07-17 16:04:09', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371084 -2.788112)'), GeomFromEWKT('SRID=4674;POINT (-40.37099 -2.78828)'))) / (select extract(epoch from '2026-07-17 16:04:09'::timestamp) - extract(epoch from '2026-07-17 16:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371084 -2.788112)'), GeomFromEWKT('SRID=4674;POINT (-40.37099 -2.78828)'))) / (select extract(epoch from '2026-07-17 16:04:09'::timestamp) - extract(epoch from '2026-07-17 16:04: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'), 47831, 'SRID=4674;POINT (-40.370906 -2.788424)', '2026-07-17 16:04:16', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37099 -2.78828)'), GeomFromEWKT('SRID=4674;POINT (-40.370906 -2.788424)'))) / (select extract(epoch from '2026-07-17 16:04:16'::timestamp) - extract(epoch from '2026-07-17 16:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37099 -2.78828)'), GeomFromEWKT('SRID=4674;POINT (-40.370906 -2.788424)'))) / (select extract(epoch from '2026-07-17 16:04:16'::timestamp) - extract(epoch from '2026-07-17 16:04:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.370804 -2.788562)', '2026-07-17 16:04:24', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370906 -2.788424)'), GeomFromEWKT('SRID=4674;POINT (-40.370804 -2.788562)'))) / (select extract(epoch from '2026-07-17 16:04:24'::timestamp) - extract(epoch from '2026-07-17 16:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370906 -2.788424)'), GeomFromEWKT('SRID=4674;POINT (-40.370804 -2.788562)'))) / (select extract(epoch from '2026-07-17 16:04:24'::timestamp) - extract(epoch from '2026-07-17 16:04:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.3707 -2.788705)', '2026-07-17 16:04:32', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370804 -2.788562)'), GeomFromEWKT('SRID=4674;POINT (-40.3707 -2.788705)'))) / (select extract(epoch from '2026-07-17 16:04:32'::timestamp) - extract(epoch from '2026-07-17 16:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370804 -2.788562)'), GeomFromEWKT('SRID=4674;POINT (-40.3707 -2.788705)'))) / (select extract(epoch from '2026-07-17 16:04:32'::timestamp) - extract(epoch from '2026-07-17 16:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.370599 -2.788838)', '2026-07-17 16:04:39', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3707 -2.788705)'), GeomFromEWKT('SRID=4674;POINT (-40.370599 -2.788838)'))) / (select extract(epoch from '2026-07-17 16:04:39'::timestamp) - extract(epoch from '2026-07-17 16:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3707 -2.788705)'), GeomFromEWKT('SRID=4674;POINT (-40.370599 -2.788838)'))) / (select extract(epoch from '2026-07-17 16:04:39'::timestamp) - extract(epoch from '2026-07-17 16:04:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.37052 -2.788981)', '2026-07-17 16:04:46', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370599 -2.788838)'), GeomFromEWKT('SRID=4674;POINT (-40.37052 -2.788981)'))) / (select extract(epoch from '2026-07-17 16:04:46'::timestamp) - extract(epoch from '2026-07-17 16:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370599 -2.788838)'), GeomFromEWKT('SRID=4674;POINT (-40.37052 -2.788981)'))) / (select extract(epoch from '2026-07-17 16:04:46'::timestamp) - extract(epoch from '2026-07-17 16:04: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'), 47831, 'SRID=4674;POINT (-40.370418 -2.789178)', '2026-07-17 16:04:55', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37052 -2.788981)'), GeomFromEWKT('SRID=4674;POINT (-40.370418 -2.789178)'))) / (select extract(epoch from '2026-07-17 16:04:55'::timestamp) - extract(epoch from '2026-07-17 16:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37052 -2.788981)'), GeomFromEWKT('SRID=4674;POINT (-40.370418 -2.789178)'))) / (select extract(epoch from '2026-07-17 16:04:55'::timestamp) - extract(epoch from '2026-07-17 16:04: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'), 47831, 'SRID=4674;POINT (-40.370318 -2.789333)', '2026-07-17 16:05:03', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370418 -2.789178)'), GeomFromEWKT('SRID=4674;POINT (-40.370318 -2.789333)'))) / (select extract(epoch from '2026-07-17 16:05:03'::timestamp) - extract(epoch from '2026-07-17 16:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370418 -2.789178)'), GeomFromEWKT('SRID=4674;POINT (-40.370318 -2.789333)'))) / (select extract(epoch from '2026-07-17 16:05:03'::timestamp) - extract(epoch from '2026-07-17 16:04:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.370232 -2.789454)', '2026-07-17 16:05:10', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370318 -2.789333)'), GeomFromEWKT('SRID=4674;POINT (-40.370232 -2.789454)'))) / (select extract(epoch from '2026-07-17 16:05:10'::timestamp) - extract(epoch from '2026-07-17 16:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370318 -2.789333)'), GeomFromEWKT('SRID=4674;POINT (-40.370232 -2.789454)'))) / (select extract(epoch from '2026-07-17 16:05:10'::timestamp) - extract(epoch from '2026-07-17 16:05:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.370136 -2.789634)', '2026-07-17 16:05:19', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370232 -2.789454)'), GeomFromEWKT('SRID=4674;POINT (-40.370136 -2.789634)'))) / (select extract(epoch from '2026-07-17 16:05:19'::timestamp) - extract(epoch from '2026-07-17 16:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370232 -2.789454)'), GeomFromEWKT('SRID=4674;POINT (-40.370136 -2.789634)'))) / (select extract(epoch from '2026-07-17 16:05:19'::timestamp) - extract(epoch from '2026-07-17 16:05:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.370067 -2.789743)', '2026-07-17 16:05:25', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370136 -2.789634)'), GeomFromEWKT('SRID=4674;POINT (-40.370067 -2.789743)'))) / (select extract(epoch from '2026-07-17 16:05:25'::timestamp) - extract(epoch from '2026-07-17 16:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370136 -2.789634)'), GeomFromEWKT('SRID=4674;POINT (-40.370067 -2.789743)'))) / (select extract(epoch from '2026-07-17 16:05:25'::timestamp) - extract(epoch from '2026-07-17 16:05: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'), 47831, 'SRID=4674;POINT (-40.369969 -2.78986)', '2026-07-17 16:05:32', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370067 -2.789743)'), GeomFromEWKT('SRID=4674;POINT (-40.369969 -2.78986)'))) / (select extract(epoch from '2026-07-17 16:05:32'::timestamp) - extract(epoch from '2026-07-17 16:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370067 -2.789743)'), GeomFromEWKT('SRID=4674;POINT (-40.369969 -2.78986)'))) / (select extract(epoch from '2026-07-17 16:05:32'::timestamp) - extract(epoch from '2026-07-17 16:05:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.369862 -2.78998)', '2026-07-17 16:05:39', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369969 -2.78986)'), GeomFromEWKT('SRID=4674;POINT (-40.369862 -2.78998)'))) / (select extract(epoch from '2026-07-17 16:05:39'::timestamp) - extract(epoch from '2026-07-17 16:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369969 -2.78986)'), GeomFromEWKT('SRID=4674;POINT (-40.369862 -2.78998)'))) / (select extract(epoch from '2026-07-17 16:05:39'::timestamp) - extract(epoch from '2026-07-17 16:05:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.369765 -2.790102)', '2026-07-17 16:05:46', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369862 -2.78998)'), GeomFromEWKT('SRID=4674;POINT (-40.369765 -2.790102)'))) / (select extract(epoch from '2026-07-17 16:05:46'::timestamp) - extract(epoch from '2026-07-17 16:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369862 -2.78998)'), GeomFromEWKT('SRID=4674;POINT (-40.369765 -2.790102)'))) / (select extract(epoch from '2026-07-17 16:05:46'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47831, 'SRID=4674;POINT (-40.369666 -2.790256)', '2026-07-17 16:05:54', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369765 -2.790102)'), GeomFromEWKT('SRID=4674;POINT (-40.369666 -2.790256)'))) / (select extract(epoch from '2026-07-17 16:05:54'::timestamp) - extract(epoch from '2026-07-17 16:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369765 -2.790102)'), GeomFromEWKT('SRID=4674;POINT (-40.369666 -2.790256)'))) / (select extract(epoch from '2026-07-17 16:05:54'::timestamp) - extract(epoch from '2026-07-17 16:05:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.369597 -2.790368)', '2026-07-17 16:06:00', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369666 -2.790256)'), GeomFromEWKT('SRID=4674;POINT (-40.369597 -2.790368)'))) / (select extract(epoch from '2026-07-17 16:06:00'::timestamp) - extract(epoch from '2026-07-17 16:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369666 -2.790256)'), GeomFromEWKT('SRID=4674;POINT (-40.369597 -2.790368)'))) / (select extract(epoch from '2026-07-17 16:06:00'::timestamp) - extract(epoch from '2026-07-17 16:05:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.369531 -2.790493)', '2026-07-17 16:06:06', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369597 -2.790368)'), GeomFromEWKT('SRID=4674;POINT (-40.369531 -2.790493)'))) / (select extract(epoch from '2026-07-17 16:06:06'::timestamp) - extract(epoch from '2026-07-17 16:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369597 -2.790368)'), GeomFromEWKT('SRID=4674;POINT (-40.369531 -2.790493)'))) / (select extract(epoch from '2026-07-17 16:06:06'::timestamp) - extract(epoch from '2026-07-17 16:06: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'), 47831, 'SRID=4674;POINT (-40.369421 -2.790645)', '2026-07-17 16:06:14', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369531 -2.790493)'), GeomFromEWKT('SRID=4674;POINT (-40.369421 -2.790645)'))) / (select extract(epoch from '2026-07-17 16:06:14'::timestamp) - extract(epoch from '2026-07-17 16:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369531 -2.790493)'), GeomFromEWKT('SRID=4674;POINT (-40.369421 -2.790645)'))) / (select extract(epoch from '2026-07-17 16:06:14'::timestamp) - extract(epoch from '2026-07-17 16:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.369368 -2.790733)', '2026-07-17 16:06:19', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369421 -2.790645)'), GeomFromEWKT('SRID=4674;POINT (-40.369368 -2.790733)'))) / (select extract(epoch from '2026-07-17 16:06:19'::timestamp) - extract(epoch from '2026-07-17 16:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369421 -2.790645)'), GeomFromEWKT('SRID=4674;POINT (-40.369368 -2.790733)'))) / (select extract(epoch from '2026-07-17 16:06:19'::timestamp) - extract(epoch from '2026-07-17 16:06: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'), 47831, 'SRID=4674;POINT (-40.369261 -2.790903)', '2026-07-17 16:06:28', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369368 -2.790733)'), GeomFromEWKT('SRID=4674;POINT (-40.369261 -2.790903)'))) / (select extract(epoch from '2026-07-17 16:06:28'::timestamp) - extract(epoch from '2026-07-17 16:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369368 -2.790733)'), GeomFromEWKT('SRID=4674;POINT (-40.369261 -2.790903)'))) / (select extract(epoch from '2026-07-17 16:06:28'::timestamp) - extract(epoch from '2026-07-17 16:06: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'), 47831, 'SRID=4674;POINT (-40.369179 -2.79102)', '2026-07-17 16:06:34', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369261 -2.790903)'), GeomFromEWKT('SRID=4674;POINT (-40.369179 -2.79102)'))) / (select extract(epoch from '2026-07-17 16:06:34'::timestamp) - extract(epoch from '2026-07-17 16:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369261 -2.790903)'), GeomFromEWKT('SRID=4674;POINT (-40.369179 -2.79102)'))) / (select extract(epoch from '2026-07-17 16:06:34'::timestamp) - extract(epoch from '2026-07-17 16:06: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'), 47831, 'SRID=4674;POINT (-40.369089 -2.79115)', '2026-07-17 16:06:41', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369179 -2.79102)'), GeomFromEWKT('SRID=4674;POINT (-40.369089 -2.79115)'))) / (select extract(epoch from '2026-07-17 16:06:41'::timestamp) - extract(epoch from '2026-07-17 16:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369179 -2.79102)'), GeomFromEWKT('SRID=4674;POINT (-40.369089 -2.79115)'))) / (select extract(epoch from '2026-07-17 16:06:41'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47831, 'SRID=4674;POINT (-40.368978 -2.791314)', '2026-07-17 16:06:50', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369089 -2.79115)'), GeomFromEWKT('SRID=4674;POINT (-40.368978 -2.791314)'))) / (select extract(epoch from '2026-07-17 16:06:50'::timestamp) - extract(epoch from '2026-07-17 16:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369089 -2.79115)'), GeomFromEWKT('SRID=4674;POINT (-40.368978 -2.791314)'))) / (select extract(epoch from '2026-07-17 16:06:50'::timestamp) - extract(epoch from '2026-07-17 16:06: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'), 47831, 'SRID=4674;POINT (-40.368873 -2.791455)', '2026-07-17 16:06:58', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368978 -2.791314)'), GeomFromEWKT('SRID=4674;POINT (-40.368873 -2.791455)'))) / (select extract(epoch from '2026-07-17 16:06:58'::timestamp) - extract(epoch from '2026-07-17 16:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368978 -2.791314)'), GeomFromEWKT('SRID=4674;POINT (-40.368873 -2.791455)'))) / (select extract(epoch from '2026-07-17 16:06:58'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47831, 'SRID=4674;POINT (-40.368772 -2.791619)', '2026-07-17 16:07:06', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368873 -2.791455)'), GeomFromEWKT('SRID=4674;POINT (-40.368772 -2.791619)'))) / (select extract(epoch from '2026-07-17 16:07:06'::timestamp) - extract(epoch from '2026-07-17 16:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368873 -2.791455)'), GeomFromEWKT('SRID=4674;POINT (-40.368772 -2.791619)'))) / (select extract(epoch from '2026-07-17 16:07:06'::timestamp) - extract(epoch from '2026-07-17 16:06: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'), 47831, 'SRID=4674;POINT (-40.368687 -2.791729)', '2026-07-17 16:07:13', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368772 -2.791619)'), GeomFromEWKT('SRID=4674;POINT (-40.368687 -2.791729)'))) / (select extract(epoch from '2026-07-17 16:07:13'::timestamp) - extract(epoch from '2026-07-17 16:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368772 -2.791619)'), GeomFromEWKT('SRID=4674;POINT (-40.368687 -2.791729)'))) / (select extract(epoch from '2026-07-17 16:07:13'::timestamp) - extract(epoch from '2026-07-17 16:07:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.368593 -2.791841)', '2026-07-17 16:07:20', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368687 -2.791729)'), GeomFromEWKT('SRID=4674;POINT (-40.368593 -2.791841)'))) / (select extract(epoch from '2026-07-17 16:07:20'::timestamp) - extract(epoch from '2026-07-17 16:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368687 -2.791729)'), GeomFromEWKT('SRID=4674;POINT (-40.368593 -2.791841)'))) / (select extract(epoch from '2026-07-17 16:07:20'::timestamp) - extract(epoch from '2026-07-17 16:07:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.368477 -2.791961)', '2026-07-17 16:07:28', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368593 -2.791841)'), GeomFromEWKT('SRID=4674;POINT (-40.368477 -2.791961)'))) / (select extract(epoch from '2026-07-17 16:07:28'::timestamp) - extract(epoch from '2026-07-17 16:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368593 -2.791841)'), GeomFromEWKT('SRID=4674;POINT (-40.368477 -2.791961)'))) / (select extract(epoch from '2026-07-17 16:07:28'::timestamp) - extract(epoch from '2026-07-17 16:07: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'), 47831, 'SRID=4674;POINT (-40.368374 -2.792089)', '2026-07-17 16:07:35', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368477 -2.791961)'), GeomFromEWKT('SRID=4674;POINT (-40.368374 -2.792089)'))) / (select extract(epoch from '2026-07-17 16:07:35'::timestamp) - extract(epoch from '2026-07-17 16:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368477 -2.791961)'), GeomFromEWKT('SRID=4674;POINT (-40.368374 -2.792089)'))) / (select extract(epoch from '2026-07-17 16:07:35'::timestamp) - extract(epoch from '2026-07-17 16:07: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'), 47831, 'SRID=4674;POINT (-40.368292 -2.792223)', '2026-07-17 16:07:42', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368374 -2.792089)'), GeomFromEWKT('SRID=4674;POINT (-40.368292 -2.792223)'))) / (select extract(epoch from '2026-07-17 16:07:42'::timestamp) - extract(epoch from '2026-07-17 16:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368374 -2.792089)'), GeomFromEWKT('SRID=4674;POINT (-40.368292 -2.792223)'))) / (select extract(epoch from '2026-07-17 16:07:42'::timestamp) - extract(epoch from '2026-07-17 16:07: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'), 47831, 'SRID=4674;POINT (-40.368208 -2.792351)', '2026-07-17 16:07:50', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368292 -2.792223)'), GeomFromEWKT('SRID=4674;POINT (-40.368208 -2.792351)'))) / (select extract(epoch from '2026-07-17 16:07:50'::timestamp) - extract(epoch from '2026-07-17 16:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368292 -2.792223)'), GeomFromEWKT('SRID=4674;POINT (-40.368208 -2.792351)'))) / (select extract(epoch from '2026-07-17 16:07:50'::timestamp) - extract(epoch from '2026-07-17 16:07:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.368124 -2.792457)', '2026-07-17 16:07:56', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368208 -2.792351)'), GeomFromEWKT('SRID=4674;POINT (-40.368124 -2.792457)'))) / (select extract(epoch from '2026-07-17 16:07:56'::timestamp) - extract(epoch from '2026-07-17 16:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368208 -2.792351)'), GeomFromEWKT('SRID=4674;POINT (-40.368124 -2.792457)'))) / (select extract(epoch from '2026-07-17 16:07:56'::timestamp) - extract(epoch from '2026-07-17 16:07: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'), 47831, 'SRID=4674;POINT (-40.368019 -2.792588)', '2026-07-17 16:08:04', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368124 -2.792457)'), GeomFromEWKT('SRID=4674;POINT (-40.368019 -2.792588)'))) / (select extract(epoch from '2026-07-17 16:08:04'::timestamp) - extract(epoch from '2026-07-17 16:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368124 -2.792457)'), GeomFromEWKT('SRID=4674;POINT (-40.368019 -2.792588)'))) / (select extract(epoch from '2026-07-17 16:08:04'::timestamp) - extract(epoch from '2026-07-17 16:07: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'), 47831, 'SRID=4674;POINT (-40.367933 -2.792701)', '2026-07-17 16:08:10', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368019 -2.792588)'), GeomFromEWKT('SRID=4674;POINT (-40.367933 -2.792701)'))) / (select extract(epoch from '2026-07-17 16:08:10'::timestamp) - extract(epoch from '2026-07-17 16:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368019 -2.792588)'), GeomFromEWKT('SRID=4674;POINT (-40.367933 -2.792701)'))) / (select extract(epoch from '2026-07-17 16:08:10'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47831, 'SRID=4674;POINT (-40.367824 -2.792875)', '2026-07-17 16:08:19', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367933 -2.792701)'), GeomFromEWKT('SRID=4674;POINT (-40.367824 -2.792875)'))) / (select extract(epoch from '2026-07-17 16:08:19'::timestamp) - extract(epoch from '2026-07-17 16:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367933 -2.792701)'), GeomFromEWKT('SRID=4674;POINT (-40.367824 -2.792875)'))) / (select extract(epoch from '2026-07-17 16:08:19'::timestamp) - extract(epoch from '2026-07-17 16:08: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'), 47831, 'SRID=4674;POINT (-40.367744 -2.792994)', '2026-07-17 16:08:25', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367824 -2.792875)'), GeomFromEWKT('SRID=4674;POINT (-40.367744 -2.792994)'))) / (select extract(epoch from '2026-07-17 16:08:25'::timestamp) - extract(epoch from '2026-07-17 16:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367824 -2.792875)'), GeomFromEWKT('SRID=4674;POINT (-40.367744 -2.792994)'))) / (select extract(epoch from '2026-07-17 16:08:25'::timestamp) - extract(epoch from '2026-07-17 16:08: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'), 47831, 'SRID=4674;POINT (-40.36767 -2.793083)', '2026-07-17 16:08:30', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367744 -2.792994)'), GeomFromEWKT('SRID=4674;POINT (-40.36767 -2.793083)'))) / (select extract(epoch from '2026-07-17 16:08:30'::timestamp) - extract(epoch from '2026-07-17 16:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367744 -2.792994)'), GeomFromEWKT('SRID=4674;POINT (-40.36767 -2.793083)'))) / (select extract(epoch from '2026-07-17 16:08:30'::timestamp) - extract(epoch from '2026-07-17 16:08: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'), 47831, 'SRID=4674;POINT (-40.367593 -2.793241)', '2026-07-17 16:08:37', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36767 -2.793083)'), GeomFromEWKT('SRID=4674;POINT (-40.367593 -2.793241)'))) / (select extract(epoch from '2026-07-17 16:08:37'::timestamp) - extract(epoch from '2026-07-17 16:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36767 -2.793083)'), GeomFromEWKT('SRID=4674;POINT (-40.367593 -2.793241)'))) / (select extract(epoch from '2026-07-17 16:08:37'::timestamp) - extract(epoch from '2026-07-17 16:08: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'), 47831, 'SRID=4674;POINT (-40.367554 -2.793345)', '2026-07-17 16:08:42', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367593 -2.793241)'), GeomFromEWKT('SRID=4674;POINT (-40.367554 -2.793345)'))) / (select extract(epoch from '2026-07-17 16:08:42'::timestamp) - extract(epoch from '2026-07-17 16:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367593 -2.793241)'), GeomFromEWKT('SRID=4674;POINT (-40.367554 -2.793345)'))) / (select extract(epoch from '2026-07-17 16:08:42'::timestamp) - extract(epoch from '2026-07-17 16:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.367491 -2.793465)', '2026-07-17 16:08:48', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367554 -2.793345)'), GeomFromEWKT('SRID=4674;POINT (-40.367491 -2.793465)'))) / (select extract(epoch from '2026-07-17 16:08:48'::timestamp) - extract(epoch from '2026-07-17 16:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367554 -2.793345)'), GeomFromEWKT('SRID=4674;POINT (-40.367491 -2.793465)'))) / (select extract(epoch from '2026-07-17 16:08:48'::timestamp) - extract(epoch from '2026-07-17 16:08:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.367423 -2.793615)', '2026-07-17 16:08:55', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367491 -2.793465)'), GeomFromEWKT('SRID=4674;POINT (-40.367423 -2.793615)'))) / (select extract(epoch from '2026-07-17 16:08:55'::timestamp) - extract(epoch from '2026-07-17 16:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367491 -2.793465)'), GeomFromEWKT('SRID=4674;POINT (-40.367423 -2.793615)'))) / (select extract(epoch from '2026-07-17 16:08:55'::timestamp) - extract(epoch from '2026-07-17 16:08:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.367373 -2.793706)', '2026-07-17 16:09:00', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367423 -2.793615)'), GeomFromEWKT('SRID=4674;POINT (-40.367373 -2.793706)'))) / (select extract(epoch from '2026-07-17 16:09:00'::timestamp) - extract(epoch from '2026-07-17 16:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367423 -2.793615)'), GeomFromEWKT('SRID=4674;POINT (-40.367373 -2.793706)'))) / (select extract(epoch from '2026-07-17 16:09:00'::timestamp) - extract(epoch from '2026-07-17 16:08:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.367307 -2.793831)', '2026-07-17 16:09:06', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367373 -2.793706)'), GeomFromEWKT('SRID=4674;POINT (-40.367307 -2.793831)'))) / (select extract(epoch from '2026-07-17 16:09:06'::timestamp) - extract(epoch from '2026-07-17 16:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367373 -2.793706)'), GeomFromEWKT('SRID=4674;POINT (-40.367307 -2.793831)'))) / (select extract(epoch from '2026-07-17 16:09:06'::timestamp) - extract(epoch from '2026-07-17 16:09: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'), 47831, 'SRID=4674;POINT (-40.367231 -2.793984)', '2026-07-17 16:09:13', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367307 -2.793831)'), GeomFromEWKT('SRID=4674;POINT (-40.367231 -2.793984)'))) / (select extract(epoch from '2026-07-17 16:09:13'::timestamp) - extract(epoch from '2026-07-17 16:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367307 -2.793831)'), GeomFromEWKT('SRID=4674;POINT (-40.367231 -2.793984)'))) / (select extract(epoch from '2026-07-17 16:09:13'::timestamp) - extract(epoch from '2026-07-17 16:09: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'), 47831, 'SRID=4674;POINT (-40.367187 -2.794124)', '2026-07-17 16:09:19', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367231 -2.793984)'), GeomFromEWKT('SRID=4674;POINT (-40.367187 -2.794124)'))) / (select extract(epoch from '2026-07-17 16:09:19'::timestamp) - extract(epoch from '2026-07-17 16:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367231 -2.793984)'), GeomFromEWKT('SRID=4674;POINT (-40.367187 -2.794124)'))) / (select extract(epoch from '2026-07-17 16:09:19'::timestamp) - extract(epoch from '2026-07-17 16:09:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.367122 -2.794281)', '2026-07-17 16:09:26', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367187 -2.794124)'), GeomFromEWKT('SRID=4674;POINT (-40.367122 -2.794281)'))) / (select extract(epoch from '2026-07-17 16:09:26'::timestamp) - extract(epoch from '2026-07-17 16:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367187 -2.794124)'), GeomFromEWKT('SRID=4674;POINT (-40.367122 -2.794281)'))) / (select extract(epoch from '2026-07-17 16:09:26'::timestamp) - extract(epoch from '2026-07-17 16:09:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.367044 -2.794443)', '2026-07-17 16:09:34', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367122 -2.794281)'), GeomFromEWKT('SRID=4674;POINT (-40.367044 -2.794443)'))) / (select extract(epoch from '2026-07-17 16:09:34'::timestamp) - extract(epoch from '2026-07-17 16:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367122 -2.794281)'), GeomFromEWKT('SRID=4674;POINT (-40.367044 -2.794443)'))) / (select extract(epoch from '2026-07-17 16:09:34'::timestamp) - extract(epoch from '2026-07-17 16:09: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'), 47831, 'SRID=4674;POINT (-40.36698 -2.794587)', '2026-07-17 16:09:41', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367044 -2.794443)'), GeomFromEWKT('SRID=4674;POINT (-40.36698 -2.794587)'))) / (select extract(epoch from '2026-07-17 16:09:41'::timestamp) - extract(epoch from '2026-07-17 16:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367044 -2.794443)'), GeomFromEWKT('SRID=4674;POINT (-40.36698 -2.794587)'))) / (select extract(epoch from '2026-07-17 16:09:41'::timestamp) - extract(epoch from '2026-07-17 16:09: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'), 47831, 'SRID=4674;POINT (-40.366901 -2.794742)', '2026-07-17 16:09:48', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36698 -2.794587)'), GeomFromEWKT('SRID=4674;POINT (-40.366901 -2.794742)'))) / (select extract(epoch from '2026-07-17 16:09:48'::timestamp) - extract(epoch from '2026-07-17 16:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36698 -2.794587)'), GeomFromEWKT('SRID=4674;POINT (-40.366901 -2.794742)'))) / (select extract(epoch from '2026-07-17 16:09:48'::timestamp) - extract(epoch from '2026-07-17 16:09: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'), 47831, 'SRID=4674;POINT (-40.366853 -2.794871)', '2026-07-17 16:09:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366901 -2.794742)'), GeomFromEWKT('SRID=4674;POINT (-40.366853 -2.794871)'))) / (select extract(epoch from '2026-07-17 16:09:54'::timestamp) - extract(epoch from '2026-07-17 16:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366901 -2.794742)'), GeomFromEWKT('SRID=4674;POINT (-40.366853 -2.794871)'))) / (select extract(epoch from '2026-07-17 16:09:54'::timestamp) - extract(epoch from '2026-07-17 16:09: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'), 47831, 'SRID=4674;POINT (-40.366759 -2.795016)', '2026-07-17 16:10:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366853 -2.794871)'), GeomFromEWKT('SRID=4674;POINT (-40.366759 -2.795016)'))) / (select extract(epoch from '2026-07-17 16:10:01'::timestamp) - extract(epoch from '2026-07-17 16:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366853 -2.794871)'), GeomFromEWKT('SRID=4674;POINT (-40.366759 -2.795016)'))) / (select extract(epoch from '2026-07-17 16:10:01'::timestamp) - extract(epoch from '2026-07-17 16:09:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.366677 -2.795123)', '2026-07-17 16:10:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366759 -2.795016)'), GeomFromEWKT('SRID=4674;POINT (-40.366677 -2.795123)'))) / (select extract(epoch from '2026-07-17 16:10:07'::timestamp) - extract(epoch from '2026-07-17 16:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366759 -2.795016)'), GeomFromEWKT('SRID=4674;POINT (-40.366677 -2.795123)'))) / (select extract(epoch from '2026-07-17 16:10:07'::timestamp) - extract(epoch from '2026-07-17 16:10:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.366575 -2.795269)', '2026-07-17 16:10:15', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366677 -2.795123)'), GeomFromEWKT('SRID=4674;POINT (-40.366575 -2.795269)'))) / (select extract(epoch from '2026-07-17 16:10:15'::timestamp) - extract(epoch from '2026-07-17 16:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366677 -2.795123)'), GeomFromEWKT('SRID=4674;POINT (-40.366575 -2.795269)'))) / (select extract(epoch from '2026-07-17 16:10:15'::timestamp) - extract(epoch from '2026-07-17 16:10:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.366506 -2.795377)', '2026-07-17 16:10:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366575 -2.795269)'), GeomFromEWKT('SRID=4674;POINT (-40.366506 -2.795377)'))) / (select extract(epoch from '2026-07-17 16:10:21'::timestamp) - extract(epoch from '2026-07-17 16:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366575 -2.795269)'), GeomFromEWKT('SRID=4674;POINT (-40.366506 -2.795377)'))) / (select extract(epoch from '2026-07-17 16:10:21'::timestamp) - extract(epoch from '2026-07-17 16:10:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.36647 -2.795423)', '2026-07-17 16:10:24', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366506 -2.795377)'), GeomFromEWKT('SRID=4674;POINT (-40.36647 -2.795423)'))) / (select extract(epoch from '2026-07-17 16:10:24'::timestamp) - extract(epoch from '2026-07-17 16:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366506 -2.795377)'), GeomFromEWKT('SRID=4674;POINT (-40.36647 -2.795423)'))) / (select extract(epoch from '2026-07-17 16:10:24'::timestamp) - extract(epoch from '2026-07-17 16:10: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'), 47831, 'SRID=4674;POINT (-40.366447 -2.795465)', '2026-07-17 16:10:26', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36647 -2.795423)'), GeomFromEWKT('SRID=4674;POINT (-40.366447 -2.795465)'))) / (select extract(epoch from '2026-07-17 16:10:26'::timestamp) - extract(epoch from '2026-07-17 16:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36647 -2.795423)'), GeomFromEWKT('SRID=4674;POINT (-40.366447 -2.795465)'))) / (select extract(epoch from '2026-07-17 16:10:26'::timestamp) - extract(epoch from '2026-07-17 16:10: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'), 47831, 'SRID=4674;POINT (-40.366369 -2.795609)', '2026-07-17 16:10:33', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366447 -2.795465)'), GeomFromEWKT('SRID=4674;POINT (-40.366369 -2.795609)'))) / (select extract(epoch from '2026-07-17 16:10:33'::timestamp) - extract(epoch from '2026-07-17 16:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366447 -2.795465)'), GeomFromEWKT('SRID=4674;POINT (-40.366369 -2.795609)'))) / (select extract(epoch from '2026-07-17 16:10:33'::timestamp) - extract(epoch from '2026-07-17 16:10: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'), 47831, 'SRID=4674;POINT (-40.366273 -2.795763)', '2026-07-17 16:10:41', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366369 -2.795609)'), GeomFromEWKT('SRID=4674;POINT (-40.366273 -2.795763)'))) / (select extract(epoch from '2026-07-17 16:10:41'::timestamp) - extract(epoch from '2026-07-17 16:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366369 -2.795609)'), GeomFromEWKT('SRID=4674;POINT (-40.366273 -2.795763)'))) / (select extract(epoch from '2026-07-17 16:10:41'::timestamp) - extract(epoch from '2026-07-17 16:10: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'), 47831, 'SRID=4674;POINT (-40.366205 -2.795877)', '2026-07-17 16:10:47', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366273 -2.795763)'), GeomFromEWKT('SRID=4674;POINT (-40.366205 -2.795877)'))) / (select extract(epoch from '2026-07-17 16:10:47'::timestamp) - extract(epoch from '2026-07-17 16:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366273 -2.795763)'), GeomFromEWKT('SRID=4674;POINT (-40.366205 -2.795877)'))) / (select extract(epoch from '2026-07-17 16:10:47'::timestamp) - extract(epoch from '2026-07-17 16:10: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'), 47831, 'SRID=4674;POINT (-40.366147 -2.795959)', '2026-07-17 16:10:52', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366205 -2.795877)'), GeomFromEWKT('SRID=4674;POINT (-40.366147 -2.795959)'))) / (select extract(epoch from '2026-07-17 16:10:52'::timestamp) - extract(epoch from '2026-07-17 16:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366205 -2.795877)'), GeomFromEWKT('SRID=4674;POINT (-40.366147 -2.795959)'))) / (select extract(epoch from '2026-07-17 16:10:52'::timestamp) - extract(epoch from '2026-07-17 16:10: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'), 47831, 'SRID=4674;POINT (-40.365998 -2.796126)', '2026-07-17 16:11:02', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366147 -2.795959)'), GeomFromEWKT('SRID=4674;POINT (-40.365998 -2.796126)'))) / (select extract(epoch from '2026-07-17 16:11:02'::timestamp) - extract(epoch from '2026-07-17 16:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366147 -2.795959)'), GeomFromEWKT('SRID=4674;POINT (-40.365998 -2.796126)'))) / (select extract(epoch from '2026-07-17 16:11:02'::timestamp) - extract(epoch from '2026-07-17 16:10: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'), 47831, 'SRID=4674;POINT (-40.365915 -2.79624)', '2026-07-17 16:11:08', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365998 -2.796126)'), GeomFromEWKT('SRID=4674;POINT (-40.365915 -2.79624)'))) / (select extract(epoch from '2026-07-17 16:11:08'::timestamp) - extract(epoch from '2026-07-17 16:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365998 -2.796126)'), GeomFromEWKT('SRID=4674;POINT (-40.365915 -2.79624)'))) / (select extract(epoch from '2026-07-17 16:11:08'::timestamp) - extract(epoch from '2026-07-17 16:11:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.365845 -2.796389)', '2026-07-17 16:11:15', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365915 -2.79624)'), GeomFromEWKT('SRID=4674;POINT (-40.365845 -2.796389)'))) / (select extract(epoch from '2026-07-17 16:11:15'::timestamp) - extract(epoch from '2026-07-17 16:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365915 -2.79624)'), GeomFromEWKT('SRID=4674;POINT (-40.365845 -2.796389)'))) / (select extract(epoch from '2026-07-17 16:11:15'::timestamp) - extract(epoch from '2026-07-17 16:11: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'), 47831, 'SRID=4674;POINT (-40.365777 -2.796517)', '2026-07-17 16:11:21', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365845 -2.796389)'), GeomFromEWKT('SRID=4674;POINT (-40.365777 -2.796517)'))) / (select extract(epoch from '2026-07-17 16:11:21'::timestamp) - extract(epoch from '2026-07-17 16:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365845 -2.796389)'), GeomFromEWKT('SRID=4674;POINT (-40.365777 -2.796517)'))) / (select extract(epoch from '2026-07-17 16:11:21'::timestamp) - extract(epoch from '2026-07-17 16:11: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'), 47831, 'SRID=4674;POINT (-40.365704 -2.796614)', '2026-07-17 16:11:27', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365777 -2.796517)'), GeomFromEWKT('SRID=4674;POINT (-40.365704 -2.796614)'))) / (select extract(epoch from '2026-07-17 16:11:27'::timestamp) - extract(epoch from '2026-07-17 16:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365777 -2.796517)'), GeomFromEWKT('SRID=4674;POINT (-40.365704 -2.796614)'))) / (select extract(epoch from '2026-07-17 16:11:27'::timestamp) - extract(epoch from '2026-07-17 16:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.365598 -2.796776)', '2026-07-17 16:11:36', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365704 -2.796614)'), GeomFromEWKT('SRID=4674;POINT (-40.365598 -2.796776)'))) / (select extract(epoch from '2026-07-17 16:11:36'::timestamp) - extract(epoch from '2026-07-17 16:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365704 -2.796614)'), GeomFromEWKT('SRID=4674;POINT (-40.365598 -2.796776)'))) / (select extract(epoch from '2026-07-17 16:11:36'::timestamp) - extract(epoch from '2026-07-17 16:11: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'), 47831, 'SRID=4674;POINT (-40.365532 -2.796928)', '2026-07-17 16:11:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365598 -2.796776)'), GeomFromEWKT('SRID=4674;POINT (-40.365532 -2.796928)'))) / (select extract(epoch from '2026-07-17 16:11:43'::timestamp) - extract(epoch from '2026-07-17 16:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365598 -2.796776)'), GeomFromEWKT('SRID=4674;POINT (-40.365532 -2.796928)'))) / (select extract(epoch from '2026-07-17 16:11:43'::timestamp) - extract(epoch from '2026-07-17 16:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.36544 -2.797097)', '2026-07-17 16:11:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365532 -2.796928)'), GeomFromEWKT('SRID=4674;POINT (-40.36544 -2.797097)'))) / (select extract(epoch from '2026-07-17 16:11:51'::timestamp) - extract(epoch from '2026-07-17 16:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365532 -2.796928)'), GeomFromEWKT('SRID=4674;POINT (-40.36544 -2.797097)'))) / (select extract(epoch from '2026-07-17 16:11:51'::timestamp) - extract(epoch from '2026-07-17 16:11: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'), 47831, 'SRID=4674;POINT (-40.365367 -2.797212)', '2026-07-17 16:11:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36544 -2.797097)'), GeomFromEWKT('SRID=4674;POINT (-40.365367 -2.797212)'))) / (select extract(epoch from '2026-07-17 16:11:57'::timestamp) - extract(epoch from '2026-07-17 16:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36544 -2.797097)'), GeomFromEWKT('SRID=4674;POINT (-40.365367 -2.797212)'))) / (select extract(epoch from '2026-07-17 16:11:57'::timestamp) - extract(epoch from '2026-07-17 16:11:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.365287 -2.797353)', '2026-07-17 16:12:04', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365367 -2.797212)'), GeomFromEWKT('SRID=4674;POINT (-40.365287 -2.797353)'))) / (select extract(epoch from '2026-07-17 16:12:04'::timestamp) - extract(epoch from '2026-07-17 16:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365367 -2.797212)'), GeomFromEWKT('SRID=4674;POINT (-40.365287 -2.797353)'))) / (select extract(epoch from '2026-07-17 16:12:04'::timestamp) - extract(epoch from '2026-07-17 16:11: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'), 47831, 'SRID=4674;POINT (-40.36523 -2.797477)', '2026-07-17 16:12:10', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365287 -2.797353)'), GeomFromEWKT('SRID=4674;POINT (-40.36523 -2.797477)'))) / (select extract(epoch from '2026-07-17 16:12:10'::timestamp) - extract(epoch from '2026-07-17 16:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365287 -2.797353)'), GeomFromEWKT('SRID=4674;POINT (-40.36523 -2.797477)'))) / (select extract(epoch from '2026-07-17 16:12:10'::timestamp) - extract(epoch from '2026-07-17 16:12: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'), 47831, 'SRID=4674;POINT (-40.365152 -2.79763)', '2026-07-17 16:12:17', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36523 -2.797477)'), GeomFromEWKT('SRID=4674;POINT (-40.365152 -2.79763)'))) / (select extract(epoch from '2026-07-17 16:12:17'::timestamp) - extract(epoch from '2026-07-17 16:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36523 -2.797477)'), GeomFromEWKT('SRID=4674;POINT (-40.365152 -2.79763)'))) / (select extract(epoch from '2026-07-17 16:12:17'::timestamp) - extract(epoch from '2026-07-17 16:12:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.36509 -2.797755)', '2026-07-17 16:12:23', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365152 -2.79763)'), GeomFromEWKT('SRID=4674;POINT (-40.36509 -2.797755)'))) / (select extract(epoch from '2026-07-17 16:12:23'::timestamp) - extract(epoch from '2026-07-17 16:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365152 -2.79763)'), GeomFromEWKT('SRID=4674;POINT (-40.36509 -2.797755)'))) / (select extract(epoch from '2026-07-17 16:12:23'::timestamp) - extract(epoch from '2026-07-17 16:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.365017 -2.797897)', '2026-07-17 16:12:30', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36509 -2.797755)'), GeomFromEWKT('SRID=4674;POINT (-40.365017 -2.797897)'))) / (select extract(epoch from '2026-07-17 16:12:30'::timestamp) - extract(epoch from '2026-07-17 16:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36509 -2.797755)'), GeomFromEWKT('SRID=4674;POINT (-40.365017 -2.797897)'))) / (select extract(epoch from '2026-07-17 16:12:30'::timestamp) - extract(epoch from '2026-07-17 16:12: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'), 47831, 'SRID=4674;POINT (-40.364934 -2.798031)', '2026-07-17 16:12:37', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365017 -2.797897)'), GeomFromEWKT('SRID=4674;POINT (-40.364934 -2.798031)'))) / (select extract(epoch from '2026-07-17 16:12:37'::timestamp) - extract(epoch from '2026-07-17 16:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365017 -2.797897)'), GeomFromEWKT('SRID=4674;POINT (-40.364934 -2.798031)'))) / (select extract(epoch from '2026-07-17 16:12:37'::timestamp) - extract(epoch from '2026-07-17 16:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.364861 -2.798172)', '2026-07-17 16:12:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364934 -2.798031)'), GeomFromEWKT('SRID=4674;POINT (-40.364861 -2.798172)'))) / (select extract(epoch from '2026-07-17 16:12:44'::timestamp) - extract(epoch from '2026-07-17 16:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364934 -2.798031)'), GeomFromEWKT('SRID=4674;POINT (-40.364861 -2.798172)'))) / (select extract(epoch from '2026-07-17 16:12:44'::timestamp) - extract(epoch from '2026-07-17 16:12:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.364792 -2.798311)', '2026-07-17 16:12:51', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364861 -2.798172)'), GeomFromEWKT('SRID=4674;POINT (-40.364792 -2.798311)'))) / (select extract(epoch from '2026-07-17 16:12:51'::timestamp) - extract(epoch from '2026-07-17 16:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364861 -2.798172)'), GeomFromEWKT('SRID=4674;POINT (-40.364792 -2.798311)'))) / (select extract(epoch from '2026-07-17 16:12:51'::timestamp) - extract(epoch from '2026-07-17 16:12:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.364712 -2.798473)', '2026-07-17 16:12:59', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364792 -2.798311)'), GeomFromEWKT('SRID=4674;POINT (-40.364712 -2.798473)'))) / (select extract(epoch from '2026-07-17 16:12:59'::timestamp) - extract(epoch from '2026-07-17 16:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364792 -2.798311)'), GeomFromEWKT('SRID=4674;POINT (-40.364712 -2.798473)'))) / (select extract(epoch from '2026-07-17 16:12:59'::timestamp) - extract(epoch from '2026-07-17 16:12: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'), 47831, 'SRID=4674;POINT (-40.364635 -2.798634)', '2026-07-17 16:13:07', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364712 -2.798473)'), GeomFromEWKT('SRID=4674;POINT (-40.364635 -2.798634)'))) / (select extract(epoch from '2026-07-17 16:13:07'::timestamp) - extract(epoch from '2026-07-17 16:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364712 -2.798473)'), GeomFromEWKT('SRID=4674;POINT (-40.364635 -2.798634)'))) / (select extract(epoch from '2026-07-17 16:13:07'::timestamp) - extract(epoch from '2026-07-17 16:12:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.364573 -2.798808)', '2026-07-17 16:13:15', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364635 -2.798634)'), GeomFromEWKT('SRID=4674;POINT (-40.364573 -2.798808)'))) / (select extract(epoch from '2026-07-17 16:13:15'::timestamp) - extract(epoch from '2026-07-17 16:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364635 -2.798634)'), GeomFromEWKT('SRID=4674;POINT (-40.364573 -2.798808)'))) / (select extract(epoch from '2026-07-17 16:13:15'::timestamp) - extract(epoch from '2026-07-17 16:13: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'), 47831, 'SRID=4674;POINT (-40.364521 -2.798943)', '2026-07-17 16:13:21', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364573 -2.798808)'), GeomFromEWKT('SRID=4674;POINT (-40.364521 -2.798943)'))) / (select extract(epoch from '2026-07-17 16:13:21'::timestamp) - extract(epoch from '2026-07-17 16:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364573 -2.798808)'), GeomFromEWKT('SRID=4674;POINT (-40.364521 -2.798943)'))) / (select extract(epoch from '2026-07-17 16:13:21'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47831, 'SRID=4674;POINT (-40.364466 -2.79907)', '2026-07-17 16:13:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364521 -2.798943)'), GeomFromEWKT('SRID=4674;POINT (-40.364466 -2.79907)'))) / (select extract(epoch from '2026-07-17 16:13:27'::timestamp) - extract(epoch from '2026-07-17 16:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364521 -2.798943)'), GeomFromEWKT('SRID=4674;POINT (-40.364466 -2.79907)'))) / (select extract(epoch from '2026-07-17 16:13:27'::timestamp) - extract(epoch from '2026-07-17 16:13:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.364396 -2.799194)', '2026-07-17 16:13:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364466 -2.79907)'), GeomFromEWKT('SRID=4674;POINT (-40.364396 -2.799194)'))) / (select extract(epoch from '2026-07-17 16:13:33'::timestamp) - extract(epoch from '2026-07-17 16:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364466 -2.79907)'), GeomFromEWKT('SRID=4674;POINT (-40.364396 -2.799194)'))) / (select extract(epoch from '2026-07-17 16:13:33'::timestamp) - extract(epoch from '2026-07-17 16:13: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'), 47831, 'SRID=4674;POINT (-40.364313 -2.799342)', '2026-07-17 16:13:40', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364396 -2.799194)'), GeomFromEWKT('SRID=4674;POINT (-40.364313 -2.799342)'))) / (select extract(epoch from '2026-07-17 16:13:40'::timestamp) - extract(epoch from '2026-07-17 16:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364396 -2.799194)'), GeomFromEWKT('SRID=4674;POINT (-40.364313 -2.799342)'))) / (select extract(epoch from '2026-07-17 16:13:40'::timestamp) - extract(epoch from '2026-07-17 16:13:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.364235 -2.799485)', '2026-07-17 16:13:47', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364313 -2.799342)'), GeomFromEWKT('SRID=4674;POINT (-40.364235 -2.799485)'))) / (select extract(epoch from '2026-07-17 16:13:47'::timestamp) - extract(epoch from '2026-07-17 16:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364313 -2.799342)'), GeomFromEWKT('SRID=4674;POINT (-40.364235 -2.799485)'))) / (select extract(epoch from '2026-07-17 16:13:47'::timestamp) - extract(epoch from '2026-07-17 16:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.364139 -2.799645)', '2026-07-17 16:13:55', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364235 -2.799485)'), GeomFromEWKT('SRID=4674;POINT (-40.364139 -2.799645)'))) / (select extract(epoch from '2026-07-17 16:13:55'::timestamp) - extract(epoch from '2026-07-17 16:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364235 -2.799485)'), GeomFromEWKT('SRID=4674;POINT (-40.364139 -2.799645)'))) / (select extract(epoch from '2026-07-17 16:13:55'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47831, 'SRID=4674;POINT (-40.364063 -2.799779)', '2026-07-17 16:14:02', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364139 -2.799645)'), GeomFromEWKT('SRID=4674;POINT (-40.364063 -2.799779)'))) / (select extract(epoch from '2026-07-17 16:14:02'::timestamp) - extract(epoch from '2026-07-17 16:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364139 -2.799645)'), GeomFromEWKT('SRID=4674;POINT (-40.364063 -2.799779)'))) / (select extract(epoch from '2026-07-17 16:14:02'::timestamp) - extract(epoch from '2026-07-17 16:13:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.363957 -2.799919)', '2026-07-17 16:14:10', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364063 -2.799779)'), GeomFromEWKT('SRID=4674;POINT (-40.363957 -2.799919)'))) / (select extract(epoch from '2026-07-17 16:14:10'::timestamp) - extract(epoch from '2026-07-17 16:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364063 -2.799779)'), GeomFromEWKT('SRID=4674;POINT (-40.363957 -2.799919)'))) / (select extract(epoch from '2026-07-17 16:14:10'::timestamp) - extract(epoch from '2026-07-17 16:14: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'), 47831, 'SRID=4674;POINT (-40.363895 -2.80006)', '2026-07-17 16:14:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363957 -2.799919)'), GeomFromEWKT('SRID=4674;POINT (-40.363895 -2.80006)'))) / (select extract(epoch from '2026-07-17 16:14:17'::timestamp) - extract(epoch from '2026-07-17 16:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363957 -2.799919)'), GeomFromEWKT('SRID=4674;POINT (-40.363895 -2.80006)'))) / (select extract(epoch from '2026-07-17 16:14:17'::timestamp) - extract(epoch from '2026-07-17 16:14:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.363847 -2.80019)', '2026-07-17 16:14:23', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363895 -2.80006)'), GeomFromEWKT('SRID=4674;POINT (-40.363847 -2.80019)'))) / (select extract(epoch from '2026-07-17 16:14:23'::timestamp) - extract(epoch from '2026-07-17 16:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363895 -2.80006)'), GeomFromEWKT('SRID=4674;POINT (-40.363847 -2.80019)'))) / (select extract(epoch from '2026-07-17 16:14:23'::timestamp) - extract(epoch from '2026-07-17 16:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.363783 -2.80032)', '2026-07-17 16:14:29', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363847 -2.80019)'), GeomFromEWKT('SRID=4674;POINT (-40.363783 -2.80032)'))) / (select extract(epoch from '2026-07-17 16:14:29'::timestamp) - extract(epoch from '2026-07-17 16:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363847 -2.80019)'), GeomFromEWKT('SRID=4674;POINT (-40.363783 -2.80032)'))) / (select extract(epoch from '2026-07-17 16:14:29'::timestamp) - extract(epoch from '2026-07-17 16:14: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'), 47831, 'SRID=4674;POINT (-40.363695 -2.800482)', '2026-07-17 16:14:37', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363783 -2.80032)'), GeomFromEWKT('SRID=4674;POINT (-40.363695 -2.800482)'))) / (select extract(epoch from '2026-07-17 16:14:37'::timestamp) - extract(epoch from '2026-07-17 16:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363783 -2.80032)'), GeomFromEWKT('SRID=4674;POINT (-40.363695 -2.800482)'))) / (select extract(epoch from '2026-07-17 16:14:37'::timestamp) - extract(epoch from '2026-07-17 16:14: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'), 47831, 'SRID=4674;POINT (-40.363626 -2.800597)', '2026-07-17 16:14:43', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363695 -2.800482)'), GeomFromEWKT('SRID=4674;POINT (-40.363626 -2.800597)'))) / (select extract(epoch from '2026-07-17 16:14:43'::timestamp) - extract(epoch from '2026-07-17 16:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363695 -2.800482)'), GeomFromEWKT('SRID=4674;POINT (-40.363626 -2.800597)'))) / (select extract(epoch from '2026-07-17 16:14:43'::timestamp) - extract(epoch from '2026-07-17 16:14:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.363576 -2.800701)', '2026-07-17 16:14:48', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363626 -2.800597)'), GeomFromEWKT('SRID=4674;POINT (-40.363576 -2.800701)'))) / (select extract(epoch from '2026-07-17 16:14:48'::timestamp) - extract(epoch from '2026-07-17 16:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363626 -2.800597)'), GeomFromEWKT('SRID=4674;POINT (-40.363576 -2.800701)'))) / (select extract(epoch from '2026-07-17 16:14:48'::timestamp) - extract(epoch from '2026-07-17 16:14:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.3635 -2.800842)', '2026-07-17 16:14:55', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363576 -2.800701)'), GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.800842)'))) / (select extract(epoch from '2026-07-17 16:14:55'::timestamp) - extract(epoch from '2026-07-17 16:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363576 -2.800701)'), GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.800842)'))) / (select extract(epoch from '2026-07-17 16:14:55'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47831, 'SRID=4674;POINT (-40.363416 -2.800991)', '2026-07-17 16:15:02', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.800842)'), GeomFromEWKT('SRID=4674;POINT (-40.363416 -2.800991)'))) / (select extract(epoch from '2026-07-17 16:15:02'::timestamp) - extract(epoch from '2026-07-17 16:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3635 -2.800842)'), GeomFromEWKT('SRID=4674;POINT (-40.363416 -2.800991)'))) / (select extract(epoch from '2026-07-17 16:15:02'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47831, 'SRID=4674;POINT (-40.363336 -2.801118)', '2026-07-17 16:15:09', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363416 -2.800991)'), GeomFromEWKT('SRID=4674;POINT (-40.363336 -2.801118)'))) / (select extract(epoch from '2026-07-17 16:15:09'::timestamp) - extract(epoch from '2026-07-17 16:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363416 -2.800991)'), GeomFromEWKT('SRID=4674;POINT (-40.363336 -2.801118)'))) / (select extract(epoch from '2026-07-17 16:15:09'::timestamp) - extract(epoch from '2026-07-17 16:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.363243 -2.801295)', '2026-07-17 16:15:18', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363336 -2.801118)'), GeomFromEWKT('SRID=4674;POINT (-40.363243 -2.801295)'))) / (select extract(epoch from '2026-07-17 16:15:18'::timestamp) - extract(epoch from '2026-07-17 16:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363336 -2.801118)'), GeomFromEWKT('SRID=4674;POINT (-40.363243 -2.801295)'))) / (select extract(epoch from '2026-07-17 16:15:18'::timestamp) - extract(epoch from '2026-07-17 16:15: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'), 47831, 'SRID=4674;POINT (-40.363173 -2.801413)', '2026-07-17 16:15:24', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363243 -2.801295)'), GeomFromEWKT('SRID=4674;POINT (-40.363173 -2.801413)'))) / (select extract(epoch from '2026-07-17 16:15:24'::timestamp) - extract(epoch from '2026-07-17 16:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363243 -2.801295)'), GeomFromEWKT('SRID=4674;POINT (-40.363173 -2.801413)'))) / (select extract(epoch from '2026-07-17 16:15:24'::timestamp) - extract(epoch from '2026-07-17 16:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.363102 -2.801553)', '2026-07-17 16:15:31', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363173 -2.801413)'), GeomFromEWKT('SRID=4674;POINT (-40.363102 -2.801553)'))) / (select extract(epoch from '2026-07-17 16:15:31'::timestamp) - extract(epoch from '2026-07-17 16:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363173 -2.801413)'), GeomFromEWKT('SRID=4674;POINT (-40.363102 -2.801553)'))) / (select extract(epoch from '2026-07-17 16:15:31'::timestamp) - extract(epoch from '2026-07-17 16:15: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'), 47831, 'SRID=4674;POINT (-40.363017 -2.801709)', '2026-07-17 16:15:39', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363102 -2.801553)'), GeomFromEWKT('SRID=4674;POINT (-40.363017 -2.801709)'))) / (select extract(epoch from '2026-07-17 16:15:39'::timestamp) - extract(epoch from '2026-07-17 16:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363102 -2.801553)'), GeomFromEWKT('SRID=4674;POINT (-40.363017 -2.801709)'))) / (select extract(epoch from '2026-07-17 16:15:39'::timestamp) - extract(epoch from '2026-07-17 16:15: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'), 47831, 'SRID=4674;POINT (-40.362934 -2.801856)', '2026-07-17 16:15:46', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363017 -2.801709)'), GeomFromEWKT('SRID=4674;POINT (-40.362934 -2.801856)'))) / (select extract(epoch from '2026-07-17 16:15:46'::timestamp) - extract(epoch from '2026-07-17 16:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363017 -2.801709)'), GeomFromEWKT('SRID=4674;POINT (-40.362934 -2.801856)'))) / (select extract(epoch from '2026-07-17 16:15:46'::timestamp) - extract(epoch from '2026-07-17 16:15: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'), 47831, 'SRID=4674;POINT (-40.362876 -2.801984)', '2026-07-17 16:15:52', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362934 -2.801856)'), GeomFromEWKT('SRID=4674;POINT (-40.362876 -2.801984)'))) / (select extract(epoch from '2026-07-17 16:15:52'::timestamp) - extract(epoch from '2026-07-17 16:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362934 -2.801856)'), GeomFromEWKT('SRID=4674;POINT (-40.362876 -2.801984)'))) / (select extract(epoch from '2026-07-17 16:15:52'::timestamp) - extract(epoch from '2026-07-17 16:15: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'), 47831, 'SRID=4674;POINT (-40.362798 -2.802142)', '2026-07-17 16:15:59', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362876 -2.801984)'), GeomFromEWKT('SRID=4674;POINT (-40.362798 -2.802142)'))) / (select extract(epoch from '2026-07-17 16:15:59'::timestamp) - extract(epoch from '2026-07-17 16:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362876 -2.801984)'), GeomFromEWKT('SRID=4674;POINT (-40.362798 -2.802142)'))) / (select extract(epoch from '2026-07-17 16:15:59'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47831, 'SRID=4674;POINT (-40.36271 -2.802256)', '2026-07-17 16:16:05', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362798 -2.802142)'), GeomFromEWKT('SRID=4674;POINT (-40.36271 -2.802256)'))) / (select extract(epoch from '2026-07-17 16:16:05'::timestamp) - extract(epoch from '2026-07-17 16:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362798 -2.802142)'), GeomFromEWKT('SRID=4674;POINT (-40.36271 -2.802256)'))) / (select extract(epoch from '2026-07-17 16:16:05'::timestamp) - extract(epoch from '2026-07-17 16:15:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.362616 -2.802387)', '2026-07-17 16:16:12', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36271 -2.802256)'), GeomFromEWKT('SRID=4674;POINT (-40.362616 -2.802387)'))) / (select extract(epoch from '2026-07-17 16:16:12'::timestamp) - extract(epoch from '2026-07-17 16:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36271 -2.802256)'), GeomFromEWKT('SRID=4674;POINT (-40.362616 -2.802387)'))) / (select extract(epoch from '2026-07-17 16:16:12'::timestamp) - extract(epoch from '2026-07-17 16:16: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'), 47831, 'SRID=4674;POINT (-40.362552 -2.802517)', '2026-07-17 16:16:19', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362616 -2.802387)'), GeomFromEWKT('SRID=4674;POINT (-40.362552 -2.802517)'))) / (select extract(epoch from '2026-07-17 16:16:19'::timestamp) - extract(epoch from '2026-07-17 16:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362616 -2.802387)'), GeomFromEWKT('SRID=4674;POINT (-40.362552 -2.802517)'))) / (select extract(epoch from '2026-07-17 16:16:19'::timestamp) - extract(epoch from '2026-07-17 16:16: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'), 47831, 'SRID=4674;POINT (-40.362496 -2.802642)', '2026-07-17 16:16:25', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362552 -2.802517)'), GeomFromEWKT('SRID=4674;POINT (-40.362496 -2.802642)'))) / (select extract(epoch from '2026-07-17 16:16:25'::timestamp) - extract(epoch from '2026-07-17 16:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362552 -2.802517)'), GeomFromEWKT('SRID=4674;POINT (-40.362496 -2.802642)'))) / (select extract(epoch from '2026-07-17 16:16:25'::timestamp) - extract(epoch from '2026-07-17 16:16:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.362422 -2.802782)', '2026-07-17 16:16:32', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362496 -2.802642)'), GeomFromEWKT('SRID=4674;POINT (-40.362422 -2.802782)'))) / (select extract(epoch from '2026-07-17 16:16:32'::timestamp) - extract(epoch from '2026-07-17 16:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362496 -2.802642)'), GeomFromEWKT('SRID=4674;POINT (-40.362422 -2.802782)'))) / (select extract(epoch from '2026-07-17 16:16:32'::timestamp) - extract(epoch from '2026-07-17 16:16: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'), 47831, 'SRID=4674;POINT (-40.362338 -2.802943)', '2026-07-17 16:16:40', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362422 -2.802782)'), GeomFromEWKT('SRID=4674;POINT (-40.362338 -2.802943)'))) / (select extract(epoch from '2026-07-17 16:16:40'::timestamp) - extract(epoch from '2026-07-17 16:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362422 -2.802782)'), GeomFromEWKT('SRID=4674;POINT (-40.362338 -2.802943)'))) / (select extract(epoch from '2026-07-17 16:16:40'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47831, 'SRID=4674;POINT (-40.362234 -2.803122)', '2026-07-17 16:16:49', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362338 -2.802943)'), GeomFromEWKT('SRID=4674;POINT (-40.362234 -2.803122)'))) / (select extract(epoch from '2026-07-17 16:16:49'::timestamp) - extract(epoch from '2026-07-17 16:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362338 -2.802943)'), GeomFromEWKT('SRID=4674;POINT (-40.362234 -2.803122)'))) / (select extract(epoch from '2026-07-17 16:16:49'::timestamp) - extract(epoch from '2026-07-17 16:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.362156 -2.803233)', '2026-07-17 16:16:55', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362234 -2.803122)'), GeomFromEWKT('SRID=4674;POINT (-40.362156 -2.803233)'))) / (select extract(epoch from '2026-07-17 16:16:55'::timestamp) - extract(epoch from '2026-07-17 16:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362234 -2.803122)'), GeomFromEWKT('SRID=4674;POINT (-40.362156 -2.803233)'))) / (select extract(epoch from '2026-07-17 16:16:55'::timestamp) - extract(epoch from '2026-07-17 16:16: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'), 47831, 'SRID=4674;POINT (-40.362103 -2.803371)', '2026-07-17 16:17:01', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362156 -2.803233)'), GeomFromEWKT('SRID=4674;POINT (-40.362103 -2.803371)'))) / (select extract(epoch from '2026-07-17 16:17:01'::timestamp) - extract(epoch from '2026-07-17 16:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362156 -2.803233)'), GeomFromEWKT('SRID=4674;POINT (-40.362103 -2.803371)'))) / (select extract(epoch from '2026-07-17 16:17:01'::timestamp) - extract(epoch from '2026-07-17 16:16: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'), 47831, 'SRID=4674;POINT (-40.362052 -2.803552)', '2026-07-17 16:17:09', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362103 -2.803371)'), GeomFromEWKT('SRID=4674;POINT (-40.362052 -2.803552)'))) / (select extract(epoch from '2026-07-17 16:17:09'::timestamp) - extract(epoch from '2026-07-17 16:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362103 -2.803371)'), GeomFromEWKT('SRID=4674;POINT (-40.362052 -2.803552)'))) / (select extract(epoch from '2026-07-17 16:17:09'::timestamp) - extract(epoch from '2026-07-17 16:17: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'), 47831, 'SRID=4674;POINT (-40.362005 -2.803648)', '2026-07-17 16:17:14', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362052 -2.803552)'), GeomFromEWKT('SRID=4674;POINT (-40.362005 -2.803648)'))) / (select extract(epoch from '2026-07-17 16:17:14'::timestamp) - extract(epoch from '2026-07-17 16:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362052 -2.803552)'), GeomFromEWKT('SRID=4674;POINT (-40.362005 -2.803648)'))) / (select extract(epoch from '2026-07-17 16:17:14'::timestamp) - extract(epoch from '2026-07-17 16:17: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'), 47831, 'SRID=4674;POINT (-40.361946 -2.803801)', '2026-07-17 16:17:21', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362005 -2.803648)'), GeomFromEWKT('SRID=4674;POINT (-40.361946 -2.803801)'))) / (select extract(epoch from '2026-07-17 16:17:21'::timestamp) - extract(epoch from '2026-07-17 16:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362005 -2.803648)'), GeomFromEWKT('SRID=4674;POINT (-40.361946 -2.803801)'))) / (select extract(epoch from '2026-07-17 16:17:21'::timestamp) - extract(epoch from '2026-07-17 16:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.361899 -2.803962)', '2026-07-17 16:17:28', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361946 -2.803801)'), GeomFromEWKT('SRID=4674;POINT (-40.361899 -2.803962)'))) / (select extract(epoch from '2026-07-17 16:17:28'::timestamp) - extract(epoch from '2026-07-17 16:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361946 -2.803801)'), GeomFromEWKT('SRID=4674;POINT (-40.361899 -2.803962)'))) / (select extract(epoch from '2026-07-17 16:17:28'::timestamp) - extract(epoch from '2026-07-17 16:17: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'), 47831, 'SRID=4674;POINT (-40.361852 -2.804124)', '2026-07-17 16:17:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361899 -2.803962)'), GeomFromEWKT('SRID=4674;POINT (-40.361852 -2.804124)'))) / (select extract(epoch from '2026-07-17 16:17:34'::timestamp) - extract(epoch from '2026-07-17 16:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361899 -2.803962)'), GeomFromEWKT('SRID=4674;POINT (-40.361852 -2.804124)'))) / (select extract(epoch from '2026-07-17 16:17:34'::timestamp) - extract(epoch from '2026-07-17 16:17: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'), 47831, 'SRID=4674;POINT (-40.3618 -2.804277)', '2026-07-17 16:17:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361852 -2.804124)'), GeomFromEWKT('SRID=4674;POINT (-40.3618 -2.804277)'))) / (select extract(epoch from '2026-07-17 16:17:41'::timestamp) - extract(epoch from '2026-07-17 16:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361852 -2.804124)'), GeomFromEWKT('SRID=4674;POINT (-40.3618 -2.804277)'))) / (select extract(epoch from '2026-07-17 16:17:41'::timestamp) - extract(epoch from '2026-07-17 16:17: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'), 47831, 'SRID=4674;POINT (-40.36177 -2.804416)', '2026-07-17 16:17:47', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3618 -2.804277)'), GeomFromEWKT('SRID=4674;POINT (-40.36177 -2.804416)'))) / (select extract(epoch from '2026-07-17 16:17:47'::timestamp) - extract(epoch from '2026-07-17 16:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3618 -2.804277)'), GeomFromEWKT('SRID=4674;POINT (-40.36177 -2.804416)'))) / (select extract(epoch from '2026-07-17 16:17:47'::timestamp) - extract(epoch from '2026-07-17 16:17: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'), 47831, 'SRID=4674;POINT (-40.361732 -2.804552)', '2026-07-17 16:17:53', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36177 -2.804416)'), GeomFromEWKT('SRID=4674;POINT (-40.361732 -2.804552)'))) / (select extract(epoch from '2026-07-17 16:17:53'::timestamp) - extract(epoch from '2026-07-17 16:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36177 -2.804416)'), GeomFromEWKT('SRID=4674;POINT (-40.361732 -2.804552)'))) / (select extract(epoch from '2026-07-17 16:17:53'::timestamp) - extract(epoch from '2026-07-17 16:17: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'), 47831, 'SRID=4674;POINT (-40.361666 -2.804706)', '2026-07-17 16:18:00', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361732 -2.804552)'), GeomFromEWKT('SRID=4674;POINT (-40.361666 -2.804706)'))) / (select extract(epoch from '2026-07-17 16:18:00'::timestamp) - extract(epoch from '2026-07-17 16:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361732 -2.804552)'), GeomFromEWKT('SRID=4674;POINT (-40.361666 -2.804706)'))) / (select extract(epoch from '2026-07-17 16:18:00'::timestamp) - extract(epoch from '2026-07-17 16:17: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'), 47831, 'SRID=4674;POINT (-40.361603 -2.804928)', '2026-07-17 16:18:09', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361666 -2.804706)'), GeomFromEWKT('SRID=4674;POINT (-40.361603 -2.804928)'))) / (select extract(epoch from '2026-07-17 16:18:09'::timestamp) - extract(epoch from '2026-07-17 16:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361666 -2.804706)'), GeomFromEWKT('SRID=4674;POINT (-40.361603 -2.804928)'))) / (select extract(epoch from '2026-07-17 16:18:09'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47831, 'SRID=4674;POINT (-40.361555 -2.805136)', '2026-07-17 16:18:18', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361603 -2.804928)'), GeomFromEWKT('SRID=4674;POINT (-40.361555 -2.805136)'))) / (select extract(epoch from '2026-07-17 16:18:18'::timestamp) - extract(epoch from '2026-07-17 16:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361603 -2.804928)'), GeomFromEWKT('SRID=4674;POINT (-40.361555 -2.805136)'))) / (select extract(epoch from '2026-07-17 16:18:18'::timestamp) - extract(epoch from '2026-07-17 16:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.361506 -2.805284)', '2026-07-17 16:18:25', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361555 -2.805136)'), GeomFromEWKT('SRID=4674;POINT (-40.361506 -2.805284)'))) / (select extract(epoch from '2026-07-17 16:18:25'::timestamp) - extract(epoch from '2026-07-17 16:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361555 -2.805136)'), GeomFromEWKT('SRID=4674;POINT (-40.361506 -2.805284)'))) / (select extract(epoch from '2026-07-17 16:18:25'::timestamp) - extract(epoch from '2026-07-17 16:18:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.361452 -2.805447)', '2026-07-17 16:18:32', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361506 -2.805284)'), GeomFromEWKT('SRID=4674;POINT (-40.361452 -2.805447)'))) / (select extract(epoch from '2026-07-17 16:18:32'::timestamp) - extract(epoch from '2026-07-17 16:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361506 -2.805284)'), GeomFromEWKT('SRID=4674;POINT (-40.361452 -2.805447)'))) / (select extract(epoch from '2026-07-17 16:18:32'::timestamp) - extract(epoch from '2026-07-17 16:18: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'), 47831, 'SRID=4674;POINT (-40.361407 -2.805566)', '2026-07-17 16:18:38', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361452 -2.805447)'), GeomFromEWKT('SRID=4674;POINT (-40.361407 -2.805566)'))) / (select extract(epoch from '2026-07-17 16:18:38'::timestamp) - extract(epoch from '2026-07-17 16:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361452 -2.805447)'), GeomFromEWKT('SRID=4674;POINT (-40.361407 -2.805566)'))) / (select extract(epoch from '2026-07-17 16:18:38'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47831, 'SRID=4674;POINT (-40.361332 -2.805723)', '2026-07-17 16:18:45', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361407 -2.805566)'), GeomFromEWKT('SRID=4674;POINT (-40.361332 -2.805723)'))) / (select extract(epoch from '2026-07-17 16:18:45'::timestamp) - extract(epoch from '2026-07-17 16:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361407 -2.805566)'), GeomFromEWKT('SRID=4674;POINT (-40.361332 -2.805723)'))) / (select extract(epoch from '2026-07-17 16:18:45'::timestamp) - extract(epoch from '2026-07-17 16:18:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.361288 -2.805897)', '2026-07-17 16:18:52', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361332 -2.805723)'), GeomFromEWKT('SRID=4674;POINT (-40.361288 -2.805897)'))) / (select extract(epoch from '2026-07-17 16:18:52'::timestamp) - extract(epoch from '2026-07-17 16:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361332 -2.805723)'), GeomFromEWKT('SRID=4674;POINT (-40.361288 -2.805897)'))) / (select extract(epoch from '2026-07-17 16:18:52'::timestamp) - extract(epoch from '2026-07-17 16:18: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'), 47831, 'SRID=4674;POINT (-40.361341 -2.806042)', '2026-07-17 16:18:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361288 -2.805897)'), GeomFromEWKT('SRID=4674;POINT (-40.361341 -2.806042)'))) / (select extract(epoch from '2026-07-17 16:18:59'::timestamp) - extract(epoch from '2026-07-17 16:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361288 -2.805897)'), GeomFromEWKT('SRID=4674;POINT (-40.361341 -2.806042)'))) / (select extract(epoch from '2026-07-17 16:18:59'::timestamp) - extract(epoch from '2026-07-17 16:18: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'), 47831, 'SRID=4674;POINT (-40.36135 -2.806178)', '2026-07-17 16:19:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361341 -2.806042)'), GeomFromEWKT('SRID=4674;POINT (-40.36135 -2.806178)'))) / (select extract(epoch from '2026-07-17 16:19:06'::timestamp) - extract(epoch from '2026-07-17 16:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361341 -2.806042)'), GeomFromEWKT('SRID=4674;POINT (-40.36135 -2.806178)'))) / (select extract(epoch from '2026-07-17 16:19:06'::timestamp) - extract(epoch from '2026-07-17 16:18:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.361328 -2.806316)', '2026-07-17 16:19:14', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36135 -2.806178)'), GeomFromEWKT('SRID=4674;POINT (-40.361328 -2.806316)'))) / (select extract(epoch from '2026-07-17 16:19:14'::timestamp) - extract(epoch from '2026-07-17 16:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36135 -2.806178)'), GeomFromEWKT('SRID=4674;POINT (-40.361328 -2.806316)'))) / (select extract(epoch from '2026-07-17 16:19:14'::timestamp) - extract(epoch from '2026-07-17 16:19: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'), 47831, 'SRID=4674;POINT (-40.361294 -2.806455)', '2026-07-17 16:19:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361328 -2.806316)'), GeomFromEWKT('SRID=4674;POINT (-40.361294 -2.806455)'))) / (select extract(epoch from '2026-07-17 16:19:22'::timestamp) - extract(epoch from '2026-07-17 16:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361328 -2.806316)'), GeomFromEWKT('SRID=4674;POINT (-40.361294 -2.806455)'))) / (select extract(epoch from '2026-07-17 16:19:22'::timestamp) - extract(epoch from '2026-07-17 16:19: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'), 47831, 'SRID=4674;POINT (-40.36127 -2.806607)', '2026-07-17 16:19:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361294 -2.806455)'), GeomFromEWKT('SRID=4674;POINT (-40.36127 -2.806607)'))) / (select extract(epoch from '2026-07-17 16:19:30'::timestamp) - extract(epoch from '2026-07-17 16:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361294 -2.806455)'), GeomFromEWKT('SRID=4674;POINT (-40.36127 -2.806607)'))) / (select extract(epoch from '2026-07-17 16:19:30'::timestamp) - extract(epoch from '2026-07-17 16:19: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'), 47831, 'SRID=4674;POINT (-40.361239 -2.806753)', '2026-07-17 16:19:38', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36127 -2.806607)'), GeomFromEWKT('SRID=4674;POINT (-40.361239 -2.806753)'))) / (select extract(epoch from '2026-07-17 16:19:38'::timestamp) - extract(epoch from '2026-07-17 16:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36127 -2.806607)'), GeomFromEWKT('SRID=4674;POINT (-40.361239 -2.806753)'))) / (select extract(epoch from '2026-07-17 16:19:38'::timestamp) - extract(epoch from '2026-07-17 16:19:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.361193 -2.806866)', '2026-07-17 16:19:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361239 -2.806753)'), GeomFromEWKT('SRID=4674;POINT (-40.361193 -2.806866)'))) / (select extract(epoch from '2026-07-17 16:19:45'::timestamp) - extract(epoch from '2026-07-17 16:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361239 -2.806753)'), GeomFromEWKT('SRID=4674;POINT (-40.361193 -2.806866)'))) / (select extract(epoch from '2026-07-17 16:19:45'::timestamp) - extract(epoch from '2026-07-17 16:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.361153 -2.806995)', '2026-07-17 16:19:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361193 -2.806866)'), GeomFromEWKT('SRID=4674;POINT (-40.361153 -2.806995)'))) / (select extract(epoch from '2026-07-17 16:19:51'::timestamp) - extract(epoch from '2026-07-17 16:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361193 -2.806866)'), GeomFromEWKT('SRID=4674;POINT (-40.361153 -2.806995)'))) / (select extract(epoch from '2026-07-17 16:19:51'::timestamp) - extract(epoch from '2026-07-17 16:19: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'), 47831, 'SRID=4674;POINT (-40.361128 -2.807098)', '2026-07-17 16:19:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361153 -2.806995)'), GeomFromEWKT('SRID=4674;POINT (-40.361128 -2.807098)'))) / (select extract(epoch from '2026-07-17 16:19:57'::timestamp) - extract(epoch from '2026-07-17 16:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361153 -2.806995)'), GeomFromEWKT('SRID=4674;POINT (-40.361128 -2.807098)'))) / (select extract(epoch from '2026-07-17 16:19:57'::timestamp) - extract(epoch from '2026-07-17 16:19: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'), 47831, 'SRID=4674;POINT (-40.361084 -2.807237)', '2026-07-17 16:20:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361128 -2.807098)'), GeomFromEWKT('SRID=4674;POINT (-40.361084 -2.807237)'))) / (select extract(epoch from '2026-07-17 16:20:05'::timestamp) - extract(epoch from '2026-07-17 16:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361128 -2.807098)'), GeomFromEWKT('SRID=4674;POINT (-40.361084 -2.807237)'))) / (select extract(epoch from '2026-07-17 16:20:05'::timestamp) - extract(epoch from '2026-07-17 16:19:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.361056 -2.80737)', '2026-07-17 16:20:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361084 -2.807237)'), GeomFromEWKT('SRID=4674;POINT (-40.361056 -2.80737)'))) / (select extract(epoch from '2026-07-17 16:20:12'::timestamp) - extract(epoch from '2026-07-17 16:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361084 -2.807237)'), GeomFromEWKT('SRID=4674;POINT (-40.361056 -2.80737)'))) / (select extract(epoch from '2026-07-17 16:20:12'::timestamp) - extract(epoch from '2026-07-17 16:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.36102 -2.807507)', '2026-07-17 16:20:19', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361056 -2.80737)'), GeomFromEWKT('SRID=4674;POINT (-40.36102 -2.807507)'))) / (select extract(epoch from '2026-07-17 16:20:19'::timestamp) - extract(epoch from '2026-07-17 16:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361056 -2.80737)'), GeomFromEWKT('SRID=4674;POINT (-40.36102 -2.807507)'))) / (select extract(epoch from '2026-07-17 16:20:19'::timestamp) - extract(epoch from '2026-07-17 16:20:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
